summaryrefslogtreecommitdiff
path: root/include/net-snmp/agent/agent_read_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net-snmp/agent/agent_read_config.h')
-rw-r--r--include/net-snmp/agent/agent_read_config.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/net-snmp/agent/agent_read_config.h b/include/net-snmp/agent/agent_read_config.h
new file mode 100644
index 0000000..e9af89d
--- /dev/null
+++ b/include/net-snmp/agent/agent_read_config.h
@@ -0,0 +1,26 @@
+/*
+ * agent_read_config.h: reads configuration files for extensible sections.
+ *
+ */
+#ifndef _AGENT_READ_CONFIG_H
+#define _AGENT_READ_CONFIG_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+ void init_agent_read_config(const char *);
+ void update_config(void);
+ void snmpd_register_config_handler(const char *,
+ void (*parser) (const
+ char *,
+ char *),
+ void (*releaser) (void),
+ const char *);
+ void snmpd_unregister_config_handler(const char *);
+ void snmpd_store_config(const char *);
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* _AGENT_READ_CONFIG_H */