summaryrefslogtreecommitdiff
path: root/include/ouroboros/common.h
Commit message (Collapse)AuthorAgeFilesLines
* lib: Add errnos specific for OuroborosSander Vrijders2016-06-221-0/+6
| | | | | | | This adds error numbers specificly for Ouroboros. It also refactors some of the header files that are installed. Fixes #2
* lib, ipcpd, irmd: Add QoS cube definitionSander Vrijders2016-05-141-7/+4
| | | | | | | | | | This adds the QoS cube definition, which is an enum to select which QoS is needed in the IPCP. An application has to use the qos_spec in qos.h to define what it needs. The IRMd will map this unto a qos cube definition. Some headers are now also no longer installed on the system, since they are only to be used within the irmd and ipcps.
* lib, irmd, irm: Add dif_configSander Vrijders2016-04-081-24/+0
| | | | | | | | | 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.
* lib: Move strdup to utilsSander Vrijders2016-04-021-1/+1
| | | | This moves strdup to utils to make it globally available.
* tools: Simple echo applicationSander Vrijders2016-03-211-2/+0
| | | | | | 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.
* lib: Add helpers for RINA namesSander Vrijders2016-03-111-7/+0
| | | | This adds helper functions for RINA names, to aid with handling them.
* include: Fixed missing 'struct', renamed dif_infoDimitri Staessens2016-03-031-1/+1
| | | | | common.h: dif_info renamed to dif_config missing struct fixed
* include: Update to common.hDimitri Staessens2016-03-011-6/+3
| | | | added dif_name to qos_spec and removed it from dif_info
* include: modified structuresDimitri Staessens2016-03-011-7/+14
| | | | merged the data structure for the irm.
* ipcp: Addresses comments on 62eba34Dimitri Staessens2016-02-261-0/+2
|
* Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into be-pciDimitri Staessens2016-02-261-2/+1
|\
| * lib, irmd, tools: Support to create IPCPsSander Vrijders2016-02-251-2/+1
| | | | | | | | | | | | | | Provides the initial support to create IPCPs via a command-line tool. It extends the socket layer with a message that is sent over a socket to the irmd when the irm_create_ipcp library function is called from a program.
* | include: changed dt constants sizes back to bytesDimitri Staessens2016-02-261-1/+1
| |
* | includ: Updated comment in common.hDimitri Staessens2016-02-261-1/+1
| | | | | | | | | | Now explains the size values are in bits as this comment was accidentally removed
* | include: Updated common.hDimitri Staessens2016-02-261-26/+14
| | | | | | | | various fixes based on discussion on bitbucket
* | include: added data transfer constants to common.hDimitri Staessens2016-02-261-7/+33
|/ | | | | dt_const contains data transfer constants dup_const contains constants for du protection
* build: Require usage of C89Sander Vrijders2016-02-231-0/+1
| | | | | | This requires the usage of the C89 standard for all source files. It also fixes a wrong check for the compiler flags (was checking this for CXX compiler instead of the C compiler).
* include: Fix common includesSander Vrijders2016-02-221-0/+2
| | | | | common.h will now include stdbool and several other useful includes (size_t for instance).
* include: Rename parts of rina_name_tSander Vrijders2016-02-151-2/+7
| | | | The ids of the name are now referring to the instance.
* include: Initial dev.h fileSander Vrijders2016-02-121-0/+51
Adds the initial dev.h file that applications can use to request IPC services from the Ouroboros stack.