diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-06-20 01:12:13 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-06-20 01:12:13 +0000 |
commit | eecf602476ff5b51bdc08f8fd0e4aa70d2b0ef5a (patch) | |
tree | cf193293791faa493736ec0f285b14df9c0ff2a2 /src/protocol-native-tcp.c | |
parent | a84f38e6117426a37da2f20b16b587672ee8f9d6 (diff) |
partial implementation of native protocol
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@30 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/protocol-native-tcp.c')
-rw-r--r-- | src/protocol-native-tcp.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/protocol-native-tcp.c b/src/protocol-native-tcp.c deleted file mode 100644 index b33f3e15..00000000 --- a/src/protocol-native-tcp.c +++ /dev/null @@ -1,19 +0,0 @@ -#include "module.h" - -int module_init(struct core *c, struct module*m) { - struct socket_server *s; - assert(c && m); - - if (!(s = socket_server_new_ipv4(c->mainloop, INADDR_LOOPBACK, 4711))) - return -1; - - m->userdata = protocol_native_new(s); - assert(m->userdata); - return 0; -} - -void module_done(struct core *c, struct module*m) { - assert(c && m); - - protocol_native_free(m->userdata); -} |