TCP Connection Manager initials

This commit is contained in:
Wiesner András 2023-11-21 11:21:23 +01:00
parent f0ddddefad
commit 038678a597
2 changed files with 24 additions and 0 deletions

5
tcp_connection_manager.c Normal file
View File

@ -0,0 +1,5 @@
#include "tcp_connection_manager.h"
void tcpconmgr_add_connection(TcpConMgrCtrl * mgr) {
}

19
tcp_connection_manager.h Normal file
View File

@ -0,0 +1,19 @@
#ifndef CORE_ETHERLIB_TCP_CONNECTION_MANAGER
#define CORE_ETHERLIB_TCP_CONNECTION_MANAGER
#include <stdint.h>
#include <etherlib_options.h>
#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 */