mirror of
https://github.com/owntracks/recorder.git
synced 2026-04-05 00:16:49 +00:00
13 lines
255 B
C
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
|