summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormethodus <methodus@web.de>2012-09-21 04:19:40 +0200
committermethodus <methodus@web.de>2012-09-21 04:19:40 +0200
commitf4352588b67d1da2ab85bf767c6555560fb35cf1 (patch)
treebedcf1b3b98c7f100f5cc166b34413aec9cf79c7 /include
parenta226799975373eb2e69f033b34f1e79199553423 (diff)
downloadvdr-plugin-upnp-f4352588b67d1da2ab85bf767c6555560fb35cf1.tar.gz
vdr-plugin-upnp-f4352588b67d1da2ab85bf767c6555560fb35cf1.tar.bz2
Continued work on browsing.
Diffstat (limited to 'include')
-rw-r--r--include/media/mediaManager.h2
-rw-r--r--include/tools.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/include/media/mediaManager.h b/include/media/mediaManager.h
index 929181f..1ffa329 100644
--- a/include/media/mediaManager.h
+++ b/include/media/mediaManager.h
@@ -72,7 +72,7 @@ private:
void Action();
bool CheckIntegrity();
- void CreateResponse(MediaRequest&, const string&);
+ int CreateResponse(MediaRequest&, const string&);
void OnContainerUpdate(string uri, long updateID);
diff --git a/include/tools.h b/include/tools.h
index 3c2fcd3..bd82cd4 100644
--- a/include/tools.h
+++ b/include/tools.h
@@ -31,7 +31,8 @@ using namespace std;
#define att(s) strchr(s,'@')!=NULL?strchr(s,'@')+1:NULL
#define prop(s) substr(s, 0, strchr(s,'@')-s)
-#define MAX_METADATA_LENGTH 1024
+#define MAX_METADATA_LENGTH_L 1024
+#define MAX_METADATA_LENGTH_S 256
/**
* creates a part of a string