~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to man/netsnmp_read_only.3

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-09-13 12:06:21 UTC
  • Revision ID: james.westby@ubuntu.com-20040913120621-g952ntonlleihcvm
Tags: upstream-5.1.1
ImportĀ upstreamĀ versionĀ 5.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH "read_only: make your handler read_only automatically" 3 "19 Mar 2004" "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 "handler"
 
8
 
 
9
.in +1c
 
10
.ti -1c
 
11
.RI "void \fBnetsnmp_init_read_only_helper\fP (void)"
 
12
.br
 
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"
 
14
.in -1c
 
15
.SS "Functions"
 
16
 
 
17
.in +1c
 
18
.ti -1c
 
19
.RI "\fBnetsnmp_mib_handler\fP * \fBnetsnmp_get_read_only_handler\fP (void)"
 
20
.br
 
21
.RI "\fIreturns a read_only handler that can be injected into a given handler chain.\fP"
 
22
.in -1c
 
23
.SH "DETAILED DESCRIPTION"
 
24
.PP 
 
25
The only purpose of this handler is to return an appropriate error for any requests passed to it in a SET mode.
 
26
.PP
 
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"
 
29
.PP 
 
30
.SS "\fBnetsnmp_mib_handler\fP* netsnmp_get_read_only_handler (void)"
 
31
.PP
 
32
returns a read_only handler that can be injected into a given handler chain.
 
33
.PP
 
34
Definition at line 32 of file read_only.c.
 
35
.PP
 
36
References netsnmp_create_handler().
 
37
.PP
 
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)"
 
40
.PP
 
41
initializes the read_only helper which then registers a read_only handler as a run-time injectable handler for configuration file use.
 
42
.PP
 
43
Definition at line 71 of file read_only.c.
 
44
.PP
 
45
Referenced by netsnmp_init_helpers().