summaryrefslogtreecommitdiff
path: root/lib/include/radsec/radsec-impl.h
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of loopbreak as a mean for signalling successful packet handling.Linus Nordberg2011-02-251-0/+2
| | | | | | | | | | | | | In blocking mode, breaking the event loop with loopbreak will probably be needed for exceptions like timeout so we shouldn't use it for breaking the loop and signalling success. In the user callbaks used in blocking mode (_rcb and _wcb), disable read and write events on the event buffer. This will stop the loop. Also, set a flag in the packet struct to signal success. In the "low level callbacks" (_read_cb and _write_cb), enable read or write, accordingly.
* Config file changes and small API changes.Linus Nordberg2011-02-241-12/+14
| | | | | | | | 'timeout' and 'tries' move from 'server' stanza to top. 'tries' is now 'retries'. Moving around in internal data structs, making struct peer strictly config. Bug fixes in configuration code. Adding some more cleanup code, freeing allocated memory (still not done!).
* Add extern "C" guards to all header files.Linus Nordberg2010-11-111-0/+8
|
* Bringing up TLS connections working.Linus Nordberg2010-11-111-0/+12
| | | | | | | NOTE: Clean up of resources not yet sane. Expect resource leakages. NOTE: Most failure cases are not handled properly. With the wind at your back and the sun shining, it might work.
* Have rad_decode() verify responses.Luke Howard2010-10-111-0/+1
|
* Request object implementation and bug fixes by Luke Howard.Linus Nordberg2010-10-111-0/+1
|
* Robustness fixes (and some callback invocation) by Luke Howard.Linus Nordberg2010-10-101-0/+2
| | | | | | | | | | | | * lib/packet.c (_packet_create): Set packet identity properly. (_do_send): Return an int. (_do_send): Don't ignore rad_encode() errors. (_do_send): Do invoke rad_sign(). (_event_cb): Invoke callbacks. (_event_cb): Honour _do_send() return code. (_read_cb): Check packet (by invoking rad_packet_ok()). (_read_cb): Don't ignore rad_decode() errors. (_read_cb): Invoke callbacks.
* Rename struct rs_handle --> rs_context.Linus Nordberg2010-10-051-9/+14
|
* WIP -- reading configuration.Linus Nordberg2010-10-041-0/+8
|
* WIPLinus Nordberg2010-10-031-0/+1
|
* WIPLinus Nordberg2010-10-031-8/+13
|
* WIPLinus Nordberg2010-10-031-1/+1
|
* WIPLinus Nordberg2010-10-031-2/+2
|
* WIP.Linus Nordberg2010-10-021-0/+88