#ifndef WEBSERVER_H
#define WEBSERVER_H
#include "../public/nsapi.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct restart_callback RestartCallback;
struct restart_callback {
void (*func)(
void *);
void *data;
RestartCallback *next;
};
int webserver_init();
int webserver_run();
void webserver_shutdown();
int webserver_reconfig();
void webserver_atrestart(
void (*fn)(
void *),
void *data);
int ws_init_ssl();
#ifdef __cplusplus
}
#endif
#endif