2016-03-26 22:12:16 +00:00
|
|
|
#ifndef __GTKUTILS_H__
|
|
|
|
#define __GTKUTILS_H__
|
|
|
|
|
2017-11-13 03:26:54 +00:00
|
|
|
#include <gio/gio.h>
|
2016-03-26 22:12:16 +00:00
|
|
|
|
|
|
|
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);
|
2016-03-26 22:18:50 +00:00
|
|
|
char * gtk_trim_string (const char *str);
|
|
|
|
char ** gtk_split_file_list (const char *str);
|
2017-11-13 03:26:54 +00:00
|
|
|
GBytes *gtk_file_load_bytes (GFile *file,
|
|
|
|
GCancellable *cancellable,
|
|
|
|
GError **error);
|
2016-03-26 22:12:16 +00:00
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif
|