summaryrefslogtreecommitdiff
path: root/lib/libradius
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2015-07-27 02:27:33 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2015-07-27 02:27:33 +0000
commita3221aaaf75982b437f7e74041ff5cba183bf07f (patch)
tree16709200022a9c53938430d3aebbd7fd7101e344 /lib/libradius
parent15decf9ed1c3c49704a03f55b9eb72c444cfac87 (diff)
Rename radius.3 to radius_new_request_packet.3 to be named after a
function. Also make all functions be listed in the NAME section and have MLINKS in the makefile. suggest jmc ok deraadt
Diffstat (limited to 'lib/libradius')
-rw-r--r--lib/libradius/Makefile99
-rw-r--r--lib/libradius/radius_new_request_packet.3 (renamed from lib/libradius/radius.3)97
2 files changed, 189 insertions, 7 deletions
diff --git a/lib/libradius/Makefile b/lib/libradius/Makefile
index a5dc26e9eab..3e21fd7af2f 100644
--- a/lib/libradius/Makefile
+++ b/lib/libradius/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2015/07/20 23:52:29 yasuoka Exp $
+# $OpenBSD: Makefile,v 1.2 2015/07/27 02:27:32 yasuoka Exp $
LIB= radius
SRCS= radius.c radius_attr.c radius_msgauth.c radius_userpass.c \
@@ -7,7 +7,102 @@ INCS= radius.h
CFLAGS+= -Wall
-MAN= radius.3
+MAN= radius_new_request_packet.3
+MLINKS+= radius_new_request_packet.3 radius_new_response_packet.3
+MLINKS+= radius_new_request_packet.3 radius_convert_packet.3
+MLINKS+= radius_new_request_packet.3 radius_delete_packet.3
+MLINKS+= radius_new_request_packet.3 radius_get_id.3
+MLINKS+= radius_new_request_packet.3 radius_get_code.3
+MLINKS+= radius_new_request_packet.3 radius_get_authenticator.3
+MLINKS+= radius_new_request_packet.3 radius_get_authenticator_retval.3
+MLINKS+= radius_new_request_packet.3 radius_get_length.3
+MLINKS+= radius_new_request_packet.3 radius_update_id.3
+MLINKS+= radius_new_request_packet.3 radius_set_id.3
+MLINKS+= radius_new_request_packet.3 radius_set_request_packet.3
+MLINKS+= radius_new_request_packet.3 radius_get_request_packet.3
+MLINKS+= radius_new_request_packet.3 radius_set_response_authenticator.3
+MLINKS+= radius_new_request_packet.3 \
+ radius_check_response_authenticator.3
+MLINKS+= radius_new_request_packet.3 \
+ radius_set_accounting_request_authenticator.3
+MLINKS+= radius_new_request_packet.3 \
+ radius_check_accounting_request_authenticator.3
+MLINKS+= radius_new_request_packet.3 \
+ radius_get_request_authenticator_retval.3
+MLINKS+= radius_new_request_packet.3 radius_get_data.3
+MLINKS+= radius_new_request_packet.3 radius_get_raw_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_raw_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_raw_attr_cat.3
+MLINKS+= radius_new_request_packet.3 radius_put_raw_attr_cat.3
+MLINKS+= radius_new_request_packet.3 radius_get_raw_attr_ptr.3
+MLINKS+= radius_new_request_packet.3 radius_set_raw_attr.3
+MLINKS+= radius_new_request_packet.3 radius_del_attr_all.3
+MLINKS+= radius_new_request_packet.3 radius_has_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_vs_raw_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_vs_raw_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_vs_raw_attr_cat.3
+MLINKS+= radius_new_request_packet.3 radius_put_vs_raw_attr_cat.3
+MLINKS+= radius_new_request_packet.3 radius_get_vs_raw_attr_ptr.3
+MLINKS+= radius_new_request_packet.3 radius_set_vs_raw_attr.3
+MLINKS+= radius_new_request_packet.3 radius_del_vs_attr_all.3
+MLINKS+= radius_new_request_packet.3 radius_has_vs_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_uint16_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_uint32_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_uint64_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_ipv4_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_ipv6_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_uint16_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_uint32_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_uint64_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_ipv4_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_ipv6_attr.3
+MLINKS+= radius_new_request_packet.3 radius_set_uint16_attr.3
+MLINKS+= radius_new_request_packet.3 radius_set_uint32_attr.3
+MLINKS+= radius_new_request_packet.3 radius_set_uint64_attr.3
+MLINKS+= radius_new_request_packet.3 radius_set_ipv4_attr.3
+MLINKS+= radius_new_request_packet.3 radius_set_ipv6_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_string_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_string_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_vs_uint16_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_vs_uint32_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_vs_uint64_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_vs_ipv4_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_vs_ipv6_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_vs_uint16_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_vs_uint32_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_vs_uint64_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_vs_ipv4_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_vs_ipv6_attr.3
+MLINKS+= radius_new_request_packet.3 radius_set_vs_uint16_attr.3
+MLINKS+= radius_new_request_packet.3 radius_set_vs_uint32_attr.3
+MLINKS+= radius_new_request_packet.3 radius_set_vs_uint64_attr.3
+MLINKS+= radius_new_request_packet.3 radius_set_vs_ipv4_attr.3
+MLINKS+= radius_new_request_packet.3 radius_set_vs_ipv6_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_vs_string_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_vs_string_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_message_authenticator.3
+MLINKS+= radius_new_request_packet.3 radius_set_message_authenticator.3
+MLINKS+= radius_new_request_packet.3 \
+ radius_check_message_authenticator.3
+MLINKS+= radius_new_request_packet.3 \
+ radius_encrypt_user_password_attr.3
+MLINKS+= radius_new_request_packet.3 \
+ radius_decrypt_user_password_attr.3
+MLINKS+= radius_new_request_packet.3 radius_encrypt_mppe_key_attr.3
+MLINKS+= radius_new_request_packet.3 radius_decrypt_mppe_key_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_user_password_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_user_password_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_mppe_send_key_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_mppe_send_key_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_mppe_recv_key_attr.3
+MLINKS+= radius_new_request_packet.3 radius_put_mppe_recv_key_attr.3
+MLINKS+= radius_new_request_packet.3 radius_get_eap_msk.3
+MLINKS+= radius_new_request_packet.3 radius_send.3
+MLINKS+= radius_new_request_packet.3 radius_sendmsg.3
+MLINKS+= radius_new_request_packet.3 radius_sendto.3
+MLINKS+= radius_new_request_packet.3 radius_recv.3
+MLINKS+= radius_new_request_packet.3 radius_recvfrom.3
+MLINKS+= radius_new_request_packet.3 radius_recvmsg.3
.include <bsd.lib.mk>
diff --git a/lib/libradius/radius.3 b/lib/libradius/radius_new_request_packet.3
index da189e425db..5168f4ace91 100644
--- a/lib/libradius/radius.3
+++ b/lib/libradius/radius_new_request_packet.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: radius.3,v 1.1 2015/07/20 23:52:29 yasuoka Exp $
+.\" $OpenBSD: radius_new_request_packet.3,v 1.1 2015/07/27 02:27:32 yasuoka Exp $
.\"
.\" Copyright (c) 2009 Internet Initiative Japan Inc.
.\" All rights reserved.
@@ -24,10 +24,99 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 20 2015 $
-.Dt NRADIUS 3
+.Dd $Mdocdate: July 27 2015 $
+.Dt RADIUS_NEW_REQUEST_PACKET 3
.Os
.Sh NAME
+.Nm radius_new_request_packet ,
+.Nm radius_new_response_packet ,
+.Nm radius_convert_packet ,
+.Nm radius_delete_packet ,
+.Nm radius_get_id ,
+.Nm radius_get_code ,
+.Nm radius_get_authenticator ,
+.Nm radius_get_authenticator_retval ,
+.Nm radius_get_length ,
+.Nm radius_update_id ,
+.Nm radius_set_id ,
+.Nm radius_set_request_packet ,
+.Nm radius_get_request_packet ,
+.Nm radius_set_response_authenticator ,
+.Nm radius_check_response_authenticator ,
+.Nm radius_set_accounting_request_authenticator ,
+.Nm radius_check_accounting_request_authenticator ,
+.Nm radius_get_request_authenticator_retval ,
+.Nm radius_get_data ,
+.Nm radius_get_raw_attr ,
+.Nm radius_put_raw_attr ,
+.Nm radius_get_raw_attr_cat ,
+.Nm radius_put_raw_attr_cat ,
+.Nm radius_get_raw_attr_ptr ,
+.Nm radius_set_raw_attr ,
+.Nm radius_del_attr_all ,
+.Nm radius_has_attr ,
+.Nm radius_get_vs_raw_attr ,
+.Nm radius_put_vs_raw_attr ,
+.Nm radius_get_vs_raw_attr_cat ,
+.Nm radius_put_vs_raw_attr_cat ,
+.Nm radius_get_vs_raw_attr_ptr ,
+.Nm radius_set_vs_raw_attr ,
+.Nm radius_del_vs_attr_all ,
+.Nm radius_has_vs_attr ,
+.Nm radius_get_uint16_attr ,
+.Nm radius_get_uint32_attr ,
+.Nm radius_get_uint64_attr ,
+.Nm radius_get_ipv4_attr ,
+.Nm radius_get_ipv6_attr ,
+.Nm radius_put_uint16_attr ,
+.Nm radius_put_uint32_attr ,
+.Nm radius_put_uint64_attr ,
+.Nm radius_put_ipv4_attr ,
+.Nm radius_put_ipv6_attr ,
+.Nm radius_set_uint16_attr ,
+.Nm radius_set_uint32_attr ,
+.Nm radius_set_uint64_attr ,
+.Nm radius_set_ipv4_attr ,
+.Nm radius_set_ipv6_attr ,
+.Nm radius_get_string_attr ,
+.Nm radius_put_string_attr ,
+.Nm radius_get_vs_uint16_attr ,
+.Nm radius_get_vs_uint32_attr ,
+.Nm radius_get_vs_uint64_attr ,
+.Nm radius_get_vs_ipv4_attr ,
+.Nm radius_get_vs_ipv6_attr ,
+.Nm radius_put_vs_uint16_attr ,
+.Nm radius_put_vs_uint32_attr ,
+.Nm radius_put_vs_uint64_attr ,
+.Nm radius_put_vs_ipv4_attr ,
+.Nm radius_put_vs_ipv6_attr ,
+.Nm radius_set_vs_uint16_attr ,
+.Nm radius_set_vs_uint32_attr ,
+.Nm radius_set_vs_uint64_attr ,
+.Nm radius_set_vs_ipv4_attr ,
+.Nm radius_set_vs_ipv6_attr ,
+.Nm radius_get_vs_string_attr ,
+.Nm radius_put_vs_string_attr ,
+.Nm radius_put_message_authenticator ,
+.Nm radius_set_message_authenticator ,
+.Nm radius_check_message_authenticator ,
+.Nm radius_encrypt_user_password_attr ,
+.Nm radius_decrypt_user_password_attr ,
+.Nm radius_encrypt_mppe_key_attr ,
+.Nm radius_decrypt_mppe_key_attr ,
+.Nm radius_get_user_password_attr ,
+.Nm radius_put_user_password_attr ,
+.Nm radius_get_mppe_send_key_attr ,
+.Nm radius_put_mppe_send_key_attr ,
+.Nm radius_get_mppe_recv_key_attr ,
+.Nm radius_put_mppe_recv_key_attr ,
+.Nm radius_get_eap_msk ,
+.Nm radius_send ,
+.Nm radius_sendmsg ,
+.Nm radius_sendto ,
+.Nm radius_recv ,
+.Nm radius_recvfrom ,
+.Nm radius_recvmsg
.Nm radius
.Nd manipulate RADIUS packets for RADIUS clients/servers
.Sh SYNOPSIS
@@ -269,7 +358,6 @@ and
Functions that return int return 0 on success and nonzero on failure.
Functions that return pointer return non-NULL pointer on success and
NULL on failure.
-.\" .Sh SEE ALSO
.Sh HISTORY
.Nm radius+
library is first written by UMEZAWA Takeshi in 2002 for ID gateway service
@@ -280,4 +368,3 @@ OpenBSD project rewrite C++ code to pure C code in 2010.
library is renamed
.Nm radius
library and moved to under lib/ in 2013.
-.\" .Sh AUTHROS