summaryrefslogtreecommitdiff
path: root/httpresource.c
diff options
context:
space:
mode:
authorthlo <smarttv640@gmail.com>2013-08-17 21:55:16 +0200
committerthlo <smarttv640@gmail.com>2013-08-17 21:55:16 +0200
commitad45f2d55557a83a1fb45ca70d35453fd83d3973 (patch)
treea9f5f7cac456008d3c4b035dda8b272ec7baf0b0 /httpresource.c
parente4f6f53197f655f63fff7422634e4f622a4fa91c (diff)
downloadvdr-plugin-smarttvweb-ad45f2d55557a83a1fb45ca70d35453fd83d3973.tar.gz
vdr-plugin-smarttvweb-ad45f2d55557a83a1fb45ca70d35453fd83d3973.tar.bz2
RecCmds APIs.
Diffstat (limited to 'httpresource.c')
-rwxr-xr-xhttpresource.c12
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);