diff options
author | Max Kellermann <max@duempel.org> | 2011-09-09 22:35:15 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-09-09 22:55:57 +0200 |
commit | b42a8d236434d7ec63c742d275cd7b75adbe760b (patch) | |
tree | ee314f81f04fa7c396fd79604a61c178781a85d6 /src/utils.h | |
parent | 61fc01e79e385bc903edf1fd0cac0e5843911d58 (diff) | |
download | mpd-b42a8d236434d7ec63c742d275cd7b75adbe760b.tar.gz mpd-b42a8d236434d7ec63c742d275cd7b75adbe760b.tar.xz mpd-b42a8d236434d7ec63c742d275cd7b75adbe760b.zip |
utils: parsePath() returns GError on failure
Better error messages.
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h index df36d1da0..f8d6657f2 100644 --- a/src/utils.h +++ b/src/utils.h @@ -20,6 +20,7 @@ #ifndef MPD_UTILS_H #define MPD_UTILS_H +#include <glib.h> #include <stdbool.h> #ifndef assert_static @@ -32,6 +33,6 @@ #endif /* !assert_static */ char * -parsePath(const char *path); +parsePath(const char *path, GError **error_r); #endif |