summaryrefslogtreecommitdiff
path: root/include/ouroboros/wrap
Commit message (Collapse)AuthorAgeFilesLines
* build: Fix bad if checkSander Vrijders2017-05-181-2/+1
| | | | This fixes a bad if check for the version of cmake.
* build: Fix deprecation warningSander Vrijders2017-05-161-1/+11
| | | | | | This fixes a deprecation warning for CMake 3.8 and higher. swig_add_module has been deprecated in favor of swig_add_library.
* lib: Fix error in SWIG wrapperSander Vrijders2017-04-131-1/+3
| | | | This fixes an error in the SWIG wrapper.
* Merged in dstaesse/ouroboros/be-hashes (pull request #479)dimitri staessens2017-04-131-2/+2
|\ | | | | | | lib, ipcpd, irmd: Register hash instead of name
| * lib, ipcpd, irmd: Register hash instead of namedimitri staessens2017-04-131-2/+2
| | | | | | | | | | | | | | | | | | All information passed over the IRMd/IPCP boundary for using IPC services (flow allocation, registration) is now hashed. This effectively fixes the shared namespace between DIFs and the IRMDs. This PR also fixes some API issues (adding const identifiers), shuffles the include headers a bit and some small bugs.
* | build: Add STATUS to message statementsSander Vrijders2017-04-121-2/+2
|/ | | | | | This adds the STATUS variable to the message() call in CMakeLists.txt in places where it was missing. This ensures that the message is printed to stdout instead of stderr.
* build: Change compiler check output and update wrapSander Vrijders2017-04-071-1/+1
| | | | | | This removes some of the log messages spewed out during a check of a compiler flag. It also makes the SWIG compiler flag for C99 independent of the compiler.
* lib: Fix Python wrappingSander Vrijders2017-01-112-0/+5
| | | | | | | Since Python 3.6, the headers are no longer C89 compliant, since they introduced C++ style comments. This sets the compiler flag to std99 instead of std89 to allow wrapping of headers. It also adds a missing header to the wrapping file.
* build: Update licenses and copyrightdimitri staessens2017-01-091-1/+1
| | | | | Copyright is set to 2016 - 2017. License text on includes and sources in the library are changed to indicate the LGPLv2.1 license.
* ouroboros: Correct license statementsdimitri staessens2016-12-241-10/+10
| | | | | This corrects the license statements on all files. Installed headers are LGPLv2.1, the rest of the code is GPLv2.
* lib: Demultiplex the fast pathdimitri staessens2016-10-211-2/+2
| | | | | | | | The fast path will now use an incoming ring buffer per flow per process. This necessitated the development of a new method for the asynchronous io call, which is now based on an event queue system for scalability (fqueue). The ipcpd's and tools have been updated to this API.
* lib, ipcp: Revise fast path and flow interfacesdimitri staessens2016-10-041-2/+2
| | | | | | | | | | | | IPCPs can now use ap_init() to initialize the memory. All flows are accessed using flow descriptors, this greatly simplifies IPCP development. Reverts the fast path to a single ap_rbuff per process. Splits lib/ipcp into irmd/ipcp and lib/ipcp-dev. Adds a lib/shim-dev holding tailored functions for shims. Moves the buffer_t to utils.h. Fixes the shim-eth-llc length field. Removes the flow from shared.h. Fixes #4 Fixes #5
* wrap: Add swig wrapper for select.hdimitri staessens2016-09-061-0/+2
|
* build: Add correct include directory for swigSander Vrijders2016-09-011-0/+3
| | | | | | The correct include directory was not added to the CMakeLists in the wrap directory. Before it was working since the headers were already installed system-wide on my own system.
* lib: Add wrappers for PythonSander Vrijders2016-08-162-0/+86
This adds SWIG to the build and wraps the Ouroboros library so that it can be called through Python scripts. If either SWIG or Python cannot be found, no bindings are generated.