diff options
author | Dimitri Staessens <[email protected]> | 2023-08-27 17:59:20 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2023-08-30 17:11:41 +0200 |
commit | 3a321cc77e0f6d29167a925dd706fc36e5aa7cdd (patch) | |
tree | 38354765060ed72d98b70e084edcfd061271d018 /include/ouroboros/sockets.h.in | |
parent | 08332eefba9aa4b08d00e190720de4771081e855 (diff) | |
download | ouroboros-3a321cc77e0f6d29167a925dd706fc36e5aa7cdd.tar.gz ouroboros-3a321cc77e0f6d29167a925dd706fc36e5aa7cdd.zip |
lib: Move protobuf definitions to pb/ directory
This moves the protobuf definition in the library to a pb/
directory. Also renames the protobuf files and does a quick review of
the #define guards in the include library to specify _LIB_ for
internal/non-public library headers.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'include/ouroboros/sockets.h.in')
-rw-r--r-- | include/ouroboros/sockets.h.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/ouroboros/sockets.h.in b/include/ouroboros/sockets.h.in index 8d4c2f48..2dd3becf 100644 --- a/include/ouroboros/sockets.h.in +++ b/include/ouroboros/sockets.h.in @@ -20,12 +20,12 @@ * Foundation, Inc., http://www.fsf.org/about/contact/. */ -#ifndef OUROBOROS_SOCKETS_H -#define OUROBOROS_SOCKETS_H +#ifndef OUROBOROS_LIB_SOCKETS_H +#define OUROBOROS_LIB_SOCKETS_H #include <sys/types.h> -#include "irmd_messages.pb-c.h" +#include "irm.pb-c.h" typedef IrmMsg irm_msg_t; #define SOCK_PATH "/var/run/ouroboros/" @@ -49,4 +49,4 @@ irm_msg_t * send_recv_irm_msg(irm_msg_t * msg); /* cleanup socket when cancelling thread */ void __cleanup_close_ptr(void * o); -#endif +#endif /* OUROBOROS_LIB_SOCKETS_H */ |