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
void * my_reg_void
void ptr for registeree

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 91 of file agent_handler.h.

Field Documentation

  char* netsnmp_handler_registration_s::contextName

NULL = default context.

Definition at line 96 of file agent_handler.h.

Referenced by netsnmp_debug_helper(), netsnmp_handler_registration_dup(), netsnmp_handler_registration_free(), netsnmp_register_handler(), netsnmp_register_handler_nocallback(), netsnmp_register_mib(), netsnmp_register_old_api(), netsnmp_unregister_handler(), and unregister_mibs_by_session().

  netsnmp_mib_handler* netsnmp_handler_registration_s::handler

handler details

Definition at line 107 of file agent_handler.h.

Referenced by netsnmp_call_handlers(), netsnmp_container_table_register(), netsnmp_debug_helper(), netsnmp_find_handler_by_name(), netsnmp_find_table_array_handler(), netsnmp_handler_registration_create(), netsnmp_handler_registration_dup(), netsnmp_handler_registration_free(), netsnmp_inject_handler_before(), netsnmp_register_handler(), netsnmp_register_handler_nocallback(), netsnmp_register_old_api(), netsnmp_table_container_register(), and unregister_mibs_by_session().

  char* netsnmp_handler_registration_s::handlerName

for mrTable listings, and other uses

Definition at line 94 of file agent_handler.h.

Referenced by netsnmp_cache_helper_handler(), netsnmp_container_table_register(), netsnmp_debug_helper(), netsnmp_handler_registration_create(), netsnmp_handler_registration_dup(), netsnmp_handler_registration_free(), netsnmp_register_handler(), and netsnmp_register_old_api().

  void* netsnmp_handler_registration_s::my_reg_void

void ptr for registeree

Definition at line 122 of file agent_handler.h.

  int netsnmp_handler_registration_s::priority

more optional stuff

Definition at line 113 of file agent_handler.h.

Referenced by netsnmp_debug_helper(), netsnmp_handler_registration_create(), netsnmp_handler_registration_dup(), netsnmp_register_handler(), netsnmp_register_handler_nocallback(), netsnmp_register_old_api(), and netsnmp_unregister_handler().

  oid* netsnmp_handler_registration_s::rootoid

where are we registered at?

Definition at line 101 of file agent_handler.h.

Referenced by netsnmp_cache_helper_handler(), netsnmp_debug_helper(), netsnmp_handler_registration_create(), netsnmp_handler_registration_dup(), netsnmp_handler_registration_free(), netsnmp_instance_helper_handler(), netsnmp_old_api_helper(), netsnmp_register_cache_handler(), netsnmp_register_handler(), netsnmp_register_handler_nocallback(), netsnmp_register_old_api(), netsnmp_register_read_only_scalar(), netsnmp_register_scalar(), netsnmp_row_merge_helper_handler(), netsnmp_scalar_group_helper_handler(), netsnmp_scalar_helper_handler(), netsnmp_table_build_oid(), netsnmp_table_build_oid_from_index(), netsnmp_table_data_build_result(), netsnmp_table_iterator_helper_handler(), netsnmp_unregister_handler(), netsnmp_watched_timestamp_handler(), netsnmp_watcher_helper_handler(), and table_helper_handler().

Author

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