8 # 1 "/usr/include/libintl.h" 1 3 4
9 # 24 "/usr/include/libintl.h" 3 4
10 # 1 "/usr/include/features.h" 1 3 4
11 # 323 "/usr/include/features.h" 3 4
12 # 1 "/usr/include/bits/predefs.h" 1 3 4
13 # 324 "/usr/include/features.h" 2 3 4
14 # 356 "/usr/include/features.h" 3 4
15 # 1 "/usr/include/sys/cdefs.h" 1 3 4
16 # 353 "/usr/include/sys/cdefs.h" 3 4
17 # 1 "/usr/include/bits/wordsize.h" 1 3 4
18 # 354 "/usr/include/sys/cdefs.h" 2 3 4
19 # 357 "/usr/include/features.h" 2 3 4
20 # 388 "/usr/include/features.h" 3 4
21 # 1 "/usr/include/gnu/stubs.h" 1 3 4
25 # 1 "/usr/include/bits/wordsize.h" 1 3 4
26 # 5 "/usr/include/gnu/stubs.h" 2 3 4
31 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4
32 # 10 "/usr/include/gnu/stubs.h" 2 3 4
33 # 389 "/usr/include/features.h" 2 3 4
34 # 25 "/usr/include/libintl.h" 2 3 4
35 # 35 "/usr/include/libintl.h" 3 4
41 extern char *gettext (__const
char *__msgid)
42 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (1)));
46 extern
char *dgettext (__const
char *__domainname, __const
char *__msgid)
47 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
48 extern
char *__dgettext (__const
char *__domainname, __const
char *__msgid)
49 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
53 extern
char *dcgettext (__const
char *__domainname,
54 __const
char *__msgid,
int __category)
55 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
56 extern
char *__dcgettext (__const
char *__domainname,
57 __const
char *__msgid,
int __category)
58 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
63 extern
char *ngettext (__const
char *__msgid1, __const
char *__msgid2,
64 unsigned long int __n)
65 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (1))) __attribute__ ((__format_arg__ (2)));
69 extern
char *dngettext (__const
char *__domainname, __const
char *__msgid1,
70 __const
char *__msgid2,
unsigned long int __n)
71 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3)));
75 extern
char *dcngettext (__const
char *__domainname, __const
char *__msgid1,
76 __const
char *__msgid2,
unsigned long int __n,
78 __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3)));
84 extern
char *textdomain (__const
char *__domainname) __attribute__ ((__nothrow__));
88 extern
char *bindtextdomain (__const
char *__domainname,
89 __const
char *__dirname) __attribute__ ((__nothrow__));
93 extern
char *bind_textdomain_codeset (__const
char *__domainname,
94 __const
char *__codeset) __attribute__ ((__nothrow__));
95 # 122 "/usr/include/libintl.h" 3 4
98 # 1 "/usr/include/locale.h" 1 3 4
99 # 29 "/usr/include/locale.h" 3 4
100 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
101 # 30 "/usr/include/locale.h" 2 3 4
102 # 1 "/usr/include/bits/locale.h" 1 3 4
103 # 27 "/usr/include/bits/locale.h" 3 4
117 __LC_MEASUREMENT = 11,
118 __LC_IDENTIFICATION = 12
120 # 31 "/usr/include/locale.h" 2 3 4
123 # 51 "/usr/include/locale.h" 3 4
144 char *int_curr_symbol;
145 char *currency_symbol;
146 char *mon_decimal_point;
147 char *mon_thousands_sep;
151 char int_frac_digits;
171 char int_p_cs_precedes;
173 char int_p_sep_by_space;
175 char int_n_cs_precedes;
177 char int_n_sep_by_space;
184 char int_p_sign_posn;
185 char int_n_sign_posn;
186 # 121 "/usr/include/locale.h" 3 4
191 extern char *setlocale (
int __category, __const
char *__locale) __attribute__ ((__nothrow__));
194 extern struct lconv *localeconv (
void) __attribute__ ((__nothrow__));
197 # 146 "/usr/include/locale.h" 3 4
198 # 1 "/usr/include/xlocale.h" 1 3 4
199 # 28 "/usr/include/xlocale.h" 3 4
203 struct __locale_data *__locales[13];
206 const unsigned short int *__ctype_b;
207 const int *__ctype_tolower;
208 const int *__ctype_toupper;
211 const char *__names[13];
216 # 147 "/usr/include/locale.h" 2 3 4
222 extern __locale_t newlocale (
int __category_mask, __const
char *__locale,
223 __locale_t __base) __attribute__ ((__nothrow__));
224 # 187 "/usr/include/locale.h" 3 4
229 extern void freelocale (
__locale_t __dataset) __attribute__ ((__nothrow__));
246 # 1 "qof-expenses.h" 1
247 # 76 "qof-expenses.h"
248 # 1 "/usr/include/glib-2.0/glib.h" 1
249 # 32 "/usr/include/glib-2.0/glib.h"
250 # 1 "/usr/include/glib-2.0/glib/galloca.h" 1
251 # 34 "/usr/include/glib-2.0/glib/galloca.h"
252 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
253 # 34 "/usr/include/glib-2.0/glib/gtypes.h"
254 # 1 "/usr/lib/glib-2.0/include/glibconfig.h" 1
255 # 9 "/usr/lib/glib-2.0/include/glibconfig.h"
256 # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
257 # 40 "/usr/include/glib-2.0/glib/gmacros.h"
258 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
259 # 150 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 3 4
260 typedef long int ptrdiff_t;
261 # 212 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 3 4
262 typedef long unsigned int size_t;
263 # 324 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 3 4
265 # 41 "/usr/include/glib-2.0/glib/gmacros.h" 2
266 # 10 "/usr/lib/glib-2.0/include/glibconfig.h" 2
268 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/limits.h" 1 3 4
269 # 34 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/limits.h" 3 4
270 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/syslimits.h" 1 3 4
277 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/limits.h" 1 3 4
278 # 169 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/limits.h" 3 4
279 # 1 "/usr/include/limits.h" 1 3 4
280 # 145 "/usr/include/limits.h" 3 4
281 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4
282 # 157 "/usr/include/bits/posix1_lim.h" 3 4
283 # 1 "/usr/include/bits/local_lim.h" 1 3 4
284 # 39 "/usr/include/bits/local_lim.h" 3 4
285 # 1 "/usr/include/linux/limits.h" 1 3 4
286 # 40 "/usr/include/bits/local_lim.h" 2 3 4
287 # 158 "/usr/include/bits/posix1_lim.h" 2 3 4
288 # 146 "/usr/include/limits.h" 2 3 4
292 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4
293 # 150 "/usr/include/limits.h" 2 3 4
297 # 1 "/usr/include/bits/xopen_lim.h" 1 3 4
298 # 34 "/usr/include/bits/xopen_lim.h" 3 4
299 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
300 # 35 "/usr/include/bits/xopen_lim.h" 2 3 4
301 # 154 "/usr/include/limits.h" 2 3 4
302 # 170 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/limits.h" 2 3 4
303 # 8 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/syslimits.h" 2 3 4
304 # 35 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/limits.h" 2 3 4
305 # 12 "/usr/lib/glib-2.0/include/glibconfig.h" 2
306 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/float.h" 1 3 4
307 # 13 "/usr/lib/glib-2.0/include/glibconfig.h" 2
308 # 22 "/usr/lib/glib-2.0/include/glibconfig.h"
310 # 38 "/usr/lib/glib-2.0/include/glibconfig.h"
311 typedef signed char gint8;
312 typedef unsigned char guint8;
313 typedef signed short gint16;
314 typedef unsigned short guint16;
318 typedef signed int gint32;
319 typedef unsigned int guint32;
325 typedef signed long gint64;
326 typedef unsigned long guint64;
327 # 65 "/usr/lib/glib-2.0/include/glibconfig.h"
328 typedef signed long gssize;
329 typedef unsigned long gsize;
330 # 75 "/usr/lib/glib-2.0/include/glibconfig.h"
331 typedef gint64 goffset;
332 # 90 "/usr/lib/glib-2.0/include/glibconfig.h"
333 typedef signed long gintptr;
334 typedef unsigned long guintptr;
335 # 160 "/usr/lib/glib-2.0/include/glibconfig.h"
339 struct _GMutex *runtime_mutex;
347 # 179 "/usr/lib/glib-2.0/include/glibconfig.h"
356 # 232 "/usr/lib/glib-2.0/include/glibconfig.h"
358 # 242 "/usr/lib/glib-2.0/include/glibconfig.h"
360 # 35 "/usr/include/glib-2.0/glib/gtypes.h" 2
361 # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
362 # 36 "/usr/include/glib-2.0/glib/gtypes.h" 2
363 # 1 "/usr/include/time.h" 1 3 4
364 # 30 "/usr/include/time.h" 3 4
373 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
374 # 39 "/usr/include/time.h" 2 3 4
378 # 1 "/usr/include/bits/time.h" 1 3 4
379 # 43 "/usr/include/time.h" 2 3 4
380 # 56 "/usr/include/time.h" 3 4
381 # 1 "/usr/include/bits/types.h" 1 3 4
382 # 28 "/usr/include/bits/types.h" 3 4
383 # 1 "/usr/include/bits/wordsize.h" 1 3 4
384 # 29 "/usr/include/bits/types.h" 2 3 4
387 typedef unsigned char __u_char;
388 typedef unsigned short int __u_short;
389 typedef unsigned int __u_int;
390 typedef unsigned long int __u_long;
393 typedef signed char __int8_t;
394 typedef unsigned char __uint8_t;
395 typedef signed short int __int16_t;
396 typedef unsigned short int __uint16_t;
397 typedef signed int __int32_t;
398 typedef unsigned int __uint32_t;
400 typedef signed long int __int64_t;
401 typedef unsigned long int __uint64_t;
409 typedef long int __quad_t;
410 typedef unsigned long int __u_quad_t;
411 # 131 "/usr/include/bits/types.h" 3 4
412 # 1 "/usr/include/bits/typesizes.h" 1 3 4
413 # 132 "/usr/include/bits/types.h" 2 3 4
416 typedef unsigned long int __dev_t;
417 typedef unsigned int __uid_t;
418 typedef unsigned int __gid_t;
419 typedef unsigned long int __ino_t;
420 typedef unsigned long int __ino64_t;
421 typedef unsigned int __mode_t;
422 typedef unsigned long int __nlink_t;
423 typedef long int __off_t;
424 typedef long int __off64_t;
427 typedef long int __clock_t;
428 typedef unsigned long int __rlim_t;
429 typedef unsigned long int __rlim64_t;
430 typedef unsigned int __id_t;
431 typedef long int __time_t;
432 typedef unsigned int __useconds_t;
433 typedef long int __suseconds_t;
435 typedef int __daddr_t;
436 typedef long int __swblk_t;
440 typedef int __clockid_t;
443 typedef void * __timer_t;
446 typedef long int __blksize_t;
451 typedef long int __blkcnt_t;
452 typedef long int __blkcnt64_t;
455 typedef unsigned long int __fsblkcnt_t;
456 typedef unsigned long int __fsblkcnt64_t;
459 typedef unsigned long int __fsfilcnt_t;
460 typedef unsigned long int __fsfilcnt64_t;
462 typedef long int __ssize_t;
466 typedef __off64_t __loff_t;
467 typedef __quad_t *__qaddr_t;
468 typedef char *__caddr_t;
471 typedef long int __intptr_t;
474 typedef unsigned int __socklen_t;
475 # 57 "/usr/include/time.h" 2 3 4
479 typedef __clock_t clock_t;
483 # 74 "/usr/include/time.h" 3 4
486 typedef __time_t time_t;
490 # 92 "/usr/include/time.h" 3 4
491 typedef __clockid_t clockid_t;
492 # 104 "/usr/include/time.h" 3 4
493 typedef __timer_t timer_t;
494 # 120 "/usr/include/time.h" 3 4
522 __const
char *tm_zone;
549 typedef __pid_t pid_t;
558 extern clock_t clock (
void) __attribute__ ((__nothrow__));
561 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
564 extern
double difftime (time_t __time1, time_t __time0)
565 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
568 extern time_t mktime (struct
tm *__tp) __attribute__ ((__nothrow__));
574 extern
size_t strftime (
char *__restrict __s,
size_t __maxsize,
575 __const
char *__restrict __format,
576 __const struct
tm *__restrict __tp) __attribute__ ((__nothrow__));
582 extern
char *strptime (__const
char *__restrict __s,
583 __const
char *__restrict __fmt, struct
tm *__tp)
584 __attribute__ ((__nothrow__));
592 extern
size_t strftime_l (
char *__restrict __s,
size_t __maxsize,
593 __const
char *__restrict __format,
594 __const struct
tm *__restrict __tp,
595 __locale_t __loc) __attribute__ ((__nothrow__));
599 extern
char *strptime_l (__const
char *__restrict __s,
600 __const
char *__restrict __fmt, struct
tm *__tp,
601 __locale_t __loc) __attribute__ ((__nothrow__));
608 extern struct
tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
612 extern struct
tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
618 extern struct
tm *gmtime_r (__const time_t *__restrict __timer,
619 struct
tm *__restrict __tp) __attribute__ ((__nothrow__));
623 extern struct
tm *localtime_r (__const time_t *__restrict __timer,
624 struct
tm *__restrict __tp) __attribute__ ((__nothrow__));
630 extern
char *asctime (__const struct
tm *__tp) __attribute__ ((__nothrow__));
633 extern
char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
641 extern
char *asctime_r (__const struct
tm *__restrict __tp,
642 char *__restrict __buf) __attribute__ ((__nothrow__));
645 extern
char *ctime_r (__const time_t *__restrict __timer,
646 char *__restrict __buf) __attribute__ ((__nothrow__));
651 extern
char *__tzname[2];
652 extern
int __daylight;
653 extern
long int __timezone;
658 extern
char *tzname[2];
662 extern
void tzset (
void) __attribute__ ((__nothrow__));
667 extern
long int timezone;
673 extern
int stime (__const time_t *__when) __attribute__ ((__nothrow__));
674 # 313 "/usr/include/time.h" 3 4
675 extern time_t timegm (
struct tm *__tp) __attribute__ ((__nothrow__));
678 extern time_t timelocal (
struct tm *__tp) __attribute__ ((__nothrow__));
681 extern int dysize (
int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
682 # 328 "/usr/include/time.h" 3 4
683 extern int nanosleep (__const
struct timespec *__requested_time,
688 extern int clock_getres (clockid_t __clock_id,
struct timespec *__res) __attribute__ ((__nothrow__));
691 extern int clock_gettime (clockid_t __clock_id,
struct timespec *__tp) __attribute__ ((__nothrow__));
694 extern int clock_settime (clockid_t __clock_id, __const
struct timespec *__tp)
695 __attribute__ ((__nothrow__));
702 extern int clock_nanosleep (clockid_t __clock_id,
int __flags,
707 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
712 extern int timer_create (clockid_t __clock_id,
714 timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
717 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
720 extern int timer_settime (timer_t __timerid,
int __flags,
721 __const
struct itimerspec *__restrict __value,
722 struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
725 extern int timer_gettime (timer_t __timerid,
struct itimerspec *__value)
726 __attribute__ ((__nothrow__));
729 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
730 # 390 "/usr/include/time.h" 3 4
731 extern int getdate_err;
732 # 399 "/usr/include/time.h" 3 4
733 extern struct tm *getdate (__const
char *__string);
734 # 413 "/usr/include/time.h" 3 4
735 extern int getdate_r (__const
char *__restrict __string,
736 struct tm *__restrict __resbufp);
740 # 37 "/usr/include/glib-2.0/glib/gtypes.h" 2
743 # 47 "/usr/include/glib-2.0/glib/gtypes.h"
745 typedef short gshort;
748 typedef gint gboolean;
750 typedef unsigned char guchar;
751 typedef unsigned short gushort;
752 typedef unsigned long gulong;
753 typedef unsigned int guint;
755 typedef float gfloat;
756 typedef double gdouble;
757 # 78 "/usr/include/glib-2.0/glib/gtypes.h"
758 typedef void* gpointer;
759 typedef const void *gconstpointer;
761 typedef gint (*GCompareFunc) (gconstpointer a,
763 typedef gint (*GCompareDataFunc) (gconstpointer a,
766 typedef gboolean (*GEqualFunc) (gconstpointer a,
768 typedef void (*GDestroyNotify) (gpointer data);
769 typedef void (*GFunc) (gpointer data,
771 typedef guint (*GHashFunc) (gconstpointer key);
772 typedef void (*GHFunc) (gpointer key,
775 typedef void (*GFreeFunc) (gpointer data);
776 # 109 "/usr/include/glib-2.0/glib/gtypes.h"
777 typedef const gchar * (*GTranslateFunc) (
const gchar *str,
779 # 369 "/usr/include/glib-2.0/glib/gtypes.h"
792 guint biased_exponent : 8;
800 guint mantissa_low : 32;
801 guint mantissa_high : 20;
802 guint biased_exponent : 11;
806 # 419 "/usr/include/glib-2.0/glib/gtypes.h"
816 # 35 "/usr/include/glib-2.0/glib/galloca.h" 2
817 # 33 "/usr/include/glib-2.0/glib.h" 2
818 # 1 "/usr/include/glib-2.0/glib/garray.h" 1
819 # 34 "/usr/include/glib-2.0/glib/garray.h"
820 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
821 # 35 "/usr/include/glib-2.0/glib/garray.h" 2
846 # 70 "/usr/include/glib-2.0/glib/garray.h"
847 GArray* g_array_new (gboolean zero_terminated,
850 GArray* g_array_sized_new (gboolean zero_terminated,
853 guint reserved_size);
854 gchar* g_array_free (
GArray *array,
855 gboolean free_segment);
857 void g_array_unref (
GArray *array);
858 guint g_array_get_element_size (
GArray *array);
878 void g_array_sort (
GArray *array,
879 GCompareFunc compare_func);
880 void g_array_sort_with_data (
GArray *array,
881 GCompareDataFunc compare_func,
890 GPtrArray* g_ptr_array_new_with_free_func (GDestroyNotify element_free_func);
891 GPtrArray* g_ptr_array_sized_new (guint reserved_size);
892 gpointer* g_ptr_array_free (
GPtrArray *array,
895 void g_ptr_array_unref (
GPtrArray *array);
896 void g_ptr_array_set_free_func (
GPtrArray *array,
897 GDestroyNotify element_free_func);
898 void g_ptr_array_set_size (
GPtrArray *array,
900 gpointer g_ptr_array_remove_index (
GPtrArray *array,
902 gpointer g_ptr_array_remove_index_fast (
GPtrArray *array,
904 gboolean g_ptr_array_remove (
GPtrArray *array,
906 gboolean g_ptr_array_remove_fast (
GPtrArray *array,
908 void g_ptr_array_remove_range (
GPtrArray *array,
914 GCompareFunc compare_func);
915 void g_ptr_array_sort_with_data (
GPtrArray *array,
916 GCompareDataFunc compare_func,
918 void g_ptr_array_foreach (
GPtrArray *array,
928 GByteArray* g_byte_array_sized_new (guint reserved_size);
930 gboolean free_segment);
949 GCompareFunc compare_func);
950 void g_byte_array_sort_with_data (
GByteArray *array,
951 GCompareDataFunc compare_func,
955 # 34 "/usr/include/glib-2.0/glib.h" 2
956 # 1 "/usr/include/glib-2.0/glib/gasyncqueue.h" 1
957 # 34 "/usr/include/glib-2.0/glib/gasyncqueue.h"
958 # 1 "/usr/include/glib-2.0/glib/gthread.h" 1
959 # 34 "/usr/include/glib-2.0/glib/gthread.h"
960 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
961 # 28 "/usr/include/glib-2.0/glib/gerror.h"
962 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stdarg.h" 1 3 4
963 # 40 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stdarg.h" 3 4
964 typedef __builtin_va_list __gnuc_va_list;
965 # 102 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stdarg.h" 3 4
966 typedef __gnuc_va_list va_list;
967 # 29 "/usr/include/glib-2.0/glib/gerror.h" 2
969 # 1 "/usr/include/glib-2.0/glib/gquark.h" 1
970 # 34 "/usr/include/glib-2.0/glib/gquark.h"
971 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
972 # 35 "/usr/include/glib-2.0/glib/gquark.h" 2
976 typedef guint32 GQuark;
980 GQuark g_quark_try_string (
const gchar *
string);
981 GQuark g_quark_from_static_string (
const gchar *
string);
982 GQuark g_quark_from_string (
const gchar *
string);
983 const gchar* g_quark_to_string (GQuark quark) __attribute__((__const__));
985 const gchar* g_intern_string (
const gchar *
string);
986 const gchar* g_intern_static_string (
const gchar *
string);
989 # 31 "/usr/include/glib-2.0/glib/gerror.h" 2
1002 GError* g_error_new (GQuark domain,
1004 const gchar *format,
1005 ...) __attribute__((__format__ (__printf__, 3, 4)));
1007 GError* g_error_new_literal (GQuark domain,
1009 const gchar *message);
1010 GError* g_error_new_valist (GQuark domain,
1012 const gchar *format,
1015 void g_error_free (
GError *error);
1018 gboolean g_error_matches (const
GError *error,
1025 void g_set_error (
GError **err,
1028 const gchar *format,
1029 ...) __attribute__((__format__ (__printf__, 4, 5)));
1031 void g_set_error_literal (
GError **err,
1034 const gchar *message);
1038 void g_propagate_error (
GError **dest,
1042 void g_clear_error (
GError **err);
1045 void g_prefix_error (
GError **err,
1046 const gchar *format,
1047 ...) __attribute__((__format__ (__printf__, 2, 3)));
1050 void g_propagate_prefixed_error (
GError **dest,
1052 const gchar *format,
1053 ...) __attribute__((__format__ (__printf__, 3, 4)));
1056 # 35 "/usr/include/glib-2.0/glib/gthread.h" 2
1057 # 1 "/usr/include/glib-2.0/glib/gutils.h" 1
1058 # 34 "/usr/include/glib-2.0/glib/gutils.h"
1059 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
1060 # 35 "/usr/include/glib-2.0/glib/gutils.h" 2
1064 # 120 "/usr/include/glib-2.0/glib/gutils.h"
1065 const gchar* g_get_user_name (
void);
1066 const gchar* g_get_real_name (
void);
1067 const gchar* g_get_home_dir (
void);
1068 const gchar* g_get_tmp_dir (
void);
1069 const gchar* g_get_host_name (
void);
1070 gchar* g_get_prgname (
void);
1071 void g_set_prgname (
const gchar *prgname);
1072 const gchar* g_get_application_name (
void);
1073 void g_set_application_name (
const gchar *application_name);
1075 void g_reload_user_special_dirs_cache (
void);
1076 const gchar* g_get_user_data_dir (
void);
1077 const gchar* g_get_user_config_dir (
void);
1078 const gchar* g_get_user_cache_dir (
void);
1079 const gchar*
const * g_get_system_data_dirs (
void);
1080 # 154 "/usr/include/glib-2.0/glib/gutils.h"
1081 const gchar*
const * g_get_system_config_dirs (
void);
1083 const gchar * g_get_user_runtime_dir (
void);
1085 const gchar*
const * g_get_language_names (
void);
1087 gchar **g_get_locale_variants (
const gchar *locale);
1088 # 184 "/usr/include/glib-2.0/glib/gutils.h"
1090 G_USER_DIRECTORY_DESKTOP,
1091 G_USER_DIRECTORY_DOCUMENTS,
1092 G_USER_DIRECTORY_DOWNLOAD,
1093 G_USER_DIRECTORY_MUSIC,
1094 G_USER_DIRECTORY_PICTURES,
1095 G_USER_DIRECTORY_PUBLIC_SHARE,
1096 G_USER_DIRECTORY_TEMPLATES,
1097 G_USER_DIRECTORY_VIDEOS,
1099 G_USER_N_DIRECTORIES
1102 const gchar* g_get_user_special_dir (GUserDirectory directory);
1113 guint g_parse_debug_string (
const gchar *
string,
1117 gint g_snprintf (gchar *
string,
1119 gchar
const *format,
1120 ...) __attribute__((__format__ (__printf__, 3, 4)));
1121 gint g_vsnprintf (gchar *
string,
1123 gchar const *format,
1127 gboolean g_path_is_absolute (const gchar *file_name);
1130 const gchar* g_path_skip_root (const gchar *file_name);
1138 const gchar* g_basename (const gchar *file_name);
1139 # 243 "/usr/include/glib-2.0/glib/gutils.h"
1140 gchar* g_get_current_dir (
void);
1141 gchar* g_path_get_basename (
const gchar *file_name) __attribute__((__malloc__));
1142 gchar* g_path_get_dirname (
const gchar *file_name) __attribute__((__malloc__));
1145 void g_nullify_pointer (gpointer *nullify_location);
1146 # 259 "/usr/include/glib-2.0/glib/gutils.h"
1147 const gchar* g_getenv (
const gchar *variable);
1148 gboolean g_setenv (
const gchar *variable,
1150 gboolean overwrite);
1151 void g_unsetenv (
const gchar *variable);
1152 gchar** g_listenv (
void);
1153 gchar** g_get_environ (
void);
1156 const gchar* _g_getenv_nomalloc (
const gchar *variable,
1157 gchar buffer[1024]);
1163 typedef void (*GVoidFunc) (void);
1164 # 286 "/usr/include/glib-2.0/glib/gutils.h"
1165 void g_atexit (GVoidFunc func);
1166 # 302 "/usr/include/glib-2.0/glib/gutils.h"
1167 gchar* g_find_program_in_path (
const gchar *program);
1171 static __inline __attribute__ ((unused)) gint g_bit_nth_lsf (gulong mask,
1172 gint nth_bit) __attribute__((__const__));
1173 static __inline __attribute__ ((unused)) gint g_bit_nth_msf (gulong mask,
1174 gint nth_bit) __attribute__((__const__));
1175 static __inline __attribute__ ((unused)) guint g_bit_storage (gulong number) __attribute__((__const__));
1186 static __inline __attribute__ ((unused)) void g_trash_stack_push (
GTrashStack **stack_p,
1188 static __inline __attribute__ ((unused)) gpointer g_trash_stack_pop (
GTrashStack **stack_p);
1189 static __inline __attribute__ ((unused)) gpointer g_trash_stack_peek (
GTrashStack **stack_p);
1190 static __inline __attribute__ ((unused)) guint g_trash_stack_height (
GTrashStack **stack_p);
1195 static __inline __attribute__ ((unused)) gint
1196 g_bit_nth_lsf (gulong mask,
1201 while (nth_bit < ((8 * 8) - 1))
1204 if (mask & (1UL << nth_bit))
1209 static __inline __attribute__ ((unused)) gint
1210 g_bit_nth_msf (gulong mask,
1213 if (nth_bit < 0 || (nth_bit > 8 * 8))
1218 if (mask & (1UL << nth_bit))
1223 static __inline __attribute__ ((unused)) guint
1224 g_bit_storage (gulong number)
1230 register guint n_bits = 0;
1241 static __inline __attribute__ ((unused)) void
1247 data->next = *stack_p;
1250 static __inline __attribute__ ((unused)) gpointer
1258 *stack_p = data->next;
1262 data->next = ((
void *)0);
1267 static __inline __attribute__ ((unused)) gpointer
1276 static __inline __attribute__ ((unused)) guint
1282 for (data = *stack_p; data; data = data->next)
1293 extern const guint glib_major_version;
1294 extern const guint glib_minor_version;
1295 extern const guint glib_micro_version;
1296 extern const guint glib_interface_age;
1297 extern const guint glib_binary_age;
1299 const gchar * glib_check_version (guint required_major,
1300 guint required_minor,
1301 guint required_micro);
1310 # 36 "/usr/include/glib-2.0/glib/gthread.h" 2
1311 # 1 "/usr/include/glib-2.0/glib/gatomic.h" 1
1312 # 37 "/usr/include/glib-2.0/glib/gatomic.h"
1313 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
1314 # 38 "/usr/include/glib-2.0/glib/gatomic.h" 2
1318 gint g_atomic_int_exchange_and_add (
volatile gint __attribute__((may_alias)) *atomic,
1320 void g_atomic_int_add (
volatile gint __attribute__((may_alias)) *atomic,
1322 gboolean g_atomic_int_compare_and_exchange (
volatile gint __attribute__((may_alias)) *atomic,
1325 gboolean g_atomic_pointer_compare_and_exchange (
volatile gpointer __attribute__((may_alias)) *atomic,
1329 gint g_atomic_int_get (
volatile gint __attribute__((may_alias)) *atomic);
1330 void g_atomic_int_set (
volatile gint __attribute__((may_alias)) *atomic,
1332 gpointer g_atomic_pointer_get (
volatile gpointer __attribute__((may_alias)) *atomic);
1333 void g_atomic_pointer_set (
volatile gpointer __attribute__((may_alias)) *atomic,
1335 # 103 "/usr/include/glib-2.0/glib/gatomic.h"
1337 # 37 "/usr/include/glib-2.0/glib/gthread.h" 2
1344 extern GQuark g_thread_error_quark (
void);
1349 G_THREAD_ERROR_AGAIN
1352 typedef gpointer (*GThreadFunc) (gpointer data);
1356 G_THREAD_PRIORITY_LOW,
1357 G_THREAD_PRIORITY_NORMAL,
1358 G_THREAD_PRIORITY_HIGH,
1359 G_THREAD_PRIORITY_URGENT
1369 GThreadPriority priority;
1372 typedef struct _GMutex GMutex;
1373 typedef struct _GCond GCond;
1374 typedef struct _GPrivate GPrivate;
1380 GMutex* (*mutex_new) (void);
1381 void (*mutex_lock) (GMutex *mutex);
1382 gboolean (*mutex_trylock) (GMutex *mutex);
1383 void (*mutex_unlock) (GMutex *mutex);
1384 void (*mutex_free) (GMutex *mutex);
1385 GCond* (*cond_new) (void);
1386 void (*cond_signal) (GCond *cond);
1387 void (*cond_broadcast) (GCond *cond);
1388 void (*cond_wait) (GCond *cond,
1390 gboolean (*cond_timed_wait) (GCond *cond,
1393 void (*cond_free) (GCond *cond);
1394 GPrivate* (*private_new) (GDestroyNotify destructor);
1395 gpointer (*private_get) (GPrivate *private_key);
1396 void (*private_set) (GPrivate *private_key,
1398 void (*thread_create) (GThreadFunc func,
1403 GThreadPriority priority,
1406 void (*thread_yield) (void);
1407 void (*thread_join) (gpointer thread);
1408 void (*thread_exit) (void);
1409 void (*thread_set_priority)(gpointer thread,
1410 GThreadPriority priority);
1411 void (*thread_self) (gpointer thread);
1412 gboolean (*thread_equal) (gpointer thread1,
1417 extern gboolean g_thread_use_default_impl;
1418 extern gboolean g_threads_got_initialized;
1420 extern guint64 (*g_thread_gettime) (void);
1427 # 134 "/usr/include/glib-2.0/glib/gthread.h"
1433 gboolean g_thread_get_initialized (
void);
1434 # 149 "/usr/include/glib-2.0/glib/gthread.h"
1435 GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex);
1436 # 224 "/usr/include/glib-2.0/glib/gthread.h"
1437 GThread* g_thread_create_full (GThreadFunc func,
1442 GThreadPriority priority,
1444 GThread* g_thread_self (
void);
1445 void g_thread_exit (gpointer retval);
1446 gpointer g_thread_join (
GThread *thread);
1448 void g_thread_set_priority (
GThread *thread,
1449 GThreadPriority priority);
1450 # 249 "/usr/include/glib-2.0/glib/gthread.h"
1464 GDestroyNotify notify);
1494 gboolean have_writer;
1496 guint want_to_write;
1503 gboolean g_static_rw_lock_reader_trylock (
GStaticRWLock* lock);
1506 gboolean g_static_rw_lock_writer_trylock (
GStaticRWLock* lock);
1510 void g_thread_foreach (GFunc thread_func,
1511 gpointer user_data);
1515 G_ONCE_STATUS_NOTCALLED,
1516 G_ONCE_STATUS_PROGRESS,
1523 volatile GOnceStatus status;
1524 volatile gpointer retval;
1529 gpointer g_once_impl (
GOnce *once, GThreadFunc func, gpointer arg);
1530 # 339 "/usr/include/glib-2.0/glib/gthread.h"
1531 static __inline __attribute__ ((unused)) gboolean g_once_init_enter (volatile gsize *value_location);
1532 gboolean g_once_init_enter_impl (volatile gsize *value_location);
1533 void g_once_init_leave (volatile gsize *value_location,
1534 gsize initialization_value);
1536 static __inline __attribute__ ((unused)) gboolean
1537 g_once_init_enter (volatile gsize *value_location)
1539 if ((gpointer) ((
void)
sizeof (gchar [
sizeof (*(value_location)) ==
sizeof (gpointer) ? 1 : -1]), (g_atomic_pointer_get) ((
volatile gpointer __attribute__((may_alias)) *) (
volatile void *) (value_location))) != ((
void *)0))
1542 return g_once_init_enter_impl (value_location);
1544 # 363 "/usr/include/glib-2.0/glib/gthread.h"
1545 extern void glib_dummy_decl (
void);
1546 # 405 "/usr/include/glib-2.0/glib/gthread.h"
1548 # 35 "/usr/include/glib-2.0/glib/gasyncqueue.h" 2
1552 typedef struct _GAsyncQueue GAsyncQueue;
1557 GAsyncQueue* g_async_queue_new (
void);
1559 GAsyncQueue* g_async_queue_new_full (GDestroyNotify item_free_func);
1565 void g_async_queue_lock (GAsyncQueue *queue);
1566 void g_async_queue_unlock (GAsyncQueue *queue);
1569 GAsyncQueue* g_async_queue_ref (GAsyncQueue *queue);
1570 void g_async_queue_unref (GAsyncQueue *queue);
1574 void g_async_queue_ref_unlocked (GAsyncQueue *queue);
1575 void g_async_queue_unref_and_unlock (GAsyncQueue *queue);
1579 void g_async_queue_push (GAsyncQueue *queue,
1581 void g_async_queue_push_unlocked (GAsyncQueue *queue,
1584 void g_async_queue_push_sorted (GAsyncQueue *queue,
1586 GCompareDataFunc func,
1587 gpointer user_data);
1588 void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue,
1590 GCompareDataFunc func,
1591 gpointer user_data);
1596 gpointer g_async_queue_pop (GAsyncQueue *queue);
1597 gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue);
1600 gpointer g_async_queue_try_pop (GAsyncQueue *queue);
1601 gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue);
1608 gpointer g_async_queue_timed_pop (GAsyncQueue *queue,
1610 gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue,
1612 # 106 "/usr/include/glib-2.0/glib/gasyncqueue.h"
1613 gint g_async_queue_length (GAsyncQueue *queue);
1614 gint g_async_queue_length_unlocked (GAsyncQueue *queue);
1615 void g_async_queue_sort (GAsyncQueue *queue,
1616 GCompareDataFunc func,
1617 gpointer user_data);
1618 void g_async_queue_sort_unlocked (GAsyncQueue *queue,
1619 GCompareDataFunc func,
1620 gpointer user_data);
1623 GMutex* _g_async_queue_get_mutex (GAsyncQueue *queue);
1626 # 35 "/usr/include/glib-2.0/glib.h" 2
1627 # 1 "/usr/include/glib-2.0/glib/gatomic.h" 1
1628 # 36 "/usr/include/glib-2.0/glib.h" 2
1629 # 1 "/usr/include/glib-2.0/glib/gbacktrace.h" 1
1630 # 34 "/usr/include/glib-2.0/glib/gbacktrace.h"
1631 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
1632 # 35 "/usr/include/glib-2.0/glib/gbacktrace.h" 2
1633 # 1 "/usr/include/signal.h" 1 3 4
1634 # 31 "/usr/include/signal.h" 3 4
1637 # 1 "/usr/include/bits/sigset.h" 1 3 4
1638 # 24 "/usr/include/bits/sigset.h" 3 4
1639 typedef int __sig_atomic_t;
1646 unsigned long int __val[(1024 / (8 *
sizeof (
unsigned long int)))];
1648 # 104 "/usr/include/bits/sigset.h" 3 4
1649 extern int __sigismember (__const
__sigset_t *,
int);
1652 # 34 "/usr/include/signal.h" 2 3 4
1660 typedef __sig_atomic_t sig_atomic_t;
1677 # 1 "/usr/include/bits/signum.h" 1 3 4
1678 # 59 "/usr/include/signal.h" 2 3 4
1679 # 68 "/usr/include/signal.h" 3 4
1680 typedef __uid_t uid_t;
1681 # 79 "/usr/include/signal.h" 3 4
1682 # 1 "/usr/include/bits/siginfo.h" 1 3 4
1683 # 25 "/usr/include/bits/siginfo.h" 3 4
1684 # 1 "/usr/include/bits/wordsize.h" 1 3 4
1685 # 26 "/usr/include/bits/siginfo.h" 2 3 4
1698 # 51 "/usr/include/bits/siginfo.h" 3 4
1708 int _pad[((128 /
sizeof (int)) - 4)];
1757 # 129 "/usr/include/bits/siginfo.h" 3 4
1885 # 273 "/usr/include/bits/siginfo.h" 3 4
1894 int _pad[((64 /
sizeof (int)) - 4)];
1925 # 80 "/usr/include/signal.h" 2 3 4
1930 typedef void (*__sighandler_t) (int);
1935 extern __sighandler_t __sysv_signal (
int __sig, __sighandler_t __handler)
1936 __attribute__ ((__nothrow__));
1938 extern __sighandler_t sysv_signal (
int __sig, __sighandler_t __handler)
1939 __attribute__ ((__nothrow__));
1947 extern __sighandler_t signal (
int __sig, __sighandler_t __handler)
1948 __attribute__ ((__nothrow__));
1949 # 113 "/usr/include/signal.h" 3 4
1955 extern __sighandler_t bsd_signal (
int __sig, __sighandler_t __handler)
1956 __attribute__ ((__nothrow__));
1963 extern int kill (__pid_t __pid,
int __sig) __attribute__ ((__nothrow__));
1970 extern int killpg (__pid_t __pgrp,
int __sig) __attribute__ ((__nothrow__));
1975 extern int raise (
int __sig) __attribute__ ((__nothrow__));
1980 extern __sighandler_t ssignal (
int __sig, __sighandler_t __handler)
1981 __attribute__ ((__nothrow__));
1982 extern int gsignal (
int __sig) __attribute__ ((__nothrow__));
1987 extern void psignal (
int __sig, __const
char *__s);
1992 extern void psiginfo (__const
siginfo_t *__pinfo, __const
char *__s);
1993 # 168 "/usr/include/signal.h" 3 4
1994 extern int __sigpause (
int __sig_or_mask,
int __is_sig);
1995 # 177 "/usr/include/signal.h" 3 4
1996 extern int sigpause (
int __sig) __asm__ (
"__xpg_sigpause");
1997 # 196 "/usr/include/signal.h" 3 4
1998 extern int sigblock (
int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
2001 extern
int sigsetmask (
int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
2004 extern
int siggetmask (
void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
2005 # 211 "/usr/include/signal.h" 3 4
2006 typedef __sighandler_t sighandler_t;
2011 typedef __sighandler_t sig_t;
2017 extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2020 extern
int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2023 extern
int sigaddset (sigset_t *__set,
int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2026 extern
int sigdelset (sigset_t *__set,
int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2029 extern
int sigismember (__const sigset_t *__set,
int __signo)
2030 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2034 extern
int sigisemptyset (__const sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2037 extern
int sigandset (sigset_t *__set, __const sigset_t *__left,
2038 __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
2041 extern
int sigorset (sigset_t *__set, __const sigset_t *__left,
2042 __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
2047 # 1 "/usr/include/bits/sigaction.h" 1 3 4
2048 # 25 "/usr/include/bits/sigaction.h" 3 4
2056 __sighandler_t sa_handler;
2058 void (*sa_sigaction) (int,
siginfo_t *,
void *);
2060 __sigaction_handler;
2074 void (*sa_restorer) (void);
2076 # 253 "/usr/include/signal.h" 2 3 4
2079 extern int sigprocmask (
int __how, __const sigset_t *__restrict __set,
2080 sigset_t *__restrict __oset) __attribute__ ((__nothrow__));
2087 extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1)));
2091 struct sigaction *__restrict __oact) __attribute__ ((__nothrow__));
2094 extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2101 extern
int sigwait (__const sigset_t *__restrict __set,
int *__restrict __sig)
2102 __attribute__ ((__nonnull__ (1, 2)));
2109 extern
int sigwaitinfo (__const sigset_t *__restrict __set,
2110 siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1)));
2117 extern
int sigtimedwait (__const sigset_t *__restrict __set,
2119 __const struct
timespec *__restrict __timeout)
2120 __attribute__ ((__nonnull__ (1)));
2124 extern
int sigqueue (__pid_t __pid,
int __sig, __const union
sigval __val)
2125 __attribute__ ((__nothrow__));
2126 # 310 "/usr/include/signal.h" 3 4
2127 extern __const
char *__const _sys_siglist[65];
2128 extern __const
char *__const sys_siglist[65];
2133 __sighandler_t sv_handler;
2139 # 334 "/usr/include/signal.h" 3 4
2140 extern int sigvec (
int __sig, __const
struct sigvec *__vec,
2141 struct sigvec *__ovec) __attribute__ ((__nothrow__));
2145 # 1 "/usr/include/bits/sigcontext.h" 1 3 4
2146 # 26 "/usr/include/bits/sigcontext.h" 3 4
2147 # 1 "/usr/include/bits/wordsize.h" 1 3 4
2148 # 27 "/usr/include/bits/sigcontext.h" 2 3 4
2152 unsigned short significand[4];
2153 unsigned short exponent;
2158 unsigned short significand[4];
2159 unsigned short exponent;
2160 unsigned short padding[3];
2165 __uint32_t element[4];
2167 # 109 "/usr/include/bits/sigcontext.h" 3 4
2178 __uint32_t mxcr_mask;
2181 __uint32_t padding[24];
2203 unsigned long eflags;
2207 unsigned short __pad0;
2209 unsigned long trapno;
2210 unsigned long oldmask;
2213 unsigned long __reserved1 [8];
2215 # 340 "/usr/include/signal.h" 2 3 4
2218 extern int sigreturn (
struct sigcontext *__scp) __attribute__ ((__nothrow__));
2225 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
2226 # 350 "/usr/include/signal.h" 2 3 4
2231 extern int siginterrupt (
int __sig,
int __interrupt) __attribute__ ((__nothrow__));
2233 # 1 "/usr/include/bits/sigstack.h" 1 3 4
2234 # 26 "/usr/include/bits/sigstack.h" 3 4
2250 # 50 "/usr/include/bits/sigstack.h" 3 4
2257 # 357 "/usr/include/signal.h" 2 3 4
2260 # 1 "/usr/include/sys/ucontext.h" 1 3 4
2261 # 23 "/usr/include/sys/ucontext.h" 3 4
2262 # 1 "/usr/include/signal.h" 1 3 4
2263 # 24 "/usr/include/sys/ucontext.h" 2 3 4
2264 # 1 "/usr/include/bits/wordsize.h" 1 3 4
2265 # 25 "/usr/include/sys/ucontext.h" 2 3 4
2266 # 33 "/usr/include/sys/ucontext.h" 3 4
2267 typedef long int greg_t;
2273 typedef greg_t gregset_t[23];
2330 unsigned short int significand[4];
2331 unsigned short int exponent;
2332 unsigned short int padding[3];
2337 __uint32_t element[4];
2350 __uint32_t mxcr_mask;
2353 __uint32_t padding[24];
2365 unsigned long __reserved1 [8];
2371 unsigned long int uc_flags;
2378 # 360 "/usr/include/signal.h" 2 3 4
2385 __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
2390 struct
sigaltstack *__restrict __oss) __attribute__ ((__nothrow__));
2398 extern
int sighold (
int __sig) __attribute__ ((__nothrow__));
2401 extern
int sigrelse (
int __sig) __attribute__ ((__nothrow__));
2404 extern
int sigignore (
int __sig) __attribute__ ((__nothrow__));
2407 extern __sighandler_t sigset (
int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__));
2413 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
2414 # 23 "/usr/include/bits/pthreadtypes.h" 3 4
2415 # 1 "/usr/include/bits/wordsize.h" 1 3 4
2416 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4
2417 # 50 "/usr/include/bits/pthreadtypes.h" 3 4
2418 typedef unsigned long int pthread_t;
2434 # 76 "/usr/include/bits/pthreadtypes.h" 3 4
2440 unsigned int __count;
2443 unsigned int __nusers;
2451 # 101 "/usr/include/bits/pthreadtypes.h" 3 4
2471 unsigned int __futex;
2472 __extension__
unsigned long long int __total_seq;
2473 __extension__
unsigned long long int __wakeup_seq;
2474 __extension__
unsigned long long int __woken_seq;
2476 unsigned int __nwaiters;
2477 unsigned int __broadcast_seq;
2480 __extension__
long long int __align;
2491 typedef unsigned int pthread_key_t;
2495 typedef int pthread_once_t;
2507 unsigned int __nr_readers;
2508 unsigned int __readers_wakeup;
2509 unsigned int __writer_wakeup;
2510 unsigned int __nr_readers_queued;
2511 unsigned int __nr_writers_queued;
2514 unsigned long int __pad1;
2515 unsigned long int __pad2;
2518 unsigned int __flags;
2520 # 187 "/usr/include/bits/pthreadtypes.h" 3 4
2535 typedef volatile int pthread_spinlock_t;
2551 # 395 "/usr/include/signal.h" 2 3 4
2552 # 1 "/usr/include/bits/sigthread.h" 1 3 4
2553 # 31 "/usr/include/bits/sigthread.h" 3 4
2554 extern int pthread_sigmask (
int __how,
2556 __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__));
2559 extern int pthread_kill (pthread_t __threadid,
int __signo) __attribute__ ((__nothrow__));
2563 extern int pthread_sigqueue (pthread_t __threadid,
int __signo,
2564 const union sigval __value) __attribute__ ((__nothrow__));
2565 # 396 "/usr/include/signal.h" 2 3 4
2572 extern int __libc_current_sigrtmin (
void) __attribute__ ((__nothrow__));
2574 extern
int __libc_current_sigrtmax (
void) __attribute__ ((__nothrow__));
2579 # 36 "/usr/include/glib-2.0/glib/gbacktrace.h" 2
2582 # 48 "/usr/include/glib-2.0/glib/gbacktrace.h"
2583 void g_on_error_query (
const gchar *prg_name);
2584 void g_on_error_stack_trace (
const gchar *prg_name);
2585 # 66 "/usr/include/glib-2.0/glib/gbacktrace.h"
2587 # 37 "/usr/include/glib-2.0/glib.h" 2
2588 # 1 "/usr/include/glib-2.0/glib/gbase64.h" 1
2589 # 28 "/usr/include/glib-2.0/glib/gbase64.h"
2590 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
2591 # 29 "/usr/include/glib-2.0/glib/gbase64.h" 2
2595 gsize g_base64_encode_step (
const guchar *in,
2597 gboolean break_lines,
2601 gsize g_base64_encode_close (gboolean break_lines,
2605 gchar* g_base64_encode (
const guchar *data,
2606 gsize len) __attribute__((__malloc__));
2607 gsize g_base64_decode_step (
const gchar *in,
2612 guchar *g_base64_decode (
const gchar *text,
2613 gsize *out_len) __attribute__((__malloc__));
2614 guchar *g_base64_decode_inplace (gchar *text,
2619 # 38 "/usr/include/glib-2.0/glib.h" 2
2620 # 1 "/usr/include/glib-2.0/glib/gbitlock.h" 1
2621 # 26 "/usr/include/glib-2.0/glib/gbitlock.h"
2622 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
2623 # 27 "/usr/include/glib-2.0/glib/gbitlock.h" 2
2631 void g_bit_lock (
volatile gint *address,
2633 gboolean g_bit_trylock (
volatile gint *address,
2635 void g_bit_unlock (
volatile gint *address,
2639 # 39 "/usr/include/glib-2.0/glib.h" 2
2640 # 1 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 1
2641 # 27 "/usr/include/glib-2.0/glib/gbookmarkfile.h"
2642 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
2643 # 28 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 2
2647 # 57 "/usr/include/glib-2.0/glib/gbookmarkfile.h"
2650 G_BOOKMARK_FILE_ERROR_INVALID_URI,
2651 G_BOOKMARK_FILE_ERROR_INVALID_VALUE,
2652 G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED,
2653 G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND,
2654 G_BOOKMARK_FILE_ERROR_READ,
2655 G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING,
2656 G_BOOKMARK_FILE_ERROR_WRITE,
2657 G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND
2658 } GBookmarkFileError;
2660 GQuark g_bookmark_file_error_quark (
void);
2668 typedef struct _GBookmarkFile GBookmarkFile;
2670 GBookmarkFile *g_bookmark_file_new (
void);
2671 void g_bookmark_file_free (GBookmarkFile *bookmark);
2673 gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark,
2674 const gchar *filename,
2676 gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark,
2680 gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark,
2684 gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark,
2686 GError **error) __attribute__((__malloc__));
2687 gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark,
2688 const gchar *filename,
2691 void g_bookmark_file_set_title (GBookmarkFile *bookmark,
2693 const gchar *title);
2694 gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark,
2696 GError **error) __attribute__((__malloc__));
2697 void g_bookmark_file_set_description (GBookmarkFile *bookmark,
2699 const gchar *description);
2700 gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark,
2702 GError **error) __attribute__((__malloc__));
2703 void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark,
2705 const gchar *mime_type);
2706 gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark,
2708 GError **error) __attribute__((__malloc__));
2709 void g_bookmark_file_set_groups (GBookmarkFile *bookmark,
2711 const gchar **groups,
2713 void g_bookmark_file_add_group (GBookmarkFile *bookmark,
2715 const gchar *group);
2716 gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark,
2720 gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark,
2723 GError **error) __attribute__((__malloc__));
2724 void g_bookmark_file_add_application (GBookmarkFile *bookmark,
2728 gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark,
2732 gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark,
2735 GError **error) __attribute__((__malloc__));
2736 gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark,
2743 gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark,
2750 void g_bookmark_file_set_is_private (GBookmarkFile *bookmark,
2752 gboolean is_private);
2753 gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark,
2756 void g_bookmark_file_set_icon (GBookmarkFile *bookmark,
2759 const gchar *mime_type);
2760 gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark,
2765 void g_bookmark_file_set_added (GBookmarkFile *bookmark,
2768 time_t g_bookmark_file_get_added (GBookmarkFile *bookmark,
2771 void g_bookmark_file_set_modified (GBookmarkFile *bookmark,
2774 time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark,
2777 void g_bookmark_file_set_visited (GBookmarkFile *bookmark,
2780 time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark,
2783 gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark,
2785 gint g_bookmark_file_get_size (GBookmarkFile *bookmark);
2786 gchar ** g_bookmark_file_get_uris (GBookmarkFile *bookmark,
2787 gsize *length) __attribute__((__malloc__));
2788 gboolean g_bookmark_file_remove_group (GBookmarkFile *bookmark,
2792 gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark,
2796 gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark,
2799 gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark,
2800 const gchar *old_uri,
2801 const gchar *new_uri,
2805 # 40 "/usr/include/glib-2.0/glib.h" 2
2806 # 1 "/usr/include/glib-2.0/glib/gcache.h" 1
2807 # 34 "/usr/include/glib-2.0/glib/gcache.h"
2808 # 1 "/usr/include/glib-2.0/glib/glist.h" 1
2809 # 34 "/usr/include/glib-2.0/glib/glist.h"
2810 # 1 "/usr/include/glib-2.0/glib/gmem.h" 1
2811 # 34 "/usr/include/glib-2.0/glib/gmem.h"
2812 # 1 "/usr/include/glib-2.0/glib/gslice.h" 1
2813 # 27 "/usr/include/glib-2.0/glib/gslice.h"
2814 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
2815 # 28 "/usr/include/glib-2.0/glib/gslice.h" 2
2821 gpointer g_slice_alloc (gsize block_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2822 gpointer g_slice_alloc0 (gsize block_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2823 gpointer g_slice_copy (gsize block_size,
2824 gconstpointer mem_block) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2825 void g_slice_free1 (gsize block_size,
2826 gpointer mem_block);
2827 void g_slice_free_chain_with_offset (gsize block_size,
2830 # 72 "/usr/include/glib-2.0/glib/gslice.h"
2832 G_SLICE_CONFIG_ALWAYS_MALLOC = 1,
2833 G_SLICE_CONFIG_BYPASS_MAGAZINES,
2834 G_SLICE_CONFIG_WORKING_SET_MSECS,
2835 G_SLICE_CONFIG_COLOR_INCREMENT,
2836 G_SLICE_CONFIG_CHUNK_SIZES,
2837 G_SLICE_CONFIG_CONTENTION_COUNTER
2839 void g_slice_set_config (GSliceConfig ckey, gint64 value);
2840 gint64 g_slice_get_config (GSliceConfig ckey);
2841 gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values);
2844 # 35 "/usr/include/glib-2.0/glib/gmem.h" 2
2845 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
2846 # 36 "/usr/include/glib-2.0/glib/gmem.h" 2
2849 # 52 "/usr/include/glib-2.0/glib/gmem.h"
2851 # 71 "/usr/include/glib-2.0/glib/gmem.h"
2852 void g_free (gpointer mem);
2854 gpointer g_malloc (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2855 gpointer g_malloc0 (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2856 gpointer g_realloc (gpointer mem,
2857 gsize n_bytes) __attribute__((warn_unused_result));
2858 gpointer g_try_malloc (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2859 gpointer g_try_malloc0 (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2860 gpointer g_try_realloc (gpointer mem,
2861 gsize n_bytes) __attribute__((warn_unused_result));
2863 gpointer g_malloc_n (gsize n_blocks,
2864 gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
2865 gpointer g_malloc0_n (gsize n_blocks,
2866 gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
2867 gpointer g_realloc_n (gpointer mem,
2869 gsize n_block_bytes) __attribute__((warn_unused_result));
2870 gpointer g_try_malloc_n (gsize n_blocks,
2871 gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
2872 gpointer g_try_malloc0_n (gsize n_blocks,
2873 gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
2874 gpointer g_try_realloc_n (gpointer mem,
2876 gsize n_block_bytes) __attribute__((warn_unused_result));
2877 # 241 "/usr/include/glib-2.0/glib/gmem.h"
2879 gpointer (*malloc) (gsize n_bytes);
2880 gpointer (*realloc) (gpointer mem,
2882 void (*free) (gpointer mem);
2884 gpointer (*calloc) (gsize n_blocks,
2885 gsize n_block_bytes);
2886 gpointer (*try_malloc) (gsize n_bytes);
2887 gpointer (*try_realloc) (gpointer mem,
2891 gboolean g_mem_is_system_malloc (
void);
2893 extern gboolean g_mem_gc_friendly;
2898 void g_mem_profile (
void);
2903 typedef struct _GAllocator GAllocator;
2904 typedef struct _GMemChunk GMemChunk;
2905 # 285 "/usr/include/glib-2.0/glib/gmem.h"
2906 GMemChunk* g_mem_chunk_new (
const gchar *name,
2910 void g_mem_chunk_destroy (GMemChunk *mem_chunk);
2911 gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk);
2912 gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk);
2913 void g_mem_chunk_free (GMemChunk *mem_chunk,
2915 void g_mem_chunk_clean (GMemChunk *mem_chunk);
2916 void g_mem_chunk_reset (GMemChunk *mem_chunk);
2917 void g_mem_chunk_print (GMemChunk *mem_chunk);
2918 void g_mem_chunk_info (
void);
2919 void g_blow_chunks (
void);
2920 GAllocator*g_allocator_new (
const gchar *name,
2922 void g_allocator_free (GAllocator *allocator);
2929 # 35 "/usr/include/glib-2.0/glib/glist.h" 2
2944 GList* g_list_alloc (
void) __attribute__((warn_unused_result));
2945 void g_list_free (
GList *list);
2946 void g_list_free_1 (
GList *list);
2948 void g_list_free_full (
GList *list,
2949 GDestroyNotify free_func);
2951 gpointer data) __attribute__((warn_unused_result));
2953 gpointer data) __attribute__((warn_unused_result));
2956 gint position) __attribute__((warn_unused_result));
2959 GCompareFunc func) __attribute__((warn_unused_result));
2960 GList* g_list_insert_sorted_with_data (
GList *list,
2962 GCompareDataFunc func,
2963 gpointer user_data) __attribute__((warn_unused_result));
2966 gpointer data) __attribute__((warn_unused_result));
2968 GList *list2) __attribute__((warn_unused_result));
2970 gconstpointer data) __attribute__((warn_unused_result));
2972 gconstpointer data) __attribute__((warn_unused_result));
2974 GList *llink) __attribute__((warn_unused_result));
2976 GList *link_) __attribute__((warn_unused_result));
2977 GList* g_list_reverse (
GList *list) __attribute__((warn_unused_result));
2978 GList* g_list_copy (
GList *list) __attribute__((warn_unused_result));
2984 gconstpointer data);
2988 gint g_list_position (
GList *list,
2990 gint g_list_index (
GList *list,
2991 gconstpointer data);
2994 guint g_list_length (
GList *list);
2995 void g_list_foreach (
GList *list,
2997 gpointer user_data);
2999 GCompareFunc compare_func) __attribute__((warn_unused_result));
3001 GCompareDataFunc compare_func,
3002 gpointer user_data) __attribute__((warn_unused_result));
3003 gpointer g_list_nth_data (
GList *list,
3011 void g_list_push_allocator (gpointer allocator);
3012 void g_list_pop_allocator (
void);
3016 # 35 "/usr/include/glib-2.0/glib/gcache.h" 2
3020 typedef struct _GCache GCache;
3022 typedef gpointer (*GCacheNewFunc) (gpointer key);
3023 typedef gpointer (*GCacheDupFunc) (gpointer value);
3024 typedef void (*GCacheDestroyFunc) (gpointer value);
3028 GCache* g_cache_new (GCacheNewFunc value_new_func,
3029 GCacheDestroyFunc value_destroy_func,
3030 GCacheDupFunc key_dup_func,
3031 GCacheDestroyFunc key_destroy_func,
3032 GHashFunc hash_key_func,
3033 GHashFunc hash_value_func,
3034 GEqualFunc key_equal_func);
3035 void g_cache_destroy (GCache *cache);
3036 gpointer g_cache_insert (GCache *cache,
3038 void g_cache_remove (GCache *cache,
3039 gconstpointer value);
3040 void g_cache_key_foreach (GCache *cache,
3042 gpointer user_data);
3044 void g_cache_value_foreach (GCache *cache,
3046 gpointer user_data);
3050 # 41 "/usr/include/glib-2.0/glib.h" 2
3051 # 1 "/usr/include/glib-2.0/glib/gchecksum.h" 1
3052 # 28 "/usr/include/glib-2.0/glib/gchecksum.h"
3053 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
3054 # 29 "/usr/include/glib-2.0/glib/gchecksum.h" 2
3057 # 46 "/usr/include/glib-2.0/glib/gchecksum.h"
3063 # 61 "/usr/include/glib-2.0/glib/gchecksum.h"
3064 typedef struct _GChecksum GChecksum;
3066 gssize g_checksum_type_get_length (GChecksumType checksum_type);
3068 GChecksum * g_checksum_new (GChecksumType checksum_type);
3069 void g_checksum_reset (GChecksum *checksum);
3070 GChecksum * g_checksum_copy (
const GChecksum *checksum);
3071 void g_checksum_free (GChecksum *checksum);
3072 void g_checksum_update (GChecksum *checksum,
3075 const gchar *g_checksum_get_string (GChecksum *checksum);
3076 void g_checksum_get_digest (GChecksum *checksum,
3080 gchar *g_compute_checksum_for_data (GChecksumType checksum_type,
3083 gchar *g_compute_checksum_for_string (GChecksumType checksum_type,
3088 # 42 "/usr/include/glib-2.0/glib.h" 2
3089 # 1 "/usr/include/glib-2.0/glib/gcompletion.h" 1
3090 # 34 "/usr/include/glib-2.0/glib/gcompletion.h"
3091 # 1 "/usr/include/glib-2.0/glib/glist.h" 1
3092 # 35 "/usr/include/glib-2.0/glib/gcompletion.h" 2
3098 typedef gchar* (*GCompletionFunc) (gpointer);
3103 typedef gint (*GCompletionStrncmpFunc) (
const gchar *s1,
3110 GCompletionFunc func;
3114 GCompletionStrncmpFunc strncmp_func;
3119 GCompletion* g_completion_new (GCompletionFunc func);
3126 const gchar* prefix,
3127 gchar** new_prefix);
3129 const gchar* prefix,
3130 gchar** new_prefix);
3132 GCompletionStrncmpFunc strncmp_func);
3138 # 43 "/usr/include/glib-2.0/glib.h" 2
3139 # 1 "/usr/include/glib-2.0/glib/gconvert.h" 1
3140 # 34 "/usr/include/glib-2.0/glib/gconvert.h"
3141 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
3142 # 35 "/usr/include/glib-2.0/glib/gconvert.h" 2
3145 # 50 "/usr/include/glib-2.0/glib/gconvert.h"
3148 G_CONVERT_ERROR_NO_CONVERSION,
3149 G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
3150 G_CONVERT_ERROR_FAILED,
3151 G_CONVERT_ERROR_PARTIAL_INPUT,
3152 G_CONVERT_ERROR_BAD_URI,
3153 G_CONVERT_ERROR_NOT_ABSOLUTE_PATH
3155 # 68 "/usr/include/glib-2.0/glib/gconvert.h"
3156 GQuark g_convert_error_quark (
void);
3157 # 77 "/usr/include/glib-2.0/glib/gconvert.h"
3158 typedef struct _GIConv *GIConv;
3160 GIConv g_iconv_open (
const gchar *to_codeset,
3161 const gchar *from_codeset);
3162 gsize g_iconv (GIConv converter,
3164 gsize *inbytes_left,
3166 gsize *outbytes_left);
3167 gint g_iconv_close (GIConv converter);
3170 gchar* g_convert (
const gchar *str,
3172 const gchar *to_codeset,
3173 const gchar *from_codeset,
3175 gsize *bytes_written,
3176 GError **error) __attribute__((__malloc__));
3177 gchar* g_convert_with_iconv (
const gchar *str,
3181 gsize *bytes_written,
3182 GError **error) __attribute__((__malloc__));
3183 gchar* g_convert_with_fallback (
const gchar *str,
3185 const gchar *to_codeset,
3186 const gchar *from_codeset,
3187 const gchar *fallback,
3189 gsize *bytes_written,
3190 GError **error) __attribute__((__malloc__));
3195 gchar* g_locale_to_utf8 (
const gchar *opsysstring,
3198 gsize *bytes_written,
3199 GError **error) __attribute__((__malloc__));
3200 gchar* g_locale_from_utf8 (
const gchar *utf8string,
3203 gsize *bytes_written,
3204 GError **error) __attribute__((__malloc__));
3205 # 135 "/usr/include/glib-2.0/glib/gconvert.h"
3206 gchar* g_filename_to_utf8 (
const gchar *opsysstring,
3209 gsize *bytes_written,
3210 GError **error) __attribute__((__malloc__));
3211 gchar* g_filename_from_utf8 (
const gchar *utf8string,
3214 gsize *bytes_written,
3215 GError **error) __attribute__((__malloc__));
3217 gchar *g_filename_from_uri (
const gchar *uri,
3219 GError **error) __attribute__((__malloc__));
3221 gchar *g_filename_to_uri (
const gchar *filename,
3222 const gchar *hostname,
3223 GError **error) __attribute__((__malloc__));
3224 gchar *g_filename_display_name (
const gchar *filename) __attribute__((__malloc__));
3225 gboolean g_get_filename_charsets (
const gchar ***charsets);
3227 gchar *g_filename_display_basename (
const gchar *filename) __attribute__((__malloc__));
3229 gchar **g_uri_list_extract_uris (
const gchar *uri_list) __attribute__((__malloc__));
3232 # 44 "/usr/include/glib-2.0/glib.h" 2
3233 # 1 "/usr/include/glib-2.0/glib/gdataset.h" 1
3234 # 34 "/usr/include/glib-2.0/glib/gdataset.h"
3235 # 1 "/usr/include/glib-2.0/glib/gquark.h" 1
3236 # 35 "/usr/include/glib-2.0/glib/gdataset.h" 2
3240 typedef struct _GData GData;
3242 typedef void (*GDataForeachFunc) (GQuark key_id,
3244 gpointer user_data);
3248 void g_datalist_init (GData **datalist);
3249 void g_datalist_clear (GData **datalist);
3250 gpointer g_datalist_id_get_data (GData **datalist,
3252 void g_datalist_id_set_data_full (GData **datalist,
3255 GDestroyNotify destroy_func);
3256 gpointer g_datalist_id_remove_no_notify (GData **datalist,
3258 void g_datalist_foreach (GData **datalist,
3259 GDataForeachFunc func,
3260 gpointer user_data);
3261 # 69 "/usr/include/glib-2.0/glib/gdataset.h"
3262 void g_datalist_set_flags (GData **datalist,
3264 void g_datalist_unset_flags (GData **datalist,
3266 guint g_datalist_get_flags (GData **datalist);
3267 # 93 "/usr/include/glib-2.0/glib/gdataset.h"
3268 void g_dataset_destroy (gconstpointer dataset_location);
3269 gpointer g_dataset_id_get_data (gconstpointer dataset_location,
3271 void g_dataset_id_set_data_full (gconstpointer dataset_location,
3274 GDestroyNotify destroy_func);
3275 gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location,
3277 void g_dataset_foreach (gconstpointer dataset_location,
3278 GDataForeachFunc func,
3279 gpointer user_data);
3280 # 120 "/usr/include/glib-2.0/glib/gdataset.h"
3282 # 45 "/usr/include/glib-2.0/glib.h" 2
3283 # 1 "/usr/include/glib-2.0/glib/gdate.h" 1
3284 # 36 "/usr/include/glib-2.0/glib/gdate.h"
3285 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
3286 # 37 "/usr/include/glib-2.0/glib/gdate.h" 2
3287 # 1 "/usr/include/glib-2.0/glib/gquark.h" 1
3288 # 38 "/usr/include/glib-2.0/glib/gdate.h" 2
3291 # 50 "/usr/include/glib-2.0/glib/gdate.h"
3292 typedef gint32 GTime;
3293 typedef guint16 GDateYear;
3294 typedef guint8 GDateDay;
3308 G_DATE_BAD_WEEKDAY = 0,
3311 G_DATE_WEDNESDAY = 3,
3312 G_DATE_THURSDAY = 4,
3314 G_DATE_SATURDAY = 6,
3319 G_DATE_BAD_MONTH = 0,
3321 G_DATE_FEBRUARY = 2,
3328 G_DATE_SEPTEMBER = 9,
3329 G_DATE_OCTOBER = 10,
3330 G_DATE_NOVEMBER = 11,
3331 G_DATE_DECEMBER = 12
3333 # 101 "/usr/include/glib-2.0/glib/gdate.h"
3336 guint julian_days : 32;
3355 GDate* g_date_new (
void);
3356 GDate* g_date_new_dmy (GDateDay day,
3359 GDate* g_date_new_julian (guint32 julian_day);
3360 void g_date_free (
GDate *date);
3367 gboolean g_date_valid (
const GDate *date);
3368 gboolean g_date_valid_day (GDateDay day) __attribute__((__const__));
3369 gboolean g_date_valid_month (GDateMonth month) __attribute__((__const__));
3370 gboolean g_date_valid_year (GDateYear year) __attribute__((__const__));
3371 gboolean g_date_valid_weekday (GDateWeekday weekday) __attribute__((__const__));
3372 gboolean g_date_valid_julian (guint32 julian_date) __attribute__((__const__));
3373 gboolean g_date_valid_dmy (GDateDay day,
3375 GDateYear year) __attribute__((__const__));
3377 GDateWeekday g_date_get_weekday (
const GDate *date);
3378 GDateMonth g_date_get_month (
const GDate *date);
3379 GDateYear g_date_get_year (
const GDate *date);
3380 GDateDay g_date_get_day (
const GDate *date);
3381 guint32 g_date_get_julian (
const GDate *date);
3382 guint g_date_get_day_of_year (
const GDate *date);
3389 guint g_date_get_monday_week_of_year (
const GDate *date);
3390 guint g_date_get_sunday_week_of_year (
const GDate *date);
3391 guint g_date_get_iso8601_week_of_year (
const GDate *date);
3397 void g_date_clear (
GDate *date,
3404 void g_date_set_parse (
GDate *date,
3406 void g_date_set_time_t (
GDate *date,
3408 void g_date_set_time_val (
GDate *date,
3411 void g_date_set_time (
GDate *date,
3414 void g_date_set_month (
GDate *date,
3416 void g_date_set_day (
GDate *date,
3418 void g_date_set_year (
GDate *date,
3420 void g_date_set_dmy (
GDate *date,
3424 void g_date_set_julian (
GDate *date,
3425 guint32 julian_date);
3426 gboolean g_date_is_first_of_month (
const GDate *date);
3427 gboolean g_date_is_last_of_month (
const GDate *date);
3430 void g_date_add_days (
GDate *date,
3432 void g_date_subtract_days (
GDate *date,
3436 void g_date_add_months (
GDate *date,
3438 void g_date_subtract_months (
GDate *date,
3442 void g_date_add_years (
GDate *date,
3444 void g_date_subtract_years (
GDate *date,
3446 gboolean g_date_is_leap_year (GDateYear year) __attribute__((__const__));
3447 guint8 g_date_get_days_in_month (GDateMonth month,
3448 GDateYear year) __attribute__((__const__));
3449 guint8 g_date_get_monday_weeks_in_year (GDateYear year) __attribute__((__const__));
3450 guint8 g_date_get_sunday_weeks_in_year (GDateYear year) __attribute__((__const__));
3454 gint g_date_days_between (
const GDate *date1,
3455 const GDate *date2);
3458 gint g_date_compare (
const GDate *lhs,
3460 void g_date_to_struct_tm (
const GDate *date,
3463 void g_date_clamp (
GDate *date,
3464 const GDate *min_date,
3465 const GDate *max_date);
3468 void g_date_order (
GDate *date1,
GDate *date2);
3473 gsize g_date_strftime (gchar *s,
3475 const gchar *format,
3477 # 261 "/usr/include/glib-2.0/glib/gdate.h"
3479 # 46 "/usr/include/glib-2.0/glib.h" 2
3480 # 1 "/usr/include/glib-2.0/glib/gdatetime.h" 1
3481 # 33 "/usr/include/glib-2.0/glib/gdatetime.h"
3482 # 1 "/usr/include/glib-2.0/glib/gtimezone.h" 1
3483 # 29 "/usr/include/glib-2.0/glib/gtimezone.h"
3484 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
3485 # 30 "/usr/include/glib-2.0/glib/gtimezone.h" 2
3489 typedef struct _GTimeZone GTimeZone;
3490 # 50 "/usr/include/glib-2.0/glib/gtimezone.h"
3493 G_TIME_TYPE_STANDARD,
3494 G_TIME_TYPE_DAYLIGHT,
3495 G_TIME_TYPE_UNIVERSAL
3498 GTimeZone * g_time_zone_new (
const gchar *identifier);
3499 GTimeZone * g_time_zone_new_utc (
void);
3500 GTimeZone * g_time_zone_new_local (
void);
3502 GTimeZone * g_time_zone_ref (GTimeZone *tz);
3503 void g_time_zone_unref (GTimeZone *tz);
3505 gint g_time_zone_find_interval (GTimeZone *tz,
3509 gint g_time_zone_adjust_time (GTimeZone *tz,
3513 const gchar * g_time_zone_get_abbreviation (GTimeZone *tz,
3515 gint32 g_time_zone_get_offset (GTimeZone *tz,
3517 gboolean g_time_zone_is_dst (GTimeZone *tz,
3521 # 34 "/usr/include/glib-2.0/glib/gdatetime.h" 2
3524 # 89 "/usr/include/glib-2.0/glib/gdatetime.h"
3525 typedef gint64 GTimeSpan;
3526 # 99 "/usr/include/glib-2.0/glib/gdatetime.h"
3527 typedef struct _GDateTime GDateTime;
3529 void g_date_time_unref (GDateTime *datetime);
3530 GDateTime * g_date_time_ref (GDateTime *datetime);
3532 GDateTime * g_date_time_new_now (GTimeZone *tz);
3533 GDateTime * g_date_time_new_now_local (
void);
3534 GDateTime * g_date_time_new_now_utc (
void);
3536 GDateTime * g_date_time_new_from_unix_local (gint64 t);
3537 GDateTime * g_date_time_new_from_unix_utc (gint64 t);
3539 GDateTime * g_date_time_new_from_timeval_local (
const GTimeVal *tv);
3540 GDateTime * g_date_time_new_from_timeval_utc (
const GTimeVal *tv);
3542 GDateTime * g_date_time_new (GTimeZone *tz,
3549 GDateTime * g_date_time_new_local (gint year,
3555 GDateTime * g_date_time_new_utc (gint year,
3562 __attribute__((warn_unused_result))
3563 GDateTime * g_date_time_add (GDateTime *datetime,
3564 GTimeSpan timespan);
3566 __attribute__((warn_unused_result))
3567 GDateTime * g_date_time_add_years (GDateTime *datetime,
3569 __attribute__((warn_unused_result))
3570 GDateTime * g_date_time_add_months (GDateTime *datetime,
3572 __attribute__((warn_unused_result))
3573 GDateTime * g_date_time_add_weeks (GDateTime *datetime,
3575 __attribute__((warn_unused_result))
3576 GDateTime * g_date_time_add_days (GDateTime *datetime,
3579 __attribute__((warn_unused_result))
3580 GDateTime * g_date_time_add_hours (GDateTime *datetime,
3582 __attribute__((warn_unused_result))
3583 GDateTime * g_date_time_add_minutes (GDateTime *datetime,
3585 __attribute__((warn_unused_result))
3586 GDateTime * g_date_time_add_seconds (GDateTime *datetime,
3589 __attribute__((warn_unused_result))
3590 GDateTime * g_date_time_add_full (GDateTime *datetime,
3598 gint g_date_time_compare (gconstpointer dt1,
3600 GTimeSpan g_date_time_difference (GDateTime *end,
3602 guint g_date_time_hash (gconstpointer datetime);
3603 gboolean g_date_time_equal (gconstpointer dt1,
3606 void g_date_time_get_ymd (GDateTime *datetime,
3611 gint g_date_time_get_year (GDateTime *datetime);
3612 gint g_date_time_get_month (GDateTime *datetime);
3613 gint g_date_time_get_day_of_month (GDateTime *datetime);
3615 gint g_date_time_get_week_numbering_year (GDateTime *datetime);
3616 gint g_date_time_get_week_of_year (GDateTime *datetime);
3617 gint g_date_time_get_day_of_week (GDateTime *datetime);
3619 gint g_date_time_get_day_of_year (GDateTime *datetime);
3621 gint g_date_time_get_hour (GDateTime *datetime);
3622 gint g_date_time_get_minute (GDateTime *datetime);
3623 gint g_date_time_get_second (GDateTime *datetime);
3624 gint g_date_time_get_microsecond (GDateTime *datetime);
3625 gdouble g_date_time_get_seconds (GDateTime *datetime);
3627 gint64 g_date_time_to_unix (GDateTime *datetime);
3628 gboolean g_date_time_to_timeval (GDateTime *datetime,
3631 GTimeSpan g_date_time_get_utc_offset (GDateTime *datetime);
3632 const gchar * g_date_time_get_timezone_abbreviation (GDateTime *datetime);
3633 gboolean g_date_time_is_daylight_savings (GDateTime *datetime);
3635 GDateTime * g_date_time_to_timezone (GDateTime *datetime,
3637 GDateTime * g_date_time_to_local (GDateTime *datetime);
3638 GDateTime * g_date_time_to_utc (GDateTime *datetime);
3640 gchar * g_date_time_format (GDateTime *datetime,
3641 const gchar *format) __attribute__((__malloc__));
3644 # 47 "/usr/include/glib-2.0/glib.h" 2
3645 # 1 "/usr/include/glib-2.0/glib/gdir.h" 1
3646 # 31 "/usr/include/glib-2.0/glib/gdir.h"
3647 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
3648 # 32 "/usr/include/glib-2.0/glib/gdir.h" 2
3652 typedef struct _GDir GDir;
3660 GDir * g_dir_open (
const gchar *path,
3663 const gchar *g_dir_read_name (GDir *dir);
3664 void g_dir_rewind (GDir *dir);
3665 void g_dir_close (GDir *dir);
3668 # 48 "/usr/include/glib-2.0/glib.h" 2
3669 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
3670 # 49 "/usr/include/glib-2.0/glib.h" 2
3671 # 1 "/usr/include/glib-2.0/glib/gfileutils.h" 1
3672 # 28 "/usr/include/glib-2.0/glib/gfileutils.h"
3673 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
3674 # 29 "/usr/include/glib-2.0/glib/gfileutils.h" 2
3685 G_FILE_ERROR_NAMETOOLONG,
3687 G_FILE_ERROR_NOTDIR,
3691 G_FILE_ERROR_TXTBSY,
3715 G_FILE_TEST_IS_REGULAR = 1 << 0,
3716 G_FILE_TEST_IS_SYMLINK = 1 << 1,
3717 G_FILE_TEST_IS_DIR = 1 << 2,
3718 G_FILE_TEST_IS_EXECUTABLE = 1 << 3,
3719 G_FILE_TEST_EXISTS = 1 << 4
3722 GQuark g_file_error_quark (
void);
3724 GFileError g_file_error_from_errno (gint err_no);
3725 # 87 "/usr/include/glib-2.0/glib/gfileutils.h"
3726 gboolean g_file_test (
const gchar *filename,
3728 gboolean g_file_get_contents (
const gchar *filename,
3732 gboolean g_file_set_contents (
const gchar *filename,
3733 const gchar *contents,
3736 gchar *g_file_read_link (
const gchar *filename,
3740 gint g_mkstemp (gchar *tmpl);
3741 gint g_mkstemp_full (gchar *tmpl,
3746 gint g_file_open_tmp (
const gchar *tmpl,
3750 char *g_format_size_for_display (goffset size);
3752 gchar *g_build_path (
const gchar *separator,
3753 const gchar *first_element,
3754 ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
3755 gchar *g_build_pathv (const gchar *separator,
3756 gchar **args) __attribute__((__malloc__));
3758 gchar *g_build_filename (const gchar *first_element,
3759 ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
3760 gchar *g_build_filenamev (gchar **args) __attribute__((__malloc__));
3762 int g_mkdir_with_parents (const gchar *pathname,
3766 # 50 "/usr/include/glib-2.0/glib.h" 2
3767 # 1 "/usr/include/glib-2.0/glib/ghash.h" 1
3768 # 34 "/usr/include/glib-2.0/glib/ghash.h"
3769 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
3770 # 35 "/usr/include/glib-2.0/glib/ghash.h" 2
3771 # 1 "/usr/include/glib-2.0/glib/glist.h" 1
3772 # 36 "/usr/include/glib-2.0/glib/ghash.h" 2
3776 typedef struct _GHashTable GHashTable;
3778 typedef gboolean (*GHRFunc) (gpointer key,
3780 gpointer user_data);
3797 GHashTable* g_hash_table_new (GHashFunc hash_func,
3798 GEqualFunc key_equal_func);
3799 GHashTable* g_hash_table_new_full (GHashFunc hash_func,
3800 GEqualFunc key_equal_func,
3801 GDestroyNotify key_destroy_func,
3802 GDestroyNotify value_destroy_func);
3803 void g_hash_table_destroy (GHashTable *hash_table);
3804 void g_hash_table_insert (GHashTable *hash_table,
3807 void g_hash_table_replace (GHashTable *hash_table,
3810 gboolean g_hash_table_remove (GHashTable *hash_table,
3812 void g_hash_table_remove_all (GHashTable *hash_table);
3813 gboolean g_hash_table_steal (GHashTable *hash_table,
3815 void g_hash_table_steal_all (GHashTable *hash_table);
3816 gpointer g_hash_table_lookup (GHashTable *hash_table,
3818 gboolean g_hash_table_lookup_extended (GHashTable *hash_table,
3819 gconstpointer lookup_key,
3822 void g_hash_table_foreach (GHashTable *hash_table,
3824 gpointer user_data);
3825 gpointer g_hash_table_find (GHashTable *hash_table,
3827 gpointer user_data);
3828 guint g_hash_table_foreach_remove (GHashTable *hash_table,
3830 gpointer user_data);
3831 guint g_hash_table_foreach_steal (GHashTable *hash_table,
3833 gpointer user_data);
3834 guint g_hash_table_size (GHashTable *hash_table);
3835 GList * g_hash_table_get_keys (GHashTable *hash_table);
3836 GList * g_hash_table_get_values (GHashTable *hash_table);
3839 GHashTable *hash_table);
3843 GHashTable* g_hash_table_iter_get_hash_table (
GHashTableIter *iter);
3848 GHashTable* g_hash_table_ref (GHashTable *hash_table);
3849 void g_hash_table_unref (GHashTable *hash_table);
3850 # 138 "/usr/include/glib-2.0/glib/ghash.h"
3851 gboolean g_str_equal (gconstpointer v1,
3853 guint g_str_hash (gconstpointer v);
3855 gboolean g_int_equal (gconstpointer v1,
3857 guint g_int_hash (gconstpointer v);
3859 gboolean g_int64_equal (gconstpointer v1,
3861 guint g_int64_hash (gconstpointer v);
3863 gboolean g_double_equal (gconstpointer v1,
3865 guint g_double_hash (gconstpointer v);
3873 guint g_direct_hash (gconstpointer v) __attribute__((__const__));
3874 gboolean g_direct_equal (gconstpointer v1,
3875 gconstpointer v2) __attribute__((__const__));
3878 # 51 "/usr/include/glib-2.0/glib.h" 2
3879 # 1 "/usr/include/glib-2.0/glib/ghook.h" 1
3880 # 34 "/usr/include/glib-2.0/glib/ghook.h"
3881 # 1 "/usr/include/glib-2.0/glib/gmem.h" 1
3882 # 35 "/usr/include/glib-2.0/glib/ghook.h" 2
3891 typedef gint (*GHookCompareFunc) (
GHook *new_hook,
3893 typedef gboolean (*GHookFindFunc) (
GHook *hook,
3895 typedef void (*GHookMarshaller) (
GHook *hook,
3896 gpointer marshal_data);
3897 typedef gboolean (*GHookCheckMarshaller) (
GHook *hook,
3898 gpointer marshal_data);
3899 typedef void (*GHookFunc) (gpointer data);
3900 typedef gboolean (*GHookCheckFunc) (gpointer data);
3901 typedef void (*GHookFinalizeFunc) (
GHookList *hook_list,
3905 G_HOOK_FLAG_ACTIVE = 1 << 0,
3906 G_HOOK_FLAG_IN_CALL = 1 << 1,
3907 G_HOOK_FLAG_MASK = 0x0f
3916 guint hook_size : 16;
3920 GHookFinalizeFunc finalize_hook;
3932 GDestroyNotify destroy;
3934 # 106 "/usr/include/glib-2.0/glib/ghook.h"
3935 void g_hook_list_init (
GHookList *hook_list,
3937 void g_hook_list_clear (
GHookList *hook_list);
3943 void g_hook_unref (
GHookList *hook_list,
3945 gboolean g_hook_destroy (
GHookList *hook_list,
3947 void g_hook_destroy_link (
GHookList *hook_list,
3949 void g_hook_prepend (
GHookList *hook_list,
3951 void g_hook_insert_before (
GHookList *hook_list,
3954 void g_hook_insert_sorted (
GHookList *hook_list,
3956 GHookCompareFunc func);
3960 gboolean need_valids,
3964 gboolean need_valids,
3967 gboolean need_valids,
3970 gboolean need_valids,
3975 gboolean may_be_in_call);
3981 gboolean may_be_in_call);
3983 gint g_hook_compare_ids (
GHook *new_hook,
3990 void g_hook_list_invoke (
GHookList *hook_list,
3991 gboolean may_recurse);
3995 void g_hook_list_invoke_check (
GHookList *hook_list,
3996 gboolean may_recurse);
3999 void g_hook_list_marshal (
GHookList *hook_list,
4000 gboolean may_recurse,
4001 GHookMarshaller marshaller,
4002 gpointer marshal_data);
4003 void g_hook_list_marshal_check (
GHookList *hook_list,
4004 gboolean may_recurse,
4005 GHookCheckMarshaller marshaller,
4006 gpointer marshal_data);
4009 # 52 "/usr/include/glib-2.0/glib.h" 2
4010 # 1 "/usr/include/glib-2.0/glib/ghostutils.h" 1
4011 # 27 "/usr/include/glib-2.0/glib/ghostutils.h"
4012 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
4013 # 28 "/usr/include/glib-2.0/glib/ghostutils.h" 2
4017 gboolean g_hostname_is_non_ascii (
const gchar *hostname);
4018 gboolean g_hostname_is_ascii_encoded (
const gchar *hostname);
4019 gboolean g_hostname_is_ip_address (
const gchar *hostname);
4021 gchar *g_hostname_to_ascii (
const gchar *hostname);
4022 gchar *g_hostname_to_unicode (
const gchar *hostname);
4025 # 53 "/usr/include/glib-2.0/glib.h" 2
4026 # 1 "/usr/include/glib-2.0/glib/giochannel.h" 1
4027 # 34 "/usr/include/glib-2.0/glib/giochannel.h"
4028 # 1 "/usr/include/glib-2.0/glib/gconvert.h" 1
4029 # 35 "/usr/include/glib-2.0/glib/giochannel.h" 2
4030 # 1 "/usr/include/glib-2.0/glib/gmain.h" 1
4031 # 27 "/usr/include/glib-2.0/glib/gmain.h"
4032 # 1 "/usr/include/glib-2.0/glib/gpoll.h" 1
4033 # 27 "/usr/include/glib-2.0/glib/gpoll.h"
4034 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
4035 # 28 "/usr/include/glib-2.0/glib/gpoll.h" 2
4038 # 61 "/usr/include/glib-2.0/glib/gpoll.h"
4040 # 76 "/usr/include/glib-2.0/glib/gpoll.h"
4041 typedef gint (*GPollFunc) (
GPollFD *ufds,
4044 # 90 "/usr/include/glib-2.0/glib/gpoll.h"
4055 # 111 "/usr/include/glib-2.0/glib/gpoll.h"
4061 # 28 "/usr/include/glib-2.0/glib/gmain.h" 2
4062 # 1 "/usr/include/glib-2.0/glib/gslist.h" 1
4063 # 34 "/usr/include/glib-2.0/glib/gslist.h"
4064 # 1 "/usr/include/glib-2.0/glib/gmem.h" 1
4065 # 35 "/usr/include/glib-2.0/glib/gslist.h" 2
4079 GSList* g_slist_alloc (
void) __attribute__((warn_unused_result));
4080 void g_slist_free (
GSList *list);
4081 void g_slist_free_1 (
GSList *list);
4083 void g_slist_free_full (
GSList *list,
4084 GDestroyNotify free_func);
4086 gpointer data) __attribute__((warn_unused_result));
4088 gpointer data) __attribute__((warn_unused_result));
4091 gint position) __attribute__((warn_unused_result));
4094 GCompareFunc func) __attribute__((warn_unused_result));
4097 GCompareDataFunc func,
4098 gpointer user_data) __attribute__((warn_unused_result));
4101 gpointer data) __attribute__((warn_unused_result));
4103 GSList *list2) __attribute__((warn_unused_result));
4105 gconstpointer data) __attribute__((warn_unused_result));
4107 gconstpointer data) __attribute__((warn_unused_result));
4109 GSList *link_) __attribute__((warn_unused_result));
4111 GSList *link_) __attribute__((warn_unused_result));
4112 GSList* g_slist_reverse (
GSList *list) __attribute__((warn_unused_result));
4113 GSList* g_slist_copy (
GSList *list) __attribute__((warn_unused_result));
4117 gconstpointer data);
4121 gint g_slist_position (
GSList *list,
4123 gint g_slist_index (
GSList *list,
4124 gconstpointer data);
4126 guint g_slist_length (
GSList *list);
4127 void g_slist_foreach (
GSList *list,
4129 gpointer user_data);
4131 GCompareFunc compare_func) __attribute__((warn_unused_result));
4133 GCompareDataFunc compare_func,
4134 gpointer user_data) __attribute__((warn_unused_result));
4135 gpointer g_slist_nth_data (
GSList *list,
4141 void g_slist_push_allocator (gpointer dummy);
4142 void g_slist_pop_allocator (
void);
4146 # 29 "/usr/include/glib-2.0/glib/gmain.h" 2
4147 # 1 "/usr/include/glib-2.0/glib/gthread.h" 1
4148 # 30 "/usr/include/glib-2.0/glib/gmain.h" 2
4158 typedef struct _GMainContext GMainContext;
4166 typedef struct _GMainLoop GMainLoop;
4175 typedef struct _GSourcePrivate GSourcePrivate;
4176 # 68 "/usr/include/glib-2.0/glib/gmain.h"
4178 # 115 "/usr/include/glib-2.0/glib/gmain.h"
4180 # 126 "/usr/include/glib-2.0/glib/gmain.h"
4181 typedef gboolean (*GSourceFunc) (gpointer data);
4182 # 137 "/usr/include/glib-2.0/glib/gmain.h"
4183 typedef void (*GChildWatchFunc) (GPid pid,
4189 gpointer callback_data;
4195 GMainContext *context;
4208 GSourcePrivate *priv;
4213 void (*ref) (gpointer cb_data);
4214 void (*unref) (gpointer cb_data);
4215 void (*
get) (gpointer cb_data,
4221 typedef void (*GSourceDummyMarshal) (void);
4225 gboolean (*prepare) (
GSource *source,
4227 gboolean (*check) (
GSource *source);
4228 gboolean (*dispatch) (
GSource *source,
4229 GSourceFunc callback,
4230 gpointer user_data);
4231 void (*finalize) (
GSource *source);
4234 GSourceFunc closure_callback;
4235 GSourceDummyMarshal closure_marshal;
4237 # 247 "/usr/include/glib-2.0/glib/gmain.h"
4238 GMainContext *g_main_context_new (
void);
4239 GMainContext *g_main_context_ref (GMainContext *context);
4240 void g_main_context_unref (GMainContext *context);
4241 GMainContext *g_main_context_default (
void);
4243 gboolean g_main_context_iteration (GMainContext *context,
4244 gboolean may_block);
4245 gboolean g_main_context_pending (GMainContext *context);
4249 GSource *g_main_context_find_source_by_id (GMainContext *context,
4251 GSource *g_main_context_find_source_by_user_data (GMainContext *context,
4252 gpointer user_data);
4253 GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context,
4255 gpointer user_data);
4259 void g_main_context_wakeup (GMainContext *context);
4260 gboolean g_main_context_acquire (GMainContext *context);
4261 void g_main_context_release (GMainContext *context);
4262 gboolean g_main_context_is_owner (GMainContext *context);
4263 gboolean g_main_context_wait (GMainContext *context,
4267 gboolean g_main_context_prepare (GMainContext *context,
4269 gint g_main_context_query (GMainContext *context,
4274 gint g_main_context_check (GMainContext *context,
4278 void g_main_context_dispatch (GMainContext *context);
4280 void g_main_context_set_poll_func (GMainContext *context,
4282 GPollFunc g_main_context_get_poll_func (GMainContext *context);
4286 void g_main_context_add_poll (GMainContext *context,
4289 void g_main_context_remove_poll (GMainContext *context,
4292 gint g_main_depth (
void);
4293 GSource *g_main_current_source (
void);
4297 void g_main_context_push_thread_default (GMainContext *context);
4298 void g_main_context_pop_thread_default (GMainContext *context);
4299 GMainContext *g_main_context_get_thread_default (
void);
4303 GMainLoop *g_main_loop_new (GMainContext *context,
4304 gboolean is_running);
4305 void g_main_loop_run (GMainLoop *loop);
4306 void g_main_loop_quit (GMainLoop *loop);
4307 GMainLoop *g_main_loop_ref (GMainLoop *loop);
4308 void g_main_loop_unref (GMainLoop *loop);
4309 gboolean g_main_loop_is_running (GMainLoop *loop);
4310 GMainContext *g_main_loop_get_context (GMainLoop *loop);
4317 void g_source_unref (
GSource *source);
4319 guint g_source_attach (
GSource *source,
4320 GMainContext *context);
4321 void g_source_destroy (
GSource *source);
4323 void g_source_set_priority (
GSource *source,
4325 gint g_source_get_priority (
GSource *source);
4326 void g_source_set_can_recurse (
GSource *source,
4327 gboolean can_recurse);
4328 gboolean g_source_get_can_recurse (
GSource *source);
4329 guint g_source_get_id (
GSource *source);
4331 GMainContext *g_source_get_context (
GSource *source);
4333 void g_source_set_callback (
GSource *source,
4336 GDestroyNotify notify);
4338 void g_source_set_funcs (
GSource *source,
4340 gboolean g_source_is_destroyed (
GSource *source);
4342 void g_source_set_name (
GSource *source,
4344 const char* g_source_get_name (
GSource *source);
4345 void g_source_set_name_by_id (guint tag,
4350 void g_source_set_callback_indirect (
GSource *source,
4351 gpointer callback_data,
4354 void g_source_add_poll (
GSource *source,
4356 void g_source_remove_poll (
GSource *source,
4359 void g_source_add_child_source (
GSource *source,
4361 void g_source_remove_child_source (
GSource *source,
4365 void g_source_get_current_time (
GSource *source,
4368 gint64 g_source_get_time (
GSource *source);
4376 GSource *g_idle_source_new (
void);
4377 GSource *g_child_watch_source_new (GPid pid);
4378 GSource *g_timeout_source_new (guint interval);
4379 GSource *g_timeout_source_new_seconds (guint interval);
4383 void g_get_current_time (
GTimeVal *result);
4384 gint64 g_get_monotonic_time (
void);
4385 gint64 g_get_real_time (
void);
4386 # 498 "/usr/include/glib-2.0/glib/gmain.h"
4387 gboolean g_source_remove (guint tag);
4388 gboolean g_source_remove_by_user_data (gpointer user_data);
4389 gboolean g_source_remove_by_funcs_user_data (
GSourceFuncs *funcs,
4390 gpointer user_data);
4393 guint g_timeout_add_full (gint priority,
4395 GSourceFunc
function,
4397 GDestroyNotify notify);
4398 guint g_timeout_add (guint interval,
4399 GSourceFunc
function,
4401 guint g_timeout_add_seconds_full (gint priority,
4403 GSourceFunc
function,
4405 GDestroyNotify notify);
4406 guint g_timeout_add_seconds (guint interval,
4407 GSourceFunc
function,
4409 guint g_child_watch_add_full (gint priority,
4411 GChildWatchFunc
function,
4413 GDestroyNotify notify);
4414 guint g_child_watch_add (GPid pid,
4415 GChildWatchFunc
function,
4417 guint g_idle_add (GSourceFunc
function,
4419 guint g_idle_add_full (gint priority,
4420 GSourceFunc
function,
4422 GDestroyNotify notify);
4423 gboolean g_idle_remove_by_data (gpointer data);
4425 void g_main_context_invoke_full (GMainContext *context,
4427 GSourceFunc
function,
4429 GDestroyNotify notify);
4430 void g_main_context_invoke (GMainContext *context,
4431 GSourceFunc
function,
4440 # 36 "/usr/include/glib-2.0/glib/giochannel.h" 2
4441 # 1 "/usr/include/glib-2.0/glib/gstring.h" 1
4442 # 34 "/usr/include/glib-2.0/glib/gstring.h"
4443 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
4444 # 35 "/usr/include/glib-2.0/glib/gstring.h" 2
4445 # 1 "/usr/include/glib-2.0/glib/gunicode.h" 1
4446 # 29 "/usr/include/glib-2.0/glib/gunicode.h"
4447 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
4448 # 30 "/usr/include/glib-2.0/glib/gunicode.h" 2
4449 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
4450 # 31 "/usr/include/glib-2.0/glib/gunicode.h" 2
4454 typedef guint32 gunichar;
4455 typedef guint16 gunichar2;
4464 G_UNICODE_UNASSIGNED,
4465 G_UNICODE_PRIVATE_USE,
4466 G_UNICODE_SURROGATE,
4467 G_UNICODE_LOWERCASE_LETTER,
4468 G_UNICODE_MODIFIER_LETTER,
4469 G_UNICODE_OTHER_LETTER,
4470 G_UNICODE_TITLECASE_LETTER,
4471 G_UNICODE_UPPERCASE_LETTER,
4472 G_UNICODE_COMBINING_MARK,
4473 G_UNICODE_ENCLOSING_MARK,
4474 G_UNICODE_NON_SPACING_MARK,
4475 G_UNICODE_DECIMAL_NUMBER,
4476 G_UNICODE_LETTER_NUMBER,
4477 G_UNICODE_OTHER_NUMBER,
4478 G_UNICODE_CONNECT_PUNCTUATION,
4479 G_UNICODE_DASH_PUNCTUATION,
4480 G_UNICODE_CLOSE_PUNCTUATION,
4481 G_UNICODE_FINAL_PUNCTUATION,
4482 G_UNICODE_INITIAL_PUNCTUATION,
4483 G_UNICODE_OTHER_PUNCTUATION,
4484 G_UNICODE_OPEN_PUNCTUATION,
4485 G_UNICODE_CURRENCY_SYMBOL,
4486 G_UNICODE_MODIFIER_SYMBOL,
4487 G_UNICODE_MATH_SYMBOL,
4488 G_UNICODE_OTHER_SYMBOL,
4489 G_UNICODE_LINE_SEPARATOR,
4490 G_UNICODE_PARAGRAPH_SEPARATOR,
4491 G_UNICODE_SPACE_SEPARATOR
4501 G_UNICODE_BREAK_MANDATORY,
4502 G_UNICODE_BREAK_CARRIAGE_RETURN,
4503 G_UNICODE_BREAK_LINE_FEED,
4504 G_UNICODE_BREAK_COMBINING_MARK,
4505 G_UNICODE_BREAK_SURROGATE,
4506 G_UNICODE_BREAK_ZERO_WIDTH_SPACE,
4507 G_UNICODE_BREAK_INSEPARABLE,
4508 G_UNICODE_BREAK_NON_BREAKING_GLUE,
4509 G_UNICODE_BREAK_CONTINGENT,
4510 G_UNICODE_BREAK_SPACE,
4511 G_UNICODE_BREAK_AFTER,
4512 G_UNICODE_BREAK_BEFORE,
4513 G_UNICODE_BREAK_BEFORE_AND_AFTER,
4514 G_UNICODE_BREAK_HYPHEN,
4515 G_UNICODE_BREAK_NON_STARTER,
4516 G_UNICODE_BREAK_OPEN_PUNCTUATION,
4517 G_UNICODE_BREAK_CLOSE_PUNCTUATION,
4518 G_UNICODE_BREAK_QUOTATION,
4519 G_UNICODE_BREAK_EXCLAMATION,
4520 G_UNICODE_BREAK_IDEOGRAPHIC,
4521 G_UNICODE_BREAK_NUMERIC,
4522 G_UNICODE_BREAK_INFIX_SEPARATOR,
4523 G_UNICODE_BREAK_SYMBOL,
4524 G_UNICODE_BREAK_ALPHABETIC,
4525 G_UNICODE_BREAK_PREFIX,
4526 G_UNICODE_BREAK_POSTFIX,
4527 G_UNICODE_BREAK_COMPLEX_CONTEXT,
4528 G_UNICODE_BREAK_AMBIGUOUS,
4529 G_UNICODE_BREAK_UNKNOWN,
4530 G_UNICODE_BREAK_NEXT_LINE,
4531 G_UNICODE_BREAK_WORD_JOINER,
4532 G_UNICODE_BREAK_HANGUL_L_JAMO,
4533 G_UNICODE_BREAK_HANGUL_V_JAMO,
4534 G_UNICODE_BREAK_HANGUL_T_JAMO,
4535 G_UNICODE_BREAK_HANGUL_LV_SYLLABLE,
4536 G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE,
4537 G_UNICODE_BREAK_CLOSE_PARANTHESIS
4538 } GUnicodeBreakType;
4542 G_UNICODE_SCRIPT_INVALID_CODE = -1,
4543 G_UNICODE_SCRIPT_COMMON = 0,
4544 G_UNICODE_SCRIPT_INHERITED,
4545 G_UNICODE_SCRIPT_ARABIC,
4546 G_UNICODE_SCRIPT_ARMENIAN,
4547 G_UNICODE_SCRIPT_BENGALI,
4548 G_UNICODE_SCRIPT_BOPOMOFO,
4549 G_UNICODE_SCRIPT_CHEROKEE,
4550 G_UNICODE_SCRIPT_COPTIC,
4551 G_UNICODE_SCRIPT_CYRILLIC,
4552 G_UNICODE_SCRIPT_DESERET,
4553 G_UNICODE_SCRIPT_DEVANAGARI,
4554 G_UNICODE_SCRIPT_ETHIOPIC,
4555 G_UNICODE_SCRIPT_GEORGIAN,
4556 G_UNICODE_SCRIPT_GOTHIC,
4557 G_UNICODE_SCRIPT_GREEK,
4558 G_UNICODE_SCRIPT_GUJARATI,
4559 G_UNICODE_SCRIPT_GURMUKHI,
4560 G_UNICODE_SCRIPT_HAN,
4561 G_UNICODE_SCRIPT_HANGUL,
4562 G_UNICODE_SCRIPT_HEBREW,
4563 G_UNICODE_SCRIPT_HIRAGANA,
4564 G_UNICODE_SCRIPT_KANNADA,
4565 G_UNICODE_SCRIPT_KATAKANA,
4566 G_UNICODE_SCRIPT_KHMER,
4567 G_UNICODE_SCRIPT_LAO,
4568 G_UNICODE_SCRIPT_LATIN,
4569 G_UNICODE_SCRIPT_MALAYALAM,
4570 G_UNICODE_SCRIPT_MONGOLIAN,
4571 G_UNICODE_SCRIPT_MYANMAR,
4572 G_UNICODE_SCRIPT_OGHAM,
4573 G_UNICODE_SCRIPT_OLD_ITALIC,
4574 G_UNICODE_SCRIPT_ORIYA,
4575 G_UNICODE_SCRIPT_RUNIC,
4576 G_UNICODE_SCRIPT_SINHALA,
4577 G_UNICODE_SCRIPT_SYRIAC,
4578 G_UNICODE_SCRIPT_TAMIL,
4579 G_UNICODE_SCRIPT_TELUGU,
4580 G_UNICODE_SCRIPT_THAANA,
4581 G_UNICODE_SCRIPT_THAI,
4582 G_UNICODE_SCRIPT_TIBETAN,
4583 G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL,
4584 G_UNICODE_SCRIPT_YI,
4585 G_UNICODE_SCRIPT_TAGALOG,
4586 G_UNICODE_SCRIPT_HANUNOO,
4587 G_UNICODE_SCRIPT_BUHID,
4588 G_UNICODE_SCRIPT_TAGBANWA,
4591 G_UNICODE_SCRIPT_BRAILLE,
4592 G_UNICODE_SCRIPT_CYPRIOT,
4593 G_UNICODE_SCRIPT_LIMBU,
4594 G_UNICODE_SCRIPT_OSMANYA,
4595 G_UNICODE_SCRIPT_SHAVIAN,
4596 G_UNICODE_SCRIPT_LINEAR_B,
4597 G_UNICODE_SCRIPT_TAI_LE,
4598 G_UNICODE_SCRIPT_UGARITIC,
4601 G_UNICODE_SCRIPT_NEW_TAI_LUE,
4602 G_UNICODE_SCRIPT_BUGINESE,
4603 G_UNICODE_SCRIPT_GLAGOLITIC,
4604 G_UNICODE_SCRIPT_TIFINAGH,
4605 G_UNICODE_SCRIPT_SYLOTI_NAGRI,
4606 G_UNICODE_SCRIPT_OLD_PERSIAN,
4607 G_UNICODE_SCRIPT_KHAROSHTHI,
4610 G_UNICODE_SCRIPT_UNKNOWN,
4611 G_UNICODE_SCRIPT_BALINESE,
4612 G_UNICODE_SCRIPT_CUNEIFORM,
4613 G_UNICODE_SCRIPT_PHOENICIAN,
4614 G_UNICODE_SCRIPT_PHAGS_PA,
4615 G_UNICODE_SCRIPT_NKO,
4618 G_UNICODE_SCRIPT_KAYAH_LI,
4619 G_UNICODE_SCRIPT_LEPCHA,
4620 G_UNICODE_SCRIPT_REJANG,
4621 G_UNICODE_SCRIPT_SUNDANESE,
4622 G_UNICODE_SCRIPT_SAURASHTRA,
4623 G_UNICODE_SCRIPT_CHAM,
4624 G_UNICODE_SCRIPT_OL_CHIKI,
4625 G_UNICODE_SCRIPT_VAI,
4626 G_UNICODE_SCRIPT_CARIAN,
4627 G_UNICODE_SCRIPT_LYCIAN,
4628 G_UNICODE_SCRIPT_LYDIAN,
4631 G_UNICODE_SCRIPT_AVESTAN,
4632 G_UNICODE_SCRIPT_BAMUM,
4633 G_UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS,
4634 G_UNICODE_SCRIPT_IMPERIAL_ARAMAIC,
4635 G_UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI,
4636 G_UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN,
4637 G_UNICODE_SCRIPT_JAVANESE,
4638 G_UNICODE_SCRIPT_KAITHI,
4639 G_UNICODE_SCRIPT_LISU,
4640 G_UNICODE_SCRIPT_MEETEI_MAYEK,
4641 G_UNICODE_SCRIPT_OLD_SOUTH_ARABIAN,
4642 G_UNICODE_SCRIPT_OLD_TURKIC,
4643 G_UNICODE_SCRIPT_SAMARITAN,
4644 G_UNICODE_SCRIPT_TAI_THAM,
4645 G_UNICODE_SCRIPT_TAI_VIET,
4648 G_UNICODE_SCRIPT_BATAK,
4649 G_UNICODE_SCRIPT_BRAHMI,
4650 G_UNICODE_SCRIPT_MANDAIC
4659 gboolean g_get_charset (
const char **charset);
4663 gboolean g_unichar_isalnum (gunichar c) __attribute__((__const__));
4664 gboolean g_unichar_isalpha (gunichar c) __attribute__((__const__));
4665 gboolean g_unichar_iscntrl (gunichar c) __attribute__((__const__));
4666 gboolean g_unichar_isdigit (gunichar c) __attribute__((__const__));
4667 gboolean g_unichar_isgraph (gunichar c) __attribute__((__const__));
4668 gboolean g_unichar_islower (gunichar c) __attribute__((__const__));
4669 gboolean g_unichar_isprint (gunichar c) __attribute__((__const__));
4670 gboolean g_unichar_ispunct (gunichar c) __attribute__((__const__));
4671 gboolean g_unichar_isspace (gunichar c) __attribute__((__const__));
4672 gboolean g_unichar_isupper (gunichar c) __attribute__((__const__));
4673 gboolean g_unichar_isxdigit (gunichar c) __attribute__((__const__));
4674 gboolean g_unichar_istitle (gunichar c) __attribute__((__const__));
4675 gboolean g_unichar_isdefined (gunichar c) __attribute__((__const__));
4676 gboolean g_unichar_iswide (gunichar c) __attribute__((__const__));
4677 gboolean g_unichar_iswide_cjk(gunichar c) __attribute__((__const__));
4678 gboolean g_unichar_iszerowidth(gunichar c) __attribute__((__const__));
4679 gboolean g_unichar_ismark (gunichar c) __attribute__((__const__));
4683 gunichar g_unichar_toupper (gunichar c) __attribute__((__const__));
4684 gunichar g_unichar_tolower (gunichar c) __attribute__((__const__));
4685 gunichar g_unichar_totitle (gunichar c) __attribute__((__const__));
4689 gint g_unichar_digit_value (gunichar c) __attribute__((__const__));
4691 gint g_unichar_xdigit_value (gunichar c) __attribute__((__const__));
4694 GUnicodeType g_unichar_type (gunichar c) __attribute__((__const__));
4697 GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__((__const__));
4700 gint g_unichar_combining_class (gunichar uc) __attribute__((__const__));
4706 void g_unicode_canonical_ordering (gunichar *
string,
4712 gunichar *g_unicode_canonical_decomposition (gunichar ch,
4713 gsize *result_len) __attribute__((__malloc__));
4717 extern const gchar *
const g_utf8_skip;
4721 gunichar g_utf8_get_char (
const gchar *p) __attribute__((__pure__));
4722 gunichar g_utf8_get_char_validated (
const gchar *p,
4723 gssize max_len) __attribute__((__pure__));
4725 gchar* g_utf8_offset_to_pointer (
const gchar *str,
4726 glong offset) __attribute__((__pure__));
4727 glong g_utf8_pointer_to_offset (
const gchar *str,
4728 const gchar *pos) __attribute__((__pure__));
4729 gchar* g_utf8_prev_char (
const gchar *p) __attribute__((__pure__));
4730 gchar* g_utf8_find_next_char (
const gchar *p,
4731 const gchar *end) __attribute__((__pure__));
4732 gchar* g_utf8_find_prev_char (
const gchar *str,
4733 const gchar *p) __attribute__((__pure__));
4735 glong g_utf8_strlen (
const gchar *p,
4736 gssize max) __attribute__((__pure__));
4739 gchar* g_utf8_strncpy (gchar *dest,
4745 gchar* g_utf8_strchr (
const gchar *p,
4748 gchar* g_utf8_strrchr (
const gchar *p,
4751 gchar* g_utf8_strreverse (
const gchar *str,
4754 gunichar2 *g_utf8_to_utf16 (
const gchar *str,
4757 glong *items_written,
4758 GError **error) __attribute__((__malloc__));
4759 gunichar * g_utf8_to_ucs4 (
const gchar *str,
4762 glong *items_written,
4763 GError **error) __attribute__((__malloc__));
4764 gunichar * g_utf8_to_ucs4_fast (
const gchar *str,
4766 glong *items_written) __attribute__((__malloc__));
4767 gunichar * g_utf16_to_ucs4 (
const gunichar2 *str,
4770 glong *items_written,
4771 GError **error) __attribute__((__malloc__));
4772 gchar* g_utf16_to_utf8 (
const gunichar2 *str,
4775 glong *items_written,
4776 GError **error) __attribute__((__malloc__));
4777 gunichar2 *g_ucs4_to_utf16 (
const gunichar *str,
4780 glong *items_written,
4781 GError **error) __attribute__((__malloc__));
4782 gchar* g_ucs4_to_utf8 (
const gunichar *str,
4785 glong *items_written,
4786 GError **error) __attribute__((__malloc__));
4792 gint g_unichar_to_utf8 (gunichar c,
4799 gboolean g_utf8_validate (
const gchar *str,
4804 gboolean g_unichar_validate (gunichar ch) __attribute__((__const__));
4806 gchar *g_utf8_strup (
const gchar *str,
4807 gssize len) __attribute__((__malloc__));
4808 gchar *g_utf8_strdown (
const gchar *str,
4809 gssize len) __attribute__((__malloc__));
4810 gchar *g_utf8_casefold (
const gchar *str,
4811 gssize len) __attribute__((__malloc__));
4814 G_NORMALIZE_DEFAULT,
4815 G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT,
4816 G_NORMALIZE_DEFAULT_COMPOSE,
4817 G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE,
4819 G_NORMALIZE_NFKD = G_NORMALIZE_ALL,
4820 G_NORMALIZE_ALL_COMPOSE,
4821 G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE
4824 gchar *g_utf8_normalize (
const gchar *str,
4826 GNormalizeMode mode) __attribute__((__malloc__));
4828 gint g_utf8_collate (
const gchar *str1,
4829 const gchar *str2) __attribute__((__pure__));
4830 gchar *g_utf8_collate_key (
const gchar *str,
4831 gssize len) __attribute__((__malloc__));
4832 gchar *g_utf8_collate_key_for_filename (
const gchar *str,
4833 gssize len) __attribute__((__malloc__));
4835 gboolean g_unichar_get_mirror_char (gunichar ch,
4836 gunichar *mirrored_ch);
4838 GUnicodeScript g_unichar_get_script (gunichar ch) __attribute__((__const__));
4843 gchar *_g_utf8_make_valid (
const gchar *name);
4846 # 36 "/usr/include/glib-2.0/glib/gstring.h" 2
4847 # 1 "/usr/include/glib-2.0/glib/gutils.h" 1
4848 # 37 "/usr/include/glib-2.0/glib/gstring.h" 2
4853 typedef struct _GStringChunk GStringChunk;
4859 gsize allocated_len;
4864 GStringChunk* g_string_chunk_new (gsize size);
4865 void g_string_chunk_free (GStringChunk *chunk);
4866 void g_string_chunk_clear (GStringChunk *chunk);
4867 gchar* g_string_chunk_insert (GStringChunk *chunk,
4868 const gchar *
string);
4869 gchar* g_string_chunk_insert_len (GStringChunk *chunk,
4870 const gchar *
string,
4872 gchar* g_string_chunk_insert_const (GStringChunk *chunk,
4873 const gchar *
string);
4878 GString* g_string_new (
const gchar *init);
4879 GString* g_string_new_len (
const gchar *init,
4881 GString* g_string_sized_new (gsize dfl_size);
4882 gchar* g_string_free (
GString *
string,
4883 gboolean free_segment);
4884 gboolean g_string_equal (
const GString *v,
4886 guint g_string_hash (
const GString *str);
4936 void g_string_vprintf (
GString *
string,
4937 const gchar *format,
4939 void g_string_printf (
GString *
string,
4940 const gchar *format,
4941 ...) __attribute__((__format__ (__printf__, 2, 3)));
4942 void g_string_append_vprintf (
GString *
string,
4943 const gchar *format,
4945 void g_string_append_printf (
GString *
string,
4946 const gchar *format,
4947 ...) __attribute__((__format__ (__printf__, 2, 3)));
4949 const
char *unescaped,
4950 const
char *reserved_chars_allowed,
4951 gboolean allow_utf8);
4956 g_string_append_c_inline (
GString *gstring,
4959 if (gstring->len + 1 < gstring->allocated_len)
4961 gstring->str[gstring->len++] = c;
4962 gstring->str[gstring->len] = 0;
4965 g_string_insert_c (gstring, -1, c);
4968 # 167 "/usr/include/glib-2.0/glib/gstring.h"
4979 # 37 "/usr/include/glib-2.0/glib/giochannel.h" 2
5002 G_IO_CHANNEL_ERROR_FBIG,
5003 G_IO_CHANNEL_ERROR_INVAL,
5004 G_IO_CHANNEL_ERROR_IO,
5005 G_IO_CHANNEL_ERROR_ISDIR,
5006 G_IO_CHANNEL_ERROR_NOSPC,
5007 G_IO_CHANNEL_ERROR_NXIO,
5008 G_IO_CHANNEL_ERROR_OVERFLOW,
5009 G_IO_CHANNEL_ERROR_PIPE,
5011 G_IO_CHANNEL_ERROR_FAILED
5041 G_IO_FLAG_APPEND = 1 << 0,
5042 G_IO_FLAG_NONBLOCK = 1 << 1,
5043 G_IO_FLAG_IS_READABLE = 1 << 2,
5044 G_IO_FLAG_IS_WRITEABLE = 1 << 3,
5045 G_IO_FLAG_IS_SEEKABLE = 1 << 4,
5046 G_IO_FLAG_MASK = (1 << 5) - 1,
5047 G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK,
5048 G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK
5061 guint line_term_len;
5067 gchar partial_write_buf[6];
5071 guint use_buffer : 1;
5072 guint do_encode : 1;
5073 guint close_on_unref : 1;
5074 guint is_readable : 1;
5075 guint is_writeable : 1;
5076 guint is_seekable : 1;
5082 typedef gboolean (*GIOFunc) (
GIOChannel *source,
5083 GIOCondition condition,
5095 gsize *bytes_written,
5104 GIOCondition condition);
5106 GIOStatus (*io_set_flags) (
GIOChannel *channel,
5109 GIOFlags (*io_get_flags) (
GIOChannel *channel);
5112 void g_io_channel_init (
GIOChannel *channel);
5114 void g_io_channel_unref (
GIOChannel *channel);
5117 GIOError g_io_channel_read (
GIOChannel *channel,
5121 GIOError g_io_channel_write (
GIOChannel *channel,
5124 gsize *bytes_written);
5125 GIOError g_io_channel_seek (
GIOChannel *channel,
5128 void g_io_channel_close (
GIOChannel *channel);
5131 GIOStatus g_io_channel_shutdown (
GIOChannel *channel,
5134 guint g_io_add_watch_full (
GIOChannel *channel,
5136 GIOCondition condition,
5139 GDestroyNotify notify);
5141 GIOCondition condition);
5143 GIOCondition condition,
5145 gpointer user_data);
5150 void g_io_channel_set_buffer_size (
GIOChannel *channel,
5152 gsize g_io_channel_get_buffer_size (
GIOChannel *channel);
5153 GIOCondition g_io_channel_get_buffer_condition (
GIOChannel *channel);
5154 GIOStatus g_io_channel_set_flags (
GIOChannel *channel,
5157 GIOFlags g_io_channel_get_flags (
GIOChannel *channel);
5158 void g_io_channel_set_line_term (
GIOChannel *channel,
5159 const gchar *line_term,
5161 const gchar* g_io_channel_get_line_term (
GIOChannel *channel,
5163 void g_io_channel_set_buffered (
GIOChannel *channel,
5165 gboolean g_io_channel_get_buffered (
GIOChannel *channel);
5166 GIOStatus g_io_channel_set_encoding (
GIOChannel *channel,
5167 const gchar *encoding,
5169 const gchar* g_io_channel_get_encoding (
GIOChannel *channel);
5170 void g_io_channel_set_close_on_unref (
GIOChannel *channel,
5172 gboolean g_io_channel_get_close_on_unref (
GIOChannel *channel);
5175 GIOStatus g_io_channel_flush (
GIOChannel *channel,
5177 GIOStatus g_io_channel_read_line (
GIOChannel *channel,
5180 gsize *terminator_pos,
5182 GIOStatus g_io_channel_read_line_string (
GIOChannel *channel,
5184 gsize *terminator_pos,
5186 GIOStatus g_io_channel_read_to_end (
GIOChannel *channel,
5190 GIOStatus g_io_channel_read_chars (
GIOChannel *channel,
5195 GIOStatus g_io_channel_read_unichar (
GIOChannel *channel,
5198 GIOStatus g_io_channel_write_chars (
GIOChannel *channel,
5201 gsize *bytes_written,
5203 GIOStatus g_io_channel_write_unichar (
GIOChannel *channel,
5206 GIOStatus g_io_channel_seek_position (
GIOChannel *channel,
5214 GIOChannel* g_io_channel_new_file (
const gchar *filename,
5220 GQuark g_io_channel_error_quark (
void);
5221 GIOChannelError g_io_channel_error_from_errno (gint en);
5222 # 298 "/usr/include/glib-2.0/glib/giochannel.h"
5224 gint g_io_channel_unix_get_fd (
GIOChannel *channel);
5229 # 364 "/usr/include/glib-2.0/glib/giochannel.h"
5231 # 54 "/usr/include/glib-2.0/glib.h" 2
5232 # 1 "/usr/include/glib-2.0/glib/gkeyfile.h" 1
5233 # 30 "/usr/include/glib-2.0/glib/gkeyfile.h"
5234 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
5235 # 31 "/usr/include/glib-2.0/glib/gkeyfile.h" 2
5241 G_KEY_FILE_ERROR_UNKNOWN_ENCODING,
5242 G_KEY_FILE_ERROR_PARSE,
5243 G_KEY_FILE_ERROR_NOT_FOUND,
5244 G_KEY_FILE_ERROR_KEY_NOT_FOUND,
5245 G_KEY_FILE_ERROR_GROUP_NOT_FOUND,
5246 G_KEY_FILE_ERROR_INVALID_VALUE
5251 GQuark g_key_file_error_quark (
void);
5253 typedef struct _GKeyFile GKeyFile;
5257 G_KEY_FILE_NONE = 0,
5258 G_KEY_FILE_KEEP_COMMENTS = 1 << 0,
5259 G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1
5262 GKeyFile *g_key_file_new (
void);
5263 void g_key_file_free (GKeyFile *key_file);
5264 void g_key_file_set_list_separator (GKeyFile *key_file,
5266 gboolean g_key_file_load_from_file (GKeyFile *key_file,
5268 GKeyFileFlags flags,
5270 gboolean g_key_file_load_from_data (GKeyFile *key_file,
5273 GKeyFileFlags flags,
5275 gboolean g_key_file_load_from_dirs (GKeyFile *key_file,
5277 const gchar **search_dirs,
5279 GKeyFileFlags flags,
5281 gboolean g_key_file_load_from_data_dirs (GKeyFile *key_file,
5284 GKeyFileFlags flags,
5286 gchar *g_key_file_to_data (GKeyFile *key_file,
5288 GError **error) __attribute__((__malloc__));
5289 gchar *g_key_file_get_start_group (GKeyFile *key_file) __attribute__((__malloc__));
5290 gchar **g_key_file_get_groups (GKeyFile *key_file,
5291 gsize *length) __attribute__((__malloc__));
5292 gchar **g_key_file_get_keys (GKeyFile *key_file,
5293 const gchar *group_name,
5295 GError **error) __attribute__((__malloc__));
5296 gboolean g_key_file_has_group (GKeyFile *key_file,
5297 const gchar *group_name);
5298 gboolean g_key_file_has_key (GKeyFile *key_file,
5299 const gchar *group_name,
5302 gchar *g_key_file_get_value (GKeyFile *key_file,
5303 const gchar *group_name,
5305 GError **error) __attribute__((__malloc__));
5306 void g_key_file_set_value (GKeyFile *key_file,
5307 const gchar *group_name,
5309 const gchar *value);
5310 gchar *g_key_file_get_string (GKeyFile *key_file,
5311 const gchar *group_name,
5313 GError **error) __attribute__((__malloc__));
5314 void g_key_file_set_string (GKeyFile *key_file,
5315 const gchar *group_name,
5317 const gchar *
string);
5318 gchar *g_key_file_get_locale_string (GKeyFile *key_file,
5319 const gchar *group_name,
5321 const gchar *locale,
5322 GError **error) __attribute__((__malloc__));
5323 void g_key_file_set_locale_string (GKeyFile *key_file,
5324 const gchar *group_name,
5326 const gchar *locale,
5327 const gchar *
string);
5328 gboolean g_key_file_get_boolean (GKeyFile *key_file,
5329 const gchar *group_name,
5332 void g_key_file_set_boolean (GKeyFile *key_file,
5333 const gchar *group_name,
5336 gint g_key_file_get_integer (GKeyFile *key_file,
5337 const gchar *group_name,
5340 void g_key_file_set_integer (GKeyFile *key_file,
5341 const gchar *group_name,
5344 gint64 g_key_file_get_int64 (GKeyFile *key_file,
5345 const gchar *group_name,
5348 void g_key_file_set_int64 (GKeyFile *key_file,
5349 const gchar *group_name,
5352 guint64 g_key_file_get_uint64 (GKeyFile *key_file,
5353 const gchar *group_name,
5356 void g_key_file_set_uint64 (GKeyFile *key_file,
5357 const gchar *group_name,
5360 gdouble g_key_file_get_double (GKeyFile *key_file,
5361 const gchar *group_name,
5364 void g_key_file_set_double (GKeyFile *key_file,
5365 const gchar *group_name,
5368 gchar **g_key_file_get_string_list (GKeyFile *key_file,
5369 const gchar *group_name,
5372 GError **error) __attribute__((__malloc__));
5373 void g_key_file_set_string_list (GKeyFile *key_file,
5374 const gchar *group_name,
5376 const gchar *
const list[],
5378 gchar **g_key_file_get_locale_string_list (GKeyFile *key_file,
5379 const gchar *group_name,
5381 const gchar *locale,
5383 GError **error) __attribute__((__malloc__));
5384 void g_key_file_set_locale_string_list (GKeyFile *key_file,
5385 const gchar *group_name,
5387 const gchar *locale,
5388 const gchar *
const list[],
5390 gboolean *g_key_file_get_boolean_list (GKeyFile *key_file,
5391 const gchar *group_name,
5394 GError **error) __attribute__((__malloc__));
5395 void g_key_file_set_boolean_list (GKeyFile *key_file,
5396 const gchar *group_name,
5400 gint *g_key_file_get_integer_list (GKeyFile *key_file,
5401 const gchar *group_name,
5404 GError **error) __attribute__((__malloc__));
5405 void g_key_file_set_double_list (GKeyFile *key_file,
5406 const gchar *group_name,
5410 gdouble *g_key_file_get_double_list (GKeyFile *key_file,
5411 const gchar *group_name,
5414 GError **error) __attribute__((__malloc__));
5415 void g_key_file_set_integer_list (GKeyFile *key_file,
5416 const gchar *group_name,
5420 gboolean g_key_file_set_comment (GKeyFile *key_file,
5421 const gchar *group_name,
5423 const gchar *comment,
5425 gchar *g_key_file_get_comment (GKeyFile *key_file,
5426 const gchar *group_name,
5428 GError **error) __attribute__((__malloc__));
5430 gboolean g_key_file_remove_comment (GKeyFile *key_file,
5431 const gchar *group_name,
5434 gboolean g_key_file_remove_key (GKeyFile *key_file,
5435 const gchar *group_name,
5438 gboolean g_key_file_remove_group (GKeyFile *key_file,
5439 const gchar *group_name,
5441 # 265 "/usr/include/glib-2.0/glib/gkeyfile.h"
5443 # 55 "/usr/include/glib-2.0/glib.h" 2
5444 # 1 "/usr/include/glib-2.0/glib/glist.h" 1
5445 # 56 "/usr/include/glib-2.0/glib.h" 2
5446 # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
5447 # 57 "/usr/include/glib-2.0/glib.h" 2
5448 # 1 "/usr/include/glib-2.0/glib/gmain.h" 1
5449 # 58 "/usr/include/glib-2.0/glib.h" 2
5450 # 1 "/usr/include/glib-2.0/glib/gmappedfile.h" 1
5451 # 29 "/usr/include/glib-2.0/glib/gmappedfile.h"
5452 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
5453 # 30 "/usr/include/glib-2.0/glib/gmappedfile.h" 2
5457 typedef struct _GMappedFile GMappedFile;
5459 GMappedFile *g_mapped_file_new (
const gchar *filename,
5461 GError **error) __attribute__((__malloc__));
5462 gsize g_mapped_file_get_length (GMappedFile *file);
5463 gchar *g_mapped_file_get_contents (GMappedFile *file);
5464 GMappedFile *g_mapped_file_ref (GMappedFile *file);
5465 void g_mapped_file_unref (GMappedFile *file);
5468 void g_mapped_file_free (GMappedFile *file);
5472 # 59 "/usr/include/glib-2.0/glib.h" 2
5473 # 1 "/usr/include/glib-2.0/glib/gmarkup.h" 1
5474 # 30 "/usr/include/glib-2.0/glib/gmarkup.h"
5475 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
5476 # 31 "/usr/include/glib-2.0/glib/gmarkup.h" 2
5477 # 1 "/usr/include/glib-2.0/glib/gslist.h" 1
5478 # 32 "/usr/include/glib-2.0/glib/gmarkup.h" 2
5481 # 51 "/usr/include/glib-2.0/glib/gmarkup.h"
5484 G_MARKUP_ERROR_BAD_UTF8,
5485 G_MARKUP_ERROR_EMPTY,
5486 G_MARKUP_ERROR_PARSE,
5490 G_MARKUP_ERROR_UNKNOWN_ELEMENT,
5491 G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE,
5492 G_MARKUP_ERROR_INVALID_CONTENT,
5493 G_MARKUP_ERROR_MISSING_ATTRIBUTE
5495 # 74 "/usr/include/glib-2.0/glib/gmarkup.h"
5496 GQuark g_markup_error_quark (
void);
5497 # 92 "/usr/include/glib-2.0/glib/gmarkup.h"
5500 G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0,
5501 G_MARKUP_TREAT_CDATA_AS_TEXT = 1 << 1,
5502 G_MARKUP_PREFIX_ERROR_POSITION = 1 << 2
5503 } GMarkupParseFlags;
5504 # 108 "/usr/include/glib-2.0/glib/gmarkup.h"
5505 typedef struct _GMarkupParseContext GMarkupParseContext;
5507 # 138 "/usr/include/glib-2.0/glib/gmarkup.h"
5511 void (*start_element) (GMarkupParseContext *context,
5512 const gchar *element_name,
5513 const gchar **attribute_names,
5514 const gchar **attribute_values,
5519 void (*end_element) (GMarkupParseContext *context,
5520 const gchar *element_name,
5526 void (*text) (GMarkupParseContext *context,
5537 void (*passthrough) (GMarkupParseContext *context,
5538 const gchar *passthrough_text,
5546 void (*error) (GMarkupParseContext *context,
5548 gpointer user_data);
5551 GMarkupParseContext *g_markup_parse_context_new (
const GMarkupParser *parser,
5552 GMarkupParseFlags flags,
5554 GDestroyNotify user_data_dnotify);
5555 void g_markup_parse_context_free (GMarkupParseContext *context);
5556 gboolean g_markup_parse_context_parse (GMarkupParseContext *context,
5560 void g_markup_parse_context_push (GMarkupParseContext *context,
5562 gpointer user_data);
5563 gpointer g_markup_parse_context_pop (GMarkupParseContext *context);
5565 gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context,
5567 const gchar *g_markup_parse_context_get_element (GMarkupParseContext *context);
5568 const GSList *g_markup_parse_context_get_element_stack (GMarkupParseContext *context);
5571 void g_markup_parse_context_get_position (GMarkupParseContext *context,
5574 gpointer g_markup_parse_context_get_user_data (GMarkupParseContext *context);
5577 gchar* g_markup_escape_text (
const gchar *text,
5580 gchar *g_markup_printf_escaped (
const char *format,
5581 ...) __attribute__((__format__ (__printf__, 1, 2)));
5582 gchar *g_markup_vprintf_escaped (const
char *format,
5587 G_MARKUP_COLLECT_INVALID,
5588 G_MARKUP_COLLECT_STRING,
5589 G_MARKUP_COLLECT_STRDUP,
5590 G_MARKUP_COLLECT_BOOLEAN,
5591 G_MARKUP_COLLECT_TRISTATE,
5593 G_MARKUP_COLLECT_OPTIONAL = (1 << 16)
5594 } GMarkupCollectType;
5598 gboolean g_markup_collect_attributes (
const gchar *element_name,
5599 const gchar **attribute_names,
5600 const gchar **attribute_values,
5602 GMarkupCollectType first_type,
5603 const gchar *first_attr,
5607 # 60 "/usr/include/glib-2.0/glib.h" 2
5608 # 1 "/usr/include/glib-2.0/glib/gmem.h" 1
5609 # 61 "/usr/include/glib-2.0/glib.h" 2
5610 # 1 "/usr/include/glib-2.0/glib/gmessages.h" 1
5611 # 35 "/usr/include/glib-2.0/glib/gmessages.h"
5612 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
5613 # 36 "/usr/include/glib-2.0/glib/gmessages.h" 2
5614 # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
5615 # 37 "/usr/include/glib-2.0/glib/gmessages.h" 2
5621 # 42 "/usr/include/glib-2.0/glib/gmessages.h" 3
5628 gsize g_printf_string_upper_bound (
const gchar* format,
5630 # 58 "/usr/include/glib-2.0/glib/gmessages.h" 3
5634 G_LOG_FLAG_RECURSION = 1 << 0,
5635 G_LOG_FLAG_FATAL = 1 << 1,
5638 G_LOG_LEVEL_ERROR = 1 << 2,
5639 G_LOG_LEVEL_CRITICAL = 1 << 3,
5640 G_LOG_LEVEL_WARNING = 1 << 4,
5641 G_LOG_LEVEL_MESSAGE = 1 << 5,
5642 G_LOG_LEVEL_INFO = 1 << 6,
5643 G_LOG_LEVEL_DEBUG = 1 << 7,
5645 G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL)
5651 typedef void (*GLogFunc) (
const gchar *log_domain,
5652 GLogLevelFlags log_level,
5653 const gchar *message,
5654 gpointer user_data);
5658 guint g_log_set_handler (
const gchar *log_domain,
5659 GLogLevelFlags log_levels,
5661 gpointer user_data);
5662 void g_log_remove_handler (
const gchar *log_domain,
5664 void g_log_default_handler (
const gchar *log_domain,
5665 GLogLevelFlags log_level,
5666 const gchar *message,
5667 gpointer unused_data);
5668 GLogFunc g_log_set_default_handler (GLogFunc log_func,
5669 gpointer user_data);
5670 void g_log (
const gchar *log_domain,
5671 GLogLevelFlags log_level,
5672 const gchar *format,
5673 ...) __attribute__((__format__ (__printf__, 3, 4)));
5674 void g_logv (const gchar *log_domain,
5675 GLogLevelFlags log_level,
5676 const gchar *format,
5678 GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain,
5679 GLogLevelFlags fatal_mask);
5680 GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
5683 __attribute__((visibility("hidden")))
void _g_log_fallback_handler (const gchar *log_domain,
5684 GLogLevelFlags log_level,
5685 const gchar *message,
5686 gpointer unused_data);
5689 void g_return_if_fail_warning (const
char *log_domain,
5690 const
char *pretty_function,
5691 const
char *expression);
5692 void g_warn_message (const
char *domain,
5696 const
char *warnexpr);
5698 void g_assert_warning (const
char *log_domain,
5701 const
char *pretty_function,
5702 const
char *expression) __attribute__((__noreturn__));
5703 # 229 "/usr/include/glib-2.0/glib/gmessages.h" 3
5704 typedef void (*GPrintFunc) (
const gchar *string);
5705 void g_print (
const gchar *format,
5706 ...) __attribute__((__format__ (__printf__, 1, 2)));
5707 GPrintFunc g_set_print_handler (GPrintFunc func);
5708 void g_printerr (const gchar *format,
5709 ...) __attribute__((__format__ (__printf__, 1, 2)));
5710 GPrintFunc g_set_printerr_handler (GPrintFunc func);
5711 # 341 "/usr/include/glib-2.0/glib/gmessages.h" 3
5713 # 62 "/usr/include/glib-2.0/glib.h" 2
5714 # 1 "/usr/include/glib-2.0/glib/gnode.h" 1
5715 # 34 "/usr/include/glib-2.0/glib/gnode.h"
5716 # 1 "/usr/include/glib-2.0/glib/gmem.h" 1
5717 # 35 "/usr/include/glib-2.0/glib/gnode.h" 2
5726 G_TRAVERSE_LEAVES = 1 << 0,
5727 G_TRAVERSE_NON_LEAVES = 1 << 1,
5728 G_TRAVERSE_ALL = G_TRAVERSE_LEAVES | G_TRAVERSE_NON_LEAVES,
5729 G_TRAVERSE_MASK = 0x03,
5730 G_TRAVERSE_LEAFS = G_TRAVERSE_LEAVES,
5731 G_TRAVERSE_NON_LEAFS = G_TRAVERSE_NON_LEAVES
5743 typedef gboolean (*GNodeTraverseFunc) (
GNode *node,
5745 typedef void (*GNodeForeachFunc) (
GNode *node,
5747 # 77 "/usr/include/glib-2.0/glib/gnode.h"
5748 typedef gpointer (*GCopyFunc) (gconstpointer src,
5761 # 115 "/usr/include/glib-2.0/glib/gnode.h"
5762 GNode* g_node_new (gpointer data);
5763 void g_node_destroy (
GNode *root);
5764 void g_node_unlink (
GNode *node);
5766 GCopyFunc copy_func,
5780 guint g_node_n_nodes (
GNode *root,
5781 GTraverseFlags flags);
5783 gboolean g_node_is_ancestor (
GNode *node,
5785 guint g_node_depth (
GNode *node);
5787 GTraverseType order,
5788 GTraverseFlags flags,
5790 # 213 "/usr/include/glib-2.0/glib/gnode.h"
5791 void g_node_traverse (
GNode *root,
5792 GTraverseType order,
5793 GTraverseFlags flags,
5795 GNodeTraverseFunc func,
5803 guint g_node_max_height (
GNode *root);
5805 void g_node_children_foreach (
GNode *node,
5806 GTraverseFlags flags,
5807 GNodeForeachFunc func,
5809 void g_node_reverse_children (
GNode *node);
5810 guint g_node_n_children (
GNode *node);
5815 GTraverseFlags flags,
5817 gint g_node_child_position (
GNode *node,
5819 gint g_node_child_index (
GNode *node,
5824 # 284 "/usr/include/glib-2.0/glib/gnode.h"
5825 void g_node_push_allocator (gpointer dummy);
5826 void g_node_pop_allocator (
void);
5830 # 63 "/usr/include/glib-2.0/glib.h" 2
5831 # 1 "/usr/include/glib-2.0/glib/goption.h" 1
5832 # 28 "/usr/include/glib-2.0/glib/goption.h"
5833 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
5834 # 29 "/usr/include/glib-2.0/glib/goption.h" 2
5835 # 1 "/usr/include/glib-2.0/glib/gquark.h" 1
5836 # 30 "/usr/include/glib-2.0/glib/goption.h" 2
5839 # 40 "/usr/include/glib-2.0/glib/goption.h"
5840 typedef struct _GOptionContext GOptionContext;
5841 # 53 "/usr/include/glib-2.0/glib/goption.h"
5842 typedef struct _GOptionGroup GOptionGroup;
5844 # 82 "/usr/include/glib-2.0/glib/goption.h"
5847 G_OPTION_FLAG_HIDDEN = 1 << 0,
5848 G_OPTION_FLAG_IN_MAIN = 1 << 1,
5849 G_OPTION_FLAG_REVERSE = 1 << 2,
5850 G_OPTION_FLAG_NO_ARG = 1 << 3,
5851 G_OPTION_FLAG_FILENAME = 1 << 4,
5852 G_OPTION_FLAG_OPTIONAL_ARG = 1 << 5,
5853 G_OPTION_FLAG_NOALIAS = 1 << 6
5855 # 118 "/usr/include/glib-2.0/glib/goption.h"
5859 G_OPTION_ARG_STRING,
5861 G_OPTION_ARG_CALLBACK,
5862 G_OPTION_ARG_FILENAME,
5863 G_OPTION_ARG_STRING_ARRAY,
5864 G_OPTION_ARG_FILENAME_ARRAY,
5865 G_OPTION_ARG_DOUBLE,
5868 # 148 "/usr/include/glib-2.0/glib/goption.h"
5869 typedef gboolean (*GOptionArgFunc) (
const gchar *option_name,
5873 # 166 "/usr/include/glib-2.0/glib/goption.h"
5874 typedef gboolean (*GOptionParseFunc) (GOptionContext *context,
5875 GOptionGroup *group,
5878 # 181 "/usr/include/glib-2.0/glib/goption.h"
5879 typedef void (*GOptionErrorFunc) (GOptionContext *context,
5880 GOptionGroup *group,
5883 # 205 "/usr/include/glib-2.0/glib/goption.h"
5886 G_OPTION_ERROR_UNKNOWN_OPTION,
5887 G_OPTION_ERROR_BAD_VALUE,
5888 G_OPTION_ERROR_FAILED
5891 GQuark g_option_error_quark (
void);
5892 # 279 "/usr/include/glib-2.0/glib/goption.h"
5895 const gchar *long_name;
5902 const gchar *description;
5903 const gchar *arg_description;
5905 # 310 "/usr/include/glib-2.0/glib/goption.h"
5906 GOptionContext *g_option_context_new (
const gchar *parameter_string);
5907 void g_option_context_set_summary (GOptionContext *context,
5908 const gchar *summary);
5909 const gchar *g_option_context_get_summary (GOptionContext *context);
5910 void g_option_context_set_description (GOptionContext *context,
5911 const gchar *description);
5912 const gchar *g_option_context_get_description (GOptionContext *context);
5913 void g_option_context_free (GOptionContext *context);
5914 void g_option_context_set_help_enabled (GOptionContext *context,
5915 gboolean help_enabled);
5916 gboolean g_option_context_get_help_enabled (GOptionContext *context);
5917 void g_option_context_set_ignore_unknown_options (GOptionContext *context,
5918 gboolean ignore_unknown);
5919 gboolean g_option_context_get_ignore_unknown_options (GOptionContext *context);
5921 void g_option_context_add_main_entries (GOptionContext *context,
5923 const gchar *translation_domain);
5924 gboolean g_option_context_parse (GOptionContext *context,
5928 void g_option_context_set_translate_func (GOptionContext *context,
5929 GTranslateFunc func,
5931 GDestroyNotify destroy_notify);
5932 void g_option_context_set_translation_domain (GOptionContext *context,
5933 const gchar *domain);
5935 void g_option_context_add_group (GOptionContext *context,
5936 GOptionGroup *group);
5937 void g_option_context_set_main_group (GOptionContext *context,
5938 GOptionGroup *group);
5939 GOptionGroup *g_option_context_get_main_group (GOptionContext *context);
5940 gchar *g_option_context_get_help (GOptionContext *context,
5942 GOptionGroup *group);
5944 GOptionGroup *g_option_group_new (
const gchar *name,
5945 const gchar *description,
5946 const gchar *help_description,
5948 GDestroyNotify destroy);
5949 void g_option_group_set_parse_hooks (GOptionGroup *group,
5950 GOptionParseFunc pre_parse_func,
5951 GOptionParseFunc post_parse_func);
5952 void g_option_group_set_error_hook (GOptionGroup *group,
5953 GOptionErrorFunc error_func);
5954 void g_option_group_free (GOptionGroup *group);
5955 void g_option_group_add_entries (GOptionGroup *group,
5957 void g_option_group_set_translate_func (GOptionGroup *group,
5958 GTranslateFunc func,
5960 GDestroyNotify destroy_notify);
5961 void g_option_group_set_translation_domain (GOptionGroup *group,
5962 const gchar *domain);
5965 # 64 "/usr/include/glib-2.0/glib.h" 2
5966 # 1 "/usr/include/glib-2.0/glib/gpattern.h" 1
5967 # 27 "/usr/include/glib-2.0/glib/gpattern.h"
5968 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
5969 # 28 "/usr/include/glib-2.0/glib/gpattern.h" 2
5974 typedef struct _GPatternSpec GPatternSpec;
5976 GPatternSpec* g_pattern_spec_new (
const gchar *pattern);
5977 void g_pattern_spec_free (GPatternSpec *pspec);
5978 gboolean g_pattern_spec_equal (GPatternSpec *pspec1,
5979 GPatternSpec *pspec2);
5980 gboolean g_pattern_match (GPatternSpec *pspec,
5981 guint string_length,
5982 const gchar *
string,
5983 const gchar *string_reversed);
5984 gboolean g_pattern_match_string (GPatternSpec *pspec,
5985 const gchar *
string);
5986 gboolean g_pattern_match_simple (
const gchar *pattern,
5987 const gchar *
string);
5990 # 65 "/usr/include/glib-2.0/glib.h" 2
5991 # 1 "/usr/include/glib-2.0/glib/gpoll.h" 1
5992 # 66 "/usr/include/glib-2.0/glib.h" 2
5993 # 1 "/usr/include/glib-2.0/glib/gprimes.h" 1
5994 # 34 "/usr/include/glib-2.0/glib/gprimes.h"
5995 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
5996 # 35 "/usr/include/glib-2.0/glib/gprimes.h" 2
5999 # 47 "/usr/include/glib-2.0/glib/gprimes.h"
6000 guint g_spaced_primes_closest (guint num) __attribute__((__const__));
6003 # 67 "/usr/include/glib-2.0/glib.h" 2
6004 # 1 "/usr/include/glib-2.0/glib/gqsort.h" 1
6005 # 34 "/usr/include/glib-2.0/glib/gqsort.h"
6006 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
6007 # 35 "/usr/include/glib-2.0/glib/gqsort.h" 2
6011 void g_qsort_with_data (gconstpointer pbase,
6014 GCompareDataFunc compare_func,
6015 gpointer user_data);
6018 # 68 "/usr/include/glib-2.0/glib.h" 2
6019 # 1 "/usr/include/glib-2.0/glib/gquark.h" 1
6020 # 69 "/usr/include/glib-2.0/glib.h" 2
6021 # 1 "/usr/include/glib-2.0/glib/gqueue.h" 1
6022 # 34 "/usr/include/glib-2.0/glib/gqueue.h"
6023 # 1 "/usr/include/glib-2.0/glib/glist.h" 1
6024 # 35 "/usr/include/glib-2.0/glib/gqueue.h" 2
6041 GQueue* g_queue_new (
void);
6042 void g_queue_free (
GQueue *queue);
6043 void g_queue_init (
GQueue *queue);
6044 void g_queue_clear (
GQueue *queue);
6045 gboolean g_queue_is_empty (
GQueue *queue);
6046 guint g_queue_get_length (
GQueue *queue);
6047 void g_queue_reverse (
GQueue *queue);
6049 void g_queue_foreach (
GQueue *queue,
6051 gpointer user_data);
6053 gconstpointer data);
6057 void g_queue_sort (
GQueue *queue,
6058 GCompareDataFunc compare_func,
6059 gpointer user_data);
6061 void g_queue_push_head (
GQueue *queue,
6063 void g_queue_push_tail (
GQueue *queue,
6065 void g_queue_push_nth (
GQueue *queue,
6068 gpointer g_queue_pop_head (
GQueue *queue);
6069 gpointer g_queue_pop_tail (
GQueue *queue);
6070 gpointer g_queue_pop_nth (
GQueue *queue,
6072 gpointer g_queue_peek_head (
GQueue *queue);
6073 gpointer g_queue_peek_tail (
GQueue *queue);
6074 gpointer g_queue_peek_nth (
GQueue *queue,
6076 gint g_queue_index (
GQueue *queue,
6077 gconstpointer data);
6078 void g_queue_remove (
GQueue *queue,
6079 gconstpointer data);
6080 void g_queue_remove_all (
GQueue *queue,
6081 gconstpointer data);
6082 void g_queue_insert_before (
GQueue *queue,
6085 void g_queue_insert_after (
GQueue *queue,
6088 void g_queue_insert_sorted (
GQueue *queue,
6090 GCompareDataFunc func,
6091 gpointer user_data);
6093 void g_queue_push_head_link (
GQueue *queue,
6095 void g_queue_push_tail_link (
GQueue *queue,
6097 void g_queue_push_nth_link (
GQueue *queue,
6108 gint g_queue_link_index (
GQueue *queue,
6110 void g_queue_unlink (
GQueue *queue,
6112 void g_queue_delete_link (
GQueue *queue,
6116 # 70 "/usr/include/glib-2.0/glib.h" 2
6117 # 1 "/usr/include/glib-2.0/glib/grand.h" 1
6118 # 34 "/usr/include/glib-2.0/glib/grand.h"
6119 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
6120 # 35 "/usr/include/glib-2.0/glib/grand.h" 2
6124 typedef struct _GRand GRand;
6125 # 49 "/usr/include/glib-2.0/glib/grand.h"
6126 GRand* g_rand_new_with_seed (guint32 seed);
6127 GRand* g_rand_new_with_seed_array (
const guint32 *seed,
6129 GRand* g_rand_new (
void);
6130 void g_rand_free (GRand *rand_);
6131 GRand* g_rand_copy (GRand *rand_);
6132 void g_rand_set_seed (GRand *rand_,
6134 void g_rand_set_seed_array (GRand *rand_,
6135 const guint32 *seed,
6140 guint32 g_rand_int (GRand *rand_);
6141 gint32 g_rand_int_range (GRand *rand_,
6144 gdouble g_rand_double (GRand *rand_);
6145 gdouble g_rand_double_range (GRand *rand_,
6148 void g_random_set_seed (guint32 seed);
6152 guint32 g_random_int (
void);
6153 gint32 g_random_int_range (gint32 begin,
6155 gdouble g_random_double (
void);
6156 gdouble g_random_double_range (gdouble begin,
6161 # 71 "/usr/include/glib-2.0/glib.h" 2
6162 # 1 "/usr/include/glib-2.0/glib/grel.h" 1
6163 # 34 "/usr/include/glib-2.0/glib/grel.h"
6164 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
6165 # 35 "/usr/include/glib-2.0/glib/grel.h" 2
6169 typedef struct _GRelation GRelation;
6176 # 71 "/usr/include/glib-2.0/glib/grel.h"
6177 GRelation* g_relation_new (gint fields);
6178 void g_relation_destroy (GRelation *relation);
6179 void g_relation_index (GRelation *relation,
6181 GHashFunc hash_func,
6182 GEqualFunc key_equal_func);
6183 void g_relation_insert (GRelation *relation,
6185 gint g_relation_delete (GRelation *relation,
6188 GTuples* g_relation_select (GRelation *relation,
6191 gint g_relation_count (GRelation *relation,
6194 gboolean g_relation_exists (GRelation *relation,
6196 void g_relation_print (GRelation *relation);
6198 void g_tuples_destroy (
GTuples *tuples);
6199 gpointer g_tuples_index (
GTuples *tuples,
6206 # 72 "/usr/include/glib-2.0/glib.h" 2
6207 # 1 "/usr/include/glib-2.0/glib/gregex.h" 1
6208 # 29 "/usr/include/glib-2.0/glib/gregex.h"
6209 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
6210 # 30 "/usr/include/glib-2.0/glib/gregex.h" 2
6211 # 1 "/usr/include/glib-2.0/glib/gstring.h" 1
6212 # 31 "/usr/include/glib-2.0/glib/gregex.h" 2
6215 # 117 "/usr/include/glib-2.0/glib/gregex.h"
6218 G_REGEX_ERROR_COMPILE,
6219 G_REGEX_ERROR_OPTIMIZE,
6220 G_REGEX_ERROR_REPLACE,
6221 G_REGEX_ERROR_MATCH,
6222 G_REGEX_ERROR_INTERNAL,
6225 G_REGEX_ERROR_STRAY_BACKSLASH = 101,
6226 G_REGEX_ERROR_MISSING_CONTROL_CHAR = 102,
6227 G_REGEX_ERROR_UNRECOGNIZED_ESCAPE = 103,
6228 G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER = 104,
6229 G_REGEX_ERROR_QUANTIFIER_TOO_BIG = 105,
6230 G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS = 106,
6231 G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS = 107,
6232 G_REGEX_ERROR_RANGE_OUT_OF_ORDER = 108,
6233 G_REGEX_ERROR_NOTHING_TO_REPEAT = 109,
6234 G_REGEX_ERROR_UNRECOGNIZED_CHARACTER = 112,
6235 G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS = 113,
6236 G_REGEX_ERROR_UNMATCHED_PARENTHESIS = 114,
6237 G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE = 115,
6238 G_REGEX_ERROR_UNTERMINATED_COMMENT = 118,
6239 G_REGEX_ERROR_EXPRESSION_TOO_LARGE = 120,
6240 G_REGEX_ERROR_MEMORY_ERROR = 121,
6241 G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND = 125,
6242 G_REGEX_ERROR_MALFORMED_CONDITION = 126,
6243 G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES = 127,
6244 G_REGEX_ERROR_ASSERTION_EXPECTED = 128,
6245 G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME = 130,
6246 G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED = 131,
6247 G_REGEX_ERROR_HEX_CODE_TOO_LARGE = 134,
6248 G_REGEX_ERROR_INVALID_CONDITION = 135,
6249 G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND = 136,
6250 G_REGEX_ERROR_INFINITE_LOOP = 140,
6251 G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR = 142,
6252 G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME = 143,
6253 G_REGEX_ERROR_MALFORMED_PROPERTY = 146,
6254 G_REGEX_ERROR_UNKNOWN_PROPERTY = 147,
6255 G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG = 148,
6256 G_REGEX_ERROR_TOO_MANY_SUBPATTERNS = 149,
6257 G_REGEX_ERROR_INVALID_OCTAL_VALUE = 151,
6258 G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE = 154,
6259 G_REGEX_ERROR_DEFINE_REPETION = 155,
6260 G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS = 156,
6261 G_REGEX_ERROR_MISSING_BACK_REFERENCE = 157
6263 # 176 "/usr/include/glib-2.0/glib/gregex.h"
6264 GQuark g_regex_error_quark (
void);
6265 # 243 "/usr/include/glib-2.0/glib/gregex.h"
6268 G_REGEX_CASELESS = 1 << 0,
6269 G_REGEX_MULTILINE = 1 << 1,
6270 G_REGEX_DOTALL = 1 << 2,
6271 G_REGEX_EXTENDED = 1 << 3,
6272 G_REGEX_ANCHORED = 1 << 4,
6273 G_REGEX_DOLLAR_ENDONLY = 1 << 5,
6274 G_REGEX_UNGREEDY = 1 << 9,
6275 G_REGEX_RAW = 1 << 11,
6276 G_REGEX_NO_AUTO_CAPTURE = 1 << 12,
6277 G_REGEX_OPTIMIZE = 1 << 13,
6278 G_REGEX_DUPNAMES = 1 << 19,
6279 G_REGEX_NEWLINE_CR = 1 << 20,
6280 G_REGEX_NEWLINE_LF = 1 << 21,
6281 G_REGEX_NEWLINE_CRLF = G_REGEX_NEWLINE_CR | G_REGEX_NEWLINE_LF
6282 } GRegexCompileFlags;
6283 # 306 "/usr/include/glib-2.0/glib/gregex.h"
6286 G_REGEX_MATCH_ANCHORED = 1 << 4,
6287 G_REGEX_MATCH_NOTBOL = 1 << 7,
6288 G_REGEX_MATCH_NOTEOL = 1 << 8,
6289 G_REGEX_MATCH_NOTEMPTY = 1 << 10,
6290 G_REGEX_MATCH_PARTIAL = 1 << 15,
6291 G_REGEX_MATCH_NEWLINE_CR = 1 << 20,
6292 G_REGEX_MATCH_NEWLINE_LF = 1 << 21,
6293 G_REGEX_MATCH_NEWLINE_CRLF = G_REGEX_MATCH_NEWLINE_CR | G_REGEX_MATCH_NEWLINE_LF,
6294 G_REGEX_MATCH_NEWLINE_ANY = 1 << 22
6296 # 327 "/usr/include/glib-2.0/glib/gregex.h"
6297 typedef struct _GRegex GRegex;
6300 typedef struct _GMatchInfo GMatchInfo;
6301 # 349 "/usr/include/glib-2.0/glib/gregex.h"
6302 typedef gboolean (*GRegexEvalCallback) (
const GMatchInfo *match_info,
6304 gpointer user_data);
6307 GRegex *g_regex_new (
const gchar *pattern,
6308 GRegexCompileFlags compile_options,
6309 GRegexMatchFlags match_options,
6311 GRegex *g_regex_ref (GRegex *regex);
6312 void g_regex_unref (GRegex *regex);
6313 const gchar *g_regex_get_pattern (
const GRegex *regex);
6314 gint g_regex_get_max_backref (
const GRegex *regex);
6315 gint g_regex_get_capture_count (
const GRegex *regex);
6316 gint g_regex_get_string_number (
const GRegex *regex,
6318 gchar *g_regex_escape_string (
const gchar *
string,
6321 GRegexCompileFlags g_regex_get_compile_flags (
const GRegex *regex);
6322 GRegexMatchFlags g_regex_get_match_flags (
const GRegex *regex);
6325 gboolean g_regex_match_simple (
const gchar *pattern,
6326 const gchar *
string,
6327 GRegexCompileFlags compile_options,
6328 GRegexMatchFlags match_options);
6329 gboolean g_regex_match (
const GRegex *regex,
6330 const gchar *
string,
6331 GRegexMatchFlags match_options,
6332 GMatchInfo **match_info);
6333 gboolean g_regex_match_full (
const GRegex *regex,
6334 const gchar *
string,
6336 gint start_position,
6337 GRegexMatchFlags match_options,
6338 GMatchInfo **match_info,
6340 gboolean g_regex_match_all (
const GRegex *regex,
6341 const gchar *
string,
6342 GRegexMatchFlags match_options,
6343 GMatchInfo **match_info);
6344 gboolean g_regex_match_all_full (
const GRegex *regex,
6345 const gchar *
string,
6347 gint start_position,
6348 GRegexMatchFlags match_options,
6349 GMatchInfo **match_info,
6353 gchar **g_regex_split_simple (
const gchar *pattern,
6354 const gchar *
string,
6355 GRegexCompileFlags compile_options,
6356 GRegexMatchFlags match_options);
6357 gchar **g_regex_split (
const GRegex *regex,
6358 const gchar *
string,
6359 GRegexMatchFlags match_options);
6360 gchar **g_regex_split_full (
const GRegex *regex,
6361 const gchar *
string,
6363 gint start_position,
6364 GRegexMatchFlags match_options,
6369 gchar *g_regex_replace (
const GRegex *regex,
6370 const gchar *
string,
6372 gint start_position,
6373 const gchar *replacement,
6374 GRegexMatchFlags match_options,
6376 gchar *g_regex_replace_literal (
const GRegex *regex,
6377 const gchar *
string,
6379 gint start_position,
6380 const gchar *replacement,
6381 GRegexMatchFlags match_options,
6383 gchar *g_regex_replace_eval (
const GRegex *regex,
6384 const gchar *
string,
6386 gint start_position,
6387 GRegexMatchFlags match_options,
6388 GRegexEvalCallback eval,
6391 gboolean g_regex_check_replacement (
const gchar *replacement,
6392 gboolean *has_references,
6396 GRegex *g_match_info_get_regex (
const GMatchInfo *match_info);
6397 const gchar *g_match_info_get_string (
const GMatchInfo *match_info);
6399 void g_match_info_free (GMatchInfo *match_info);
6400 gboolean g_match_info_next (GMatchInfo *match_info,
6402 gboolean g_match_info_matches (
const GMatchInfo *match_info);
6403 gint g_match_info_get_match_count (
const GMatchInfo *match_info);
6404 gboolean g_match_info_is_partial_match (
const GMatchInfo *match_info);
6405 gchar *g_match_info_expand_references(
const GMatchInfo *match_info,
6406 const gchar *string_to_expand,
6408 gchar *g_match_info_fetch (
const GMatchInfo *match_info,
6410 gboolean g_match_info_fetch_pos (
const GMatchInfo *match_info,
6414 gchar *g_match_info_fetch_named (
const GMatchInfo *match_info,
6416 gboolean g_match_info_fetch_named_pos (
const GMatchInfo *match_info,
6420 gchar **g_match_info_fetch_all (
const GMatchInfo *match_info);
6423 # 73 "/usr/include/glib-2.0/glib.h" 2
6424 # 1 "/usr/include/glib-2.0/glib/gscanner.h" 1
6425 # 34 "/usr/include/glib-2.0/glib/gscanner.h"
6426 # 1 "/usr/include/glib-2.0/glib/gdataset.h" 1
6427 # 35 "/usr/include/glib-2.0/glib/gscanner.h" 2
6428 # 1 "/usr/include/glib-2.0/glib/ghash.h" 1
6429 # 36 "/usr/include/glib-2.0/glib/gscanner.h" 2
6437 typedef void (*GScannerMsgFunc) (
GScanner *scanner,
6440 # 64 "/usr/include/glib-2.0/glib/gscanner.h"
6445 G_ERR_UNEXP_EOF_IN_STRING,
6446 G_ERR_UNEXP_EOF_IN_COMMENT,
6447 G_ERR_NON_DIGIT_IN_CONST,
6450 G_ERR_FLOAT_MALFORMED
6458 G_TOKEN_LEFT_PAREN =
'(',
6459 G_TOKEN_RIGHT_PAREN =
')',
6460 G_TOKEN_LEFT_CURLY =
'{',
6461 G_TOKEN_RIGHT_CURLY =
'}',
6462 G_TOKEN_LEFT_BRACE =
'[',
6463 G_TOKEN_RIGHT_BRACE =
']',
6464 G_TOKEN_EQUAL_SIGN =
'=',
6465 G_TOKEN_COMMA =
',',
6481 G_TOKEN_IDENTIFIER_NULL,
6483 G_TOKEN_COMMENT_SINGLE,
6484 G_TOKEN_COMMENT_MULTI,
6491 gchar *v_identifier;
6508 gchar *cset_skip_characters;
6509 gchar *cset_identifier_first;
6510 gchar *cset_identifier_nth;
6511 gchar *cpair_comment_single;
6515 guint case_sensitive : 1;
6520 guint skip_comment_multi : 1;
6521 guint skip_comment_single : 1;
6522 guint scan_comment_multi : 1;
6523 guint scan_identifier : 1;
6524 guint scan_identifier_1char : 1;
6525 guint scan_identifier_NULL : 1;
6526 guint scan_symbols : 1;
6527 guint scan_binary : 1;
6528 guint scan_octal : 1;
6529 guint scan_float : 1;
6531 guint scan_hex_dollar : 1;
6532 guint scan_string_sq : 1;
6533 guint scan_string_dq : 1;
6534 guint numbers_2_int : 1;
6535 guint int_2_float : 1;
6536 guint identifier_2_string : 1;
6537 guint char_2_token : 1;
6538 guint symbol_2_token : 1;
6539 guint scope_0_fallback : 1;
6540 guint store_int64 : 1;
6541 guint padding_dummy;
6548 guint max_parse_errors;
6554 const gchar *input_name;
6569 GTokenType next_token;
6572 guint next_position;
6575 GHashTable *symbol_table;
6578 const gchar *text_end;
6583 GScannerMsgFunc msg_handler;
6587 void g_scanner_destroy (
GScanner *scanner);
6588 void g_scanner_input_file (
GScanner *scanner,
6590 void g_scanner_sync_file_offset (
GScanner *scanner);
6591 void g_scanner_input_text (
GScanner *scanner,
6594 GTokenType g_scanner_get_next_token (
GScanner *scanner);
6595 GTokenType g_scanner_peek_next_token (
GScanner *scanner);
6596 GTokenType g_scanner_cur_token (
GScanner *scanner);
6598 guint g_scanner_cur_line (
GScanner *scanner);
6599 guint g_scanner_cur_position (
GScanner *scanner);
6600 gboolean g_scanner_eof (
GScanner *scanner);
6601 guint g_scanner_set_scope (
GScanner *scanner,
6603 void g_scanner_scope_add_symbol (
GScanner *scanner,
6605 const gchar *symbol,
6607 void g_scanner_scope_remove_symbol (
GScanner *scanner,
6609 const gchar *symbol);
6610 gpointer g_scanner_scope_lookup_symbol (
GScanner *scanner,
6612 const gchar *symbol);
6613 void g_scanner_scope_foreach_symbol (
GScanner *scanner,
6616 gpointer user_data);
6617 gpointer g_scanner_lookup_symbol (
GScanner *scanner,
6618 const gchar *symbol);
6619 void g_scanner_unexp_token (
GScanner *scanner,
6620 GTokenType expected_token,
6621 const gchar *identifier_spec,
6622 const gchar *symbol_spec,
6623 const gchar *symbol_name,
6624 const gchar *message,
6626 void g_scanner_error (
GScanner *scanner,
6627 const gchar *format,
6628 ...) __attribute__((__format__ (__printf__, 2, 3)));
6629 void g_scanner_warn (
GScanner *scanner,
6630 const gchar *format,
6631 ...) __attribute__((__format__ (__printf__, 2, 3)));
6632 # 276 "/usr/include/glib-2.0/glib/gscanner.h"
6634 # 74 "/usr/include/glib-2.0/glib.h" 2
6635 # 1 "/usr/include/glib-2.0/glib/gsequence.h" 1
6636 # 28 "/usr/include/glib-2.0/glib/gsequence.h"
6637 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
6638 # 29 "/usr/include/glib-2.0/glib/gsequence.h" 2
6642 typedef struct _GSequence GSequence;
6643 typedef struct _GSequenceNode GSequenceIter;
6645 typedef gint (* GSequenceIterCompareFunc) (GSequenceIter *a,
6651 GSequence * g_sequence_new (GDestroyNotify data_destroy);
6652 void g_sequence_free (GSequence *seq);
6653 gint g_sequence_get_length (GSequence *seq);
6654 void g_sequence_foreach (GSequence *seq,
6656 gpointer user_data);
6657 void g_sequence_foreach_range (GSequenceIter *begin,
6660 gpointer user_data);
6661 void g_sequence_sort (GSequence *seq,
6662 GCompareDataFunc cmp_func,
6664 void g_sequence_sort_iter (GSequence *seq,
6665 GSequenceIterCompareFunc cmp_func,
6670 GSequenceIter *g_sequence_get_begin_iter (GSequence *seq);
6671 GSequenceIter *g_sequence_get_end_iter (GSequence *seq);
6672 GSequenceIter *g_sequence_get_iter_at_pos (GSequence *seq,
6674 GSequenceIter *g_sequence_append (GSequence *seq,
6676 GSequenceIter *g_sequence_prepend (GSequence *seq,
6678 GSequenceIter *g_sequence_insert_before (GSequenceIter *iter,
6680 void g_sequence_move (GSequenceIter *src,
6681 GSequenceIter *dest);
6682 void g_sequence_swap (GSequenceIter *a,
6684 GSequenceIter *g_sequence_insert_sorted (GSequence *seq,
6686 GCompareDataFunc cmp_func,
6688 GSequenceIter *g_sequence_insert_sorted_iter (GSequence *seq,
6690 GSequenceIterCompareFunc iter_cmp,
6692 void g_sequence_sort_changed (GSequenceIter *iter,
6693 GCompareDataFunc cmp_func,
6695 void g_sequence_sort_changed_iter (GSequenceIter *iter,
6696 GSequenceIterCompareFunc iter_cmp,
6698 void g_sequence_remove (GSequenceIter *iter);
6699 void g_sequence_remove_range (GSequenceIter *begin,
6700 GSequenceIter *end);
6701 void g_sequence_move_range (GSequenceIter *dest,
6702 GSequenceIter *begin,
6703 GSequenceIter *end);
6704 GSequenceIter *g_sequence_search (GSequence *seq,
6706 GCompareDataFunc cmp_func,
6708 GSequenceIter *g_sequence_search_iter (GSequence *seq,
6710 GSequenceIterCompareFunc iter_cmp,
6712 GSequenceIter *g_sequence_lookup (GSequence *seq,
6714 GCompareDataFunc cmp_func,
6716 GSequenceIter *g_sequence_lookup_iter (GSequence *seq,
6718 GSequenceIterCompareFunc iter_cmp,
6723 gpointer g_sequence_get (GSequenceIter *iter);
6724 void g_sequence_set (GSequenceIter *iter,
6728 gboolean g_sequence_iter_is_begin (GSequenceIter *iter);
6729 gboolean g_sequence_iter_is_end (GSequenceIter *iter);
6730 GSequenceIter *g_sequence_iter_next (GSequenceIter *iter);
6731 GSequenceIter *g_sequence_iter_prev (GSequenceIter *iter);
6732 gint g_sequence_iter_get_position (GSequenceIter *iter);
6733 GSequenceIter *g_sequence_iter_move (GSequenceIter *iter,
6735 GSequence * g_sequence_iter_get_sequence (GSequenceIter *iter);
6739 gint g_sequence_iter_compare (GSequenceIter *a,
6741 GSequenceIter *g_sequence_range_get_midpoint (GSequenceIter *begin,
6742 GSequenceIter *end);
6745 # 75 "/usr/include/glib-2.0/glib.h" 2
6746 # 1 "/usr/include/glib-2.0/glib/gshell.h" 1
6747 # 28 "/usr/include/glib-2.0/glib/gshell.h"
6748 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
6749 # 29 "/usr/include/glib-2.0/glib/gshell.h" 2
6758 G_SHELL_ERROR_BAD_QUOTING,
6760 G_SHELL_ERROR_EMPTY_STRING,
6761 G_SHELL_ERROR_FAILED
6764 GQuark g_shell_error_quark (
void);
6766 gchar* g_shell_quote (
const gchar *unquoted_string);
6767 gchar* g_shell_unquote (
const gchar *quoted_string,
6769 gboolean g_shell_parse_argv (
const gchar *command_line,
6775 # 76 "/usr/include/glib-2.0/glib.h" 2
6776 # 1 "/usr/include/glib-2.0/glib/gslice.h" 1
6777 # 77 "/usr/include/glib-2.0/glib.h" 2
6778 # 1 "/usr/include/glib-2.0/glib/gslist.h" 1
6779 # 78 "/usr/include/glib-2.0/glib.h" 2
6780 # 1 "/usr/include/glib-2.0/glib/gspawn.h" 1
6781 # 28 "/usr/include/glib-2.0/glib/gspawn.h"
6782 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
6783 # 29 "/usr/include/glib-2.0/glib/gspawn.h" 2
6794 G_SPAWN_ERROR_CHDIR,
6795 G_SPAWN_ERROR_ACCES,
6798 G_SPAWN_ERROR_NOEXEC,
6799 G_SPAWN_ERROR_NAMETOOLONG,
6800 G_SPAWN_ERROR_NOENT,
6801 G_SPAWN_ERROR_NOMEM,
6802 G_SPAWN_ERROR_NOTDIR,
6804 G_SPAWN_ERROR_TXTBUSY,
6806 G_SPAWN_ERROR_NFILE,
6807 G_SPAWN_ERROR_MFILE,
6808 G_SPAWN_ERROR_INVAL,
6809 G_SPAWN_ERROR_ISDIR,
6810 G_SPAWN_ERROR_LIBBAD,
6811 G_SPAWN_ERROR_FAILED
6816 typedef void (* GSpawnChildSetupFunc) (gpointer user_data);
6820 G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0,
6821 G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1,
6823 G_SPAWN_SEARCH_PATH = 1 << 2,
6825 G_SPAWN_STDOUT_TO_DEV_NULL = 1 << 3,
6826 G_SPAWN_STDERR_TO_DEV_NULL = 1 << 4,
6827 G_SPAWN_CHILD_INHERITS_STDIN = 1 << 5,
6828 G_SPAWN_FILE_AND_ARGV_ZERO = 1 << 6
6831 GQuark g_spawn_error_quark (
void);
6832 # 86 "/usr/include/glib-2.0/glib/gspawn.h"
6833 gboolean g_spawn_async (
const gchar *working_directory,
6837 GSpawnChildSetupFunc child_setup,
6846 gboolean g_spawn_async_with_pipes (
const gchar *working_directory,
6850 GSpawnChildSetupFunc child_setup,
6853 gint *standard_input,
6854 gint *standard_output,
6855 gint *standard_error,
6863 gboolean g_spawn_sync (
const gchar *working_directory,
6867 GSpawnChildSetupFunc child_setup,
6869 gchar **standard_output,
6870 gchar **standard_error,
6874 gboolean g_spawn_command_line_sync (
const gchar *command_line,
6875 gchar **standard_output,
6876 gchar **standard_error,
6879 gboolean g_spawn_command_line_async (
const gchar *command_line,
6882 void g_spawn_close_pid (GPid pid);
6885 # 79 "/usr/include/glib-2.0/glib.h" 2
6886 # 1 "/usr/include/glib-2.0/glib/gstrfuncs.h" 1
6887 # 35 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6888 # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
6889 # 36 "/usr/include/glib-2.0/glib/gstrfuncs.h" 2
6890 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
6891 # 37 "/usr/include/glib-2.0/glib/gstrfuncs.h" 2
6897 G_ASCII_ALNUM = 1 << 0,
6898 G_ASCII_ALPHA = 1 << 1,
6899 G_ASCII_CNTRL = 1 << 2,
6900 G_ASCII_DIGIT = 1 << 3,
6901 G_ASCII_GRAPH = 1 << 4,
6902 G_ASCII_LOWER = 1 << 5,
6903 G_ASCII_PRINT = 1 << 6,
6904 G_ASCII_PUNCT = 1 << 7,
6905 G_ASCII_SPACE = 1 << 8,
6906 G_ASCII_UPPER = 1 << 9,
6907 G_ASCII_XDIGIT = 1 << 10
6910 extern const guint16 *
const g_ascii_table;
6911 # 90 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6912 gchar g_ascii_tolower (gchar c) __attribute__((__const__));
6913 gchar g_ascii_toupper (gchar c) __attribute__((__const__));
6915 gint g_ascii_digit_value (gchar c) __attribute__((__const__));
6916 gint g_ascii_xdigit_value (gchar c) __attribute__((__const__));
6922 gchar* g_strdelimit (gchar *
string,
6923 const gchar *delimiters,
6924 gchar new_delimiter);
6925 gchar* g_strcanon (gchar *
string,
6926 const gchar *valid_chars,
6928 const gchar* g_strerror (gint errnum) __attribute__((__const__));
6929 const gchar* g_strsignal (gint signum) __attribute__((__const__));
6930 gchar* g_strreverse (gchar *
string);
6931 gsize g_strlcpy (gchar *dest,
6934 gsize g_strlcat (gchar *dest,
6937 gchar * g_strstr_len (
const gchar *haystack,
6938 gssize haystack_len,
6939 const gchar *needle);
6940 gchar * g_strrstr (
const gchar *haystack,
6941 const gchar *needle);
6942 gchar * g_strrstr_len (
const gchar *haystack,
6943 gssize haystack_len,
6944 const gchar *needle);
6946 gboolean g_str_has_suffix (
const gchar *str,
6947 const gchar *suffix);
6948 gboolean g_str_has_prefix (
const gchar *str,
6949 const gchar *prefix);
6953 gdouble g_strtod (
const gchar *nptr,
6955 gdouble g_ascii_strtod (
const gchar *nptr,
6957 guint64 g_ascii_strtoull (
const gchar *nptr,
6960 gint64 g_ascii_strtoll (
const gchar *nptr,
6967 gchar * g_ascii_dtostr (gchar *buffer,
6970 gchar * g_ascii_formatd (gchar *buffer,
6972 const gchar *format,
6976 gchar* g_strchug (gchar *
string);
6978 gchar* g_strchomp (gchar *
string);
6982 gint g_ascii_strcasecmp (
const gchar *s1,
6984 gint g_ascii_strncasecmp (
const gchar *s1,
6987 gchar* g_ascii_strdown (
const gchar *str,
6988 gssize len) __attribute__((__malloc__));
6989 gchar* g_ascii_strup (
const gchar *str,
6990 gssize len) __attribute__((__malloc__));
6991 # 177 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6992 gint g_strcasecmp (
const gchar *s1,
6994 gint g_strncasecmp (
const gchar *s1,
6997 gchar* g_strdown (gchar *
string);
6998 gchar* g_strup (gchar *
string);
7005 gchar* g_strdup (
const gchar *str) __attribute__((__malloc__));
7006 gchar* g_strdup_printf (
const gchar *format,
7007 ...) __attribute__((__format__ (__printf__, 1, 2))) __attribute__((__malloc__));
7008 gchar* g_strdup_vprintf (const gchar *format,
7009 va_list args) __attribute__((__malloc__));
7010 gchar* g_strndup (const gchar *str,
7011 gsize n) __attribute__((__malloc__));
7012 gchar* g_strnfill (gsize length,
7013 gchar fill_char) __attribute__((__malloc__));
7014 gchar* g_strconcat (const gchar *string1,
7015 ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
7016 gchar* g_strjoin (const gchar *separator,
7017 ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
7023 gchar* g_strcompress (const gchar *source) __attribute__((__malloc__));
7024 # 218 "/usr/include/glib-2.0/glib/gstrfuncs.h"
7025 gchar* g_strescape (
const gchar *source,
7026 const gchar *exceptions) __attribute__((__malloc__));
7028 gpointer g_memdup (gconstpointer mem,
7029 guint byte_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(2)));
7030 # 233 "/usr/include/glib-2.0/glib/gstrfuncs.h"
7031 gchar** g_strsplit (
const gchar *
string,
7032 const gchar *delimiter,
7033 gint max_tokens) __attribute__((__malloc__));
7034 gchar ** g_strsplit_set (
const gchar *
string,
7035 const gchar *delimiters,
7036 gint max_tokens) __attribute__((__malloc__));
7037 gchar* g_strjoinv (
const gchar *separator,
7038 gchar **str_array) __attribute__((__malloc__));
7039 void g_strfreev (gchar **str_array);
7040 gchar** g_strdupv (gchar **str_array) __attribute__((__malloc__));
7041 guint g_strv_length (gchar **str_array);
7043 gchar* g_stpcpy (gchar *dest,
7046 const gchar *g_strip_context (
const gchar *msgid,
7047 const gchar *msgval) __attribute__((__format_arg__ (1)));
7049 const gchar *g_dgettext (
const gchar *domain,
7050 const gchar *msgid) __attribute__((__format_arg__ (2)));
7051 const gchar *g_dcgettext (
const gchar *domain,
7053 int category) __attribute__((__format_arg__ (2)));
7054 const gchar *g_dngettext (
const gchar *domain,
7056 const gchar *msgid_plural,
7057 gulong n) __attribute__((__format_arg__ (3)));
7058 const gchar *g_dpgettext (
const gchar *domain,
7059 const gchar *msgctxtid,
7060 gsize msgidoffset) __attribute__((__format_arg__ (2)));
7061 const gchar *g_dpgettext2 (
const gchar *domain,
7062 const gchar *context,
7063 const gchar *msgid) __attribute__((__format_arg__ (3)));
7066 # 80 "/usr/include/glib-2.0/glib.h" 2
7067 # 1 "/usr/include/glib-2.0/glib/gstring.h" 1
7068 # 81 "/usr/include/glib-2.0/glib.h" 2
7069 # 1 "/usr/include/glib-2.0/glib/gtestutils.h" 1
7070 # 28 "/usr/include/glib-2.0/glib/gtestutils.h"
7071 # 1 "/usr/include/glib-2.0/glib/gmessages.h" 1
7072 # 29 "/usr/include/glib-2.0/glib/gtestutils.h" 2
7073 # 1 "/usr/include/glib-2.0/glib/gstring.h" 1
7074 # 30 "/usr/include/glib-2.0/glib/gtestutils.h" 2
7075 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
7076 # 31 "/usr/include/glib-2.0/glib/gtestutils.h" 2
7077 # 1 "/usr/include/glib-2.0/glib/gslist.h" 1
7078 # 32 "/usr/include/glib-2.0/glib/gtestutils.h" 2
7082 typedef struct GTestCase GTestCase;
7083 typedef struct GTestSuite GTestSuite;
7084 typedef void (*GTestFunc) (void);
7085 typedef void (*GTestDataFunc) (gconstpointer user_data);
7086 typedef void (*GTestFixtureFunc) (gpointer fixture,
7087 gconstpointer user_data);
7088 # 79 "/usr/include/glib-2.0/glib/gtestutils.h"
7089 int g_strcmp0 (
const char *str1,
7093 void g_test_minimized_result (
double minimized_quantity,
7095 ...) __attribute__((__format__ (__printf__, 2, 3)));
7096 void g_test_maximized_result (
double maximized_quantity,
7098 ...) __attribute__((__format__ (__printf__, 2, 3)));
7101 void g_test_init (
int *argc,
7104 # 102 "/usr/include/glib-2.0/glib/gtestutils.h"
7105 int g_test_run (
void);
7107 void g_test_add_func (
const char *testpath,
7108 GTestFunc test_func);
7110 void g_test_add_data_func (
const char *testpath,
7111 gconstpointer test_data,
7112 GTestDataFunc test_func);
7113 # 125 "/usr/include/glib-2.0/glib/gtestutils.h"
7114 void g_test_message (
const char *format,
7115 ...) __attribute__((__format__ (__printf__, 1, 2)));
7116 void g_test_bug_base (const
char *uri_pattern);
7117 void g_test_bug (const
char *bug_uri_snippet);
7119 void g_test_timer_start (
void);
7120 double g_test_timer_elapsed (
void);
7121 double g_test_timer_last (
void);
7124 void g_test_queue_free (gpointer gfree_pointer);
7125 void g_test_queue_destroy (GDestroyNotify destroy_func,
7126 gpointer destroy_data);
7131 G_TEST_TRAP_SILENCE_STDOUT = 1 << 7,
7132 G_TEST_TRAP_SILENCE_STDERR = 1 << 8,
7133 G_TEST_TRAP_INHERIT_STDIN = 1 << 9
7135 gboolean g_test_trap_fork (guint64 usec_timeout,
7136 GTestTrapFlags test_trap_flags);
7137 gboolean g_test_trap_has_passed (
void);
7138 gboolean g_test_trap_reached_timeout (
void);
7139 # 159 "/usr/include/glib-2.0/glib/gtestutils.h"
7140 gint32 g_test_rand_int (
void);
7141 gint32 g_test_rand_int_range (gint32 begin,
7143 double g_test_rand_double (
void);
7144 double g_test_rand_double_range (
double range_start,
7148 GTestCase* g_test_create_case (
const char *test_name,
7150 gconstpointer test_data,
7151 GTestFixtureFunc data_setup,
7152 GTestFixtureFunc data_test,
7153 GTestFixtureFunc data_teardown);
7154 GTestSuite* g_test_create_suite (
const char *suite_name);
7155 GTestSuite* g_test_get_root (
void);
7156 void g_test_suite_add (GTestSuite *suite,
7157 GTestCase *test_case);
7158 void g_test_suite_add_suite (GTestSuite *suite,
7159 GTestSuite *nestedsuite);
7160 int g_test_run_suite (GTestSuite *suite);
7163 void g_test_trap_assertions (
const char *domain,
7167 guint64 assertion_flags,
7168 const char *pattern);
7169 void g_assertion_message (
const char *domain,
7173 const char *message) __attribute__((__noreturn__));
7174 void g_assertion_message_expr (
const char *domain,
7178 const char *expr) __attribute__((__noreturn__));
7179 void g_assertion_message_cmpstr (
const char *domain,
7186 const char *arg2) __attribute__((__noreturn__));
7187 void g_assertion_message_cmpnum (
const char *domain,
7195 char numtype) __attribute__((__noreturn__));
7196 void g_assertion_message_error (
const char *domain,
7202 GQuark error_domain,
7203 int error_code) __attribute__((__noreturn__));
7204 void g_test_add_vtable (
const char *testpath,
7206 gconstpointer test_data,
7207 GTestFixtureFunc data_setup,
7208 GTestFixtureFunc data_test,
7209 GTestFixtureFunc data_teardown);
7211 gboolean test_initialized;
7212 gboolean test_quick;
7214 gboolean test_verbose;
7215 gboolean test_quiet;
7217 extern const GTestConfig *
const g_test_config_vars;
7223 G_TEST_LOG_START_BINARY,
7224 G_TEST_LOG_LIST_CASE,
7225 G_TEST_LOG_SKIP_CASE,
7226 G_TEST_LOG_START_CASE,
7227 G_TEST_LOG_STOP_CASE,
7228 G_TEST_LOG_MIN_RESULT,
7229 G_TEST_LOG_MAX_RESULT,
7234 GTestLogType log_type;
7246 const char* g_test_log_type_name (GTestLogType log_type);
7251 const guint8 *bytes);
7254 # 287 "/usr/include/glib-2.0/glib/gtestutils.h"
7255 typedef gboolean (*GTestLogFatalFunc) (
const gchar *log_domain,
7256 GLogLevelFlags log_level,
7257 const gchar *message,
7258 gpointer user_data);
7260 g_test_log_set_fatal_handler (GTestLogFatalFunc log_func,
7261 gpointer user_data);
7264 # 82 "/usr/include/glib-2.0/glib.h" 2
7265 # 1 "/usr/include/glib-2.0/glib/gthread.h" 1
7266 # 83 "/usr/include/glib-2.0/glib.h" 2
7267 # 1 "/usr/include/glib-2.0/glib/gthreadpool.h" 1
7268 # 34 "/usr/include/glib-2.0/glib/gthreadpool.h"
7269 # 1 "/usr/include/glib-2.0/glib/gthread.h" 1
7270 # 35 "/usr/include/glib-2.0/glib/gthreadpool.h" 2
7310 void g_thread_pool_set_max_threads (
GThreadPool *pool,
7313 gint g_thread_pool_get_max_threads (
GThreadPool *pool);
7317 guint g_thread_pool_get_num_threads (
GThreadPool *pool);
7320 guint g_thread_pool_unprocessed (
GThreadPool *pool);
7332 void g_thread_pool_set_max_unused_threads (gint max_threads);
7333 gint g_thread_pool_get_max_unused_threads (
void);
7334 guint g_thread_pool_get_num_unused_threads (
void);
7337 void g_thread_pool_stop_unused_threads (
void);
7340 void g_thread_pool_set_sort_function (
GThreadPool *pool,
7341 GCompareDataFunc func,
7342 gpointer user_data);
7345 void g_thread_pool_set_max_idle_time (guint interval);
7346 guint g_thread_pool_get_max_idle_time (
void);
7349 # 84 "/usr/include/glib-2.0/glib.h" 2
7350 # 1 "/usr/include/glib-2.0/glib/gtimer.h" 1
7351 # 34 "/usr/include/glib-2.0/glib/gtimer.h"
7352 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7353 # 35 "/usr/include/glib-2.0/glib/gtimer.h" 2
7361 typedef struct _GTimer GTimer;
7365 GTimer* g_timer_new (
void);
7366 void g_timer_destroy (GTimer *timer);
7367 void g_timer_start (GTimer *timer);
7368 void g_timer_stop (GTimer *timer);
7369 void g_timer_reset (GTimer *timer);
7370 void g_timer_continue (GTimer *timer);
7371 gdouble g_timer_elapsed (GTimer *timer,
7372 gulong *microseconds);
7374 void g_usleep (gulong microseconds);
7376 void g_time_val_add (
GTimeVal *time_,
7377 glong microseconds);
7378 gboolean g_time_val_from_iso8601 (
const gchar *iso_date,
7380 gchar* g_time_val_to_iso8601 (
GTimeVal *time_) __attribute__((__malloc__));
7383 # 85 "/usr/include/glib-2.0/glib.h" 2
7384 # 1 "/usr/include/glib-2.0/glib/gtimezone.h" 1
7385 # 86 "/usr/include/glib-2.0/glib.h" 2
7386 # 1 "/usr/include/glib-2.0/glib/gtree.h" 1
7387 # 34 "/usr/include/glib-2.0/glib/gtree.h"
7388 # 1 "/usr/include/glib-2.0/glib/gnode.h" 1
7389 # 35 "/usr/include/glib-2.0/glib/gtree.h" 2
7393 typedef struct _GTree GTree;
7395 typedef gboolean (*GTraverseFunc) (gpointer key,
7401 GTree* g_tree_new (GCompareFunc key_compare_func);
7402 GTree* g_tree_new_with_data (GCompareDataFunc key_compare_func,
7403 gpointer key_compare_data);
7404 GTree* g_tree_new_full (GCompareDataFunc key_compare_func,
7405 gpointer key_compare_data,
7406 GDestroyNotify key_destroy_func,
7407 GDestroyNotify value_destroy_func);
7408 GTree* g_tree_ref (GTree *tree);
7409 void g_tree_unref (GTree *tree);
7410 void g_tree_destroy (GTree *tree);
7411 void g_tree_insert (GTree *tree,
7414 void g_tree_replace (GTree *tree,
7417 gboolean g_tree_remove (GTree *tree,
7419 gboolean g_tree_steal (GTree *tree,
7421 gpointer g_tree_lookup (GTree *tree,
7423 gboolean g_tree_lookup_extended (GTree *tree,
7424 gconstpointer lookup_key,
7427 void g_tree_foreach (GTree *tree,
7429 gpointer user_data);
7432 void g_tree_traverse (GTree *tree,
7433 GTraverseFunc traverse_func,
7434 GTraverseType traverse_type,
7435 gpointer user_data);
7438 gpointer g_tree_search (GTree *tree,
7439 GCompareFunc search_func,
7440 gconstpointer user_data);
7441 gint g_tree_height (GTree *tree);
7442 gint g_tree_nnodes (GTree *tree);
7445 # 87 "/usr/include/glib-2.0/glib.h" 2
7446 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7447 # 88 "/usr/include/glib-2.0/glib.h" 2
7448 # 1 "/usr/include/glib-2.0/glib/gunicode.h" 1
7449 # 89 "/usr/include/glib-2.0/glib.h" 2
7450 # 1 "/usr/include/glib-2.0/glib/gurifuncs.h" 1
7451 # 30 "/usr/include/glib-2.0/glib/gurifuncs.h"
7452 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7453 # 31 "/usr/include/glib-2.0/glib/gurifuncs.h" 2
7456 # 69 "/usr/include/glib-2.0/glib/gurifuncs.h"
7457 char * g_uri_unescape_string (
const char *escaped_string,
7458 const char *illegal_characters);
7459 char * g_uri_unescape_segment (
const char *escaped_string,
7460 const char *escaped_string_end,
7461 const char *illegal_characters);
7462 char * g_uri_parse_scheme (
const char *uri);
7463 char * g_uri_escape_string (
const char *unescaped,
7464 const char *reserved_chars_allowed,
7465 gboolean allow_utf8);
7468 # 90 "/usr/include/glib-2.0/glib.h" 2
7469 # 1 "/usr/include/glib-2.0/glib/gutils.h" 1
7470 # 91 "/usr/include/glib-2.0/glib.h" 2
7471 # 1 "/usr/include/glib-2.0/glib/gvarianttype.h" 1
7472 # 30 "/usr/include/glib-2.0/glib/gvarianttype.h"
7473 # 1 "/usr/include/glib-2.0/glib/gmessages.h" 1
7474 # 31 "/usr/include/glib-2.0/glib/gvarianttype.h" 2
7475 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7476 # 32 "/usr/include/glib-2.0/glib/gvarianttype.h" 2
7479 # 44 "/usr/include/glib-2.0/glib/gvarianttype.h"
7480 typedef struct _GVariantType GVariantType;
7481 # 279 "/usr/include/glib-2.0/glib/gvarianttype.h"
7482 gboolean g_variant_type_string_is_valid (
const gchar *type_string);
7483 gboolean g_variant_type_string_scan (
const gchar *
string,
7485 const gchar **endptr);
7488 void g_variant_type_free (GVariantType *type);
7489 GVariantType * g_variant_type_copy (
const GVariantType *type);
7490 GVariantType * g_variant_type_new (
const gchar *type_string);
7493 gsize g_variant_type_get_string_length (
const GVariantType *type);
7494 const gchar * g_variant_type_peek_string (
const GVariantType *type);
7495 gchar * g_variant_type_dup_string (
const GVariantType *type);
7498 gboolean g_variant_type_is_definite (
const GVariantType *type);
7499 gboolean g_variant_type_is_container (
const GVariantType *type);
7500 gboolean g_variant_type_is_basic (
const GVariantType *type);
7501 gboolean g_variant_type_is_maybe (
const GVariantType *type);
7502 gboolean g_variant_type_is_array (
const GVariantType *type);
7503 gboolean g_variant_type_is_tuple (
const GVariantType *type);
7504 gboolean g_variant_type_is_dict_entry (
const GVariantType *type);
7505 gboolean g_variant_type_is_variant (
const GVariantType *type);
7508 guint g_variant_type_hash (gconstpointer type);
7509 gboolean g_variant_type_equal (gconstpointer type1,
7510 gconstpointer type2);
7513 gboolean g_variant_type_is_subtype_of (
const GVariantType *type,
7514 const GVariantType *supertype);
7517 const GVariantType * g_variant_type_element (
const GVariantType *type);
7518 const GVariantType * g_variant_type_first (
const GVariantType *type);
7519 const GVariantType * g_variant_type_next (
const GVariantType *type);
7520 gsize g_variant_type_n_items (
const GVariantType *type);
7521 const GVariantType * g_variant_type_key (
const GVariantType *type);
7522 const GVariantType * g_variant_type_value (
const GVariantType *type);
7525 GVariantType * g_variant_type_new_array (
const GVariantType *element);
7526 GVariantType * g_variant_type_new_maybe (
const GVariantType *element);
7527 GVariantType * g_variant_type_new_tuple (
const GVariantType *
const *items,
7529 GVariantType * g_variant_type_new_dict_entry (
const GVariantType *key,
7530 const GVariantType *value);
7533 const GVariantType * g_variant_type_checked_ (
const gchar *);
7536 # 92 "/usr/include/glib-2.0/glib.h" 2
7537 # 1 "/usr/include/glib-2.0/glib/gvariant.h" 1
7538 # 30 "/usr/include/glib-2.0/glib/gvariant.h"
7539 # 1 "/usr/include/glib-2.0/glib/gvarianttype.h" 1
7540 # 31 "/usr/include/glib-2.0/glib/gvariant.h" 2
7541 # 1 "/usr/include/glib-2.0/glib/gstring.h" 1
7542 # 32 "/usr/include/glib-2.0/glib/gvariant.h" 2
7546 typedef struct _GVariant GVariant;
7550 G_VARIANT_CLASS_BOOLEAN =
'b',
7551 G_VARIANT_CLASS_BYTE =
'y',
7552 G_VARIANT_CLASS_INT16 =
'n',
7553 G_VARIANT_CLASS_UINT16 =
'q',
7554 G_VARIANT_CLASS_INT32 =
'i',
7555 G_VARIANT_CLASS_UINT32 =
'u',
7556 G_VARIANT_CLASS_INT64 =
'x',
7557 G_VARIANT_CLASS_UINT64 =
't',
7558 G_VARIANT_CLASS_HANDLE =
'h',
7559 G_VARIANT_CLASS_DOUBLE =
'd',
7560 G_VARIANT_CLASS_STRING =
's',
7561 G_VARIANT_CLASS_OBJECT_PATH =
'o',
7562 G_VARIANT_CLASS_SIGNATURE =
'g',
7563 G_VARIANT_CLASS_VARIANT =
'v',
7564 G_VARIANT_CLASS_MAYBE =
'm',
7565 G_VARIANT_CLASS_ARRAY =
'a',
7566 G_VARIANT_CLASS_TUPLE =
'(',
7567 G_VARIANT_CLASS_DICT_ENTRY =
'{'
7570 void g_variant_unref (GVariant *value);
7571 GVariant * g_variant_ref (GVariant *value);
7572 GVariant * g_variant_ref_sink (GVariant *value);
7573 gboolean g_variant_is_floating (GVariant *value);
7575 const GVariantType * g_variant_get_type (GVariant *value);
7576 const gchar * g_variant_get_type_string (GVariant *value);
7577 gboolean g_variant_is_of_type (GVariant *value,
7578 const GVariantType *type);
7579 gboolean g_variant_is_container (GVariant *value);
7580 GVariantClass g_variant_classify (GVariant *value);
7581 GVariant * g_variant_new_boolean (gboolean value);
7582 GVariant * g_variant_new_byte (guchar value);
7583 GVariant * g_variant_new_int16 (gint16 value);
7584 GVariant * g_variant_new_uint16 (guint16 value);
7585 GVariant * g_variant_new_int32 (gint32 value);
7586 GVariant * g_variant_new_uint32 (guint32 value);
7587 GVariant * g_variant_new_int64 (gint64 value);
7588 GVariant * g_variant_new_uint64 (guint64 value);
7589 GVariant * g_variant_new_handle (gint32 value);
7590 GVariant * g_variant_new_double (gdouble value);
7591 GVariant * g_variant_new_string (
const gchar *
string);
7592 GVariant * g_variant_new_object_path (
const gchar *object_path);
7593 gboolean g_variant_is_object_path (
const gchar *
string);
7594 GVariant * g_variant_new_signature (
const gchar *signature);
7595 gboolean g_variant_is_signature (
const gchar *
string);
7596 GVariant * g_variant_new_variant (GVariant *value);
7597 GVariant * g_variant_new_strv (
const gchar *
const *strv,
7599 GVariant * g_variant_new_bytestring (
const gchar *
string);
7600 GVariant * g_variant_new_bytestring_array (
const gchar *
const *strv,
7603 gboolean g_variant_get_boolean (GVariant *value);
7604 guchar g_variant_get_byte (GVariant *value);
7605 gint16 g_variant_get_int16 (GVariant *value);
7606 guint16 g_variant_get_uint16 (GVariant *value);
7607 gint32 g_variant_get_int32 (GVariant *value);
7608 guint32 g_variant_get_uint32 (GVariant *value);
7609 gint64 g_variant_get_int64 (GVariant *value);
7610 guint64 g_variant_get_uint64 (GVariant *value);
7611 gint32 g_variant_get_handle (GVariant *value);
7612 gdouble g_variant_get_double (GVariant *value);
7613 GVariant * g_variant_get_variant (GVariant *value);
7614 const gchar * g_variant_get_string (GVariant *value,
7616 gchar * g_variant_dup_string (GVariant *value,
7618 const gchar ** g_variant_get_strv (GVariant *value,
7620 gchar ** g_variant_dup_strv (GVariant *value,
7622 const gchar * g_variant_get_bytestring (GVariant *value);
7623 gchar * g_variant_dup_bytestring (GVariant *value,
7625 const gchar ** g_variant_get_bytestring_array (GVariant *value,
7627 gchar ** g_variant_dup_bytestring_array (GVariant *value,
7630 GVariant * g_variant_new_maybe (
const GVariantType *child_type,
7632 GVariant * g_variant_new_array (
const GVariantType *child_type,
7633 GVariant *
const *children,
7635 GVariant * g_variant_new_tuple (GVariant *
const *children,
7637 GVariant * g_variant_new_dict_entry (GVariant *key,
7640 GVariant * g_variant_get_maybe (GVariant *value);
7641 gsize g_variant_n_children (GVariant *value);
7642 void g_variant_get_child (GVariant *value,
7644 const gchar *format_string,
7646 GVariant * g_variant_get_child_value (GVariant *value,
7648 gboolean g_variant_lookup (GVariant *dictionary,
7650 const gchar *format_string,
7652 GVariant * g_variant_lookup_value (GVariant *dictionary,
7654 const GVariantType *expected_type);
7655 gconstpointer g_variant_get_fixed_array (GVariant *value,
7657 gsize element_size);
7659 gsize g_variant_get_size (GVariant *value);
7660 gconstpointer g_variant_get_data (GVariant *value);
7661 void g_variant_store (GVariant *value,
7664 gchar * g_variant_print (GVariant *value,
7665 gboolean type_annotate);
7666 GString * g_variant_print_string (GVariant *value,
7668 gboolean type_annotate);
7670 guint g_variant_hash (gconstpointer value);
7671 gboolean g_variant_equal (gconstpointer one,
7674 GVariant * g_variant_get_normal_form (GVariant *value);
7675 gboolean g_variant_is_normal_form (GVariant *value);
7676 GVariant * g_variant_byteswap (GVariant *value);
7677 GVariant * g_variant_new_from_data (
const GVariantType *type,
7681 GDestroyNotify notify,
7682 gpointer user_data);
7696 GVariant * g_variant_iter_next_value (
GVariantIter *iter);
7698 const gchar *format_string,
7701 const gchar *format_string,
7713 G_VARIANT_PARSE_ERROR_FAILED,
7714 G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED,
7715 G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE,
7716 G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED,
7717 G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END,
7718 G_VARIANT_PARSE_ERROR_INVALID_CHARACTER,
7719 G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING,
7720 G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH,
7721 G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE,
7722 G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING,
7723 G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE,
7724 G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE,
7725 G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG,
7726 G_VARIANT_PARSE_ERROR_TYPE_ERROR,
7727 G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN,
7728 G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD,
7729 G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT,
7730 G_VARIANT_PARSE_ERROR_VALUE_EXPECTED
7731 } GVariantParseError;
7734 GQuark g_variant_parser_get_error_quark (
void);
7740 const GVariantType *type);
7744 const GVariantType *type);
7749 const gchar *format_string,
7752 const gchar *format,
7755 GVariant * g_variant_new (
const gchar *format_string,
7757 void g_variant_get (GVariant *value,
7758 const gchar *format_string,
7760 GVariant * g_variant_new_va (
const gchar *format_string,
7761 const gchar **endptr,
7763 void g_variant_get_va (GVariant *value,
7764 const gchar *format_string,
7765 const gchar **endptr,
7769 GVariant * g_variant_parse (
const GVariantType *type,
7772 const gchar **endptr,
7774 GVariant * g_variant_new_parsed (
const gchar *format,
7776 GVariant * g_variant_new_parsed_va (
const gchar *format,
7779 gint g_variant_compare (gconstpointer one,
7782 # 93 "/usr/include/glib-2.0/glib.h" 2
7783 # 77 "qof-expenses.h" 2
7784 # 1 "/usr/include/qof/qof.h" 1
7785 # 68 "/usr/include/qof/qof.h"
7786 # 1 "/usr/include/qof/qofid.h" 1
7787 # 77 "/usr/include/qof/qofid.h"
7788 # 1 "/usr/include/string.h" 1 3 4
7789 # 29 "/usr/include/string.h" 3 4
7795 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
7796 # 35 "/usr/include/string.h" 2 3 4
7806 extern void *memcpy (
void *__restrict __dest,
7807 __const
void *__restrict __src,
size_t __n)
7808 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7811 extern
void *memmove (
void *__dest, __const
void *__src,
size_t __n)
7812 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7819 extern
void *memccpy (
void *__restrict __dest, __const
void *__restrict __src,
7820 int __c,
size_t __n)
7821 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7827 extern
void *memset (
void *__s,
int __c,
size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
7830 extern
int memcmp (__const
void *__s1, __const
void *__s2,
size_t __n)
7831 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7832 # 95 "/usr/include/string.h" 3 4
7833 extern void *memchr (__const
void *__s,
int __c,
size_t __n)
7834 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
7837 # 109 "/usr/include/string.h" 3 4
7838 extern void *rawmemchr (__const
void *__s,
int __c)
7839 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
7840 # 120 "/usr/include/string.h" 3 4
7841 extern void *memrchr (__const
void *__s,
int __c,
size_t __n)
7842 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
7849 extern
char *strcpy (
char *__restrict __dest, __const
char *__restrict __src)
7850 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7852 extern
char *strncpy (
char *__restrict __dest,
7853 __const
char *__restrict __src,
size_t __n)
7854 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7857 extern
char *strcat (
char *__restrict __dest, __const
char *__restrict __src)
7858 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7860 extern
char *strncat (
char *__restrict __dest, __const
char *__restrict __src,
7861 size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7864 extern
int strcmp (__const
char *__s1, __const
char *__s2)
7865 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7867 extern
int strncmp (__const
char *__s1, __const
char *__s2,
size_t __n)
7868 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7871 extern
int strcoll (__const
char *__s1, __const
char *__s2)
7872 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7874 extern
size_t strxfrm (
char *__restrict __dest,
7875 __const
char *__restrict __src,
size_t __n)
7876 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
7878 # 165 "/usr/include/string.h" 3 4
7879 extern int strcoll_l (__const
char *__s1, __const
char *__s2,
__locale_t __l)
7880 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
7882 extern
size_t strxfrm_l (
char *__dest, __const
char *__src,
size_t __n,
7883 __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
7889 extern
char *strdup (__const
char *__s)
7890 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
7897 extern
char *strndup (__const
char *__string,
size_t __n)
7898 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
7899 # 210 "/usr/include/string.h" 3 4
7901 # 235 "/usr/include/string.h" 3 4
7902 extern char *strchr (__const
char *__s,
int __c)
7903 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
7904 # 262 "/usr/include/string.h" 3 4
7905 extern char *strrchr (__const
char *__s,
int __c)
7906 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
7909 # 276 "/usr/include/string.h" 3 4
7910 extern char *strchrnul (__const
char *__s,
int __c)
7911 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
7918 extern
size_t strcspn (__const
char *__s, __const
char *__reject)
7919 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7922 extern
size_t strspn (__const
char *__s, __const
char *__accept)
7923 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7924 # 314 "/usr/include/string.h" 3 4
7925 extern char *strpbrk (__const
char *__s, __const
char *__accept)
7926 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7927 # 342 "/usr/include/string.h" 3 4
7928 extern char *strstr (__const
char *__haystack, __const
char *__needle)
7929 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7934 extern
char *strtok (
char *__restrict __s, __const
char *__restrict __delim)
7935 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
7940 extern
char *__strtok_r (
char *__restrict __s,
7941 __const
char *__restrict __delim,
7942 char **__restrict __save_ptr)
7943 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
7945 extern
char *strtok_r (
char *__restrict __s, __const
char *__restrict __delim,
7946 char **__restrict __save_ptr)
7947 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
7948 # 373 "/usr/include/string.h" 3 4
7949 extern char *strcasestr (__const
char *__haystack, __const
char *__needle)
7950 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7958 extern
void *memmem (__const
void *__haystack,
size_t __haystacklen,
7959 __const
void *__needle,
size_t __needlelen)
7960 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3)));
7964 extern
void *__mempcpy (
void *__restrict __dest,
7965 __const
void *__restrict __src,
size_t __n)
7966 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7967 extern
void *mempcpy (
void *__restrict __dest,
7968 __const
void *__restrict __src,
size_t __n)
7969 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7975 extern
size_t strlen (__const
char *__s)
7976 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
7982 extern
size_t strnlen (__const
char *__string,
size_t __maxlen)
7983 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
7989 extern
char *strerror (
int __errnum) __attribute__ ((__nothrow__));
7991 # 438 "/usr/include/string.h" 3 4
7992 extern char *strerror_r (
int __errnum,
char *__buf,
size_t __buflen)
7993 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
7999 extern
char *strerror_l (
int __errnum,
__locale_t __l) __attribute__ ((__nothrow__));
8005 extern
void __bzero (
void *__s,
size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
8009 extern
void bcopy (__const
void *__src,
void *__dest,
size_t __n)
8010 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8013 extern
void bzero (
void *__s,
size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
8016 extern
int bcmp (__const
void *__s1, __const
void *__s2,
size_t __n)
8017 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8018 # 489 "/usr/include/string.h" 3 4
8019 extern char *index (__const
char *__s,
int __c)
8020 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
8021 # 517 "/usr/include/string.h" 3 4
8022 extern char *rindex (__const
char *__s,
int __c)
8023 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
8028 extern
int ffs (
int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
8033 extern
int ffsl (
long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
8035 __extension__ extern
int ffsll (
long long int __ll)
8036 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
8041 extern
int strcasecmp (__const
char *__s1, __const
char *__s2)
8042 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8045 extern
int strncasecmp (__const
char *__s1, __const
char *__s2,
size_t __n)
8046 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8052 extern
int strcasecmp_l (__const
char *__s1, __const
char *__s2,
8054 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
8056 extern
int strncasecmp_l (__const
char *__s1, __const
char *__s2,
8058 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4)));
8064 extern
char *strsep (
char **__restrict __stringp,
8065 __const
char *__restrict __delim)
8066 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8071 extern
char *strsignal (
int __sig) __attribute__ ((__nothrow__));
8074 extern
char *__stpcpy (
char *__restrict __dest, __const
char *__restrict __src)
8075 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8076 extern
char *stpcpy (
char *__restrict __dest, __const
char *__restrict __src)
8077 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8081 extern
char *__stpncpy (
char *__restrict __dest,
8082 __const
char *__restrict __src,
size_t __n)
8083 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8084 extern
char *stpncpy (
char *__restrict __dest,
8085 __const
char *__restrict __src,
size_t __n)
8086 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8091 extern
int strverscmp (__const
char *__s1, __const
char *__s2)
8092 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8095 extern
char *strfry (
char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
8098 extern
void *memfrob (
void *__s,
size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
8099 # 606 "/usr/include/string.h" 3 4
8100 extern char *basename (__const
char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
8101 # 646 "/usr/include/string.h" 3 4
8103 # 78 "/usr/include/qof/qofid.h" 2
8104 # 1 "/usr/include/qof/guid.h" 1
8105 # 27 "/usr/include/qof/guid.h"
8106 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
8107 # 28 "/usr/include/qof/guid.h" 2
8108 # 53 "/usr/include/qof/guid.h"
8116 # 75 "/usr/include/qof/guid.h"
8117 void guid_init (
void);
8118 # 90 "/usr/include/qof/guid.h"
8119 void guid_init_with_salt (
const void *salt,
size_t salt_len);
8120 # 106 "/usr/include/qof/guid.h"
8121 void guid_init_only_salt (
const void *salt,
size_t salt_len);
8126 void guid_shutdown (
void);
8127 # 127 "/usr/include/qof/guid.h"
8128 void guid_new (
GUID * guid);
8136 GUID guid_new_return (
void);
8140 const GUID *guid_null (
void);
8143 GUID *guid_malloc (
void);
8146 void guid_free (
GUID * guid);
8147 # 162 "/usr/include/qof/guid.h"
8148 const gchar *guid_to_string (
const GUID * guid);
8149 # 177 "/usr/include/qof/guid.h"
8150 gchar *guid_to_string_buff (
const GUID * guid, gchar * buff);
8158 gboolean string_to_guid (
const gchar *
string,
GUID * guid);
8163 gboolean guid_equal (
const GUID * guid_1,
const GUID * guid_2);
8164 gint guid_compare (
const GUID * g1,
const GUID * g2);
8167 guint guid_hash_to_guint (gconstpointer ptr);
8169 GHashTable *guid_hash_table_new (
void);
8170 # 79 "/usr/include/qof/qofid.h" 2
8173 typedef const gchar *QofIdType;
8175 typedef const gchar *QofIdTypeConst;
8177 typedef const gchar *QofLogModule;
8178 # 129 "/usr/include/qof/qofid.h"
8180 # 138 "/usr/include/qof/qofid.h"
8181 typedef struct QofCollection_s QofCollection;
8182 # 147 "/usr/include/qof/qofid.h"
8187 QofCollection *collection;
8193 void qof_entity_init (
QofEntity *, QofIdType, QofCollection *);
8207 QofCollection *qof_collection_new (QofIdType type);
8210 guint qof_collection_count (QofCollection * col);
8213 void qof_collection_destroy (QofCollection * col);
8216 QofIdType qof_collection_get_type (QofCollection *);
8220 qof_collection_lookup_entity (QofCollection *,
const GUID *);
8223 typedef void (*QofEntityForeachCB) (
QofEntity *, gpointer user_data);
8227 qof_collection_foreach (QofCollection *, QofEntityForeachCB,
8228 gpointer user_data);
8237 qof_collection_get_data (QofCollection * col);
8241 qof_collection_set_data (QofCollection * col, gpointer user_data);
8245 qof_collection_is_dirty (QofCollection * col);
8246 # 231 "/usr/include/qof/qofid.h"
8248 qof_collection_add_entity (QofCollection * coll, QofEntity * ent);
8249 # 244 "/usr/include/qof/qofid.h"
8251 qof_collection_merge (QofCollection * target, QofCollection * merge);
8252 # 258 "/usr/include/qof/qofid.h"
8254 qof_collection_compare (QofCollection * target, QofCollection * merge);
8255 # 271 "/usr/include/qof/qofid.h"
8257 qof_collection_from_glist (QofIdType type,
GList * glist);
8258 # 69 "/usr/include/qof/qof.h" 2
8259 # 1 "/usr/include/qof/qoflog.h" 1
8260 # 38 "/usr/include/qof/qoflog.h"
8261 # 1 "/usr/include/stdio.h" 1 3 4
8262 # 30 "/usr/include/stdio.h" 3 4
8267 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
8268 # 35 "/usr/include/stdio.h" 2 3 4
8269 # 45 "/usr/include/stdio.h" 3 4
8280 # 65 "/usr/include/stdio.h" 3 4
8282 # 75 "/usr/include/stdio.h" 3 4
8283 # 1 "/usr/include/libio.h" 1 3 4
8284 # 32 "/usr/include/libio.h" 3 4
8285 # 1 "/usr/include/_G_config.h" 1 3 4
8286 # 15 "/usr/include/_G_config.h" 3 4
8287 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
8288 # 16 "/usr/include/_G_config.h" 2 3 4
8293 # 1 "/usr/include/wchar.h" 1 3 4
8294 # 83 "/usr/include/wchar.h" 3 4
8308 # 21 "/usr/include/_G_config.h" 2 3 4
8320 # 53 "/usr/include/_G_config.h" 3 4
8321 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
8322 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
8323 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
8324 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
8325 # 33 "/usr/include/libio.h" 2 3 4
8326 # 170 "/usr/include/libio.h" 3 4
8327 struct _IO_jump_t;
struct _IO_FILE;
8328 # 180 "/usr/include/libio.h" 3 4
8329 typedef void _IO_lock_t;
8342 # 203 "/usr/include/libio.h" 3 4
8346 enum __codecvt_result
8353 # 271 "/usr/include/libio.h" 3 4
8362 char* _IO_read_base;
8363 char* _IO_write_base;
8364 char* _IO_write_ptr;
8365 char* _IO_write_end;
8369 char *_IO_save_base;
8370 char *_IO_backup_base;
8383 __off_t _old_offset;
8387 unsigned short _cur_column;
8388 signed char _vtable_offset;
8394 # 319 "/usr/include/libio.h" 3 4
8396 # 328 "/usr/include/libio.h" 3 4
8405 char _unused2[15 *
sizeof (int) - 4 *
sizeof (
void *) -
sizeof (size_t)];
8413 struct _IO_FILE_plus;
8415 extern struct _IO_FILE_plus _IO_2_1_stdin_;
8416 extern struct _IO_FILE_plus _IO_2_1_stdout_;
8417 extern struct _IO_FILE_plus _IO_2_1_stderr_;
8418 # 364 "/usr/include/libio.h" 3 4
8419 typedef __ssize_t __io_read_fn (
void *__cookie,
char *__buf,
size_t __nbytes);
8427 typedef __ssize_t __io_write_fn (
void *__cookie, __const
char *__buf,
8436 typedef int __io_seek_fn (
void *__cookie, __off64_t *__pos,
int __w);
8439 typedef int __io_close_fn (
void *__cookie);
8444 typedef __io_read_fn cookie_read_function_t;
8445 typedef __io_write_fn cookie_write_function_t;
8446 typedef __io_seek_fn cookie_seek_function_t;
8447 typedef __io_close_fn cookie_close_function_t;
8453 __io_write_fn *write;
8455 __io_close_fn *close;
8459 struct _IO_cookie_file;
8462 extern void _IO_cookie_init (
struct _IO_cookie_file *__cfile,
int __read_write,
8471 extern int __underflow (
_IO_FILE *);
8473 extern int __overflow (
_IO_FILE *,
int);
8474 # 460 "/usr/include/libio.h" 3 4
8475 extern int _IO_getc (
_IO_FILE *__fp);
8476 extern int _IO_putc (
int __c,
_IO_FILE *__fp);
8477 extern int _IO_feof (
_IO_FILE *__fp) __attribute__ ((__nothrow__));
8478 extern int _IO_ferror (
_IO_FILE *__fp) __attribute__ ((__nothrow__));
8480 extern int _IO_peekc_locked (
_IO_FILE *__fp);
8486 extern void _IO_flockfile (
_IO_FILE *) __attribute__ ((__nothrow__));
8487 extern
void _IO_funlockfile (
_IO_FILE *) __attribute__ ((__nothrow__));
8488 extern
int _IO_ftrylockfile (
_IO_FILE *) __attribute__ ((__nothrow__));
8489 # 490 "/usr/include/libio.h" 3 4
8490 extern int _IO_vfscanf (
_IO_FILE * __restrict,
const char * __restrict,
8491 __gnuc_va_list,
int *__restrict);
8492 extern int _IO_vfprintf (
_IO_FILE *__restrict,
const char *__restrict,
8494 extern __ssize_t _IO_padn (
_IO_FILE *,
int, __ssize_t);
8495 extern size_t _IO_sgetn (
_IO_FILE *,
void *,
size_t);
8497 extern __off64_t _IO_seekoff (
_IO_FILE *, __off64_t,
int,
int);
8498 extern __off64_t _IO_seekpos (
_IO_FILE *, __off64_t,
int);
8500 extern void _IO_free_backup_area (
_IO_FILE *) __attribute__ ((__nothrow__));
8501 # 76 "/usr/include/stdio.h" 2 3 4
8502 # 91 "/usr/include/stdio.h" 3 4
8503 typedef __off_t off_t;
8510 typedef __off64_t off64_t;
8515 typedef __ssize_t ssize_t;
8530 # 161 "/usr/include/stdio.h" 3 4
8531 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
8532 # 162 "/usr/include/stdio.h" 2 3 4
8546 extern int remove (__const
char *__filename) __attribute__ ((__nothrow__));
8548 extern int rename (__const
char *__old, __const
char *__new) __attribute__ ((__nothrow__));
8553 extern int renameat (
int __oldfd, __const
char *__old,
int __newfd,
8554 __const
char *__new) __attribute__ ((__nothrow__));
8563 extern FILE *tmpfile (
void) ;
8564 # 202 "/usr/include/stdio.h" 3 4
8565 extern FILE *tmpfile64 (
void) ;
8569 extern char *tmpnam (
char *__s) __attribute__ ((__nothrow__)) ;
8575 extern char *tmpnam_r (
char *__s) __attribute__ ((__nothrow__)) ;
8576 # 224 "/usr/include/stdio.h" 3 4
8577 extern char *tempnam (__const
char *__dir, __const
char *__pfx)
8578 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
8587 extern
int fclose (
FILE *__stream);
8592 extern
int fflush (
FILE *__stream);
8594 # 249 "/usr/include/stdio.h" 3 4
8595 extern int fflush_unlocked (
FILE *__stream);
8596 # 259 "/usr/include/stdio.h" 3 4
8597 extern int fcloseall (
void);
8607 extern FILE *fopen (__const
char *__restrict __filename,
8608 __const
char *__restrict __modes) ;
8613 extern FILE *freopen (__const
char *__restrict __filename,
8614 __const
char *__restrict __modes,
8615 FILE *__restrict __stream) ;
8616 # 292 "/usr/include/stdio.h" 3 4
8619 extern FILE *fopen64 (__const
char *__restrict __filename,
8620 __const
char *__restrict __modes) ;
8621 extern FILE *freopen64 (__const
char *__restrict __filename,
8622 __const
char *__restrict __modes,
8623 FILE *__restrict __stream) ;
8628 extern FILE *fdopen (
int __fd, __const
char *__modes) __attribute__ ((__nothrow__)) ;
8634 extern FILE *fopencookie (
void *__restrict __magic_cookie,
8635 __const
char *__restrict __modes,
8641 extern FILE *fmemopen (
void *__s,
size_t __len, __const
char *__modes)
8642 __attribute__ ((__nothrow__)) ;
8647 extern FILE *open_memstream (
char **__bufloc,
size_t *__sizeloc) __attribute__ ((__nothrow__)) ;
8654 extern void setbuf (
FILE *__restrict __stream,
char *__restrict __buf) __attribute__ ((__nothrow__));
8658 extern int setvbuf (
FILE *__restrict __stream,
char *__restrict __buf,
8659 int __modes,
size_t __n) __attribute__ ((__nothrow__));
8665 extern void setbuffer (
FILE *__restrict __stream,
char *__restrict __buf,
8666 size_t __size) __attribute__ ((__nothrow__));
8669 extern void setlinebuf (
FILE *__stream) __attribute__ ((__nothrow__));
8678 extern int fprintf (
FILE *__restrict __stream,
8679 __const
char *__restrict __format, ...);
8684 extern int printf (__const
char *__restrict __format, ...);
8686 extern int sprintf (
char *__restrict __s,
8687 __const
char *__restrict __format, ...) __attribute__ ((__nothrow__));
8693 extern
int vfprintf (
FILE *__restrict __s, __const
char *__restrict __format,
8694 __gnuc_va_list __arg);
8699 extern
int vprintf (__const
char *__restrict __format, __gnuc_va_list __arg);
8701 extern
int vsprintf (
char *__restrict __s, __const
char *__restrict __format,
8702 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
8708 extern
int snprintf (
char *__restrict __s,
size_t __maxlen,
8709 __const
char *__restrict __format, ...)
8710 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
8712 extern
int vsnprintf (
char *__restrict __s,
size_t __maxlen,
8713 __const
char *__restrict __format, __gnuc_va_list __arg)
8714 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
8721 extern
int vasprintf (
char **__restrict __ptr, __const
char *__restrict __f,
8722 __gnuc_va_list __arg)
8723 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) ;
8724 extern
int __asprintf (
char **__restrict __ptr,
8725 __const
char *__restrict __fmt, ...)
8726 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ;
8727 extern
int asprintf (
char **__restrict __ptr,
8728 __const
char *__restrict __fmt, ...)
8729 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ;
8730 # 414 "/usr/include/stdio.h" 3 4
8731 extern int vdprintf (
int __fd, __const
char *__restrict __fmt,
8732 __gnuc_va_list __arg)
8733 __attribute__ ((__format__ (__printf__, 2, 0)));
8734 extern int dprintf (
int __fd, __const
char *__restrict __fmt, ...)
8735 __attribute__ ((__format__ (__printf__, 2, 3)));
8744 extern
int fscanf (
FILE *__restrict __stream,
8745 __const
char *__restrict __format, ...) ;
8750 extern
int scanf (__const
char *__restrict __format, ...) ;
8752 extern
int sscanf (__const
char *__restrict __s,
8753 __const
char *__restrict __format, ...) __attribute__ ((__nothrow__));
8754 # 465 "/usr/include/stdio.h" 3 4
8763 extern int vfscanf (
FILE *__restrict __s, __const
char *__restrict __format,
8764 __gnuc_va_list __arg)
8765 __attribute__ ((__format__ (__scanf__, 2, 0))) ;
8771 extern int vscanf (__const
char *__restrict __format, __gnuc_va_list __arg)
8772 __attribute__ ((__format__ (__scanf__, 1, 0))) ;
8775 extern int vsscanf (__const
char *__restrict __s,
8776 __const
char *__restrict __format, __gnuc_va_list __arg)
8777 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
8778 # 524 "/usr/include/stdio.h" 3 4
8788 extern int fgetc (
FILE *__stream);
8789 extern int getc (
FILE *__stream);
8795 extern int getchar (
void);
8797 # 552 "/usr/include/stdio.h" 3 4
8798 extern int getc_unlocked (
FILE *__stream);
8799 extern int getchar_unlocked (
void);
8800 # 563 "/usr/include/stdio.h" 3 4
8801 extern int fgetc_unlocked (
FILE *__stream);
8813 extern int fputc (
int __c,
FILE *__stream);
8814 extern int putc (
int __c,
FILE *__stream);
8820 extern int putchar (
int __c);
8822 # 596 "/usr/include/stdio.h" 3 4
8823 extern int fputc_unlocked (
int __c,
FILE *__stream);
8831 extern int putc_unlocked (
int __c,
FILE *__stream);
8832 extern int putchar_unlocked (
int __c);
8839 extern int getw (
FILE *__stream);
8842 extern int putw (
int __w,
FILE *__stream);
8851 extern char *fgets (
char *__restrict __s,
int __n,
FILE *__restrict __stream)
8859 extern char *gets (
char *__s) ;
8861 # 642 "/usr/include/stdio.h" 3 4
8862 extern char *fgets_unlocked (
char *__restrict __s,
int __n,
8863 FILE *__restrict __stream) ;
8864 # 658 "/usr/include/stdio.h" 3 4
8865 extern __ssize_t __getdelim (
char **__restrict __lineptr,
8866 size_t *__restrict __n,
int __delimiter,
8867 FILE *__restrict __stream) ;
8868 extern __ssize_t getdelim (
char **__restrict __lineptr,
8869 size_t *__restrict __n,
int __delimiter,
8870 FILE *__restrict __stream) ;
8878 extern __ssize_t getline (
char **__restrict __lineptr,
8879 size_t *__restrict __n,
8880 FILE *__restrict __stream) ;
8889 extern int fputs (__const
char *__restrict __s,
FILE *__restrict __stream);
8895 extern int puts (__const
char *__s);
8902 extern int ungetc (
int __c,
FILE *__stream);
8909 extern size_t fread (
void *__restrict __ptr,
size_t __size,
8910 size_t __n,
FILE *__restrict __stream) ;
8915 extern size_t fwrite (__const
void *__restrict __ptr,
size_t __size,
8916 size_t __n,
FILE *__restrict __s);
8918 # 719 "/usr/include/stdio.h" 3 4
8919 extern int fputs_unlocked (__const
char *__restrict __s,
8920 FILE *__restrict __stream);
8921 # 730 "/usr/include/stdio.h" 3 4
8922 extern size_t fread_unlocked (
void *__restrict __ptr,
size_t __size,
8923 size_t __n,
FILE *__restrict __stream) ;
8924 extern size_t fwrite_unlocked (__const
void *__restrict __ptr,
size_t __size,
8925 size_t __n,
FILE *__restrict __stream);
8934 extern int fseek (
FILE *__stream,
long int __off,
int __whence);
8939 extern long int ftell (
FILE *__stream) ;
8944 extern void rewind (
FILE *__stream);
8946 # 766 "/usr/include/stdio.h" 3 4
8947 extern int fseeko (
FILE *__stream, __off_t __off,
int __whence);
8952 extern __off_t ftello (
FILE *__stream) ;
8953 # 785 "/usr/include/stdio.h" 3 4
8960 extern int fgetpos (
FILE *__restrict __stream, fpos_t *__restrict __pos);
8965 extern int fsetpos (
FILE *__stream, __const fpos_t *__pos);
8966 # 808 "/usr/include/stdio.h" 3 4
8970 extern int fseeko64 (
FILE *__stream, __off64_t __off,
int __whence);
8971 extern __off64_t ftello64 (
FILE *__stream) ;
8972 extern int fgetpos64 (
FILE *__restrict __stream, fpos64_t *__restrict __pos);
8973 extern int fsetpos64 (
FILE *__stream, __const fpos64_t *__pos);
8978 extern void clearerr (
FILE *__stream) __attribute__ ((__nothrow__));
8980 extern int feof (
FILE *__stream) __attribute__ ((__nothrow__)) ;
8982 extern int ferror (
FILE *__stream) __attribute__ ((__nothrow__)) ;
8987 extern void clearerr_unlocked (
FILE *__stream) __attribute__ ((__nothrow__));
8988 extern int feof_unlocked (
FILE *__stream) __attribute__ ((__nothrow__)) ;
8989 extern int ferror_unlocked (
FILE *__stream) __attribute__ ((__nothrow__)) ;
8998 extern void perror (__const
char *__s);
9005 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
9006 # 27 "/usr/include/bits/sys_errlist.h" 3 4
9007 extern int sys_nerr;
9008 extern __const
char *__const sys_errlist[];
9011 extern int _sys_nerr;
9012 extern __const
char *__const _sys_errlist[];
9013 # 847 "/usr/include/stdio.h" 2 3 4
9018 extern int fileno (
FILE *__stream) __attribute__ ((__nothrow__)) ;
9023 extern int fileno_unlocked (
FILE *__stream) __attribute__ ((__nothrow__)) ;
9024 # 866 "/usr/include/stdio.h" 3 4
9025 extern FILE *popen (__const
char *__command, __const
char *__modes) ;
9031 extern int pclose (
FILE *__stream);
9037 extern char *ctermid (
char *__s) __attribute__ ((__nothrow__));
9043 extern char *cuserid (
char *__s);
9051 extern int obstack_printf (
struct obstack *__restrict __obstack,
9052 __const
char *__restrict __format, ...)
9053 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3)));
9054 extern
int obstack_vprintf (struct obstack *__restrict __obstack,
9055 __const
char *__restrict __format,
9056 __gnuc_va_list __args)
9057 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0)));
9065 extern
void flockfile (
FILE *__stream) __attribute__ ((__nothrow__));
9069 extern
int ftrylockfile (
FILE *__stream) __attribute__ ((__nothrow__)) ;
9072 extern
void funlockfile (
FILE *__stream) __attribute__ ((__nothrow__));
9073 # 936 "/usr/include/stdio.h" 3 4
9075 # 39 "/usr/include/qof/qoflog.h" 2
9076 # 1 "/usr/include/qof/qofutil.h" 1
9077 # 35 "/usr/include/qof/qofutil.h"
9078 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
9079 # 36 "/usr/include/qof/qofutil.h" 2
9080 # 1 "/usr/include/qof/qoflog.h" 1
9081 # 37 "/usr/include/qof/qofutil.h" 2
9082 # 1 "/usr/include/qof/qofdate.h" 1
9083 # 78 "/usr/include/qof/qofdate.h"
9084 # 1 "/usr/include/qof/qoftime.h" 1
9085 # 90 "/usr/include/qof/qoftime.h"
9087 # 91 "/usr/include/qof/qoftime.h" 2
9088 # 112 "/usr/include/qof/qoftime.h"
9089 typedef struct QofTime64 QofTime;
9090 # 121 "/usr/include/qof/qoftime.h"
9091 typedef gint64 QofTimeSecs;
9092 # 132 "/usr/include/qof/qoftime.h"
9094 qof_time_add_secs (QofTime * qt, QofTimeSecs secs);
9095 # 144 "/usr/include/qof/qoftime.h"
9097 qof_time_add_secs_copy (QofTime * qt, QofTimeSecs secs);
9105 qof_time_new (
void);
9106 # 162 "/usr/include/qof/qoftime.h"
9108 qof_time_copy (
const QofTime *qt);
9112 qof_time_free (QofTime * qt);
9113 # 176 "/usr/include/qof/qoftime.h"
9115 qof_time_set_secs (QofTime * time, QofTimeSecs secs);
9124 qof_time_set_nanosecs (QofTime * time, glong nano);
9133 qof_time_get_secs (
const QofTime * time);
9142 qof_time_get_nanosecs (
const QofTime * time);
9149 qof_time_equal (
const QofTime * ta,
const QofTime * tb);
9153 qof_time_cmp (
const QofTime * ta,
const QofTime * tb);
9154 # 226 "/usr/include/qof/qoftime.h"
9156 qof_time_diff (
const QofTime * ta,
const QofTime * tb);
9164 qof_time_abs (QofTime * t);
9167 qof_time_is_valid (
const QofTime * qt);
9168 # 249 "/usr/include/qof/qoftime.h"
9170 qof_time_from_time_t (time_t t, glong nanosecs);
9171 # 261 "/usr/include/qof/qoftime.h"
9173 qof_time_set (QofTimeSecs t, glong nanosecs);
9174 # 277 "/usr/include/qof/qoftime.h"
9176 qof_time_to_time_t (QofTime * ts, time_t * t, glong * nanosecs);
9177 # 292 "/usr/include/qof/qoftime.h"
9179 qof_time_from_tm (
struct tm *
tm, glong nanosecs);
9180 # 302 "/usr/include/qof/qoftime.h"
9182 qof_time_to_gtimeval (QofTime * qt,
GTimeVal * gtv);
9191 qof_time_from_gtimeval (QofTime * qt,
GTimeVal * gtv);
9192 # 324 "/usr/include/qof/qoftime.h"
9194 qof_time_dmy_to_time (guint8 day, guint8 month, guint16 year);
9195 # 340 "/usr/include/qof/qoftime.h"
9197 qof_time_to_dmy (QofTime * t, guint8 * day, guint8 * month, guint16 * year);
9198 # 352 "/usr/include/qof/qoftime.h"
9200 qof_time_to_gdate (QofTime * time);
9201 # 363 "/usr/include/qof/qoftime.h"
9203 qof_time_from_gdate (
GDate * date);
9204 # 377 "/usr/include/qof/qoftime.h"
9206 qof_time_get_current_start (
void);
9207 # 390 "/usr/include/qof/qoftime.h"
9209 qof_time_get_current (
void);
9210 # 401 "/usr/include/qof/qoftime.h"
9212 qof_time_set_day_middle (QofTime * t);
9213 # 412 "/usr/include/qof/qoftime.h"
9215 qof_time_set_day_start (QofTime * time);
9216 # 423 "/usr/include/qof/qoftime.h"
9218 qof_time_set_day_end (QofTime * time);
9219 # 434 "/usr/include/qof/qoftime.h"
9221 qof_time_last_mday (QofTime * ts);
9230 qof_time_get_today_start (
void);
9234 qof_time_get_today_end (
void);
9242 qof_time_stamp_now (
void);
9243 # 79 "/usr/include/qof/qofdate.h" 2
9244 # 138 "/usr/include/qof/qofdate.h"
9279 # 181 "/usr/include/qof/qofdate.h"
9307 const gchar *qd_zone;
9308 # 217 "/usr/include/qof/qofdate.h"
9318 void qof_date_init (
void);
9321 void qof_date_close (
void);
9322 # 335 "/usr/include/qof/qofdate.h"
9323 typedef gint QofDateFormat;
9324 # 358 "/usr/include/qof/qofdate.h"
9326 qof_date_format_add (
const gchar * str, QofDateFormat *identifier);
9327 # 371 "/usr/include/qof/qofdate.h"
9329 qof_date_format_to_name (QofDateFormat format);
9330 # 384 "/usr/include/qof/qofdate.h"
9332 qof_date_format_from_name (
const gchar * name);
9333 # 400 "/usr/include/qof/qofdate.h"
9335 qof_date_format_set_name (
const gchar * name, QofDateFormat format);
9339 qof_date_format_get_current (
void);
9348 qof_date_format_set_current (QofDateFormat df);
9349 # 423 "/usr/include/qof/qofdate.h"
9351 qof_date_format_get_format (QofDateFormat df);
9352 # 436 "/usr/include/qof/qofdate.h"
9354 qof_date_format_get_date_separator (QofDateFormat df);
9355 # 447 "/usr/include/qof/qofdate.h"
9357 qof_date_format_set_date_separator (
const gchar sep, QofDateFormat df);
9365 qof_date_new (
void);
9369 qof_date_get_current (
void);
9373 qof_date_new_dmy (gint day, gint month, gint64 year);
9377 qof_date_free (
QofDate * date);
9381 qof_date_time_difference (
const QofDate * date1,
const QofDate * date2);
9382 # 481 "/usr/include/qof/qofdate.h"
9384 qof_date_is_last_mday (
const QofDate *qd);
9385 # 499 "/usr/include/qof/qofdate.h"
9387 qof_date_addmonths (
QofDate * qd, gint months,
9388 gboolean track_last_day);
9397 # 532 "/usr/include/qof/qofdate.h"
9399 qof_date_valid (
QofDate *date);
9400 # 544 "/usr/include/qof/qofdate.h"
9402 qof_date_get_yday (gint mday, gint month, gint64 year);
9403 # 555 "/usr/include/qof/qofdate.h"
9405 qof_date_get_mday (gint month, gint64 year);
9414 qof_date_from_qtime (
const QofTime *qt);
9418 qof_date_to_qtime (
const QofDate *qd);
9426 qof_date_from_struct_tm (
const struct tm *stm);
9427 # 593 "/usr/include/qof/qofdate.h"
9429 qof_date_to_struct_tm (
const QofDate * qt,
struct tm *stm, glong * nanosecs);
9430 # 605 "/usr/include/qof/qofdate.h"
9433 # 617 "/usr/include/qof/qofdate.h"
9435 qof_date_from_gdate (
const GDate *gd);
9436 # 635 "/usr/include/qof/qofdate.h"
9438 qof_date_adddays (
QofDate * qd, gint days);
9441 qof_date_set_day_end (
QofDate * qd);
9444 qof_date_set_day_start (
QofDate * qd);
9447 qof_date_set_day_middle (
QofDate * qd);
9448 # 712 "/usr/include/qof/qofdate.h"
9450 qof_date_print (
const QofDate * date, QofDateFormat df);
9451 # 725 "/usr/include/qof/qofdate.h"
9453 qof_date_parse (
const gchar * str, QofDateFormat df);
9454 # 38 "/usr/include/qof/qofutil.h" 2
9455 # 1 "/usr/include/qof/qofutil.h" 1
9456 # 39 "/usr/include/qof/qofutil.h" 2
9457 # 1 "/usr/include/qof/qofbackend-p.h" 1
9458 # 43 "/usr/include/qof/qofbackend-p.h"
9459 # 1 "/usr/include/qof/qofinstance-p.h" 1
9460 # 32 "/usr/include/qof/qofinstance-p.h"
9462 # 33 "/usr/include/qof/qofinstance-p.h" 2
9463 # 1 "/usr/include/qof/qofinstance.h" 1
9464 # 40 "/usr/include/qof/qofinstance.h"
9465 # 1 "/usr/include/qof/qofbook.h" 1
9466 # 42 "/usr/include/qof/qofbook.h"
9467 # 1 "/usr/include/qof/qof.h" 1
9468 # 43 "/usr/include/qof/qofbook.h" 2
9469 # 61 "/usr/include/qof/qofbook.h"
9470 typedef struct _QofBook QofBook;
9475 typedef void (*QofBookFinalCB) (QofBook *, gpointer key, gpointer user_data);
9478 gboolean qof_book_register (
void);
9482 QofBook *qof_book_new (
void);
9486 void qof_book_destroy (QofBook * book);
9493 void qof_book_mark_closed (QofBook * book);
9494 # 99 "/usr/include/qof/qofbook.h"
9495 QofCollection *qof_book_get_collection (QofBook *, QofIdType);
9498 typedef void (*QofCollectionForeachCB) (QofCollection *, gpointer user_data);
9499 void qof_book_foreach_collection (QofBook *, QofCollectionForeachCB,
9501 # 125 "/usr/include/qof/qofbook.h"
9502 void qof_book_set_data (QofBook * book,
const gchar * key, gpointer data);
9508 void qof_book_set_data_fin (QofBook * book,
const gchar * key, gpointer data,
9512 gpointer qof_book_get_data (QofBook * book,
const gchar * key);
9515 gboolean qof_book_shutting_down (QofBook * book);
9516 # 148 "/usr/include/qof/qofbook.h"
9517 gboolean qof_book_not_saved (QofBook * book);
9524 void qof_book_mark_saved (QofBook * book);
9528 void qof_book_kvp_changed (QofBook * book);
9533 gboolean qof_book_equal (QofBook * book_1, QofBook * book_2);
9538 gint64 qof_book_get_counter (QofBook * book,
const gchar *counter_name);
9539 # 41 "/usr/include/qof/qofinstance.h" 2
9542 # 1 "/usr/include/qof/kvpframe.h" 1
9543 # 66 "/usr/include/qof/kvpframe.h"
9544 # 1 "/usr/include/qof/qofnumeric.h" 1
9545 # 52 "/usr/include/qof/qofnumeric.h"
9556 # 129 "/usr/include/qof/qofnumeric.h"
9560 QOF_HOW_RND_FLOOR = 0x01,
9563 QOF_HOW_RND_CEIL = 0x02,
9566 QOF_HOW_RND_TRUNC = 0x03,
9569 QOF_HOW_RND_PROMOTE = 0x04,
9574 QOF_HOW_RND_ROUND_HALF_DOWN = 0x05,
9579 QOF_HOW_RND_ROUND_HALF_UP = 0x06,
9586 QOF_HOW_RND_ROUND = 0x07,
9591 QOF_HOW_RND_NEVER = 0x08
9602 QOF_HOW_DENOM_EXACT = 0x10,
9609 QOF_HOW_DENOM_REDUCE = 0x20,
9614 QOF_HOW_DENOM_LCD = 0x30,
9620 QOF_HOW_DENOM_FIXED = 0x40,
9625 QOF_HOW_DENOM_SIGFIG = 0x50
9627 # 207 "/usr/include/qof/qofnumeric.h"
9632 QOF_ERROR_OVERFLOW = -2,
9635 QOF_ERROR_DENOM_DIFF = -3,
9639 QOF_ERROR_REMAINDER = -4
9640 } QofNumericErrorCode;
9641 # 242 "/usr/include/qof/qofnumeric.h"
9643 qof_numeric_create (gint64 num, gint64 denom)
9653 qof_numeric_zero (
void)
9655 return qof_numeric_create (0, 1);
9664 qof_numeric_from_double (gdouble in, gint64 denom, gint how);
9670 qof_numeric_from_string (
const gchar * str,
QofNumeric * n);
9676 qof_numeric_error (QofNumericErrorCode error_code);
9683 static inline gint64
9690 static inline gint64
9709 # 318 "/usr/include/qof/qofnumeric.h"
9741 # 362 "/usr/include/qof/qofnumeric.h"
9752 gint64 denom, gint how);
9757 gint64 denom, gint how);
9766 gint64 denom, gint how);
9767 # 395 "/usr/include/qof/qofnumeric.h"
9770 gint64 denom, gint how);
9786 return qof_numeric_add (a, b, 0,
9787 QOF_HOW_DENOM_FIXED | QOF_HOW_RND_NEVER);
9797 return qof_numeric_sub (a, b, 0,
9798 QOF_HOW_DENOM_FIXED | QOF_HOW_RND_NEVER);
9800 # 435 "/usr/include/qof/qofnumeric.h"
9803 gint64 denom, gint how,
9810 gint64 denom, gint how,
9818 gint64 denom, gint how,
9826 gint64 denom, gint how,
9828 # 471 "/usr/include/qof/qofnumeric.h"
9830 qof_numeric_convert (
QofNumeric in, gint64 denom, gint how);
9836 qof_numeric_convert_with_error (
QofNumeric in, gint64 denom,
9842 # 67 "/usr/include/qof/kvpframe.h" 2
9850 typedef struct _KvpFrame KvpFrame;
9854 typedef struct _KvpValue KvpValue;
9855 # 87 "/usr/include/qof/kvpframe.h"
9863 KVP_TYPE_GINT64 = 1,
9914 kvp_frame_new (
void);
9918 kvp_frame_delete (KvpFrame * frame);
9923 kvp_frame_copy (
const KvpFrame * frame);
9927 kvp_frame_is_empty (KvpFrame * frame);
9928 # 170 "/usr/include/qof/kvpframe.h"
9930 kvp_frame_set_gint64 (KvpFrame * frame,
const gchar * path, gint64 ival);
9937 kvp_frame_set_double (KvpFrame * frame,
const gchar * path, gdouble dval);
9944 kvp_frame_set_numeric (KvpFrame * frame,
const gchar * path,
9954 kvp_frame_set_string (KvpFrame * frame,
const gchar * path,
9964 kvp_frame_set_guid (KvpFrame * frame,
const gchar * path,
9974 kvp_frame_set_time (KvpFrame * frame,
const gchar *path, QofTime *qt);
9981 kvp_frame_set_boolean (KvpFrame * frame,
const gchar * path, gboolean val);
9990 kvp_frame_set_frame (KvpFrame * frame,
const gchar * path,
9999 void kvp_frame_set_frame_nc (KvpFrame * frame,
const gchar * path,
10001 # 259 "/usr/include/qof/kvpframe.h"
10003 kvp_frame_set_value (KvpFrame * frame,
const gchar * path,
10004 const KvpValue * value);
10005 # 277 "/usr/include/qof/kvpframe.h"
10007 kvp_frame_set_value_nc (KvpFrame * frame,
const gchar * path, KvpValue * value);
10008 # 288 "/usr/include/qof/kvpframe.h"
10010 kvp_frame_replace_value_nc (KvpFrame * frame,
const gchar * slot,
10011 KvpValue * new_value);
10012 # 304 "/usr/include/qof/kvpframe.h"
10014 kvp_frame_add_gint64 (KvpFrame * frame,
const gchar * path, gint64 ival);
10015 # 314 "/usr/include/qof/kvpframe.h"
10017 kvp_frame_add_double (KvpFrame * frame,
const gchar * path, gdouble dval);
10018 # 324 "/usr/include/qof/kvpframe.h"
10020 kvp_frame_add_numeric (KvpFrame * frame,
const gchar * path,
10022 # 335 "/usr/include/qof/kvpframe.h"
10024 kvp_frame_add_time (KvpFrame * frame,
const gchar *path, QofTime *qt);
10025 # 346 "/usr/include/qof/kvpframe.h"
10026 void kvp_frame_add_string (KvpFrame * frame,
const gchar * path,
10027 const gchar * str);
10030 kvp_frame_add_boolean (KvpFrame * frame,
const gchar * path, gboolean val);
10031 # 359 "/usr/include/qof/kvpframe.h"
10032 void kvp_frame_add_guid (KvpFrame * frame,
const gchar * path,
10033 const GUID * guid);
10034 # 369 "/usr/include/qof/kvpframe.h"
10035 void kvp_frame_add_frame (KvpFrame * frame,
const gchar * path,
10044 void kvp_frame_add_frame_nc (KvpFrame * frame,
const gchar * path,
10046 # 390 "/usr/include/qof/kvpframe.h"
10048 kvp_frame_add_value (KvpFrame * frame,
const gchar * path,
10050 # 403 "/usr/include/qof/kvpframe.h"
10052 kvp_frame_add_value_nc (KvpFrame * frame,
const gchar * path,
10054 # 439 "/usr/include/qof/kvpframe.h"
10056 kvp_frame_get_gint64 (
const KvpFrame * frame,
const gchar * path);
10058 kvp_frame_get_double (
const KvpFrame * frame,
const gchar * path);
10060 kvp_frame_get_numeric (
const KvpFrame * frame,
const gchar * path);
10062 kvp_frame_get_string (
const KvpFrame * frame,
const gchar * path);
10064 kvp_frame_get_guid (
const KvpFrame * frame,
const gchar * path);
10066 kvp_frame_get_binary (
const KvpFrame * frame,
const gchar * path,
10067 guint64 * size_return);
10070 kvp_frame_get_boolean (
const KvpFrame * frame,
const gchar * path);
10073 kvp_frame_get_time (
const KvpFrame * frame,
const gchar *path);
10075 KvpValue *kvp_frame_get_value (
const KvpFrame * frame,
const gchar * path);
10076 # 469 "/usr/include/qof/kvpframe.h"
10077 KvpFrame *kvp_frame_get_frame (
const KvpFrame * frame,
const gchar * path);
10084 kvp_frame_get_frame_path (KvpFrame * frame,
const gchar *, ...);
10091 kvp_frame_get_frame_gslist (KvpFrame * frame,
GSList * key_path);
10092 # 496 "/usr/include/qof/kvpframe.h"
10093 KvpFrame *kvp_frame_get_frame_slash (KvpFrame * frame,
const gchar * path);
10094 # 520 "/usr/include/qof/kvpframe.h"
10096 kvp_frame_replace_slot_nc (KvpFrame * frame,
const gchar * slot,
10097 KvpValue * new_value);
10098 # 531 "/usr/include/qof/kvpframe.h"
10099 void kvp_frame_set_slot (KvpFrame * frame,
10100 const gchar * key,
const KvpValue * value);
10101 # 541 "/usr/include/qof/kvpframe.h"
10102 void kvp_frame_set_slot_nc (KvpFrame * frame,
10103 const gchar * key, KvpValue * value);
10110 void kvp_frame_set_slot_path (KvpFrame * frame,
10111 const KvpValue * value,
10112 const gchar * first_key, ...);
10119 void kvp_frame_set_slot_path_gslist (KvpFrame * frame,
10120 const KvpValue * value,
10122 # 578 "/usr/include/qof/kvpframe.h"
10123 KvpValue *kvp_frame_get_slot (
const KvpFrame * frame,
const gchar * key);
10128 KvpValue *kvp_frame_get_slot_path (KvpFrame * frame,
10129 const gchar * first_key, ...);
10134 KvpValue *kvp_frame_get_slot_path_gslist (KvpFrame * frame,
10136 # 600 "/usr/include/qof/kvpframe.h"
10137 gint kvp_glist_compare (
const GList * list1,
const GList * list2);
10151 void kvp_glist_delete (
GList * list);
10152 # 625 "/usr/include/qof/kvpframe.h"
10153 KvpValue *kvp_value_new_gint64 (gint64 value);
10154 KvpValue *kvp_value_new_double (
double value);
10156 KvpValue *kvp_value_new_numeric (
QofNumeric value);
10157 KvpValue *kvp_value_new_string (
const gchar * value);
10158 KvpValue *kvp_value_new_guid (
const GUID * guid);
10159 KvpValue *kvp_value_new_time (QofTime *value);
10161 KvpValue *kvp_value_new_boolean (gboolean value);
10163 KvpValue *kvp_value_new_binary (
const void *data, guint64 datasize);
10164 KvpValue *kvp_value_new_frame (
const KvpFrame * value);
10168 KvpValue *kvp_value_new_glist (
const GList * value);
10172 KvpValue *kvp_value_new_binary_nc (
void *data, guint64 datasize);
10180 KvpValue *kvp_value_new_glist_nc (
GList * lst);
10184 KvpValue *kvp_value_new_frame_nc (KvpFrame * value);
10187 void kvp_value_delete (KvpValue * value);
10190 KvpValue *kvp_value_copy (
const KvpValue * value);
10193 KvpFrame *kvp_value_replace_frame_nc (KvpValue * value, KvpFrame * newframe);
10196 GList *kvp_value_replace_glist_nc (KvpValue * value,
GList * newlist);
10197 # 678 "/usr/include/qof/kvpframe.h"
10198 KvpValueType kvp_value_get_type (
const KvpValue * value);
10199 # 695 "/usr/include/qof/kvpframe.h"
10200 gint64 kvp_value_get_gint64 (
const KvpValue * value);
10201 gdouble kvp_value_get_double (
const KvpValue * value);
10202 QofNumeric kvp_value_get_numeric (
const KvpValue * value);
10207 kvp_value_get_string (
const KvpValue * value);
10212 kvp_value_get_guid (
const KvpValue * value);
10217 kvp_value_get_binary (
const KvpValue * value, guint64 * size_return);
10223 kvp_value_get_glist (
const KvpValue * value);
10228 kvp_value_get_frame (
const KvpValue * value);
10232 kvp_value_get_boolean (
const KvpValue * value);
10235 kvp_value_get_time (
const KvpValue * value);
10241 kvp_value_compare (
const KvpValue * va,
const KvpValue * vb);
10250 kvp_value_to_bare_string (
const KvpValue * val);
10258 kvp_value_to_string (
const KvpValue * val);
10264 kvp_value_binary_append (KvpValue * v, gpointer data, guint64 size);
10271 typedef void (*KvpValueForeachCB) (
const gchar *key, KvpValue * value, gpointer data);
10278 kvp_frame_for_each_slot (KvpFrame * f, KvpValueForeachCB, gpointer data);
10279 # 44 "/usr/include/qof/qofinstance.h" 2
10289 void qof_instance_init (
QofInstance *, QofIdType, QofBook *);
10302 KvpFrame *qof_instance_get_slots (
QofInstance *);
10310 QofTime *qof_instance_get_update_time (
QofInstance * inst);
10327 void qof_instance_set_dirty (
QofInstance * inst);
10329 gboolean qof_instance_check_edit (
QofInstance * inst);
10331 gboolean qof_instance_do_free (
QofInstance * inst);
10333 void qof_instance_mark_free (
QofInstance * inst);
10335 QofInstance *qof_instance_create (QofIdType type, QofBook * book);
10336 # 110 "/usr/include/qof/qofinstance.h"
10338 # 126 "/usr/include/qof/qofinstance.h"
10340 # 34 "/usr/include/qof/qofinstance-p.h" 2
10341 # 1 "/usr/include/qof/qofclass.h" 1
10342 # 125 "/usr/include/qof/qofclass.h"
10343 typedef const gchar *QofType;
10346 # 144 "/usr/include/qof/qofclass.h"
10347 typedef gpointer (*QofAccessFunc) (gpointer object,
const QofParam * param);
10354 typedef void (*QofSetterFunc) (gpointer, gpointer);
10355 # 170 "/usr/include/qof/qofclass.h"
10358 const gchar *param_name;
10359 QofType param_type;
10360 QofAccessFunc param_getfcn;
10361 QofSetterFunc param_setfcn;
10362 gpointer param_userdata;
10367 gint (*QofSortFunc) (gconstpointer, gconstpointer);
10368 # 200 "/usr/include/qof/qofclass.h"
10369 void qof_class_register (QofIdTypeConst obj_name,
10370 QofSortFunc default_sort_fcn,
10372 # 227 "/usr/include/qof/qofclass.h"
10374 qof_class_is_registered (QofIdTypeConst obj_name);
10378 qof_class_get_parameter_type (QofIdTypeConst obj_name,
10379 const gchar *param_name);
10383 qof_class_get_parameter (QofIdTypeConst obj_name,
10384 const gchar *parameter);
10388 qof_class_get_parameter_getter (QofIdTypeConst obj_name,
10389 const gchar *parameter);
10393 qof_class_get_parameter_setter (QofIdTypeConst obj_name,
10394 const gchar *parameter);
10397 typedef void (*QofClassForeachCB) (QofIdTypeConst, gpointer);
10403 qof_class_foreach (QofClassForeachCB, gpointer user_data);
10406 typedef void (*QofParamForeachCB) (
QofParam *, gpointer user_data);
10412 qof_class_param_foreach (QofIdTypeConst obj_name,
10413 QofParamForeachCB, gpointer user_data);
10422 qof_class_get_referenceList (QofIdTypeConst type);
10423 # 35 "/usr/include/qof/qofinstance-p.h" 2
10437 KvpFrame *kvp_data;
10442 const QofParam * param;
10443 # 62 "/usr/include/qof/qofinstance-p.h"
10444 QofTime *update_time;
10461 void qof_instance_set_slots (
QofInstance *, KvpFrame *);
10468 qof_instance_set_update_time (
QofInstance * inst, QofTime * time);
10469 # 44 "/usr/include/qof/qofbackend-p.h" 2
10470 # 1 "/usr/include/qof/qofquery.h" 1
10471 # 79 "/usr/include/qof/qofquery.h"
10472 # 1 "/usr/include/qof/qofquerycore.h" 1
10473 # 46 "/usr/include/qof/qofquerycore.h"
10481 QOF_COMPARE_LT = 1,
10495 QOF_STRING_MATCH_NORMAL = 1,
10496 QOF_STRING_MATCH_CASEINSENSITIVE
10498 # 78 "/usr/include/qof/qofquerycore.h"
10501 QOF_DATE_MATCH_NORMAL = 1,
10504 # 96 "/usr/include/qof/qofquerycore.h"
10507 QOF_NUMERIC_MATCH_DEBIT = 1,
10508 QOF_NUMERIC_MATCH_CREDIT,
10509 QOF_NUMERIC_MATCH_ANY
10517 QOF_GUID_MATCH_ANY = 1,
10518 QOF_GUID_MATCH_NONE,
10519 QOF_GUID_MATCH_NULL,
10522 QOF_GUID_MATCH_ALL,
10525 QOF_GUID_MATCH_LIST_ANY,
10527 # 127 "/usr/include/qof/qofquerycore.h"
10530 QOF_CHAR_MATCH_ANY = 1,
10531 QOF_CHAR_MATCH_NONE
10542 QofQueryCompare how;
10549 qof_query_string_predicate (QofQueryCompare how,
10551 QofStringMatch options,
10552 gboolean is_regex);
10555 qof_query_time_predicate (QofQueryCompare how,
10556 QofDateMatch options,
10560 qof_query_numeric_predicate (QofQueryCompare how,
10561 QofNumericMatch options,
10565 qof_query_guid_predicate (QofGuidMatch options,
10569 qof_query_int32_predicate (QofQueryCompare how, gint32 val);
10572 qof_query_int64_predicate (QofQueryCompare how, gint64 val);
10575 qof_query_double_predicate (QofQueryCompare how,
10579 qof_query_boolean_predicate (QofQueryCompare how,
10583 qof_query_char_predicate (QofCharMatch options,
10584 const gchar * chars);
10587 qof_query_collect_predicate (QofGuidMatch options,
10588 QofCollection * coll);
10591 qof_query_choice_predicate (QofGuidMatch options,
10599 qof_query_kvp_predicate (QofQueryCompare how,
10601 const KvpValue * value);
10606 qof_query_kvp_predicate_path (QofQueryCompare how,
10607 const gchar * path,
10608 const KvpValue * value);
10626 qof_query_core_to_string (QofType, gpointer
object,
10627 QofParam * getter);
10628 # 80 "/usr/include/qof/qofquery.h" 2
10629 # 1 "/usr/include/qof/qofchoice.h" 1
10630 # 94 "/usr/include/qof/qofchoice.h"
10631 # 1 "/usr/include/qof/qofobject.h" 1
10632 # 51 "/usr/include/qof/qofobject.h"
10633 # 1 "/usr/include/qof/qofchoice.h" 1
10634 # 52 "/usr/include/qof/qofobject.h" 2
10635 # 61 "/usr/include/qof/qofobject.h"
10637 typedef void (*QofForeachCB) (gpointer obj, gpointer user_data);
10638 typedef void (*QofForeachTypeCB) (
QofObject * type, gpointer user_data);
10639 typedef void (*QofForeachBackendTypeCB) (QofIdTypeConst type,
10640 gpointer backend_data,
10641 gpointer user_data);
10647 gint interface_version;
10649 const gchar *type_label;
10655 gpointer (*create) (QofBook *);
10660 void (*book_begin) (QofBook *);
10665 void (*book_end) (QofBook *);
10668 gboolean (*is_dirty) (QofCollection *);
10671 void (*mark_clean) (QofCollection *);
10672 # 105 "/usr/include/qof/qofobject.h"
10673 void (*
foreach) (QofCollection *, QofEntityForeachCB, gpointer);
10677 const gchar *(*printable) (gpointer instance);
10678 # 119 "/usr/include/qof/qofobject.h"
10679 gint (*version_cmp) (gpointer instance_left, gpointer instance_right);
10686 void qof_object_initialize (
void);
10687 void qof_object_shutdown (
void);
10691 gboolean qof_object_register (
const QofObject *
object);
10694 const QofObject *qof_object_lookup (QofIdTypeConst type_name);
10700 gpointer qof_object_new_instance (QofIdTypeConst type_name, QofBook * book);
10705 const gchar *qof_object_get_type_label (QofIdTypeConst type_name);
10708 const gchar *qof_object_printable (QofIdTypeConst type_name,
10709 gpointer instance);
10714 void qof_object_foreach_type (QofForeachTypeCB cb, gpointer user_data);
10721 void qof_object_foreach (QofIdTypeConst type_name, QofBook * book,
10722 QofEntityForeachCB cb, gpointer user_data);
10725 gboolean qof_object_register_backend (QofIdTypeConst type_name,
10726 const gchar * backend_name,
10729 gpointer qof_object_lookup_backend (QofIdTypeConst type_name,
10730 const gchar * backend_name);
10732 void qof_object_foreach_backend (
const char *backend_name,
10733 QofForeachBackendTypeCB cb,
10734 gpointer user_data);
10735 # 95 "/usr/include/qof/qofchoice.h" 2
10736 # 116 "/usr/include/qof/qofchoice.h"
10737 gboolean qof_object_is_choice (QofIdType type);
10740 gboolean qof_choice_create (gchar *type);
10741 # 130 "/usr/include/qof/qofchoice.h"
10743 qof_choice_add_class (gchar *choice, gchar *add, gchar *param_name);
10744 # 143 "/usr/include/qof/qofchoice.h"
10745 GList *qof_object_get_choices (QofIdType type, QofParam * param);
10746 # 154 "/usr/include/qof/qofchoice.h"
10748 qof_choice_check (gchar *choice_obj, gchar *param_name, gchar *choice);
10749 # 81 "/usr/include/qof/qofquery.h" 2
10754 typedef struct _QofQuery QofQuery;
10765 # 121 "/usr/include/qof/qofquery.h"
10766 void qof_query_init (
void);
10767 void qof_query_shutdown (
void);
10774 GSList *qof_query_build_param_list (gchar
const *param, ...);
10775 # 140 "/usr/include/qof/qofquery.h"
10776 QofQuery *qof_query_create (
void);
10779 QofQuery *qof_query_create_for (QofIdTypeConst obj_type);
10782 void qof_query_destroy (QofQuery * q);
10788 qof_query_search_for (QofQuery * query, QofIdTypeConst obj_type);
10789 # 163 "/usr/include/qof/qofquery.h"
10790 void qof_query_set_book (QofQuery * q, QofBook * book);
10791 # 191 "/usr/include/qof/qofquery.h"
10792 void qof_query_add_term (QofQuery * query,
GSList * param_list,
10796 void qof_query_add_guid_match (QofQuery * q,
GSList * param_list,
10797 const GUID * guid, QofQueryOp op);
10799 void qof_query_add_guid_list_match (QofQuery * q,
GSList * param_list,
10800 GList * guid_list, QofGuidMatch options,
10807 void qof_query_add_boolean_match (QofQuery * q,
10809 gboolean value, QofQueryOp op);
10810 # 220 "/usr/include/qof/qofquery.h"
10812 qof_query_run (QofQuery * query);
10819 qof_query_last_run (QofQuery * query);
10824 void qof_query_clear (QofQuery * query);
10831 void qof_query_purge_terms (QofQuery * q,
GSList * param_list);
10837 gint qof_query_has_terms (QofQuery * q);
10841 gint qof_query_num_terms (QofQuery * q);
10845 qof_query_has_term_type (QofQuery * q,
GSList * term_param);
10847 qof_query_get_term_type (QofQuery * q,
GSList * term_param);
10850 QofQuery *qof_query_copy (QofQuery * q);
10851 # 272 "/usr/include/qof/qofquery.h"
10853 qof_query_invert (QofQuery * q);
10854 # 290 "/usr/include/qof/qofquery.h"
10856 qof_query_merge (QofQuery * q1, QofQuery * q2, QofQueryOp op);
10862 qof_query_merge_in_place (QofQuery * q1, QofQuery * q2, QofQueryOp op);
10863 # 319 "/usr/include/qof/qofquery.h"
10864 void qof_query_set_sort_order (QofQuery * q,
10865 GSList * primary_sort_params,
10866 GSList * secondary_sort_params,
10867 GSList * tertiary_sort_params);
10869 void qof_query_set_sort_options (QofQuery * q, gint prim_op, gint sec_op,
10871 # 338 "/usr/include/qof/qofquery.h"
10873 qof_query_set_sort_increasing (QofQuery * q, gboolean prim_inc,
10874 gboolean sec_inc, gboolean tert_inc);
10875 # 352 "/usr/include/qof/qofquery.h"
10876 void qof_query_set_max_results (QofQuery * q, gint n);
10884 gboolean qof_query_equal (QofQuery * q1, QofQuery * q2);
10887 QofIdType qof_query_get_search_for (QofQuery * q);
10890 GList *qof_query_get_books (QofQuery * q);
10891 # 45 "/usr/include/qof/qofbackend-p.h" 2
10892 # 1 "/usr/include/qof/qofsession.h" 1
10893 # 104 "/usr/include/qof/qofsession.h"
10894 # 1 "/usr/include/qof/qofbackend.h" 1
10895 # 54 "/usr/include/qof/qofbackend.h"
10896 typedef gint32 QofErrorId;
10903 # 69 "/usr/include/qof/qofbackend.h"
10907 typedef void (*QofBePercentageFunc) (
const gchar * message,
double percent);
10908 # 83 "/usr/include/qof/qofbackend.h"
10911 gboolean qof_backend_begin_exists (
QofBackend * be);
10915 gboolean qof_backend_commit_exists (
QofBackend * be);
10916 # 114 "/usr/include/qof/qofbackend.h"
10921 const gchar *option_name;
10922 const gchar *description;
10923 const gchar *tooltip;
10928 void qof_backend_prepare_frame (
QofBackend * be);
10934 KvpFrame *qof_backend_complete_frame (
QofBackend * be);
10941 qof_backend_option_foreach (KvpFrame * config, QofBackendOptionCB cb,
10943 # 149 "/usr/include/qof/qofbackend.h"
10944 void qof_backend_load_config (
QofBackend * be, KvpFrame * config);
10945 # 168 "/usr/include/qof/qofbackend.h"
10946 KvpFrame *qof_backend_get_config (
QofBackend * be);
10947 # 181 "/usr/include/qof/qofbackend.h"
10949 qof_load_backend_library (
const gchar * directory,
10950 const gchar * filename,
const gchar * init_fcn);
10953 QofBackend *qof_book_get_backend (QofBook * book);
10959 void qof_book_set_backend (QofBook * book,
QofBackend *);
10960 # 105 "/usr/include/qof/qofsession.h" 2
10961 # 113 "/usr/include/qof/qofsession.h"
10962 typedef struct _QofSession QofSession;
10964 QofSession *qof_session_new (
void);
10966 void qof_session_destroy (QofSession * session);
10972 qof_session_swap_data (QofSession * session_1, QofSession * session_2);
10973 # 152 "/usr/include/qof/qofsession.h"
10974 void qof_session_begin (QofSession * session,
const gchar *book_id,
10975 gboolean ignore_lock, gboolean create_if_nonexistent);
10976 # 168 "/usr/include/qof/qofsession.h"
10977 typedef void (*QofPercentageFunc) (
const gchar *message, gdouble percent);
10978 void qof_session_load (QofSession * session,
10979 QofPercentageFunc percentage_func);
10980 # 179 "/usr/include/qof/qofsession.h"
10982 qof_session_add_book (QofSession * session, QofBook * book);
10985 qof_session_get_book (QofSession * session);
10986 # 199 "/usr/include/qof/qofsession.h"
10987 const gchar *qof_session_get_file_path (QofSession * session);
10989 const gchar *qof_session_get_url (QofSession * session);
10995 gboolean qof_session_not_saved (QofSession * session);
10998 gboolean qof_session_save_may_clobber_data (QofSession * session);
11006 void qof_session_save (QofSession * session,
11007 QofPercentageFunc percentage_func);
11008 # 228 "/usr/include/qof/qofsession.h"
11009 void qof_session_end (QofSession * session);
11010 # 277 "/usr/include/qof/qofsession.h"
11011 gboolean qof_entity_copy_to_session (QofSession * new_session,
11012 QofEntity * original);
11013 # 298 "/usr/include/qof/qofsession.h"
11014 gboolean qof_entity_copy_list (QofSession * new_session,
GList * entity_list);
11015 # 313 "/usr/include/qof/qofsession.h"
11016 gboolean qof_entity_copy_coll (QofSession * new_session,
11017 QofCollection * entity_coll);
11018 # 344 "/usr/include/qof/qofsession.h"
11020 qof_entity_copy_coll_r (QofSession * new_session, QofCollection * coll);
11021 # 366 "/usr/include/qof/qofsession.h"
11022 gboolean qof_entity_copy_one_r (QofSession * new_session, QofEntity * ent);
11023 # 395 "/usr/include/qof/qofsession.h"
11024 gboolean qof_session_events_pending (QofSession * session);
11030 gboolean qof_session_process_events (QofSession * session);
11031 # 410 "/usr/include/qof/qofsession.h"
11032 void qof_session_add_close_hook (GFunc fn, gpointer data);
11038 void qof_session_call_close_hooks (QofSession * session);
11039 # 46 "/usr/include/qof/qofbackend-p.h" 2
11040 # 238 "/usr/include/qof/qofbackend-p.h"
11044 const gchar *provider_name;
11050 const gchar *access_method;
11057 gboolean partial_book_supported;
11064 # 277 "/usr/include/qof/qofbackend-p.h"
11065 gboolean (*check_data_type) (
const gchar *);
11074 QofSession * session,
11075 const gchar * book_id,
11076 gboolean ignore_lock,
11077 gboolean create_if_nonexistent);
11084 gpointer (*compile_query) (
QofBackend *, QofQuery *);
11085 void (*free_query) (
QofBackend *, gpointer);
11088 void (*load_config) (
QofBackend *, KvpFrame *);
11090 gint64 (*counter) (
QofBackend *,
const gchar * counter_name);
11093 QofBePercentageFunc percentage;
11095 # 320 "/usr/include/qof/qofbackend-p.h"
11096 gboolean (*save_may_clobber_data) (
QofBackend *);
11100 GList * error_stack;
11103 KvpFrame *backend_configuration;
11111 # 343 "/usr/include/qof/qofbackend-p.h"
11121 gchar qof_book_get_open_marker (QofBook * book);
11122 # 361 "/usr/include/qof/qofbackend-p.h"
11123 gint32 qof_book_get_version (QofBook * book);
11129 guint32 qof_book_get_idata (QofBook * book);
11131 void qof_book_set_version (QofBook * book, gint32 version);
11133 void qof_book_set_idata (QofBook * book, guint32 idata);
11134 # 40 "/usr/include/qof/qofutil.h" 2
11135 # 139 "/usr/include/qof/qofutil.h"
11136 void qof_init (
void);
11144 void qof_close (
void);
11145 # 166 "/usr/include/qof/qofutil.h"
11146 gint safe_strcmp (
const gchar * da,
const gchar * db);
11147 # 180 "/usr/include/qof/qofutil.h"
11148 gint safe_strcasecmp (
const gchar * da,
const gchar * db);
11154 gint null_strcmp (
const gchar * da,
const gchar * db);
11159 extern gchar *strncasestr (
const guchar * str1,
const guchar * str2,
11161 # 201 "/usr/include/qof/qofutil.h"
11162 gchar *ultostr (gulong val, gint base);
11166 gboolean qof_util_string_isnum (
const guchar * s);
11170 qof_util_double_compare (gdouble v1, gdouble v2);
11171 # 219 "/usr/include/qof/qofutil.h"
11172 const gchar *qof_util_whitespace_filter (
const gchar * val);
11177 gint qof_util_bool_to_int (
const gchar * val);
11178 # 234 "/usr/include/qof/qofutil.h"
11180 qof_util_param_to_string (QofEntity * ent,
const QofParam * param);
11181 # 257 "/usr/include/qof/qofutil.h"
11183 qof_util_param_set_string (QofEntity * ent,
const QofParam * param,
11184 const gchar * value_string);
11185 # 270 "/usr/include/qof/qofutil.h"
11187 qof_util_make_utf8 (gchar *
string);
11188 # 303 "/usr/include/qof/qofutil.h"
11189 void qof_util_string_cache_destroy (
void);
11194 void qof_util_string_cache_remove (gconstpointer key);
11199 gpointer qof_util_string_cache_insert (gconstpointer key);
11200 # 364 "/usr/include/qof/qofutil.h"
11202 qof_util_param_edit (
QofInstance * inst,
const QofParam * param);
11203 # 381 "/usr/include/qof/qofutil.h"
11205 qof_util_param_commit (
QofInstance * inst,
const QofParam * param);
11206 # 40 "/usr/include/qof/qoflog.h" 2
11207 # 58 "/usr/include/qof/qoflog.h"
11208 typedef enum { QOF_LOG_FATAL = 0, QOF_LOG_ERROR = 1, QOF_LOG_WARNING = 2, QOF_LOG_INFO = 3, QOF_LOG_DEBUG = 4, QOF_LOG_DETAIL = 5, QOF_LOG_TRACE = 6, }QofLogLevel;
11214 const gchar* QofLogLevelasString(QofLogLevel n);
11220 QofLogLevel QofLogLevelfromString (
const gchar* str);
11223 void qof_log_add_indent (
void);
11226 gint qof_log_get_indent (
void);
11232 void qof_log_drop_indent (
void);
11233 # 94 "/usr/include/qof/qoflog.h"
11234 void qof_log_init (
void);
11241 void qof_log_set_level (QofLogModule module, QofLogLevel level);
11242 # 123 "/usr/include/qof/qoflog.h"
11243 void qof_log_set_level_registered (QofLogLevel level);
11251 void qof_log_set_file (
FILE * outfile);
11257 void qof_log_init_filename (
const gchar * logfilename);
11260 void qof_log_shutdown (
void);
11265 const gchar *qof_log_prettify (
const gchar * name);
11268 gboolean qof_log_check (QofLogModule log_module, QofLogLevel log_level);
11271 void qof_log_set_default (QofLogLevel log_level);
11273 typedef void (*QofLogCB) (QofLogModule log_module,
11274 QofLogLevel * log_level, gpointer user_data);
11281 void qof_log_module_foreach (QofLogCB cb, gpointer data);
11284 gint qof_log_module_count (
void);
11285 # 70 "/usr/include/qof/qof.h" 2
11292 # 1 "/usr/include/qof/kvputil.h" 1
11293 # 37 "/usr/include/qof/kvputil.h"
11299 # 57 "/usr/include/qof/kvputil.h"
11300 GSList *g_hash_table_key_value_pairs (GHashTable * table);
11301 void g_hash_table_kv_pair_free_gfunc (gpointer data, gpointer user_data);
11302 # 75 "/usr/include/qof/kvputil.h"
11303 void kvp_frame_add_url_encoding (KvpFrame * frame,
const gchar * enc);
11310 gint kvp_frame_compare (
const KvpFrame * fa,
const KvpFrame * fb);
11312 gchar *kvp_frame_to_string (
const KvpFrame * frame);
11313 gchar *binary_to_string (
const void *data, guint32 size);
11314 gchar *kvp_value_glist_to_string (
const GList * list);
11315 GHashTable *kvp_frame_get_hash (
const KvpFrame * frame);
11316 # 125 "/usr/include/qof/kvputil.h"
11318 qof_kvp_bag_add (KvpFrame * kvp_root,
const gchar *path,
11319 QofTime *qt,
const gchar *first_name, ...);
11327 qof_kvp_bag_merge (KvpFrame * kvp_into,
const gchar *intopath,
11328 KvpFrame * kvp_from,
const gchar *frompath);
11329 # 147 "/usr/include/qof/kvputil.h"
11331 qof_kvp_bag_find_by_guid (KvpFrame * root,
const gchar *path,
11332 const gchar *guid_name,
11333 GUID * desired_guid);
11334 # 159 "/usr/include/qof/kvputil.h"
11336 qof_kvp_bag_remove_frame (KvpFrame * root,
const gchar *path,
11338 # 77 "/usr/include/qof/qof.h" 2
11340 # 1 "/usr/include/qof/qofid-p.h" 1
11341 # 41 "/usr/include/qof/qofid-p.h"
11342 void qof_entity_set_guid (QofEntity * ent,
const GUID * guid);
11348 void qof_collection_insert_entity (QofCollection *, QofEntity *);
11351 void qof_collection_mark_clean (QofCollection *);
11352 void qof_collection_mark_dirty (QofCollection *);
11353 # 79 "/usr/include/qof/qof.h" 2
11357 # 1 "/usr/include/qof/qofevent.h" 1
11358 # 40 "/usr/include/qof/qofevent.h"
11359 typedef gint QofEventId;
11360 # 104 "/usr/include/qof/qofevent.h"
11361 typedef void (*QofEventHandler) (QofEntity * ent, QofEventId event_type,
11362 gpointer handler_data, gpointer event_data);
11363 # 114 "/usr/include/qof/qofevent.h"
11364 gint qof_event_register_handler (QofEventHandler handler,
11365 gpointer handler_data);
11371 void qof_event_unregister_handler (gint handler_id);
11372 # 144 "/usr/include/qof/qofevent.h"
11373 void qof_event_gen (QofEntity * entity, QofEventId event_type,
11374 gpointer event_data);
11382 void qof_event_suspend (
void);
11385 void qof_event_resume (
void);
11386 # 83 "/usr/include/qof/qof.h" 2
11390 # 1 "/usr/include/qof/qoferror.h" 1
11391 # 118 "/usr/include/qof/qoferror.h"
11392 typedef struct QofError_s QofError;
11393 # 157 "/usr/include/qof/qoferror.h"
11395 qof_error_register (
const gchar * err_message, gboolean use_file);
11396 # 167 "/usr/include/qof/qoferror.h"
11398 qof_error_unregister (QofErrorId
id);
11406 qof_error_set (QofSession * session, QofErrorId error);
11409 qof_error_set_be (
QofBackend * be, QofErrorId error);
11417 qof_error_clear (QofSession * session);
11418 # 196 "/usr/include/qof/qoferror.h"
11424 qof_error_check (QofSession * session);
11425 # 213 "/usr/include/qof/qoferror.h"
11431 qof_error_get_time (QofSession * session);
11432 # 230 "/usr/include/qof/qoferror.h"
11438 qof_error_get_id (QofSession * session);
11439 # 247 "/usr/include/qof/qoferror.h"
11445 qof_error_get_message (QofSession * session);
11446 # 87 "/usr/include/qof/qof.h" 2
11448 # 1 "/usr/include/qof/qofsql.h" 1
11449 # 127 "/usr/include/qof/qofsql.h"
11450 typedef struct _QofSqlQuery QofSqlQuery;
11454 QofSqlQuery *qof_sql_query_new (
void);
11455 void qof_sql_query_destroy (QofSqlQuery *);
11461 void qof_sql_query_set_book (QofSqlQuery * q, QofBook * book);
11462 # 152 "/usr/include/qof/qofsql.h"
11463 GList *qof_sql_query_run (QofSqlQuery * query,
const gchar * str);
11470 void qof_sql_query_parse (QofSqlQuery * query,
const gchar * str);
11473 QofQuery *qof_sql_query_get_query (QofSqlQuery *);
11481 GList *qof_sql_query_rerun (QofSqlQuery * query);
11482 # 196 "/usr/include/qof/qofsql.h"
11483 void qof_sql_query_set_kvp (QofSqlQuery *, KvpFrame *);
11484 # 89 "/usr/include/qof/qof.h" 2
11486 # 1 "/usr/include/qof/qofbookmerge.h" 1
11487 # 125 "/usr/include/qof/qofbookmerge.h"
11501 } QofBookMergeResult;
11502 # 164 "/usr/include/qof/qofbookmerge.h"
11506 gboolean mergeAbsolute;
11513 QofIdType mergeType;
11515 const gchar *mergeLabel;
11519 # 188 "/usr/include/qof/qofbookmerge.h"
11520 QofBookMergeResult mergeResult;
11521 QofEntity *importEnt;
11522 QofEntity *targetEnt;
11525 # 209 "/usr/include/qof/qofbookmerge.h"
11528 GSList *mergeObjectParams;
11534 QofBook *mergeBook;
11536 QofBook *targetBook;
11549 GHashTable *target_table;
11553 # 274 "/usr/include/qof/qofbookmerge.h"
11555 QofBook * targetBook);
11556 # 321 "/usr/include/qof/qofbookmerge.h"
11559 # 348 "/usr/include/qof/qofbookmerge.h"
11560 void qof_book_merge_rule_foreach (QofBookMergeData * mergeData,
11561 QofBookMergeRuleForeachCB callback,
11562 QofBookMergeResult mergeResult);
11563 # 431 "/usr/include/qof/qofbookmerge.h"
11564 QofBookMergeData *qof_book_merge_update_result (QofBookMergeData * mergeData,
11565 QofBookMergeResult tag);
11566 # 467 "/usr/include/qof/qofbookmerge.h"
11567 gint qof_book_merge_commit (QofBookMergeData * mergeData);
11568 # 476 "/usr/include/qof/qofbookmerge.h"
11569 void qof_book_merge_abort (QofBookMergeData * mergeData);
11570 # 91 "/usr/include/qof/qof.h" 2
11571 # 1 "/usr/include/qof/qofreference.h" 1
11572 # 105 "/usr/include/qof/qofreference.h"
11575 QofIdType choice_type;
11581 const QofParam *param;
11583 const GUID *ent_guid;
11585 # 125 "/usr/include/qof/qofreference.h"
11587 qof_session_update_reference_list (QofSession * session,
11589 # 170 "/usr/include/qof/qofreference.h"
11590 void qof_book_set_references (QofBook * book);
11591 # 206 "/usr/include/qof/qofreference.h"
11593 qof_entity_get_reference_from (QofEntity * ent,
11594 const QofParam * param);
11595 # 92 "/usr/include/qof/qof.h" 2
11596 # 1 "/usr/include/qof/qofundo.h" 1
11597 # 104 "/usr/include/qof/qofundo.h"
11599 qof_undo_set_param (QofEntity * ent,
const QofParam * param,
11601 # 115 "/usr/include/qof/qofundo.h"
11603 qof_undo_modify (
QofInstance * inst,
const QofParam * param);
11604 # 125 "/usr/include/qof/qofundo.h"
11606 qof_undo_commit (
QofInstance * inst,
const QofParam * param);
11607 # 136 "/usr/include/qof/qofundo.h"
11609 # 148 "/usr/include/qof/qofundo.h"
11618 void qof_book_clear_undo (QofBook * book);
11621 void qof_book_undo (QofBook * book);
11624 void qof_book_redo (QofBook * book);
11631 gboolean qof_book_can_undo (QofBook * book);
11638 gboolean qof_book_can_redo (QofBook * book);
11643 void qof_book_start_operation (QofBook * book, gchar * label);
11646 void qof_book_end_operation (QofBook * book);
11650 qof_book_undo_first_modified (QofBook * book);
11653 gint qof_book_undo_count (QofBook * book);
11654 # 93 "/usr/include/qof/qof.h" 2
11655 # 78 "qof-expenses.h" 2
11656 # 105 "qof-expenses.h"
11659 typedef void (*QofCurrencyCB) (gpointer key, gpointer value, gpointer user_data);
11661 void qof_currency_foreach(QofCurrencyCB cb, gpointer user_data);
11676 const gchar* symbol;
11678 const gchar* mnemonic;
11684 # 150 "qof-expenses.h"
11696 # 206 "qof-expenses.h"
11697 typedef enum { Miles = 0, Kilometers , }ExpenseDistance;
11698 # 239 "qof-expenses.h"
11699 typedef enum { AmericanExpress = 0, Cash = 1, Cheque , CreditCard , MasterCard , Prepaid , VISA , Unfiled , }
ExpensePayment;
11700 # 273 "qof-expenses.h"
11701 typedef enum { Airfare = 0, Breakfast = 1, Bus = 2, BusinessMeals , CarRental , Dinner , Entertainment , Fax , Gas , Gifts , Hotel , Incidentals , Laundry , Limo , Lodging , Lunch , Mileage , Other , Parking , Postage , Snack , Subway , Supplies , Taxi , Telephone , Tips , Tolls , Train , }
ExpenseType;
11703 const gchar* ExpenseDistanceasString(ExpenseDistance n);
11704 ExpenseDistance ExpenseDistancefromString (
const gchar* str);
11708 ExpenseType ExpenseTypefromString (
const gchar* str);
11709 # 295 "qof-expenses.h"
11711 # 61 "translate.c" 2
11713 static void __attribute__((__unused__)) ExpenseTypetranslate (
void) { gchar * __attribute__((__unused__)) Airfarenoop = dgettext ("qofexpensesobjects", "Airfare"); gchar * __attribute__((__unused__)) Breakfastnoop = dgettext ("qofexpensesobjects", "Breakfast"); gchar * __attribute__((__unused__)) Busnoop = dgettext ("qofexpensesobjects", "Bus"); gchar * __attribute__((__unused__)) BusinessMealsnoop = dgettext ("qofexpensesobjects", "BusinessMeals"); gchar * __attribute__((__unused__)) CarRentalnoop = dgettext ("qofexpensesobjects", "CarRental"); gchar * __attribute__((__unused__)) Dinnernoop = dgettext ("qofexpensesobjects", "Dinner"); gchar * __attribute__((__unused__)) Entertainmentnoop = dgettext ("qofexpensesobjects", "Entertainment"); gchar * __attribute__((__unused__)) Faxnoop = dgettext ("qofexpensesobjects", "Fax"); gchar * __attribute__((__unused__)) Gasnoop = dgettext ("qofexpensesobjects", "Gas"); gchar * __attribute__((__unused__)) Giftsnoop = dgettext ("qofexpensesobjects", "Gifts"); gchar * __attribute__((__unused__)) Hotelnoop = dgettext ("qofexpensesobjects", "Hotel"); gchar * __attribute__((__unused__)) Incidentalsnoop = dgettext ("qofexpensesobjects", "Incidentals"); gchar * __attribute__((__unused__)) Laundrynoop = dgettext ("qofexpensesobjects", "Laundry"); gchar * __attribute__((__unused__)) Limonoop = dgettext ("qofexpensesobjects", "Limo"); gchar * __attribute__((__unused__)) Lodgingnoop = dgettext ("qofexpensesobjects", "Lodging"); gchar * __attribute__((__unused__)) Lunchnoop = dgettext ("qofexpensesobjects", "Lunch"); gchar * __attribute__((__unused__)) Mileagenoop = dgettext ("qofexpensesobjects", "Mileage"); gchar * __attribute__((__unused__)) Othernoop = dgettext ("qofexpensesobjects", "Other"); gchar * __attribute__((__unused__)) Parkingnoop = dgettext ("qofexpensesobjects", "Parking"); gchar * __attribute__((__unused__)) Postagenoop = dgettext ("qofexpensesobjects", "Postage"); gchar * __attribute__((__unused__)) Snacknoop = dgettext ("qofexpensesobjects", "Snack"); gchar * __attribute__((__unused__)) Subwaynoop = dgettext ("qofexpensesobjects", "Subway"); gchar * __attribute__((__unused__)) Suppliesnoop = dgettext ("qofexpensesobjects", "Supplies"); gchar * __attribute__((__unused__)) Taxinoop = dgettext ("qofexpensesobjects", "Taxi"); gchar * __attribute__((__unused__)) Telephonenoop = dgettext ("qofexpensesobjects", "Telephone"); gchar * __attribute__((__unused__)) Tipsnoop = dgettext ("qofexpensesobjects", "Tips"); gchar * __attribute__((__unused__)) Tollsnoop = dgettext ("qofexpensesobjects", "Tolls"); gchar * __attribute__((__unused__)) Trainnoop = dgettext ("qofexpensesobjects", "Train"); }
11715 static
void __attribute__((__unused__)) ExpensePaymenttranslate (
void) { gchar * __attribute__((__unused__)) AmericanExpressnoop = dgettext ("qofexpensesobjects", "AmericanExpress"); gchar * __attribute__((__unused__)) Cashnoop = dgettext ("qofexpensesobjects", "Cash"); gchar * __attribute__((__unused__)) Chequenoop = dgettext ("qofexpensesobjects", "Cheque"); gchar * __attribute__((__unused__)) CreditCardnoop = dgettext ("qofexpensesobjects", "CreditCard"); gchar * __attribute__((__unused__)) MasterCardnoop = dgettext ("qofexpensesobjects", "MasterCard"); gchar * __attribute__((__unused__)) Prepaidnoop = dgettext ("qofexpensesobjects", "Prepaid"); gchar * __attribute__((__unused__)) VISAnoop = dgettext ("qofexpensesobjects", "VISA"); gchar * __attribute__((__unused__)) Unfilednoop = dgettext ("qofexpensesobjects", "Unfiled"); }