Accessing Variables Using IDA_VarBindBuild

 

IDA_InitRequest, IDA_VarBindBuild, and IDA_RepeatVarBindBuildare used to prepare a request message that will be sent to the controller agent. A request message can be for SET, GET, GET_NEXT, or one of several GET_BULK variations. A single request contains one or more variable bindings. A variable binding is a data structure with information on a single variable. The variable bindings can optionally contain instance information on GET, GET_NEXT, GET_BULK and must contain instance information and data for SET.

IDA_RepeatVarBindBuildis used to add ‘repeat variables’ to GET_BULK requests. Repeat variables are variables where multiple instances of return information might be expected. Repeat variables must follow non-repeat variables which have been added with IDA_VarBindBuild.

IDA_SessionRequestsends the prepared request and handles responses from the agent. Responses contain variable binding information similar to sets. IDA_SessionRequestpasses individual variable instance results back to the application to a user-defined SessionRequestCallBackProccallback function.

 

 

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