13 lines
328 B
C
13 lines
328 B
C
#ifndef SERVER_H
|
|
#define SERVER_H
|
|
|
|
// This code has been borrowed from this github repo https://github.com/wasmerio/c-http-server and modified by me.
|
|
|
|
#include <stdio.h>
|
|
|
|
void send_response(FILE *f, char *html);
|
|
int open_connection(int port);
|
|
void accept_client(int sock, char *key);
|
|
void send_only(int port, char *key);
|
|
|
|
#endif |