diff options
Diffstat (limited to '')
-rw-r--r-- | c/sources/common.h | 27 |
1 files changed, 27 insertions, 0 deletions
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 <stdio.h> +#include <stdlib.h> +#include <stdint.h> +#include <assert.h> +#include <string.h> + + +#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; |