11 const char *protocol_name;
13 void (*kill)(struct client *c);
17 struct client *client_new(struct core *c, const char *protocol_name, char *name);
19 /* This function should be called only by the code that created the client */
20 void client_free(struct client *c);
22 /* Code that didn't create the client should call this function to
23 * request destruction of the client */
24 void client_kill(struct client *c);
26 char *client_list_to_string(struct core *c);