Hi,
In the request handler function:
int xxxTable_handler(
netsnmp_mib_handler *handler,
netsnmp_handler_registration *reginfo,
netsnmp_agent_request_info *reqinfo,
netsnmp_request_info *requests)
{
netsnmp_request_info *request;
netsnmp_table_request_info *table_info;
netsnmp_tdata *table_data;
netsnmp_tdata_row *table_row;
int ret;
switch (reqinfo->mode)
{
case MODE_GET: //
for (request=requests; request;
request=request->next) {
// .... etc etc
}
break;
case MODE_SET_ACTION:
// .... etc etc
break;
}
return SNMP_ERR_NOERROR;
}
How can we get the instance of the request (i.e., the row number of the
table) ?
Thanks,
S
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users