From 051cc9f6f7bff4d2d1b611fce1ece2b58978af6f Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 7 May 2002 10:47:18 +0000 Subject: Add support for vendor specific RADIUS extensions. Only the extensions from rfc2548 are specified for now. --- lib/libradius/libradius.3 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'lib/libradius/libradius.3') 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 -- cgit v1.1