| net-snmp 5.7 | 
the mib handler structure to be registered More...
#include <agent_handler.h>
| Data Fields | |
| char * | handler_name | 
| void * | myvoid | 
| for handler's internal use | |
| int | flags | 
| for agent_handler's internal use | |
| int(* | access_method )(struct netsnmp_mib_handler_s *, struct netsnmp_handler_registration_s *, struct netsnmp_agent_request_info_s *, struct netsnmp_request_info_s *) | 
| if you add more members, you probably also want to update | |
| void *(* | data_clone )(void *myvoid) | 
| data clone hook for myvoid deep copy the myvoid member - default is to copy the pointer This method is only called if myvoid != NULL myvoid is the current myvoid pointer. | |
| void(* | data_free )(void *myvoid) | 
| data free hook for myvoid delete the myvoid member - default is to do nothing This method is only called if myvoid != NULL | |
| struct netsnmp_mib_handler_s * | next | 
| struct netsnmp_mib_handler_s * | prev | 
| int(* netsnmp_mib_handler_s::access_method)(struct netsnmp_mib_handler_s *, struct netsnmp_handler_registration_s *, struct netsnmp_agent_request_info_s *, struct netsnmp_request_info_s *) | 
if you add more members, you probably also want to update
_clone_handler in agent_handler.c.
Definition at line 58 of file agent_handler.h.
| void*(* netsnmp_mib_handler_s::data_clone)(void *myvoid) | 
data clone hook for myvoid deep copy the myvoid member - default is to copy the pointer This method is only called if myvoid != NULL myvoid is the current myvoid pointer.
returns NULL on failure
Definition at line 70 of file agent_handler.h.
| void(* netsnmp_mib_handler_s::data_free)(void *myvoid) | 
data free hook for myvoid delete the myvoid member - default is to do nothing This method is only called if myvoid != NULL
data free hook for myvoid
Definition at line 75 of file agent_handler.h.
for agent_handler's internal use
Definition at line 53 of file agent_handler.h.
for handler's internal use
Definition at line 51 of file agent_handler.h.
 1.7.4
 1.7.4