Revert "Revert "and added files""
[bcm963xx.git] / userapps / opensource / net-snmp / man / netsnmp_read_only.3
1 .TH "read_only: make your handler read_only automatically" 3 "10 Jan 2003" "net-snmp" \" -*- nroff -*-
2 .ad l
3 .nh
4 .SH NAME
5 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. 
6 More...
7 .SS "Functions"
8
9 .in +1c
10 .ti -1c
11 .RI "netsnmp_mib_handler * \fBnetsnmp_get_read_only_handler\fP (void)"
12 .br
13 .RI "\fIreturns a read_only handler that can be injected into a given handler chain.\fP"
14 .ti -1c
15 .RI "int \fBnetsnmp_read_only_helper\fP (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests)"
16 .br
17 .ti -1c
18 .RI "void \fBnetsnmp_init_read_only_helper\fP (void)"
19 .br
20 .RI "\fIinitializes the read_only helper which then registers a read_only handler as a run-time injectable handler for configuration file use.\fP"
21 .in -1c
22 .SH "DETAILED DESCRIPTION"
23 .PP 
24 The only purpose of this handler is to return an appropriate error for any requests passed to it in a SET mode.
25 .PP
26 Inserting it into your handler chain will ensure you're never asked to perform a SET request so you can ignore those error conditions. 
27 .SH "FUNCTION DOCUMENTATION"
28 .PP 
29 .SS "netsnmp_mib_handler* netsnmp_get_read_only_handler (void)"
30 .PP
31 returns a read_only handler that can be injected into a given handler chain.
32 .PP
33 Definition at line 32 of file read_only.c.
34 .SS "void netsnmp_init_read_only_helper (void)"
35 .PP
36 initializes the read_only helper which then registers a read_only handler as a run-time injectable handler for configuration file use.
37 .PP
38 Definition at line 71 of file read_only.c.