aboutsummaryrefslogtreecommitdiff
path: root/lib/libradius/libradius.3
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2002-05-07 10:47:18 +0000
committerBrian Somers <brian@FreeBSD.org>2002-05-07 10:47:18 +0000
commitb49a88f653a15db686443f7aa32a601ee04dc2d1 (patch)
treed6f3a7566b3d1a1b7c9ed2829623c43ae6ceff87 /lib/libradius/libradius.3
parentbf1eaec5e867f4e02723ddd55458792f7b16cd63 (diff)
downloadsrc-b49a88f653a15db686443f7aa32a601ee04dc2d1.tar.gz
src-b49a88f653a15db686443f7aa32a601ee04dc2d1.zip
Add support for vendor specific RADIUS extensions.
Only the extensions from rfc2548 are specified for now.
Notes
Notes: svn path=/head/; revision=96154
Diffstat (limited to 'lib/libradius/libradius.3')
-rw-r--r--lib/libradius/libradius.316
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libradius/libradius.3 b/lib/libradius/libradius.3
index 7adf306e1d00..2199d26b2960 100644
--- a/lib/libradius/libradius.3
+++ b/lib/libradius/libradius.3
@@ -65,6 +65,14 @@
.Ft int
.Fn rad_put_string "struct rad_handle *h" "int type" "const char *str"
.Ft int
+.Fn rad_put_vendor_addr "struct rad_handle *h" "int vendor" "int type" "struct in_addr addr"
+.Ft int
+.Fn rad_put_vendor_attr "struct rad_handle *h" "int vendor" "int type" "const void *data" "size_t len"
+.Ft int
+.Fn rad_put_vendor_int "struct rad_handle *h" "int vendor" "int type" "u_int32_t value"
+.Ft int
+.Fn rad_put_vendor_string "struct rad_handle *h" "int vendor" "int type" "const char *str"
+.Ft int
.Fn rad_send_request "struct rad_handle *h"
.Ft const char *
.Fn rad_strerror "struct rad_handle *h"
@@ -183,6 +191,14 @@ Each accepts a
parameter identifying the attribute, and a value which may be
an Internet address, an integer, or a NUL-terminated string,
respectively.
+Alternatively,
+.Fn rad_put_vendor_addr ,
+.Fn rad_put_vendor_int
+or
+.Fn rad_put_vendor_string
+may be used to specify vendor specific attributes. Vendor specific
+definitions may be found in
+.In radlib_vs.h
.Pp
The library also provides a function
.Fn rad_put_attr