diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-02-26 11:08:55 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-02-26 11:44:38 +0100 |
commit | dff374d5f393a6b4bec4877aa1c35ceb70e82843 (patch) | |
tree | 64e0e7804f1ee19834f019478c7199e83512c726 /include | |
parent | 63633c57b1e2573890fa627dd63f7c79ee5777b8 (diff) | |
download | ouroboros-dff374d5f393a6b4bec4877aa1c35ceb70e82843.tar.gz ouroboros-dff374d5f393a6b4bec4877aa1c35ceb70e82843.zip |
lib, irmd: Address Dimitri's comments
This addresses several comments Dimitri had on the sockets layer code.
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/sockets.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ouroboros/sockets.h b/include/ouroboros/sockets.h index ad9bd408..fe7ddb28 100644 --- a/include/ouroboros/sockets.h +++ b/include/ouroboros/sockets.h @@ -20,6 +20,9 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef OUROBOROS_SOCKETS_H +#define OUROBOROS_SOCKETS_H + #define IRM_SOCK_PATH "/tmp/irm_sock" enum irm_msg_code { @@ -47,3 +50,5 @@ int server_socket_open(char * file_name); buffer_t * serialize_irm_msg(struct irm_msg * msg); struct irm_msg * deserialize_irm_msg(buffer_t * data); + +#endif |