Sm_AgentApi_TunnelServiceRequest_t

This structure defines information about the remote service library.
casso126
This structure defines information about the remote service library.
Syntax
This structure has the following syntax:
typedef struct Sm_AgentApi_TunnelServiceRequest_s
{
   char lpszLibrary[SM_AGENTAPI_SIZE_NAME];
   char lpszFunction[SM_AGENTAPI_SIZE_NAME];
   char lpszParameter[SM_AGENTAPI_SIZE_USERINFO];
   long nLength;
   void* pData;
} Sm_AgentApi_TunnelServiceRequest_t;
Parameters
This structure has the following parameters:
  • lpszLibrary
    The name of the service to be invoked by the Policy Server.
  • lpszFunction
    The name of a method to call within the service.
  • lpszParameter
    Arbitrary string parameter to be passed to the method.
  • nLength
    The length of the data passed to the method. The maximum length can be determined by calling Sm_AgentApi_GetMaxTunnelBufSize().
  • pData
    A pointer to the data.