# 1 "weak.c" # 1 "weak.c" 1 # 1 "" 1 # 1 "" 3 # 109 "" 3 # 109 "" 1 # 110 "" 2 # 1 "weak.c" 2 # 10 "weak.c" # 1 "/usr/include/stdio.h" 1 3 4 # 39 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 40 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/sys/_null.h" 1 3 4 # 41 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/sys/_types.h" 1 3 4 # 33 "/usr/include/sys/_types.h" 3 4 # 1 "/usr/include/machine/_types.h" 1 3 4 # 51 "/usr/include/machine/_types.h" 3 4 typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef short __int16_t; typedef unsigned short __uint16_t; typedef int __int32_t; typedef unsigned int __uint32_t; typedef int __attribute__((__mode__(__DI__))) __int64_t; typedef unsigned int __attribute__((__mode__(__DI__))) __uint64_t; # 76 "/usr/include/machine/_types.h" 3 4 typedef unsigned long __clock_t; typedef unsigned int __cpumask_t; typedef __int32_t __critical_t; typedef long double __double_t; typedef long double __float_t; typedef __int32_t __intfptr_t; typedef __int64_t __intmax_t; typedef __int32_t __intptr_t; typedef __int32_t __int_fast8_t; typedef __int32_t __int_fast16_t; typedef __int32_t __int_fast32_t; typedef __int64_t __int_fast64_t; typedef __int8_t __int_least8_t; typedef __int16_t __int_least16_t; typedef __int32_t __int_least32_t; typedef __int64_t __int_least64_t; typedef __int32_t __ptrdiff_t; typedef __int32_t __register_t; typedef __int32_t __segsz_t; typedef __uint32_t __size_t; typedef __int32_t __ssize_t; typedef __int32_t __time_t; typedef __uint32_t __uintfptr_t; typedef __uint64_t __uintmax_t; typedef __uint32_t __uintptr_t; typedef __uint32_t __uint_fast8_t; typedef __uint32_t __uint_fast16_t; typedef __uint32_t __uint_fast32_t; typedef __uint64_t __uint_fast64_t; typedef __uint8_t __uint_least8_t; typedef __uint16_t __uint_least16_t; typedef __uint32_t __uint_least32_t; typedef __uint64_t __uint_least64_t; typedef __uint32_t __u_register_t; typedef __uint32_t __vm_offset_t; typedef __int64_t __vm_ooffset_t; typedef __uint32_t __vm_paddr_t; typedef __uint64_t __vm_pindex_t; typedef __uint32_t __vm_size_t; typedef __builtin_va_list __va_list; typedef __va_list __gnuc_va_list; # 34 "/usr/include/sys/_types.h" 2 3 4 typedef __uint32_t __blksize_t; typedef __int64_t __blkcnt_t; typedef __int32_t __clockid_t; typedef __uint32_t __fflags_t; typedef __uint64_t __fsblkcnt_t; typedef __uint64_t __fsfilcnt_t; typedef __uint32_t __gid_t; typedef __int64_t __id_t; typedef __uint32_t __ino_t; typedef long __key_t; typedef __int32_t __lwpid_t; typedef __uint16_t __mode_t; typedef int __accmode_t; typedef int __nl_item; typedef __uint16_t __nlink_t; typedef __int64_t __off_t; typedef __int32_t __pid_t; typedef __int64_t __rlim_t; typedef __uint8_t __sa_family_t; typedef __uint32_t __socklen_t; typedef long __suseconds_t; typedef struct __timer *__timer_t; typedef struct __mq *__mqd_t; typedef __uint32_t __uid_t; typedef unsigned int __useconds_t; typedef int __cpuwhich_t; typedef int __cpulevel_t; typedef int __cpusetid_t; # 87 "/usr/include/sys/_types.h" 3 4 typedef int __ct_rune_t; typedef __ct_rune_t __rune_t; typedef __ct_rune_t __wchar_t; typedef __ct_rune_t __wint_t; typedef __uint32_t __dev_t; typedef __uint32_t __fixpt_t; typedef union { char __mbstate8[128]; __int64_t _mbstateL; } __mbstate_t; # 42 "/usr/include/stdio.h" 2 3 4 typedef __off_t fpos_t; typedef __size_t size_t; typedef __off_t off_t; typedef __ssize_t ssize_t; typedef __va_list va_list; # 77 "/usr/include/stdio.h" 3 4 struct __sbuf { unsigned char *_base; int _size; }; # 110 "/usr/include/stdio.h" 3 4 typedef struct __sFILE { unsigned char *_p; int _r; int _w; short _flags; short _file; struct __sbuf _bf; int _lbfsize; void *_cookie; int (*_close)(void *); int (*_read)(void *, char *, int); fpos_t (*_seek)(void *, fpos_t, int); int (*_write)(void *, const char *, int); struct __sbuf _ub; unsigned char *_up; int _ur; unsigned char _ubuf[3]; unsigned char _nbuf[1]; struct __sbuf _lb; int _blksize; fpos_t _offset; struct pthread_mutex *_fl_mutex; struct pthread *_fl_owner; int _fl_count; int _orientation; __mbstate_t _mbstate; } FILE; extern FILE *__stdinp; extern FILE *__stdoutp; extern FILE *__stderrp; # 228 "/usr/include/stdio.h" 3 4 void clearerr(FILE *); int fclose(FILE *); int feof(FILE *); int ferror(FILE *); int fflush(FILE *); int fgetc(FILE *); int fgetpos(FILE * restrict, fpos_t * restrict); char *fgets(char * restrict, int, FILE * restrict); FILE *fopen(const char * restrict, const char * restrict); int fprintf(FILE * restrict, const char * restrict, ...); int fputc(int, FILE *); int fputs(const char * restrict, FILE * restrict); size_t fread(void * restrict, size_t, size_t, FILE * restrict); FILE *freopen(const char * restrict, const char * restrict, FILE * restrict); int fscanf(FILE * restrict, const char * restrict, ...); int fseek(FILE *, long, int); int fsetpos(FILE *, const fpos_t *); long ftell(FILE *); size_t fwrite(const void * restrict, size_t, size_t, FILE * restrict); int getc(FILE *); int getchar(void); char *gets(char *); void perror(const char *); int printf(const char * restrict, ...); int putc(int, FILE *); int putchar(int); int puts(const char *); int remove(const char *); int rename(const char *, const char *); void rewind(FILE *); int scanf(const char * restrict, ...); void setbuf(FILE * restrict, char * restrict); int setvbuf(FILE * restrict, char * restrict, int, size_t); int sprintf(char * restrict, const char * restrict, ...); int sscanf(const char * restrict, const char * restrict, ...); FILE *tmpfile(void); char *tmpnam(char *); int ungetc(int, FILE *); int vfprintf(FILE * restrict, const char * restrict, __va_list); int vprintf(const char * restrict, __va_list); int vsprintf(char * restrict, const char * restrict, __va_list); int snprintf(char * restrict, size_t, const char * restrict, ...) __attribute__((__format__ (__printf__, 3, 4))); int vfscanf(FILE * restrict, const char * restrict, __va_list) __attribute__((__format__ (__scanf__, 2, 0))); int vscanf(const char * restrict, __va_list) __attribute__((__format__ (__scanf__, 1, 0))); int vsnprintf(char * restrict, size_t, const char * restrict, __va_list) __attribute__((__format__ (__printf__, 3, 0))); int vsscanf(const char * restrict, const char * restrict, __va_list) __attribute__((__format__ (__scanf__, 2, 0))); # 295 "/usr/include/stdio.h" 3 4 char *ctermid(char *); FILE *fdopen(int, const char *); int fileno(FILE *); int pclose(FILE *); FILE *popen(const char *, const char *); int ftrylockfile(FILE *); void flockfile(FILE *); void funlockfile(FILE *); int getc_unlocked(FILE *); int getchar_unlocked(void); int putc_unlocked(int, FILE *); int putchar_unlocked(int); void clearerr_unlocked(FILE *); int feof_unlocked(FILE *); int ferror_unlocked(FILE *); int fileno_unlocked(FILE *); int fseeko(FILE *, __off_t, int); __off_t ftello(FILE *); int getw(FILE *); int putw(int, FILE *); char *tempnam(const char *, const char *); ssize_t getdelim(char ** restrict, size_t * restrict, int, FILE * restrict); int renameat(int, const char *, int, const char *); int vdprintf(int, const char * restrict, __va_list); # 389 "/usr/include/stdio.h" 3 4 int asprintf(char **, const char *, ...) __attribute__((__format__ (__printf__, 2, 3))); char *ctermid_r(char *); void fcloseall(void); char *fgetln(FILE *, size_t *); const char *fmtcheck(const char *, const char *) __attribute__((__format_arg__ (2))); int fpurge(FILE *); void setbuffer(FILE *, char *, int); int setlinebuf(FILE *); int vasprintf(char **, const char *, __va_list) __attribute__((__format__ (__printf__, 2, 0))); extern const int sys_nerr; extern const char *const sys_errlist[]; FILE *funopen(const void *, int (*)(void *, char *, int), int (*)(void *, const char *, int), fpos_t (*)(void *, fpos_t, int), int (*)(void *)); # 424 "/usr/include/stdio.h" 3 4 int ftruncate(int, __off_t); __off_t lseek(int, __off_t, int); void *mmap(void *, size_t, int, int, int, __off_t); int truncate(const char *, __off_t); int __srget(FILE *); int __swbuf(int, FILE *); static __inline int __sputc(int _c, FILE *_p) { if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n')) return (*_p->_p++ = _c); else return (__swbuf(_c, _p)); } # 477 "/usr/include/stdio.h" 3 4 extern int __isthreaded; # 11 "weak.c" 2 # 1 "/usr/local/include/glib-2.0/glib.h" 1 # 32 "/usr/local/include/glib-2.0/glib.h" # 1 "/usr/local/include/glib-2.0/glib/galloca.h" 1 # 34 "/usr/local/include/glib-2.0/glib/galloca.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gtypes.h" # 1 "/usr/local/include/glib-2.0/glibconfig.h" 1 # 1 "/usr/local/include/glib-2.0/glib/gmacros.h" 1 # 40 "/usr/local/include/glib-2.0/glib/gmacros.h" # 1 "/usr/include/stddef.h" 1 3 4 # 41 "/usr/include/stddef.h" 3 4 typedef __ptrdiff_t ptrdiff_t; typedef __rune_t rune_t; # 57 "/usr/include/stddef.h" 3 4 typedef __wchar_t wchar_t; # 41 "/usr/local/include/glib-2.0/glib/gmacros.h" 2 # 10 "/usr/local/include/glib-2.0/glibconfig.h" 2 # 1 "/usr/local/clang/lib/clang/1.1/include/limits.h" 1 3 4 # 35 "/usr/local/clang/lib/clang/1.1/include/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 124 "/usr/include/limits.h" 3 4 # 1 "/usr/include/sys/limits.h" 1 3 4 # 36 "/usr/include/sys/limits.h" 3 4 # 1 "/usr/include/machine/_limits.h" 1 3 4 # 37 "/usr/include/sys/limits.h" 2 3 4 # 125 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/sys/syslimits.h" 1 3 4 # 128 "/usr/include/limits.h" 2 3 4 # 36 "/usr/local/clang/lib/clang/1.1/include/limits.h" 2 3 4 # 12 "/usr/local/include/glib-2.0/glibconfig.h" 2 # 1 "/usr/local/clang/lib/clang/1.1/include/float.h" 1 3 4 # 13 "/usr/local/include/glib-2.0/glibconfig.h" 2 # 37 "/usr/local/include/glib-2.0/glibconfig.h" typedef signed char gint8; typedef unsigned char guint8; typedef signed short gint16; typedef unsigned short guint16; typedef signed int gint32; typedef unsigned int guint32; __extension__ typedef signed long long gint64; __extension__ typedef unsigned long long guint64; # 64 "/usr/local/include/glib-2.0/glibconfig.h" typedef signed int gssize; typedef unsigned int gsize; # 74 "/usr/local/include/glib-2.0/glibconfig.h" typedef gint64 goffset; # 89 "/usr/local/include/glib-2.0/glibconfig.h" typedef signed int gintptr; typedef unsigned int guintptr; # 158 "/usr/local/include/glib-2.0/glibconfig.h" typedef struct _GStaticMutex GStaticMutex; struct _GStaticMutex { struct _GMutex *runtime_mutex; union { char pad[4]; double dummy_double; void *dummy_pointer; long dummy_long; } static_mutex; }; # 177 "/usr/local/include/glib-2.0/glibconfig.h" typedef union _GSystemThread GSystemThread; union _GSystemThread { char data[4]; double dummy_double; void *dummy_pointer; long dummy_long; }; # 224 "/usr/local/include/glib-2.0/glibconfig.h" typedef int GPid; # 35 "/usr/local/include/glib-2.0/glib/gtypes.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gmacros.h" 1 # 36 "/usr/local/include/glib-2.0/glib/gtypes.h" 2 # 46 "/usr/local/include/glib-2.0/glib/gtypes.h" typedef char gchar; typedef short gshort; typedef long glong; typedef int gint; typedef gint gboolean; typedef unsigned char guchar; typedef unsigned short gushort; typedef unsigned long gulong; typedef unsigned int guint; typedef float gfloat; typedef double gdouble; # 77 "/usr/local/include/glib-2.0/glib/gtypes.h" typedef void* gpointer; typedef const void *gconstpointer; typedef gint (*GCompareFunc) (gconstpointer a, gconstpointer b); typedef gint (*GCompareDataFunc) (gconstpointer a, gconstpointer b, gpointer user_data); typedef gboolean (*GEqualFunc) (gconstpointer a, gconstpointer b); typedef void (*GDestroyNotify) (gpointer data); typedef void (*GFunc) (gpointer data, gpointer user_data); typedef guint (*GHashFunc) (gconstpointer key); typedef void (*GHFunc) (gpointer key, gpointer value, gpointer user_data); typedef void (*GFreeFunc) (gpointer data); # 108 "/usr/local/include/glib-2.0/glib/gtypes.h" typedef const gchar * (*GTranslateFunc) (const gchar *str, gpointer data); # 363 "/usr/local/include/glib-2.0/glib/gtypes.h" typedef union _GDoubleIEEE754 GDoubleIEEE754; typedef union _GFloatIEEE754 GFloatIEEE754; union _GFloatIEEE754 { gfloat v_float; struct { guint mantissa : 23; guint biased_exponent : 8; guint sign : 1; } mpn; }; union _GDoubleIEEE754 { gdouble v_double; struct { guint mantissa_low : 32; guint mantissa_high : 20; guint biased_exponent : 11; guint sign : 1; } mpn; }; # 413 "/usr/local/include/glib-2.0/glib/gtypes.h" typedef struct _GTimeVal GTimeVal; struct _GTimeVal { glong tv_sec; glong tv_usec; }; # 35 "/usr/local/include/glib-2.0/glib/galloca.h" 2 # 33 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/garray.h" 1 # 34 "/usr/local/include/glib-2.0/glib/garray.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 35 "/usr/local/include/glib-2.0/glib/garray.h" 2 typedef struct _GArray GArray; typedef struct _GByteArray GByteArray; typedef struct _GPtrArray GPtrArray; struct _GArray { gchar *data; guint len; }; struct _GByteArray { guint8 *data; guint len; }; struct _GPtrArray { gpointer *pdata; guint len; }; # 70 "/usr/local/include/glib-2.0/glib/garray.h" GArray* g_array_new (gboolean zero_terminated, gboolean clear_, guint element_size); GArray* g_array_sized_new (gboolean zero_terminated, gboolean clear_, guint element_size, guint reserved_size); gchar* g_array_free (GArray *array, gboolean free_segment); GArray *g_array_ref (GArray *array); void g_array_unref (GArray *array); guint g_array_get_element_size (GArray *array); GArray* g_array_append_vals (GArray *array, gconstpointer data, guint len); GArray* g_array_prepend_vals (GArray *array, gconstpointer data, guint len); GArray* g_array_insert_vals (GArray *array, guint index_, gconstpointer data, guint len); GArray* g_array_set_size (GArray *array, guint length); GArray* g_array_remove_index (GArray *array, guint index_); GArray* g_array_remove_index_fast (GArray *array, guint index_); GArray* g_array_remove_range (GArray *array, guint index_, guint length); void g_array_sort (GArray *array, GCompareFunc compare_func); void g_array_sort_with_data (GArray *array, GCompareDataFunc compare_func, gpointer user_data); GPtrArray* g_ptr_array_new (void); GPtrArray* g_ptr_array_new_with_free_func (GDestroyNotify element_free_func); GPtrArray* g_ptr_array_sized_new (guint reserved_size); gpointer* g_ptr_array_free (GPtrArray *array, gboolean free_seg); GPtrArray* g_ptr_array_ref (GPtrArray *array); void g_ptr_array_unref (GPtrArray *array); void g_ptr_array_set_free_func (GPtrArray *array, GDestroyNotify element_free_func); void g_ptr_array_set_size (GPtrArray *array, gint length); gpointer g_ptr_array_remove_index (GPtrArray *array, guint index_); gpointer g_ptr_array_remove_index_fast (GPtrArray *array, guint index_); gboolean g_ptr_array_remove (GPtrArray *array, gpointer data); gboolean g_ptr_array_remove_fast (GPtrArray *array, gpointer data); void g_ptr_array_remove_range (GPtrArray *array, guint index_, guint length); void g_ptr_array_add (GPtrArray *array, gpointer data); void g_ptr_array_sort (GPtrArray *array, GCompareFunc compare_func); void g_ptr_array_sort_with_data (GPtrArray *array, GCompareDataFunc compare_func, gpointer user_data); void g_ptr_array_foreach (GPtrArray *array, GFunc func, gpointer user_data); GByteArray* g_byte_array_new (void); GByteArray* g_byte_array_sized_new (guint reserved_size); guint8* g_byte_array_free (GByteArray *array, gboolean free_segment); GByteArray *g_byte_array_ref (GByteArray *array); void g_byte_array_unref (GByteArray *array); GByteArray* g_byte_array_append (GByteArray *array, const guint8 *data, guint len); GByteArray* g_byte_array_prepend (GByteArray *array, const guint8 *data, guint len); GByteArray* g_byte_array_set_size (GByteArray *array, guint length); GByteArray* g_byte_array_remove_index (GByteArray *array, guint index_); GByteArray* g_byte_array_remove_index_fast (GByteArray *array, guint index_); GByteArray* g_byte_array_remove_range (GByteArray *array, guint index_, guint length); void g_byte_array_sort (GByteArray *array, GCompareFunc compare_func); void g_byte_array_sort_with_data (GByteArray *array, GCompareDataFunc compare_func, gpointer user_data); # 34 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gasyncqueue.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gasyncqueue.h" # 1 "/usr/local/include/glib-2.0/glib/gthread.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gthread.h" # 1 "/usr/local/include/glib-2.0/glib/gerror.h" 1 # 28 "/usr/local/include/glib-2.0/glib/gerror.h" # 1 "/usr/include/stdarg.h" 1 3 4 # 29 "/usr/local/include/glib-2.0/glib/gerror.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gquark.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gquark.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gquark.h" 2 typedef guint32 GQuark; GQuark g_quark_try_string (const gchar *string); GQuark g_quark_from_static_string (const gchar *string); GQuark g_quark_from_string (const gchar *string); const gchar* g_quark_to_string (GQuark quark) __attribute__((__const__)); const gchar* g_intern_string (const gchar *string); const gchar* g_intern_static_string (const gchar *string); # 31 "/usr/local/include/glib-2.0/glib/gerror.h" 2 typedef struct _GError GError; struct _GError { GQuark domain; gint code; gchar *message; }; GError* g_error_new (GQuark domain, gint code, const gchar *format, ...) __attribute__((__format__ (__printf__, 3, 4))); GError* g_error_new_literal (GQuark domain, gint code, const gchar *message); GError* g_error_new_valist (GQuark domain, gint code, const gchar *format, va_list args); void g_error_free (GError *error); GError* g_error_copy (const GError *error); gboolean g_error_matches (const GError *error, GQuark domain, gint code); void g_set_error (GError **err, GQuark domain, gint code, const gchar *format, ...) __attribute__((__format__ (__printf__, 4, 5))); void g_set_error_literal (GError **err, GQuark domain, gint code, const gchar *message); void g_propagate_error (GError **dest, GError *src); void g_clear_error (GError **err); void g_prefix_error (GError **err, const gchar *format, ...) __attribute__((__format__ (__printf__, 2, 3))); void g_propagate_prefixed_error (GError **dest, GError *src, const gchar *format, ...) __attribute__((__format__ (__printf__, 3, 4))); # 35 "/usr/local/include/glib-2.0/glib/gthread.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 36 "/usr/local/include/glib-2.0/glib/gthread.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gutils.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gutils.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gutils.h" 2 # 120 "/usr/local/include/glib-2.0/glib/gutils.h" const gchar* g_get_user_name (void); const gchar* g_get_real_name (void); const gchar* g_get_home_dir (void); const gchar* g_get_tmp_dir (void); const gchar* g_get_host_name (void); gchar* g_get_prgname (void); void g_set_prgname (const gchar *prgname); const gchar* g_get_application_name (void); void g_set_application_name (const gchar *application_name); void g_reload_user_special_dirs_cache (void); const gchar* g_get_user_data_dir (void); const gchar* g_get_user_config_dir (void); const gchar* g_get_user_cache_dir (void); const gchar* const * g_get_system_data_dirs (void); # 154 "/usr/local/include/glib-2.0/glib/gutils.h" const gchar* const * g_get_system_config_dirs (void); const gchar* const * g_get_language_names (void); # 180 "/usr/local/include/glib-2.0/glib/gutils.h" typedef enum { G_USER_DIRECTORY_DESKTOP, G_USER_DIRECTORY_DOCUMENTS, G_USER_DIRECTORY_DOWNLOAD, G_USER_DIRECTORY_MUSIC, G_USER_DIRECTORY_PICTURES, G_USER_DIRECTORY_PUBLIC_SHARE, G_USER_DIRECTORY_TEMPLATES, G_USER_DIRECTORY_VIDEOS, G_USER_N_DIRECTORIES } GUserDirectory; const gchar* g_get_user_special_dir (GUserDirectory directory); typedef struct _GDebugKey GDebugKey; struct _GDebugKey { const gchar *key; guint value; }; guint g_parse_debug_string (const gchar *string, const GDebugKey *keys, guint nkeys); gint g_snprintf (gchar *string, gulong n, gchar const *format, ...) __attribute__((__format__ (__printf__, 3, 4))); gint g_vsnprintf (gchar *string, gulong n, gchar const *format, va_list args); gboolean g_path_is_absolute (const gchar *file_name); const gchar* g_path_skip_root (const gchar *file_name); const gchar* g_basename (const gchar *file_name); # 239 "/usr/local/include/glib-2.0/glib/gutils.h" gchar* g_get_current_dir (void); gchar* g_path_get_basename (const gchar *file_name) __attribute__((__malloc__)); gchar* g_path_get_dirname (const gchar *file_name) __attribute__((__malloc__)); void g_nullify_pointer (gpointer *nullify_location); # 255 "/usr/local/include/glib-2.0/glib/gutils.h" const gchar* g_getenv (const gchar *variable); gboolean g_setenv (const gchar *variable, const gchar *value, gboolean overwrite); void g_unsetenv (const gchar *variable); gchar** g_listenv (void); const gchar* _g_getenv_nomalloc (const gchar *variable, gchar buffer[1024]); typedef void (*GVoidFunc) (void); # 281 "/usr/local/include/glib-2.0/glib/gutils.h" void g_atexit (GVoidFunc func); # 297 "/usr/local/include/glib-2.0/glib/gutils.h" gchar* g_find_program_in_path (const gchar *program); static __inline __attribute__ ((unused)) gint g_bit_nth_lsf (gulong mask, gint nth_bit) __attribute__((__const__)); static __inline __attribute__ ((unused)) gint g_bit_nth_msf (gulong mask, gint nth_bit) __attribute__((__const__)); static __inline __attribute__ ((unused)) guint g_bit_storage (gulong number) __attribute__((__const__)); typedef struct _GTrashStack GTrashStack; struct _GTrashStack { GTrashStack *next; }; static __inline __attribute__ ((unused)) void g_trash_stack_push (GTrashStack **stack_p, gpointer data_p); static __inline __attribute__ ((unused)) gpointer g_trash_stack_pop (GTrashStack **stack_p); static __inline __attribute__ ((unused)) gpointer g_trash_stack_peek (GTrashStack **stack_p); static __inline __attribute__ ((unused)) guint g_trash_stack_height (GTrashStack **stack_p); static __inline __attribute__ ((unused)) gint g_bit_nth_lsf (gulong mask, gint nth_bit) { if ((nth_bit < -1)) nth_bit = -1; while (nth_bit < ((4 * 8) - 1)) { nth_bit++; if (mask & (1UL << nth_bit)) return nth_bit; } return -1; } static __inline __attribute__ ((unused)) gint g_bit_nth_msf (gulong mask, gint nth_bit) { if (nth_bit < 0 || (nth_bit > 4 * 8)) nth_bit = 4 * 8; while (nth_bit > 0) { nth_bit--; if (mask & (1UL << nth_bit)) return nth_bit; } return -1; } static __inline __attribute__ ((unused)) guint g_bit_storage (gulong number) { register guint n_bits = 0; do { n_bits++; number >>= 1; } while (number); return n_bits; } static __inline __attribute__ ((unused)) void g_trash_stack_push (GTrashStack **stack_p, gpointer data_p) { GTrashStack *data = (GTrashStack *) data_p; data->next = *stack_p; *stack_p = data; } static __inline __attribute__ ((unused)) gpointer g_trash_stack_pop (GTrashStack **stack_p) { GTrashStack *data; data = *stack_p; if (data) { *stack_p = data->next; data->next = ((void *)0); } return data; } static __inline __attribute__ ((unused)) gpointer g_trash_stack_peek (GTrashStack **stack_p) { GTrashStack *data; data = *stack_p; return data; } static __inline __attribute__ ((unused)) guint g_trash_stack_height (GTrashStack **stack_p) { GTrashStack *data; guint i = 0; for (data = *stack_p; data; data = data->next) i++; return i; } extern const guint glib_major_version; extern const guint glib_minor_version; extern const guint glib_micro_version; extern const guint glib_interface_age; extern const guint glib_binary_age; const gchar * glib_check_version (guint required_major, guint required_minor, guint required_micro); # 37 "/usr/local/include/glib-2.0/glib/gthread.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gatomic.h" 1 # 37 "/usr/local/include/glib-2.0/glib/gatomic.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 38 "/usr/local/include/glib-2.0/glib/gatomic.h" 2 gint g_atomic_int_exchange_and_add (volatile gint __attribute__((may_alias)) *atomic, gint val); void g_atomic_int_add (volatile gint __attribute__((may_alias)) *atomic, gint val); gboolean g_atomic_int_compare_and_exchange (volatile gint __attribute__((may_alias)) *atomic, gint oldval, gint newval); gboolean g_atomic_pointer_compare_and_exchange (volatile gpointer __attribute__((may_alias)) *atomic, gpointer oldval, gpointer newval); gint g_atomic_int_get (volatile gint __attribute__((may_alias)) *atomic); void g_atomic_int_set (volatile gint __attribute__((may_alias)) *atomic, gint newval); gpointer g_atomic_pointer_get (volatile gpointer __attribute__((may_alias)) *atomic); void g_atomic_pointer_set (volatile gpointer __attribute__((may_alias)) *atomic, gpointer newval); # 38 "/usr/local/include/glib-2.0/glib/gthread.h" 2 extern GQuark g_thread_error_quark (void); typedef enum { G_THREAD_ERROR_AGAIN } GThreadError; typedef gpointer (*GThreadFunc) (gpointer data); typedef enum { G_THREAD_PRIORITY_LOW, G_THREAD_PRIORITY_NORMAL, G_THREAD_PRIORITY_HIGH, G_THREAD_PRIORITY_URGENT } GThreadPriority; typedef struct _GThread GThread; struct _GThread { GThreadFunc func; gpointer data; gboolean joinable; GThreadPriority priority; }; typedef struct _GMutex GMutex; typedef struct _GCond GCond; typedef struct _GPrivate GPrivate; typedef struct _GStaticPrivate GStaticPrivate; typedef struct _GThreadFunctions GThreadFunctions; struct _GThreadFunctions { GMutex* (*mutex_new) (void); void (*mutex_lock) (GMutex *mutex); gboolean (*mutex_trylock) (GMutex *mutex); void (*mutex_unlock) (GMutex *mutex); void (*mutex_free) (GMutex *mutex); GCond* (*cond_new) (void); void (*cond_signal) (GCond *cond); void (*cond_broadcast) (GCond *cond); void (*cond_wait) (GCond *cond, GMutex *mutex); gboolean (*cond_timed_wait) (GCond *cond, GMutex *mutex, GTimeVal *end_time); void (*cond_free) (GCond *cond); GPrivate* (*private_new) (GDestroyNotify destructor); gpointer (*private_get) (GPrivate *private_key); void (*private_set) (GPrivate *private_key, gpointer data); void (*thread_create) (GThreadFunc func, gpointer data, gulong stack_size, gboolean joinable, gboolean bound, GThreadPriority priority, gpointer thread, GError **error); void (*thread_yield) (void); void (*thread_join) (gpointer thread); void (*thread_exit) (void); void (*thread_set_priority)(gpointer thread, GThreadPriority priority); void (*thread_self) (gpointer thread); gboolean (*thread_equal) (gpointer thread1, gpointer thread2); }; extern GThreadFunctions g_thread_functions_for_glib_use; extern gboolean g_thread_use_default_impl; extern gboolean g_threads_got_initialized; extern guint64 (*g_thread_gettime) (void); void g_thread_init (GThreadFunctions *vtable); # 135 "/usr/local/include/glib-2.0/glib/gthread.h" void g_thread_init_with_errorcheck_mutexes (GThreadFunctions* vtable); gboolean g_thread_get_initialized (void); # 150 "/usr/local/include/glib-2.0/glib/gthread.h" GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex); # 221 "/usr/local/include/glib-2.0/glib/gthread.h" GThread* g_thread_create_full (GThreadFunc func, gpointer data, gulong stack_size, gboolean joinable, gboolean bound, GThreadPriority priority, GError **error); GThread* g_thread_self (void); void g_thread_exit (gpointer retval); gpointer g_thread_join (GThread *thread); void g_thread_set_priority (GThread *thread, GThreadPriority priority); # 246 "/usr/local/include/glib-2.0/glib/gthread.h" void g_static_mutex_init (GStaticMutex *mutex); void g_static_mutex_free (GStaticMutex *mutex); struct _GStaticPrivate { guint index; }; void g_static_private_init (GStaticPrivate *private_key); gpointer g_static_private_get (GStaticPrivate *private_key); void g_static_private_set (GStaticPrivate *private_key, gpointer data, GDestroyNotify notify); void g_static_private_free (GStaticPrivate *private_key); typedef struct _GStaticRecMutex GStaticRecMutex; struct _GStaticRecMutex { GStaticMutex mutex; guint depth; GSystemThread owner; }; void g_static_rec_mutex_init (GStaticRecMutex *mutex); void g_static_rec_mutex_lock (GStaticRecMutex *mutex); gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex); void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex, guint depth); guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex); void g_static_rec_mutex_free (GStaticRecMutex *mutex); typedef struct _GStaticRWLock GStaticRWLock; struct _GStaticRWLock { GStaticMutex mutex; GCond *read_cond; GCond *write_cond; guint read_counter; gboolean have_writer; guint want_to_read; guint want_to_write; }; void g_static_rw_lock_init (GStaticRWLock* lock); void g_static_rw_lock_reader_lock (GStaticRWLock* lock); gboolean g_static_rw_lock_reader_trylock (GStaticRWLock* lock); void g_static_rw_lock_reader_unlock (GStaticRWLock* lock); void g_static_rw_lock_writer_lock (GStaticRWLock* lock); gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock); void g_static_rw_lock_writer_unlock (GStaticRWLock* lock); void g_static_rw_lock_free (GStaticRWLock* lock); void g_thread_foreach (GFunc thread_func, gpointer user_data); typedef enum { G_ONCE_STATUS_NOTCALLED, G_ONCE_STATUS_PROGRESS, G_ONCE_STATUS_READY } GOnceStatus; typedef struct _GOnce GOnce; struct _GOnce { volatile GOnceStatus status; volatile gpointer retval; }; gpointer g_once_impl (GOnce *once, GThreadFunc func, gpointer arg); # 336 "/usr/local/include/glib-2.0/glib/gthread.h" static __inline __attribute__ ((unused)) gboolean g_once_init_enter (volatile gsize *value_location); gboolean g_once_init_enter_impl (volatile gsize *value_location); void g_once_init_leave (volatile gsize *value_location, gsize initialization_value); static __inline __attribute__ ((unused)) gboolean g_once_init_enter (volatile gsize *value_location) { if ((gpointer) ((gpointer)*(value_location)) != ((void *)0)) return (0); else return g_once_init_enter_impl (value_location); } # 360 "/usr/local/include/glib-2.0/glib/gthread.h" extern void glib_dummy_decl (void); # 35 "/usr/local/include/glib-2.0/glib/gasyncqueue.h" 2 typedef struct _GAsyncQueue GAsyncQueue; GAsyncQueue* g_async_queue_new (void); GAsyncQueue* g_async_queue_new_full (GDestroyNotify item_free_func); void g_async_queue_lock (GAsyncQueue *queue); void g_async_queue_unlock (GAsyncQueue *queue); GAsyncQueue* g_async_queue_ref (GAsyncQueue *queue); void g_async_queue_unref (GAsyncQueue *queue); void g_async_queue_ref_unlocked (GAsyncQueue *queue); void g_async_queue_unref_and_unlock (GAsyncQueue *queue); void g_async_queue_push (GAsyncQueue *queue, gpointer data); void g_async_queue_push_unlocked (GAsyncQueue *queue, gpointer data); void g_async_queue_push_sorted (GAsyncQueue *queue, gpointer data, GCompareDataFunc func, gpointer user_data); void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue, gpointer data, GCompareDataFunc func, gpointer user_data); gpointer g_async_queue_pop (GAsyncQueue *queue); gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue); gpointer g_async_queue_try_pop (GAsyncQueue *queue); gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue); gpointer g_async_queue_timed_pop (GAsyncQueue *queue, GTimeVal *end_time); gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue, GTimeVal *end_time); # 106 "/usr/local/include/glib-2.0/glib/gasyncqueue.h" gint g_async_queue_length (GAsyncQueue *queue); gint g_async_queue_length_unlocked (GAsyncQueue *queue); void g_async_queue_sort (GAsyncQueue *queue, GCompareDataFunc func, gpointer user_data); void g_async_queue_sort_unlocked (GAsyncQueue *queue, GCompareDataFunc func, gpointer user_data); GMutex* _g_async_queue_get_mutex (GAsyncQueue *queue); # 35 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gatomic.h" 1 # 36 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gbacktrace.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gbacktrace.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gbacktrace.h" 2 # 1 "/usr/include/signal.h" 1 3 4 # 38 "/usr/include/signal.h" 3 4 # 1 "/usr/include/sys/signal.h" 1 3 4 # 43 "/usr/include/sys/signal.h" 3 4 # 1 "/usr/include/sys/_sigset.h" 1 3 4 # 51 "/usr/include/sys/_sigset.h" 3 4 typedef struct __sigset { __uint32_t __bits[4]; } __sigset_t; # 44 "/usr/include/sys/signal.h" 2 3 4 # 1 "/usr/include/machine/signal.h" 1 3 4 # 43 "/usr/include/machine/signal.h" 3 4 typedef int sig_atomic_t; # 1 "/usr/include/machine/trap.h" 1 3 4 # 47 "/usr/include/machine/signal.h" 2 3 4 # 88 "/usr/include/machine/signal.h" 3 4 struct sigcontext { struct __sigset sc_mask; int sc_onstack; int sc_gs; int sc_fs; int sc_es; int sc_ds; int sc_edi; int sc_esi; int sc_ebp; int sc_isp; int sc_ebx; int sc_edx; int sc_ecx; int sc_eax; int sc_trapno; int sc_err; int sc_eip; int sc_cs; int sc_efl; int sc_esp; int sc_ss; int sc_len; int sc_fpformat; int sc_ownedfp; int sc_spare1[1]; int sc_fpstate[128] __attribute__((__aligned__(16))); int sc_fsbase; int sc_gsbase; int sc_spare2[6]; }; # 47 "/usr/include/sys/signal.h" 2 3 4 # 141 "/usr/include/sys/signal.h" 3 4 typedef void __sighandler_t(int); typedef __sigset_t sigset_t; union sigval { int sival_int; void *sival_ptr; int sigval_int; void *sigval_ptr; }; struct sigevent { int sigev_notify; int sigev_signo; union sigval sigev_value; union { __lwpid_t _threadid; struct { void (*_function)(union sigval); void *_attribute; } _sigev_thread; long __spare__[8]; } _sigev_un; }; # 193 "/usr/include/sys/signal.h" 3 4 typedef struct __siginfo { int si_signo; int si_errno; int si_code; __pid_t si_pid; __uid_t si_uid; int si_status; void *si_addr; union sigval si_value; union { struct { int _trapno; } _fault; struct { int _timerid; int _overrun; } _timer; struct { int _mqd; } _mesgq; struct { long _band; } _poll; struct { long __spare1__; int __spare2__[7]; } __spare__; } _reason; } siginfo_t; # 291 "/usr/include/sys/signal.h" 3 4 struct __siginfo; struct sigaction { union { void (*__sa_handler)(int); void (*__sa_sigaction)(int, struct __siginfo *, void *); } __sigaction_u; int sa_flags; sigset_t sa_mask; }; # 347 "/usr/include/sys/signal.h" 3 4 typedef __sighandler_t *sig_t; typedef void __siginfohandler_t(int, struct __siginfo *, void *); typedef struct sigaltstack { char *ss_sp; __size_t ss_size; int ss_flags; } stack_t; # 376 "/usr/include/sys/signal.h" 3 4 struct sigvec { __sighandler_t *sv_handler; int sv_mask; int sv_flags; }; # 403 "/usr/include/sys/signal.h" 3 4 struct sigstack { char *ss_sp; int ss_onstack; }; # 436 "/usr/include/sys/signal.h" 3 4 __sighandler_t *signal(int, __sighandler_t *); # 39 "/usr/include/signal.h" 2 3 4 extern const char *const sys_signame[32]; extern const char *const sys_siglist[32]; extern const int sys_nsig; typedef __pid_t pid_t; struct pthread; typedef struct pthread *__pthread_t; typedef __pthread_t pthread_t; int raise(int); int kill(__pid_t, int); int pthread_kill(__pthread_t, int); int pthread_sigmask(int, const __sigset_t *, __sigset_t *); int sigaction(int, const struct sigaction * restrict, struct sigaction * restrict); int sigaddset(sigset_t *, int); int sigdelset(sigset_t *, int); int sigemptyset(sigset_t *); int sigfillset(sigset_t *); int sigismember(const sigset_t *, int); int sigpending(sigset_t *); int sigprocmask(int, const sigset_t * restrict, sigset_t * restrict); int sigsuspend(const sigset_t *); int sigwait(const sigset_t * restrict, int * restrict); int sigqueue(__pid_t, int, const union sigval); struct timespec; int sigtimedwait(const sigset_t * restrict, siginfo_t * restrict, const struct timespec * restrict); int sigwaitinfo(const sigset_t * restrict, siginfo_t * restrict); int killpg(__pid_t, int); int sigaltstack(const stack_t * restrict, stack_t * restrict); int sighold(int); int sigignore(int); int sigpause(int); int sigrelse(int); void (*sigset(int, void (*)(int)))(int); int xsi_sigpause(int); int siginterrupt(int, int); void psignal(unsigned int, const char *); int sigblock(int); struct __ucontext; int sigreturn(const struct __ucontext *); int sigsetmask(int); int sigstack(const struct sigstack *, struct sigstack *); int sigvec(int, struct sigvec *, struct sigvec *); # 36 "/usr/local/include/glib-2.0/glib/gbacktrace.h" 2 # 48 "/usr/local/include/glib-2.0/glib/gbacktrace.h" void g_on_error_query (const gchar *prg_name); void g_on_error_stack_trace (const gchar *prg_name); # 37 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gbase64.h" 1 # 28 "/usr/local/include/glib-2.0/glib/gbase64.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 29 "/usr/local/include/glib-2.0/glib/gbase64.h" 2 gsize g_base64_encode_step (const guchar *in, gsize len, gboolean break_lines, gchar *out, gint *state, gint *save); gsize g_base64_encode_close (gboolean break_lines, gchar *out, gint *state, gint *save); gchar* g_base64_encode (const guchar *data, gsize len) __attribute__((__malloc__)); gsize g_base64_decode_step (const gchar *in, gsize len, guchar *out, gint *state, guint *save); guchar *g_base64_decode (const gchar *text, gsize *out_len) __attribute__((__malloc__)); guchar *g_base64_decode_inplace (gchar *text, gsize *out_len); # 38 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gbookmarkfile.h" 1 # 27 "/usr/local/include/glib-2.0/glib/gbookmarkfile.h" # 1 "/usr/local/include/glib-2.0/glib/gerror.h" 1 # 28 "/usr/local/include/glib-2.0/glib/gbookmarkfile.h" 2 # 1 "/usr/include/time.h" 1 3 4 # 60 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; typedef __time_t time_t; # 79 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; typedef __timer_t timer_t; # 1 "/usr/include/sys/timespec.h" 1 3 4 # 46 "/usr/include/sys/timespec.h" 3 4 struct timespec { time_t tv_sec; long tv_nsec; }; # 69 "/usr/include/sys/timespec.h" 3 4 struct itimerspec { struct timespec it_interval; struct timespec it_value; }; # 89 "/usr/include/time.h" 2 3 4 # 117 "/usr/include/time.h" 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long tm_gmtoff; char *tm_zone; }; extern char *tzname[]; char *asctime(const struct tm *); clock_t clock(void); char *ctime(const time_t *); double difftime(time_t, time_t); struct tm *gmtime(const time_t *); struct tm *localtime(const time_t *); time_t mktime(struct tm *); size_t strftime(char * restrict, size_t, const char * restrict, const struct tm * restrict); time_t time(time_t *); struct sigevent; int timer_create(clockid_t, struct sigevent *restrict, timer_t *restrict); int timer_delete(timer_t); int timer_gettime(timer_t, struct itimerspec *); int timer_getoverrun(timer_t); int timer_settime(timer_t, int, const struct itimerspec *restrict, struct itimerspec *restrict); void tzset(void); int clock_getres(clockid_t, struct timespec *); int clock_gettime(clockid_t, struct timespec *); int clock_settime(clockid_t, const struct timespec *); int nanosleep(const struct timespec *, struct timespec *); char *asctime_r(const struct tm *, char *); char *ctime_r(const time_t *, char *); struct tm *gmtime_r(const time_t *, struct tm *); struct tm *localtime_r(const time_t *, struct tm *); char *strptime(const char * restrict, const char * restrict, struct tm * restrict); char *timezone(int, int); void tzsetwall(void); time_t timelocal(struct tm * const); time_t timegm(struct tm * const); # 29 "/usr/local/include/glib-2.0/glib/gbookmarkfile.h" 2 typedef enum { G_BOOKMARK_FILE_ERROR_INVALID_URI, G_BOOKMARK_FILE_ERROR_INVALID_VALUE, G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED, G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND, G_BOOKMARK_FILE_ERROR_READ, G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING, G_BOOKMARK_FILE_ERROR_WRITE, G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND } GBookmarkFileError; GQuark g_bookmark_file_error_quark (void); typedef struct _GBookmarkFile GBookmarkFile; GBookmarkFile *g_bookmark_file_new (void); void g_bookmark_file_free (GBookmarkFile *bookmark); gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark, const gchar *filename, GError **error); gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark, const gchar *data, gsize length, GError **error); gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark, const gchar *file, gchar **full_path, GError **error); gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark, gsize *length, GError **error) __attribute__((__malloc__)); gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark, const gchar *filename, GError **error); void g_bookmark_file_set_title (GBookmarkFile *bookmark, const gchar *uri, const gchar *title); gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark, const gchar *uri, GError **error) __attribute__((__malloc__)); void g_bookmark_file_set_description (GBookmarkFile *bookmark, const gchar *uri, const gchar *description); gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark, const gchar *uri, GError **error) __attribute__((__malloc__)); void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark, const gchar *uri, const gchar *mime_type); gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark, const gchar *uri, GError **error) __attribute__((__malloc__)); void g_bookmark_file_set_groups (GBookmarkFile *bookmark, const gchar *uri, const gchar **groups, gsize length); void g_bookmark_file_add_group (GBookmarkFile *bookmark, const gchar *uri, const gchar *group); gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark, const gchar *uri, const gchar *group, GError **error); gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark, const gchar *uri, gsize *length, GError **error) __attribute__((__malloc__)); void g_bookmark_file_add_application (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, const gchar *exec); gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, GError **error); gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark, const gchar *uri, gsize *length, GError **error) __attribute__((__malloc__)); gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, const gchar *exec, gint count, time_t stamp, GError **error); gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, gchar **exec, guint *count, time_t *stamp, GError **error); void g_bookmark_file_set_is_private (GBookmarkFile *bookmark, const gchar *uri, gboolean is_private); gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark, const gchar *uri, GError **error); void g_bookmark_file_set_icon (GBookmarkFile *bookmark, const gchar *uri, const gchar *href, const gchar *mime_type); gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark, const gchar *uri, gchar **href, gchar **mime_type, GError **error); void g_bookmark_file_set_added (GBookmarkFile *bookmark, const gchar *uri, time_t added); time_t g_bookmark_file_get_added (GBookmarkFile *bookmark, const gchar *uri, GError **error); void g_bookmark_file_set_modified (GBookmarkFile *bookmark, const gchar *uri, time_t modified); time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark, const gchar *uri, GError **error); void g_bookmark_file_set_visited (GBookmarkFile *bookmark, const gchar *uri, time_t visited); time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark, const gchar *uri, GError **error); gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark, const gchar *uri); gint g_bookmark_file_get_size (GBookmarkFile *bookmark); gchar ** g_bookmark_file_get_uris (GBookmarkFile *bookmark, gsize *length) __attribute__((__malloc__)); gboolean g_bookmark_file_remove_group (GBookmarkFile *bookmark, const gchar *uri, const gchar *group, GError **error); gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, GError **error); gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark, const gchar *uri, GError **error); gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark, const gchar *old_uri, const gchar *new_uri, GError **error); # 39 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gcache.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gcache.h" # 1 "/usr/local/include/glib-2.0/glib/glist.h" 1 # 34 "/usr/local/include/glib-2.0/glib/glist.h" # 1 "/usr/local/include/glib-2.0/glib/gmem.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gmem.h" # 1 "/usr/local/include/glib-2.0/glib/gslice.h" 1 # 31 "/usr/local/include/glib-2.0/glib/gslice.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 32 "/usr/local/include/glib-2.0/glib/gslice.h" 2 gpointer g_slice_alloc (gsize block_size) __attribute__((__malloc__)) ; gpointer g_slice_alloc0 (gsize block_size) __attribute__((__malloc__)) ; gpointer g_slice_copy (gsize block_size, gconstpointer mem_block) __attribute__((__malloc__)) ; void g_slice_free1 (gsize block_size, gpointer mem_block); void g_slice_free_chain_with_offset (gsize block_size, gpointer mem_chain, gsize next_offset); # 76 "/usr/local/include/glib-2.0/glib/gslice.h" typedef enum { G_SLICE_CONFIG_ALWAYS_MALLOC = 1, G_SLICE_CONFIG_BYPASS_MAGAZINES, G_SLICE_CONFIG_WORKING_SET_MSECS, G_SLICE_CONFIG_COLOR_INCREMENT, G_SLICE_CONFIG_CHUNK_SIZES, G_SLICE_CONFIG_CONTENTION_COUNTER } GSliceConfig; void g_slice_set_config (GSliceConfig ckey, gint64 value); gint64 g_slice_get_config (GSliceConfig ckey); gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values); # 35 "/usr/local/include/glib-2.0/glib/gmem.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 36 "/usr/local/include/glib-2.0/glib/gmem.h" 2 typedef struct _GMemVTable GMemVTable; # 51 "/usr/local/include/glib-2.0/glib/gmem.h" gpointer g_malloc (gsize n_bytes) __attribute__((__malloc__)) ; gpointer g_malloc0 (gsize n_bytes) __attribute__((__malloc__)) ; gpointer g_realloc (gpointer mem, gsize n_bytes) __attribute__((warn_unused_result)); void g_free (gpointer mem); gpointer g_try_malloc (gsize n_bytes) __attribute__((__malloc__)) ; gpointer g_try_malloc0 (gsize n_bytes) __attribute__((__malloc__)) ; gpointer g_try_realloc (gpointer mem, gsize n_bytes) __attribute__((warn_unused_result)); # 83 "/usr/local/include/glib-2.0/glib/gmem.h" struct _GMemVTable { gpointer (*malloc) (gsize n_bytes); gpointer (*realloc) (gpointer mem, gsize n_bytes); void (*free) (gpointer mem); gpointer (*calloc) (gsize n_blocks, gsize n_block_bytes); gpointer (*try_malloc) (gsize n_bytes); gpointer (*try_realloc) (gpointer mem, gsize n_bytes); }; void g_mem_set_vtable (GMemVTable *vtable); gboolean g_mem_is_system_malloc (void); extern gboolean g_mem_gc_friendly; extern GMemVTable *glib_mem_profiler_table; void g_mem_profile (void); typedef struct _GAllocator GAllocator; typedef struct _GMemChunk GMemChunk; # 128 "/usr/local/include/glib-2.0/glib/gmem.h" GMemChunk* g_mem_chunk_new (const gchar *name, gint atom_size, gsize area_size, gint type); void g_mem_chunk_destroy (GMemChunk *mem_chunk); gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk); gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk); void g_mem_chunk_free (GMemChunk *mem_chunk, gpointer mem); void g_mem_chunk_clean (GMemChunk *mem_chunk); void g_mem_chunk_reset (GMemChunk *mem_chunk); void g_mem_chunk_print (GMemChunk *mem_chunk); void g_mem_chunk_info (void); void g_blow_chunks (void); GAllocator*g_allocator_new (const gchar *name, guint n_preallocs); void g_allocator_free (GAllocator *allocator); # 35 "/usr/local/include/glib-2.0/glib/glist.h" 2 typedef struct _GList GList; struct _GList { gpointer data; GList *next; GList *prev; }; GList* g_list_alloc (void) __attribute__((warn_unused_result)); void g_list_free (GList *list); void g_list_free_1 (GList *list); GList* g_list_append (GList *list, gpointer data) __attribute__((warn_unused_result)); GList* g_list_prepend (GList *list, gpointer data) __attribute__((warn_unused_result)); GList* g_list_insert (GList *list, gpointer data, gint position) __attribute__((warn_unused_result)); GList* g_list_insert_sorted (GList *list, gpointer data, GCompareFunc func) __attribute__((warn_unused_result)); GList* g_list_insert_sorted_with_data (GList *list, gpointer data, GCompareDataFunc func, gpointer user_data) __attribute__((warn_unused_result)); GList* g_list_insert_before (GList *list, GList *sibling, gpointer data) __attribute__((warn_unused_result)); GList* g_list_concat (GList *list1, GList *list2) __attribute__((warn_unused_result)); GList* g_list_remove (GList *list, gconstpointer data) __attribute__((warn_unused_result)); GList* g_list_remove_all (GList *list, gconstpointer data) __attribute__((warn_unused_result)); GList* g_list_remove_link (GList *list, GList *llink) __attribute__((warn_unused_result)); GList* g_list_delete_link (GList *list, GList *link_) __attribute__((warn_unused_result)); GList* g_list_reverse (GList *list) __attribute__((warn_unused_result)); GList* g_list_copy (GList *list) __attribute__((warn_unused_result)); GList* g_list_nth (GList *list, guint n); GList* g_list_nth_prev (GList *list, guint n); GList* g_list_find (GList *list, gconstpointer data); GList* g_list_find_custom (GList *list, gconstpointer data, GCompareFunc func); gint g_list_position (GList *list, GList *llink); gint g_list_index (GList *list, gconstpointer data); GList* g_list_last (GList *list); GList* g_list_first (GList *list); guint g_list_length (GList *list); void g_list_foreach (GList *list, GFunc func, gpointer user_data); GList* g_list_sort (GList *list, GCompareFunc compare_func) __attribute__((warn_unused_result)); GList* g_list_sort_with_data (GList *list, GCompareDataFunc compare_func, gpointer user_data) __attribute__((warn_unused_result)); gpointer g_list_nth_data (GList *list, guint n); void g_list_push_allocator (gpointer allocator); void g_list_pop_allocator (void); # 35 "/usr/local/include/glib-2.0/glib/gcache.h" 2 typedef struct _GCache GCache; typedef gpointer (*GCacheNewFunc) (gpointer key); typedef gpointer (*GCacheDupFunc) (gpointer value); typedef void (*GCacheDestroyFunc) (gpointer value); GCache* g_cache_new (GCacheNewFunc value_new_func, GCacheDestroyFunc value_destroy_func, GCacheDupFunc key_dup_func, GCacheDestroyFunc key_destroy_func, GHashFunc hash_key_func, GHashFunc hash_value_func, GEqualFunc key_equal_func); void g_cache_destroy (GCache *cache); gpointer g_cache_insert (GCache *cache, gpointer key); void g_cache_remove (GCache *cache, gconstpointer value); void g_cache_key_foreach (GCache *cache, GHFunc func, gpointer user_data); void g_cache_value_foreach (GCache *cache, GHFunc func, gpointer user_data); # 40 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gchecksum.h" 1 # 28 "/usr/local/include/glib-2.0/glib/gchecksum.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 29 "/usr/local/include/glib-2.0/glib/gchecksum.h" 2 # 46 "/usr/local/include/glib-2.0/glib/gchecksum.h" typedef enum { G_CHECKSUM_MD5, G_CHECKSUM_SHA1, G_CHECKSUM_SHA256 } GChecksumType; # 61 "/usr/local/include/glib-2.0/glib/gchecksum.h" typedef struct _GChecksum GChecksum; gssize g_checksum_type_get_length (GChecksumType checksum_type); GChecksum * g_checksum_new (GChecksumType checksum_type); void g_checksum_reset (GChecksum *checksum); GChecksum * g_checksum_copy (const GChecksum *checksum); void g_checksum_free (GChecksum *checksum); void g_checksum_update (GChecksum *checksum, const guchar *data, gssize length); const gchar *g_checksum_get_string (GChecksum *checksum); void g_checksum_get_digest (GChecksum *checksum, guint8 *buffer, gsize *digest_len); gchar *g_compute_checksum_for_data (GChecksumType checksum_type, const guchar *data, gsize length); gchar *g_compute_checksum_for_string (GChecksumType checksum_type, const gchar *str, gssize length); # 41 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gcompletion.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gcompletion.h" # 1 "/usr/local/include/glib-2.0/glib/glist.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gcompletion.h" 2 typedef struct _GCompletion GCompletion; typedef gchar* (*GCompletionFunc) (gpointer); typedef gint (*GCompletionStrncmpFunc) (const gchar *s1, const gchar *s2, gsize n); struct _GCompletion { GList* items; GCompletionFunc func; gchar* prefix; GList* cache; GCompletionStrncmpFunc strncmp_func; }; GCompletion* g_completion_new (GCompletionFunc func); void g_completion_add_items (GCompletion* cmp, GList* items); void g_completion_remove_items (GCompletion* cmp, GList* items); void g_completion_clear_items (GCompletion* cmp); GList* g_completion_complete (GCompletion* cmp, const gchar* prefix, gchar** new_prefix); GList* g_completion_complete_utf8 (GCompletion *cmp, const gchar* prefix, gchar** new_prefix); void g_completion_set_compare (GCompletion *cmp, GCompletionStrncmpFunc strncmp_func); void g_completion_free (GCompletion* cmp); # 42 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gconvert.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gconvert.h" # 1 "/usr/local/include/glib-2.0/glib/gerror.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gconvert.h" 2 typedef enum { G_CONVERT_ERROR_NO_CONVERSION, G_CONVERT_ERROR_ILLEGAL_SEQUENCE, G_CONVERT_ERROR_FAILED, G_CONVERT_ERROR_PARTIAL_INPUT, G_CONVERT_ERROR_BAD_URI, G_CONVERT_ERROR_NOT_ABSOLUTE_PATH } GConvertError; GQuark g_convert_error_quark (void); typedef struct _GIConv *GIConv; GIConv g_iconv_open (const gchar *to_codeset, const gchar *from_codeset); gsize g_iconv (GIConv converter, gchar **inbuf, gsize *inbytes_left, gchar **outbuf, gsize *outbytes_left); gint g_iconv_close (GIConv converter); gchar* g_convert (const gchar *str, gssize len, const gchar *to_codeset, const gchar *from_codeset, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); gchar* g_convert_with_iconv (const gchar *str, gssize len, GIConv converter, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); gchar* g_convert_with_fallback (const gchar *str, gssize len, const gchar *to_codeset, const gchar *from_codeset, gchar *fallback, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); gchar* g_locale_to_utf8 (const gchar *opsysstring, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); gchar* g_locale_from_utf8 (const gchar *utf8string, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); # 111 "/usr/local/include/glib-2.0/glib/gconvert.h" gchar* g_filename_to_utf8 (const gchar *opsysstring, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); gchar* g_filename_from_utf8 (const gchar *utf8string, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__((__malloc__)); gchar *g_filename_from_uri (const gchar *uri, gchar **hostname, GError **error) __attribute__((__malloc__)); gchar *g_filename_to_uri (const gchar *filename, const gchar *hostname, GError **error) __attribute__((__malloc__)); gchar *g_filename_display_name (const gchar *filename) __attribute__((__malloc__)); gboolean g_get_filename_charsets (const gchar ***charsets); gchar *g_filename_display_basename (const gchar *filename) __attribute__((__malloc__)); gchar **g_uri_list_extract_uris (const gchar *uri_list) __attribute__((__malloc__)); # 43 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gdataset.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gdataset.h" # 1 "/usr/local/include/glib-2.0/glib/gquark.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gdataset.h" 2 typedef struct _GData GData; typedef void (*GDataForeachFunc) (GQuark key_id, gpointer data, gpointer user_data); void g_datalist_init (GData **datalist); void g_datalist_clear (GData **datalist); gpointer g_datalist_id_get_data (GData **datalist, GQuark key_id); void g_datalist_id_set_data_full (GData **datalist, GQuark key_id, gpointer data, GDestroyNotify destroy_func); gpointer g_datalist_id_remove_no_notify (GData **datalist, GQuark key_id); void g_datalist_foreach (GData **datalist, GDataForeachFunc func, gpointer user_data); # 69 "/usr/local/include/glib-2.0/glib/gdataset.h" void g_datalist_set_flags (GData **datalist, guint flags); void g_datalist_unset_flags (GData **datalist, guint flags); guint g_datalist_get_flags (GData **datalist); # 93 "/usr/local/include/glib-2.0/glib/gdataset.h" void g_dataset_destroy (gconstpointer dataset_location); gpointer g_dataset_id_get_data (gconstpointer dataset_location, GQuark key_id); void g_dataset_id_set_data_full (gconstpointer dataset_location, GQuark key_id, gpointer data, GDestroyNotify destroy_func); gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location, GQuark key_id); void g_dataset_foreach (gconstpointer dataset_location, GDataForeachFunc func, gpointer user_data); # 44 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gdate.h" 1 # 36 "/usr/local/include/glib-2.0/glib/gdate.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 37 "/usr/local/include/glib-2.0/glib/gdate.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gquark.h" 1 # 38 "/usr/local/include/glib-2.0/glib/gdate.h" 2 # 50 "/usr/local/include/glib-2.0/glib/gdate.h" typedef gint32 GTime; typedef guint16 GDateYear; typedef guint8 GDateDay; typedef struct _GDate GDate; typedef enum { G_DATE_DAY = 0, G_DATE_MONTH = 1, G_DATE_YEAR = 2 } GDateDMY; typedef enum { G_DATE_BAD_WEEKDAY = 0, G_DATE_MONDAY = 1, G_DATE_TUESDAY = 2, G_DATE_WEDNESDAY = 3, G_DATE_THURSDAY = 4, G_DATE_FRIDAY = 5, G_DATE_SATURDAY = 6, G_DATE_SUNDAY = 7 } GDateWeekday; typedef enum { G_DATE_BAD_MONTH = 0, G_DATE_JANUARY = 1, G_DATE_FEBRUARY = 2, G_DATE_MARCH = 3, G_DATE_APRIL = 4, G_DATE_MAY = 5, G_DATE_JUNE = 6, G_DATE_JULY = 7, G_DATE_AUGUST = 8, G_DATE_SEPTEMBER = 9, G_DATE_OCTOBER = 10, G_DATE_NOVEMBER = 11, G_DATE_DECEMBER = 12 } GDateMonth; # 101 "/usr/local/include/glib-2.0/glib/gdate.h" struct _GDate { guint julian_days : 32; guint julian : 1; guint dmy : 1; guint day : 6; guint month : 4; guint year : 16; }; GDate* g_date_new (void); GDate* g_date_new_dmy (GDateDay day, GDateMonth month, GDateYear year); GDate* g_date_new_julian (guint32 julian_day); void g_date_free (GDate *date); gboolean g_date_valid (const GDate *date); gboolean g_date_valid_day (GDateDay day) __attribute__((__const__)); gboolean g_date_valid_month (GDateMonth month) __attribute__((__const__)); gboolean g_date_valid_year (GDateYear year) __attribute__((__const__)); gboolean g_date_valid_weekday (GDateWeekday weekday) __attribute__((__const__)); gboolean g_date_valid_julian (guint32 julian_date) __attribute__((__const__)); gboolean g_date_valid_dmy (GDateDay day, GDateMonth month, GDateYear year) __attribute__((__const__)); GDateWeekday g_date_get_weekday (const GDate *date); GDateMonth g_date_get_month (const GDate *date); GDateYear g_date_get_year (const GDate *date); GDateDay g_date_get_day (const GDate *date); guint32 g_date_get_julian (const GDate *date); guint g_date_get_day_of_year (const GDate *date); guint g_date_get_monday_week_of_year (const GDate *date); guint g_date_get_sunday_week_of_year (const GDate *date); guint g_date_get_iso8601_week_of_year (const GDate *date); void g_date_clear (GDate *date, guint n_dates); void g_date_set_parse (GDate *date, const gchar *str); void g_date_set_time_t (GDate *date, time_t timet); void g_date_set_time_val (GDate *date, GTimeVal *timeval); void g_date_set_time (GDate *date, GTime time_); void g_date_set_month (GDate *date, GDateMonth month); void g_date_set_day (GDate *date, GDateDay day); void g_date_set_year (GDate *date, GDateYear year); void g_date_set_dmy (GDate *date, GDateDay day, GDateMonth month, GDateYear y); void g_date_set_julian (GDate *date, guint32 julian_date); gboolean g_date_is_first_of_month (const GDate *date); gboolean g_date_is_last_of_month (const GDate *date); void g_date_add_days (GDate *date, guint n_days); void g_date_subtract_days (GDate *date, guint n_days); void g_date_add_months (GDate *date, guint n_months); void g_date_subtract_months (GDate *date, guint n_months); void g_date_add_years (GDate *date, guint n_years); void g_date_subtract_years (GDate *date, guint n_years); gboolean g_date_is_leap_year (GDateYear year) __attribute__((__const__)); guint8 g_date_get_days_in_month (GDateMonth month, GDateYear year) __attribute__((__const__)); guint8 g_date_get_monday_weeks_in_year (GDateYear year) __attribute__((__const__)); guint8 g_date_get_sunday_weeks_in_year (GDateYear year) __attribute__((__const__)); gint g_date_days_between (const GDate *date1, const GDate *date2); gint g_date_compare (const GDate *lhs, const GDate *rhs); void g_date_to_struct_tm (const GDate *date, struct tm *tm); void g_date_clamp (GDate *date, const GDate *min_date, const GDate *max_date); void g_date_order (GDate *date1, GDate *date2); gsize g_date_strftime (gchar *s, gsize slen, const gchar *format, const GDate *date); # 45 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gdir.h" 1 # 31 "/usr/local/include/glib-2.0/glib/gdir.h" # 1 "/usr/local/include/glib-2.0/glib/gerror.h" 1 # 32 "/usr/local/include/glib-2.0/glib/gdir.h" 2 typedef struct _GDir GDir; GDir * g_dir_open (const gchar *path, guint flags, GError **error); const gchar *g_dir_read_name (GDir *dir); void g_dir_rewind (GDir *dir); void g_dir_close (GDir *dir); # 46 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gerror.h" 1 # 47 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gfileutils.h" 1 # 28 "/usr/local/include/glib-2.0/glib/gfileutils.h" # 1 "/usr/local/include/glib-2.0/glib/gerror.h" 1 # 29 "/usr/local/include/glib-2.0/glib/gfileutils.h" 2 typedef enum { G_FILE_ERROR_EXIST, G_FILE_ERROR_ISDIR, G_FILE_ERROR_ACCES, G_FILE_ERROR_NAMETOOLONG, G_FILE_ERROR_NOENT, G_FILE_ERROR_NOTDIR, G_FILE_ERROR_NXIO, G_FILE_ERROR_NODEV, G_FILE_ERROR_ROFS, G_FILE_ERROR_TXTBSY, G_FILE_ERROR_FAULT, G_FILE_ERROR_LOOP, G_FILE_ERROR_NOSPC, G_FILE_ERROR_NOMEM, G_FILE_ERROR_MFILE, G_FILE_ERROR_NFILE, G_FILE_ERROR_BADF, G_FILE_ERROR_INVAL, G_FILE_ERROR_PIPE, G_FILE_ERROR_AGAIN, G_FILE_ERROR_INTR, G_FILE_ERROR_IO, G_FILE_ERROR_PERM, G_FILE_ERROR_NOSYS, G_FILE_ERROR_FAILED } GFileError; typedef enum { G_FILE_TEST_IS_REGULAR = 1 << 0, G_FILE_TEST_IS_SYMLINK = 1 << 1, G_FILE_TEST_IS_DIR = 1 << 2, G_FILE_TEST_IS_EXECUTABLE = 1 << 3, G_FILE_TEST_EXISTS = 1 << 4 } GFileTest; GQuark g_file_error_quark (void); GFileError g_file_error_from_errno (gint err_no); # 87 "/usr/local/include/glib-2.0/glib/gfileutils.h" gboolean g_file_test (const gchar *filename, GFileTest test); gboolean g_file_get_contents (const gchar *filename, gchar **contents, gsize *length, GError **error); gboolean g_file_set_contents (const gchar *filename, const gchar *contents, gssize length, GError **error); gchar *g_file_read_link (const gchar *filename, GError **error); gint g_mkstemp (gchar *tmpl); gint g_mkstemp_full (gchar *tmpl, int flags, int mode); gint g_file_open_tmp (const gchar *tmpl, gchar **name_used, GError **error); char *g_format_size_for_display (goffset size); gchar *g_build_path (const gchar *separator, const gchar *first_element, ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); gchar *g_build_pathv (const gchar *separator, gchar **args) __attribute__((__malloc__)); gchar *g_build_filename (const gchar *first_element, ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); gchar *g_build_filenamev (gchar **args) __attribute__((__malloc__)); int g_mkdir_with_parents (const gchar *pathname, int mode); # 48 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/ghash.h" 1 # 34 "/usr/local/include/glib-2.0/glib/ghash.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 35 "/usr/local/include/glib-2.0/glib/ghash.h" 2 # 1 "/usr/local/include/glib-2.0/glib/glist.h" 1 # 36 "/usr/local/include/glib-2.0/glib/ghash.h" 2 typedef struct _GHashTable GHashTable; typedef gboolean (*GHRFunc) (gpointer key, gpointer value, gpointer user_data); typedef struct _GHashTableIter GHashTableIter; struct _GHashTableIter { gpointer dummy1; gpointer dummy2; gpointer dummy3; int dummy4; gboolean dummy5; gpointer dummy6; }; GHashTable* g_hash_table_new (GHashFunc hash_func, GEqualFunc key_equal_func); GHashTable* g_hash_table_new_full (GHashFunc hash_func, GEqualFunc key_equal_func, GDestroyNotify key_destroy_func, GDestroyNotify value_destroy_func); void g_hash_table_destroy (GHashTable *hash_table); void g_hash_table_insert (GHashTable *hash_table, gpointer key, gpointer value); void g_hash_table_replace (GHashTable *hash_table, gpointer key, gpointer value); gboolean g_hash_table_remove (GHashTable *hash_table, gconstpointer key); void g_hash_table_remove_all (GHashTable *hash_table); gboolean g_hash_table_steal (GHashTable *hash_table, gconstpointer key); void g_hash_table_steal_all (GHashTable *hash_table); gpointer g_hash_table_lookup (GHashTable *hash_table, gconstpointer key); gboolean g_hash_table_lookup_extended (GHashTable *hash_table, gconstpointer lookup_key, gpointer *orig_key, gpointer *value); void g_hash_table_foreach (GHashTable *hash_table, GHFunc func, gpointer user_data); gpointer g_hash_table_find (GHashTable *hash_table, GHRFunc predicate, gpointer user_data); guint g_hash_table_foreach_remove (GHashTable *hash_table, GHRFunc func, gpointer user_data); guint g_hash_table_foreach_steal (GHashTable *hash_table, GHRFunc func, gpointer user_data); guint g_hash_table_size (GHashTable *hash_table); GList * g_hash_table_get_keys (GHashTable *hash_table); GList * g_hash_table_get_values (GHashTable *hash_table); void g_hash_table_iter_init (GHashTableIter *iter, GHashTable *hash_table); gboolean g_hash_table_iter_next (GHashTableIter *iter, gpointer *key, gpointer *value); GHashTable* g_hash_table_iter_get_hash_table (GHashTableIter *iter); void g_hash_table_iter_remove (GHashTableIter *iter); void g_hash_table_iter_steal (GHashTableIter *iter); GHashTable* g_hash_table_ref (GHashTable *hash_table); void g_hash_table_unref (GHashTable *hash_table); # 125 "/usr/local/include/glib-2.0/glib/ghash.h" gboolean g_str_equal (gconstpointer v1, gconstpointer v2); guint g_str_hash (gconstpointer v); gboolean g_int_equal (gconstpointer v1, gconstpointer v2); guint g_int_hash (gconstpointer v); gboolean g_int64_equal (gconstpointer v1, gconstpointer v2); guint g_int64_hash (gconstpointer v); gboolean g_double_equal (gconstpointer v1, gconstpointer v2); guint g_double_hash (gconstpointer v); guint g_direct_hash (gconstpointer v) __attribute__((__const__)); gboolean g_direct_equal (gconstpointer v1, gconstpointer v2) __attribute__((__const__)); # 49 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/ghook.h" 1 # 34 "/usr/local/include/glib-2.0/glib/ghook.h" # 1 "/usr/local/include/glib-2.0/glib/gmem.h" 1 # 35 "/usr/local/include/glib-2.0/glib/ghook.h" 2 typedef struct _GHook GHook; typedef struct _GHookList GHookList; typedef gint (*GHookCompareFunc) (GHook *new_hook, GHook *sibling); typedef gboolean (*GHookFindFunc) (GHook *hook, gpointer data); typedef void (*GHookMarshaller) (GHook *hook, gpointer marshal_data); typedef gboolean (*GHookCheckMarshaller) (GHook *hook, gpointer marshal_data); typedef void (*GHookFunc) (gpointer data); typedef gboolean (*GHookCheckFunc) (gpointer data); typedef void (*GHookFinalizeFunc) (GHookList *hook_list, GHook *hook); typedef enum { G_HOOK_FLAG_ACTIVE = 1 << 0, G_HOOK_FLAG_IN_CALL = 1 << 1, G_HOOK_FLAG_MASK = 0x0f } GHookFlagMask; struct _GHookList { gulong seq_id; guint hook_size : 16; guint is_setup : 1; GHook *hooks; gpointer dummy3; GHookFinalizeFunc finalize_hook; gpointer dummy[2]; }; struct _GHook { gpointer data; GHook *next; GHook *prev; guint ref_count; gulong hook_id; guint flags; gpointer func; GDestroyNotify destroy; }; # 106 "/usr/local/include/glib-2.0/glib/ghook.h" void g_hook_list_init (GHookList *hook_list, guint hook_size); void g_hook_list_clear (GHookList *hook_list); GHook* g_hook_alloc (GHookList *hook_list); void g_hook_free (GHookList *hook_list, GHook *hook); GHook * g_hook_ref (GHookList *hook_list, GHook *hook); void g_hook_unref (GHookList *hook_list, GHook *hook); gboolean g_hook_destroy (GHookList *hook_list, gulong hook_id); void g_hook_destroy_link (GHookList *hook_list, GHook *hook); void g_hook_prepend (GHookList *hook_list, GHook *hook); void g_hook_insert_before (GHookList *hook_list, GHook *sibling, GHook *hook); void g_hook_insert_sorted (GHookList *hook_list, GHook *hook, GHookCompareFunc func); GHook* g_hook_get (GHookList *hook_list, gulong hook_id); GHook* g_hook_find (GHookList *hook_list, gboolean need_valids, GHookFindFunc func, gpointer data); GHook* g_hook_find_data (GHookList *hook_list, gboolean need_valids, gpointer data); GHook* g_hook_find_func (GHookList *hook_list, gboolean need_valids, gpointer func); GHook* g_hook_find_func_data (GHookList *hook_list, gboolean need_valids, gpointer func, gpointer data); GHook* g_hook_first_valid (GHookList *hook_list, gboolean may_be_in_call); GHook* g_hook_next_valid (GHookList *hook_list, GHook *hook, gboolean may_be_in_call); gint g_hook_compare_ids (GHook *new_hook, GHook *sibling); void g_hook_list_invoke (GHookList *hook_list, gboolean may_recurse); void g_hook_list_invoke_check (GHookList *hook_list, gboolean may_recurse); void g_hook_list_marshal (GHookList *hook_list, gboolean may_recurse, GHookMarshaller marshaller, gpointer marshal_data); void g_hook_list_marshal_check (GHookList *hook_list, gboolean may_recurse, GHookCheckMarshaller marshaller, gpointer marshal_data); # 50 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/ghostutils.h" 1 # 27 "/usr/local/include/glib-2.0/glib/ghostutils.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 28 "/usr/local/include/glib-2.0/glib/ghostutils.h" 2 gboolean g_hostname_is_non_ascii (const gchar *hostname); gboolean g_hostname_is_ascii_encoded (const gchar *hostname); gboolean g_hostname_is_ip_address (const gchar *hostname); gchar *g_hostname_to_ascii (const gchar *hostname); gchar *g_hostname_to_unicode (const gchar *hostname); # 51 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/giochannel.h" 1 # 34 "/usr/local/include/glib-2.0/glib/giochannel.h" # 1 "/usr/local/include/glib-2.0/glib/gconvert.h" 1 # 35 "/usr/local/include/glib-2.0/glib/giochannel.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gmain.h" 1 # 27 "/usr/local/include/glib-2.0/glib/gmain.h" # 1 "/usr/local/include/glib-2.0/glib/gpoll.h" 1 # 27 "/usr/local/include/glib-2.0/glib/gpoll.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 28 "/usr/local/include/glib-2.0/glib/gpoll.h" 2 # 61 "/usr/local/include/glib-2.0/glib/gpoll.h" typedef struct _GPollFD GPollFD; typedef gint (*GPollFunc) (GPollFD *ufds, guint nfsd, gint timeout_); struct _GPollFD { gint fd; gushort events; gushort revents; }; # 87 "/usr/local/include/glib-2.0/glib/gpoll.h" gint g_poll (GPollFD *fds, guint nfds, gint timeout); # 28 "/usr/local/include/glib-2.0/glib/gmain.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gslist.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gslist.h" # 1 "/usr/local/include/glib-2.0/glib/gmem.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gslist.h" 2 typedef struct _GSList GSList; struct _GSList { gpointer data; GSList *next; }; GSList* g_slist_alloc (void) __attribute__((warn_unused_result)); void g_slist_free (GSList *list); void g_slist_free_1 (GSList *list); GSList* g_slist_append (GSList *list, gpointer data) __attribute__((warn_unused_result)); GSList* g_slist_prepend (GSList *list, gpointer data) __attribute__((warn_unused_result)); GSList* g_slist_insert (GSList *list, gpointer data, gint position) __attribute__((warn_unused_result)); GSList* g_slist_insert_sorted (GSList *list, gpointer data, GCompareFunc func) __attribute__((warn_unused_result)); GSList* g_slist_insert_sorted_with_data (GSList *list, gpointer data, GCompareDataFunc func, gpointer user_data) __attribute__((warn_unused_result)); GSList* g_slist_insert_before (GSList *slist, GSList *sibling, gpointer data) __attribute__((warn_unused_result)); GSList* g_slist_concat (GSList *list1, GSList *list2) __attribute__((warn_unused_result)); GSList* g_slist_remove (GSList *list, gconstpointer data) __attribute__((warn_unused_result)); GSList* g_slist_remove_all (GSList *list, gconstpointer data) __attribute__((warn_unused_result)); GSList* g_slist_remove_link (GSList *list, GSList *link_) __attribute__((warn_unused_result)); GSList* g_slist_delete_link (GSList *list, GSList *link_) __attribute__((warn_unused_result)); GSList* g_slist_reverse (GSList *list) __attribute__((warn_unused_result)); GSList* g_slist_copy (GSList *list) __attribute__((warn_unused_result)); GSList* g_slist_nth (GSList *list, guint n); GSList* g_slist_find (GSList *list, gconstpointer data); GSList* g_slist_find_custom (GSList *list, gconstpointer data, GCompareFunc func); gint g_slist_position (GSList *list, GSList *llink); gint g_slist_index (GSList *list, gconstpointer data); GSList* g_slist_last (GSList *list); guint g_slist_length (GSList *list); void g_slist_foreach (GSList *list, GFunc func, gpointer user_data); GSList* g_slist_sort (GSList *list, GCompareFunc compare_func) __attribute__((warn_unused_result)); GSList* g_slist_sort_with_data (GSList *list, GCompareDataFunc compare_func, gpointer user_data) __attribute__((warn_unused_result)); gpointer g_slist_nth_data (GSList *list, guint n); void g_slist_push_allocator (gpointer dummy); void g_slist_pop_allocator (void); # 29 "/usr/local/include/glib-2.0/glib/gmain.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gthread.h" 1 # 30 "/usr/local/include/glib-2.0/glib/gmain.h" 2 typedef struct _GMainContext GMainContext; typedef struct _GMainLoop GMainLoop; typedef struct _GSource GSource; typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs; typedef struct _GSourceFuncs GSourceFuncs; typedef gboolean (*GSourceFunc) (gpointer data); typedef void (*GChildWatchFunc) (GPid pid, gint status, gpointer data); struct _GSource { gpointer callback_data; GSourceCallbackFuncs *callback_funcs; GSourceFuncs *source_funcs; guint ref_count; GMainContext *context; gint priority; guint flags; guint source_id; GSList *poll_fds; GSource *prev; GSource *next; gpointer reserved1; gpointer reserved2; }; struct _GSourceCallbackFuncs { void (*ref) (gpointer cb_data); void (*unref) (gpointer cb_data); void (*get) (gpointer cb_data, GSource *source, GSourceFunc *func, gpointer *data); }; typedef void (*GSourceDummyMarshal) (void); struct _GSourceFuncs { gboolean (*prepare) (GSource *source, gint *timeout_); gboolean (*check) (GSource *source); gboolean (*dispatch) (GSource *source, GSourceFunc callback, gpointer user_data); void (*finalize) (GSource *source); GSourceFunc closure_callback; GSourceDummyMarshal closure_marshal; }; # 104 "/usr/local/include/glib-2.0/glib/gmain.h" GMainContext *g_main_context_new (void); GMainContext *g_main_context_ref (GMainContext *context); void g_main_context_unref (GMainContext *context); GMainContext *g_main_context_default (void); gboolean g_main_context_iteration (GMainContext *context, gboolean may_block); gboolean g_main_context_pending (GMainContext *context); GSource *g_main_context_find_source_by_id (GMainContext *context, guint source_id); GSource *g_main_context_find_source_by_user_data (GMainContext *context, gpointer user_data); GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context, GSourceFuncs *funcs, gpointer user_data); void g_main_context_wakeup (GMainContext *context); gboolean g_main_context_acquire (GMainContext *context); void g_main_context_release (GMainContext *context); gboolean g_main_context_is_owner (GMainContext *context); gboolean g_main_context_wait (GMainContext *context, GCond *cond, GMutex *mutex); gboolean g_main_context_prepare (GMainContext *context, gint *priority); gint g_main_context_query (GMainContext *context, gint max_priority, gint *timeout_, GPollFD *fds, gint n_fds); gint g_main_context_check (GMainContext *context, gint max_priority, GPollFD *fds, gint n_fds); void g_main_context_dispatch (GMainContext *context); void g_main_context_set_poll_func (GMainContext *context, GPollFunc func); GPollFunc g_main_context_get_poll_func (GMainContext *context); void g_main_context_add_poll (GMainContext *context, GPollFD *fd, gint priority); void g_main_context_remove_poll (GMainContext *context, GPollFD *fd); gint g_main_depth (void); GSource *g_main_current_source (void); void g_main_context_push_thread_default (GMainContext *context); void g_main_context_pop_thread_default (GMainContext *context); GMainContext *g_main_context_get_thread_default (void); GMainLoop *g_main_loop_new (GMainContext *context, gboolean is_running); void g_main_loop_run (GMainLoop *loop); void g_main_loop_quit (GMainLoop *loop); GMainLoop *g_main_loop_ref (GMainLoop *loop); void g_main_loop_unref (GMainLoop *loop); gboolean g_main_loop_is_running (GMainLoop *loop); GMainContext *g_main_loop_get_context (GMainLoop *loop); GSource *g_source_new (GSourceFuncs *source_funcs, guint struct_size); GSource *g_source_ref (GSource *source); void g_source_unref (GSource *source); guint g_source_attach (GSource *source, GMainContext *context); void g_source_destroy (GSource *source); void g_source_set_priority (GSource *source, gint priority); gint g_source_get_priority (GSource *source); void g_source_set_can_recurse (GSource *source, gboolean can_recurse); gboolean g_source_get_can_recurse (GSource *source); guint g_source_get_id (GSource *source); GMainContext *g_source_get_context (GSource *source); void g_source_set_callback (GSource *source, GSourceFunc func, gpointer data, GDestroyNotify notify); void g_source_set_funcs (GSource *source, GSourceFuncs *funcs); gboolean g_source_is_destroyed (GSource *source); void g_source_set_callback_indirect (GSource *source, gpointer callback_data, GSourceCallbackFuncs *callback_funcs); void g_source_add_poll (GSource *source, GPollFD *fd); void g_source_remove_poll (GSource *source, GPollFD *fd); void g_source_get_current_time (GSource *source, GTimeVal *timeval); GSource *g_idle_source_new (void); GSource *g_child_watch_source_new (GPid pid); GSource *g_timeout_source_new (guint interval); GSource *g_timeout_source_new_seconds (guint interval); void g_get_current_time (GTimeVal *result); # 259 "/usr/local/include/glib-2.0/glib/gmain.h" gboolean g_source_remove (guint tag); gboolean g_source_remove_by_user_data (gpointer user_data); gboolean g_source_remove_by_funcs_user_data (GSourceFuncs *funcs, gpointer user_data); guint g_timeout_add_full (gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify); guint g_timeout_add (guint interval, GSourceFunc function, gpointer data); guint g_timeout_add_seconds_full (gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify); guint g_timeout_add_seconds (guint interval, GSourceFunc function, gpointer data); guint g_child_watch_add_full (gint priority, GPid pid, GChildWatchFunc function, gpointer data, GDestroyNotify notify); guint g_child_watch_add (GPid pid, GChildWatchFunc function, gpointer data); guint g_idle_add (GSourceFunc function, gpointer data); guint g_idle_add_full (gint priority, GSourceFunc function, gpointer data, GDestroyNotify notify); gboolean g_idle_remove_by_data (gpointer data); extern GSourceFuncs g_timeout_funcs; extern GSourceFuncs g_child_watch_funcs; extern GSourceFuncs g_idle_funcs; # 36 "/usr/local/include/glib-2.0/glib/giochannel.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gstring.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gstring.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gstring.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gunicode.h" 1 # 29 "/usr/local/include/glib-2.0/glib/gunicode.h" # 1 "/usr/local/include/glib-2.0/glib/gerror.h" 1 # 30 "/usr/local/include/glib-2.0/glib/gunicode.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 31 "/usr/local/include/glib-2.0/glib/gunicode.h" 2 typedef guint32 gunichar; typedef guint16 gunichar2; typedef enum { G_UNICODE_CONTROL, G_UNICODE_FORMAT, G_UNICODE_UNASSIGNED, G_UNICODE_PRIVATE_USE, G_UNICODE_SURROGATE, G_UNICODE_LOWERCASE_LETTER, G_UNICODE_MODIFIER_LETTER, G_UNICODE_OTHER_LETTER, G_UNICODE_TITLECASE_LETTER, G_UNICODE_UPPERCASE_LETTER, G_UNICODE_COMBINING_MARK, G_UNICODE_ENCLOSING_MARK, G_UNICODE_NON_SPACING_MARK, G_UNICODE_DECIMAL_NUMBER, G_UNICODE_LETTER_NUMBER, G_UNICODE_OTHER_NUMBER, G_UNICODE_CONNECT_PUNCTUATION, G_UNICODE_DASH_PUNCTUATION, G_UNICODE_CLOSE_PUNCTUATION, G_UNICODE_FINAL_PUNCTUATION, G_UNICODE_INITIAL_PUNCTUATION, G_UNICODE_OTHER_PUNCTUATION, G_UNICODE_OPEN_PUNCTUATION, G_UNICODE_CURRENCY_SYMBOL, G_UNICODE_MODIFIER_SYMBOL, G_UNICODE_MATH_SYMBOL, G_UNICODE_OTHER_SYMBOL, G_UNICODE_LINE_SEPARATOR, G_UNICODE_PARAGRAPH_SEPARATOR, G_UNICODE_SPACE_SEPARATOR } GUnicodeType; typedef enum { G_UNICODE_BREAK_MANDATORY, G_UNICODE_BREAK_CARRIAGE_RETURN, G_UNICODE_BREAK_LINE_FEED, G_UNICODE_BREAK_COMBINING_MARK, G_UNICODE_BREAK_SURROGATE, G_UNICODE_BREAK_ZERO_WIDTH_SPACE, G_UNICODE_BREAK_INSEPARABLE, G_UNICODE_BREAK_NON_BREAKING_GLUE, G_UNICODE_BREAK_CONTINGENT, G_UNICODE_BREAK_SPACE, G_UNICODE_BREAK_AFTER, G_UNICODE_BREAK_BEFORE, G_UNICODE_BREAK_BEFORE_AND_AFTER, G_UNICODE_BREAK_HYPHEN, G_UNICODE_BREAK_NON_STARTER, G_UNICODE_BREAK_OPEN_PUNCTUATION, G_UNICODE_BREAK_CLOSE_PUNCTUATION, G_UNICODE_BREAK_QUOTATION, G_UNICODE_BREAK_EXCLAMATION, G_UNICODE_BREAK_IDEOGRAPHIC, G_UNICODE_BREAK_NUMERIC, G_UNICODE_BREAK_INFIX_SEPARATOR, G_UNICODE_BREAK_SYMBOL, G_UNICODE_BREAK_ALPHABETIC, G_UNICODE_BREAK_PREFIX, G_UNICODE_BREAK_POSTFIX, G_UNICODE_BREAK_COMPLEX_CONTEXT, G_UNICODE_BREAK_AMBIGUOUS, G_UNICODE_BREAK_UNKNOWN, G_UNICODE_BREAK_NEXT_LINE, G_UNICODE_BREAK_WORD_JOINER, G_UNICODE_BREAK_HANGUL_L_JAMO, G_UNICODE_BREAK_HANGUL_V_JAMO, G_UNICODE_BREAK_HANGUL_T_JAMO, G_UNICODE_BREAK_HANGUL_LV_SYLLABLE, G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE } GUnicodeBreakType; typedef enum { G_UNICODE_SCRIPT_INVALID_CODE = -1, G_UNICODE_SCRIPT_COMMON = 0, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARMENIAN, G_UNICODE_SCRIPT_BENGALI, G_UNICODE_SCRIPT_BOPOMOFO, G_UNICODE_SCRIPT_CHEROKEE, G_UNICODE_SCRIPT_COPTIC, G_UNICODE_SCRIPT_CYRILLIC, G_UNICODE_SCRIPT_DESERET, G_UNICODE_SCRIPT_DEVANAGARI, G_UNICODE_SCRIPT_ETHIOPIC, G_UNICODE_SCRIPT_GEORGIAN, G_UNICODE_SCRIPT_GOTHIC, G_UNICODE_SCRIPT_GREEK, G_UNICODE_SCRIPT_GUJARATI, G_UNICODE_SCRIPT_GURMUKHI, G_UNICODE_SCRIPT_HAN, G_UNICODE_SCRIPT_HANGUL, G_UNICODE_SCRIPT_HEBREW, G_UNICODE_SCRIPT_HIRAGANA, G_UNICODE_SCRIPT_KANNADA, G_UNICODE_SCRIPT_KATAKANA, G_UNICODE_SCRIPT_KHMER, G_UNICODE_SCRIPT_LAO, G_UNICODE_SCRIPT_LATIN, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MONGOLIAN, G_UNICODE_SCRIPT_MYANMAR, G_UNICODE_SCRIPT_OGHAM, G_UNICODE_SCRIPT_OLD_ITALIC, G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_RUNIC, G_UNICODE_SCRIPT_SINHALA, G_UNICODE_SCRIPT_SYRIAC, G_UNICODE_SCRIPT_TAMIL, G_UNICODE_SCRIPT_TELUGU, G_UNICODE_SCRIPT_THAANA, G_UNICODE_SCRIPT_THAI, G_UNICODE_SCRIPT_TIBETAN, G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL, G_UNICODE_SCRIPT_YI, G_UNICODE_SCRIPT_TAGALOG, G_UNICODE_SCRIPT_HANUNOO, G_UNICODE_SCRIPT_BUHID, G_UNICODE_SCRIPT_TAGBANWA, G_UNICODE_SCRIPT_BRAILLE, G_UNICODE_SCRIPT_CYPRIOT, G_UNICODE_SCRIPT_LIMBU, G_UNICODE_SCRIPT_OSMANYA, G_UNICODE_SCRIPT_SHAVIAN, G_UNICODE_SCRIPT_LINEAR_B, G_UNICODE_SCRIPT_TAI_LE, G_UNICODE_SCRIPT_UGARITIC, G_UNICODE_SCRIPT_NEW_TAI_LUE, G_UNICODE_SCRIPT_BUGINESE, G_UNICODE_SCRIPT_GLAGOLITIC, G_UNICODE_SCRIPT_TIFINAGH, G_UNICODE_SCRIPT_SYLOTI_NAGRI, G_UNICODE_SCRIPT_OLD_PERSIAN, G_UNICODE_SCRIPT_KHAROSHTHI, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_BALINESE, G_UNICODE_SCRIPT_CUNEIFORM, G_UNICODE_SCRIPT_PHOENICIAN, G_UNICODE_SCRIPT_PHAGS_PA, G_UNICODE_SCRIPT_NKO, G_UNICODE_SCRIPT_KAYAH_LI, G_UNICODE_SCRIPT_LEPCHA, G_UNICODE_SCRIPT_REJANG, G_UNICODE_SCRIPT_SUNDANESE, G_UNICODE_SCRIPT_SAURASHTRA, G_UNICODE_SCRIPT_CHAM, G_UNICODE_SCRIPT_OL_CHIKI, G_UNICODE_SCRIPT_VAI, G_UNICODE_SCRIPT_CARIAN, G_UNICODE_SCRIPT_LYCIAN, G_UNICODE_SCRIPT_LYDIAN } GUnicodeScript; gboolean g_get_charset (const char **charset); gboolean g_unichar_isalnum (gunichar c) __attribute__((__const__)); gboolean g_unichar_isalpha (gunichar c) __attribute__((__const__)); gboolean g_unichar_iscntrl (gunichar c) __attribute__((__const__)); gboolean g_unichar_isdigit (gunichar c) __attribute__((__const__)); gboolean g_unichar_isgraph (gunichar c) __attribute__((__const__)); gboolean g_unichar_islower (gunichar c) __attribute__((__const__)); gboolean g_unichar_isprint (gunichar c) __attribute__((__const__)); gboolean g_unichar_ispunct (gunichar c) __attribute__((__const__)); gboolean g_unichar_isspace (gunichar c) __attribute__((__const__)); gboolean g_unichar_isupper (gunichar c) __attribute__((__const__)); gboolean g_unichar_isxdigit (gunichar c) __attribute__((__const__)); gboolean g_unichar_istitle (gunichar c) __attribute__((__const__)); gboolean g_unichar_isdefined (gunichar c) __attribute__((__const__)); gboolean g_unichar_iswide (gunichar c) __attribute__((__const__)); gboolean g_unichar_iswide_cjk(gunichar c) __attribute__((__const__)); gboolean g_unichar_iszerowidth(gunichar c) __attribute__((__const__)); gboolean g_unichar_ismark (gunichar c) __attribute__((__const__)); gunichar g_unichar_toupper (gunichar c) __attribute__((__const__)); gunichar g_unichar_tolower (gunichar c) __attribute__((__const__)); gunichar g_unichar_totitle (gunichar c) __attribute__((__const__)); gint g_unichar_digit_value (gunichar c) __attribute__((__const__)); gint g_unichar_xdigit_value (gunichar c) __attribute__((__const__)); GUnicodeType g_unichar_type (gunichar c) __attribute__((__const__)); GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__((__const__)); gint g_unichar_combining_class (gunichar uc) __attribute__((__const__)); void g_unicode_canonical_ordering (gunichar *string, gsize len); gunichar *g_unicode_canonical_decomposition (gunichar ch, gsize *result_len) __attribute__((__malloc__)); extern const gchar * const g_utf8_skip; gunichar g_utf8_get_char (const gchar *p) __attribute__((__pure__)); gunichar g_utf8_get_char_validated (const gchar *p, gssize max_len) __attribute__((__pure__)); gchar* g_utf8_offset_to_pointer (const gchar *str, glong offset) __attribute__((__pure__)); glong g_utf8_pointer_to_offset (const gchar *str, const gchar *pos) __attribute__((__pure__)); gchar* g_utf8_prev_char (const gchar *p) __attribute__((__pure__)); gchar* g_utf8_find_next_char (const gchar *p, const gchar *end) __attribute__((__pure__)); gchar* g_utf8_find_prev_char (const gchar *str, const gchar *p) __attribute__((__pure__)); glong g_utf8_strlen (const gchar *p, gssize max) __attribute__((__pure__)); gchar* g_utf8_strncpy (gchar *dest, const gchar *src, gsize n); gchar* g_utf8_strchr (const gchar *p, gssize len, gunichar c); gchar* g_utf8_strrchr (const gchar *p, gssize len, gunichar c); gchar* g_utf8_strreverse (const gchar *str, gssize len); gunichar2 *g_utf8_to_utf16 (const gchar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); gunichar * g_utf8_to_ucs4 (const gchar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); gunichar * g_utf8_to_ucs4_fast (const gchar *str, glong len, glong *items_written) __attribute__((__malloc__)); gunichar * g_utf16_to_ucs4 (const gunichar2 *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); gchar* g_utf16_to_utf8 (const gunichar2 *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); gunichar2 *g_ucs4_to_utf16 (const gunichar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); gchar* g_ucs4_to_utf8 (const gunichar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__((__malloc__)); gint g_unichar_to_utf8 (gunichar c, gchar *outbuf); gboolean g_utf8_validate (const gchar *str, gssize max_len, const gchar **end); gboolean g_unichar_validate (gunichar ch) __attribute__((__const__)); gchar *g_utf8_strup (const gchar *str, gssize len) __attribute__((__malloc__)); gchar *g_utf8_strdown (const gchar *str, gssize len) __attribute__((__malloc__)); gchar *g_utf8_casefold (const gchar *str, gssize len) __attribute__((__malloc__)); typedef enum { G_NORMALIZE_DEFAULT, G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT, G_NORMALIZE_DEFAULT_COMPOSE, G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE, G_NORMALIZE_ALL, G_NORMALIZE_NFKD = G_NORMALIZE_ALL, G_NORMALIZE_ALL_COMPOSE, G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE } GNormalizeMode; gchar *g_utf8_normalize (const gchar *str, gssize len, GNormalizeMode mode) __attribute__((__malloc__)); gint g_utf8_collate (const gchar *str1, const gchar *str2) __attribute__((__pure__)); gchar *g_utf8_collate_key (const gchar *str, gssize len) __attribute__((__malloc__)); gchar *g_utf8_collate_key_for_filename (const gchar *str, gssize len) __attribute__((__malloc__)); gboolean g_unichar_get_mirror_char (gunichar ch, gunichar *mirrored_ch); GUnicodeScript g_unichar_get_script (gunichar ch) __attribute__((__const__)); gchar *_g_utf8_make_valid (const gchar *name); # 36 "/usr/local/include/glib-2.0/glib/gstring.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gutils.h" 1 # 37 "/usr/local/include/glib-2.0/glib/gstring.h" 2 typedef struct _GString GString; typedef struct _GStringChunk GStringChunk; struct _GString { gchar *str; gsize len; gsize allocated_len; }; GStringChunk* g_string_chunk_new (gsize size); void g_string_chunk_free (GStringChunk *chunk); void g_string_chunk_clear (GStringChunk *chunk); gchar* g_string_chunk_insert (GStringChunk *chunk, const gchar *string); gchar* g_string_chunk_insert_len (GStringChunk *chunk, const gchar *string, gssize len); gchar* g_string_chunk_insert_const (GStringChunk *chunk, const gchar *string); GString* g_string_new (const gchar *init); GString* g_string_new_len (const gchar *init, gssize len); GString* g_string_sized_new (gsize dfl_size); gchar* g_string_free (GString *string, gboolean free_segment); gboolean g_string_equal (const GString *v, const GString *v2); guint g_string_hash (const GString *str); GString* g_string_assign (GString *string, const gchar *rval); GString* g_string_truncate (GString *string, gsize len); GString* g_string_set_size (GString *string, gsize len); GString* g_string_insert_len (GString *string, gssize pos, const gchar *val, gssize len); GString* g_string_append (GString *string, const gchar *val); GString* g_string_append_len (GString *string, const gchar *val, gssize len); GString* g_string_append_c (GString *string, gchar c); GString* g_string_append_unichar (GString *string, gunichar wc); GString* g_string_prepend (GString *string, const gchar *val); GString* g_string_prepend_c (GString *string, gchar c); GString* g_string_prepend_unichar (GString *string, gunichar wc); GString* g_string_prepend_len (GString *string, const gchar *val, gssize len); GString* g_string_insert (GString *string, gssize pos, const gchar *val); GString* g_string_insert_c (GString *string, gssize pos, gchar c); GString* g_string_insert_unichar (GString *string, gssize pos, gunichar wc); GString* g_string_overwrite (GString *string, gsize pos, const gchar *val); GString* g_string_overwrite_len (GString *string, gsize pos, const gchar *val, gssize len); GString* g_string_erase (GString *string, gssize pos, gssize len); GString* g_string_ascii_down (GString *string); GString* g_string_ascii_up (GString *string); void g_string_vprintf (GString *string, const gchar *format, va_list args); void g_string_printf (GString *string, const gchar *format, ...) __attribute__((__format__ (__printf__, 2, 3))); void g_string_append_vprintf (GString *string, const gchar *format, va_list args); void g_string_append_printf (GString *string, const gchar *format, ...) __attribute__((__format__ (__printf__, 2, 3))); GString * g_string_append_uri_escaped(GString *string, const char *unescaped, const char *reserved_chars_allowed, gboolean allow_utf8); static inline GString* g_string_append_c_inline (GString *gstring, gchar c) { if (gstring->len + 1 < gstring->allocated_len) { gstring->str[gstring->len++] = c; gstring->str[gstring->len] = 0; } else g_string_insert_c (gstring, -1, c); return gstring; } # 167 "/usr/local/include/glib-2.0/glib/gstring.h" GString* g_string_down (GString *string); GString* g_string_up (GString *string); # 37 "/usr/local/include/glib-2.0/glib/giochannel.h" 2 typedef struct _GIOChannel GIOChannel; typedef struct _GIOFuncs GIOFuncs; typedef enum { G_IO_ERROR_NONE, G_IO_ERROR_AGAIN, G_IO_ERROR_INVAL, G_IO_ERROR_UNKNOWN } GIOError; typedef enum { G_IO_CHANNEL_ERROR_FBIG, G_IO_CHANNEL_ERROR_INVAL, G_IO_CHANNEL_ERROR_IO, G_IO_CHANNEL_ERROR_ISDIR, G_IO_CHANNEL_ERROR_NOSPC, G_IO_CHANNEL_ERROR_NXIO, G_IO_CHANNEL_ERROR_OVERFLOW, G_IO_CHANNEL_ERROR_PIPE, G_IO_CHANNEL_ERROR_FAILED } GIOChannelError; typedef enum { G_IO_STATUS_ERROR, G_IO_STATUS_NORMAL, G_IO_STATUS_EOF, G_IO_STATUS_AGAIN } GIOStatus; typedef enum { G_SEEK_CUR, G_SEEK_SET, G_SEEK_END } GSeekType; typedef enum { G_IO_IN =1, G_IO_OUT =4, G_IO_PRI =2, G_IO_ERR =8, G_IO_HUP =16, G_IO_NVAL =32 } GIOCondition; typedef enum { G_IO_FLAG_APPEND = 1 << 0, G_IO_FLAG_NONBLOCK = 1 << 1, G_IO_FLAG_IS_READABLE = 1 << 2, G_IO_FLAG_IS_WRITEABLE = 1 << 3, G_IO_FLAG_IS_SEEKABLE = 1 << 4, G_IO_FLAG_MASK = (1 << 5) - 1, G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK, G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK } GIOFlags; struct _GIOChannel { gint ref_count; GIOFuncs *funcs; gchar *encoding; GIConv read_cd; GIConv write_cd; gchar *line_term; guint line_term_len; gsize buf_size; GString *read_buf; GString *encoded_read_buf; GString *write_buf; gchar partial_write_buf[6]; guint use_buffer : 1; guint do_encode : 1; guint close_on_unref : 1; guint is_readable : 1; guint is_writeable : 1; guint is_seekable : 1; gpointer reserved1; gpointer reserved2; }; typedef gboolean (*GIOFunc) (GIOChannel *source, GIOCondition condition, gpointer data); struct _GIOFuncs { GIOStatus (*io_read) (GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read, GError **err); GIOStatus (*io_write) (GIOChannel *channel, const gchar *buf, gsize count, gsize *bytes_written, GError **err); GIOStatus (*io_seek) (GIOChannel *channel, gint64 offset, GSeekType type, GError **err); GIOStatus (*io_close) (GIOChannel *channel, GError **err); GSource* (*io_create_watch) (GIOChannel *channel, GIOCondition condition); void (*io_free) (GIOChannel *channel); GIOStatus (*io_set_flags) (GIOChannel *channel, GIOFlags flags, GError **err); GIOFlags (*io_get_flags) (GIOChannel *channel); }; void g_io_channel_init (GIOChannel *channel); GIOChannel *g_io_channel_ref (GIOChannel *channel); void g_io_channel_unref (GIOChannel *channel); GIOError g_io_channel_read (GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read); GIOError g_io_channel_write (GIOChannel *channel, const gchar *buf, gsize count, gsize *bytes_written); GIOError g_io_channel_seek (GIOChannel *channel, gint64 offset, GSeekType type); void g_io_channel_close (GIOChannel *channel); GIOStatus g_io_channel_shutdown (GIOChannel *channel, gboolean flush, GError **err); guint g_io_add_watch_full (GIOChannel *channel, gint priority, GIOCondition condition, GIOFunc func, gpointer user_data, GDestroyNotify notify); GSource * g_io_create_watch (GIOChannel *channel, GIOCondition condition); guint g_io_add_watch (GIOChannel *channel, GIOCondition condition, GIOFunc func, gpointer user_data); void g_io_channel_set_buffer_size (GIOChannel *channel, gsize size); gsize g_io_channel_get_buffer_size (GIOChannel *channel); GIOCondition g_io_channel_get_buffer_condition (GIOChannel *channel); GIOStatus g_io_channel_set_flags (GIOChannel *channel, GIOFlags flags, GError **error); GIOFlags g_io_channel_get_flags (GIOChannel *channel); void g_io_channel_set_line_term (GIOChannel *channel, const gchar *line_term, gint length); const gchar* g_io_channel_get_line_term (GIOChannel *channel, gint *length); void g_io_channel_set_buffered (GIOChannel *channel, gboolean buffered); gboolean g_io_channel_get_buffered (GIOChannel *channel); GIOStatus g_io_channel_set_encoding (GIOChannel *channel, const gchar *encoding, GError **error); const gchar* g_io_channel_get_encoding (GIOChannel *channel); void g_io_channel_set_close_on_unref (GIOChannel *channel, gboolean do_close); gboolean g_io_channel_get_close_on_unref (GIOChannel *channel); GIOStatus g_io_channel_flush (GIOChannel *channel, GError **error); GIOStatus g_io_channel_read_line (GIOChannel *channel, gchar **str_return, gsize *length, gsize *terminator_pos, GError **error); GIOStatus g_io_channel_read_line_string (GIOChannel *channel, GString *buffer, gsize *terminator_pos, GError **error); GIOStatus g_io_channel_read_to_end (GIOChannel *channel, gchar **str_return, gsize *length, GError **error); GIOStatus g_io_channel_read_chars (GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read, GError **error); GIOStatus g_io_channel_read_unichar (GIOChannel *channel, gunichar *thechar, GError **error); GIOStatus g_io_channel_write_chars (GIOChannel *channel, const gchar *buf, gssize count, gsize *bytes_written, GError **error); GIOStatus g_io_channel_write_unichar (GIOChannel *channel, gunichar thechar, GError **error); GIOStatus g_io_channel_seek_position (GIOChannel *channel, gint64 offset, GSeekType type, GError **error); GIOChannel* g_io_channel_new_file (const gchar *filename, const gchar *mode, GError **error); GQuark g_io_channel_error_quark (void); GIOChannelError g_io_channel_error_from_errno (gint en); # 298 "/usr/local/include/glib-2.0/glib/giochannel.h" GIOChannel* g_io_channel_unix_new (int fd); gint g_io_channel_unix_get_fd (GIOChannel *channel); extern GSourceFuncs g_io_watch_funcs; # 52 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gkeyfile.h" 1 # 30 "/usr/local/include/glib-2.0/glib/gkeyfile.h" # 1 "/usr/local/include/glib-2.0/glib/gerror.h" 1 # 31 "/usr/local/include/glib-2.0/glib/gkeyfile.h" 2 typedef enum { G_KEY_FILE_ERROR_UNKNOWN_ENCODING, G_KEY_FILE_ERROR_PARSE, G_KEY_FILE_ERROR_NOT_FOUND, G_KEY_FILE_ERROR_KEY_NOT_FOUND, G_KEY_FILE_ERROR_GROUP_NOT_FOUND, G_KEY_FILE_ERROR_INVALID_VALUE } GKeyFileError; GQuark g_key_file_error_quark (void); typedef struct _GKeyFile GKeyFile; typedef enum { G_KEY_FILE_NONE = 0, G_KEY_FILE_KEEP_COMMENTS = 1 << 0, G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1 } GKeyFileFlags; GKeyFile *g_key_file_new (void); void g_key_file_free (GKeyFile *key_file); void g_key_file_set_list_separator (GKeyFile *key_file, gchar separator); gboolean g_key_file_load_from_file (GKeyFile *key_file, const gchar *file, GKeyFileFlags flags, GError **error); gboolean g_key_file_load_from_data (GKeyFile *key_file, const gchar *data, gsize length, GKeyFileFlags flags, GError **error); gboolean g_key_file_load_from_dirs (GKeyFile *key_file, const gchar *file, const gchar **search_dirs, gchar **full_path, GKeyFileFlags flags, GError **error); gboolean g_key_file_load_from_data_dirs (GKeyFile *key_file, const gchar *file, gchar **full_path, GKeyFileFlags flags, GError **error); gchar *g_key_file_to_data (GKeyFile *key_file, gsize *length, GError **error) __attribute__((__malloc__)); gchar *g_key_file_get_start_group (GKeyFile *key_file) __attribute__((__malloc__)); gchar **g_key_file_get_groups (GKeyFile *key_file, gsize *length) __attribute__((__malloc__)); gchar **g_key_file_get_keys (GKeyFile *key_file, const gchar *group_name, gsize *length, GError **error) __attribute__((__malloc__)); gboolean g_key_file_has_group (GKeyFile *key_file, const gchar *group_name); gboolean g_key_file_has_key (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); gchar *g_key_file_get_value (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error) __attribute__((__malloc__)); void g_key_file_set_value (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *value); gchar *g_key_file_get_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error) __attribute__((__malloc__)); void g_key_file_set_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *string); gchar *g_key_file_get_locale_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, GError **error) __attribute__((__malloc__)); void g_key_file_set_locale_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, const gchar *string); gboolean g_key_file_get_boolean (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); void g_key_file_set_boolean (GKeyFile *key_file, const gchar *group_name, const gchar *key, gboolean value); gint g_key_file_get_integer (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); void g_key_file_set_integer (GKeyFile *key_file, const gchar *group_name, const gchar *key, gint value); gdouble g_key_file_get_double (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); void g_key_file_set_double (GKeyFile *key_file, const gchar *group_name, const gchar *key, gdouble value); gchar **g_key_file_get_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error) __attribute__((__malloc__)); void g_key_file_set_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar * const list[], gsize length); gchar **g_key_file_get_locale_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, gsize *length, GError **error) __attribute__((__malloc__)); void g_key_file_set_locale_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, const gchar * const list[], gsize length); gboolean *g_key_file_get_boolean_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error) __attribute__((__malloc__)); void g_key_file_set_boolean_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gboolean list[], gsize length); gint *g_key_file_get_integer_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error) __attribute__((__malloc__)); void g_key_file_set_double_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gdouble list[], gsize length); gdouble *g_key_file_get_double_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error) __attribute__((__malloc__)); void g_key_file_set_integer_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gint list[], gsize length); gboolean g_key_file_set_comment (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *comment, GError **error); gchar *g_key_file_get_comment (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error) __attribute__((__malloc__)); gboolean g_key_file_remove_comment (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); gboolean g_key_file_remove_key (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); gboolean g_key_file_remove_group (GKeyFile *key_file, const gchar *group_name, GError **error); # 53 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/glist.h" 1 # 54 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gmacros.h" 1 # 55 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gmain.h" 1 # 56 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gmappedfile.h" 1 # 29 "/usr/local/include/glib-2.0/glib/gmappedfile.h" # 1 "/usr/local/include/glib-2.0/glib/gerror.h" 1 # 30 "/usr/local/include/glib-2.0/glib/gmappedfile.h" 2 typedef struct _GMappedFile GMappedFile; GMappedFile *g_mapped_file_new (const gchar *filename, gboolean writable, GError **error) __attribute__((__malloc__)); gsize g_mapped_file_get_length (GMappedFile *file); gchar *g_mapped_file_get_contents (GMappedFile *file); GMappedFile *g_mapped_file_ref (GMappedFile *file); void g_mapped_file_unref (GMappedFile *file); void g_mapped_file_free (GMappedFile *file); # 57 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gmarkup.h" 1 # 30 "/usr/local/include/glib-2.0/glib/gmarkup.h" # 1 "/usr/local/include/glib-2.0/glib/gerror.h" 1 # 31 "/usr/local/include/glib-2.0/glib/gmarkup.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gslist.h" 1 # 32 "/usr/local/include/glib-2.0/glib/gmarkup.h" 2 typedef enum { G_MARKUP_ERROR_BAD_UTF8, G_MARKUP_ERROR_EMPTY, G_MARKUP_ERROR_PARSE, G_MARKUP_ERROR_UNKNOWN_ELEMENT, G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE, G_MARKUP_ERROR_INVALID_CONTENT, G_MARKUP_ERROR_MISSING_ATTRIBUTE } GMarkupError; GQuark g_markup_error_quark (void); typedef enum { G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0, G_MARKUP_TREAT_CDATA_AS_TEXT = 1 << 1, G_MARKUP_PREFIX_ERROR_POSITION = 1 << 2 } GMarkupParseFlags; typedef struct _GMarkupParseContext GMarkupParseContext; typedef struct _GMarkupParser GMarkupParser; struct _GMarkupParser { void (*start_element) (GMarkupParseContext *context, const gchar *element_name, const gchar **attribute_names, const gchar **attribute_values, gpointer user_data, GError **error); void (*end_element) (GMarkupParseContext *context, const gchar *element_name, gpointer user_data, GError **error); void (*text) (GMarkupParseContext *context, const gchar *text, gsize text_len, gpointer user_data, GError **error); void (*passthrough) (GMarkupParseContext *context, const gchar *passthrough_text, gsize text_len, gpointer user_data, GError **error); void (*error) (GMarkupParseContext *context, GError *error, gpointer user_data); }; GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser, GMarkupParseFlags flags, gpointer user_data, GDestroyNotify user_data_dnotify); void g_markup_parse_context_free (GMarkupParseContext *context); gboolean g_markup_parse_context_parse (GMarkupParseContext *context, const gchar *text, gssize text_len, GError **error); void g_markup_parse_context_push (GMarkupParseContext *context, GMarkupParser *parser, gpointer user_data); gpointer g_markup_parse_context_pop (GMarkupParseContext *context); gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context, GError **error); const gchar *g_markup_parse_context_get_element (GMarkupParseContext *context); const GSList *g_markup_parse_context_get_element_stack (GMarkupParseContext *context); void g_markup_parse_context_get_position (GMarkupParseContext *context, gint *line_number, gint *char_number); gpointer g_markup_parse_context_get_user_data (GMarkupParseContext *context); gchar* g_markup_escape_text (const gchar *text, gssize length); gchar *g_markup_printf_escaped (const char *format, ...) __attribute__((__format__ (__printf__, 1, 2))); gchar *g_markup_vprintf_escaped (const char *format, va_list args); typedef enum { G_MARKUP_COLLECT_INVALID, G_MARKUP_COLLECT_STRING, G_MARKUP_COLLECT_STRDUP, G_MARKUP_COLLECT_BOOLEAN, G_MARKUP_COLLECT_TRISTATE, G_MARKUP_COLLECT_OPTIONAL = (1 << 16) } GMarkupCollectType; gboolean g_markup_collect_attributes (const gchar *element_name, const gchar **attribute_names, const gchar **attribute_values, GError **error, GMarkupCollectType first_type, const gchar *first_attr, ...); # 58 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gmem.h" 1 # 59 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gmessages.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gmessages.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 36 "/usr/local/include/glib-2.0/glib/gmessages.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gmacros.h" 1 # 37 "/usr/local/include/glib-2.0/glib/gmessages.h" 2 # 41 "/usr/local/include/glib-2.0/glib/gmessages.h" 3 gsize g_printf_string_upper_bound (const gchar* format, va_list args); # 58 "/usr/local/include/glib-2.0/glib/gmessages.h" 3 typedef enum { G_LOG_FLAG_RECURSION = 1 << 0, G_LOG_FLAG_FATAL = 1 << 1, G_LOG_LEVEL_ERROR = 1 << 2, G_LOG_LEVEL_CRITICAL = 1 << 3, G_LOG_LEVEL_WARNING = 1 << 4, G_LOG_LEVEL_MESSAGE = 1 << 5, G_LOG_LEVEL_INFO = 1 << 6, G_LOG_LEVEL_DEBUG = 1 << 7, G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL) } GLogLevelFlags; typedef void (*GLogFunc) (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data); guint g_log_set_handler (const gchar *log_domain, GLogLevelFlags log_levels, GLogFunc log_func, gpointer user_data); void g_log_remove_handler (const gchar *log_domain, guint handler_id); void g_log_default_handler (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer unused_data); GLogFunc g_log_set_default_handler (GLogFunc log_func, gpointer user_data); void g_log (const gchar *log_domain, GLogLevelFlags log_level, const gchar *format, ...) __attribute__((__format__ (__printf__, 3, 4))); void g_logv (const gchar *log_domain, GLogLevelFlags log_level, const gchar *format, va_list args); GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain, GLogLevelFlags fatal_mask); GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask); __attribute__((visibility("hidden"))) void _g_log_fallback_handler (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer unused_data); void g_return_if_fail_warning (const char *log_domain, const char *pretty_function, const char *expression); void g_warn_message (const char *domain, const char *file, int line, const char *func, const char *warnexpr); void g_assert_warning (const char *log_domain, const char *file, const int line, const char *pretty_function, const char *expression) __attribute__((__noreturn__)); # 229 "/usr/local/include/glib-2.0/glib/gmessages.h" 3 typedef void (*GPrintFunc) (const gchar *string); void g_print (const gchar *format, ...) __attribute__((__format__ (__printf__, 1, 2))); GPrintFunc g_set_print_handler (GPrintFunc func); void g_printerr (const gchar *format, ...) __attribute__((__format__ (__printf__, 1, 2))); GPrintFunc g_set_printerr_handler (GPrintFunc func); # 60 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gnode.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gnode.h" # 1 "/usr/local/include/glib-2.0/glib/gmem.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gnode.h" 2 typedef struct _GNode GNode; typedef enum { G_TRAVERSE_LEAVES = 1 << 0, G_TRAVERSE_NON_LEAVES = 1 << 1, G_TRAVERSE_ALL = G_TRAVERSE_LEAVES | G_TRAVERSE_NON_LEAVES, G_TRAVERSE_MASK = 0x03, G_TRAVERSE_LEAFS = G_TRAVERSE_LEAVES, G_TRAVERSE_NON_LEAFS = G_TRAVERSE_NON_LEAVES } GTraverseFlags; typedef enum { G_IN_ORDER, G_PRE_ORDER, G_POST_ORDER, G_LEVEL_ORDER } GTraverseType; typedef gboolean (*GNodeTraverseFunc) (GNode *node, gpointer data); typedef void (*GNodeForeachFunc) (GNode *node, gpointer data); # 77 "/usr/local/include/glib-2.0/glib/gnode.h" typedef gpointer (*GCopyFunc) (gconstpointer src, gpointer data); struct _GNode { gpointer data; GNode *next; GNode *prev; GNode *parent; GNode *children; }; # 115 "/usr/local/include/glib-2.0/glib/gnode.h" GNode* g_node_new (gpointer data); void g_node_destroy (GNode *root); void g_node_unlink (GNode *node); GNode* g_node_copy_deep (GNode *node, GCopyFunc copy_func, gpointer data); GNode* g_node_copy (GNode *node); GNode* g_node_insert (GNode *parent, gint position, GNode *node); GNode* g_node_insert_before (GNode *parent, GNode *sibling, GNode *node); GNode* g_node_insert_after (GNode *parent, GNode *sibling, GNode *node); GNode* g_node_prepend (GNode *parent, GNode *node); guint g_node_n_nodes (GNode *root, GTraverseFlags flags); GNode* g_node_get_root (GNode *node); gboolean g_node_is_ancestor (GNode *node, GNode *descendant); guint g_node_depth (GNode *node); GNode* g_node_find (GNode *root, GTraverseType order, GTraverseFlags flags, gpointer data); # 213 "/usr/local/include/glib-2.0/glib/gnode.h" void g_node_traverse (GNode *root, GTraverseType order, GTraverseFlags flags, gint max_depth, GNodeTraverseFunc func, gpointer data); guint g_node_max_height (GNode *root); void g_node_children_foreach (GNode *node, GTraverseFlags flags, GNodeForeachFunc func, gpointer data); void g_node_reverse_children (GNode *node); guint g_node_n_children (GNode *node); GNode* g_node_nth_child (GNode *node, guint n); GNode* g_node_last_child (GNode *node); GNode* g_node_find_child (GNode *node, GTraverseFlags flags, gpointer data); gint g_node_child_position (GNode *node, GNode *child); gint g_node_child_index (GNode *node, gpointer data); GNode* g_node_first_sibling (GNode *node); GNode* g_node_last_sibling (GNode *node); # 282 "/usr/local/include/glib-2.0/glib/gnode.h" void g_node_push_allocator (gpointer dummy); void g_node_pop_allocator (void); # 61 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/goption.h" 1 # 28 "/usr/local/include/glib-2.0/glib/goption.h" # 1 "/usr/local/include/glib-2.0/glib/gerror.h" 1 # 29 "/usr/local/include/glib-2.0/glib/goption.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gquark.h" 1 # 30 "/usr/local/include/glib-2.0/glib/goption.h" 2 # 40 "/usr/local/include/glib-2.0/glib/goption.h" typedef struct _GOptionContext GOptionContext; # 53 "/usr/local/include/glib-2.0/glib/goption.h" typedef struct _GOptionGroup GOptionGroup; typedef struct _GOptionEntry GOptionEntry; # 82 "/usr/local/include/glib-2.0/glib/goption.h" typedef enum { G_OPTION_FLAG_HIDDEN = 1 << 0, G_OPTION_FLAG_IN_MAIN = 1 << 1, G_OPTION_FLAG_REVERSE = 1 << 2, G_OPTION_FLAG_NO_ARG = 1 << 3, G_OPTION_FLAG_FILENAME = 1 << 4, G_OPTION_FLAG_OPTIONAL_ARG = 1 << 5, G_OPTION_FLAG_NOALIAS = 1 << 6 } GOptionFlags; # 118 "/usr/local/include/glib-2.0/glib/goption.h" typedef enum { G_OPTION_ARG_NONE, G_OPTION_ARG_STRING, G_OPTION_ARG_INT, G_OPTION_ARG_CALLBACK, G_OPTION_ARG_FILENAME, G_OPTION_ARG_STRING_ARRAY, G_OPTION_ARG_FILENAME_ARRAY, G_OPTION_ARG_DOUBLE, G_OPTION_ARG_INT64 } GOptionArg; # 148 "/usr/local/include/glib-2.0/glib/goption.h" typedef gboolean (*GOptionArgFunc) (const gchar *option_name, const gchar *value, gpointer data, GError **error); # 166 "/usr/local/include/glib-2.0/glib/goption.h" typedef gboolean (*GOptionParseFunc) (GOptionContext *context, GOptionGroup *group, gpointer data, GError **error); # 181 "/usr/local/include/glib-2.0/glib/goption.h" typedef void (*GOptionErrorFunc) (GOptionContext *context, GOptionGroup *group, gpointer data, GError **error); # 205 "/usr/local/include/glib-2.0/glib/goption.h" typedef enum { G_OPTION_ERROR_UNKNOWN_OPTION, G_OPTION_ERROR_BAD_VALUE, G_OPTION_ERROR_FAILED } GOptionError; GQuark g_option_error_quark (void); # 279 "/usr/local/include/glib-2.0/glib/goption.h" struct _GOptionEntry { const gchar *long_name; gchar short_name; gint flags; GOptionArg arg; gpointer arg_data; const gchar *description; const gchar *arg_description; }; # 310 "/usr/local/include/glib-2.0/glib/goption.h" GOptionContext *g_option_context_new (const gchar *parameter_string); void g_option_context_set_summary (GOptionContext *context, const gchar *summary); const gchar *g_option_context_get_summary (GOptionContext *context); void g_option_context_set_description (GOptionContext *context, const gchar *description); const gchar *g_option_context_get_description (GOptionContext *context); void g_option_context_free (GOptionContext *context); void g_option_context_set_help_enabled (GOptionContext *context, gboolean help_enabled); gboolean g_option_context_get_help_enabled (GOptionContext *context); void g_option_context_set_ignore_unknown_options (GOptionContext *context, gboolean ignore_unknown); gboolean g_option_context_get_ignore_unknown_options (GOptionContext *context); void g_option_context_add_main_entries (GOptionContext *context, const GOptionEntry *entries, const gchar *translation_domain); gboolean g_option_context_parse (GOptionContext *context, gint *argc, gchar ***argv, GError **error); void g_option_context_set_translate_func (GOptionContext *context, GTranslateFunc func, gpointer data, GDestroyNotify destroy_notify); void g_option_context_set_translation_domain (GOptionContext *context, const gchar *domain); void g_option_context_add_group (GOptionContext *context, GOptionGroup *group); void g_option_context_set_main_group (GOptionContext *context, GOptionGroup *group); GOptionGroup *g_option_context_get_main_group (GOptionContext *context); gchar *g_option_context_get_help (GOptionContext *context, gboolean main_help, GOptionGroup *group); GOptionGroup *g_option_group_new (const gchar *name, const gchar *description, const gchar *help_description, gpointer user_data, GDestroyNotify destroy); void g_option_group_set_parse_hooks (GOptionGroup *group, GOptionParseFunc pre_parse_func, GOptionParseFunc post_parse_func); void g_option_group_set_error_hook (GOptionGroup *group, GOptionErrorFunc error_func); void g_option_group_free (GOptionGroup *group); void g_option_group_add_entries (GOptionGroup *group, const GOptionEntry *entries); void g_option_group_set_translate_func (GOptionGroup *group, GTranslateFunc func, gpointer data, GDestroyNotify destroy_notify); void g_option_group_set_translation_domain (GOptionGroup *group, const gchar *domain); # 62 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gpattern.h" 1 # 27 "/usr/local/include/glib-2.0/glib/gpattern.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 28 "/usr/local/include/glib-2.0/glib/gpattern.h" 2 typedef struct _GPatternSpec GPatternSpec; GPatternSpec* g_pattern_spec_new (const gchar *pattern); void g_pattern_spec_free (GPatternSpec *pspec); gboolean g_pattern_spec_equal (GPatternSpec *pspec1, GPatternSpec *pspec2); gboolean g_pattern_match (GPatternSpec *pspec, guint string_length, const gchar *string, const gchar *string_reversed); gboolean g_pattern_match_string (GPatternSpec *pspec, const gchar *string); gboolean g_pattern_match_simple (const gchar *pattern, const gchar *string); # 63 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gpoll.h" 1 # 64 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gprimes.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gprimes.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gprimes.h" 2 # 47 "/usr/local/include/glib-2.0/glib/gprimes.h" guint g_spaced_primes_closest (guint num) __attribute__((__const__)); # 65 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gqsort.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gqsort.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gqsort.h" 2 void g_qsort_with_data (gconstpointer pbase, gint total_elems, gsize size, GCompareDataFunc compare_func, gpointer user_data); # 66 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gquark.h" 1 # 67 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gqueue.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gqueue.h" # 1 "/usr/local/include/glib-2.0/glib/glist.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gqueue.h" 2 typedef struct _GQueue GQueue; struct _GQueue { GList *head; GList *tail; guint length; }; GQueue* g_queue_new (void); void g_queue_free (GQueue *queue); void g_queue_init (GQueue *queue); void g_queue_clear (GQueue *queue); gboolean g_queue_is_empty (GQueue *queue); guint g_queue_get_length (GQueue *queue); void g_queue_reverse (GQueue *queue); GQueue * g_queue_copy (GQueue *queue); void g_queue_foreach (GQueue *queue, GFunc func, gpointer user_data); GList * g_queue_find (GQueue *queue, gconstpointer data); GList * g_queue_find_custom (GQueue *queue, gconstpointer data, GCompareFunc func); void g_queue_sort (GQueue *queue, GCompareDataFunc compare_func, gpointer user_data); void g_queue_push_head (GQueue *queue, gpointer data); void g_queue_push_tail (GQueue *queue, gpointer data); void g_queue_push_nth (GQueue *queue, gpointer data, gint n); gpointer g_queue_pop_head (GQueue *queue); gpointer g_queue_pop_tail (GQueue *queue); gpointer g_queue_pop_nth (GQueue *queue, guint n); gpointer g_queue_peek_head (GQueue *queue); gpointer g_queue_peek_tail (GQueue *queue); gpointer g_queue_peek_nth (GQueue *queue, guint n); gint g_queue_index (GQueue *queue, gconstpointer data); void g_queue_remove (GQueue *queue, gconstpointer data); void g_queue_remove_all (GQueue *queue, gconstpointer data); void g_queue_insert_before (GQueue *queue, GList *sibling, gpointer data); void g_queue_insert_after (GQueue *queue, GList *sibling, gpointer data); void g_queue_insert_sorted (GQueue *queue, gpointer data, GCompareDataFunc func, gpointer user_data); void g_queue_push_head_link (GQueue *queue, GList *link_); void g_queue_push_tail_link (GQueue *queue, GList *link_); void g_queue_push_nth_link (GQueue *queue, gint n, GList *link_); GList* g_queue_pop_head_link (GQueue *queue); GList* g_queue_pop_tail_link (GQueue *queue); GList* g_queue_pop_nth_link (GQueue *queue, guint n); GList* g_queue_peek_head_link (GQueue *queue); GList* g_queue_peek_tail_link (GQueue *queue); GList* g_queue_peek_nth_link (GQueue *queue, guint n); gint g_queue_link_index (GQueue *queue, GList *link_); void g_queue_unlink (GQueue *queue, GList *link_); void g_queue_delete_link (GQueue *queue, GList *link_); # 68 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/grand.h" 1 # 34 "/usr/local/include/glib-2.0/glib/grand.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 35 "/usr/local/include/glib-2.0/glib/grand.h" 2 typedef struct _GRand GRand; # 49 "/usr/local/include/glib-2.0/glib/grand.h" GRand* g_rand_new_with_seed (guint32 seed); GRand* g_rand_new_with_seed_array (const guint32 *seed, guint seed_length); GRand* g_rand_new (void); void g_rand_free (GRand *rand_); GRand* g_rand_copy (GRand *rand_); void g_rand_set_seed (GRand *rand_, guint32 seed); void g_rand_set_seed_array (GRand *rand_, const guint32 *seed, guint seed_length); guint32 g_rand_int (GRand *rand_); gint32 g_rand_int_range (GRand *rand_, gint32 begin, gint32 end); gdouble g_rand_double (GRand *rand_); gdouble g_rand_double_range (GRand *rand_, gdouble begin, gdouble end); void g_random_set_seed (guint32 seed); guint32 g_random_int (void); gint32 g_random_int_range (gint32 begin, gint32 end); gdouble g_random_double (void); gdouble g_random_double_range (gdouble begin, gdouble end); # 69 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/grel.h" 1 # 34 "/usr/local/include/glib-2.0/glib/grel.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 35 "/usr/local/include/glib-2.0/glib/grel.h" 2 typedef struct _GRelation GRelation; typedef struct _GTuples GTuples; struct _GTuples { guint len; }; # 69 "/usr/local/include/glib-2.0/glib/grel.h" GRelation* g_relation_new (gint fields); void g_relation_destroy (GRelation *relation); void g_relation_index (GRelation *relation, gint field, GHashFunc hash_func, GEqualFunc key_equal_func); void g_relation_insert (GRelation *relation, ...); gint g_relation_delete (GRelation *relation, gconstpointer key, gint field); GTuples* g_relation_select (GRelation *relation, gconstpointer key, gint field); gint g_relation_count (GRelation *relation, gconstpointer key, gint field); gboolean g_relation_exists (GRelation *relation, ...); void g_relation_print (GRelation *relation); void g_tuples_destroy (GTuples *tuples); gpointer g_tuples_index (GTuples *tuples, gint index_, gint field); # 70 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gregex.h" 1 # 29 "/usr/local/include/glib-2.0/glib/gregex.h" # 1 "/usr/local/include/glib-2.0/glib/gerror.h" 1 # 30 "/usr/local/include/glib-2.0/glib/gregex.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gstring.h" 1 # 31 "/usr/local/include/glib-2.0/glib/gregex.h" 2 typedef enum { G_REGEX_ERROR_COMPILE, G_REGEX_ERROR_OPTIMIZE, G_REGEX_ERROR_REPLACE, G_REGEX_ERROR_MATCH, G_REGEX_ERROR_INTERNAL, G_REGEX_ERROR_STRAY_BACKSLASH = 101, G_REGEX_ERROR_MISSING_CONTROL_CHAR = 102, G_REGEX_ERROR_UNRECOGNIZED_ESCAPE = 103, G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER = 104, G_REGEX_ERROR_QUANTIFIER_TOO_BIG = 105, G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS = 106, G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS = 107, G_REGEX_ERROR_RANGE_OUT_OF_ORDER = 108, G_REGEX_ERROR_NOTHING_TO_REPEAT = 109, G_REGEX_ERROR_UNRECOGNIZED_CHARACTER = 112, G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS = 113, G_REGEX_ERROR_UNMATCHED_PARENTHESIS = 114, G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE = 115, G_REGEX_ERROR_UNTERMINATED_COMMENT = 118, G_REGEX_ERROR_EXPRESSION_TOO_LARGE = 120, G_REGEX_ERROR_MEMORY_ERROR = 121, G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND = 125, G_REGEX_ERROR_MALFORMED_CONDITION = 126, G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES = 127, G_REGEX_ERROR_ASSERTION_EXPECTED = 128, G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME = 130, G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED = 131, G_REGEX_ERROR_HEX_CODE_TOO_LARGE = 134, G_REGEX_ERROR_INVALID_CONDITION = 135, G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND = 136, G_REGEX_ERROR_INFINITE_LOOP = 140, G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR = 142, G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME = 143, G_REGEX_ERROR_MALFORMED_PROPERTY = 146, G_REGEX_ERROR_UNKNOWN_PROPERTY = 147, G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG = 148, G_REGEX_ERROR_TOO_MANY_SUBPATTERNS = 149, G_REGEX_ERROR_INVALID_OCTAL_VALUE = 151, G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE = 154, G_REGEX_ERROR_DEFINE_REPETION = 155, G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS = 156, G_REGEX_ERROR_MISSING_BACK_REFERENCE = 157 } GRegexError; GQuark g_regex_error_quark (void); typedef enum { G_REGEX_CASELESS = 1 << 0, G_REGEX_MULTILINE = 1 << 1, G_REGEX_DOTALL = 1 << 2, G_REGEX_EXTENDED = 1 << 3, G_REGEX_ANCHORED = 1 << 4, G_REGEX_DOLLAR_ENDONLY = 1 << 5, G_REGEX_UNGREEDY = 1 << 9, G_REGEX_RAW = 1 << 11, G_REGEX_NO_AUTO_CAPTURE = 1 << 12, G_REGEX_OPTIMIZE = 1 << 13, G_REGEX_DUPNAMES = 1 << 19, G_REGEX_NEWLINE_CR = 1 << 20, G_REGEX_NEWLINE_LF = 1 << 21, G_REGEX_NEWLINE_CRLF = G_REGEX_NEWLINE_CR | G_REGEX_NEWLINE_LF } GRegexCompileFlags; typedef enum { G_REGEX_MATCH_ANCHORED = 1 << 4, G_REGEX_MATCH_NOTBOL = 1 << 7, G_REGEX_MATCH_NOTEOL = 1 << 8, G_REGEX_MATCH_NOTEMPTY = 1 << 10, G_REGEX_MATCH_PARTIAL = 1 << 15, G_REGEX_MATCH_NEWLINE_CR = 1 << 20, G_REGEX_MATCH_NEWLINE_LF = 1 << 21, G_REGEX_MATCH_NEWLINE_CRLF = G_REGEX_MATCH_NEWLINE_CR | G_REGEX_MATCH_NEWLINE_LF, G_REGEX_MATCH_NEWLINE_ANY = 1 << 22 } GRegexMatchFlags; typedef struct _GRegex GRegex; typedef struct _GMatchInfo GMatchInfo; typedef gboolean (*GRegexEvalCallback) (const GMatchInfo *match_info, GString *result, gpointer user_data); GRegex *g_regex_new (const gchar *pattern, GRegexCompileFlags compile_options, GRegexMatchFlags match_options, GError **error); GRegex *g_regex_ref (GRegex *regex); void g_regex_unref (GRegex *regex); const gchar *g_regex_get_pattern (const GRegex *regex); gint g_regex_get_max_backref (const GRegex *regex); gint g_regex_get_capture_count (const GRegex *regex); gint g_regex_get_string_number (const GRegex *regex, const gchar *name); gchar *g_regex_escape_string (const gchar *string, gint length); gboolean g_regex_match_simple (const gchar *pattern, const gchar *string, GRegexCompileFlags compile_options, GRegexMatchFlags match_options); gboolean g_regex_match (const GRegex *regex, const gchar *string, GRegexMatchFlags match_options, GMatchInfo **match_info); gboolean g_regex_match_full (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, GMatchInfo **match_info, GError **error); gboolean g_regex_match_all (const GRegex *regex, const gchar *string, GRegexMatchFlags match_options, GMatchInfo **match_info); gboolean g_regex_match_all_full (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, GMatchInfo **match_info, GError **error); gchar **g_regex_split_simple (const gchar *pattern, const gchar *string, GRegexCompileFlags compile_options, GRegexMatchFlags match_options); gchar **g_regex_split (const GRegex *regex, const gchar *string, GRegexMatchFlags match_options); gchar **g_regex_split_full (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, gint max_tokens, GError **error); gchar *g_regex_replace (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, const gchar *replacement, GRegexMatchFlags match_options, GError **error); gchar *g_regex_replace_literal (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, const gchar *replacement, GRegexMatchFlags match_options, GError **error); gchar *g_regex_replace_eval (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, GRegexEvalCallback eval, gpointer user_data, GError **error); gboolean g_regex_check_replacement (const gchar *replacement, gboolean *has_references, GError **error); GRegex *g_match_info_get_regex (const GMatchInfo *match_info); const gchar *g_match_info_get_string (const GMatchInfo *match_info); void g_match_info_free (GMatchInfo *match_info); gboolean g_match_info_next (GMatchInfo *match_info, GError **error); gboolean g_match_info_matches (const GMatchInfo *match_info); gint g_match_info_get_match_count (const GMatchInfo *match_info); gboolean g_match_info_is_partial_match (const GMatchInfo *match_info); gchar *g_match_info_expand_references(const GMatchInfo *match_info, const gchar *string_to_expand, GError **error); gchar *g_match_info_fetch (const GMatchInfo *match_info, gint match_num); gboolean g_match_info_fetch_pos (const GMatchInfo *match_info, gint match_num, gint *start_pos, gint *end_pos); gchar *g_match_info_fetch_named (const GMatchInfo *match_info, const gchar *name); gboolean g_match_info_fetch_named_pos (const GMatchInfo *match_info, const gchar *name, gint *start_pos, gint *end_pos); gchar **g_match_info_fetch_all (const GMatchInfo *match_info); # 71 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gscanner.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gscanner.h" # 1 "/usr/local/include/glib-2.0/glib/gdataset.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gscanner.h" 2 # 1 "/usr/local/include/glib-2.0/glib/ghash.h" 1 # 36 "/usr/local/include/glib-2.0/glib/gscanner.h" 2 typedef struct _GScanner GScanner; typedef struct _GScannerConfig GScannerConfig; typedef union _GTokenValue GTokenValue; typedef void (*GScannerMsgFunc) (GScanner *scanner, gchar *message, gboolean error); # 64 "/usr/local/include/glib-2.0/glib/gscanner.h" typedef enum { G_ERR_UNKNOWN, G_ERR_UNEXP_EOF, G_ERR_UNEXP_EOF_IN_STRING, G_ERR_UNEXP_EOF_IN_COMMENT, G_ERR_NON_DIGIT_IN_CONST, G_ERR_DIGIT_RADIX, G_ERR_FLOAT_RADIX, G_ERR_FLOAT_MALFORMED } GErrorType; typedef enum { G_TOKEN_EOF = 0, G_TOKEN_LEFT_PAREN = '(', G_TOKEN_RIGHT_PAREN = ')', G_TOKEN_LEFT_CURLY = '{', G_TOKEN_RIGHT_CURLY = '}', G_TOKEN_LEFT_BRACE = '[', G_TOKEN_RIGHT_BRACE = ']', G_TOKEN_EQUAL_SIGN = '=', G_TOKEN_COMMA = ',', G_TOKEN_NONE = 256, G_TOKEN_ERROR, G_TOKEN_CHAR, G_TOKEN_BINARY, G_TOKEN_OCTAL, G_TOKEN_INT, G_TOKEN_HEX, G_TOKEN_FLOAT, G_TOKEN_STRING, G_TOKEN_SYMBOL, G_TOKEN_IDENTIFIER, G_TOKEN_IDENTIFIER_NULL, G_TOKEN_COMMENT_SINGLE, G_TOKEN_COMMENT_MULTI, G_TOKEN_LAST } GTokenType; union _GTokenValue { gpointer v_symbol; gchar *v_identifier; gulong v_binary; gulong v_octal; gulong v_int; guint64 v_int64; gdouble v_float; gulong v_hex; gchar *v_string; gchar *v_comment; guchar v_char; guint v_error; }; struct _GScannerConfig { gchar *cset_skip_characters; gchar *cset_identifier_first; gchar *cset_identifier_nth; gchar *cpair_comment_single; guint case_sensitive : 1; guint skip_comment_multi : 1; guint skip_comment_single : 1; guint scan_comment_multi : 1; guint scan_identifier : 1; guint scan_identifier_1char : 1; guint scan_identifier_NULL : 1; guint scan_symbols : 1; guint scan_binary : 1; guint scan_octal : 1; guint scan_float : 1; guint scan_hex : 1; guint scan_hex_dollar : 1; guint scan_string_sq : 1; guint scan_string_dq : 1; guint numbers_2_int : 1; guint int_2_float : 1; guint identifier_2_string : 1; guint char_2_token : 1; guint symbol_2_token : 1; guint scope_0_fallback : 1; guint store_int64 : 1; guint padding_dummy; }; struct _GScanner { gpointer user_data; guint max_parse_errors; guint parse_errors; const gchar *input_name; GData *qdata; GScannerConfig *config; GTokenType token; GTokenValue value; guint line; guint position; GTokenType next_token; GTokenValue next_value; guint next_line; guint next_position; GHashTable *symbol_table; gint input_fd; const gchar *text; const gchar *text_end; gchar *buffer; guint scope_id; GScannerMsgFunc msg_handler; }; GScanner* g_scanner_new (const GScannerConfig *config_templ); void g_scanner_destroy (GScanner *scanner); void g_scanner_input_file (GScanner *scanner, gint input_fd); void g_scanner_sync_file_offset (GScanner *scanner); void g_scanner_input_text (GScanner *scanner, const gchar *text, guint text_len); GTokenType g_scanner_get_next_token (GScanner *scanner); GTokenType g_scanner_peek_next_token (GScanner *scanner); GTokenType g_scanner_cur_token (GScanner *scanner); GTokenValue g_scanner_cur_value (GScanner *scanner); guint g_scanner_cur_line (GScanner *scanner); guint g_scanner_cur_position (GScanner *scanner); gboolean g_scanner_eof (GScanner *scanner); guint g_scanner_set_scope (GScanner *scanner, guint scope_id); void g_scanner_scope_add_symbol (GScanner *scanner, guint scope_id, const gchar *symbol, gpointer value); void g_scanner_scope_remove_symbol (GScanner *scanner, guint scope_id, const gchar *symbol); gpointer g_scanner_scope_lookup_symbol (GScanner *scanner, guint scope_id, const gchar *symbol); void g_scanner_scope_foreach_symbol (GScanner *scanner, guint scope_id, GHFunc func, gpointer user_data); gpointer g_scanner_lookup_symbol (GScanner *scanner, const gchar *symbol); void g_scanner_unexp_token (GScanner *scanner, GTokenType expected_token, const gchar *identifier_spec, const gchar *symbol_spec, const gchar *symbol_name, const gchar *message, gint is_error); void g_scanner_error (GScanner *scanner, const gchar *format, ...) __attribute__((__format__ (__printf__, 2, 3))); void g_scanner_warn (GScanner *scanner, const gchar *format, ...) __attribute__((__format__ (__printf__, 2, 3))); # 72 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gsequence.h" 1 # 28 "/usr/local/include/glib-2.0/glib/gsequence.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 29 "/usr/local/include/glib-2.0/glib/gsequence.h" 2 typedef struct _GSequence GSequence; typedef struct _GSequenceNode GSequenceIter; typedef gint (* GSequenceIterCompareFunc) (GSequenceIter *a, GSequenceIter *b, gpointer data); GSequence * g_sequence_new (GDestroyNotify data_destroy); void g_sequence_free (GSequence *seq); gint g_sequence_get_length (GSequence *seq); void g_sequence_foreach (GSequence *seq, GFunc func, gpointer user_data); void g_sequence_foreach_range (GSequenceIter *begin, GSequenceIter *end, GFunc func, gpointer user_data); void g_sequence_sort (GSequence *seq, GCompareDataFunc cmp_func, gpointer cmp_data); void g_sequence_sort_iter (GSequence *seq, GSequenceIterCompareFunc cmp_func, gpointer cmp_data); GSequenceIter *g_sequence_get_begin_iter (GSequence *seq); GSequenceIter *g_sequence_get_end_iter (GSequence *seq); GSequenceIter *g_sequence_get_iter_at_pos (GSequence *seq, gint pos); GSequenceIter *g_sequence_append (GSequence *seq, gpointer data); GSequenceIter *g_sequence_prepend (GSequence *seq, gpointer data); GSequenceIter *g_sequence_insert_before (GSequenceIter *iter, gpointer data); void g_sequence_move (GSequenceIter *src, GSequenceIter *dest); void g_sequence_swap (GSequenceIter *a, GSequenceIter *b); GSequenceIter *g_sequence_insert_sorted (GSequence *seq, gpointer data, GCompareDataFunc cmp_func, gpointer cmp_data); GSequenceIter *g_sequence_insert_sorted_iter (GSequence *seq, gpointer data, GSequenceIterCompareFunc iter_cmp, gpointer cmp_data); void g_sequence_sort_changed (GSequenceIter *iter, GCompareDataFunc cmp_func, gpointer cmp_data); void g_sequence_sort_changed_iter (GSequenceIter *iter, GSequenceIterCompareFunc iter_cmp, gpointer cmp_data); void g_sequence_remove (GSequenceIter *iter); void g_sequence_remove_range (GSequenceIter *begin, GSequenceIter *end); void g_sequence_move_range (GSequenceIter *dest, GSequenceIter *begin, GSequenceIter *end); GSequenceIter *g_sequence_search (GSequence *seq, gpointer data, GCompareDataFunc cmp_func, gpointer cmp_data); GSequenceIter *g_sequence_search_iter (GSequence *seq, gpointer data, GSequenceIterCompareFunc iter_cmp, gpointer cmp_data); gpointer g_sequence_get (GSequenceIter *iter); void g_sequence_set (GSequenceIter *iter, gpointer data); gboolean g_sequence_iter_is_begin (GSequenceIter *iter); gboolean g_sequence_iter_is_end (GSequenceIter *iter); GSequenceIter *g_sequence_iter_next (GSequenceIter *iter); GSequenceIter *g_sequence_iter_prev (GSequenceIter *iter); gint g_sequence_iter_get_position (GSequenceIter *iter); GSequenceIter *g_sequence_iter_move (GSequenceIter *iter, gint delta); GSequence * g_sequence_iter_get_sequence (GSequenceIter *iter); gint g_sequence_iter_compare (GSequenceIter *a, GSequenceIter *b); GSequenceIter *g_sequence_range_get_midpoint (GSequenceIter *begin, GSequenceIter *end); # 73 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gshell.h" 1 # 28 "/usr/local/include/glib-2.0/glib/gshell.h" # 1 "/usr/local/include/glib-2.0/glib/gerror.h" 1 # 29 "/usr/local/include/glib-2.0/glib/gshell.h" 2 typedef enum { G_SHELL_ERROR_BAD_QUOTING, G_SHELL_ERROR_EMPTY_STRING, G_SHELL_ERROR_FAILED } GShellError; GQuark g_shell_error_quark (void); gchar* g_shell_quote (const gchar *unquoted_string); gchar* g_shell_unquote (const gchar *quoted_string, GError **error); gboolean g_shell_parse_argv (const gchar *command_line, gint *argcp, gchar ***argvp, GError **error); # 74 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gslice.h" 1 # 75 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gslist.h" 1 # 76 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gspawn.h" 1 # 28 "/usr/local/include/glib-2.0/glib/gspawn.h" # 1 "/usr/local/include/glib-2.0/glib/gerror.h" 1 # 29 "/usr/local/include/glib-2.0/glib/gspawn.h" 2 typedef enum { G_SPAWN_ERROR_FORK, G_SPAWN_ERROR_READ, G_SPAWN_ERROR_CHDIR, G_SPAWN_ERROR_ACCES, G_SPAWN_ERROR_PERM, G_SPAWN_ERROR_2BIG, G_SPAWN_ERROR_NOEXEC, G_SPAWN_ERROR_NAMETOOLONG, G_SPAWN_ERROR_NOENT, G_SPAWN_ERROR_NOMEM, G_SPAWN_ERROR_NOTDIR, G_SPAWN_ERROR_LOOP, G_SPAWN_ERROR_TXTBUSY, G_SPAWN_ERROR_IO, G_SPAWN_ERROR_NFILE, G_SPAWN_ERROR_MFILE, G_SPAWN_ERROR_INVAL, G_SPAWN_ERROR_ISDIR, G_SPAWN_ERROR_LIBBAD, G_SPAWN_ERROR_FAILED } GSpawnError; typedef void (* GSpawnChildSetupFunc) (gpointer user_data); typedef enum { G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0, G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1, G_SPAWN_SEARCH_PATH = 1 << 2, G_SPAWN_STDOUT_TO_DEV_NULL = 1 << 3, G_SPAWN_STDERR_TO_DEV_NULL = 1 << 4, G_SPAWN_CHILD_INHERITS_STDIN = 1 << 5, G_SPAWN_FILE_AND_ARGV_ZERO = 1 << 6 } GSpawnFlags; GQuark g_spawn_error_quark (void); # 86 "/usr/local/include/glib-2.0/glib/gspawn.h" gboolean g_spawn_async (const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, GPid *child_pid, GError **error); gboolean g_spawn_async_with_pipes (const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, GPid *child_pid, gint *standard_input, gint *standard_output, gint *standard_error, GError **error); gboolean g_spawn_sync (const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, gchar **standard_output, gchar **standard_error, gint *exit_status, GError **error); gboolean g_spawn_command_line_sync (const gchar *command_line, gchar **standard_output, gchar **standard_error, gint *exit_status, GError **error); gboolean g_spawn_command_line_async (const gchar *command_line, GError **error); void g_spawn_close_pid (GPid pid); # 77 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gstrfuncs.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gstrfuncs.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 36 "/usr/local/include/glib-2.0/glib/gstrfuncs.h" 2 typedef enum { G_ASCII_ALNUM = 1 << 0, G_ASCII_ALPHA = 1 << 1, G_ASCII_CNTRL = 1 << 2, G_ASCII_DIGIT = 1 << 3, G_ASCII_GRAPH = 1 << 4, G_ASCII_LOWER = 1 << 5, G_ASCII_PRINT = 1 << 6, G_ASCII_PUNCT = 1 << 7, G_ASCII_SPACE = 1 << 8, G_ASCII_UPPER = 1 << 9, G_ASCII_XDIGIT = 1 << 10 } GAsciiType; extern const guint16 * const g_ascii_table; # 89 "/usr/local/include/glib-2.0/glib/gstrfuncs.h" gchar g_ascii_tolower (gchar c) __attribute__((__const__)); gchar g_ascii_toupper (gchar c) __attribute__((__const__)); gint g_ascii_digit_value (gchar c) __attribute__((__const__)); gint g_ascii_xdigit_value (gchar c) __attribute__((__const__)); gchar* g_strdelimit (gchar *string, const gchar *delimiters, gchar new_delimiter); gchar* g_strcanon (gchar *string, const gchar *valid_chars, gchar substitutor); const gchar* g_strerror (gint errnum) __attribute__((__const__)); const gchar* g_strsignal (gint signum) __attribute__((__const__)); gchar* g_strreverse (gchar *string); gsize g_strlcpy (gchar *dest, const gchar *src, gsize dest_size); gsize g_strlcat (gchar *dest, const gchar *src, gsize dest_size); gchar * g_strstr_len (const gchar *haystack, gssize haystack_len, const gchar *needle); gchar * g_strrstr (const gchar *haystack, const gchar *needle); gchar * g_strrstr_len (const gchar *haystack, gssize haystack_len, const gchar *needle); gboolean g_str_has_suffix (const gchar *str, const gchar *suffix); gboolean g_str_has_prefix (const gchar *str, const gchar *prefix); gdouble g_strtod (const gchar *nptr, gchar **endptr); gdouble g_ascii_strtod (const gchar *nptr, gchar **endptr); guint64 g_ascii_strtoull (const gchar *nptr, gchar **endptr, guint base); gint64 g_ascii_strtoll (const gchar *nptr, gchar **endptr, guint base); gchar * g_ascii_dtostr (gchar *buffer, gint buf_len, gdouble d); gchar * g_ascii_formatd (gchar *buffer, gint buf_len, const gchar *format, gdouble d); gchar* g_strchug (gchar *string); gchar* g_strchomp (gchar *string); gint g_ascii_strcasecmp (const gchar *s1, const gchar *s2); gint g_ascii_strncasecmp (const gchar *s1, const gchar *s2, gsize n); gchar* g_ascii_strdown (const gchar *str, gssize len) __attribute__((__malloc__)); gchar* g_ascii_strup (const gchar *str, gssize len) __attribute__((__malloc__)); # 176 "/usr/local/include/glib-2.0/glib/gstrfuncs.h" gint g_strcasecmp (const gchar *s1, const gchar *s2); gint g_strncasecmp (const gchar *s1, const gchar *s2, guint n); gchar* g_strdown (gchar *string); gchar* g_strup (gchar *string); gchar* g_strdup (const gchar *str) __attribute__((__malloc__)); gchar* g_strdup_printf (const gchar *format, ...) __attribute__((__format__ (__printf__, 1, 2))) __attribute__((__malloc__)); gchar* g_strdup_vprintf (const gchar *format, va_list args) __attribute__((__malloc__)); gchar* g_strndup (const gchar *str, gsize n) __attribute__((__malloc__)); gchar* g_strnfill (gsize length, gchar fill_char) __attribute__((__malloc__)); gchar* g_strconcat (const gchar *string1, ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); gchar* g_strjoin (const gchar *separator, ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); gchar* g_strcompress (const gchar *source) __attribute__((__malloc__)); # 217 "/usr/local/include/glib-2.0/glib/gstrfuncs.h" gchar* g_strescape (const gchar *source, const gchar *exceptions) __attribute__((__malloc__)); gpointer g_memdup (gconstpointer mem, guint byte_size) __attribute__((__malloc__)) ; # 232 "/usr/local/include/glib-2.0/glib/gstrfuncs.h" gchar** g_strsplit (const gchar *string, const gchar *delimiter, gint max_tokens) __attribute__((__malloc__)); gchar ** g_strsplit_set (const gchar *string, const gchar *delimiters, gint max_tokens) __attribute__((__malloc__)); gchar* g_strjoinv (const gchar *separator, gchar **str_array) __attribute__((__malloc__)); void g_strfreev (gchar **str_array); gchar** g_strdupv (gchar **str_array) __attribute__((__malloc__)); guint g_strv_length (gchar **str_array); gchar* g_stpcpy (gchar *dest, const char *src); const gchar *g_strip_context (const gchar *msgid, const gchar *msgval) __attribute__((__format_arg__ (1))); const gchar *g_dgettext (const gchar *domain, const gchar *msgid) __attribute__((__format_arg__ (2))); const gchar *g_dngettext (const gchar *domain, const gchar *msgid, const gchar *msgid_plural, gulong n) __attribute__((__format_arg__ (3))); const gchar *g_dpgettext (const gchar *domain, const gchar *msgctxtid, gsize msgidoffset) __attribute__((__format_arg__ (2))); const gchar *g_dpgettext2 (const gchar *domain, const gchar *context, const gchar *msgid) __attribute__((__format_arg__ (3))); # 78 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gstring.h" 1 # 79 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gtestutils.h" 1 # 28 "/usr/local/include/glib-2.0/glib/gtestutils.h" # 1 "/usr/local/include/glib-2.0/glib.h" 1 # 29 "/usr/local/include/glib-2.0/glib/gtestutils.h" 2 typedef struct GTestCase GTestCase; typedef struct GTestSuite GTestSuite; # 72 "/usr/local/include/glib-2.0/glib/gtestutils.h" int g_strcmp0 (const char *str1, const char *str2); void g_test_minimized_result (double minimized_quantity, const char *format, ...) __attribute__((__format__ (__printf__, 2, 3))); void g_test_maximized_result (double maximized_quantity, const char *format, ...) __attribute__((__format__ (__printf__, 2, 3))); void g_test_init (int *argc, char ***argv, ...); # 95 "/usr/local/include/glib-2.0/glib/gtestutils.h" int g_test_run (void); void g_test_add_func (const char *testpath, void (*test_func) (void)); void g_test_add_data_func (const char *testpath, gconstpointer test_data, void (*test_func) (gconstpointer)); # 116 "/usr/local/include/glib-2.0/glib/gtestutils.h" void g_test_message (const char *format, ...) __attribute__((__format__ (__printf__, 1, 2))); void g_test_bug_base (const char *uri_pattern); void g_test_bug (const char *bug_uri_snippet); void g_test_timer_start (void); double g_test_timer_elapsed (void); double g_test_timer_last (void); void g_test_queue_free (gpointer gfree_pointer); void g_test_queue_destroy (GDestroyNotify destroy_func, gpointer destroy_data); typedef enum { G_TEST_TRAP_SILENCE_STDOUT = 1 << 7, G_TEST_TRAP_SILENCE_STDERR = 1 << 8, G_TEST_TRAP_INHERIT_STDIN = 1 << 9 } GTestTrapFlags; gboolean g_test_trap_fork (guint64 usec_timeout, GTestTrapFlags test_trap_flags); gboolean g_test_trap_has_passed (void); gboolean g_test_trap_reached_timeout (void); # 150 "/usr/local/include/glib-2.0/glib/gtestutils.h" gint32 g_test_rand_int (void); gint32 g_test_rand_int_range (gint32 begin, gint32 end); double g_test_rand_double (void); double g_test_rand_double_range (double range_start, double range_end); GTestCase* g_test_create_case (const char *test_name, gsize data_size, gconstpointer test_data, void (*data_setup) (void), void (*data_test) (void), void (*data_teardown) (void)); GTestSuite* g_test_create_suite (const char *suite_name); GTestSuite* g_test_get_root (void); void g_test_suite_add (GTestSuite *suite, GTestCase *test_case); void g_test_suite_add_suite (GTestSuite *suite, GTestSuite *nestedsuite); int g_test_run_suite (GTestSuite *suite); void g_test_trap_assertions (const char *domain, const char *file, int line, const char *func, guint64 assertion_flags, const char *pattern); void g_assertion_message (const char *domain, const char *file, int line, const char *func, const char *message) __attribute__((__noreturn__)); void g_assertion_message_expr (const char *domain, const char *file, int line, const char *func, const char *expr) __attribute__((__noreturn__)); void g_assertion_message_cmpstr (const char *domain, const char *file, int line, const char *func, const char *expr, const char *arg1, const char *cmp, const char *arg2) __attribute__((__noreturn__)); void g_assertion_message_cmpnum (const char *domain, const char *file, int line, const char *func, const char *expr, long double arg1, const char *cmp, long double arg2, char numtype) __attribute__((__noreturn__)); void g_assertion_message_error (const char *domain, const char *file, int line, const char *func, const char *expr, GError *error, GQuark error_domain, int error_code) __attribute__((__noreturn__)); void g_test_add_vtable (const char *testpath, gsize data_size, gconstpointer test_data, void (*data_setup) (void), void (*data_test) (void), void (*data_teardown) (void)); typedef struct { gboolean test_initialized; gboolean test_quick; gboolean test_perf; gboolean test_verbose; gboolean test_quiet; } GTestConfig; extern const GTestConfig * const g_test_config_vars; typedef enum { G_TEST_LOG_NONE, G_TEST_LOG_ERROR, G_TEST_LOG_START_BINARY, G_TEST_LOG_LIST_CASE, G_TEST_LOG_SKIP_CASE, G_TEST_LOG_START_CASE, G_TEST_LOG_STOP_CASE, G_TEST_LOG_MIN_RESULT, G_TEST_LOG_MAX_RESULT, G_TEST_LOG_MESSAGE } GTestLogType; typedef struct { GTestLogType log_type; guint n_strings; gchar **strings; guint n_nums; long double *nums; } GTestLogMsg; typedef struct { GString *data; GSList *msgs; } GTestLogBuffer; const char* g_test_log_type_name (GTestLogType log_type); GTestLogBuffer* g_test_log_buffer_new (void); void g_test_log_buffer_free (GTestLogBuffer *tbuffer); void g_test_log_buffer_push (GTestLogBuffer *tbuffer, guint n_bytes, const guint8 *bytes); GTestLogMsg* g_test_log_buffer_pop (GTestLogBuffer *tbuffer); void g_test_log_msg_free (GTestLogMsg *tmsg); # 278 "/usr/local/include/glib-2.0/glib/gtestutils.h" typedef gboolean (*GTestLogFatalFunc) (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data); void g_test_log_set_fatal_handler (GTestLogFatalFunc log_func, gpointer user_data); # 80 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gthread.h" 1 # 81 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gthreadpool.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gthreadpool.h" # 1 "/usr/local/include/glib-2.0/glib/gthread.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gthreadpool.h" 2 typedef struct _GThreadPool GThreadPool; struct _GThreadPool { GFunc func; gpointer user_data; gboolean exclusive; }; GThreadPool* g_thread_pool_new (GFunc func, gpointer user_data, gint max_threads, gboolean exclusive, GError **error); void g_thread_pool_push (GThreadPool *pool, gpointer data, GError **error); void g_thread_pool_set_max_threads (GThreadPool *pool, gint max_threads, GError **error); gint g_thread_pool_get_max_threads (GThreadPool *pool); guint g_thread_pool_get_num_threads (GThreadPool *pool); guint g_thread_pool_unprocessed (GThreadPool *pool); void g_thread_pool_free (GThreadPool *pool, gboolean immediate, gboolean wait_); void g_thread_pool_set_max_unused_threads (gint max_threads); gint g_thread_pool_get_max_unused_threads (void); guint g_thread_pool_get_num_unused_threads (void); void g_thread_pool_stop_unused_threads (void); void g_thread_pool_set_sort_function (GThreadPool *pool, GCompareDataFunc func, gpointer user_data); void g_thread_pool_set_max_idle_time (guint interval); guint g_thread_pool_get_max_idle_time (void); # 82 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gtimer.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gtimer.h" # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gtimer.h" 2 typedef struct _GTimer GTimer; GTimer* g_timer_new (void); void g_timer_destroy (GTimer *timer); void g_timer_start (GTimer *timer); void g_timer_stop (GTimer *timer); void g_timer_reset (GTimer *timer); void g_timer_continue (GTimer *timer); gdouble g_timer_elapsed (GTimer *timer, gulong *microseconds); void g_usleep (gulong microseconds); void g_time_val_add (GTimeVal *time_, glong microseconds); gboolean g_time_val_from_iso8601 (const gchar *iso_date, GTimeVal *time_); gchar* g_time_val_to_iso8601 (GTimeVal *time_) __attribute__((__malloc__)); # 83 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gtree.h" 1 # 34 "/usr/local/include/glib-2.0/glib/gtree.h" # 1 "/usr/local/include/glib-2.0/glib/gnode.h" 1 # 35 "/usr/local/include/glib-2.0/glib/gtree.h" 2 typedef struct _GTree GTree; typedef gboolean (*GTraverseFunc) (gpointer key, gpointer value, gpointer data); GTree* g_tree_new (GCompareFunc key_compare_func); GTree* g_tree_new_with_data (GCompareDataFunc key_compare_func, gpointer key_compare_data); GTree* g_tree_new_full (GCompareDataFunc key_compare_func, gpointer key_compare_data, GDestroyNotify key_destroy_func, GDestroyNotify value_destroy_func); GTree* g_tree_ref (GTree *tree); void g_tree_unref (GTree *tree); void g_tree_destroy (GTree *tree); void g_tree_insert (GTree *tree, gpointer key, gpointer value); void g_tree_replace (GTree *tree, gpointer key, gpointer value); gboolean g_tree_remove (GTree *tree, gconstpointer key); gboolean g_tree_steal (GTree *tree, gconstpointer key); gpointer g_tree_lookup (GTree *tree, gconstpointer key); gboolean g_tree_lookup_extended (GTree *tree, gconstpointer lookup_key, gpointer *orig_key, gpointer *value); void g_tree_foreach (GTree *tree, GTraverseFunc func, gpointer user_data); void g_tree_traverse (GTree *tree, GTraverseFunc traverse_func, GTraverseType traverse_type, gpointer user_data); gpointer g_tree_search (GTree *tree, GCompareFunc search_func, gconstpointer user_data); gint g_tree_height (GTree *tree); gint g_tree_nnodes (GTree *tree); # 84 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gtypes.h" 1 # 85 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gunicode.h" 1 # 86 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gurifuncs.h" 1 # 30 "/usr/local/include/glib-2.0/glib/gurifuncs.h" # 1 "/usr/local/include/glib-2.0/glib.h" 1 # 31 "/usr/local/include/glib-2.0/glib/gurifuncs.h" 2 # 69 "/usr/local/include/glib-2.0/glib/gurifuncs.h" char * g_uri_unescape_string (const char *escaped_string, const char *illegal_characters); char * g_uri_unescape_segment (const char *escaped_string, const char *escaped_string_end, const char *illegal_characters); char * g_uri_parse_scheme (const char *uri); char * g_uri_escape_string (const char *unescaped, const char *reserved_chars_allowed, gboolean allow_utf8); # 87 "/usr/local/include/glib-2.0/glib.h" 2 # 1 "/usr/local/include/glib-2.0/glib/gutils.h" 1 # 88 "/usr/local/include/glib-2.0/glib.h" 2 # 16 "weak.c" 2 static const gchar* _g_get_application_name(void) __attribute__((weakref("g_get_application_name")));; int main(void) { _g_get_application_name(); return 0; }