aboutsummaryrefslogtreecommitdiff
path: root/lib/libipsec
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>2003-03-24 16:02:05 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>2003-03-24 16:02:05 +0000
commit0552350ecc55f34e3385dc06abf3c9c45092b332 (patch)
tree1a092156e84df44700be1a9dde40cf947f43e35a /lib/libipsec
parent592bb5e477f30354d5cbbabebe24ac7d05ba7e7e (diff)
downloadsrc-0552350ecc55f34e3385dc06abf3c9c45092b332.tar.gz
src-0552350ecc55f34e3385dc06abf3c9c45092b332.zip
Notes
Diffstat (limited to 'lib/libipsec')
-rw-r--r--lib/libipsec/ipsec_set_policy.36
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libipsec/ipsec_set_policy.3 b/lib/libipsec/ipsec_set_policy.3
index 00c3a6d0477f..5c63acffdda4 100644
--- a/lib/libipsec/ipsec_set_policy.3
+++ b/lib/libipsec/ipsec_set_policy.3
@@ -262,12 +262,14 @@ The
.Fn ipsec_set_policy
function returns a pointer to the allocated buffer of policy specification if
successful; otherwise a NULL pointer is returned.
+The
.Fn ipsec_get_policylen
-returns with positive value
+function returns with positive value
(meaning the buffer size)
on success, and negative value on errors.
+The
.Fn ipsec_dump_policy
-returns a pointer to dynamically allocated region on success,
+function returns a pointer to dynamically allocated region on success,
and
.Dv NULL
on errors.