aboutsummaryrefslogtreecommitdiffstats
path: root/src/ClientFile.hxx
diff options
context:
space:
mode:
authorDenis Krjuchkov <denis@crazydev.net>2013-05-05 15:42:29 +0600
committerDenis Krjuchkov <denis@crazydev.net>2013-05-06 23:36:36 +0600
commita688745bdc6db32e2cb7765c5d113958dcd49411 (patch)
tree4e0ba55771d6552ae02ff29af9c57a6a265bffcf /src/ClientFile.hxx
parent459d824c50b3ef444f0b94cc60bcbec83addf801 (diff)
downloadmpd-a688745bdc6db32e2cb7765c5d113958dcd49411.tar.gz
mpd-a688745bdc6db32e2cb7765c5d113958dcd49411.tar.xz
mpd-a688745bdc6db32e2cb7765c5d113958dcd49411.zip
ClientFile: use Path and file system API, update usages accordingly
This commit also fixes incorrect passing of UTF-8 strings to client_allow_file
Diffstat (limited to 'src/ClientFile.hxx')
-rw-r--r--src/ClientFile.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ClientFile.hxx b/src/ClientFile.hxx
index 48e00c44f..c2ea25f51 100644
--- a/src/ClientFile.hxx
+++ b/src/ClientFile.hxx
@@ -25,6 +25,7 @@
#include <stdbool.h>
class Client;
+class Path;
/**
* Is this client allowed to use the specified local file?
@@ -37,7 +38,7 @@ class Client;
* @return true if access is allowed
*/
bool
-client_allow_file(const Client *client, const char *path_fs,
+client_allow_file(const Client *client, const Path &path_fs,
GError **error_r);
#endif