diff options
author | Uros Majstorovic <majstor@majstor.org> | 2022-01-31 07:53:13 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2022-01-31 07:53:13 +0100 |
commit | 0eaf514b1f97cb1587815104477e43c50a3eebe6 (patch) | |
tree | e139a31e8e6360adbe93c9322bec7f6edabfdd19 /ecp/platform/posix/transport.h | |
parent | dd19d6f5c7e0b335301a3f3e3d21bffb8c83e558 (diff) |
fixed build sys
Diffstat (limited to 'ecp/platform/posix/transport.h')
-rw-r--r-- | ecp/platform/posix/transport.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ecp/platform/posix/transport.h b/ecp/platform/posix/transport.h new file mode 100644 index 0000000..155bd9c --- /dev/null +++ b/ecp/platform/posix/transport.h @@ -0,0 +1,7 @@ +#define ECP_IPv4_ADDR_SIZE 4 + +typedef int ECPNetSock; +typedef struct ECPNetAddr { + unsigned char host[ECP_IPv4_ADDR_SIZE]; + uint16_t port; +} ECPNetAddr; |