aboutsummaryrefslogtreecommitdiff
path: root/lib/libcasper
diff options
context:
space:
mode:
authorMariusz Zaborski <oshogbo@FreeBSD.org>2018-02-24 16:31:26 +0000
committerMariusz Zaborski <oshogbo@FreeBSD.org>2018-02-24 16:31:26 +0000
commita241c14f9a4435e4dcc13799a99360676c57b520 (patch)
treefbbc2eb3b011b7b3ea9ddf5e53f3eae4129bf916 /lib/libcasper
parentaae18dcc87c2f5dd35b06c3db8c13edb6aebcb37 (diff)
downloadsrc-a241c14f9a4435e4dcc13799a99360676c57b520.tar.gz
src-a241c14f9a4435e4dcc13799a99360676c57b520.zip
Notes
Diffstat (limited to 'lib/libcasper')
-rw-r--r--lib/libcasper/libcasper/libcasper.325
-rw-r--r--lib/libcasper/services/cap_dns/cap_dns.36
2 files changed, 21 insertions, 10 deletions
diff --git a/lib/libcasper/libcasper/libcasper.3 b/lib/libcasper/libcasper/libcasper.3
index d26fa55468d7..8f1a1c34eaac 100644
--- a/lib/libcasper/libcasper/libcasper.3
+++ b/lib/libcasper/libcasper/libcasper.3
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 17, 2018
+.Dd February 24, 2018
.Dt LIBCASPER 3
.Os
.Sh NAME
@@ -160,25 +160,34 @@ it means there are no limits set.
The
.Fn cap_limit_set
function sets limits for the given capability.
-The limits are provided as nvlist.
+The limits are provided as
+.Xr nvlist 9 .
The exact format depends on the service the capability represents.
.Pp
The
.Fn cap_send_nvlist
-function sends the given nvlist over the given capability.
+function sends the given
+.Xr nvlist 9
+over the given capability.
This is low level interface to communicate with casper services.
Most services should provide higher level API.
.Pp
The
.Fn cap_recv_nvlist
-function receives the given nvlist over the given capability.
+function receives the given
+.Xr nvlist 9
+over the given capability.
.Pp
The
.Fn cap_xfer_nvlist
-function sends the given nvlist, destroys it and receives new nvlist in
-response over the given capability.
-It does not matter if the function succeeds or fails, the nvlist given
-for sending will always be destroyed once the function returns.
+function sends the given
+.Xr nvlist 9,
+destroys it and receives new
+.Xr nvlist 9
+in response over the given capability.
+It does not matter if the function succeeds or fails, the
+.Xr nvlist 9
+given for sending will always be destroyed once the function returns.
.Pp
The
.Fn cap_service_open
diff --git a/lib/libcasper/services/cap_dns/cap_dns.3 b/lib/libcasper/services/cap_dns/cap_dns.3
index a8b2b0c77dfb..1e9c426cacb8 100644
--- a/lib/libcasper/services/cap_dns/cap_dns.3
+++ b/lib/libcasper/services/cap_dns/cap_dns.3
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 10, 2018
+.Dd February 24, 2018
.Dt CAP_DNS 3
.Os
.Sh NAME
@@ -105,7 +105,9 @@ and
.Fn cap_dns_family_limit
functions, but the limits of service can be set also using
.Xr cap_limit_set 3 .
-The nvlist for that function can contain the following values and types:
+The
+.Xr nvlist 9
+for that function can contain the following values and types:
.Bl -ohang -offset indent
.It type ( NV_TYPE_STRING )
The