net-snmp 5.7
|
00001 #ifndef READ_ONLY_H 00002 #define READ_ONLY_H 00003 00004 #ifdef __cplusplus 00005 extern "C" { 00006 #endif 00007 00008 /* 00009 * read_only.h 00010 */ 00011 00012 /* 00013 * The helper merely intercepts SET requests and handles them early on 00014 * making everything read-only (no SETs are actually permitted). 00015 * Useful as a helper to handlers that are implementing MIBs with no 00016 * SET support. 00017 */ 00018 00019 00020 netsnmp_mib_handler *netsnmp_get_read_only_handler(void); 00021 void netsnmp_init_read_only_helper(void); 00022 00023 Netsnmp_Node_Handler netsnmp_read_only_helper; 00024 00025 00026 #ifdef __cplusplus 00027 } 00028 #endif 00029 #endif