summaryrefslogtreecommitdiffstats
path: root/polyp/client.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-12-12 22:58:53 +0000
committerLennart Poettering <lennart@poettering.net>2004-12-12 22:58:53 +0000
commite02be6c15beddec976220bce2ee1a68520286c01 (patch)
treeda9cfdfd7a254fa7e8e21b1ef29456b852dbc133 /polyp/client.h
parent9a01cf44f09e92e14a720f4f531e943a50f26b72 (diff)
* 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
Diffstat (limited to 'polyp/client.h')
-rw-r--r--polyp/client.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/polyp/client.h b/polyp/client.h
index 324bb27c..2a3a09e0 100644
--- a/polyp/client.h
+++ b/polyp/client.h
@@ -24,6 +24,7 @@
#include "core.h"
#include "module.h"
+#include "typeid.h"
/* Every connection to the server should have a pa_client
* attached. That way the user may generate a listing of all connected
@@ -31,18 +32,17 @@
struct pa_client {
uint32_t index;
+ pa_typeid_t typeid;
struct pa_module *owner;
char *name;
struct pa_core *core;
- char *protocol_name;
void (*kill)(struct pa_client *c);
void *userdata;
};
-/* Protocol name should be something like "ESOUND", "NATIVE", ... */
-struct pa_client *pa_client_new(struct pa_core *c, const char *protocol_name, char *name);
+struct pa_client *pa_client_new(struct pa_core *c, pa_typeid_t typeid, const char *name);
/* This function should be called only by the code that created the client */
void pa_client_free(struct pa_client *c);