UINT_16_T snmpMasterQueryHandler ( OCTET_T * pMsg, /* pointer to the packet */ ALENGTH_T msgl, /* length of packet */ int flag /* should be 1 */ )
This routine is for use with snmpMasterHandlerAsync( ). It handles the replies to queries generated by the method routines. It decodes the message and tries to integrate the response with an outstanding packet. The pMsg and msgl parameters are pointers to the message and the length respectively. The flag parameter specifies whether the continuation routines should be run. This should always be set to 1.