gtkutilsprivate.h 755 Bytes
Newer Older
1 2 3
#ifndef __GTKUTILS_H__
#define __GTKUTILS_H__

4
#include <gio/gio.h>
5 6 7 8 9 10 11 12

G_BEGIN_DECLS

gboolean        gtk_scan_string         (const char     **pos,
                                         GString         *out);
gboolean        gtk_skip_space          (const char     **pos);
gint            gtk_read_line           (FILE            *stream,
                                         GString         *str);
13 14
char *          gtk_trim_string         (const char      *str);
char **         gtk_split_file_list     (const char      *str);
15 16 17
GBytes         *gtk_file_load_bytes     (GFile           *file,
                                         GCancellable    *cancellable,
                                         GError         **error);
18 19 20 21

G_END_DECLS

#endif