Gets the contents of the agent identified by pszAgentOid. The results of this function are returned in a structure referenced by ppstructAgent.
Free the memory allocated for this structure by calling Sm_PolicyApi_FreeMemoryEx().
Type
Agent function, global scope.
Syntax
int SM_EXTERN Sm_PolicyApi_GetAgent ( void* pSessionHandle, const char* pszAgentOid, Sm_PolicyApi_Agent_t** ppstructAgent );
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. |
pszAgentOid |
I |
A null-terminated string containing the object identifier of an existing agent. |
ppstructAgent |
O |
The address of a pointer to an agent structure. |
Returns
Copyright © 2014 CA.
All rights reserved.
|
|