diff options
Diffstat (limited to 'httpresource.c')
-rwxr-xr-x | httpresource.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/httpresource.c b/httpresource.c index 2832d5b..fcb7f82 100755 --- a/httpresource.c +++ b/httpresource.c @@ -315,11 +315,16 @@ int cHttpResource::processRequest() { return OKAY; } - if (mPath.compare("/reccmds") == 0) { + if (mPath.compare("/reccmds.xml") == 0) { mResponse = new cResponseMemBlk(this); ((cResponseMemBlk*)mResponse)->sendRecCmds(); return OKAY; } + if (mPath.compare("/execreccmd") == 0) { + mResponse = new cResponseMemBlk(this); + ((cResponseMemBlk*)mResponse)->receiveExecRecCmdReq(); + return OKAY; + } if (mPath.compare("/setResume.xml") == 0) { mResponse = new cResponseMemBlk(this); @@ -630,6 +635,11 @@ int cHttpResource::handlePost() { ((cResponseMemBlk*)mResponse)->receiveDelRecReq(); return OKAY; } + if (mPath.compare("/execreccmd") == 0) { + mResponse = new cResponseMemBlk(this); + ((cResponseMemBlk*)mResponse)->receiveExecRecCmdReq(); + return OKAY; + } if (mPath.compare("/deleteTimer.xml") == 0) { mResponse = new cResponseMemBlk(this); |