Retrieves the maximum data buffer size that can be transferred in the Sm_AgentApi_Tunnel() function call.
Syntax
long SM_EXTERN Sm_AgentApi_GetAllowedTunnelBufSize ( void* pHandle, int nServer );
Parameter |
I/O |
Description |
---|---|---|
pHandle |
I |
Agent API session handle returned in parameter ppHandle of Sm_AgentApi_Init(). |
nServer |
I |
The server that will process the request at the time of the tunnel call. One of these values, defined in smAgentAPI.h: /* server ports */ /* authorization server */ /* authentication server */ /* accounting server */ |
Returns
The maximum size of the buffer.
Remarks
This function was introduced in SDK v5.5. Beginning with that release, maximum allowable buffer sizes are larger than in previous releases.
Copyright © 2014 CA.
All rights reserved.
|
|