Spec-Zone .ru
спецификации, руководства, описания, API
|
ADC домой > Ссылочная библиотека> Ссылка> Дарвин> Разное пространство пользователя ссылка API
|
agent_handler.h |
Обработчик @addtogroup
@{
netsnmp_handler_registration |
- структура netsnmp_handler_registration_s netsnmp_handler_registration
/** @struct netsnmp_handler_registration_s 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. */ typedef struct netsnmp_handler_registration_s { /** for mrTable listings, and other uses */ char *handlerName; /** NULL = default context */ char *contextName; /** where are we registered at? */ oid *rootoid; size_t rootoid_len; /** handler details */ netsnmp_mib_handler *handler; int modes; /** more optional stuff */ int priority; int range_subid; oid range_ubound; int timeout; int global_cacheid; /** void ptr for registeree */ void *my_reg_void; } netsnmp_handler_registration;
* Определения типов netsnmp_handler_registration_s структура в netsnmp_handler_registration
netsnmp_mib_handler |
- структура netsnmp_mib_handler_s netsnmp_mib_handler
/** @struct netsnmp_mib_handler_s the mib handler structure to be registered */ typedef struct netsnmp_mib_handler_s { char *handler_name; /** for handler's internal use */ void *myvoid; /** for agent_handler's internal use */ int flags; /** if you add more members, you probably also want to update */ /** _clone_handler in snmp_agent.c. */ int (*access_method) ( struct netsnmp_mib_handler_s *, struct netsnmp_handler_registration_s *, struct netsnmp_agent_request_info_s *, struct netsnmp_request_info_s *); struct netsnmp_mib_handler_s *next; struct netsnmp_mib_handler_s *prev; } netsnmp_mib_handler;
* Определения типов netsnmp_mib_handler_s структура в netsnmp_mib_handler
структура netsnmp_handler_registration_s netsnmp_handler_registration |
- netsnmp_handler_registration
/** @struct netsnmp_handler_registration_s 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. */ typedef struct netsnmp_handler_registration_s { /** for mrTable listings, and other uses */ char *handlerName; /** NULL = default context */ char *contextName; /** where are we registered at? */ oid *rootoid; size_t rootoid_len; /** handler details */ netsnmp_mib_handler *handler; int modes; /** more optional stuff */ int priority; int range_subid; oid range_ubound; int timeout; int global_cacheid; /** void ptr for registeree */ void *my_reg_void; } netsnmp_handler_registration;
* Определения типов netsnmp_handler_registration_s структура в netsnmp_handler_registration
структура netsnmp_mib_handler_s netsnmp_mib_handler |
- netsnmp_mib_handler
/** @struct netsnmp_mib_handler_s the mib handler structure to be registered */ typedef struct netsnmp_mib_handler_s { char *handler_name; /** for handler's internal use */ void *myvoid; /** for agent_handler's internal use */ int flags; /** if you add more members, you probably also want to update */ /** _clone_handler in snmp_agent.c. */ int (*access_method) ( struct netsnmp_mib_handler_s *, struct netsnmp_handler_registration_s *, struct netsnmp_agent_request_info_s *, struct netsnmp_request_info_s *); struct netsnmp_mib_handler_s *next; struct netsnmp_mib_handler_s *prev; } netsnmp_mib_handler;
* Определения типов netsnmp_mib_handler_s структура в netsnmp_mib_handler
Последнее обновление: 20.06.2006