i creat a table by the name of table set,after that i register it with:
   
   
   netsnmp_register_table_data_set(netsnmp_create_handler_registration
                                    ("set", handle_set_update,
                                     my_registration_oid,
                                     OID_LENGTH(my_registration_oid),
                                     HANDLER_CAN_RWRITE), table_set, NULL);
   
   
  then in my handler how i can get the pointer to my table(table_set).
   
  this is my handler:
   i
  nt
              handle_set_update(netsnmp_mib_handler *handler,
                            netsnmp_handler_registration *reginfo,
                            netsnmp_agent_request_info *reqinfo,
                            netsnmp_request_info *requests)
              {
  
am i registering the table correctly?
   
  i cant get the pointer to my table form any of the data come through the 
handler(reqinfo,reginfo,requests,requests->parent_data);
   

 
---------------------------------
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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

Reply via email to