summaryrefslogtreecommitdiffstats
path: root/src/trans-tcp.c
diff options
context:
space:
mode:
authorJiri Olsa <Jiri Olsa jolsa@redhat.com>2010-06-04 17:43:50 +0200
committerJiri Olsa <Jiri Olsa jolsa@redhat.com>2010-06-04 17:43:50 +0200
commitf126078bbae246d179f15d9948450a8a8eb96312 (patch)
treef4c72a5be5b731ccb931d213a4c8a9882640a65d /src/trans-tcp.c
parent23367a9167c0ee1efb700a474e1a40ac28856da1 (diff)
downloadtsnif-f126078bbae246d179f15d9948450a8a8eb96312.tar.gz
tsnif-f126078bbae246d179f15d9948450a8a8eb96312.tar.xz
tsnif-f126078bbae246d179f15d9948450a8a8eb96312.zip
aliveudp-1
Diffstat (limited to 'src/trans-tcp.c')
-rw-r--r--src/trans-tcp.c41
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,
+};