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
















                                                            
#ifndef __SERVER_H__
#define __SERVER_H__

struct settings {
	const char *port;
};

struct server {
	int fd;
};

int server_create(struct server *, const struct settings *);
void server_destroy(const struct server *);

int server_main(const struct server *);

#endif