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