summaryrefslogtreecommitdiff
path: root/include/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utils.h')
-rw-r--r--include/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h
index 4a07aae1..fe0a3298 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -15,6 +15,8 @@ class utils {
static std::vector<std::string> tokenize_nl(const std::string& str, std::string delimiters = "\r\n");
static std::vector<std::string> tokenize_quoted(const std::string& str, std::string delimiters = " \r\n\t");
+ static std::vector<std::wstring> wtokenize(const std::wstring& str, std::wstring delimiters = L" \r\n\t");
+
static bool try_fs_lock(const std::string& lock_file, pid_t & pid);
static void remove_fs_lock(const std::string& lock_file);