summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/client.h')
-rw-r--r--src/pulsecore/client.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/pulsecore/client.h b/src/pulsecore/client.h
index 28d1fe5f..48e9bc7a 100644
--- a/src/pulsecore/client.h
+++ b/src/pulsecore/client.h
@@ -42,11 +42,24 @@ struct pa_client {
pa_module *module;
char *driver;
- void (*kill)(pa_client *c);
+ pa_idxset *sink_inputs;
+ pa_idxset *source_outputs;
+
void *userdata;
+
+ void (*kill)(pa_client *c);
};
-pa_client *pa_client_new(pa_core *c, const char *driver, const char *name);
+typedef struct pa_client_new_data {
+ pa_proplist *proplist;
+ const char *driver;
+ pa_module *module;
+} pa_client_new_data;
+
+pa_client_new_data *pa_client_new_data_init(pa_client_new_data *data);
+void pa_client_new_data_done(pa_client_new_data *data);
+
+pa_client *pa_client_new(pa_core *c, pa_client_new_data *data);
/* This function should be called only by the code that created the client */
void pa_client_free(pa_client *c);