http.h 496 Bytes
#ifndef __HTTP_H__
#define __HTTP_H__

#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <string.h>
#include <unistd.h>
#include <time.h>


#define BUFF_SIZE 100000


struct interface_info
{
	char adresse[20];
	int status;
	int commande;
};



struct PageWeb
{
	int size;
	char* html_contents;
};



void freePage(struct PageWeb** page);
void getWeb(char* pageName, struct PageWeb** page);
void createPage(struct PageWeb** page, struct interface_info* interfaces[20]);

#endif