summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2020-09-16 20:13:00 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2020-09-16 20:13:00 +0000
commit7d1025a8cc171670409f3fdb74d3a91eedfa6e9c (patch)
tree306388652487c54148209f37a1c437f5063ec0ca /lib
parent186438cca189265591a61bfe736326af1124a90f (diff)
Apparently some time ago I moved the timeout argument to the final position
of subagentx_session and subagentx_region but forgot to update it in the manpage. While here also fix a wrong quote and remove a function reference of the non-existing variety.
Diffstat (limited to 'lib')
-rw-r--r--lib/libagentx/subagentx.316
1 files changed, 6 insertions, 10 deletions
diff --git a/lib/libagentx/subagentx.3 b/lib/libagentx/subagentx.3
index 5f657cfffdf..0a117734b3c 100644
--- a/lib/libagentx/subagentx.3
+++ b/lib/libagentx/subagentx.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: subagentx.3,v 1.2 2020/09/16 18:32:59 schwarze Exp $
+.\" $OpenBSD: subagentx.3,v 1.3 2020/09/16 20:12:59 martijn Exp $
.\"
.\" Copyright (c) 2020 Martijn van Duren <martijn@openbsd.org>
.\"
@@ -103,8 +103,8 @@
.Fn subagentx_free "struct subagentx *sa"
.Ft struct subagentx_session *
.Fo subagentx_session
-.Fa "struct subagentx *sa" "uint8_t timeout" "uint32_t oid[]" "size_t oidlen"
-.Fa "const char *descr"
+.Fa "struct subagentx *sa" "uint32_t oid[]" "size_t oidlen"
+.Fa "const char *descr" "uint8_t timeout"
.Fc
.Ft void
.Fn subagentx_session_free "struct subagentx_session *sas"
@@ -133,8 +133,8 @@
.Fn subagentx_agentcaps_free "struct subagentx_agentcaps *saa"
.Ft struct subagentx_region *
.Fo subagentx_region
-.Fa "struct subagentx_context *sac" "uint8_t timeout" "uint32_t oid[]"
-.Fa "size_t oidlen"
+.Fa "struct subagentx_context *sac" "uint32_t oid[]"
+.Fa "size_t oidlen" "uint8_t timeout"
.Fc
.Ft void
.Fn subagentx_region_free "struct subagentx_region *sar"
@@ -166,7 +166,7 @@
.Fc
.Ft struct subagentx_index *
.Fo subagentx_index_oid_dynamic
-.Fa "struct subagentx_region *sar "uint32_t oid[]" "size_t oidlen"
+.Fa "struct subagentx_region *sar" "uint32_t oid[]" "size_t oidlen"
.Fc
.Ft struct subagentx_index *
.Fo subagentx_index_noid_dynamic
@@ -177,10 +177,6 @@
.Fo subagentx_index_ipaddress_dynamic
.Fa "struct subagentx_region *sar" "uint32_t oid[]" "size_t oidlen"
.Fc
-.Ft struct subagentx_index *
-.Fo subagentx_index_dynamic
-.Fa "struct subagentx_region *sar" "uint32_t oid[]" "size_t oidlen"
-.Fc
.Ft void
.Fn subagentx_index_free "struct subagentx_index *sai"
.Ft struct subagentx_object *