From 3a321cc77e0f6d29167a925dd706fc36e5aa7cdd Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sun, 27 Aug 2023 17:59:20 +0200 Subject: 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 Signed-off-by: Sander Vrijders --- include/ouroboros/sockets.h.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/ouroboros/sockets.h.in') 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 -#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 */ -- cgit v1.2.3