Skip to content

Commit 10a05bd

Browse files
removed unused types
1 parent ed6886d commit 10a05bd

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

libraries/lwIpWrapper/src/lwipTypes.h

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@
66
#include <functional>
77

88
/* Exported types ------------------------------------------------------------*/
9-
/* TCP connection state */
10-
typedef enum {
11-
TCP_NONE = 0,
12-
TCP_CONNECTED,
13-
TCP_RECEIVED,
14-
TCP_SENT,
15-
TCP_ACCEPTED,
16-
TCP_CLOSING,
17-
} tcp_client_states;
18-
199
/* Struct to store received data */
2010
struct pbuf_data {
2111
struct pbuf* p; // the packet buffer that was received
@@ -31,11 +21,4 @@ struct udp_struct {
3121
std::function<void()> onDataArrival;
3222
};
3323

34-
/* TCP structure */
35-
struct tcp_struct {
36-
struct tcp_pcb* pcb; /* pointer on the current tcp_pcb */
37-
struct pbuf_data data;
38-
tcp_client_states state; /* current connection state */
39-
};
40-
4124
#endif

0 commit comments

Comments
 (0)