summaryrefslogtreecommitdiff
path: root/lib/packet.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-01-24 14:06:35 +0100
committerLinus Nordberg <linus@nordberg.se>2013-01-24 14:06:35 +0100
commit1e3a2613b356bf542fd75c198e9c9813e24f08d1 (patch)
tree6a3f90c5a50fbf8ccb202dea54dff847a7702f7d /lib/packet.h
parent49047aa9d70c81b91ebe2446a6e84e659f59506c (diff)
Rename most 'package' to 'message'.
RADIUS (RFC2865) is defined to be transported over UDP so the term "radius packet" makes a lot of sense. RADIUS/TCP (RFC6613) and RADIUS/TLS (RFC6614), a.k.a. RadSec, use stream transport protocols though. The term "message" doesn't imply any kind of transport -- a message can be sent using datagrams as well as in a stream. This (large) commit changes 'package' to 'message' where it makes sense. It does not touch the 'radius' subdirectory. It includes preprocessor directives (#define) to make the public interface compatible with previous releases of the library.
Diffstat (limited to 'lib/packet.h')
-rw-r--r--lib/packet.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/packet.h b/lib/packet.h
deleted file mode 100644
index c020d69..0000000
--- a/lib/packet.h
+++ /dev/null
@@ -1,7 +0,0 @@
-/* Copyright 2010, 2011 NORDUnet A/S. All rights reserved.
- See LICENSE for licensing information. */
-
-int packet_do_send (struct rs_packet *pkt);
-int packet_verify_response (struct rs_connection *conn,
- struct rs_packet *response,
- struct rs_packet *request);