aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/src/server.h
blob: 11c409b2c6c0022855f1b2359b13d9ef31dd5f0f (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                    

                       




                         
                                     







                                                            
#ifndef __SERVER_H__
#define __SERVER_H__

#include "tcp_server.h"

struct settings {
	const char *port;
};

struct server {
	struct tcp_server tcp_server;
};

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

int server_main(const struct server *);

#endif