summaryrefslogtreecommitdiff
path: root/lib/libagentx/agentx.3
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2020-10-27 17:33:06 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2020-10-27 17:33:06 +0000
commit185dcb1985eef8e5841e928f354618b3b73db240 (patch)
treedaa21734f82ed449771116dd18c3d549ebdcb628 /lib/libagentx/agentx.3
parente56426a041ae3dc1d80e2eb94fcf57a74f90f73c (diff)
Adjust manpage to uint32_t->int32_t change.
Diffstat (limited to 'lib/libagentx/agentx.3')
-rw-r--r--lib/libagentx/agentx.318
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libagentx/agentx.3 b/lib/libagentx/agentx.3
index 46e305c8584..02e8e237753 100644
--- a/lib/libagentx/agentx.3
+++ b/lib/libagentx/agentx.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: agentx.3,v 1.2 2020/10/26 16:09:58 tb Exp $
+.\" $OpenBSD: agentx.3,v 1.3 2020/10/27 17:33:05 martijn Exp $
.\"
.\" Copyright (c) 2020 Martijn van Duren <martijn@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 26 2020 $
+.Dd $Mdocdate: October 27 2020 $
.Dt AGENTX 3
.Os
.Sh NAME
@@ -149,7 +149,7 @@
.Ft struct agentx_index *
.Fo agentx_index_integer_value
.Fa "struct agentx_region *sar" "uint32_t oid[]" "size_t oidlen"
-.Fa "uint32_t value"
+.Fa "int32_t value"
.Fc
.Ft struct agentx_index *
.Fo agentx_index_integer_dynamic
@@ -188,7 +188,7 @@
.Ft void
.Fn agentx_object_free "struct agentx_object *sao"
.Ft void
-.Fn agentx_varbind_integer "struct agentx_varbind *sav" "uint32_t value"
+.Fn agentx_varbind_integer "struct agentx_varbind *sav" "int32_t value"
.Ft void
.Fn agentx_varbind_string "struct agentx_varbind *sav" "const char *value"
.Ft void
@@ -237,7 +237,7 @@
.Fn agentx_varbind_error "struct agentx_varbind *sav"
.Ft enum agentx_request_type
.Fn agentx_varbind_request "struct agentx_varbind *sav"
-.Ft uint32_t
+.Ft int32_t
.Fo agentx_varbind_get_index_integer
.Fa "struct agentx_varbind *sav" "struct agentx_index *sai"
.Fc
@@ -258,7 +258,7 @@
.Ft void
.Fo agentx_varbind_set_index_integer
.Fa "struct agentx_varbind *sav" "struct agentx_index *sai"
-.Fa "uint32_t value"
+.Fa "int32_t value"
.Fc
.Ft void
.Fo agentx_varbind_set_index_string
@@ -492,7 +492,7 @@ A call to
must eventually result in a call to one of the following functions:
.Bl -tag -width agentx_varbind_counter32()
.It Fn agentx_varbind_integer
-Set the return value to an uint32_t value.
+Set the return value to an int32_t value.
.It Fn agentx_varbind_string
A C string wrapper around
.Fn agentx_varbind_nstring .
@@ -539,7 +539,7 @@ be used:
.It Fn agentx_varbind_request
Returns whether the request is of type GET, GETNEXT or GETNEXTINCLUSIVE.
.It Fn agentx_varbind_get_index_integer
-Retrieve a single uint32_t index value.
+Retrieve a single int32_t index value.
.It Fn agentx_varbind_get_index_string
Retrieve an octetstring index value.
.Fa slen
@@ -557,7 +557,7 @@ alphabetically sorted.
.It Fn agentx_varbind_get_index_ipaddress
Retrieve an ipaddress index value.
.It Fn agentx_varbind_set_index_integer
-Sets a single uint32_t index value.
+Sets a single int32_t index value.
.It Fn agentx_varbind_set_index_string
A C string wrapper around
.Fn agentx_varbind_set_index_nstring .