blob: 7128a452b6662c7919b64248b71e49cef541edf5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef fooclienthfoo
#define fooclienthfoo
#include "core.h"
struct client {
char *name;
uint32_t index;
const char *protocol_name;
void *userdata;
void (*kill)(struct client *c);
struct core *core;
};
struct client *client_new(struct core *c, const char *protocol_name, char *name);
void client_free(struct client *c);
#endif
|