#ifndef _MICROHTTP_THREAD_
#define _MICROHTTP_THREAD_

#include <sys/types.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <microhttpd.h>

#define PORT 8080
//Mac 9
#define AP_MAC "64:70:02:91:BB:52" //iw wlan0 info
//#define AP_MAC "66:70:02:91:BB:52"

int start_microhttpd(void);
int connection_callback(void *cls,
                        struct MHD_Connection *connection,
                        const char *url,
                        const char *method,
                        const char *version,
                        const char *upload_data,
                        size_t *upload_data_size,
                        void **con_cls);

#endif
