diff --git a/tcp_connection_manager.c b/tcp_connection_manager.c new file mode 100644 index 0000000..ea48189 --- /dev/null +++ b/tcp_connection_manager.c @@ -0,0 +1,5 @@ +#include "tcp_connection_manager.h" + +void tcpconmgr_add_connection(TcpConMgrCtrl * mgr) { + +} diff --git a/tcp_connection_manager.h b/tcp_connection_manager.h new file mode 100644 index 0000000..a1c00c8 --- /dev/null +++ b/tcp_connection_manager.h @@ -0,0 +1,19 @@ +#ifndef CORE_ETHERLIB_TCP_CONNECTION_MANAGER +#define CORE_ETHERLIB_TCP_CONNECTION_MANAGER + +#include + +#include + +#include "cbd_table.h" + +typedef struct { + uint16_t activeConns; ///< Number of active connections + ConnBlock * cb[] +} TcpConMgrCtrl; + +void tcpconmgr_new(); + +void tcpconmgr_add_connection(TcpConMgrCtrl * mgr); + +#endif /* CORE_ETHERLIB_TCP_CONNECTION_MANAGER */