From e02be6c15beddec976220bce2ee1a68520286c01 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 12 Dec 2004 22:58:53 +0000 Subject: * fix include file names in installed header files * add browsing API * add new tool pabrowse * add typeid subsystem * bump API version * split off random.c * add an identification cookie git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@320 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/cli.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'polyp/cli.c') diff --git a/polyp/cli.c b/polyp/cli.c index 4d4342bf..16323cba 100644 --- a/polyp/cli.c +++ b/polyp/cli.c @@ -45,6 +45,7 @@ #include "log.h" #define PROMPT ">>> " +#define PA_TYPEID_CLI PA_TYPEID_MAKE('C', 'L', 'I', '_') struct pa_cli { struct pa_core *core; @@ -75,7 +76,7 @@ struct pa_cli* pa_cli_new(struct pa_core *core, struct pa_iochannel *io, struct c->eof_callback = NULL; pa_iochannel_socket_peer_to_string(io, cname, sizeof(cname)); - c->client = pa_client_new(core, "CLI", cname); + c->client = pa_client_new(core, PA_TYPEID_CLI, cname); assert(c->client); c->client->kill = client_kill; c->client->userdata = c; -- cgit