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/protobuf.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/ouroboros/protobuf.h') diff --git a/include/ouroboros/protobuf.h b/include/ouroboros/protobuf.h index bb802148..c20ad8ca 100644 --- a/include/ouroboros/protobuf.h +++ b/include/ouroboros/protobuf.h @@ -20,8 +20,8 @@ * Foundation, Inc., http://www.fsf.org/about/contact/. */ -#ifndef OUROBOROS_PROTOBUF_H -#define OUROBOROS_PROTOBUF_H +#ifndef OUROBOROS_LIB_PROTOBUF_H +#define OUROBOROS_LIB_PROTOBUF_H #include #include @@ -35,14 +35,14 @@ typedef EthConfigMsg eth_config_msg_t; typedef UdpConfigMsg udp_config_msg_t; typedef UniConfigMsg uni_config_msg_t; -#include "ipcpd_messages.pb-c.h" +#include "ipcp.pb-c.h" typedef IpcpMsg ipcp_msg_t; -#include "irmd_messages.pb-c.h" +#include "irm.pb-c.h" typedef IpcpInfoMsg ipcp_info_msg_t; typedef NameInfoMsg name_info_msg_t; -#include "qosspec.pb-c.h" +#include "qos.pb-c.h" typedef QosspecMsg qosspec_msg_t; #include "enroll.pb-c.h" @@ -96,4 +96,4 @@ enroll_ack_msg_t * enroll_ack_s_to_msg(const struct enroll_ack * s); struct enroll_ack enroll_ack_msg_to_s(const enroll_ack_msg_t * msg); -#endif /* OUROBOROS_PROTOBUF_H */ \ No newline at end of file +#endif /* OUROBOROS_LIB_PROTOBUF_H */ \ No newline at end of file -- cgit v1.2.3