Skip to content

Commit

Permalink
test: remove mock tcp-server (unused)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Dec 18, 2024
1 parent 45c810a commit 7fef07f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 92 deletions.
1 change: 0 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ set(SRCS
mock/nat.c
mock/sipsrv.c
mock/stunsrv.c
mock/tcpsrv.c
mock/turnsrv.c
mqueue.c
net.c
Expand Down
73 changes: 0 additions & 73 deletions test/mock/tcpsrv.c

This file was deleted.

18 changes: 0 additions & 18 deletions test/test.h
Original file line number Diff line number Diff line change
Expand Up @@ -481,24 +481,6 @@ int nat_alloc(struct nat **natp, enum natbox_type type,
struct udp_sock *us, const struct sa *public_addr);


/*
* TCP Server
*/

enum behavior {
BEHAVIOR_NORMAL,
BEHAVIOR_REJECT
};

struct tcp_server {
struct tcp_sock *ts;
enum behavior behavior;
struct sa laddr;
};

int tcp_server_alloc(struct tcp_server **srvp, enum behavior behavior);


/*
* SIP Server
*/
Expand Down

0 comments on commit 7fef07f

Please sign in to comment.