aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/vici/libvici.c
Commit message (Collapse)AuthorAgeFilesLines
* vici: Cancel processor before calling library_deinit()Martin Willi2014-10-101-0/+1
| | | | | For non-direct libstrongswan users, the deinitialization segfaults because of the missing worker thread cancellation.
* vici: Reduce debug level during thread spawningMartin Willi2014-10-101-0/+2
| | | | We want to avoid libvici users to get a cluttered stderr for no real error.
* vici: Don't include-depend on libstrongswan for boolean typesMartin Willi2014-10-101-1/+1
| | | | | | | | As we want to avoid the libstrongswan include dependencies for libvici, avoid the use of the bool type. Unfortunately this change may break the ABI for vici_dump(). As this function is mostly for debugging purposes, we do it nonetheless; my apologies if somebody already relies on the ABI stability of that function.
* Split swanctl --raw mode into single-line and --pretty modeAndreas Steffen2014-06-141-2/+2
|
* vici: Add Windows supportMartin Willi2014-06-041-4/+4
|
* vici: Document errno values to expect from libvici APIMartin Willi2014-05-071-1/+1
|
* vici: Increase vici message length header from 16 to 32 bitsMartin Willi2014-05-071-8/+13
| | | | | | | | | While we currently have no need for messages larger than 65KB, we should design the protocol to be future-proof, as we plan to keep at least to lowest protocol layer stable. To avoid any allocation issues, we currently keep the message size limit at 512KB.
* vici: Use non-blocking first read when receiving message during client on_read()Martin Willi2014-05-071-1/+15
| | | | | | As select() and finally the watcher may signal an FD even if it does not actually have data, we must make a non-block read to avoid hanging in the read callback.
* vici: Add a callback based recursive parser functionMartin Willi2014-05-071-0/+95
|
* vici: Move dumping to core message class, use it in libviciMartin Willi2014-05-071-55/+3
|
* vici: Add convenience value/string/integer getter to libviciMartin Willi2014-05-071-0/+37
|
* vici: Add a libvici low-level client libraryMartin Willi2014-05-071-0/+665