1
.TH "read_only: make your handler read_only automatically" 3 "19 Mar 2004" "net-snmp" \" -*- nroff -*-
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.
11
.RI "void \fBnetsnmp_init_read_only_helper\fP (void)"
13
.RI "\fIinitializes the read_only helper which then registers a read_only handler as a run-time injectable handler for configuration file use.\fP"
19
.RI "\fBnetsnmp_mib_handler\fP * \fBnetsnmp_get_read_only_handler\fP (void)"
21
.RI "\fIreturns a read_only handler that can be injected into a given handler chain.\fP"
23
.SH "DETAILED DESCRIPTION"
25
The only purpose of this handler is to return an appropriate error for any requests passed to it in a SET mode.
27
Inserting it into your handler chain will ensure you're never asked to perform a SET request so you can ignore those error conditions.
28
.SH "FUNCTION DOCUMENTATION"
30
.SS "\fBnetsnmp_mib_handler\fP* netsnmp_get_read_only_handler (void)"
32
returns a read_only handler that can be injected into a given handler chain.
34
Definition at line 32 of file read_only.c.
36
References netsnmp_create_handler().
38
Referenced by netsnmp_init_read_only_helper(), netsnmp_register_read_only_instance(), netsnmp_register_read_only_scalar(), and netsnmp_register_read_only_table_data().
39
.SS "void netsnmp_init_read_only_helper (void)"
41
initializes the read_only helper which then registers a read_only handler as a run-time injectable handler for configuration file use.
43
Definition at line 71 of file read_only.c.
45
Referenced by netsnmp_init_helpers().