Current File : //usr/include/net-snmp/agent/read_only.h
#ifndef READ_ONLY_H
#define READ_ONLY_H

#ifdef __cplusplus
extern          "C" {
#endif

/*
 * read_only.h 
 */

/*
 * The helper merely intercepts SET requests and handles them early on
 * making everything read-only (no SETs are actually permitted).
 * Useful as a helper to handlers that are implementing MIBs with no
 * SET support.
 */


netsnmp_mib_handler *netsnmp_get_read_only_handler(void);
void            netsnmp_init_read_only_helper(void);

Netsnmp_Node_Handler netsnmp_read_only_helper;


#ifdef __cplusplus
}
#endif
#endif