mib_maintenance
[generic_table_API]

Routines for maintaining a MIB table. [詳細]

関数

netsnmp_mib_handlernetsnmp_generic_get_handler (void)
 Create a MIB handler structure.
 netsnmp_generic_free_handler (netsnmp_mib_handler *handler)
 Free a MIB handler structure, releasing any related resources.
int netsnmp_generic_register (netsnmp_handler_registration *reginfo, void *table, netsnmp_table_registration_info *table_info)
 Register a MIB table with the SNMP agent.
int netsnmp_generic_unregister (netsnmp_handler_registration *reginfo)
 Unregister a MIB table from the SNMP agent.
void netsnmp_generic_extract_table (netsnmp_request_info *request)
 Extract the table relating to a requested varbind.
void netsnmp_generic_extract_row (netsnmp_request_info *request)
 Extract the row relating to a requested varbind.
void netsnmp_generic_insert_row (netsnmp_request_info *request, void *row)
 Associate a (new) row with the requested varbind.

説明

Routines for maintaining a MIB table.


関数

void netsnmp_generic_extract_row ( netsnmp_request_info request  ) 

Extract the row relating to a requested varbind.

table_generic.c195 行で定義されています。

void netsnmp_generic_extract_table ( netsnmp_request_info request  ) 

Extract the table relating to a requested varbind.

table_generic.c189 行で定義されています。

netsnmp_generic_free_handler ( netsnmp_mib_handler handler  ) 

Free a MIB handler structure, releasing any related resources.

Possibly called automatically by 'netsnmp_unregister_handler' ?

table_generic.c165 行で定義されています。

netsnmp_mib_handler* netsnmp_generic_get_handler ( void   ) 

Create a MIB handler structure.

This will typically be invoked within the corresponding 'netsnmp_generic_register' routine (or the registration code of a sub-helper based on this helper).

Alternatively, it might be called from the initialisation code of a particular MIB table implementation.

table_generic.c158 行で定義されています。

void netsnmp_generic_insert_row ( netsnmp_request_info request,
void *  row 
)

Associate a (new) row with the requested varbind.

The row should also be associated with any other varbinds that refer to the same index values.

table_generic.c203 行で定義されています。

int netsnmp_generic_register ( netsnmp_handler_registration reginfo,
void *  table,
netsnmp_table_registration_info table_info 
)

Register a MIB table with the SNMP agent.

table_generic.c172 行で定義されています。

int netsnmp_generic_unregister ( netsnmp_handler_registration reginfo  ) 

Unregister a MIB table from the SNMP agent.

This should also release the internal representation of the table. ?? Is a table-specific version of this needed, or would 'netsnmp_unregister_handler' + 'netsnmp_generic_free_handler' do?

table_generic.c183 行で定義されています。


net-snmpに対してSat Sep 5 13:14:30 2009に生成されました。  doxygen 1.4.7