Files
old-nasuh/handlers.h

26 lines
589 B
C
Raw Normal View History

2022-11-19 23:18:44 +01:00
//
// Created by hamo on 11/19/22.
//
#include <microhttpd.h>
#include <stdlib.h>
#include <string.h>
#ifndef NASUH_HANDLERS_H
#define NASUH_HANDLERS_H
#define PAGE "<html><head><title>nasuh search engine</title>"\
"</head><body>all your programming needs</body></html>"
enum MHD_Result
handle_all(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 ** ptr);
#endif //NASUH_HANDLERS_H