diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2023-08-27 17:59:20 +0200 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2023-08-30 17:11:41 +0200 |
commit | 3a321cc77e0f6d29167a925dd706fc36e5aa7cdd (patch) | |
tree | 38354765060ed72d98b70e084edcfd061271d018 /include/ouroboros/protobuf.h | |
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 <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'include/ouroboros/protobuf.h')
-rw-r--r-- | include/ouroboros/protobuf.h | 12 |
1 files changed, 6 insertions, 6 deletions
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 <ouroboros/qos.h> #include <ouroboros/ipcp.h> @@ -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 |