[RemoteTimers] add possibility to transfer all timers at once via webif

Use:
http://boxip/control/sendalltimers?ip=10.1.1.xxx&force=1
http://boxip/control/sendalltimers?name=record%20box&force=true

if parameter name is given, it has to be in timerlist as remote box.
if parameter ip and name is given, ip is used.
if parameter force is set, all checks are disabled, and the local timer
will be deleted even the transfer was not successful.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 7031e99573
Author: TangoCash <eric@loxat.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)



------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2017-06-15 16:34:19 +02:00
parent 915d9f0676
commit f34899d430
4 changed files with 83 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ private:
// CGI functions for ExecuteCGI
void TimerCGI(CyhookHandler *hh);
void TimerSendCGI(CyhookHandler *hh);
void SetModeCGI(CyhookHandler *hh);
void GetModeCGI(CyhookHandler *hh);
void ExecCGI(CyhookHandler *hh);