webserver.c/server.h

18 lines
291 B
C

#ifndef SERVER_H
#define SERVER_H
#define BACKLOG 20
struct Server {
const char *port;
const char *static_path;
};
struct Server server_constructor(const char *port, const char *static_path);
void launch(struct Server *server);
char *read_file(char *filename);
#endif // !SERVER_H