summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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