summaryrefslogtreecommitdiffstats
path: root/lib/libradius/libradius.3
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-05-07 10:47:18 +0000
committerbrian <brian@FreeBSD.org>2002-05-07 10:47:18 +0000
commit051cc9f6f7bff4d2d1b611fce1ece2b58978af6f (patch)
treed6f3a7566b3d1a1b7c9ed2829623c43ae6ceff87 /lib/libradius/libradius.3
parent920f339ee0360ae3f2069fa04c25c1ae979fbe65 (diff)
downloadFreeBSD-src-051cc9f6f7bff4d2d1b611fce1ece2b58978af6f.zip
FreeBSD-src-051cc9f6f7bff4d2d1b611fce1ece2b58978af6f.tar.gz
Add support for vendor specific RADIUS extensions.
Only the extensions from rfc2548 are specified for now.
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 7adf306..2199d26 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
OpenPOWER on IntegriCloud