summaryrefslogtreecommitdiff
path: root/lib/smux.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/smux.h')
-rw-r--r--lib/smux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/smux.h b/lib/smux.h
index 6896f02354..1f79d41ef8 100644
--- a/lib/smux.h
+++ b/lib/smux.h
@@ -25,6 +25,7 @@
#include <net-snmp/agent/snmp_vars.h>
#include "thread.h"
+#include "hook.h"
#ifdef __cplusplus
extern "C" {
@@ -70,6 +71,7 @@ struct trap_object {
(uint8_t *)&snmp_in_addr_val)
extern void smux_init(struct thread_master *tm);
+extern void smux_agentx_enable(void);
extern void smux_register_mib(const char *, struct variable *, size_t, int,
oid[], size_t);
extern int smux_header_generic(struct variable *, oid[], size_t *, int,
@@ -107,6 +109,8 @@ extern void oid2in_addr(oid[], int, struct in_addr *);
extern void *oid_copy(void *, const void *, size_t);
extern void oid_copy_addr(oid[], const struct in_addr *, int);
+DECLARE_HOOK(agentx_enabled, (), ())
+
#ifdef __cplusplus
}
#endif