summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2021-10-23 17:10:35 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2021-10-23 17:10:35 +0000
commit9df39b17dedd755b8e7ef2843c964fd3ec4a1104 (patch)
tree05695b0389a2b90697e144374378b681be38fa12 /lib
parente3bbdcaa3a4526b408b68914e58864204fb9edfe (diff)
Add a glossary of variable names.
Requested by and OK bluhm@
Diffstat (limited to 'lib')
-rw-r--r--lib/libagentx/agentx.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/lib/libagentx/agentx.c b/lib/libagentx/agentx.c
index 0f876d2ca03..f18dda5d8b7 100644
--- a/lib/libagentx/agentx.c
+++ b/lib/libagentx/agentx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: agentx.c,v 1.11 2021/10/23 14:39:35 martijn Exp $ */
+/* $OpenBSD: agentx.c,v 1.12 2021/10/23 17:10:34 martijn Exp $ */
/*
* Copyright (c) 2019 Martijn van Duren <martijn@openbsd.org>
*
@@ -28,6 +28,20 @@
#include "agentx_internal.h"
#include <agentx.h>
+/*
+ * ax: struct agentx
+ * axs: struct agentx_session
+ * axc: struct agentx_context
+ * axr: struct agentx_region
+ * axi: struct agentx_index
+ * axo: struct agentx_object
+ * axg: struct agentx_get
+ * axv: struct agentx_varbind
+ * axr: struct agentx_request
+ * cstate: current state
+ * dstate: desired state
+ */
+
enum agentx_index_type {
AXI_TYPE_NEW,
AXI_TYPE_ANY,