Spec-Zone .ru
спецификации, руководства, описания, API
|
ADC домой > Ссылочная библиотека> Ссылка> Дарвин> Разное пространство пользователя ссылка API
|
table.h |
Включает: | <architecture/i386/desc.h> <architecture/i386/tss.h> |
netsnmp_column_info |
- структура netsnmp_column_info_t netsnmp_column_info
/** @struct netsnmp_column_info_t column info struct. OVERLAPPING RANGES ARE NOT SUPPORTED. */ typedef struct netsnmp_column_info_t { char isRange; /** only useful if isRange == 0 */ char list_count; union { unsigned int range[2]; unsigned int *list; } details; struct netsnmp_column_info_t *next; } netsnmp_column_info;
* Определения типов netsnmp_column_info_t структура в netsnmp_column_info
netsnmp_table_registration_info |
- структура netsnmp_table_registration_info_s netsnmp_table_registration_info
/** @struct netsnmp_table_registration_info_s Table registration structure. */ typedef struct netsnmp_table_registration_info_s { /** list of varbinds with only 'type' set */ netsnmp_variable_list *indexes; /** calculated automatically */ unsigned int number_indexes; /** the minimum columns number. If there are columns in-between which are not valid, use valid_columns to get automatic column range checking. */ unsigned int min_column; /** the maximum columns number */ unsigned int max_column; /** more details on columns */ netsnmp_column_info *valid_columns; } netsnmp_table_registration_info;
Определения типов netsnmp_table_registration_info_s структура в * netsnmp_table_registration_info
netsnmp_table_request_info |
- структура netsnmp_table_request_info_s netsnmp_table_request_info
/** @struct netsnmp_table_request_info_s The table request info structure. */ typedef struct netsnmp_table_request_info_s { /** 0 if OID not long enough */ unsigned int colnum; /** 0 if failure to parse any */ unsigned int number_indexes; /** contents freed by helper upon exit */ netsnmp_variable_list *indexes; oid index_oid[MAX_OID_LEN]; size_t index_oid_len; netsnmp_table_registration_info *reg_info; } netsnmp_table_request_info;
Определения типов netsnmp_table_request_info_s структура в * netsnmp_table_request_info
структура netsnmp_column_info_t netsnmp_column_info |
- netsnmp_column_info
/** @struct netsnmp_column_info_t column info struct. OVERLAPPING RANGES ARE NOT SUPPORTED. */ typedef struct netsnmp_column_info_t { char isRange; /** only useful if isRange == 0 */ char list_count; union { unsigned int range[2]; unsigned int *list; } details; struct netsnmp_column_info_t *next; } netsnmp_column_info;
* Определения типов netsnmp_column_info_t структура в netsnmp_column_info
структура netsnmp_table_registration_info_s netsnmp_table_registration_info |
- netsnmp_table_registration_info
/** @struct netsnmp_table_registration_info_s Table registration structure. */ typedef struct netsnmp_table_registration_info_s { /** list of varbinds with only 'type' set */ netsnmp_variable_list *indexes; /** calculated automatically */ unsigned int number_indexes; /** the minimum columns number. If there are columns in-between which are not valid, use valid_columns to get automatic column range checking. */ unsigned int min_column; /** the maximum columns number */ unsigned int max_column; /** more details on columns */ netsnmp_column_info *valid_columns; } netsnmp_table_registration_info;
Определения типов netsnmp_table_registration_info_s структура в * netsnmp_table_registration_info
структура netsnmp_table_request_info_s netsnmp_table_request_info |
- netsnmp_table_request_info
/** @struct netsnmp_table_request_info_s The table request info structure. */ typedef struct netsnmp_table_request_info_s { /** 0 if OID not long enough */ unsigned int colnum; /** 0 if failure to parse any */ unsigned int number_indexes; /** contents freed by helper upon exit */ netsnmp_variable_list *indexes; oid index_oid[MAX_OID_LEN]; size_t index_oid_len; netsnmp_table_registration_info *reg_info; } netsnmp_table_request_info;
Определения типов netsnmp_table_request_info_s структура в * netsnmp_table_request_info
TABLE_HANDLER_NAME |
/** Notes: 1) illegal indexes automatically get handled for get/set cases. Simply check to make sure the value is type ASN_NULL before you answer a request. */ /** used as an index to parent_data lookups */ #define TABLE_HANDLER_NAME "table"
Табличный помощник разработан для упрощения задачи записи табличного обработчика для сетевого-snmp агента. Необходимо создать нормальный обработчик и зарегистрироваться, он с помощью netsnmp_register_table () функционирует вместо netsnmp_register_handler () функция.
Последнее обновление: 20.06.2006