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, and watched.c.

Definition at line 94 of file agent_handler.h.

Field Documentation

  char* netsnmp_handler_registration_s::handlerName

for mrTable listings, and other uses

Definition at line 97 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_inject_handler_into_subtree(), netsnmp_register_handler(), netsnmp_register_mib_table_row(), netsnmp_register_old_api(), netsnmp_stash_cache_helper(), netsnmp_table_array_register(), and netsnmp_table_row_register().

  char* netsnmp_handler_registration_s::contextName

NULL = default context.

Definition at line 99 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_mib_table_row(), netsnmp_register_old_api(), netsnmp_unregister_handler(), and unregister_mibs_by_session().

  oid* netsnmp_handler_registration_s::rootoid

where are we registered at?

Definition at line 104 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_mib(), netsnmp_register_mib_table_row(), 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_stash_to_next_helper(), 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_table_row_register(), netsnmp_unregister_handler(), netsnmp_watched_spinlock_handler(), netsnmp_watched_timestamp_handler(), netsnmp_watcher_helper_handler(), and table_helper_handler().

  netsnmp_mib_handler* netsnmp_handler_registration_s::handler

handler details

Definition at line 110 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_mib_table_row(), netsnmp_register_old_api(), netsnmp_table_container_register(), netsnmp_table_row_register(), and unregister_mibs_by_session().

  int netsnmp_handler_registration_s::priority

more optional stuff

Definition at line 116 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_mib_table_row(), netsnmp_register_old_api(), and netsnmp_unregister_handler().

  void* netsnmp_handler_registration_s::my_reg_void

void ptr for registeree

Definition at line 125 of file agent_handler.h.

Author

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