summaryrefslogtreecommitdiff
path: root/src/lib/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* lib, irmd, irm: Add dif_configSander Vrijders2016-04-081-2/+4
| | | | | | | | | This adds dif_config to the prototype, in which one is able to specify the parameters a DIF should have. The bootstrap operation of an IPCP takes this as parameter and is oblivious to whether it is a shim or a normal IPCP. The dif_config struct is also correctly serialized and deserialized and passed opaquely to the correct IPCP. This IPCP is in charge of deserializing it correctly.
* Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into be-flowdimitri staessens2016-03-301-1/+1
|\
| * lib: renamed rina_name_t to instance_name_tdimitri staessens2016-03-301-1/+1
| | | | | | | | | | all functions taking a char * ap_name and uint id now take either a instance_name_t or instance_name_t *
* | Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into HEADdimitri staessens2016-03-301-21/+34
|\|
| * Merge remote-tracking branch 'upstream/be' into be-gpbSander Vrijders2016-03-281-1/+3
| |\
| * | lib: Add ipcp_messages proto fileSander Vrijders2016-03-281-26/+26
| | | | | | | | | | | | | | | This removes the custom ser/des methods for communicating with the IPCP daemon and also uses GPB instead.
| * | lib: Update irm.h APISander Vrijders2016-03-281-3/+8
| | | | | | | | | | | | | | | | | | Removes rina_name_t from that API. Passing ap_name and api_id as params instead. The IRM tool has been updated accordingly. Some errors in the build related to protobuf-c have also been resolved.
| * | build: Add protobuf-c commands for cmakeSander Vrijders2016-03-251-2/+8
| | | | | | | | | | | | | | | | | | This adds a cmake file so that the build can ask to generate protobuf-c files from .proto files. The messages between the IRM and the library are compiled into the library.
* | | lib: api for handling flowsdimitri staessens2016-03-301-0/+1
| |/ |/| | | | | | | moved the flow definition to the library and made it public. thread-safety implemented without compiler checks.
* | build: lib/CMakelist now uses variablesdimitri staessens2016-03-261-1/+1
|/
* lib: Shared Memorydimitri staessens2016-03-241-0/+12
| | | | | | | | Updated tests. Added code to drop a corner case (packet where the tail PCI would cross the edge of the ring buffer) because solving this very rare case is not worth the performance hit on the ringbuffer the extra code would incur. This means the ringbuffer might drop a very small percentage of packets.
* tools: Simple echo applicationSander Vrijders2016-03-211-0/+1
| | | | | | This adds a simple echo application written to show application how to use the API. It also updates the dev.h header file with the insights gained from performing this excercise.
* irmd, lib: Create and destroy IPC ProcessesSander Vrijders2016-03-151-0/+1
| | | | | | This adds the functionality to create and destroy IPCPs. Upon creation a new process is forked and execve'd. Upon destruction the IPCP is destroyed by killing it with SIGTERM.
* lib: Move list function definitions into a source fileSander Vrijders2016-03-141-0/+1
| | | | | | This moves the function definitions of list.h into a separate source file to avod linker errors when including the file in more than one source file.
* lib: Add helpers for RINA namesSander Vrijders2016-03-111-0/+1
| | | | This adds helper functions for RINA names, to aid with handling them.
* irmd, lib: Replace stubs in irmdSander Vrijders2016-03-091-0/+2
| | | | | | This replaces the stubs in the irmd and calls the actual IPCP operations from the library. It also calls the DIF Allocator API in one of the operations.
* build: Add check target, fix packagingSander Vrijders2016-03-071-1/+3
| | | | | | | | | This adds a build target 'check', which executes a test suite for every daemon/library. Every test suite consists of a test driver that executes a function in a file with the same name as the function. The compile_debug script executes the 'check' target to validate there are no regressions. Packaging is also fixed and the prototype can be shipped as a tarball.
* build: Move debugging switch to correct CMakeListsSander Vrijders2016-03-031-0/+5
| | | | | | This moves the debugging switch down to the CMakeList associated with every program or library. It allows to build apps individually with debugging info on or off.
* lib: Initial messages for the IRMSander Vrijders2016-02-231-0/+2
| | | | | This provides the initial messages to be passed between the irmd and libouroboros-irm.
* Initial du_buff codeDimitri Staessens2016-02-231-0/+1
| | | | Compiles but untested. Expect bugs.
* lib: Remove irm.c from CMakeLists.txtSander Vrijders2016-02-231-1/+0
| | | | | This removes the source file irm.c from CMakeLists.txt, as it is not yet in the repo.
* include: Fix common includesSander Vrijders2016-02-231-0/+1
| | | | | common.h will now include stdbool and several other useful includes (size_t for instance).
* lib: Update CMakeLists.txtSander Vrijders2016-02-231-0/+1
| | | | | Forgot to include the updated CMakeLists.txt file with the bitmap implementation.
* Initial build infrastructureSander Vrijders2016-02-111-0/+14
Contains the initial build infrastructure. Cmake was chosen for portability reasons.