summaryrefslogtreecommitdiffstats
path: root/polyp/client.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-11-21 21:31:28 +0000
committerLennart Poettering <lennart@poettering.net>2004-11-21 21:31:28 +0000
commit4763ca1376fc136158e576de94dc1cf6c6584973 (patch)
tree6f8d36ec68061a587883d94e9eacc52bbf707028 /polyp/client.h
parent2fb83d13f27214476f90fe619b26f5bbc8f520c8 (diff)
Comment some more files
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@309 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/client.h')
-rw-r--r--polyp/client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/polyp/client.h b/polyp/client.h
index 2518011e..58c5ee31 100644
--- a/polyp/client.h
+++ b/polyp/client.h
@@ -25,6 +25,10 @@
#include "core.h"
#include "module.h"
+/* Every connection to the server should have a pa_client
+ * attached. That way the user may generate a listing of all connected
+ * clients easily and kill them if he wants.*/
+
struct pa_client {
uint32_t index;
@@ -37,6 +41,7 @@ struct pa_client {
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);
/* This function should be called only by the code that created the client */
@@ -46,6 +51,7 @@ void pa_client_free(struct pa_client *c);
* request destruction of the client */
void pa_client_kill(struct pa_client *c);
+/* Rename the client */
void pa_client_set_name(struct pa_client *c, const char *name);
#endif