diff options
Diffstat (limited to 'src/trans-tcp.c')
-rw-r--r-- | src/trans-tcp.c | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/trans-tcp.c b/src/trans-tcp.c new file mode 100644 index 0000000..f93a89b --- /dev/null +++ b/src/trans-tcp.c @@ -0,0 +1,41 @@ + +#include "trans.h" + +static int tcp_init(struct trans_handle *h, trans_cb_t cb) +{ + return 0; +} + +static int tcp_close(struct trans_handle *h) +{ + return 0; +} + +static int tcp_process(struct trans_handle *h) +{ + return 0; +} + +static int tcp_send(struct trans_handle *h, struct trans_msg *msg) +{ + return 0; +} + +static int tcp_group(struct trans_handle *h, int group) +{ + return 0; +} + +static int tcp_fd(struct trans_handle *h) +{ + return 0; +} + +struct trans_layer trans_tcp = { + .init = tcp_init, + .close = tcp_close, + .process = tcp_process, + .send = tcp_send, + .group = tcp_group, + .fd = tcp_fd, +}; |