summaryrefslogtreecommitdiffstats
path: root/src/trans-tcp.c
blob: f93a89b3af0fa7d58bda63790bdabb606781dd06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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,
};