Content-type: text/html Manpage of read_only

read_only

Section: net-snmp (3)
Updated: 23 Sep 2009
Index Return to Main Contents
 

NAME

read_only -

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.

 

Functions


netsnmp_mib_handler * netsnmp_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.  

Detailed Description

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.  

Function Documentation

 

netsnmp_mib_handler* netsnmp_get_read_only_handler (void)

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

Definition at line 23 of file read_only.c.  

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.

Definition at line 72 of file read_only.c.  

Author

Generated automatically by Doxygen for net-snmp from the source code.


 

Index

NAME
Functions
Detailed Description
Function Documentation
netsnmp_mib_handler* netsnmp_get_read_only_handler (void)
void netsnmp_init_read_only_helper (void)
Author

This document was created by man2html, using the manual pages.
Time: 19:05:38 GMT, September 28, 2009