diff options
Diffstat (limited to 'src/trans-udp.c')
-rw-r--r-- | src/trans-udp.c | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/trans-udp.c b/src/trans-udp.c new file mode 100644 index 0000000..8773b19 --- /dev/null +++ b/src/trans-udp.c @@ -0,0 +1,41 @@ + +#include "trans.h" + +static int udp_init(struct trans_handle *h, trans_cb_t cb) +{ + return 0; +} + +static int udp_close(struct trans_handle *h) +{ + return 0; +} + +static int udp_process(struct trans_handle *h) +{ + return 0; +} + +static int udp_send(struct trans_handle *h, struct trans_msg *msg) +{ + return 0; +} + +static int udp_group(struct trans_handle *h, int group) +{ + return 0; +} + +static int udp_fd(struct trans_handle *h) +{ + return 0; +} + +struct trans_layer trans_udp = { + .init = udp_init, + .close = udp_close, + .process = udp_process, + .send = udp_send, + .group = udp_group, + .fd = udp_fd, +}; |