diff options
Diffstat (limited to 'httpresource.c')
-rwxr-xr-x | httpresource.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/httpresource.c b/httpresource.c index 854cf96..7ab75af 100755 --- a/httpresource.c +++ b/httpresource.c @@ -326,6 +326,17 @@ int cHttpResource::processRequest() { return OKAY; } + if (mPath.compare("/cmds.xml") == 0) { + mResponse = new cResponseMemBlk(this); + ((cResponseMemBlk*)mResponse)->sendCmds(); + return OKAY; + } + if (mPath.compare("/execcmd") == 0) { + mResponse = new cResponseMemBlk(this); + ((cResponseMemBlk*)mResponse)->receiveExecCmdReq(); + return OKAY; + } + if (mPath.compare("/setResume.xml") == 0) { mResponse = new cResponseMemBlk(this); ((cResponseMemBlk*)mResponse)->receiveResume(); @@ -670,6 +681,12 @@ int cHttpResource::handlePost() { return OKAY; } + if (mPath.compare("/execcmd") == 0) { + mResponse = new cResponseMemBlk(this); + ((cResponseMemBlk*)mResponse)->receiveExecCmdReq(); + return OKAY; + } + if (mPath.compare("/deleteTimer.xml") == 0) { mResponse = new cResponseMemBlk(this); ((cResponseMemBlk*)mResponse)->receiveDelTimerReq(); |