read_only
[utility_handlers]

Make your handler read_only automatically The only purpose of this handler is to return an appropriate error for any requests passed to it in a SET mode. [詳細]

関数

netsnmp_mib_handlernetsnmp_get_read_only_handler (void)
 returns a read_only handler that can be injected into a given handler chain.
int netsnmp_read_only_helper (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests)
void netsnmp_init_read_only_helper (void)
 initializes the read_only helper which then registers a read_only handler as a run-time injectable handler for configuration file use.

説明

Make your handler read_only automatically The only purpose of this handler is to return an appropriate error for any requests passed to it in a SET mode.

Inserting it into your handler chain will ensure you're never asked to perform a SET request so you can ignore those error conditions.


関数

netsnmp_mib_handler* netsnmp_get_read_only_handler ( void   ) 

returns a read_only handler that can be injected into a given handler chain.

read_only.c29 行で定義されています。

参照先 netsnmp_mib_handler_s::flagsMIB_HANDLER_AUTO_NEXTnetsnmp_create_handler()netsnmp_read_only_helper()NULL.

参照元 netsnmp_init_read_only_helper()netsnmp_register_read_only_instance()netsnmp_register_read_only_scalar()netsnmp_register_read_only_table_data().

void netsnmp_init_read_only_helper ( void   ) 

initializes the read_only helper which then registers a read_only handler as a run-time injectable handler for configuration file use.

read_only.c81 行で定義されています。

参照先 netsnmp_get_read_only_handler()netsnmp_register_handler_by_name().


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