From f78e9b68cbc45015af05db497d1547c0e02d2751 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 14 Jun 2004 22:47:12 +0000 Subject: commit some work and rename git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@13 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/protocol-simple-tcp.c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/protocol-simple-tcp.c (limited to 'src/protocol-simple-tcp.c') 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 -#include - -#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); -} -- cgit