summaryrefslogtreecommitdiff
path: root/lib/examples/client-blocking.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Add formal argument 'secret' to two public functions."Linus Nordberg2013-05-081-2/+2
| | | | | | | This reverts commit 09d1cff2418a900b587b2113f508984f2417cc11. Conflicts: lib/include/radsec/request.h
* Add some info on usage modes.Linus Nordberg2013-01-231-1/+1
|
* Remove unnecessary #includes.Linus Nordberg2013-01-221-5/+1
|
* Add formal argument 'secret' to two public functions.Linus Nordberg2012-12-171-2/+2
| | | | | | | | | | The functions are rs_packet_create_authn_request() and rs_request_create_authn(). Attributes of type PW_USER_PASSWORD are supposed to be MD5 obfuscated (see vp2data_any()). NOTE: This is a non-backward compatible API change.
* Example code: Print a little bit more helpful information on failure.Linus Nordberg2012-12-171-1/+1
|
* Example code: Don't create rs_error on failing context creation.Linus Nordberg2012-12-171-4/+5
| | | | We don't export err_create() and the error is ENOMEM nowadays.
* Merge libradsec-new-client.Linus Nordberg2012-04-271-7/+3
|\
| * remove rs_packet_frpktLuke Howard2011-11-141-3/+2
| |
| * remove rs_context_init_freeradius_dictLuke Howard2011-11-141-4/+0
| |
| * port to new RADIUS client libraryLuke Howard2011-11-141-1/+2
| |
* | Handle failing rs_context_create().Linus Nordberg2012-04-261-1/+7
| |
* | Be user friendly in example program.Linus Nordberg2012-01-241-0/+9
| |
* | Cosmetic changes.Linus Nordberg2012-01-191-3/+4
|/ | | | Better names of formal arguments in test program.
* API AND CONFIG CHANGE: rs_context_create() doesn't take DICT any more.Linus Nordberg2011-03-211-4/+10
| | | | | | | Use rs_context_create() to read FreeRADIUS dictionary, possibly by taking dict file from configuration file. CONFIG CHANGE: s/config/realm/g.
* Verify result in example program. Also, don't leak a package.Linus Nordberg2011-03-141-1/+9
|
* Don't double free in example code.Linus Nordberg2011-03-131-6/+2
|
* Change user name in example code.Linus Nordberg2011-03-131-1/+1
|
* examples/client-blocking: pull out the error before freeing conn.Linus Nordberg2011-03-081-1/+3
|
* Clean up struct rs_error somewhat.Linus Nordberg2011-03-081-1/+1
| | | | More to be done here!
* examples/client-blocking.c: Clean up and improve error handling.Linus Nordberg2011-03-071-37/+31
|
* Rename relevant functions to reflect authn as opposed to authz.Linus Nordberg2011-02-281-2/+2
| | | | Also add a "bare" create request function.
* API changes: rs_client* --> rs_peer.Linus Nordberg2011-02-281-5/+5
| | | | | Move peer (former server) things to new file peer.c. Update examples.
* API change. Have the request object create its own request message.Linus Nordberg2011-02-251-5/+5
|
* Initialize pointer in example program before trusting it.Linus Nordberg2011-02-041-5/+6
|
* Pick usage of struct request in example code at run time.Linus Nordberg2011-02-021-22/+28
|
* Follow API changes.linus2011-01-211-3/+3
|
* "Thou shalt not follow the NULL pointer, for chaos and madness awaitLinus Nordberg2010-10-281-6/+10
| | | | thee at its end."
* Have rad_decode() verify responses.Luke Howard2010-10-111-4/+10
|
* Rename rs_req_* --> rs_request_.Linus Nordberg2010-10-101-2/+2
| | | | Contributed by Luke Howard.
* Rename struct rs_handle --> rs_context.Linus Nordberg2010-10-051-1/+1
|
* WIP -- reading configuration.Linus Nordberg2010-10-041-13/+16
|
* WIPLinus Nordberg2010-10-031-4/+5
|
* WIPLinus Nordberg2010-10-031-9/+15
|
* Rename the error functions.Linus Nordberg2010-10-031-9/+9
|
* WIP -- prepare for request objects.Linus Nordberg2010-10-031-2/+17
|
* WIPLinus Nordberg2010-10-031-9/+0
|
* WIP.Linus Nordberg2010-10-021-1/+1
|
* WIPLinus Nordberg2010-10-021-0/+80