HEX
Server: Apache/2.4.57 (Unix) OpenSSL/1.1.1k
System: Linux server.eshhar.net 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
User: xdas (1048)
PHP: 7.4.33
Disabled: mail,sendmail
Upload Files
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