Rename most 'package' to 'message'.
authorLinus Nordberg <linus@nordberg.se>
Thu, 24 Jan 2013 13:06:35 +0000 (14:06 +0100)
committerLinus Nordberg <linus@nordberg.se>
Thu, 24 Jan 2013 13:06:35 +0000 (14:06 +0100)
commit1e3a2613b356bf542fd75c198e9c9813e24f08d1
tree6a3f90c5a50fbf8ccb202dea54dff847a7702f7d
parent49047aa9d70c81b91ebe2446a6e84e659f59506c
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.
21 files changed:
lib/Makefile.am
lib/conn.c
lib/debug.c
lib/debug.h
lib/err.c
lib/event.c
lib/event.h
lib/examples/client-blocking.c
lib/include/radsec/radsec-impl.h
lib/include/radsec/radsec.h
lib/include/radsec/request-impl.h
lib/include/radsec/request.h
lib/message.c [moved from lib/packet.c with 54% similarity]
lib/message.h [new file with mode: 0644]
lib/packet.h [deleted file]
lib/radsec.sym
lib/request.c
lib/send.c
lib/tcp.c
lib/udp.c
lib/udp.h