#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, };