summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/application.h
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2022-08-23 08:56:22 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2022-08-23 08:56:22 +0000
commitd22bfb695a028538e4f01a769177d2a1586e62c5 (patch)
tree5d2770194179e5d22e07ecea1d57250a06a6112f /usr.sbin/snmpd/application.h
parentb1f93ce47bb6913e0760cc10338efd1d18776f2c (diff)
(Re)add support for agentx in snmpd
Current omissions in protocol support are notifications, index (de)allocation, and agent capabilities. Help testing sthen@ Feedback/tweaks/OK jmatthew@
Diffstat (limited to 'usr.sbin/snmpd/application.h')
-rw-r--r--usr.sbin/snmpd/application.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/snmpd/application.h b/usr.sbin/snmpd/application.h
index fd5b8146335..7f22af85fed 100644
--- a/usr.sbin/snmpd/application.h
+++ b/usr.sbin/snmpd/application.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: application.h,v 1.2 2022/06/30 11:28:36 martijn Exp $ */
+/* $OpenBSD: application.h,v 1.3 2022/08/23 08:56:20 martijn Exp $ */
/*
* Copyright (c) 2021 Martijn van Duren <martijn@openbsd.org>
@@ -117,6 +117,7 @@ struct appl_backend {
RB_HEAD(appl_requests, appl_request_downstream) ab_requests;
};
+void appl(void);
void appl_init(void);
void appl_shutdown(void);
enum appl_error appl_register(const char *, uint32_t, uint8_t, struct ber_oid *,
@@ -134,6 +135,11 @@ struct ber_element *appl_exception(enum appl_exception);
void appl_legacy_init(void);
void appl_legacy_shutdown(void);
+/* application_agentx.c */
+void appl_agentx(void);
+void appl_agentx_init(void);
+void appl_agentx_shutdown(void);
+
/* application_blocklist.c */
void appl_blocklist_init(void);
void appl_blocklist_shutdown(void);