recorder/http.h
2015-09-03 15:34:10 +02:00

13 lines
255 B
C

#ifndef _HTTP_H_INCLUDED_
# define _HTTP_H_INCLUDED_
#include "mongoose.h"
#include "storage.h"
#define API_PREFIX "/api/0/"
int ev_handler(struct mg_connection *conn, enum mg_event ev);
void http_ws_push(struct mg_server *server, char *text);
#endif