diff options
author | Linus Nordberg <linus@nordberg.se> | 2013-01-24 15:19:43 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2013-01-24 15:19:43 +0100 |
commit | a11aab1d9b4ecd4e8c31a5002af142b1828a4016 (patch) | |
tree | 93a545d1c20f6650249be569917abc2531aecde4 /lib/event.h | |
parent | 451e4f8ef7b0b4a353318d68a42f1239ec9878e4 (diff) | |
parent | 1e3a2613b356bf542fd75c198e9c9813e24f08d1 (diff) |
Merge branch 'rename-packet-to-message' into libradsec-user-dispatch
Conflicts:
lib/include/radsec/radsec.h
Original commit message (1e3a2613):
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/event.h')
-rw-r--r-- | lib/event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/event.h b/lib/event.h index 9c239df..3fcea61 100644 --- a/lib/event.h +++ b/lib/event.h @@ -2,7 +2,7 @@ See LICENSE for licensing information. */ void event_on_disconnect (struct rs_connection *conn); -int event_on_connect (struct rs_connection *conn, struct rs_packet *pkt); +int event_on_connect (struct rs_connection *conn, struct rs_message *msg); int event_loopbreak (struct rs_connection *conn); int event_init_eventbase (struct rs_connection *conn); int event_init_socket (struct rs_connection *conn, struct rs_peer *p); |