blob: 41635b0e22357c0a214375d0acf0e380514faa35 [file] [log] [blame]
#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