Previous Topic: Sm_PolicyApi_GetGroupOids()

Next Topic: Sm_PolicyApi_GetHostConfigByName()

Sm_PolicyApi_GetHostConfig()

Retrieves an existing host configuration object.

Type

Agent configuration function, global scope.

Syntax

int SM_EXTERN Sm_PolicyApi_GetHostConfig (
   void*                              pSessionHandle,            
   const char*                        pszHostConfigOid,
   Sm_PolicyApi_HostConfig_t**        ppstructHostConfig
);

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.

pszHostConfigOid

I

Unique identifier of the host configuration object to retrieve.

ppstructHostConfig

O

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

Returns


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