diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-06-14 22:47:12 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-06-14 22:47:12 +0000 |
commit | f78e9b68cbc45015af05db497d1547c0e02d2751 (patch) | |
tree | 6ea929ab2faa67b6c36605533fc609a1fbf4ade2 /src/protocol-simple-tcp.c | |
parent | 0575fc66e9b175fef129a250697f07d7053e9108 (diff) |
commit some work and rename
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@13 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/protocol-simple-tcp.c')
-rw-r--r-- | src/protocol-simple-tcp.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/protocol-simple-tcp.c b/src/protocol-simple-tcp.c deleted file mode 100644 index e71d7142..00000000 --- a/src/protocol-simple-tcp.c +++ /dev/null @@ -1,24 +0,0 @@ -#include <assert.h> -#include <arpa/inet.h> - -#include "module.h" -#include "socket-server.h" -#include "protocol-simple.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, 4712))) - return -1; - - m->userdata = protocol_simple_new(c, s, PROTOCOL_SIMPLE_PLAYBACK); - assert(m->userdata); - return 0; -} - -void module_done(struct core *c, struct module*m) { - assert(c && m); - - protocol_simple_free(m->userdata); -} |