11 const char *protocol_name;
13 void (*kill)(struct pa_client *c);
17 struct pa_client *pa_client_new(struct pa_core *c, const char *protocol_name, char *name);
19 /* This function should be called only by the code that created the client */
20 void pa_client_free(struct pa_client *c);
22 /* Code that didn't create the client should call this function to
23 * request destruction of the client */
24 void pa_client_kill(struct pa_client *c);
26 char *pa_client_list_to_string(struct pa_core *c);
28 void pa_client_rename(struct pa_client *c, const char *name);