mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-15 18:08:28 -07: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
|