netsnmp_handler_registration_s(3)

NAME
netsnmp_handler_registration_s - Root registration info.

SYNOPSIS

#include <agent_handler.h>

  Data Fields
char * handlerName
for mrTable listings, and other uses
char * contextName
NULL = default context.
oid * rootoid
where are we registered at?
size_t rootoid_len
netsnmp_mib_handler * handler
handler details
int modes
int priority
more optional stuff
int range_subid
oid range_ubound
int timeout
int global_cacheid

Detailed Description

Root registration info. The variables handlerName, contextName, and rootoid need to be allocated on the heap, when the registration structure is unregistered using unregister_mib_context() the code attempts to free them.

Examples:

delayed_instance.c.

Definition at line 68 of file agent_handler.h.

Field Documentation

  char* netsnmp_handler_registration_s::contextName

NULL = default context. Definition at line 73 of file agent_handler.h.

Referenced by netsnmp_handler_registration_dup(), netsnmp_handler_registration_free(), netsnmp_register_handler(), netsnmp_register_handler_nocallback(), netsnmp_register_mib_table_row(), netsnmp_register_old_api(), and netsnmp_unregister_handler().

  netsnmp_mib_handler* netsnmp_handler_registration_s::handler

handler details Definition at line 84 of file agent_handler.h.

Referenced by netsnmp_create_handler_registration(), netsnmp_find_handler_by_name(), netsnmp_find_table_array_handler(), netsnmp_handler_registration_dup(), netsnmp_handler_registration_free(), netsnmp_inject_handler_before(), netsnmp_register_handler(), netsnmp_register_handler_nocallback(), netsnmp_register_mib_table_row(), netsnmp_register_old_api(), and netsnmp_table_container_register().

  char* netsnmp_handler_registration_s::handlerName

for mrTable listings, and other uses Definition at line 71 of file agent_handler.h.

Referenced by netsnmp_create_handler_registration(), netsnmp_handler_registration_dup(), netsnmp_handler_registration_free(), netsnmp_old_api_helper(), netsnmp_register_handler(), netsnmp_register_mib_table_row(), netsnmp_register_old_api(), and netsnmp_table_iterator_helper_handler().

  int netsnmp_handler_registration_s::priority

more optional stuff Definition at line 90 of file agent_handler.h.

Referenced by netsnmp_create_handler_registration(), netsnmp_handler_registration_dup(), netsnmp_register_handler(), netsnmp_register_handler_nocallback(), netsnmp_register_mib_table_row(), netsnmp_register_old_api(), and netsnmp_unregister_handler().

  oid* netsnmp_handler_registration_s::rootoid

where are we registered at? Definition at line 78 of file agent_handler.h.

Referenced by netsnmp_cache_helper_handler(), netsnmp_create_handler_registration(), netsnmp_handler_registration_dup(), netsnmp_handler_registration_free(), netsnmp_old_api_helper(), netsnmp_register_cache_handler(), netsnmp_register_handler(), netsnmp_register_handler_nocallback(), netsnmp_register_mib_table_row(), netsnmp_register_old_api(), netsnmp_register_read_only_scalar(), netsnmp_register_scalar(), netsnmp_row_merge_helper_handler(), netsnmp_table_build_oid(), netsnmp_table_build_oid_from_index(), netsnmp_table_data_build_result(), netsnmp_table_data_helper_handler(), netsnmp_table_iterator_helper_handler(), netsnmp_unregister_handler(), and table_helper_handler().

Author

Generated automatically by Doxygen for net-snmp from the source code.