TCP Connection Manager initials
This commit is contained in:
parent
f0ddddefad
commit
038678a597
5
tcp_connection_manager.c
Normal file
5
tcp_connection_manager.c
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#include "tcp_connection_manager.h"
|
||||||
|
|
||||||
|
void tcpconmgr_add_connection(TcpConMgrCtrl * mgr) {
|
||||||
|
|
||||||
|
}
|
19
tcp_connection_manager.h
Normal file
19
tcp_connection_manager.h
Normal 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 */
|
Loading…
x
Reference in New Issue
Block a user