aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/Util.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/db/upnp/Util.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/db/upnp/Util.hxx b/src/db/upnp/Util.hxx
index 3cdc57cd5..08fe5f497 100644
--- a/src/db/upnp/Util.hxx
+++ b/src/db/upnp/Util.hxx
@@ -20,7 +20,10 @@
#ifndef MPD_UPNP_UTIL_HXX
#define MPD_UPNP_UTIL_HXX
+#include "Compiler.h"
+
#include <string>
+#include <vector>
std::string
caturl(const std::string& s1, const std::string& s2);
@@ -31,6 +34,11 @@ trimstring(std::string &s, const char *ws = " \t\n");
std::string
path_getfather(const std::string &s);
+gcc_pure
+std::vector<std::string>
+stringToTokens(const std::string &str,
+ const char *delims = "/", bool skipinit = true);
+
template <class T>
bool csvToStrings(const std::string& s, T &tokens);