summaryrefslogtreecommitdiff
path: root/src/lib/sockets.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: Adds IRMd messages for the dev.h API callsSander Vrijders2016-03-241-33/+252
| | | | | | This adds several messages for the dev.h API calls to communicate with the IRM daemon. The deserializing of these messages is still missing and the irmd hasn't been updated with them either.
* lib: Add communication with IPCP daemonSander Vrijders2016-03-171-65/+281
| | | | | This adds the messages required for the IRMd to communicate with an IPC Process through the library.
* lib, irmd: Fix memleaksSander Vrijders2016-03-171-0/+1
| | | | | This removes some memleaks present in the sockets layer. It also fixes the bad initialization of the difs_size param in the irm_msg.
* lib: Add helpers for RINA namesSander Vrijders2016-03-111-22/+11
| | | | 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
* tools: Parse command line paramsSander Vrijders2016-03-021-1/+1
| | | | | This adds initial support to the irm tool for parsing command line parameters.
* lib, irmd, tools: Provide more IRM messagesSander Vrijders2016-03-011-83/+145
| | | | | | | This provides the other messages that are used to communicate between the library and the IRM Daemon. The IRM tool just calls the library right now to see if it works. A full fledged program will be provided in a next commit.
* lib: Add identifier for non-literal stringSander Vrijders2016-02-261-1/+1
| | | | | This adds the %s identifier in a sprintf. A non-literal was passed and used as a literal.
* lib: Fix two errorsSander Vrijders2016-02-261-1/+1
| | | | | | Fixes two errors in the library. The return code of a write to a socket was ignored. A non literal string was passed to sprintf as a literal one.
* lib, irmd: Address Dimitri's commentsSander Vrijders2016-02-261-19/+51
| | | | This addresses several comments Dimitri had on the sockets layer code.
* lib, irmd, tools: Support to create IPCPsSander Vrijders2016-02-251-0/+193
| | | | | | | 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.
* lib: Initial messages for the IRMSander Vrijders2016-02-231-0/+94
This provides the initial messages to be passed between the irmd and libouroboros-irm.