From 86d3f93ee338b28ab7d40aa83c129cf6b97ef4b7 Mon Sep 17 00:00:00 2001 From: dweller Date: Sat, 9 Mar 2024 00:55:36 +0200 Subject: Initial commit, 2 years later --- c/sources/common.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 c/sources/common.h (limited to 'c/sources/common.h') diff --git a/c/sources/common.h b/c/sources/common.h new file mode 100644 index 0000000..bc3ae30 --- /dev/null +++ b/c/sources/common.h @@ -0,0 +1,27 @@ +#pragma once + +#include +#include +#include +#include +#include + + +#define EZIPC_TEST_PATH "/tmp/ezi_conn_test" + + +typedef enum msg_type_e +{ + MSG_TEXT, + MSG_OK, + MSG_EXIT, + +} msg_type; + + +typedef struct msg_s +{ + msg_type type; + uint8_t data[128]; + +} msg; -- cgit v1.2.3