summaryrefslogtreecommitdiff
path: root/c/sources/common.h
blob: bc3ae308b38d24c23591854800142ce0da3c329f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;