Logo
Home page Net-SNMP

Archive Search:

Require all words?

Site Search:
Google
Main Page | Modules | Data Structures | File List | Data Fields | Related Pages | Examples

netsnmp_handler_registration_s Struct Reference
[Net-SNMP Agent handler and extensibility APINet-SNMP Agent handler and extensibility API]

Root registration info. More...

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


Field Documentation

char* netsnmp_handler_registration_s::contextName
 

NULL = default context.

Definition at line 98 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(), netsnmp_unregister_handler(), and unregister_mib_context().

netsnmp_mib_handler* netsnmp_handler_registration_s::handler
 

handler details

Definition at line 109 of file agent_handler.h.

Referenced by 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(), and netsnmp_table_container_register().

char* netsnmp_handler_registration_s::handlerName
 

for mrTable listings, and other uses

Definition at line 96 of file agent_handler.h.

Referenced by netsnmp_cache_helper_handler(), netsnmp_handler_registration_create(), netsnmp_handler_registration_dup(), netsnmp_handler_registration_free(), netsnmp_old_api_helper(), netsnmp_register_handler(), netsnmp_register_mib_table_row(), and netsnmp_register_old_api().

void* netsnmp_handler_registration_s::my_reg_void
 

void ptr for registeree

Definition at line 124 of file agent_handler.h.

int netsnmp_handler_registration_s::priority
 

more optional stuff

Definition at line 115 of file agent_handler.h.

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

oid* netsnmp_handler_registration_s::rootoid
 

where are we registered at?

Definition at line 103 of file agent_handler.h.

Referenced by netsnmp_cache_helper_handler(), netsnmp_handler_registration_create(), 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_unregister_handler(), and table_helper_handler().


The documentation for this struct was generated from the following file:
Generated on Fri Dec 30 13:47:51 2005 for net-snmp by  doxygen 1.3.9.1

Valid CSS!


Last modified: Thursday, 01-Mar-2007 16:20:07 PST
For questions regarding web content and site functionality, please write to the net-snmp-users mail list.