Previous Topic: SmTunnelRelease()

Next Topic: Pass HTTP Headers and Cookies to Policy Server

User-Defined Function

SiteMinder calls the function requested by the tunnel agent.

Syntax

int SM_EXTERN <func-spec> (
   void*                             pServiceHandle,
   const Sm_Api_Context_t*           lpApiContext,
   const Sm_Api_RequestContext_t*    lpReqContext,
   const Sm_Api_TunnelContext_t*     lpTunnelContext,
   const int                         nBytesInBuf,
   void*                             lpInBuf,
   const int                         nBytesOutBuf,
   void*                             lpOutBuf,
   const int                         nBytesStatusBuf,
   char*                             lpszStatusBuf
);

Parameter

I/O

Description

pServiceHandle

I

An internal pointer used by the tunnel service library.

lpApiContext

I

A pointer to the API context structure.

lpReqContext

I

A pointer to the API request structure.

lpTunnelContext

I

A pointer to the API tunnel context.

nBytesInBuf

I

Number of bytes in the input buffer.

lpInBuf

I

Input buffer containing information sent from the remote agent.

nBytesOutBuf

O

Maximum size of the output result buffer.

lpOutBuf

O

Output buffer to receive the result.

nBytesStatusBuf

O

Maximum size of the status buffer.

lpszStatusBuf

O

Status buffer to receive status.


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