SessionRequestCallBackProc

 

int SessionRequestCallbackProc(idaVarID_t varObjID, char *datap, uint datalen,

char *instancep, uint instanceLen, ubyte varType,

void *callbackParm);

 

Parameters

varObjID

[in] IDAform of MIB variable object identifier. IDAApis.h has #defines for all possible values.

datap           

[in] Pointer to variable data. Data is returned only on various versions of GET.

dataLen        

[in] Len of data.

instancep     

[in] Pointer to the instance identifier data. Only returned on various versions of GET.

instanceLen  

[in] Len of instance data.

varType        

[in] SNMP variable type. Always returned. varTypeshould be checked for error values before looking at other fields.

callbackParm           

[in] Application-defined value passed to callback function.

Return Value

0 indicates callback processed results normally and wishes to continue processing result variable instances.

Non-zero indicates callback wishes to ignore any remaining variable instances.

Remarks

Callback routines should be as light and fast as possible.

Example

See Also

IDA_SessionRequest, IDA_EventDataWait

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)