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

« back to all changes in this revision

Viewing changes to include/net-snmp/agent/read_only.h

  • 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
#ifndef READ_ONLY_H
 
2
#define READ_ONLY_H
 
3
 
 
4
#ifdef __cplusplus
 
5
extern          "C" {
 
6
#endif
 
7
 
 
8
/*
 
9
 * read_only.h 
 
10
 */
 
11
 
 
12
/*
 
13
 * The helper merely intercepts SET requests and handles them early on
 
14
 * making everything read-only (no SETs are actually permitted).
 
15
 * Useful as a helper to handlers that are implementing MIBs with no
 
16
 * SET support.
 
17
 */
 
18
 
 
19
 
 
20
netsnmp_mib_handler *netsnmp_get_read_only_handler(void);
 
21
void            netsnmp_init_read_only_helper(void);
 
22
 
 
23
Netsnmp_Node_Handler netsnmp_read_only_helper;
 
24
 
 
25
 
 
26
#ifdef __cplusplus
 
27
}
 
28
#endif
 
29
#endif