aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/src/client.h
blob: 05dec85f8c5acb5b1d8f23d34901dcdc6f92fc43 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                               
#ifndef __CLIENT_H__
#define __CLIENT_H__

struct settings {
	const char *host;
	const char *port;
};

struct client {
	int fd;
};

int client_create(struct client *, const struct settings *);
void client_destroy(const struct client *);

int client_main(const struct client *, int argc, char *argv[]);

#endif