Mercurial > hg > xmms-sid
comparison 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 |
comparison
equal
deleted
inserted
replaced
892:f1b33b5e153d | 893:c835aa129e3b |
---|---|
122 gboolean xs_fload_buffer(const gchar *filename, | 122 gboolean xs_fload_buffer(const gchar *filename, |
123 guint8 **pbuf, size_t *bufSize, const size_t maxSize, gboolean failMaxSize); | 123 guint8 **pbuf, size_t *bufSize, const size_t maxSize, gboolean failMaxSize); |
124 gboolean xs_fload_buffer_path(const gchar *ppath, const gchar *pfilename, | 124 gboolean xs_fload_buffer_path(const gchar *ppath, const gchar *pfilename, |
125 guint8 **pbuf, size_t *bufSize, const size_t maxSize, gboolean failMaxSize); | 125 guint8 **pbuf, size_t *bufSize, const size_t maxSize, gboolean failMaxSize); |
126 | 126 |
127 gboolean xs_is_dir_path(const gchar *path); | |
128 gchar *xs_get_dir_path(const gchar *path); | |
129 | |
127 | 130 |
128 /* Error messages and debugging | 131 /* Error messages and debugging |
129 */ | 132 */ |
130 void xs_error(const char *, ...); | 133 void xs_error(const char *, ...); |
131 | 134 |