summaryrefslogtreecommitdiff
path: root/lib/debug.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename most 'package' to 'message'.Linus Nordberg2013-01-241-2/+2
| | | | | | | | | | | | | 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.
* Rename COPYING -> LICENSE.Linus Nordberg2012-12-191-1/+1
| | | | And distribute LICENSE and HACKING.
* Remove struct rs_attr and all use of it.Linus Nordberg2011-03-141-2/+0
| | | | | | | A new API for attributes will be added once we've decided how to deal with RADIUS packets internally. For now, removing the half baked wrapping seems more sensible than trying to free rs_attr objects and their VALUE_PAIR's.
* Restructure code, moving most code out of packet.cLinus Nordberg2011-03-061-1/+2
| | | | Also, move copyright notice out of COPYING and into every file.
* Improve protocol robustness and invoke user callbacks.Linus Nordberg2011-02-191-3/+6
| | | | | | | | | | | | All aborts are removed, as well as all asserts which aren't programming errors. When an invalid packet is received, the connection is closed, as per draft-ietf-radext-tcp-transport-08 (2.6.4). Use new rs_debug() macro rather than fprintf() for debug printouts. Coding style overhaul.
* Add and use rs_debug() instead of fprintf to stderr.Linus Nordberg2011-02-041-0/+6
|
* Add extern "C" guards to all header files.Linus Nordberg2010-11-111-0/+8
|
* WIPLinus Nordberg2010-10-011-0/+2
|
* WIP.Linus Nordberg2010-09-281-66/+2
|
* Example client crafting simple packet using freeradius-libradius.Linus Nordberg2010-09-261-0/+73