aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/Config.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-29 22:33:30 +0100
committerMax Kellermann <max@duempel.org>2014-11-29 23:36:44 +0100
commitfd2c6b8a4b059bd810ca8511fa8f66001843284c (patch)
tree3244bbfa951be5bb79094067c0f816e6c84f7f12 /src/fs/Config.hxx
parent5b1db917bc63fcacfc503ebc02251a2905bc2f8f (diff)
downloadmpd-fd2c6b8a4b059bd810ca8511fa8f66001843284c.tar.gz
mpd-fd2c6b8a4b059bd810ca8511fa8f66001843284c.tar.xz
mpd-fd2c6b8a4b059bd810ca8511fa8f66001843284c.zip
fs/Charset: return Error on SetFSCharset() failure
Don't abort the process, let the caller decide instead.
Diffstat (limited to 'src/fs/Config.hxx')
-rw-r--r--src/fs/Config.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fs/Config.hxx b/src/fs/Config.hxx
index d4f1709f5..d2cde4a66 100644
--- a/src/fs/Config.hxx
+++ b/src/fs/Config.hxx
@@ -22,10 +22,12 @@
#include "check.h"
+class Error;
+
/**
* Performs global one-time initialization of this class.
*/
-void
-ConfigureFS();
+bool
+ConfigureFS(Error &error);
#endif