Previous Topic: Sm_PolicyApi_GetSharedSecretPolicy()

Next Topic: Sm_PolicyApi_GetTrustedHostByName()

Sm_PolicyApi_GetTrustedHost()

Retrieves an existing trusted host object.

Type

Agent configuration function, global scope.

Syntax

int SM_EXTERN Sm_PolicyApi_GetTrustedHost (
   void*                           pSessionHandle,
   const char*                     pszTrustedHostOid,
   Sm_PolicyApi_TrustedHost_t**    ppstructTrustedHost
);

Parameter

I/O

Description

pSessionHandle

I

A pointer to an internal Policy Management API data structure. The structure holds information about the administrator session and the client session.

pszTrustedHostOid

I

Unique identifier of the trusted host object to retrieve.

ppstructTrustedHost

O

Address of a pointer to a structure that defines the trusted host object. The function allocates the structure.

Returns


Copyright © 2010 CA. All rights reserved. Email CA about this topic