From 7d7f9aad0c2af9374c5be92bafaef9fe5ef26e79 Mon Sep 17 00:00:00 2001 From: martijn Date: Sat, 23 Oct 2021 17:10:34 +0000 Subject: [PATCH] Add a glossary of variable names. Requested by and OK bluhm@ --- lib/libagentx/agentx.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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 * @@ -28,6 +28,20 @@ #include "agentx_internal.h" #include +/* + * 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, -- 2.20.1