net-snmp 5.7
Data Fields
netsnmp_handler_registration_s Struct Reference

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


Field Documentation

NULL = default context.

Definition at line 111 of file agent_handler.h.

handler details

Definition at line 122 of file agent_handler.h.

for mrTable listings, and other uses

Definition at line 109 of file agent_handler.h.

void ptr for registeree

Definition at line 137 of file agent_handler.h.

more optional stuff

Definition at line 128 of file agent_handler.h.

where are we registered at?

Definition at line 116 of file agent_handler.h.


The documentation for this struct was generated from the following file: