From 64b55e7e1236121ea4197d9a37cfec43b196cfe8 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 2 Feb 2022 06:40:10 +0100 Subject: moved ecp, platform -> src --- ecp/src/platform/posix/transport.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ecp/src/platform/posix/transport.h (limited to 'ecp/src/platform/posix/transport.h') diff --git a/ecp/src/platform/posix/transport.h b/ecp/src/platform/posix/transport.h new file mode 100644 index 0000000..155bd9c --- /dev/null +++ b/ecp/src/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; -- cgit v1.2.3