summaryrefslogtreecommitdiffstats
path: root/src/client.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-07-11 01:09:46 +0000
committerLennart Poettering <lennart@poettering.net>2004-07-11 01:09:46 +0000
commitccfd55420ebec191d7a3ed842ecb2740ceeb76ba (patch)
treedaa9eb191995053753a43e27a955b7ddec46f1e1 /src/client.c
parentc7bd759cdb2b8f16693750f89ed781707a53e5a9 (diff)
add dependency script
fix some dependencies split off socket-util.c and clitext.c git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@60 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/client.c')
-rw-r--r--src/client.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/client.c b/src/client.c
index fa1a28d4..c170e49a 100644
--- a/src/client.c
+++ b/src/client.c
@@ -4,7 +4,6 @@
#include <string.h>
#include "client.h"
-#include "strbuf.h"
struct pa_client *pa_client_new(struct pa_core *core, const char *protocol_name, char *name) {
struct pa_client *c;
@@ -48,28 +47,6 @@ void pa_client_kill(struct pa_client *c) {
c->kill(c);
}
-char *pa_client_list_to_string(struct pa_core *c) {
- struct pa_strbuf *s;
- struct pa_client *client;
- uint32_t index = PA_IDXSET_INVALID;
- assert(c);
-
- s = pa_strbuf_new();
- assert(s);
-
- pa_strbuf_printf(s, "%u client(s).\n", pa_idxset_ncontents(c->clients));
-
- for (client = pa_idxset_first(c->clients, &index); client; client = pa_idxset_next(c->clients, &index)) {
- pa_strbuf_printf(s, " index: %u\n\tname: <%s>\n\tprotocol_name: <%s>\n", client->index, client->name, client->protocol_name);
-
- if (client->owner)
- pa_strbuf_printf(s, "\towner module: <%u>\n", client->owner->index);
- }
-
- return pa_strbuf_tostring_free(s);
-}
-
-
void pa_client_rename(struct pa_client *c, const char *name) {
assert(c);
free(c->name);