Date: Sat, 24 Feb 2018 16:31:26 +0000 (UTC) From: Mariusz Zaborski <oshogbo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329912 - in head/lib/libcasper: libcasper services/cap_dns Message-ID: <201802241631.w1OGVQb7059076@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: oshogbo Date: Sat Feb 24 16:31:26 2018 New Revision: 329912 URL: https://svnweb.freebsd.org/changeset/base/329912 Log: Fix reference to nvlist in man pages. Reviewed by: @bcr @brueffer Pointed out by: @brueffer Differential Revision: https://reviews.freebsd.org/D14410 Modified: head/lib/libcasper/libcasper/libcasper.3 head/lib/libcasper/services/cap_dns/cap_dns.3 Modified: head/lib/libcasper/libcasper/libcasper.3 ============================================================================== --- head/lib/libcasper/libcasper/libcasper.3 Sat Feb 24 16:28:45 2018 (r329911) +++ head/lib/libcasper/libcasper/libcasper.3 Sat Feb 24 16:31:26 2018 (r329912) @@ -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 Modified: head/lib/libcasper/services/cap_dns/cap_dns.3 ============================================================================== --- head/lib/libcasper/services/cap_dns/cap_dns.3 Sat Feb 24 16:28:45 2018 (r329911) +++ head/lib/libcasper/services/cap_dns/cap_dns.3 Sat Feb 24 16:31:26 2018 (r329912) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802241631.w1OGVQb7059076>