summaryrefslogtreecommitdiff
path: root/agent/snmpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'agent/snmpd.h')
-rw-r--r--agent/snmpd.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/agent/snmpd.h b/agent/snmpd.h
new file mode 100644
index 0000000..935c0e7
--- /dev/null
+++ b/agent/snmpd.h
@@ -0,0 +1,19 @@
+/*
+ * snmpd.h
+ */
+
+#define MASTER_AGENT 0
+#define SUB_AGENT 1
+extern int agent_role;
+
+extern int snmp_dump_packet;
+extern int verbose;
+extern int (*sd_handlers[]) (int);
+extern int smux_listen_sd;
+
+extern int snmp_read_packet(int);
+
+/*
+ * config file parsing routines
+ */
+void agentBoots_conf(char *, char *);