diff options
Diffstat (limited to 'polyp/client.h')
-rw-r--r-- | polyp/client.h | 6 |
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); |