summaryrefslogtreecommitdiffstats
path: root/polyp/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/client.h')
-rw-r--r--polyp/client.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/polyp/client.h b/polyp/client.h
index 198dbbf6..92430338 100644
--- a/polyp/client.h
+++ b/polyp/client.h
@@ -24,7 +24,6 @@
#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
@@ -34,17 +33,16 @@ typedef struct pa_client pa_client;
struct pa_client {
uint32_t index;
- pa_typeid_t typeid;
pa_module *owner;
- char *name;
+ char *name, *driver;
pa_core *core;
void (*kill)(pa_client *c);
void *userdata;
};
-pa_client *pa_client_new(pa_core *c, pa_typeid_t typeid, const char *name);
+pa_client *pa_client_new(pa_core *c, const char *name, const char *driver);
/* This function should be called only by the code that created the client */
void pa_client_free(pa_client *c);