]> git.vomp.tv Git - jsonserver.git/blob - handler.h
Add call to toggle timer active status
[jsonserver.git] / handler.h
1 #ifndef JSONSERVERHANDLER_H
2 #define JSONSERVERHANDLER_H
3
4 #include <jsoncpp/json/json.h>
5 #include "mongoose.h"
6
7 int jsonserver_request_handler(struct mg_connection* conn);
8
9 bool jsonserver_gettime(Json::Value& js);
10 bool jsonserver_diskstats(Json::Value& js);
11 bool jsonserver_reclist(Json::Value& js);
12 bool jsonserver_recinfo(Json::Value& js, const char* postData);
13 bool jsonserver_recdel(Json::Value& js, const char* postData);
14 bool jsonserver_recmove(Json::Value& js, const char* postData);
15 bool jsonserver_recstop(Json::Value& js, const char* postData);
16 bool jsonserver_channellist(Json::Value& js);
17 bool jsonserver_channelschedule(Json::Value& js, const char* postData);
18 bool jsonserver_getscheduleevent(Json::Value& js, const char* postData);
19 bool jsonserver_timerlist(Json::Value& js);
20 bool jsonserver_timerdel(Json::Value& js, const char* postData);
21 bool jsonserver_timerset(Json::Value& js, const char* postData);
22 bool jsonserver_timersetactive(Json::Value& js, const char* postData);
23
24 #endif
25