Mercurial > hg > xmms-sid
diff src/xs_support.h @ 893:c835aa129e3b
Add two new utility functions for checking whether a given path is a
directory or not.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 09 Nov 2012 07:47:05 +0200 |
parents | 000baa9fcd4f |
children | f8e1de328ac1 |
line wrap: on
line diff
--- a/src/xs_support.h Fri Nov 09 07:46:29 2012 +0200 +++ b/src/xs_support.h Fri Nov 09 07:47:05 2012 +0200 @@ -124,6 +124,9 @@ gboolean xs_fload_buffer_path(const gchar *ppath, const gchar *pfilename, guint8 **pbuf, size_t *bufSize, const size_t maxSize, gboolean failMaxSize); +gboolean xs_is_dir_path(const gchar *path); +gchar *xs_get_dir_path(const gchar *path); + /* Error messages and debugging */