gpe-expenses  0.1.9
translate.h
1 # 1 "translate.c"
2 # 1 "<built-in>"
3 # 1 "<command-line>"
4 # 1 "translate.c"
5 # 57 "translate.c"
6 # 1 "../config.h" 1
7 # 58 "translate.c" 2
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
22 
23 
24 
25 # 1 "/usr/include/bits/wordsize.h" 1 3 4
26 # 5 "/usr/include/gnu/stubs.h" 2 3 4
27 
28 
29 
30 
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
36 
37 
38 
39 
40 
41 extern char *gettext (__const char *__msgid)
42  __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (1)));
43 
44 
45 
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)));
50 
51 
52 
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)));
59 
60 
61 
62 
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)));
66 
67 
68 
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)));
72 
73 
74 
75 extern char *dcngettext (__const char *__domainname, __const char *__msgid1,
76  __const char *__msgid2, unsigned long int __n,
77  int __category)
78  __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3)));
79 
80 
81 
82 
83 
84 extern char *textdomain (__const char *__domainname) __attribute__ ((__nothrow__));
85 
86 
87 
88 extern char *bindtextdomain (__const char *__domainname,
89  __const char *__dirname) __attribute__ ((__nothrow__));
90 
91 
92 
93 extern char *bind_textdomain_codeset (__const char *__domainname,
94  __const char *__codeset) __attribute__ ((__nothrow__));
95 # 122 "/usr/include/libintl.h" 3 4
96 
97 # 59 "translate.c" 2
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
104 enum
105 {
106  __LC_CTYPE = 0,
107  __LC_NUMERIC = 1,
108  __LC_TIME = 2,
109  __LC_COLLATE = 3,
110  __LC_MONETARY = 4,
111  __LC_MESSAGES = 5,
112  __LC_ALL = 6,
113  __LC_PAPER = 7,
114  __LC_NAME = 8,
115  __LC_ADDRESS = 9,
116  __LC_TELEPHONE = 10,
117  __LC_MEASUREMENT = 11,
118  __LC_IDENTIFICATION = 12
119 };
120 # 31 "/usr/include/locale.h" 2 3 4
121 
122 
123 # 51 "/usr/include/locale.h" 3 4
124 
125 
126 
127 struct lconv
128 {
129 
130 
131  char *decimal_point;
132  char *thousands_sep;
133 
134 
135 
136 
137 
138  char *grouping;
139 
140 
141 
142 
143 
144  char *int_curr_symbol;
145  char *currency_symbol;
146  char *mon_decimal_point;
147  char *mon_thousands_sep;
148  char *mon_grouping;
149  char *positive_sign;
150  char *negative_sign;
151  char int_frac_digits;
152  char frac_digits;
153 
154  char p_cs_precedes;
155 
156  char p_sep_by_space;
157 
158  char n_cs_precedes;
159 
160  char n_sep_by_space;
161 
162 
163 
164 
165 
166 
167  char p_sign_posn;
168  char n_sign_posn;
169 
170 
171  char int_p_cs_precedes;
172 
173  char int_p_sep_by_space;
174 
175  char int_n_cs_precedes;
176 
177  char int_n_sep_by_space;
178 
179 
180 
181 
182 
183 
184  char int_p_sign_posn;
185  char int_n_sign_posn;
186 # 121 "/usr/include/locale.h" 3 4
187 };
188 
189 
190 
191 extern char *setlocale (int __category, __const char *__locale) __attribute__ ((__nothrow__));
192 
193 
194 extern struct lconv *localeconv (void) __attribute__ ((__nothrow__));
195 
196 
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
200 typedef struct __locale_struct
201 {
202 
203  struct __locale_data *__locales[13];
204 
205 
206  const unsigned short int *__ctype_b;
207  const int *__ctype_tolower;
208  const int *__ctype_toupper;
209 
210 
211  const char *__names[13];
212 } *__locale_t;
213 
214 
215 typedef __locale_t locale_t;
216 # 147 "/usr/include/locale.h" 2 3 4
217 
218 
219 
220 
221 
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
225 extern __locale_t duplocale (__locale_t __dataset) __attribute__ ((__nothrow__));
226 
227 
228 
229 extern void freelocale (__locale_t __dataset) __attribute__ ((__nothrow__));
230 
231 
232 
233 
234 
235 
236 extern __locale_t uselocale (__locale_t __dataset) __attribute__ ((__nothrow__));
237 
238 
239 
240 
241 
242 
243 
244 
245 # 60 "translate.c" 2
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
264 typedef int wchar_t;
265 # 41 "/usr/include/glib-2.0/glib/gmacros.h" 2
266 # 10 "/usr/lib/glib-2.0/include/glibconfig.h" 2
267 
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
271 
272 
273 
274 
275 
276 
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
289 
290 
291 
292 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4
293 # 150 "/usr/include/limits.h" 2 3 4
294 
295 
296 
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"
309 
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;
315 
316 
317 
318 typedef signed int gint32;
319 typedef unsigned int guint32;
320 
321 
322 
323 
324 
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"
336 typedef struct _GStaticMutex GStaticMutex;
338 {
339  struct _GMutex *runtime_mutex;
340  union {
341  char pad[40];
342  double dummy_double;
343  void *dummy_pointer;
344  long dummy_long;
345  } static_mutex;
346 };
347 # 179 "/usr/lib/glib-2.0/include/glibconfig.h"
348 typedef union _GSystemThread GSystemThread;
350 {
351  char data[8];
352  double dummy_double;
353  void *dummy_pointer;
354  long dummy_long;
355 };
356 # 232 "/usr/lib/glib-2.0/include/glibconfig.h"
357 typedef int GPid;
358 # 242 "/usr/lib/glib-2.0/include/glibconfig.h"
359 
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
365 
366 
367 
368 
369 
370 
371 
372 
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
375 
376 
377 
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
385 
386 
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;
391 
392 
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;
399 
400 typedef signed long int __int64_t;
401 typedef unsigned long int __uint64_t;
402 
403 
404 
405 
406 
407 
408 
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
414 
415 
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;
425 typedef int __pid_t;
426 typedef struct { int __val[2]; } __fsid_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;
434 
435 typedef int __daddr_t;
436 typedef long int __swblk_t;
437 typedef int __key_t;
438 
439 
440 typedef int __clockid_t;
441 
442 
443 typedef void * __timer_t;
444 
445 
446 typedef long int __blksize_t;
447 
448 
449 
450 
451 typedef long int __blkcnt_t;
452 typedef long int __blkcnt64_t;
453 
454 
455 typedef unsigned long int __fsblkcnt_t;
456 typedef unsigned long int __fsblkcnt64_t;
457 
458 
459 typedef unsigned long int __fsfilcnt_t;
460 typedef unsigned long int __fsfilcnt64_t;
461 
462 typedef long int __ssize_t;
463 
464 
465 
466 typedef __off64_t __loff_t;
467 typedef __quad_t *__qaddr_t;
468 typedef char *__caddr_t;
469 
470 
471 typedef long int __intptr_t;
472 
473 
474 typedef unsigned int __socklen_t;
475 # 57 "/usr/include/time.h" 2 3 4
476 
477 
478 
479 typedef __clock_t clock_t;
480 
481 
482 
483 # 74 "/usr/include/time.h" 3 4
484 
485 
486 typedef __time_t time_t;
487 
488 
489 
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
495 struct timespec
496  {
497  __time_t tv_sec;
498  long int tv_nsec;
499  };
500 
501 
502 
503 
504 
505 
506 
507 
508 struct tm
509 {
510  int tm_sec;
511  int tm_min;
512  int tm_hour;
513  int tm_mday;
514  int tm_mon;
515  int tm_year;
516  int tm_wday;
517  int tm_yday;
518  int tm_isdst;
519 
520 
521  long int tm_gmtoff;
522  __const char *tm_zone;
523 
524 
525 
526 
527 };
528 
529 
530 
531 
532 
533 
534 
535 
537  {
538  struct timespec it_interval;
539  struct timespec it_value;
540  };
541 
542 
543 struct sigevent;
544 
545 
546 
547 
548 
549 typedef __pid_t pid_t;
550 
551 
552 
553 
554 
555 
556 
557 
558 extern clock_t clock (void) __attribute__ ((__nothrow__));
559 
560 
561 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
562 
563 
564 extern double difftime (time_t __time1, time_t __time0)
565  __attribute__ ((__nothrow__)) __attribute__ ((__const__));
566 
567 
568 extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
569 
570 
571 
572 
573 
574 extern size_t strftime (char *__restrict __s, size_t __maxsize,
575  __const char *__restrict __format,
576  __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
577 
578 
579 
580 
581 
582 extern char *strptime (__const char *__restrict __s,
583  __const char *__restrict __fmt, struct tm *__tp)
584  __attribute__ ((__nothrow__));
585 
586 
587 
588 
589 
590 
591 
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__));
596 
597 
598 
599 extern char *strptime_l (__const char *__restrict __s,
600  __const char *__restrict __fmt, struct tm *__tp,
601  __locale_t __loc) __attribute__ ((__nothrow__));
602 
603 
604 
605 
606 
607 
608 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
609 
610 
611 
612 extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
613 
614 
615 
616 
617 
618 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
619  struct tm *__restrict __tp) __attribute__ ((__nothrow__));
620 
621 
622 
623 extern struct tm *localtime_r (__const time_t *__restrict __timer,
624  struct tm *__restrict __tp) __attribute__ ((__nothrow__));
625 
626 
627 
628 
629 
630 extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
631 
632 
633 extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
634 
635 
636 
637 
638 
639 
640 
641 extern char *asctime_r (__const struct tm *__restrict __tp,
642  char *__restrict __buf) __attribute__ ((__nothrow__));
643 
644 
645 extern char *ctime_r (__const time_t *__restrict __timer,
646  char *__restrict __buf) __attribute__ ((__nothrow__));
647 
648 
649 
650 
651 extern char *__tzname[2];
652 extern int __daylight;
653 extern long int __timezone;
654 
655 
656 
657 
658 extern char *tzname[2];
659 
660 
661 
662 extern void tzset (void) __attribute__ ((__nothrow__));
663 
664 
665 
666 extern int daylight;
667 extern long int timezone;
668 
669 
670 
671 
672 
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__));
676 
677 
678 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
679 
680 
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,
684  struct timespec *__remaining);
685 
686 
687 
688 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
689 
690 
691 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
692 
693 
694 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
695  __attribute__ ((__nothrow__));
696 
697 
698 
699 
700 
701 
702 extern int clock_nanosleep (clockid_t __clock_id, int __flags,
703  __const struct timespec *__req,
704  struct timespec *__rem);
705 
706 
707 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
708 
709 
710 
711 
712 extern int timer_create (clockid_t __clock_id,
713  struct sigevent *__restrict __evp,
714  timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
715 
716 
717 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
718 
719 
720 extern int timer_settime (timer_t __timerid, int __flags,
721  __const struct itimerspec *__restrict __value,
722  struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
723 
724 
725 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
726  __attribute__ ((__nothrow__));
727 
728 
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);
737 
738 
739 
740 # 37 "/usr/include/glib-2.0/glib/gtypes.h" 2
741 
742 
743 # 47 "/usr/include/glib-2.0/glib/gtypes.h"
744 typedef char gchar;
745 typedef short gshort;
746 typedef long glong;
747 typedef int gint;
748 typedef gint gboolean;
749 
750 typedef unsigned char guchar;
751 typedef unsigned short gushort;
752 typedef unsigned long gulong;
753 typedef unsigned int guint;
754 
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;
760 
761 typedef gint (*GCompareFunc) (gconstpointer a,
762  gconstpointer b);
763 typedef gint (*GCompareDataFunc) (gconstpointer a,
764  gconstpointer b,
765  gpointer user_data);
766 typedef gboolean (*GEqualFunc) (gconstpointer a,
767  gconstpointer b);
768 typedef void (*GDestroyNotify) (gpointer data);
769 typedef void (*GFunc) (gpointer data,
770  gpointer user_data);
771 typedef guint (*GHashFunc) (gconstpointer key);
772 typedef void (*GHFunc) (gpointer key,
773  gpointer value,
774  gpointer user_data);
775 typedef void (*GFreeFunc) (gpointer data);
776 # 109 "/usr/include/glib-2.0/glib/gtypes.h"
777 typedef const gchar * (*GTranslateFunc) (const gchar *str,
778  gpointer data);
779 # 369 "/usr/include/glib-2.0/glib/gtypes.h"
780 typedef union _GDoubleIEEE754 GDoubleIEEE754;
781 typedef union _GFloatIEEE754 GFloatIEEE754;
782 
783 
784 
785 
786 
788 {
789  gfloat v_float;
790  struct {
791  guint mantissa : 23;
792  guint biased_exponent : 8;
793  guint sign : 1;
794  } mpn;
795 };
797 {
798  gdouble v_double;
799  struct {
800  guint mantissa_low : 32;
801  guint mantissa_high : 20;
802  guint biased_exponent : 11;
803  guint sign : 1;
804  } mpn;
805 };
806 # 419 "/usr/include/glib-2.0/glib/gtypes.h"
807 typedef struct _GTimeVal GTimeVal;
808 
809 struct _GTimeVal
810 {
811  glong tv_sec;
812  glong tv_usec;
813 };
814 
815 
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
822 
823 
824 
825 typedef struct _GArray GArray;
826 typedef struct _GByteArray GByteArray;
827 typedef struct _GPtrArray GPtrArray;
828 
829 struct _GArray
830 {
831  gchar *data;
832  guint len;
833 };
834 
836 {
837  guint8 *data;
838  guint len;
839 };
840 
842 {
843  gpointer *pdata;
844  guint len;
845 };
846 # 70 "/usr/include/glib-2.0/glib/garray.h"
847 GArray* g_array_new (gboolean zero_terminated,
848  gboolean clear_,
849  guint element_size);
850 GArray* g_array_sized_new (gboolean zero_terminated,
851  gboolean clear_,
852  guint element_size,
853  guint reserved_size);
854 gchar* g_array_free (GArray *array,
855  gboolean free_segment);
856 GArray *g_array_ref (GArray *array);
857 void g_array_unref (GArray *array);
858 guint g_array_get_element_size (GArray *array);
859 GArray* g_array_append_vals (GArray *array,
860  gconstpointer data,
861  guint len);
862 GArray* g_array_prepend_vals (GArray *array,
863  gconstpointer data,
864  guint len);
865 GArray* g_array_insert_vals (GArray *array,
866  guint index_,
867  gconstpointer data,
868  guint len);
869 GArray* g_array_set_size (GArray *array,
870  guint length);
871 GArray* g_array_remove_index (GArray *array,
872  guint index_);
873 GArray* g_array_remove_index_fast (GArray *array,
874  guint index_);
875 GArray* g_array_remove_range (GArray *array,
876  guint index_,
877  guint length);
878 void g_array_sort (GArray *array,
879  GCompareFunc compare_func);
880 void g_array_sort_with_data (GArray *array,
881  GCompareDataFunc compare_func,
882  gpointer user_data);
883 
884 
885 
886 
887 
888 
889 GPtrArray* g_ptr_array_new (void);
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,
893  gboolean free_seg);
894 GPtrArray* g_ptr_array_ref (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,
899  gint length);
900 gpointer g_ptr_array_remove_index (GPtrArray *array,
901  guint index_);
902 gpointer g_ptr_array_remove_index_fast (GPtrArray *array,
903  guint index_);
904 gboolean g_ptr_array_remove (GPtrArray *array,
905  gpointer data);
906 gboolean g_ptr_array_remove_fast (GPtrArray *array,
907  gpointer data);
908 void g_ptr_array_remove_range (GPtrArray *array,
909  guint index_,
910  guint length);
911 void g_ptr_array_add (GPtrArray *array,
912  gpointer data);
913 void g_ptr_array_sort (GPtrArray *array,
914  GCompareFunc compare_func);
915 void g_ptr_array_sort_with_data (GPtrArray *array,
916  GCompareDataFunc compare_func,
917  gpointer user_data);
918 void g_ptr_array_foreach (GPtrArray *array,
919  GFunc func,
920  gpointer user_data);
921 
922 
923 
924 
925 
926 
927 GByteArray* g_byte_array_new (void);
928 GByteArray* g_byte_array_sized_new (guint reserved_size);
929 guint8* g_byte_array_free (GByteArray *array,
930  gboolean free_segment);
931 GByteArray *g_byte_array_ref (GByteArray *array);
932 void g_byte_array_unref (GByteArray *array);
933 GByteArray* g_byte_array_append (GByteArray *array,
934  const guint8 *data,
935  guint len);
936 GByteArray* g_byte_array_prepend (GByteArray *array,
937  const guint8 *data,
938  guint len);
939 GByteArray* g_byte_array_set_size (GByteArray *array,
940  guint length);
941 GByteArray* g_byte_array_remove_index (GByteArray *array,
942  guint index_);
943 GByteArray* g_byte_array_remove_index_fast (GByteArray *array,
944  guint index_);
945 GByteArray* g_byte_array_remove_range (GByteArray *array,
946  guint index_,
947  guint length);
948 void g_byte_array_sort (GByteArray *array,
949  GCompareFunc compare_func);
950 void g_byte_array_sort_with_data (GByteArray *array,
951  GCompareDataFunc compare_func,
952  gpointer user_data);
953 
954 
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
968 
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
973 
974 
975 
976 typedef guint32 GQuark;
977 
978 
979 
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__));
984 
985 const gchar* g_intern_string (const gchar *string);
986 const gchar* g_intern_static_string (const gchar *string);
987 
988 
989 # 31 "/usr/include/glib-2.0/glib/gerror.h" 2
990 
991 
992 
993 typedef struct _GError GError;
994 
995 struct _GError
996 {
997  GQuark domain;
998  gint code;
999  gchar *message;
1000 };
1001 
1002 GError* g_error_new (GQuark domain,
1003  gint code,
1004  const gchar *format,
1005  ...) __attribute__((__format__ (__printf__, 3, 4)));
1006 
1007 GError* g_error_new_literal (GQuark domain,
1008  gint code,
1009  const gchar *message);
1010 GError* g_error_new_valist (GQuark domain,
1011  gint code,
1012  const gchar *format,
1013  va_list args);
1014 
1015 void g_error_free (GError *error);
1016 GError* g_error_copy (const GError *error);
1017 
1018 gboolean g_error_matches (const GError *error,
1019  GQuark domain,
1020  gint code);
1021 
1022 
1023 
1024 
1025 void g_set_error (GError **err,
1026  GQuark domain,
1027  gint code,
1028  const gchar *format,
1029  ...) __attribute__((__format__ (__printf__, 4, 5)));
1030 
1031 void g_set_error_literal (GError **err,
1032  GQuark domain,
1033  gint code,
1034  const gchar *message);
1035 
1036 
1037 
1038 void g_propagate_error (GError **dest,
1039  GError *src);
1040 
1041 
1042 void g_clear_error (GError **err);
1043 
1044 
1045 void g_prefix_error (GError **err,
1046  const gchar *format,
1047  ...) __attribute__((__format__ (__printf__, 2, 3)));
1048 
1049 
1050 void g_propagate_prefixed_error (GError **dest,
1051  GError *src,
1052  const gchar *format,
1053  ...) __attribute__((__format__ (__printf__, 3, 4)));
1054 
1055 
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
1061 
1062 
1063 
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);
1074 
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);
1082 
1083 const gchar * g_get_user_runtime_dir (void);
1084 
1085 const gchar* const * g_get_language_names (void);
1086 
1087 gchar **g_get_locale_variants (const gchar *locale);
1088 # 184 "/usr/include/glib-2.0/glib/gutils.h"
1089 typedef enum {
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,
1098 
1099  G_USER_N_DIRECTORIES
1100 } GUserDirectory;
1101 
1102 const gchar* g_get_user_special_dir (GUserDirectory directory);
1103 
1104 typedef struct _GDebugKey GDebugKey;
1106 {
1107  const gchar *key;
1108  guint value;
1109 };
1110 
1111 
1112 
1113 guint g_parse_debug_string (const gchar *string,
1114  const GDebugKey *keys,
1115  guint nkeys);
1116 
1117 gint g_snprintf (gchar *string,
1118  gulong n,
1119  gchar const *format,
1120  ...) __attribute__((__format__ (__printf__, 3, 4)));
1121 gint g_vsnprintf (gchar *string,
1122  gulong n,
1123  gchar const *format,
1124  va_list args);
1125 
1126 
1127 gboolean g_path_is_absolute (const gchar *file_name);
1128 
1129 
1130 const gchar* g_path_skip_root (const gchar *file_name);
1131 
1132 
1133 
1134 
1135 
1136 
1137 
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__));
1143 
1144 
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,
1149  const gchar *value,
1150  gboolean overwrite);
1151 void g_unsetenv (const gchar *variable);
1152 gchar** g_listenv (void);
1153 gchar** g_get_environ (void);
1154 
1155 
1156 const gchar* _g_getenv_nomalloc (const gchar *variable,
1157  gchar buffer[1024]);
1158 
1159 
1160 
1161 
1162 
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);
1168 
1169 
1170 
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__));
1176 
1177 
1178 
1179 
1180 typedef struct _GTrashStack GTrashStack;
1182 {
1183  GTrashStack *next;
1184 };
1185 
1186 static __inline __attribute__ ((unused)) void g_trash_stack_push (GTrashStack **stack_p,
1187  gpointer data_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);
1191 
1192 
1193 
1194 
1195 static __inline __attribute__ ((unused)) gint
1196 g_bit_nth_lsf (gulong mask,
1197  gint nth_bit)
1198 {
1199  if ((nth_bit < -1))
1200  nth_bit = -1;
1201  while (nth_bit < ((8 * 8) - 1))
1202  {
1203  nth_bit++;
1204  if (mask & (1UL << nth_bit))
1205  return nth_bit;
1206  }
1207  return -1;
1208 }
1209 static __inline __attribute__ ((unused)) gint
1210 g_bit_nth_msf (gulong mask,
1211  gint nth_bit)
1212 {
1213  if (nth_bit < 0 || (nth_bit > 8 * 8))
1214  nth_bit = 8 * 8;
1215  while (nth_bit > 0)
1216  {
1217  nth_bit--;
1218  if (mask & (1UL << nth_bit))
1219  return nth_bit;
1220  }
1221  return -1;
1222 }
1223 static __inline __attribute__ ((unused)) guint
1224 g_bit_storage (gulong number)
1225 {
1226 
1227 
1228 
1229 
1230  register guint n_bits = 0;
1231 
1232  do
1233  {
1234  n_bits++;
1235  number >>= 1;
1236  }
1237  while (number);
1238  return n_bits;
1239 
1240 }
1241 static __inline __attribute__ ((unused)) void
1242 g_trash_stack_push (GTrashStack **stack_p,
1243  gpointer data_p)
1244 {
1245  GTrashStack *data = (GTrashStack *) data_p;
1246 
1247  data->next = *stack_p;
1248  *stack_p = data;
1249 }
1250 static __inline __attribute__ ((unused)) gpointer
1251 g_trash_stack_pop (GTrashStack **stack_p)
1252 {
1253  GTrashStack *data;
1254 
1255  data = *stack_p;
1256  if (data)
1257  {
1258  *stack_p = data->next;
1259 
1260 
1261 
1262  data->next = ((void *)0);
1263  }
1264 
1265  return data;
1266 }
1267 static __inline __attribute__ ((unused)) gpointer
1268 g_trash_stack_peek (GTrashStack **stack_p)
1269 {
1270  GTrashStack *data;
1271 
1272  data = *stack_p;
1273 
1274  return data;
1275 }
1276 static __inline __attribute__ ((unused)) guint
1277 g_trash_stack_height (GTrashStack **stack_p)
1278 {
1279  GTrashStack *data;
1280  guint i = 0;
1281 
1282  for (data = *stack_p; data; data = data->next)
1283  i++;
1284 
1285  return i;
1286 }
1287 
1288 
1289 
1290 
1291 
1292 
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;
1298 
1299 const gchar * glib_check_version (guint required_major,
1300  guint required_minor,
1301  guint required_micro);
1302 
1303 
1304 
1305 
1306 
1307 
1308 
1309 
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
1315 
1316 
1317 
1318 gint g_atomic_int_exchange_and_add (volatile gint __attribute__((may_alias)) *atomic,
1319  gint val);
1320 void g_atomic_int_add (volatile gint __attribute__((may_alias)) *atomic,
1321  gint val);
1322 gboolean g_atomic_int_compare_and_exchange (volatile gint __attribute__((may_alias)) *atomic,
1323  gint oldval,
1324  gint newval);
1325 gboolean g_atomic_pointer_compare_and_exchange (volatile gpointer __attribute__((may_alias)) *atomic,
1326  gpointer oldval,
1327  gpointer newval);
1328 
1329 gint g_atomic_int_get (volatile gint __attribute__((may_alias)) *atomic);
1330 void g_atomic_int_set (volatile gint __attribute__((may_alias)) *atomic,
1331  gint newval);
1332 gpointer g_atomic_pointer_get (volatile gpointer __attribute__((may_alias)) *atomic);
1333 void g_atomic_pointer_set (volatile gpointer __attribute__((may_alias)) *atomic,
1334  gpointer newval);
1335 # 103 "/usr/include/glib-2.0/glib/gatomic.h"
1336 
1337 # 37 "/usr/include/glib-2.0/glib/gthread.h" 2
1338 
1339 
1340 
1341 
1342 
1343 
1344 extern GQuark g_thread_error_quark (void);
1345 
1346 
1347 typedef enum
1348 {
1349  G_THREAD_ERROR_AGAIN
1350 } GThreadError;
1351 
1352 typedef gpointer (*GThreadFunc) (gpointer data);
1353 
1354 typedef enum
1355 {
1356  G_THREAD_PRIORITY_LOW,
1357  G_THREAD_PRIORITY_NORMAL,
1358  G_THREAD_PRIORITY_HIGH,
1359  G_THREAD_PRIORITY_URGENT
1360 } GThreadPriority;
1361 
1362 typedef struct _GThread GThread;
1363 struct _GThread
1364 {
1365 
1366  GThreadFunc func;
1367  gpointer data;
1368  gboolean joinable;
1369  GThreadPriority priority;
1370 };
1371 
1372 typedef struct _GMutex GMutex;
1373 typedef struct _GCond GCond;
1374 typedef struct _GPrivate GPrivate;
1375 typedef struct _GStaticPrivate GStaticPrivate;
1376 
1377 typedef struct _GThreadFunctions GThreadFunctions;
1379 {
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,
1389  GMutex *mutex);
1390  gboolean (*cond_timed_wait) (GCond *cond,
1391  GMutex *mutex,
1392  GTimeVal *end_time);
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,
1397  gpointer data);
1398  void (*thread_create) (GThreadFunc func,
1399  gpointer data,
1400  gulong stack_size,
1401  gboolean joinable,
1402  gboolean bound,
1403  GThreadPriority priority,
1404  gpointer thread,
1405  GError **error);
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,
1413  gpointer thread2);
1414 };
1415 
1416 extern GThreadFunctions g_thread_functions_for_glib_use;
1417 extern gboolean g_thread_use_default_impl;
1418 extern gboolean g_threads_got_initialized;
1419 
1420 extern guint64 (*g_thread_gettime) (void);
1421 
1422 
1423 
1424 
1425 
1426 void g_thread_init (GThreadFunctions *vtable);
1427 # 134 "/usr/include/glib-2.0/glib/gthread.h"
1428 void g_thread_init_with_errorcheck_mutexes (GThreadFunctions* vtable);
1429 
1430 
1431 
1432 
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,
1438  gpointer data,
1439  gulong stack_size,
1440  gboolean joinable,
1441  gboolean bound,
1442  GThreadPriority priority,
1443  GError **error);
1444 GThread* g_thread_self (void);
1445 void g_thread_exit (gpointer retval);
1446 gpointer g_thread_join (GThread *thread);
1447 
1448 void g_thread_set_priority (GThread *thread,
1449  GThreadPriority priority);
1450 # 249 "/usr/include/glib-2.0/glib/gthread.h"
1451 void g_static_mutex_init (GStaticMutex *mutex);
1452 void g_static_mutex_free (GStaticMutex *mutex);
1453 
1455 {
1456 
1457  guint index;
1458 };
1459 
1460 void g_static_private_init (GStaticPrivate *private_key);
1461 gpointer g_static_private_get (GStaticPrivate *private_key);
1462 void g_static_private_set (GStaticPrivate *private_key,
1463  gpointer data,
1464  GDestroyNotify notify);
1465 void g_static_private_free (GStaticPrivate *private_key);
1466 
1467 typedef struct _GStaticRecMutex GStaticRecMutex;
1469 {
1470 
1471  GStaticMutex mutex;
1472  guint depth;
1473  GSystemThread owner;
1474 };
1475 
1476 
1477 void g_static_rec_mutex_init (GStaticRecMutex *mutex);
1478 void g_static_rec_mutex_lock (GStaticRecMutex *mutex);
1479 gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex);
1480 void g_static_rec_mutex_unlock (GStaticRecMutex *mutex);
1481 void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex,
1482  guint depth);
1483 guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex);
1484 void g_static_rec_mutex_free (GStaticRecMutex *mutex);
1485 
1486 typedef struct _GStaticRWLock GStaticRWLock;
1488 {
1489 
1490  GStaticMutex mutex;
1491  GCond *read_cond;
1492  GCond *write_cond;
1493  guint read_counter;
1494  gboolean have_writer;
1495  guint want_to_read;
1496  guint want_to_write;
1497 };
1498 
1499 
1500 
1501 void g_static_rw_lock_init (GStaticRWLock* lock);
1502 void g_static_rw_lock_reader_lock (GStaticRWLock* lock);
1503 gboolean g_static_rw_lock_reader_trylock (GStaticRWLock* lock);
1504 void g_static_rw_lock_reader_unlock (GStaticRWLock* lock);
1505 void g_static_rw_lock_writer_lock (GStaticRWLock* lock);
1506 gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock);
1507 void g_static_rw_lock_writer_unlock (GStaticRWLock* lock);
1508 void g_static_rw_lock_free (GStaticRWLock* lock);
1509 
1510 void g_thread_foreach (GFunc thread_func,
1511  gpointer user_data);
1512 
1513 typedef enum
1514 {
1515  G_ONCE_STATUS_NOTCALLED,
1516  G_ONCE_STATUS_PROGRESS,
1517  G_ONCE_STATUS_READY
1518 } GOnceStatus;
1519 
1520 typedef struct _GOnce GOnce;
1521 struct _GOnce
1522 {
1523  volatile GOnceStatus status;
1524  volatile gpointer retval;
1525 };
1526 
1527 
1528 
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);
1535 
1536 static __inline __attribute__ ((unused)) gboolean
1537 g_once_init_enter (volatile gsize *value_location)
1538 {
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))
1540  return (0);
1541  else
1542  return g_once_init_enter_impl (value_location);
1543 }
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"
1547 
1548 # 35 "/usr/include/glib-2.0/glib/gasyncqueue.h" 2
1549 
1550 
1551 
1552 typedef struct _GAsyncQueue GAsyncQueue;
1553 
1554 
1555 
1556 
1557 GAsyncQueue* g_async_queue_new (void);
1558 
1559 GAsyncQueue* g_async_queue_new_full (GDestroyNotify item_free_func);
1560 
1561 
1562 
1563 
1564 
1565 void g_async_queue_lock (GAsyncQueue *queue);
1566 void g_async_queue_unlock (GAsyncQueue *queue);
1567 
1568 
1569 GAsyncQueue* g_async_queue_ref (GAsyncQueue *queue);
1570 void g_async_queue_unref (GAsyncQueue *queue);
1571 
1572 
1573 
1574 void g_async_queue_ref_unlocked (GAsyncQueue *queue);
1575 void g_async_queue_unref_and_unlock (GAsyncQueue *queue);
1576 
1577 
1578 
1579 void g_async_queue_push (GAsyncQueue *queue,
1580  gpointer data);
1581 void g_async_queue_push_unlocked (GAsyncQueue *queue,
1582  gpointer data);
1583 
1584 void g_async_queue_push_sorted (GAsyncQueue *queue,
1585  gpointer data,
1586  GCompareDataFunc func,
1587  gpointer user_data);
1588 void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue,
1589  gpointer data,
1590  GCompareDataFunc func,
1591  gpointer user_data);
1592 
1593 
1594 
1595 
1596 gpointer g_async_queue_pop (GAsyncQueue *queue);
1597 gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue);
1598 
1599 
1600 gpointer g_async_queue_try_pop (GAsyncQueue *queue);
1601 gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue);
1602 
1603 
1604 
1605 
1606 
1607 
1608 gpointer g_async_queue_timed_pop (GAsyncQueue *queue,
1609  GTimeVal *end_time);
1610 gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue,
1611  GTimeVal *end_time);
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);
1621 
1622 
1623 GMutex* _g_async_queue_get_mutex (GAsyncQueue *queue);
1624 
1625 
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
1635 
1636 
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;
1640 
1641 
1642 
1643 
1644 typedef struct
1645  {
1646  unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1647  } __sigset_t;
1648 # 104 "/usr/include/bits/sigset.h" 3 4
1649 extern int __sigismember (__const __sigset_t *, int);
1650 extern int __sigaddset (__sigset_t *, int);
1651 extern int __sigdelset (__sigset_t *, int);
1652 # 34 "/usr/include/signal.h" 2 3 4
1653 
1654 
1655 
1656 
1657 
1658 
1659 
1660 typedef __sig_atomic_t sig_atomic_t;
1661 
1662 
1663 
1664 
1665 
1666 
1667 
1668 
1669 typedef __sigset_t sigset_t;
1670 
1671 
1672 
1673 
1674 
1675 
1676 
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
1686 
1687 
1688 
1689 
1690 
1691 
1692 
1693 typedef union sigval
1694  {
1695  int sival_int;
1696  void *sival_ptr;
1697  } sigval_t;
1698 # 51 "/usr/include/bits/siginfo.h" 3 4
1699 typedef struct siginfo
1700  {
1701  int si_signo;
1702  int si_errno;
1703 
1704  int si_code;
1705 
1706  union
1707  {
1708  int _pad[((128 / sizeof (int)) - 4)];
1709 
1710 
1711  struct
1712  {
1713  __pid_t si_pid;
1714  __uid_t si_uid;
1715  } _kill;
1716 
1717 
1718  struct
1719  {
1720  int si_tid;
1721  int si_overrun;
1722  sigval_t si_sigval;
1723  } _timer;
1724 
1725 
1726  struct
1727  {
1728  __pid_t si_pid;
1729  __uid_t si_uid;
1730  sigval_t si_sigval;
1731  } _rt;
1732 
1733 
1734  struct
1735  {
1736  __pid_t si_pid;
1737  __uid_t si_uid;
1738  int si_status;
1739  __clock_t si_utime;
1740  __clock_t si_stime;
1741  } _sigchld;
1742 
1743 
1744  struct
1745  {
1746  void *si_addr;
1747  } _sigfault;
1748 
1749 
1750  struct
1751  {
1752  long int si_band;
1753  int si_fd;
1754  } _sigpoll;
1755  } _sifields;
1756  } siginfo_t;
1757 # 129 "/usr/include/bits/siginfo.h" 3 4
1758 enum
1759 {
1760  SI_ASYNCNL = -60,
1761 
1762  SI_TKILL = -6,
1763 
1764  SI_SIGIO,
1765 
1766  SI_ASYNCIO,
1767 
1768  SI_MESGQ,
1769 
1770  SI_TIMER,
1771 
1772  SI_QUEUE,
1773 
1774  SI_USER,
1775 
1776  SI_KERNEL = 0x80
1777 
1778 };
1779 
1780 
1781 
1782 enum
1783 {
1784  ILL_ILLOPC = 1,
1785 
1786  ILL_ILLOPN,
1787 
1788  ILL_ILLADR,
1789 
1790  ILL_ILLTRP,
1791 
1792  ILL_PRVOPC,
1793 
1794  ILL_PRVREG,
1795 
1796  ILL_COPROC,
1797 
1798  ILL_BADSTK
1799 
1800 };
1801 
1802 
1803 enum
1804 {
1805  FPE_INTDIV = 1,
1806 
1807  FPE_INTOVF,
1808 
1809  FPE_FLTDIV,
1810 
1811  FPE_FLTOVF,
1812 
1813  FPE_FLTUND,
1814 
1815  FPE_FLTRES,
1816 
1817  FPE_FLTINV,
1818 
1819  FPE_FLTSUB
1820 
1821 };
1822 
1823 
1824 enum
1825 {
1826  SEGV_MAPERR = 1,
1827 
1828  SEGV_ACCERR
1829 
1830 };
1831 
1832 
1833 enum
1834 {
1835  BUS_ADRALN = 1,
1836 
1837  BUS_ADRERR,
1838 
1839  BUS_OBJERR
1840 
1841 };
1842 
1843 
1844 enum
1845 {
1846  TRAP_BRKPT = 1,
1847 
1848  TRAP_TRACE
1849 
1850 };
1851 
1852 
1853 enum
1854 {
1855  CLD_EXITED = 1,
1856 
1857  CLD_KILLED,
1858 
1859  CLD_DUMPED,
1860 
1861  CLD_TRAPPED,
1862 
1863  CLD_STOPPED,
1864 
1865  CLD_CONTINUED
1866 
1867 };
1868 
1869 
1870 enum
1871 {
1872  POLL_IN = 1,
1873 
1874  POLL_OUT,
1875 
1876  POLL_MSG,
1877 
1878  POLL_ERR,
1879 
1880  POLL_PRI,
1881 
1882  POLL_HUP
1883 
1884 };
1885 # 273 "/usr/include/bits/siginfo.h" 3 4
1886 typedef struct sigevent
1887  {
1888  sigval_t sigev_value;
1889  int sigev_signo;
1890  int sigev_notify;
1891 
1892  union
1893  {
1894  int _pad[((64 / sizeof (int)) - 4)];
1895 
1896 
1897 
1898  __pid_t _tid;
1899 
1900  struct
1901  {
1902  void (*_function) (sigval_t);
1903  void *_attribute;
1904  } _sigev_thread;
1905  } _sigev_un;
1906  } sigevent_t;
1907 
1908 
1909 
1910 
1911 
1912 
1913 enum
1914 {
1915  SIGEV_SIGNAL = 0,
1916 
1917  SIGEV_NONE,
1918 
1919  SIGEV_THREAD,
1920 
1921 
1922  SIGEV_THREAD_ID = 4
1923 
1924 };
1925 # 80 "/usr/include/signal.h" 2 3 4
1926 
1927 
1928 
1929 
1930 typedef void (*__sighandler_t) (int);
1931 
1932 
1933 
1934 
1935 extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
1936  __attribute__ ((__nothrow__));
1937 
1938 extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler)
1939  __attribute__ ((__nothrow__));
1940 
1941 
1942 
1943 
1944 
1945 
1946 
1947 extern __sighandler_t signal (int __sig, __sighandler_t __handler)
1948  __attribute__ ((__nothrow__));
1949 # 113 "/usr/include/signal.h" 3 4
1950 
1951 
1952 
1953 
1954 
1955 extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler)
1956  __attribute__ ((__nothrow__));
1957 
1958 
1959 
1960 
1961 
1962 
1963 extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__));
1964 
1965 
1966 
1967 
1968 
1969 
1970 extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__));
1971 
1972 
1973 
1974 
1975 extern int raise (int __sig) __attribute__ ((__nothrow__));
1976 
1977 
1978 
1979 
1980 extern __sighandler_t ssignal (int __sig, __sighandler_t __handler)
1981  __attribute__ ((__nothrow__));
1982 extern int gsignal (int __sig) __attribute__ ((__nothrow__));
1983 
1984 
1985 
1986 
1987 extern void psignal (int __sig, __const char *__s);
1988 
1989 
1990 
1991 
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__));
1999 
2000 
2001 extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
2002 
2003 
2004 extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
2005 # 211 "/usr/include/signal.h" 3 4
2006 typedef __sighandler_t sighandler_t;
2007 
2008 
2009 
2010 
2011 typedef __sighandler_t sig_t;
2012 
2013 
2014 
2015 
2016 
2017 extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2018 
2019 
2020 extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2021 
2022 
2023 extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2024 
2025 
2026 extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2027 
2028 
2029 extern int sigismember (__const sigset_t *__set, int __signo)
2030  __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2031 
2032 
2033 
2034 extern int sigisemptyset (__const sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2035 
2036 
2037 extern int sigandset (sigset_t *__set, __const sigset_t *__left,
2038  __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
2039 
2040 
2041 extern int sigorset (sigset_t *__set, __const sigset_t *__left,
2042  __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
2043 
2044 
2045 
2046 
2047 # 1 "/usr/include/bits/sigaction.h" 1 3 4
2048 # 25 "/usr/include/bits/sigaction.h" 3 4
2050  {
2051 
2052 
2053  union
2054  {
2055 
2056  __sighandler_t sa_handler;
2057 
2058  void (*sa_sigaction) (int, siginfo_t *, void *);
2059  }
2060  __sigaction_handler;
2061 
2062 
2063 
2064 
2065 
2066 
2067 
2068  __sigset_t sa_mask;
2069 
2070 
2071  int sa_flags;
2072 
2073 
2074  void (*sa_restorer) (void);
2075  };
2076 # 253 "/usr/include/signal.h" 2 3 4
2077 
2078 
2079 extern int sigprocmask (int __how, __const sigset_t *__restrict __set,
2080  sigset_t *__restrict __oset) __attribute__ ((__nothrow__));
2081 
2082 
2083 
2084 
2085 
2086 
2087 extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1)));
2088 
2089 
2090 extern int sigaction (int __sig, __const struct sigaction *__restrict __act,
2091  struct sigaction *__restrict __oact) __attribute__ ((__nothrow__));
2092 
2093 
2094 extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2095 
2096 
2097 
2098 
2099 
2100 
2101 extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig)
2102  __attribute__ ((__nonnull__ (1, 2)));
2103 
2104 
2105 
2106 
2107 
2108 
2109 extern int sigwaitinfo (__const sigset_t *__restrict __set,
2110  siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1)));
2111 
2112 
2113 
2114 
2115 
2116 
2117 extern int sigtimedwait (__const sigset_t *__restrict __set,
2118  siginfo_t *__restrict __info,
2119  __const struct timespec *__restrict __timeout)
2120  __attribute__ ((__nonnull__ (1)));
2121 
2122 
2123 
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];
2129 
2130 
2131 struct sigvec
2132  {
2133  __sighandler_t sv_handler;
2134  int sv_mask;
2135 
2136  int sv_flags;
2137 
2138  };
2139 # 334 "/usr/include/signal.h" 3 4
2140 extern int sigvec (int __sig, __const struct sigvec *__vec,
2141  struct sigvec *__ovec) __attribute__ ((__nothrow__));
2142 
2143 
2144 
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
2149 
2150 struct _fpreg
2151 {
2152  unsigned short significand[4];
2153  unsigned short exponent;
2154 };
2155 
2156 struct _fpxreg
2157 {
2158  unsigned short significand[4];
2159  unsigned short exponent;
2160  unsigned short padding[3];
2161 };
2162 
2163 struct _xmmreg
2164 {
2165  __uint32_t element[4];
2166 };
2167 # 109 "/usr/include/bits/sigcontext.h" 3 4
2168 struct _fpstate
2169 {
2170 
2171  __uint16_t cwd;
2172  __uint16_t swd;
2173  __uint16_t ftw;
2174  __uint16_t fop;
2175  __uint64_t rip;
2176  __uint64_t rdp;
2177  __uint32_t mxcsr;
2178  __uint32_t mxcr_mask;
2179  struct _fpxreg _st[8];
2180  struct _xmmreg _xmm[16];
2181  __uint32_t padding[24];
2182 };
2183 
2185 {
2186  unsigned long r8;
2187  unsigned long r9;
2188  unsigned long r10;
2189  unsigned long r11;
2190  unsigned long r12;
2191  unsigned long r13;
2192  unsigned long r14;
2193  unsigned long r15;
2194  unsigned long rdi;
2195  unsigned long rsi;
2196  unsigned long rbp;
2197  unsigned long rbx;
2198  unsigned long rdx;
2199  unsigned long rax;
2200  unsigned long rcx;
2201  unsigned long rsp;
2202  unsigned long rip;
2203  unsigned long eflags;
2204  unsigned short cs;
2205  unsigned short gs;
2206  unsigned short fs;
2207  unsigned short __pad0;
2208  unsigned long err;
2209  unsigned long trapno;
2210  unsigned long oldmask;
2211  unsigned long cr2;
2212  struct _fpstate * fpstate;
2213  unsigned long __reserved1 [8];
2214 };
2215 # 340 "/usr/include/signal.h" 2 3 4
2216 
2217 
2218 extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__));
2219 
2220 
2221 
2222 
2223 
2224 
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
2227 
2228 
2229 
2230 
2231 extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__));
2232 
2233 # 1 "/usr/include/bits/sigstack.h" 1 3 4
2234 # 26 "/usr/include/bits/sigstack.h" 3 4
2235 struct sigstack
2236  {
2237  void *ss_sp;
2238  int ss_onstack;
2239  };
2240 
2241 
2242 
2243 enum
2244 {
2245  SS_ONSTACK = 1,
2246 
2247  SS_DISABLE
2248 
2249 };
2250 # 50 "/usr/include/bits/sigstack.h" 3 4
2251 typedef struct sigaltstack
2252  {
2253  void *ss_sp;
2254  int ss_flags;
2255  size_t ss_size;
2256  } stack_t;
2257 # 357 "/usr/include/signal.h" 2 3 4
2258 
2259 
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;
2268 
2269 
2270 
2271 
2272 
2273 typedef greg_t gregset_t[23];
2274 
2275 
2276 
2277 enum
2278 {
2279  REG_R8 = 0,
2280 
2281  REG_R9,
2282 
2283  REG_R10,
2284 
2285  REG_R11,
2286 
2287  REG_R12,
2288 
2289  REG_R13,
2290 
2291  REG_R14,
2292 
2293  REG_R15,
2294 
2295  REG_RDI,
2296 
2297  REG_RSI,
2298 
2299  REG_RBP,
2300 
2301  REG_RBX,
2302 
2303  REG_RDX,
2304 
2305  REG_RAX,
2306 
2307  REG_RCX,
2308 
2309  REG_RSP,
2310 
2311  REG_RIP,
2312 
2313  REG_EFL,
2314 
2315  REG_CSGSFS,
2316 
2317  REG_ERR,
2318 
2319  REG_TRAPNO,
2320 
2321  REG_OLDMASK,
2322 
2323  REG_CR2
2324 
2325 };
2326 
2327 
2329 {
2330  unsigned short int significand[4];
2331  unsigned short int exponent;
2332  unsigned short int padding[3];
2333 };
2334 
2336 {
2337  __uint32_t element[4];
2338 };
2339 
2341 {
2342 
2343  __uint16_t cwd;
2344  __uint16_t swd;
2345  __uint16_t ftw;
2346  __uint16_t fop;
2347  __uint64_t rip;
2348  __uint64_t rdp;
2349  __uint32_t mxcsr;
2350  __uint32_t mxcr_mask;
2351  struct _libc_fpxreg _st[8];
2352  struct _libc_xmmreg _xmm[16];
2353  __uint32_t padding[24];
2354 };
2355 
2356 
2357 typedef struct _libc_fpstate *fpregset_t;
2358 
2359 
2360 typedef struct
2361  {
2362  gregset_t gregs;
2363 
2364  fpregset_t fpregs;
2365  unsigned long __reserved1 [8];
2366 } mcontext_t;
2367 
2368 
2369 typedef struct ucontext
2370  {
2371  unsigned long int uc_flags;
2372  struct ucontext *uc_link;
2373  stack_t uc_stack;
2374  mcontext_t uc_mcontext;
2375  __sigset_t uc_sigmask;
2376  struct _libc_fpstate __fpregs_mem;
2377  } ucontext_t;
2378 # 360 "/usr/include/signal.h" 2 3 4
2379 
2380 
2381 
2382 
2383 
2384 extern int sigstack (struct sigstack *__ss, struct sigstack *__oss)
2385  __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
2386 
2387 
2388 
2389 extern int sigaltstack (__const struct sigaltstack *__restrict __ss,
2390  struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__));
2391 
2392 
2393 
2394 
2395 
2396 
2397 
2398 extern int sighold (int __sig) __attribute__ ((__nothrow__));
2399 
2400 
2401 extern int sigrelse (int __sig) __attribute__ ((__nothrow__));
2402 
2403 
2404 extern int sigignore (int __sig) __attribute__ ((__nothrow__));
2405 
2406 
2407 extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__));
2408 
2409 
2410 
2411 
2412 
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;
2419 
2420 
2421 typedef union
2422 {
2423  char __size[56];
2424  long int __align;
2425 } pthread_attr_t;
2426 
2427 
2428 
2430 {
2431  struct __pthread_internal_list *__prev;
2432  struct __pthread_internal_list *__next;
2434 # 76 "/usr/include/bits/pthreadtypes.h" 3 4
2435 typedef union
2436 {
2438  {
2439  int __lock;
2440  unsigned int __count;
2441  int __owner;
2442 
2443  unsigned int __nusers;
2444 
2445 
2446 
2447  int __kind;
2448 
2449  int __spins;
2450  __pthread_list_t __list;
2451 # 101 "/usr/include/bits/pthreadtypes.h" 3 4
2452  } __data;
2453  char __size[40];
2454  long int __align;
2455 } pthread_mutex_t;
2456 
2457 typedef union
2458 {
2459  char __size[4];
2460  int __align;
2462 
2463 
2464 
2465 
2466 typedef union
2467 {
2468  struct
2469  {
2470  int __lock;
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;
2475  void *__mutex;
2476  unsigned int __nwaiters;
2477  unsigned int __broadcast_seq;
2478  } __data;
2479  char __size[48];
2480  __extension__ long long int __align;
2481 } pthread_cond_t;
2482 
2483 typedef union
2484 {
2485  char __size[4];
2486  int __align;
2488 
2489 
2490 
2491 typedef unsigned int pthread_key_t;
2492 
2493 
2494 
2495 typedef int pthread_once_t;
2496 
2497 
2498 
2499 
2500 
2501 typedef union
2502 {
2503 
2504  struct
2505  {
2506  int __lock;
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;
2512  int __writer;
2513  int __shared;
2514  unsigned long int __pad1;
2515  unsigned long int __pad2;
2516 
2517 
2518  unsigned int __flags;
2519  } __data;
2520 # 187 "/usr/include/bits/pthreadtypes.h" 3 4
2521  char __size[56];
2522  long int __align;
2524 
2525 typedef union
2526 {
2527  char __size[8];
2528  long int __align;
2530 
2531 
2532 
2533 
2534 
2535 typedef volatile int pthread_spinlock_t;
2536 
2537 
2538 
2539 
2540 typedef union
2541 {
2542  char __size[32];
2543  long int __align;
2545 
2546 typedef union
2547 {
2548  char __size[4];
2549  int __align;
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,
2555  __const __sigset_t *__restrict __newmask,
2556  __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__));
2557 
2558 
2559 extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__));
2560 
2561 
2562 
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
2566 
2567 
2568 
2569 
2570 
2571 
2572 extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__));
2573 
2574 extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__));
2575 
2576 
2577 
2578 
2579 # 36 "/usr/include/glib-2.0/glib/gbacktrace.h" 2
2580 
2581 
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"
2586 
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
2592 
2593 
2594 
2595 gsize g_base64_encode_step (const guchar *in,
2596  gsize len,
2597  gboolean break_lines,
2598  gchar *out,
2599  gint *state,
2600  gint *save);
2601 gsize g_base64_encode_close (gboolean break_lines,
2602  gchar *out,
2603  gint *state,
2604  gint *save);
2605 gchar* g_base64_encode (const guchar *data,
2606  gsize len) __attribute__((__malloc__));
2607 gsize g_base64_decode_step (const gchar *in,
2608  gsize len,
2609  guchar *out,
2610  gint *state,
2611  guint *save);
2612 guchar *g_base64_decode (const gchar *text,
2613  gsize *out_len) __attribute__((__malloc__));
2614 guchar *g_base64_decode_inplace (gchar *text,
2615  gsize *out_len);
2616 
2617 
2618 
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
2624 
2625 
2626 
2627 
2628 
2629 
2630 
2631 void g_bit_lock (volatile gint *address,
2632  gint lock_bit);
2633 gboolean g_bit_trylock (volatile gint *address,
2634  gint lock_bit);
2635 void g_bit_unlock (volatile gint *address,
2636  gint lock_bit);
2637 
2638 
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
2644 
2645 
2646 
2647 # 57 "/usr/include/glib-2.0/glib/gbookmarkfile.h"
2648 typedef enum
2649 {
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;
2659 
2660 GQuark g_bookmark_file_error_quark (void);
2661 
2662 
2663 
2664 
2665 
2666 
2667 
2668 typedef struct _GBookmarkFile GBookmarkFile;
2669 
2670 GBookmarkFile *g_bookmark_file_new (void);
2671 void g_bookmark_file_free (GBookmarkFile *bookmark);
2672 
2673 gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark,
2674  const gchar *filename,
2675  GError **error);
2676 gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark,
2677  const gchar *data,
2678  gsize length,
2679  GError **error);
2680 gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark,
2681  const gchar *file,
2682  gchar **full_path,
2683  GError **error);
2684 gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark,
2685  gsize *length,
2686  GError **error) __attribute__((__malloc__));
2687 gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark,
2688  const gchar *filename,
2689  GError **error);
2690 
2691 void g_bookmark_file_set_title (GBookmarkFile *bookmark,
2692  const gchar *uri,
2693  const gchar *title);
2694 gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark,
2695  const gchar *uri,
2696  GError **error) __attribute__((__malloc__));
2697 void g_bookmark_file_set_description (GBookmarkFile *bookmark,
2698  const gchar *uri,
2699  const gchar *description);
2700 gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark,
2701  const gchar *uri,
2702  GError **error) __attribute__((__malloc__));
2703 void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark,
2704  const gchar *uri,
2705  const gchar *mime_type);
2706 gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark,
2707  const gchar *uri,
2708  GError **error) __attribute__((__malloc__));
2709 void g_bookmark_file_set_groups (GBookmarkFile *bookmark,
2710  const gchar *uri,
2711  const gchar **groups,
2712  gsize length);
2713 void g_bookmark_file_add_group (GBookmarkFile *bookmark,
2714  const gchar *uri,
2715  const gchar *group);
2716 gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark,
2717  const gchar *uri,
2718  const gchar *group,
2719  GError **error);
2720 gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark,
2721  const gchar *uri,
2722  gsize *length,
2723  GError **error) __attribute__((__malloc__));
2724 void g_bookmark_file_add_application (GBookmarkFile *bookmark,
2725  const gchar *uri,
2726  const gchar *name,
2727  const gchar *exec);
2728 gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark,
2729  const gchar *uri,
2730  const gchar *name,
2731  GError **error);
2732 gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark,
2733  const gchar *uri,
2734  gsize *length,
2735  GError **error) __attribute__((__malloc__));
2736 gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark,
2737  const gchar *uri,
2738  const gchar *name,
2739  const gchar *exec,
2740  gint count,
2741  time_t stamp,
2742  GError **error);
2743 gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark,
2744  const gchar *uri,
2745  const gchar *name,
2746  gchar **exec,
2747  guint *count,
2748  time_t *stamp,
2749  GError **error);
2750 void g_bookmark_file_set_is_private (GBookmarkFile *bookmark,
2751  const gchar *uri,
2752  gboolean is_private);
2753 gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark,
2754  const gchar *uri,
2755  GError **error);
2756 void g_bookmark_file_set_icon (GBookmarkFile *bookmark,
2757  const gchar *uri,
2758  const gchar *href,
2759  const gchar *mime_type);
2760 gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark,
2761  const gchar *uri,
2762  gchar **href,
2763  gchar **mime_type,
2764  GError **error);
2765 void g_bookmark_file_set_added (GBookmarkFile *bookmark,
2766  const gchar *uri,
2767  time_t added);
2768 time_t g_bookmark_file_get_added (GBookmarkFile *bookmark,
2769  const gchar *uri,
2770  GError **error);
2771 void g_bookmark_file_set_modified (GBookmarkFile *bookmark,
2772  const gchar *uri,
2773  time_t modified);
2774 time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark,
2775  const gchar *uri,
2776  GError **error);
2777 void g_bookmark_file_set_visited (GBookmarkFile *bookmark,
2778  const gchar *uri,
2779  time_t visited);
2780 time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark,
2781  const gchar *uri,
2782  GError **error);
2783 gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark,
2784  const gchar *uri);
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,
2789  const gchar *uri,
2790  const gchar *group,
2791  GError **error);
2792 gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark,
2793  const gchar *uri,
2794  const gchar *name,
2795  GError **error);
2796 gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark,
2797  const gchar *uri,
2798  GError **error);
2799 gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark,
2800  const gchar *old_uri,
2801  const gchar *new_uri,
2802  GError **error);
2803 
2804 
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
2816 
2817 
2818 
2819 
2820 
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,
2828  gpointer mem_chain,
2829  gsize next_offset);
2830 # 72 "/usr/include/glib-2.0/glib/gslice.h"
2831 typedef enum {
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
2838 } GSliceConfig;
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);
2842 
2843 
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
2847 
2848 
2849 # 52 "/usr/include/glib-2.0/glib/gmem.h"
2850 typedef struct _GMemVTable GMemVTable;
2851 # 71 "/usr/include/glib-2.0/glib/gmem.h"
2852 void g_free (gpointer mem);
2853 
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));
2862 
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,
2868  gsize n_blocks,
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,
2875  gsize n_blocks,
2876  gsize n_block_bytes) __attribute__((warn_unused_result));
2877 # 241 "/usr/include/glib-2.0/glib/gmem.h"
2878 struct _GMemVTable {
2879  gpointer (*malloc) (gsize n_bytes);
2880  gpointer (*realloc) (gpointer mem,
2881  gsize n_bytes);
2882  void (*free) (gpointer mem);
2883 
2884  gpointer (*calloc) (gsize n_blocks,
2885  gsize n_block_bytes);
2886  gpointer (*try_malloc) (gsize n_bytes);
2887  gpointer (*try_realloc) (gpointer mem,
2888  gsize n_bytes);
2889 };
2890 void g_mem_set_vtable (GMemVTable *vtable);
2891 gboolean g_mem_is_system_malloc (void);
2892 
2893 extern gboolean g_mem_gc_friendly;
2894 
2895 
2896 
2897 extern GMemVTable *glib_mem_profiler_table;
2898 void g_mem_profile (void);
2899 
2900 
2901 
2902 
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,
2907  gint atom_size,
2908  gsize area_size,
2909  gint type);
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,
2914  gpointer mem);
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,
2921  guint n_preallocs);
2922 void g_allocator_free (GAllocator *allocator);
2923 
2924 
2925 
2926 
2927 
2928 
2929 # 35 "/usr/include/glib-2.0/glib/glist.h" 2
2930 
2931 
2932 
2933 typedef struct _GList GList;
2934 
2935 struct _GList
2936 {
2937  gpointer data;
2938  GList *next;
2939  GList *prev;
2940 };
2941 
2942 
2943 
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);
2947 
2948 void g_list_free_full (GList *list,
2949  GDestroyNotify free_func);
2950 GList* g_list_append (GList *list,
2951  gpointer data) __attribute__((warn_unused_result));
2952 GList* g_list_prepend (GList *list,
2953  gpointer data) __attribute__((warn_unused_result));
2954 GList* g_list_insert (GList *list,
2955  gpointer data,
2956  gint position) __attribute__((warn_unused_result));
2957 GList* g_list_insert_sorted (GList *list,
2958  gpointer data,
2959  GCompareFunc func) __attribute__((warn_unused_result));
2960 GList* g_list_insert_sorted_with_data (GList *list,
2961  gpointer data,
2962  GCompareDataFunc func,
2963  gpointer user_data) __attribute__((warn_unused_result));
2964 GList* g_list_insert_before (GList *list,
2965  GList *sibling,
2966  gpointer data) __attribute__((warn_unused_result));
2967 GList* g_list_concat (GList *list1,
2968  GList *list2) __attribute__((warn_unused_result));
2969 GList* g_list_remove (GList *list,
2970  gconstpointer data) __attribute__((warn_unused_result));
2971 GList* g_list_remove_all (GList *list,
2972  gconstpointer data) __attribute__((warn_unused_result));
2973 GList* g_list_remove_link (GList *list,
2974  GList *llink) __attribute__((warn_unused_result));
2975 GList* g_list_delete_link (GList *list,
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));
2979 GList* g_list_nth (GList *list,
2980  guint n);
2981 GList* g_list_nth_prev (GList *list,
2982  guint n);
2983 GList* g_list_find (GList *list,
2984  gconstpointer data);
2985 GList* g_list_find_custom (GList *list,
2986  gconstpointer data,
2987  GCompareFunc func);
2988 gint g_list_position (GList *list,
2989  GList *llink);
2990 gint g_list_index (GList *list,
2991  gconstpointer data);
2992 GList* g_list_last (GList *list);
2993 GList* g_list_first (GList *list);
2994 guint g_list_length (GList *list);
2995 void g_list_foreach (GList *list,
2996  GFunc func,
2997  gpointer user_data);
2998 GList* g_list_sort (GList *list,
2999  GCompareFunc compare_func) __attribute__((warn_unused_result));
3000 GList* g_list_sort_with_data (GList *list,
3001  GCompareDataFunc compare_func,
3002  gpointer user_data) __attribute__((warn_unused_result));
3003 gpointer g_list_nth_data (GList *list,
3004  guint n);
3005 
3006 
3007 
3008 
3009 
3010 
3011 void g_list_push_allocator (gpointer allocator);
3012 void g_list_pop_allocator (void);
3013 
3014 
3015 
3016 # 35 "/usr/include/glib-2.0/glib/gcache.h" 2
3017 
3018 
3019 
3020 typedef struct _GCache GCache;
3021 
3022 typedef gpointer (*GCacheNewFunc) (gpointer key);
3023 typedef gpointer (*GCacheDupFunc) (gpointer value);
3024 typedef void (*GCacheDestroyFunc) (gpointer value);
3025 
3026 
3027 
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,
3037  gpointer key);
3038 void g_cache_remove (GCache *cache,
3039  gconstpointer value);
3040 void g_cache_key_foreach (GCache *cache,
3041  GHFunc func,
3042  gpointer user_data);
3043 
3044 void g_cache_value_foreach (GCache *cache,
3045  GHFunc func,
3046  gpointer user_data);
3047 
3048 
3049 
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
3055 
3056 
3057 # 46 "/usr/include/glib-2.0/glib/gchecksum.h"
3058 typedef enum {
3059  G_CHECKSUM_MD5,
3060  G_CHECKSUM_SHA1,
3061  G_CHECKSUM_SHA256
3062 } GChecksumType;
3063 # 61 "/usr/include/glib-2.0/glib/gchecksum.h"
3064 typedef struct _GChecksum GChecksum;
3065 
3066 gssize g_checksum_type_get_length (GChecksumType checksum_type);
3067 
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,
3073  const guchar *data,
3074  gssize length);
3075 const gchar *g_checksum_get_string (GChecksum *checksum);
3076 void g_checksum_get_digest (GChecksum *checksum,
3077  guint8 *buffer,
3078  gsize *digest_len);
3079 
3080 gchar *g_compute_checksum_for_data (GChecksumType checksum_type,
3081  const guchar *data,
3082  gsize length);
3083 gchar *g_compute_checksum_for_string (GChecksumType checksum_type,
3084  const gchar *str,
3085  gssize length);
3086 
3087 
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
3093 
3094 
3095 
3096 typedef struct _GCompletion GCompletion;
3097 
3098 typedef gchar* (*GCompletionFunc) (gpointer);
3099 
3100 
3101 
3102 
3103 typedef gint (*GCompletionStrncmpFunc) (const gchar *s1,
3104  const gchar *s2,
3105  gsize n);
3106 
3108 {
3109  GList* items;
3110  GCompletionFunc func;
3111 
3112  gchar* prefix;
3113  GList* cache;
3114  GCompletionStrncmpFunc strncmp_func;
3115 };
3116 
3117 
3118 
3119 GCompletion* g_completion_new (GCompletionFunc func);
3120 void g_completion_add_items (GCompletion* cmp,
3121  GList* items);
3122 void g_completion_remove_items (GCompletion* cmp,
3123  GList* items);
3124 void g_completion_clear_items (GCompletion* cmp);
3125 GList* g_completion_complete (GCompletion* cmp,
3126  const gchar* prefix,
3127  gchar** new_prefix);
3128 GList* g_completion_complete_utf8 (GCompletion *cmp,
3129  const gchar* prefix,
3130  gchar** new_prefix);
3131 void g_completion_set_compare (GCompletion *cmp,
3132  GCompletionStrncmpFunc strncmp_func);
3133 void g_completion_free (GCompletion* cmp);
3134 
3135 
3136 
3137 
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
3143 
3144 
3145 # 50 "/usr/include/glib-2.0/glib/gconvert.h"
3146 typedef enum
3147 {
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
3154 } GConvertError;
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;
3159 
3160 GIConv g_iconv_open (const gchar *to_codeset,
3161  const gchar *from_codeset);
3162 gsize g_iconv (GIConv converter,
3163  gchar **inbuf,
3164  gsize *inbytes_left,
3165  gchar **outbuf,
3166  gsize *outbytes_left);
3167 gint g_iconv_close (GIConv converter);
3168 
3169 
3170 gchar* g_convert (const gchar *str,
3171  gssize len,
3172  const gchar *to_codeset,
3173  const gchar *from_codeset,
3174  gsize *bytes_read,
3175  gsize *bytes_written,
3176  GError **error) __attribute__((__malloc__));
3177 gchar* g_convert_with_iconv (const gchar *str,
3178  gssize len,
3179  GIConv converter,
3180  gsize *bytes_read,
3181  gsize *bytes_written,
3182  GError **error) __attribute__((__malloc__));
3183 gchar* g_convert_with_fallback (const gchar *str,
3184  gssize len,
3185  const gchar *to_codeset,
3186  const gchar *from_codeset,
3187  const gchar *fallback,
3188  gsize *bytes_read,
3189  gsize *bytes_written,
3190  GError **error) __attribute__((__malloc__));
3191 
3192 
3193 
3194 
3195 gchar* g_locale_to_utf8 (const gchar *opsysstring,
3196  gssize len,
3197  gsize *bytes_read,
3198  gsize *bytes_written,
3199  GError **error) __attribute__((__malloc__));
3200 gchar* g_locale_from_utf8 (const gchar *utf8string,
3201  gssize len,
3202  gsize *bytes_read,
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,
3207  gssize len,
3208  gsize *bytes_read,
3209  gsize *bytes_written,
3210  GError **error) __attribute__((__malloc__));
3211 gchar* g_filename_from_utf8 (const gchar *utf8string,
3212  gssize len,
3213  gsize *bytes_read,
3214  gsize *bytes_written,
3215  GError **error) __attribute__((__malloc__));
3216 
3217 gchar *g_filename_from_uri (const gchar *uri,
3218  gchar **hostname,
3219  GError **error) __attribute__((__malloc__));
3220 
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);
3226 
3227 gchar *g_filename_display_basename (const gchar *filename) __attribute__((__malloc__));
3228 
3229 gchar **g_uri_list_extract_uris (const gchar *uri_list) __attribute__((__malloc__));
3230 
3231 
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
3237 
3238 
3239 
3240 typedef struct _GData GData;
3241 
3242 typedef void (*GDataForeachFunc) (GQuark key_id,
3243  gpointer data,
3244  gpointer user_data);
3245 
3246 
3247 
3248 void g_datalist_init (GData **datalist);
3249 void g_datalist_clear (GData **datalist);
3250 gpointer g_datalist_id_get_data (GData **datalist,
3251  GQuark key_id);
3252 void g_datalist_id_set_data_full (GData **datalist,
3253  GQuark key_id,
3254  gpointer data,
3255  GDestroyNotify destroy_func);
3256 gpointer g_datalist_id_remove_no_notify (GData **datalist,
3257  GQuark key_id);
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,
3263  guint flags);
3264 void g_datalist_unset_flags (GData **datalist,
3265  guint flags);
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,
3270  GQuark key_id);
3271 void g_dataset_id_set_data_full (gconstpointer dataset_location,
3272  GQuark key_id,
3273  gpointer data,
3274  GDestroyNotify destroy_func);
3275 gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location,
3276  GQuark key_id);
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"
3281 
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
3289 
3290 
3291 # 50 "/usr/include/glib-2.0/glib/gdate.h"
3292 typedef gint32 GTime;
3293 typedef guint16 GDateYear;
3294 typedef guint8 GDateDay;
3295 typedef struct _GDate GDate;
3296 
3297 
3298 typedef enum
3299 {
3300  G_DATE_DAY = 0,
3301  G_DATE_MONTH = 1,
3302  G_DATE_YEAR = 2
3303 } GDateDMY;
3304 
3305 
3306 typedef enum
3307 {
3308  G_DATE_BAD_WEEKDAY = 0,
3309  G_DATE_MONDAY = 1,
3310  G_DATE_TUESDAY = 2,
3311  G_DATE_WEDNESDAY = 3,
3312  G_DATE_THURSDAY = 4,
3313  G_DATE_FRIDAY = 5,
3314  G_DATE_SATURDAY = 6,
3315  G_DATE_SUNDAY = 7
3316 } GDateWeekday;
3317 typedef enum
3318 {
3319  G_DATE_BAD_MONTH = 0,
3320  G_DATE_JANUARY = 1,
3321  G_DATE_FEBRUARY = 2,
3322  G_DATE_MARCH = 3,
3323  G_DATE_APRIL = 4,
3324  G_DATE_MAY = 5,
3325  G_DATE_JUNE = 6,
3326  G_DATE_JULY = 7,
3327  G_DATE_AUGUST = 8,
3328  G_DATE_SEPTEMBER = 9,
3329  G_DATE_OCTOBER = 10,
3330  G_DATE_NOVEMBER = 11,
3331  G_DATE_DECEMBER = 12
3332 } GDateMonth;
3333 # 101 "/usr/include/glib-2.0/glib/gdate.h"
3334 struct _GDate
3335 {
3336  guint julian_days : 32;
3337 
3338 
3339 
3340 
3341 
3342  guint julian : 1;
3343  guint dmy : 1;
3344 
3345 
3346  guint day : 6;
3347  guint month : 4;
3348  guint year : 16;
3349 };
3350 
3351 
3352 
3353 
3354 
3355 GDate* g_date_new (void);
3356 GDate* g_date_new_dmy (GDateDay day,
3357  GDateMonth month,
3358  GDateYear year);
3359 GDate* g_date_new_julian (guint32 julian_day);
3360 void g_date_free (GDate *date);
3361 
3362 
3363 
3364 
3365 
3366 
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,
3374  GDateMonth month,
3375  GDateYear year) __attribute__((__const__));
3376 
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);
3383 
3384 
3385 
3386 
3387 
3388 
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);
3392 
3393 
3394 
3395 
3396 
3397 void g_date_clear (GDate *date,
3398  guint n_dates);
3399 
3400 
3401 
3402 
3403 
3404 void g_date_set_parse (GDate *date,
3405  const gchar *str);
3406 void g_date_set_time_t (GDate *date,
3407  time_t timet);
3408 void g_date_set_time_val (GDate *date,
3409  GTimeVal *timeval);
3410 
3411 void g_date_set_time (GDate *date,
3412  GTime time_);
3413 
3414 void g_date_set_month (GDate *date,
3415  GDateMonth month);
3416 void g_date_set_day (GDate *date,
3417  GDateDay day);
3418 void g_date_set_year (GDate *date,
3419  GDateYear year);
3420 void g_date_set_dmy (GDate *date,
3421  GDateDay day,
3422  GDateMonth month,
3423  GDateYear y);
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);
3428 
3429 
3430 void g_date_add_days (GDate *date,
3431  guint n_days);
3432 void g_date_subtract_days (GDate *date,
3433  guint n_days);
3434 
3435 
3436 void g_date_add_months (GDate *date,
3437  guint n_months);
3438 void g_date_subtract_months (GDate *date,
3439  guint n_months);
3440 
3441 
3442 void g_date_add_years (GDate *date,
3443  guint n_years);
3444 void g_date_subtract_years (GDate *date,
3445  guint n_years);
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__));
3451 
3452 
3453 
3454 gint g_date_days_between (const GDate *date1,
3455  const GDate *date2);
3456 
3457 
3458 gint g_date_compare (const GDate *lhs,
3459  const GDate *rhs);
3460 void g_date_to_struct_tm (const GDate *date,
3461  struct tm *tm);
3462 
3463 void g_date_clamp (GDate *date,
3464  const GDate *min_date,
3465  const GDate *max_date);
3466 
3467 
3468 void g_date_order (GDate *date1, GDate *date2);
3469 
3470 
3471 
3472 
3473 gsize g_date_strftime (gchar *s,
3474  gsize slen,
3475  const gchar *format,
3476  const GDate *date);
3477 # 261 "/usr/include/glib-2.0/glib/gdate.h"
3478 
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
3486 
3487 
3488 
3489 typedef struct _GTimeZone GTimeZone;
3490 # 50 "/usr/include/glib-2.0/glib/gtimezone.h"
3491 typedef enum
3492 {
3493  G_TIME_TYPE_STANDARD,
3494  G_TIME_TYPE_DAYLIGHT,
3495  G_TIME_TYPE_UNIVERSAL
3496 } GTimeType;
3497 
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);
3501 
3502 GTimeZone * g_time_zone_ref (GTimeZone *tz);
3503 void g_time_zone_unref (GTimeZone *tz);
3504 
3505 gint g_time_zone_find_interval (GTimeZone *tz,
3506  GTimeType type,
3507  gint64 time);
3508 
3509 gint g_time_zone_adjust_time (GTimeZone *tz,
3510  GTimeType type,
3511  gint64 *time);
3512 
3513 const gchar * g_time_zone_get_abbreviation (GTimeZone *tz,
3514  gint interval);
3515 gint32 g_time_zone_get_offset (GTimeZone *tz,
3516  gint interval);
3517 gboolean g_time_zone_is_dst (GTimeZone *tz,
3518  gint interval);
3519 
3520 
3521 # 34 "/usr/include/glib-2.0/glib/gdatetime.h" 2
3522 
3523 
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;
3528 
3529 void g_date_time_unref (GDateTime *datetime);
3530 GDateTime * g_date_time_ref (GDateTime *datetime);
3531 
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);
3535 
3536 GDateTime * g_date_time_new_from_unix_local (gint64 t);
3537 GDateTime * g_date_time_new_from_unix_utc (gint64 t);
3538 
3539 GDateTime * g_date_time_new_from_timeval_local (const GTimeVal *tv);
3540 GDateTime * g_date_time_new_from_timeval_utc (const GTimeVal *tv);
3541 
3542 GDateTime * g_date_time_new (GTimeZone *tz,
3543  gint year,
3544  gint month,
3545  gint day,
3546  gint hour,
3547  gint minute,
3548  gdouble seconds);
3549 GDateTime * g_date_time_new_local (gint year,
3550  gint month,
3551  gint day,
3552  gint hour,
3553  gint minute,
3554  gdouble seconds);
3555 GDateTime * g_date_time_new_utc (gint year,
3556  gint month,
3557  gint day,
3558  gint hour,
3559  gint minute,
3560  gdouble seconds);
3561 
3562 __attribute__((warn_unused_result))
3563 GDateTime * g_date_time_add (GDateTime *datetime,
3564  GTimeSpan timespan);
3565 
3566 __attribute__((warn_unused_result))
3567 GDateTime * g_date_time_add_years (GDateTime *datetime,
3568  gint years);
3569 __attribute__((warn_unused_result))
3570 GDateTime * g_date_time_add_months (GDateTime *datetime,
3571  gint months);
3572 __attribute__((warn_unused_result))
3573 GDateTime * g_date_time_add_weeks (GDateTime *datetime,
3574  gint weeks);
3575 __attribute__((warn_unused_result))
3576 GDateTime * g_date_time_add_days (GDateTime *datetime,
3577  gint days);
3578 
3579 __attribute__((warn_unused_result))
3580 GDateTime * g_date_time_add_hours (GDateTime *datetime,
3581  gint hours);
3582 __attribute__((warn_unused_result))
3583 GDateTime * g_date_time_add_minutes (GDateTime *datetime,
3584  gint minutes);
3585 __attribute__((warn_unused_result))
3586 GDateTime * g_date_time_add_seconds (GDateTime *datetime,
3587  gdouble seconds);
3588 
3589 __attribute__((warn_unused_result))
3590 GDateTime * g_date_time_add_full (GDateTime *datetime,
3591  gint years,
3592  gint months,
3593  gint days,
3594  gint hours,
3595  gint minutes,
3596  gdouble seconds);
3597 
3598 gint g_date_time_compare (gconstpointer dt1,
3599  gconstpointer dt2);
3600 GTimeSpan g_date_time_difference (GDateTime *end,
3601  GDateTime *begin);
3602 guint g_date_time_hash (gconstpointer datetime);
3603 gboolean g_date_time_equal (gconstpointer dt1,
3604  gconstpointer dt2);
3605 
3606 void g_date_time_get_ymd (GDateTime *datetime,
3607  gint *year,
3608  gint *month,
3609  gint *day);
3610 
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);
3614 
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);
3618 
3619 gint g_date_time_get_day_of_year (GDateTime *datetime);
3620 
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);
3626 
3627 gint64 g_date_time_to_unix (GDateTime *datetime);
3628 gboolean g_date_time_to_timeval (GDateTime *datetime,
3629  GTimeVal *tv);
3630 
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);
3634 
3635 GDateTime * g_date_time_to_timezone (GDateTime *datetime,
3636  GTimeZone *tz);
3637 GDateTime * g_date_time_to_local (GDateTime *datetime);
3638 GDateTime * g_date_time_to_utc (GDateTime *datetime);
3639 
3640 gchar * g_date_time_format (GDateTime *datetime,
3641  const gchar *format) __attribute__((__malloc__));
3642 
3643 
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
3649 
3650 
3651 
3652 typedef struct _GDir GDir;
3653 
3654 
3655 
3656 
3657 
3658 
3659 
3660 GDir * g_dir_open (const gchar *path,
3661  guint flags,
3662  GError **error);
3663 const gchar *g_dir_read_name (GDir *dir);
3664 void g_dir_rewind (GDir *dir);
3665 void g_dir_close (GDir *dir);
3666 
3667 
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
3675 
3676 
3677 
3678 
3679 
3680 typedef enum
3681 {
3682  G_FILE_ERROR_EXIST,
3683  G_FILE_ERROR_ISDIR,
3684  G_FILE_ERROR_ACCES,
3685  G_FILE_ERROR_NAMETOOLONG,
3686  G_FILE_ERROR_NOENT,
3687  G_FILE_ERROR_NOTDIR,
3688  G_FILE_ERROR_NXIO,
3689  G_FILE_ERROR_NODEV,
3690  G_FILE_ERROR_ROFS,
3691  G_FILE_ERROR_TXTBSY,
3692  G_FILE_ERROR_FAULT,
3693  G_FILE_ERROR_LOOP,
3694  G_FILE_ERROR_NOSPC,
3695  G_FILE_ERROR_NOMEM,
3696  G_FILE_ERROR_MFILE,
3697  G_FILE_ERROR_NFILE,
3698  G_FILE_ERROR_BADF,
3699  G_FILE_ERROR_INVAL,
3700  G_FILE_ERROR_PIPE,
3701  G_FILE_ERROR_AGAIN,
3702  G_FILE_ERROR_INTR,
3703  G_FILE_ERROR_IO,
3704  G_FILE_ERROR_PERM,
3705  G_FILE_ERROR_NOSYS,
3706  G_FILE_ERROR_FAILED
3707 } GFileError;
3708 
3709 
3710 
3711 
3712 
3713 typedef enum
3714 {
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
3720 } GFileTest;
3721 
3722 GQuark g_file_error_quark (void);
3723 
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,
3727  GFileTest test);
3728 gboolean g_file_get_contents (const gchar *filename,
3729  gchar **contents,
3730  gsize *length,
3731  GError **error);
3732 gboolean g_file_set_contents (const gchar *filename,
3733  const gchar *contents,
3734  gssize length,
3735  GError **error);
3736 gchar *g_file_read_link (const gchar *filename,
3737  GError **error);
3738 
3739 
3740 gint g_mkstemp (gchar *tmpl);
3741 gint g_mkstemp_full (gchar *tmpl,
3742  int flags,
3743  int mode);
3744 
3745 
3746 gint g_file_open_tmp (const gchar *tmpl,
3747  gchar **name_used,
3748  GError **error);
3749 
3750 char *g_format_size_for_display (goffset size);
3751 
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__));
3757 
3758 gchar *g_build_filename (const gchar *first_element,
3759  ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
3760 gchar *g_build_filenamev (gchar **args) __attribute__((__malloc__));
3761 
3762 int g_mkdir_with_parents (const gchar *pathname,
3763  int mode);
3764 
3765 
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
3773 
3774 
3775 
3776 typedef struct _GHashTable GHashTable;
3777 
3778 typedef gboolean (*GHRFunc) (gpointer key,
3779  gpointer value,
3780  gpointer user_data);
3781 
3782 typedef struct _GHashTableIter GHashTableIter;
3783 
3785 {
3786 
3787  gpointer dummy1;
3788  gpointer dummy2;
3789  gpointer dummy3;
3790  int dummy4;
3791  gboolean dummy5;
3792  gpointer dummy6;
3793 };
3794 
3795 
3796 
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,
3805  gpointer key,
3806  gpointer value);
3807 void g_hash_table_replace (GHashTable *hash_table,
3808  gpointer key,
3809  gpointer value);
3810 gboolean g_hash_table_remove (GHashTable *hash_table,
3811  gconstpointer key);
3812 void g_hash_table_remove_all (GHashTable *hash_table);
3813 gboolean g_hash_table_steal (GHashTable *hash_table,
3814  gconstpointer key);
3815 void g_hash_table_steal_all (GHashTable *hash_table);
3816 gpointer g_hash_table_lookup (GHashTable *hash_table,
3817  gconstpointer key);
3818 gboolean g_hash_table_lookup_extended (GHashTable *hash_table,
3819  gconstpointer lookup_key,
3820  gpointer *orig_key,
3821  gpointer *value);
3822 void g_hash_table_foreach (GHashTable *hash_table,
3823  GHFunc func,
3824  gpointer user_data);
3825 gpointer g_hash_table_find (GHashTable *hash_table,
3826  GHRFunc predicate,
3827  gpointer user_data);
3828 guint g_hash_table_foreach_remove (GHashTable *hash_table,
3829  GHRFunc func,
3830  gpointer user_data);
3831 guint g_hash_table_foreach_steal (GHashTable *hash_table,
3832  GHRFunc func,
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);
3837 
3838 void g_hash_table_iter_init (GHashTableIter *iter,
3839  GHashTable *hash_table);
3840 gboolean g_hash_table_iter_next (GHashTableIter *iter,
3841  gpointer *key,
3842  gpointer *value);
3843 GHashTable* g_hash_table_iter_get_hash_table (GHashTableIter *iter);
3844 void g_hash_table_iter_remove (GHashTableIter *iter);
3845 void g_hash_table_iter_steal (GHashTableIter *iter);
3846 
3847 
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,
3852  gconstpointer v2);
3853 guint g_str_hash (gconstpointer v);
3854 
3855 gboolean g_int_equal (gconstpointer v1,
3856  gconstpointer v2);
3857 guint g_int_hash (gconstpointer v);
3858 
3859 gboolean g_int64_equal (gconstpointer v1,
3860  gconstpointer v2);
3861 guint g_int64_hash (gconstpointer v);
3862 
3863 gboolean g_double_equal (gconstpointer v1,
3864  gconstpointer v2);
3865 guint g_double_hash (gconstpointer v);
3866 
3867 
3868 
3869 
3870 
3871 
3872 
3873 guint g_direct_hash (gconstpointer v) __attribute__((__const__));
3874 gboolean g_direct_equal (gconstpointer v1,
3875  gconstpointer v2) __attribute__((__const__));
3876 
3877 
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
3883 
3884 
3885 
3886 
3887 
3888 typedef struct _GHook GHook;
3889 typedef struct _GHookList GHookList;
3890 
3891 typedef gint (*GHookCompareFunc) (GHook *new_hook,
3892  GHook *sibling);
3893 typedef gboolean (*GHookFindFunc) (GHook *hook,
3894  gpointer data);
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,
3902  GHook *hook);
3903 typedef enum
3904 {
3905  G_HOOK_FLAG_ACTIVE = 1 << 0,
3906  G_HOOK_FLAG_IN_CALL = 1 << 1,
3907  G_HOOK_FLAG_MASK = 0x0f
3908 } GHookFlagMask;
3909 
3910 
3911 
3912 
3914 {
3915  gulong seq_id;
3916  guint hook_size : 16;
3917  guint is_setup : 1;
3918  GHook *hooks;
3919  gpointer dummy3;
3920  GHookFinalizeFunc finalize_hook;
3921  gpointer dummy[2];
3922 };
3923 struct _GHook
3924 {
3925  gpointer data;
3926  GHook *next;
3927  GHook *prev;
3928  guint ref_count;
3929  gulong hook_id;
3930  guint flags;
3931  gpointer func;
3932  GDestroyNotify destroy;
3933 };
3934 # 106 "/usr/include/glib-2.0/glib/ghook.h"
3935 void g_hook_list_init (GHookList *hook_list,
3936  guint hook_size);
3937 void g_hook_list_clear (GHookList *hook_list);
3938 GHook* g_hook_alloc (GHookList *hook_list);
3939 void g_hook_free (GHookList *hook_list,
3940  GHook *hook);
3941 GHook * g_hook_ref (GHookList *hook_list,
3942  GHook *hook);
3943 void g_hook_unref (GHookList *hook_list,
3944  GHook *hook);
3945 gboolean g_hook_destroy (GHookList *hook_list,
3946  gulong hook_id);
3947 void g_hook_destroy_link (GHookList *hook_list,
3948  GHook *hook);
3949 void g_hook_prepend (GHookList *hook_list,
3950  GHook *hook);
3951 void g_hook_insert_before (GHookList *hook_list,
3952  GHook *sibling,
3953  GHook *hook);
3954 void g_hook_insert_sorted (GHookList *hook_list,
3955  GHook *hook,
3956  GHookCompareFunc func);
3957 GHook* g_hook_get (GHookList *hook_list,
3958  gulong hook_id);
3959 GHook* g_hook_find (GHookList *hook_list,
3960  gboolean need_valids,
3961  GHookFindFunc func,
3962  gpointer data);
3963 GHook* g_hook_find_data (GHookList *hook_list,
3964  gboolean need_valids,
3965  gpointer data);
3966 GHook* g_hook_find_func (GHookList *hook_list,
3967  gboolean need_valids,
3968  gpointer func);
3969 GHook* g_hook_find_func_data (GHookList *hook_list,
3970  gboolean need_valids,
3971  gpointer func,
3972  gpointer data);
3973 
3974 GHook* g_hook_first_valid (GHookList *hook_list,
3975  gboolean may_be_in_call);
3976 
3977 
3978 
3979 GHook* g_hook_next_valid (GHookList *hook_list,
3980  GHook *hook,
3981  gboolean may_be_in_call);
3982 
3983 gint g_hook_compare_ids (GHook *new_hook,
3984  GHook *sibling);
3985 
3986 
3987 
3988 
3989 
3990 void g_hook_list_invoke (GHookList *hook_list,
3991  gboolean may_recurse);
3992 
3993 
3994 
3995 void g_hook_list_invoke_check (GHookList *hook_list,
3996  gboolean may_recurse);
3997 
3998 
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);
4007 
4008 
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
4014 
4015 
4016 
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);
4020 
4021 gchar *g_hostname_to_ascii (const gchar *hostname);
4022 gchar *g_hostname_to_unicode (const gchar *hostname);
4023 
4024 
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
4036 
4037 
4038 # 61 "/usr/include/glib-2.0/glib/gpoll.h"
4039 typedef struct _GPollFD GPollFD;
4040 # 76 "/usr/include/glib-2.0/glib/gpoll.h"
4041 typedef gint (*GPollFunc) (GPollFD *ufds,
4042  guint nfsd,
4043  gint timeout_);
4044 # 90 "/usr/include/glib-2.0/glib/gpoll.h"
4045 struct _GPollFD
4046 {
4047 
4048 
4049 
4050  gint fd;
4051 
4052  gushort events;
4053  gushort revents;
4054 };
4055 # 111 "/usr/include/glib-2.0/glib/gpoll.h"
4056 gint g_poll (GPollFD *fds,
4057  guint nfds,
4058  gint timeout);
4059 
4060 
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
4066 
4067 
4068 
4069 typedef struct _GSList GSList;
4070 
4071 struct _GSList
4072 {
4073  gpointer data;
4074  GSList *next;
4075 };
4076 
4077 
4078 
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);
4082 
4083 void g_slist_free_full (GSList *list,
4084  GDestroyNotify free_func);
4085 GSList* g_slist_append (GSList *list,
4086  gpointer data) __attribute__((warn_unused_result));
4087 GSList* g_slist_prepend (GSList *list,
4088  gpointer data) __attribute__((warn_unused_result));
4089 GSList* g_slist_insert (GSList *list,
4090  gpointer data,
4091  gint position) __attribute__((warn_unused_result));
4092 GSList* g_slist_insert_sorted (GSList *list,
4093  gpointer data,
4094  GCompareFunc func) __attribute__((warn_unused_result));
4095 GSList* g_slist_insert_sorted_with_data (GSList *list,
4096  gpointer data,
4097  GCompareDataFunc func,
4098  gpointer user_data) __attribute__((warn_unused_result));
4099 GSList* g_slist_insert_before (GSList *slist,
4100  GSList *sibling,
4101  gpointer data) __attribute__((warn_unused_result));
4102 GSList* g_slist_concat (GSList *list1,
4103  GSList *list2) __attribute__((warn_unused_result));
4104 GSList* g_slist_remove (GSList *list,
4105  gconstpointer data) __attribute__((warn_unused_result));
4106 GSList* g_slist_remove_all (GSList *list,
4107  gconstpointer data) __attribute__((warn_unused_result));
4108 GSList* g_slist_remove_link (GSList *list,
4109  GSList *link_) __attribute__((warn_unused_result));
4110 GSList* g_slist_delete_link (GSList *list,
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));
4114 GSList* g_slist_nth (GSList *list,
4115  guint n);
4116 GSList* g_slist_find (GSList *list,
4117  gconstpointer data);
4118 GSList* g_slist_find_custom (GSList *list,
4119  gconstpointer data,
4120  GCompareFunc func);
4121 gint g_slist_position (GSList *list,
4122  GSList *llink);
4123 gint g_slist_index (GSList *list,
4124  gconstpointer data);
4125 GSList* g_slist_last (GSList *list);
4126 guint g_slist_length (GSList *list);
4127 void g_slist_foreach (GSList *list,
4128  GFunc func,
4129  gpointer user_data);
4130 GSList* g_slist_sort (GSList *list,
4131  GCompareFunc compare_func) __attribute__((warn_unused_result));
4132 GSList* g_slist_sort_with_data (GSList *list,
4133  GCompareDataFunc compare_func,
4134  gpointer user_data) __attribute__((warn_unused_result));
4135 gpointer g_slist_nth_data (GSList *list,
4136  guint n);
4137 
4138 
4139 
4140 
4141 void g_slist_push_allocator (gpointer dummy);
4142 void g_slist_pop_allocator (void);
4143 
4144 
4145 
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
4149 
4150 
4151 
4152 
4153 
4154 
4155 
4156 
4157 
4158 typedef struct _GMainContext GMainContext;
4159 
4160 
4161 
4162 
4163 
4164 
4165 
4166 typedef struct _GMainLoop GMainLoop;
4167 
4168 
4169 
4170 
4171 
4172 
4173 
4174 typedef struct _GSource GSource;
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"
4179 typedef struct _GSourceFuncs GSourceFuncs;
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,
4184  gint status,
4185  gpointer data);
4186 struct _GSource
4187 {
4188 
4189  gpointer callback_data;
4190  GSourceCallbackFuncs *callback_funcs;
4191 
4192  GSourceFuncs *source_funcs;
4193  guint ref_count;
4194 
4195  GMainContext *context;
4196 
4197  gint priority;
4198  guint flags;
4199  guint source_id;
4200 
4201  GSList *poll_fds;
4202 
4203  GSource *prev;
4204  GSource *next;
4205 
4206  char *name;
4207 
4208  GSourcePrivate *priv;
4209 };
4210 
4212 {
4213  void (*ref) (gpointer cb_data);
4214  void (*unref) (gpointer cb_data);
4215  void (*get) (gpointer cb_data,
4216  GSource *source,
4217  GSourceFunc *func,
4218  gpointer *data);
4219 };
4220 
4221 typedef void (*GSourceDummyMarshal) (void);
4222 
4224 {
4225  gboolean (*prepare) (GSource *source,
4226  gint *timeout_);
4227  gboolean (*check) (GSource *source);
4228  gboolean (*dispatch) (GSource *source,
4229  GSourceFunc callback,
4230  gpointer user_data);
4231  void (*finalize) (GSource *source);
4232 
4233 
4234  GSourceFunc closure_callback;
4235  GSourceDummyMarshal closure_marshal;
4236 };
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);
4242 
4243 gboolean g_main_context_iteration (GMainContext *context,
4244  gboolean may_block);
4245 gboolean g_main_context_pending (GMainContext *context);
4246 
4247 
4248 
4249 GSource *g_main_context_find_source_by_id (GMainContext *context,
4250  guint source_id);
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,
4254  GSourceFuncs *funcs,
4255  gpointer user_data);
4256 
4257 
4258 
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,
4264  GCond *cond,
4265  GMutex *mutex);
4266 
4267 gboolean g_main_context_prepare (GMainContext *context,
4268  gint *priority);
4269 gint g_main_context_query (GMainContext *context,
4270  gint max_priority,
4271  gint *timeout_,
4272  GPollFD *fds,
4273  gint n_fds);
4274 gint g_main_context_check (GMainContext *context,
4275  gint max_priority,
4276  GPollFD *fds,
4277  gint n_fds);
4278 void g_main_context_dispatch (GMainContext *context);
4279 
4280 void g_main_context_set_poll_func (GMainContext *context,
4281  GPollFunc func);
4282 GPollFunc g_main_context_get_poll_func (GMainContext *context);
4283 
4284 
4285 
4286 void g_main_context_add_poll (GMainContext *context,
4287  GPollFD *fd,
4288  gint priority);
4289 void g_main_context_remove_poll (GMainContext *context,
4290  GPollFD *fd);
4291 
4292 gint g_main_depth (void);
4293 GSource *g_main_current_source (void);
4294 
4295 
4296 
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);
4300 
4301 
4302 
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);
4311 
4312 
4313 
4314 GSource *g_source_new (GSourceFuncs *source_funcs,
4315  guint struct_size);
4316 GSource *g_source_ref (GSource *source);
4317 void g_source_unref (GSource *source);
4318 
4319 guint g_source_attach (GSource *source,
4320  GMainContext *context);
4321 void g_source_destroy (GSource *source);
4322 
4323 void g_source_set_priority (GSource *source,
4324  gint priority);
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);
4330 
4331 GMainContext *g_source_get_context (GSource *source);
4332 
4333 void g_source_set_callback (GSource *source,
4334  GSourceFunc func,
4335  gpointer data,
4336  GDestroyNotify notify);
4337 
4338 void g_source_set_funcs (GSource *source,
4339  GSourceFuncs *funcs);
4340 gboolean g_source_is_destroyed (GSource *source);
4341 
4342 void g_source_set_name (GSource *source,
4343  const char *name);
4344 const char* g_source_get_name (GSource *source);
4345 void g_source_set_name_by_id (guint tag,
4346  const char *name);
4347 
4348 
4349 
4350 void g_source_set_callback_indirect (GSource *source,
4351  gpointer callback_data,
4352  GSourceCallbackFuncs *callback_funcs);
4353 
4354 void g_source_add_poll (GSource *source,
4355  GPollFD *fd);
4356 void g_source_remove_poll (GSource *source,
4357  GPollFD *fd);
4358 
4359 void g_source_add_child_source (GSource *source,
4360  GSource *child_source);
4361 void g_source_remove_child_source (GSource *source,
4362  GSource *child_source);
4363 
4364 
4365 void g_source_get_current_time (GSource *source,
4366  GTimeVal *timeval);
4367 
4368 gint64 g_source_get_time (GSource *source);
4369 
4370 
4371 
4372 
4373 
4374 
4375 
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);
4380 
4381 
4382 
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);
4391 
4392 
4393 guint g_timeout_add_full (gint priority,
4394  guint interval,
4395  GSourceFunc function,
4396  gpointer data,
4397  GDestroyNotify notify);
4398 guint g_timeout_add (guint interval,
4399  GSourceFunc function,
4400  gpointer data);
4401 guint g_timeout_add_seconds_full (gint priority,
4402  guint interval,
4403  GSourceFunc function,
4404  gpointer data,
4405  GDestroyNotify notify);
4406 guint g_timeout_add_seconds (guint interval,
4407  GSourceFunc function,
4408  gpointer data);
4409 guint g_child_watch_add_full (gint priority,
4410  GPid pid,
4411  GChildWatchFunc function,
4412  gpointer data,
4413  GDestroyNotify notify);
4414 guint g_child_watch_add (GPid pid,
4415  GChildWatchFunc function,
4416  gpointer data);
4417 guint g_idle_add (GSourceFunc function,
4418  gpointer data);
4419 guint g_idle_add_full (gint priority,
4420  GSourceFunc function,
4421  gpointer data,
4422  GDestroyNotify notify);
4423 gboolean g_idle_remove_by_data (gpointer data);
4424 
4425 void g_main_context_invoke_full (GMainContext *context,
4426  gint priority,
4427  GSourceFunc function,
4428  gpointer data,
4429  GDestroyNotify notify);
4430 void g_main_context_invoke (GMainContext *context,
4431  GSourceFunc function,
4432  gpointer data);
4433 
4434 
4435 extern GSourceFuncs g_timeout_funcs;
4436 extern GSourceFuncs g_child_watch_funcs;
4437 extern GSourceFuncs g_idle_funcs;
4438 
4439 
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
4451 
4452 
4453 
4454 typedef guint32 gunichar;
4455 typedef guint16 gunichar2;
4456 
4457 
4458 
4459 
4460 typedef enum
4461 {
4462  G_UNICODE_CONTROL,
4463  G_UNICODE_FORMAT,
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
4492 } GUnicodeType;
4493 
4494 
4495 
4496 
4497 
4498 
4499 typedef enum
4500 {
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;
4539 
4540 typedef enum
4541 {
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,
4589 
4590 
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,
4599 
4600 
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,
4608 
4609 
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,
4616 
4617 
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,
4629 
4630 
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,
4646 
4647 
4648  G_UNICODE_SCRIPT_BATAK,
4649  G_UNICODE_SCRIPT_BRAHMI,
4650  G_UNICODE_SCRIPT_MANDAIC
4651 } GUnicodeScript;
4652 
4653 
4654 
4655 
4656 
4657 
4658 
4659 gboolean g_get_charset (const char **charset);
4660 
4661 
4662 
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__));
4680 
4681 
4682 
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__));
4686 
4687 
4688 
4689 gint g_unichar_digit_value (gunichar c) __attribute__((__const__));
4690 
4691 gint g_unichar_xdigit_value (gunichar c) __attribute__((__const__));
4692 
4693 
4694 GUnicodeType g_unichar_type (gunichar c) __attribute__((__const__));
4695 
4696 
4697 GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__((__const__));
4698 
4699 
4700 gint g_unichar_combining_class (gunichar uc) __attribute__((__const__));
4701 
4702 
4703 
4704 
4705 
4706 void g_unicode_canonical_ordering (gunichar *string,
4707  gsize len);
4708 
4709 
4710 
4711 
4712 gunichar *g_unicode_canonical_decomposition (gunichar ch,
4713  gsize *result_len) __attribute__((__malloc__));
4714 
4715 
4716 
4717 extern const gchar * const g_utf8_skip;
4718 
4719 
4720 
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__));
4724 
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__));
4734 
4735 glong g_utf8_strlen (const gchar *p,
4736  gssize max) __attribute__((__pure__));
4737 
4738 
4739 gchar* g_utf8_strncpy (gchar *dest,
4740  const gchar *src,
4741  gsize n);
4742 
4743 
4744 
4745 gchar* g_utf8_strchr (const gchar *p,
4746  gssize len,
4747  gunichar c);
4748 gchar* g_utf8_strrchr (const gchar *p,
4749  gssize len,
4750  gunichar c);
4751 gchar* g_utf8_strreverse (const gchar *str,
4752  gssize len);
4753 
4754 gunichar2 *g_utf8_to_utf16 (const gchar *str,
4755  glong len,
4756  glong *items_read,
4757  glong *items_written,
4758  GError **error) __attribute__((__malloc__));
4759 gunichar * g_utf8_to_ucs4 (const gchar *str,
4760  glong len,
4761  glong *items_read,
4762  glong *items_written,
4763  GError **error) __attribute__((__malloc__));
4764 gunichar * g_utf8_to_ucs4_fast (const gchar *str,
4765  glong len,
4766  glong *items_written) __attribute__((__malloc__));
4767 gunichar * g_utf16_to_ucs4 (const gunichar2 *str,
4768  glong len,
4769  glong *items_read,
4770  glong *items_written,
4771  GError **error) __attribute__((__malloc__));
4772 gchar* g_utf16_to_utf8 (const gunichar2 *str,
4773  glong len,
4774  glong *items_read,
4775  glong *items_written,
4776  GError **error) __attribute__((__malloc__));
4777 gunichar2 *g_ucs4_to_utf16 (const gunichar *str,
4778  glong len,
4779  glong *items_read,
4780  glong *items_written,
4781  GError **error) __attribute__((__malloc__));
4782 gchar* g_ucs4_to_utf8 (const gunichar *str,
4783  glong len,
4784  glong *items_read,
4785  glong *items_written,
4786  GError **error) __attribute__((__malloc__));
4787 
4788 
4789 
4790 
4791 
4792 gint g_unichar_to_utf8 (gunichar c,
4793  gchar *outbuf);
4794 
4795 
4796 
4797 
4798 
4799 gboolean g_utf8_validate (const gchar *str,
4800  gssize max_len,
4801  const gchar **end);
4802 
4803 
4804 gboolean g_unichar_validate (gunichar ch) __attribute__((__const__));
4805 
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__));
4812 
4813 typedef enum {
4814  G_NORMALIZE_DEFAULT,
4815  G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT,
4816  G_NORMALIZE_DEFAULT_COMPOSE,
4817  G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE,
4818  G_NORMALIZE_ALL,
4819  G_NORMALIZE_NFKD = G_NORMALIZE_ALL,
4820  G_NORMALIZE_ALL_COMPOSE,
4821  G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE
4822 } GNormalizeMode;
4823 
4824 gchar *g_utf8_normalize (const gchar *str,
4825  gssize len,
4826  GNormalizeMode mode) __attribute__((__malloc__));
4827 
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__));
4834 
4835 gboolean g_unichar_get_mirror_char (gunichar ch,
4836  gunichar *mirrored_ch);
4837 
4838 GUnicodeScript g_unichar_get_script (gunichar ch) __attribute__((__const__));
4839 
4840 
4841 
4842 
4843 gchar *_g_utf8_make_valid (const gchar *name);
4844 
4845 
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
4849 
4850 
4851 
4852 typedef struct _GString GString;
4853 typedef struct _GStringChunk GStringChunk;
4854 
4855 struct _GString
4856 {
4857  gchar *str;
4858  gsize len;
4859  gsize allocated_len;
4860 };
4861 
4862 
4863 
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,
4871  gssize len);
4872 gchar* g_string_chunk_insert_const (GStringChunk *chunk,
4873  const gchar *string);
4874 
4875 
4876 
4877 
4878 GString* g_string_new (const gchar *init);
4879 GString* g_string_new_len (const gchar *init,
4880  gssize len);
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,
4885  const GString *v2);
4886 guint g_string_hash (const GString *str);
4887 GString* g_string_assign (GString *string,
4888  const gchar *rval);
4889 GString* g_string_truncate (GString *string,
4890  gsize len);
4891 GString* g_string_set_size (GString *string,
4892  gsize len);
4893 GString* g_string_insert_len (GString *string,
4894  gssize pos,
4895  const gchar *val,
4896  gssize len);
4897 GString* g_string_append (GString *string,
4898  const gchar *val);
4899 GString* g_string_append_len (GString *string,
4900  const gchar *val,
4901  gssize len);
4902 GString* g_string_append_c (GString *string,
4903  gchar c);
4904 GString* g_string_append_unichar (GString *string,
4905  gunichar wc);
4906 GString* g_string_prepend (GString *string,
4907  const gchar *val);
4908 GString* g_string_prepend_c (GString *string,
4909  gchar c);
4910 GString* g_string_prepend_unichar (GString *string,
4911  gunichar wc);
4912 GString* g_string_prepend_len (GString *string,
4913  const gchar *val,
4914  gssize len);
4915 GString* g_string_insert (GString *string,
4916  gssize pos,
4917  const gchar *val);
4918 GString* g_string_insert_c (GString *string,
4919  gssize pos,
4920  gchar c);
4921 GString* g_string_insert_unichar (GString *string,
4922  gssize pos,
4923  gunichar wc);
4924 GString* g_string_overwrite (GString *string,
4925  gsize pos,
4926  const gchar *val);
4927 GString* g_string_overwrite_len (GString *string,
4928  gsize pos,
4929  const gchar *val,
4930  gssize len);
4931 GString* g_string_erase (GString *string,
4932  gssize pos,
4933  gssize len);
4934 GString* g_string_ascii_down (GString *string);
4935 GString* g_string_ascii_up (GString *string);
4936 void g_string_vprintf (GString *string,
4937  const gchar *format,
4938  va_list args);
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,
4944  va_list args);
4945 void g_string_append_printf (GString *string,
4946  const gchar *format,
4947  ...) __attribute__((__format__ (__printf__, 2, 3)));
4948 GString * g_string_append_uri_escaped(GString *string,
4949  const char *unescaped,
4950  const char *reserved_chars_allowed,
4951  gboolean allow_utf8);
4952 
4953 
4954 
4955 static inline GString*
4956 g_string_append_c_inline (GString *gstring,
4957  gchar c)
4958 {
4959  if (gstring->len + 1 < gstring->allocated_len)
4960  {
4961  gstring->str[gstring->len++] = c;
4962  gstring->str[gstring->len] = 0;
4963  }
4964  else
4965  g_string_insert_c (gstring, -1, c);
4966  return gstring;
4967 }
4968 # 167 "/usr/include/glib-2.0/glib/gstring.h"
4969 GString* g_string_down (GString *string);
4970 GString* g_string_up (GString *string);
4971 
4972 
4973 
4974 
4975 
4976 
4977 
4978 
4979 # 37 "/usr/include/glib-2.0/glib/giochannel.h" 2
4980 
4981 
4982 
4983 
4984 
4985 
4986 typedef struct _GIOChannel GIOChannel;
4987 typedef struct _GIOFuncs GIOFuncs;
4988 
4989 typedef enum
4990 {
4991  G_IO_ERROR_NONE,
4992  G_IO_ERROR_AGAIN,
4993  G_IO_ERROR_INVAL,
4994  G_IO_ERROR_UNKNOWN
4995 } GIOError;
4996 
4997 
4998 
4999 typedef enum
5000 {
5001 
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,
5010 
5011  G_IO_CHANNEL_ERROR_FAILED
5012 } GIOChannelError;
5013 
5014 typedef enum
5015 {
5016  G_IO_STATUS_ERROR,
5017  G_IO_STATUS_NORMAL,
5018  G_IO_STATUS_EOF,
5019  G_IO_STATUS_AGAIN
5020 } GIOStatus;
5021 
5022 typedef enum
5023 {
5024  G_SEEK_CUR,
5025  G_SEEK_SET,
5026  G_SEEK_END
5027 } GSeekType;
5028 
5029 typedef enum
5030 {
5031  G_IO_IN =1,
5032  G_IO_OUT =4,
5033  G_IO_PRI =2,
5034  G_IO_ERR =8,
5035  G_IO_HUP =16,
5036  G_IO_NVAL =32
5037 } GIOCondition;
5038 
5039 typedef enum
5040 {
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
5049 } GIOFlags;
5050 
5052 {
5053 
5054  gint ref_count;
5055  GIOFuncs *funcs;
5056 
5057  gchar *encoding;
5058  GIConv read_cd;
5059  GIConv write_cd;
5060  gchar *line_term;
5061  guint line_term_len;
5062 
5063  gsize buf_size;
5064  GString *read_buf;
5065  GString *encoded_read_buf;
5066  GString *write_buf;
5067  gchar partial_write_buf[6];
5068 
5069 
5070 
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;
5077 
5078  gpointer reserved1;
5079  gpointer reserved2;
5080 };
5081 
5082 typedef gboolean (*GIOFunc) (GIOChannel *source,
5083  GIOCondition condition,
5084  gpointer data);
5086 {
5087  GIOStatus (*io_read) (GIOChannel *channel,
5088  gchar *buf,
5089  gsize count,
5090  gsize *bytes_read,
5091  GError **err);
5092  GIOStatus (*io_write) (GIOChannel *channel,
5093  const gchar *buf,
5094  gsize count,
5095  gsize *bytes_written,
5096  GError **err);
5097  GIOStatus (*io_seek) (GIOChannel *channel,
5098  gint64 offset,
5099  GSeekType type,
5100  GError **err);
5101  GIOStatus (*io_close) (GIOChannel *channel,
5102  GError **err);
5103  GSource* (*io_create_watch) (GIOChannel *channel,
5104  GIOCondition condition);
5105  void (*io_free) (GIOChannel *channel);
5106  GIOStatus (*io_set_flags) (GIOChannel *channel,
5107  GIOFlags flags,
5108  GError **err);
5109  GIOFlags (*io_get_flags) (GIOChannel *channel);
5110 };
5111 
5112 void g_io_channel_init (GIOChannel *channel);
5113 GIOChannel *g_io_channel_ref (GIOChannel *channel);
5114 void g_io_channel_unref (GIOChannel *channel);
5115 
5116 
5117 GIOError g_io_channel_read (GIOChannel *channel,
5118  gchar *buf,
5119  gsize count,
5120  gsize *bytes_read);
5121 GIOError g_io_channel_write (GIOChannel *channel,
5122  const gchar *buf,
5123  gsize count,
5124  gsize *bytes_written);
5125 GIOError g_io_channel_seek (GIOChannel *channel,
5126  gint64 offset,
5127  GSeekType type);
5128 void g_io_channel_close (GIOChannel *channel);
5129 
5130 
5131 GIOStatus g_io_channel_shutdown (GIOChannel *channel,
5132  gboolean flush,
5133  GError **err);
5134 guint g_io_add_watch_full (GIOChannel *channel,
5135  gint priority,
5136  GIOCondition condition,
5137  GIOFunc func,
5138  gpointer user_data,
5139  GDestroyNotify notify);
5140 GSource * g_io_create_watch (GIOChannel *channel,
5141  GIOCondition condition);
5142 guint g_io_add_watch (GIOChannel *channel,
5143  GIOCondition condition,
5144  GIOFunc func,
5145  gpointer user_data);
5146 
5147 
5148 
5149 
5150 void g_io_channel_set_buffer_size (GIOChannel *channel,
5151  gsize size);
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,
5155  GIOFlags flags,
5156  GError **error);
5157 GIOFlags g_io_channel_get_flags (GIOChannel *channel);
5158 void g_io_channel_set_line_term (GIOChannel *channel,
5159  const gchar *line_term,
5160  gint length);
5161 const gchar* g_io_channel_get_line_term (GIOChannel *channel,
5162  gint *length);
5163 void g_io_channel_set_buffered (GIOChannel *channel,
5164  gboolean buffered);
5165 gboolean g_io_channel_get_buffered (GIOChannel *channel);
5166 GIOStatus g_io_channel_set_encoding (GIOChannel *channel,
5167  const gchar *encoding,
5168  GError **error);
5169 const gchar* g_io_channel_get_encoding (GIOChannel *channel);
5170 void g_io_channel_set_close_on_unref (GIOChannel *channel,
5171  gboolean do_close);
5172 gboolean g_io_channel_get_close_on_unref (GIOChannel *channel);
5173 
5174 
5175 GIOStatus g_io_channel_flush (GIOChannel *channel,
5176  GError **error);
5177 GIOStatus g_io_channel_read_line (GIOChannel *channel,
5178  gchar **str_return,
5179  gsize *length,
5180  gsize *terminator_pos,
5181  GError **error);
5182 GIOStatus g_io_channel_read_line_string (GIOChannel *channel,
5183  GString *buffer,
5184  gsize *terminator_pos,
5185  GError **error);
5186 GIOStatus g_io_channel_read_to_end (GIOChannel *channel,
5187  gchar **str_return,
5188  gsize *length,
5189  GError **error);
5190 GIOStatus g_io_channel_read_chars (GIOChannel *channel,
5191  gchar *buf,
5192  gsize count,
5193  gsize *bytes_read,
5194  GError **error);
5195 GIOStatus g_io_channel_read_unichar (GIOChannel *channel,
5196  gunichar *thechar,
5197  GError **error);
5198 GIOStatus g_io_channel_write_chars (GIOChannel *channel,
5199  const gchar *buf,
5200  gssize count,
5201  gsize *bytes_written,
5202  GError **error);
5203 GIOStatus g_io_channel_write_unichar (GIOChannel *channel,
5204  gunichar thechar,
5205  GError **error);
5206 GIOStatus g_io_channel_seek_position (GIOChannel *channel,
5207  gint64 offset,
5208  GSeekType type,
5209  GError **error);
5210 
5211 
5212 
5213 
5214 GIOChannel* g_io_channel_new_file (const gchar *filename,
5215  const gchar *mode,
5216  GError **error);
5217 
5218 
5219 
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"
5223 GIOChannel* g_io_channel_unix_new (int fd);
5224 gint g_io_channel_unix_get_fd (GIOChannel *channel);
5225 
5226 
5227 
5228 extern GSourceFuncs g_io_watch_funcs;
5229 # 364 "/usr/include/glib-2.0/glib/giochannel.h"
5230 
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
5236 
5237 
5238 
5239 typedef enum
5240 {
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
5247 } GKeyFileError;
5248 
5249 
5250 
5251 GQuark g_key_file_error_quark (void);
5252 
5253 typedef struct _GKeyFile GKeyFile;
5254 
5255 typedef enum
5256 {
5257  G_KEY_FILE_NONE = 0,
5258  G_KEY_FILE_KEEP_COMMENTS = 1 << 0,
5259  G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1
5260 } GKeyFileFlags;
5261 
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,
5265  gchar separator);
5266 gboolean g_key_file_load_from_file (GKeyFile *key_file,
5267  const gchar *file,
5268  GKeyFileFlags flags,
5269  GError **error);
5270 gboolean g_key_file_load_from_data (GKeyFile *key_file,
5271  const gchar *data,
5272  gsize length,
5273  GKeyFileFlags flags,
5274  GError **error);
5275 gboolean g_key_file_load_from_dirs (GKeyFile *key_file,
5276  const gchar *file,
5277  const gchar **search_dirs,
5278  gchar **full_path,
5279  GKeyFileFlags flags,
5280  GError **error);
5281 gboolean g_key_file_load_from_data_dirs (GKeyFile *key_file,
5282  const gchar *file,
5283  gchar **full_path,
5284  GKeyFileFlags flags,
5285  GError **error);
5286 gchar *g_key_file_to_data (GKeyFile *key_file,
5287  gsize *length,
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,
5294  gsize *length,
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,
5300  const gchar *key,
5301  GError **error);
5302 gchar *g_key_file_get_value (GKeyFile *key_file,
5303  const gchar *group_name,
5304  const gchar *key,
5305  GError **error) __attribute__((__malloc__));
5306 void g_key_file_set_value (GKeyFile *key_file,
5307  const gchar *group_name,
5308  const gchar *key,
5309  const gchar *value);
5310 gchar *g_key_file_get_string (GKeyFile *key_file,
5311  const gchar *group_name,
5312  const gchar *key,
5313  GError **error) __attribute__((__malloc__));
5314 void g_key_file_set_string (GKeyFile *key_file,
5315  const gchar *group_name,
5316  const gchar *key,
5317  const gchar *string);
5318 gchar *g_key_file_get_locale_string (GKeyFile *key_file,
5319  const gchar *group_name,
5320  const gchar *key,
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,
5325  const gchar *key,
5326  const gchar *locale,
5327  const gchar *string);
5328 gboolean g_key_file_get_boolean (GKeyFile *key_file,
5329  const gchar *group_name,
5330  const gchar *key,
5331  GError **error);
5332 void g_key_file_set_boolean (GKeyFile *key_file,
5333  const gchar *group_name,
5334  const gchar *key,
5335  gboolean value);
5336 gint g_key_file_get_integer (GKeyFile *key_file,
5337  const gchar *group_name,
5338  const gchar *key,
5339  GError **error);
5340 void g_key_file_set_integer (GKeyFile *key_file,
5341  const gchar *group_name,
5342  const gchar *key,
5343  gint value);
5344 gint64 g_key_file_get_int64 (GKeyFile *key_file,
5345  const gchar *group_name,
5346  const gchar *key,
5347  GError **error);
5348 void g_key_file_set_int64 (GKeyFile *key_file,
5349  const gchar *group_name,
5350  const gchar *key,
5351  gint64 value);
5352 guint64 g_key_file_get_uint64 (GKeyFile *key_file,
5353  const gchar *group_name,
5354  const gchar *key,
5355  GError **error);
5356 void g_key_file_set_uint64 (GKeyFile *key_file,
5357  const gchar *group_name,
5358  const gchar *key,
5359  guint64 value);
5360 gdouble g_key_file_get_double (GKeyFile *key_file,
5361  const gchar *group_name,
5362  const gchar *key,
5363  GError **error);
5364 void g_key_file_set_double (GKeyFile *key_file,
5365  const gchar *group_name,
5366  const gchar *key,
5367  gdouble value);
5368 gchar **g_key_file_get_string_list (GKeyFile *key_file,
5369  const gchar *group_name,
5370  const gchar *key,
5371  gsize *length,
5372  GError **error) __attribute__((__malloc__));
5373 void g_key_file_set_string_list (GKeyFile *key_file,
5374  const gchar *group_name,
5375  const gchar *key,
5376  const gchar * const list[],
5377  gsize length);
5378 gchar **g_key_file_get_locale_string_list (GKeyFile *key_file,
5379  const gchar *group_name,
5380  const gchar *key,
5381  const gchar *locale,
5382  gsize *length,
5383  GError **error) __attribute__((__malloc__));
5384 void g_key_file_set_locale_string_list (GKeyFile *key_file,
5385  const gchar *group_name,
5386  const gchar *key,
5387  const gchar *locale,
5388  const gchar * const list[],
5389  gsize length);
5390 gboolean *g_key_file_get_boolean_list (GKeyFile *key_file,
5391  const gchar *group_name,
5392  const gchar *key,
5393  gsize *length,
5394  GError **error) __attribute__((__malloc__));
5395 void g_key_file_set_boolean_list (GKeyFile *key_file,
5396  const gchar *group_name,
5397  const gchar *key,
5398  gboolean list[],
5399  gsize length);
5400 gint *g_key_file_get_integer_list (GKeyFile *key_file,
5401  const gchar *group_name,
5402  const gchar *key,
5403  gsize *length,
5404  GError **error) __attribute__((__malloc__));
5405 void g_key_file_set_double_list (GKeyFile *key_file,
5406  const gchar *group_name,
5407  const gchar *key,
5408  gdouble list[],
5409  gsize length);
5410 gdouble *g_key_file_get_double_list (GKeyFile *key_file,
5411  const gchar *group_name,
5412  const gchar *key,
5413  gsize *length,
5414  GError **error) __attribute__((__malloc__));
5415 void g_key_file_set_integer_list (GKeyFile *key_file,
5416  const gchar *group_name,
5417  const gchar *key,
5418  gint list[],
5419  gsize length);
5420 gboolean g_key_file_set_comment (GKeyFile *key_file,
5421  const gchar *group_name,
5422  const gchar *key,
5423  const gchar *comment,
5424  GError **error);
5425 gchar *g_key_file_get_comment (GKeyFile *key_file,
5426  const gchar *group_name,
5427  const gchar *key,
5428  GError **error) __attribute__((__malloc__));
5429 
5430 gboolean g_key_file_remove_comment (GKeyFile *key_file,
5431  const gchar *group_name,
5432  const gchar *key,
5433  GError **error);
5434 gboolean g_key_file_remove_key (GKeyFile *key_file,
5435  const gchar *group_name,
5436  const gchar *key,
5437  GError **error);
5438 gboolean g_key_file_remove_group (GKeyFile *key_file,
5439  const gchar *group_name,
5440  GError **error);
5441 # 265 "/usr/include/glib-2.0/glib/gkeyfile.h"
5442 
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
5454 
5455 
5456 
5457 typedef struct _GMappedFile GMappedFile;
5458 
5459 GMappedFile *g_mapped_file_new (const gchar *filename,
5460  gboolean writable,
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);
5466 
5467 
5468 void g_mapped_file_free (GMappedFile *file);
5469 
5470 
5471 
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
5479 
5480 
5481 # 51 "/usr/include/glib-2.0/glib/gmarkup.h"
5482 typedef enum
5483 {
5484  G_MARKUP_ERROR_BAD_UTF8,
5485  G_MARKUP_ERROR_EMPTY,
5486  G_MARKUP_ERROR_PARSE,
5487 
5488 
5489 
5490  G_MARKUP_ERROR_UNKNOWN_ELEMENT,
5491  G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE,
5492  G_MARKUP_ERROR_INVALID_CONTENT,
5493  G_MARKUP_ERROR_MISSING_ATTRIBUTE
5494 } GMarkupError;
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"
5498 typedef enum
5499 {
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;
5506 typedef struct _GMarkupParser GMarkupParser;
5507 # 138 "/usr/include/glib-2.0/glib/gmarkup.h"
5509 {
5510 
5511  void (*start_element) (GMarkupParseContext *context,
5512  const gchar *element_name,
5513  const gchar **attribute_names,
5514  const gchar **attribute_values,
5515  gpointer user_data,
5516  GError **error);
5517 
5518 
5519  void (*end_element) (GMarkupParseContext *context,
5520  const gchar *element_name,
5521  gpointer user_data,
5522  GError **error);
5523 
5524 
5525 
5526  void (*text) (GMarkupParseContext *context,
5527  const gchar *text,
5528  gsize text_len,
5529  gpointer user_data,
5530  GError **error);
5531 
5532 
5533 
5534 
5535 
5536 
5537  void (*passthrough) (GMarkupParseContext *context,
5538  const gchar *passthrough_text,
5539  gsize text_len,
5540  gpointer user_data,
5541  GError **error);
5542 
5543 
5544 
5545 
5546  void (*error) (GMarkupParseContext *context,
5547  GError *error,
5548  gpointer user_data);
5549 };
5550 
5551 GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser,
5552  GMarkupParseFlags flags,
5553  gpointer user_data,
5554  GDestroyNotify user_data_dnotify);
5555 void g_markup_parse_context_free (GMarkupParseContext *context);
5556 gboolean g_markup_parse_context_parse (GMarkupParseContext *context,
5557  const gchar *text,
5558  gssize text_len,
5559  GError **error);
5560 void g_markup_parse_context_push (GMarkupParseContext *context,
5561  const GMarkupParser *parser,
5562  gpointer user_data);
5563 gpointer g_markup_parse_context_pop (GMarkupParseContext *context);
5564 
5565 gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context,
5566  GError **error);
5567 const gchar *g_markup_parse_context_get_element (GMarkupParseContext *context);
5568 const GSList *g_markup_parse_context_get_element_stack (GMarkupParseContext *context);
5569 
5570 
5571 void g_markup_parse_context_get_position (GMarkupParseContext *context,
5572  gint *line_number,
5573  gint *char_number);
5574 gpointer g_markup_parse_context_get_user_data (GMarkupParseContext *context);
5575 
5576 
5577 gchar* g_markup_escape_text (const gchar *text,
5578  gssize length);
5579 
5580 gchar *g_markup_printf_escaped (const char *format,
5581  ...) __attribute__((__format__ (__printf__, 1, 2)));
5582 gchar *g_markup_vprintf_escaped (const char *format,
5583  va_list args);
5584 
5585 typedef enum
5586 {
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,
5592 
5593  G_MARKUP_COLLECT_OPTIONAL = (1 << 16)
5594 } GMarkupCollectType;
5595 
5596 
5597 
5598 gboolean g_markup_collect_attributes (const gchar *element_name,
5599  const gchar **attribute_names,
5600  const gchar **attribute_values,
5601  GError **error,
5602  GMarkupCollectType first_type,
5603  const gchar *first_attr,
5604  ...);
5605 
5606 
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
5616 
5617 
5618 
5619 
5620 
5621 # 42 "/usr/include/glib-2.0/glib/gmessages.h" 3
5622 
5623 
5624 
5625 
5626 
5627 
5628 gsize g_printf_string_upper_bound (const gchar* format,
5629  va_list args);
5630 # 58 "/usr/include/glib-2.0/glib/gmessages.h" 3
5631 typedef enum
5632 {
5633 
5634  G_LOG_FLAG_RECURSION = 1 << 0,
5635  G_LOG_FLAG_FATAL = 1 << 1,
5636 
5637 
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,
5644 
5645  G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL)
5646 } GLogLevelFlags;
5647 
5648 
5649 
5650 
5651 typedef void (*GLogFunc) (const gchar *log_domain,
5652  GLogLevelFlags log_level,
5653  const gchar *message,
5654  gpointer user_data);
5655 
5656 
5657 
5658 guint g_log_set_handler (const gchar *log_domain,
5659  GLogLevelFlags log_levels,
5660  GLogFunc log_func,
5661  gpointer user_data);
5662 void g_log_remove_handler (const gchar *log_domain,
5663  guint handler_id);
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,
5677  va_list args);
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);
5681 
5682 
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);
5687 
5688 
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,
5693  const char *file,
5694  int line,
5695  const char *func,
5696  const char *warnexpr);
5697 
5698 void g_assert_warning (const char *log_domain,
5699  const char *file,
5700  const int line,
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
5712 
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
5718 
5719 
5720 
5721 typedef struct _GNode GNode;
5722 
5723 
5724 typedef enum
5725 {
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
5732 } GTraverseFlags;
5733 
5734 
5735 typedef enum
5736 {
5737  G_IN_ORDER,
5738  G_PRE_ORDER,
5739  G_POST_ORDER,
5740  G_LEVEL_ORDER
5741 } GTraverseType;
5742 
5743 typedef gboolean (*GNodeTraverseFunc) (GNode *node,
5744  gpointer data);
5745 typedef void (*GNodeForeachFunc) (GNode *node,
5746  gpointer data);
5747 # 77 "/usr/include/glib-2.0/glib/gnode.h"
5748 typedef gpointer (*GCopyFunc) (gconstpointer src,
5749  gpointer data);
5750 
5751 
5752 
5753 struct _GNode
5754 {
5755  gpointer data;
5756  GNode *next;
5757  GNode *prev;
5758  GNode *parent;
5759  GNode *children;
5760 };
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);
5765 GNode* g_node_copy_deep (GNode *node,
5766  GCopyFunc copy_func,
5767  gpointer data);
5768 GNode* g_node_copy (GNode *node);
5769 GNode* g_node_insert (GNode *parent,
5770  gint position,
5771  GNode *node);
5772 GNode* g_node_insert_before (GNode *parent,
5773  GNode *sibling,
5774  GNode *node);
5775 GNode* g_node_insert_after (GNode *parent,
5776  GNode *sibling,
5777  GNode *node);
5778 GNode* g_node_prepend (GNode *parent,
5779  GNode *node);
5780 guint g_node_n_nodes (GNode *root,
5781  GTraverseFlags flags);
5782 GNode* g_node_get_root (GNode *node);
5783 gboolean g_node_is_ancestor (GNode *node,
5784  GNode *descendant);
5785 guint g_node_depth (GNode *node);
5786 GNode* g_node_find (GNode *root,
5787  GTraverseType order,
5788  GTraverseFlags flags,
5789  gpointer data);
5790 # 213 "/usr/include/glib-2.0/glib/gnode.h"
5791 void g_node_traverse (GNode *root,
5792  GTraverseType order,
5793  GTraverseFlags flags,
5794  gint max_depth,
5795  GNodeTraverseFunc func,
5796  gpointer data);
5797 
5798 
5799 
5800 
5801 
5802 
5803 guint g_node_max_height (GNode *root);
5804 
5805 void g_node_children_foreach (GNode *node,
5806  GTraverseFlags flags,
5807  GNodeForeachFunc func,
5808  gpointer data);
5809 void g_node_reverse_children (GNode *node);
5810 guint g_node_n_children (GNode *node);
5811 GNode* g_node_nth_child (GNode *node,
5812  guint n);
5813 GNode* g_node_last_child (GNode *node);
5814 GNode* g_node_find_child (GNode *node,
5815  GTraverseFlags flags,
5816  gpointer data);
5817 gint g_node_child_position (GNode *node,
5818  GNode *child);
5819 gint g_node_child_index (GNode *node,
5820  gpointer data);
5821 
5822 GNode* g_node_first_sibling (GNode *node);
5823 GNode* g_node_last_sibling (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);
5827 
5828 
5829 
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
5837 
5838 
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;
5843 typedef struct _GOptionEntry GOptionEntry;
5844 # 82 "/usr/include/glib-2.0/glib/goption.h"
5845 typedef enum
5846 {
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
5854 } GOptionFlags;
5855 # 118 "/usr/include/glib-2.0/glib/goption.h"
5856 typedef enum
5857 {
5858  G_OPTION_ARG_NONE,
5859  G_OPTION_ARG_STRING,
5860  G_OPTION_ARG_INT,
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,
5866  G_OPTION_ARG_INT64
5867 } GOptionArg;
5868 # 148 "/usr/include/glib-2.0/glib/goption.h"
5869 typedef gboolean (*GOptionArgFunc) (const gchar *option_name,
5870  const gchar *value,
5871  gpointer data,
5872  GError **error);
5873 # 166 "/usr/include/glib-2.0/glib/goption.h"
5874 typedef gboolean (*GOptionParseFunc) (GOptionContext *context,
5875  GOptionGroup *group,
5876  gpointer data,
5877  GError **error);
5878 # 181 "/usr/include/glib-2.0/glib/goption.h"
5879 typedef void (*GOptionErrorFunc) (GOptionContext *context,
5880  GOptionGroup *group,
5881  gpointer data,
5882  GError **error);
5883 # 205 "/usr/include/glib-2.0/glib/goption.h"
5884 typedef enum
5885 {
5886  G_OPTION_ERROR_UNKNOWN_OPTION,
5887  G_OPTION_ERROR_BAD_VALUE,
5888  G_OPTION_ERROR_FAILED
5889 } GOptionError;
5890 
5891 GQuark g_option_error_quark (void);
5892 # 279 "/usr/include/glib-2.0/glib/goption.h"
5894 {
5895  const gchar *long_name;
5896  gchar short_name;
5897  gint flags;
5898 
5899  GOptionArg arg;
5900  gpointer arg_data;
5901 
5902  const gchar *description;
5903  const gchar *arg_description;
5904 };
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);
5920 
5921 void g_option_context_add_main_entries (GOptionContext *context,
5922  const GOptionEntry *entries,
5923  const gchar *translation_domain);
5924 gboolean g_option_context_parse (GOptionContext *context,
5925  gint *argc,
5926  gchar ***argv,
5927  GError **error);
5928 void g_option_context_set_translate_func (GOptionContext *context,
5929  GTranslateFunc func,
5930  gpointer data,
5931  GDestroyNotify destroy_notify);
5932 void g_option_context_set_translation_domain (GOptionContext *context,
5933  const gchar *domain);
5934 
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,
5941  gboolean main_help,
5942  GOptionGroup *group);
5943 
5944 GOptionGroup *g_option_group_new (const gchar *name,
5945  const gchar *description,
5946  const gchar *help_description,
5947  gpointer user_data,
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,
5956  const GOptionEntry *entries);
5957 void g_option_group_set_translate_func (GOptionGroup *group,
5958  GTranslateFunc func,
5959  gpointer data,
5960  GDestroyNotify destroy_notify);
5961 void g_option_group_set_translation_domain (GOptionGroup *group,
5962  const gchar *domain);
5963 
5964 
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
5970 
5971 
5972 
5973 
5974 typedef struct _GPatternSpec GPatternSpec;
5975 
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);
5988 
5989 
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
5997 
5998 
5999 # 47 "/usr/include/glib-2.0/glib/gprimes.h"
6000 guint g_spaced_primes_closest (guint num) __attribute__((__const__));
6001 
6002 
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
6008 
6009 
6010 
6011 void g_qsort_with_data (gconstpointer pbase,
6012  gint total_elems,
6013  gsize size,
6014  GCompareDataFunc compare_func,
6015  gpointer user_data);
6016 
6017 
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
6025 
6026 
6027 
6028 typedef struct _GQueue GQueue;
6029 
6030 struct _GQueue
6031 {
6032  GList *head;
6033  GList *tail;
6034  guint length;
6035 };
6036 
6037 
6038 
6039 
6040 
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);
6048 GQueue * g_queue_copy (GQueue *queue);
6049 void g_queue_foreach (GQueue *queue,
6050  GFunc func,
6051  gpointer user_data);
6052 GList * g_queue_find (GQueue *queue,
6053  gconstpointer data);
6054 GList * g_queue_find_custom (GQueue *queue,
6055  gconstpointer data,
6056  GCompareFunc func);
6057 void g_queue_sort (GQueue *queue,
6058  GCompareDataFunc compare_func,
6059  gpointer user_data);
6060 
6061 void g_queue_push_head (GQueue *queue,
6062  gpointer data);
6063 void g_queue_push_tail (GQueue *queue,
6064  gpointer data);
6065 void g_queue_push_nth (GQueue *queue,
6066  gpointer data,
6067  gint n);
6068 gpointer g_queue_pop_head (GQueue *queue);
6069 gpointer g_queue_pop_tail (GQueue *queue);
6070 gpointer g_queue_pop_nth (GQueue *queue,
6071  guint n);
6072 gpointer g_queue_peek_head (GQueue *queue);
6073 gpointer g_queue_peek_tail (GQueue *queue);
6074 gpointer g_queue_peek_nth (GQueue *queue,
6075  guint n);
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,
6083  GList *sibling,
6084  gpointer data);
6085 void g_queue_insert_after (GQueue *queue,
6086  GList *sibling,
6087  gpointer data);
6088 void g_queue_insert_sorted (GQueue *queue,
6089  gpointer data,
6090  GCompareDataFunc func,
6091  gpointer user_data);
6092 
6093 void g_queue_push_head_link (GQueue *queue,
6094  GList *link_);
6095 void g_queue_push_tail_link (GQueue *queue,
6096  GList *link_);
6097 void g_queue_push_nth_link (GQueue *queue,
6098  gint n,
6099  GList *link_);
6100 GList* g_queue_pop_head_link (GQueue *queue);
6101 GList* g_queue_pop_tail_link (GQueue *queue);
6102 GList* g_queue_pop_nth_link (GQueue *queue,
6103  guint n);
6104 GList* g_queue_peek_head_link (GQueue *queue);
6105 GList* g_queue_peek_tail_link (GQueue *queue);
6106 GList* g_queue_peek_nth_link (GQueue *queue,
6107  guint n);
6108 gint g_queue_link_index (GQueue *queue,
6109  GList *link_);
6110 void g_queue_unlink (GQueue *queue,
6111  GList *link_);
6112 void g_queue_delete_link (GQueue *queue,
6113  GList *link_);
6114 
6115 
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
6121 
6122 
6123 
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,
6128  guint seed_length);
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_,
6133  guint32 seed);
6134 void g_rand_set_seed_array (GRand *rand_,
6135  const guint32 *seed,
6136  guint seed_length);
6137 
6138 
6139 
6140 guint32 g_rand_int (GRand *rand_);
6141 gint32 g_rand_int_range (GRand *rand_,
6142  gint32 begin,
6143  gint32 end);
6144 gdouble g_rand_double (GRand *rand_);
6145 gdouble g_rand_double_range (GRand *rand_,
6146  gdouble begin,
6147  gdouble end);
6148 void g_random_set_seed (guint32 seed);
6149 
6150 
6151 
6152 guint32 g_random_int (void);
6153 gint32 g_random_int_range (gint32 begin,
6154  gint32 end);
6155 gdouble g_random_double (void);
6156 gdouble g_random_double_range (gdouble begin,
6157  gdouble end);
6158 
6159 
6160 
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
6166 
6167 
6168 
6169 typedef struct _GRelation GRelation;
6170 typedef struct _GTuples GTuples;
6171 
6172 struct _GTuples
6173 {
6174  guint len;
6175 };
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,
6180  gint field,
6181  GHashFunc hash_func,
6182  GEqualFunc key_equal_func);
6183 void g_relation_insert (GRelation *relation,
6184  ...);
6185 gint g_relation_delete (GRelation *relation,
6186  gconstpointer key,
6187  gint field);
6188 GTuples* g_relation_select (GRelation *relation,
6189  gconstpointer key,
6190  gint field);
6191 gint g_relation_count (GRelation *relation,
6192  gconstpointer key,
6193  gint field);
6194 gboolean g_relation_exists (GRelation *relation,
6195  ...);
6196 void g_relation_print (GRelation *relation);
6197 
6198 void g_tuples_destroy (GTuples *tuples);
6199 gpointer g_tuples_index (GTuples *tuples,
6200  gint index_,
6201  gint field);
6202 
6203 
6204 
6205 
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
6213 
6214 
6215 # 117 "/usr/include/glib-2.0/glib/gregex.h"
6216 typedef enum
6217 {
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,
6223 
6224 
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
6262 } GRegexError;
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"
6266 typedef enum
6267 {
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"
6284 typedef enum
6285 {
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
6295 } GRegexMatchFlags;
6296 # 327 "/usr/include/glib-2.0/glib/gregex.h"
6297 typedef struct _GRegex GRegex;
6298 
6299 
6300 typedef struct _GMatchInfo GMatchInfo;
6301 # 349 "/usr/include/glib-2.0/glib/gregex.h"
6302 typedef gboolean (*GRegexEvalCallback) (const GMatchInfo *match_info,
6303  GString *result,
6304  gpointer user_data);
6305 
6306 
6307 GRegex *g_regex_new (const gchar *pattern,
6308  GRegexCompileFlags compile_options,
6309  GRegexMatchFlags match_options,
6310  GError **error);
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,
6317  const gchar *name);
6318 gchar *g_regex_escape_string (const gchar *string,
6319  gint length);
6320 
6321 GRegexCompileFlags g_regex_get_compile_flags (const GRegex *regex);
6322 GRegexMatchFlags g_regex_get_match_flags (const GRegex *regex);
6323 
6324 
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,
6335  gssize string_len,
6336  gint start_position,
6337  GRegexMatchFlags match_options,
6338  GMatchInfo **match_info,
6339  GError **error);
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,
6346  gssize string_len,
6347  gint start_position,
6348  GRegexMatchFlags match_options,
6349  GMatchInfo **match_info,
6350  GError **error);
6351 
6352 
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,
6362  gssize string_len,
6363  gint start_position,
6364  GRegexMatchFlags match_options,
6365  gint max_tokens,
6366  GError **error);
6367 
6368 
6369 gchar *g_regex_replace (const GRegex *regex,
6370  const gchar *string,
6371  gssize string_len,
6372  gint start_position,
6373  const gchar *replacement,
6374  GRegexMatchFlags match_options,
6375  GError **error);
6376 gchar *g_regex_replace_literal (const GRegex *regex,
6377  const gchar *string,
6378  gssize string_len,
6379  gint start_position,
6380  const gchar *replacement,
6381  GRegexMatchFlags match_options,
6382  GError **error);
6383 gchar *g_regex_replace_eval (const GRegex *regex,
6384  const gchar *string,
6385  gssize string_len,
6386  gint start_position,
6387  GRegexMatchFlags match_options,
6388  GRegexEvalCallback eval,
6389  gpointer user_data,
6390  GError **error);
6391 gboolean g_regex_check_replacement (const gchar *replacement,
6392  gboolean *has_references,
6393  GError **error);
6394 
6395 
6396 GRegex *g_match_info_get_regex (const GMatchInfo *match_info);
6397 const gchar *g_match_info_get_string (const GMatchInfo *match_info);
6398 
6399 void g_match_info_free (GMatchInfo *match_info);
6400 gboolean g_match_info_next (GMatchInfo *match_info,
6401  GError **error);
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,
6407  GError **error);
6408 gchar *g_match_info_fetch (const GMatchInfo *match_info,
6409  gint match_num);
6410 gboolean g_match_info_fetch_pos (const GMatchInfo *match_info,
6411  gint match_num,
6412  gint *start_pos,
6413  gint *end_pos);
6414 gchar *g_match_info_fetch_named (const GMatchInfo *match_info,
6415  const gchar *name);
6416 gboolean g_match_info_fetch_named_pos (const GMatchInfo *match_info,
6417  const gchar *name,
6418  gint *start_pos,
6419  gint *end_pos);
6420 gchar **g_match_info_fetch_all (const GMatchInfo *match_info);
6421 
6422 
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
6430 
6431 
6432 
6433 typedef struct _GScanner GScanner;
6434 typedef struct _GScannerConfig GScannerConfig;
6435 typedef union _GTokenValue GTokenValue;
6436 
6437 typedef void (*GScannerMsgFunc) (GScanner *scanner,
6438  gchar *message,
6439  gboolean error);
6440 # 64 "/usr/include/glib-2.0/glib/gscanner.h"
6441 typedef enum
6442 {
6443  G_ERR_UNKNOWN,
6444  G_ERR_UNEXP_EOF,
6445  G_ERR_UNEXP_EOF_IN_STRING,
6446  G_ERR_UNEXP_EOF_IN_COMMENT,
6447  G_ERR_NON_DIGIT_IN_CONST,
6448  G_ERR_DIGIT_RADIX,
6449  G_ERR_FLOAT_RADIX,
6450  G_ERR_FLOAT_MALFORMED
6451 } GErrorType;
6452 
6453 
6454 typedef enum
6455 {
6456  G_TOKEN_EOF = 0,
6457 
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 = ',',
6466 
6467  G_TOKEN_NONE = 256,
6468 
6469  G_TOKEN_ERROR,
6470 
6471  G_TOKEN_CHAR,
6472  G_TOKEN_BINARY,
6473  G_TOKEN_OCTAL,
6474  G_TOKEN_INT,
6475  G_TOKEN_HEX,
6476  G_TOKEN_FLOAT,
6477  G_TOKEN_STRING,
6478 
6479  G_TOKEN_SYMBOL,
6480  G_TOKEN_IDENTIFIER,
6481  G_TOKEN_IDENTIFIER_NULL,
6482 
6483  G_TOKEN_COMMENT_SINGLE,
6484  G_TOKEN_COMMENT_MULTI,
6485  G_TOKEN_LAST
6486 } GTokenType;
6487 
6489 {
6490  gpointer v_symbol;
6491  gchar *v_identifier;
6492  gulong v_binary;
6493  gulong v_octal;
6494  gulong v_int;
6495  guint64 v_int64;
6496  gdouble v_float;
6497  gulong v_hex;
6498  gchar *v_string;
6499  gchar *v_comment;
6500  guchar v_char;
6501  guint v_error;
6502 };
6503 
6505 {
6506 
6507 
6508  gchar *cset_skip_characters;
6509  gchar *cset_identifier_first;
6510  gchar *cset_identifier_nth;
6511  gchar *cpair_comment_single;
6512 
6513 
6514 
6515  guint case_sensitive : 1;
6516 
6517 
6518 
6519 
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;
6530  guint scan_hex : 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;
6542 };
6543 
6545 {
6546 
6547  gpointer user_data;
6548  guint max_parse_errors;
6549 
6550 
6551  guint parse_errors;
6552 
6553 
6554  const gchar *input_name;
6555 
6556 
6557  GData *qdata;
6558 
6559 
6560  GScannerConfig *config;
6561 
6562 
6563  GTokenType token;
6564  GTokenValue value;
6565  guint line;
6566  guint position;
6567 
6568 
6569  GTokenType next_token;
6570  GTokenValue next_value;
6571  guint next_line;
6572  guint next_position;
6573 
6574 
6575  GHashTable *symbol_table;
6576  gint input_fd;
6577  const gchar *text;
6578  const gchar *text_end;
6579  gchar *buffer;
6580  guint scope_id;
6581 
6582 
6583  GScannerMsgFunc msg_handler;
6584 };
6585 
6586 GScanner* g_scanner_new (const GScannerConfig *config_templ);
6587 void g_scanner_destroy (GScanner *scanner);
6588 void g_scanner_input_file (GScanner *scanner,
6589  gint input_fd);
6590 void g_scanner_sync_file_offset (GScanner *scanner);
6591 void g_scanner_input_text (GScanner *scanner,
6592  const gchar *text,
6593  guint text_len);
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);
6597 GTokenValue g_scanner_cur_value (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,
6602  guint scope_id);
6603 void g_scanner_scope_add_symbol (GScanner *scanner,
6604  guint scope_id,
6605  const gchar *symbol,
6606  gpointer value);
6607 void g_scanner_scope_remove_symbol (GScanner *scanner,
6608  guint scope_id,
6609  const gchar *symbol);
6610 gpointer g_scanner_scope_lookup_symbol (GScanner *scanner,
6611  guint scope_id,
6612  const gchar *symbol);
6613 void g_scanner_scope_foreach_symbol (GScanner *scanner,
6614  guint scope_id,
6615  GHFunc func,
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,
6625  gint is_error);
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"
6633 
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
6639 
6640 
6641 
6642 typedef struct _GSequence GSequence;
6643 typedef struct _GSequenceNode GSequenceIter;
6644 
6645 typedef gint (* GSequenceIterCompareFunc) (GSequenceIter *a,
6646  GSequenceIter *b,
6647  gpointer data);
6648 
6649 
6650 
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,
6655  GFunc func,
6656  gpointer user_data);
6657 void g_sequence_foreach_range (GSequenceIter *begin,
6658  GSequenceIter *end,
6659  GFunc func,
6660  gpointer user_data);
6661 void g_sequence_sort (GSequence *seq,
6662  GCompareDataFunc cmp_func,
6663  gpointer cmp_data);
6664 void g_sequence_sort_iter (GSequence *seq,
6665  GSequenceIterCompareFunc cmp_func,
6666  gpointer cmp_data);
6667 
6668 
6669 
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,
6673  gint pos);
6674 GSequenceIter *g_sequence_append (GSequence *seq,
6675  gpointer data);
6676 GSequenceIter *g_sequence_prepend (GSequence *seq,
6677  gpointer data);
6678 GSequenceIter *g_sequence_insert_before (GSequenceIter *iter,
6679  gpointer data);
6680 void g_sequence_move (GSequenceIter *src,
6681  GSequenceIter *dest);
6682 void g_sequence_swap (GSequenceIter *a,
6683  GSequenceIter *b);
6684 GSequenceIter *g_sequence_insert_sorted (GSequence *seq,
6685  gpointer data,
6686  GCompareDataFunc cmp_func,
6687  gpointer cmp_data);
6688 GSequenceIter *g_sequence_insert_sorted_iter (GSequence *seq,
6689  gpointer data,
6690  GSequenceIterCompareFunc iter_cmp,
6691  gpointer cmp_data);
6692 void g_sequence_sort_changed (GSequenceIter *iter,
6693  GCompareDataFunc cmp_func,
6694  gpointer cmp_data);
6695 void g_sequence_sort_changed_iter (GSequenceIter *iter,
6696  GSequenceIterCompareFunc iter_cmp,
6697  gpointer cmp_data);
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,
6705  gpointer data,
6706  GCompareDataFunc cmp_func,
6707  gpointer cmp_data);
6708 GSequenceIter *g_sequence_search_iter (GSequence *seq,
6709  gpointer data,
6710  GSequenceIterCompareFunc iter_cmp,
6711  gpointer cmp_data);
6712 GSequenceIter *g_sequence_lookup (GSequence *seq,
6713  gpointer data,
6714  GCompareDataFunc cmp_func,
6715  gpointer cmp_data);
6716 GSequenceIter *g_sequence_lookup_iter (GSequence *seq,
6717  gpointer data,
6718  GSequenceIterCompareFunc iter_cmp,
6719  gpointer cmp_data);
6720 
6721 
6722 
6723 gpointer g_sequence_get (GSequenceIter *iter);
6724 void g_sequence_set (GSequenceIter *iter,
6725  gpointer data);
6726 
6727 
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,
6734  gint delta);
6735 GSequence * g_sequence_iter_get_sequence (GSequenceIter *iter);
6736 
6737 
6738 
6739 gint g_sequence_iter_compare (GSequenceIter *a,
6740  GSequenceIter *b);
6741 GSequenceIter *g_sequence_range_get_midpoint (GSequenceIter *begin,
6742  GSequenceIter *end);
6743 
6744 
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
6750 
6751 
6752 
6753 
6754 
6755 typedef enum
6756 {
6757 
6758  G_SHELL_ERROR_BAD_QUOTING,
6759 
6760  G_SHELL_ERROR_EMPTY_STRING,
6761  G_SHELL_ERROR_FAILED
6762 } GShellError;
6763 
6764 GQuark g_shell_error_quark (void);
6765 
6766 gchar* g_shell_quote (const gchar *unquoted_string);
6767 gchar* g_shell_unquote (const gchar *quoted_string,
6768  GError **error);
6769 gboolean g_shell_parse_argv (const gchar *command_line,
6770  gint *argcp,
6771  gchar ***argvp,
6772  GError **error);
6773 
6774 
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
6784 
6785 
6786 
6787 
6788 
6789 
6790 typedef enum
6791 {
6792  G_SPAWN_ERROR_FORK,
6793  G_SPAWN_ERROR_READ,
6794  G_SPAWN_ERROR_CHDIR,
6795  G_SPAWN_ERROR_ACCES,
6796  G_SPAWN_ERROR_PERM,
6797  G_SPAWN_ERROR_2BIG,
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,
6803  G_SPAWN_ERROR_LOOP,
6804  G_SPAWN_ERROR_TXTBUSY,
6805  G_SPAWN_ERROR_IO,
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
6812 
6813 
6814 } GSpawnError;
6815 
6816 typedef void (* GSpawnChildSetupFunc) (gpointer user_data);
6817 
6818 typedef enum
6819 {
6820  G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0,
6821  G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1,
6822 
6823  G_SPAWN_SEARCH_PATH = 1 << 2,
6824 
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
6829 } GSpawnFlags;
6830 
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,
6834  gchar **argv,
6835  gchar **envp,
6836  GSpawnFlags flags,
6837  GSpawnChildSetupFunc child_setup,
6838  gpointer user_data,
6839  GPid *child_pid,
6840  GError **error);
6841 
6842 
6843 
6844 
6845 
6846 gboolean g_spawn_async_with_pipes (const gchar *working_directory,
6847  gchar **argv,
6848  gchar **envp,
6849  GSpawnFlags flags,
6850  GSpawnChildSetupFunc child_setup,
6851  gpointer user_data,
6852  GPid *child_pid,
6853  gint *standard_input,
6854  gint *standard_output,
6855  gint *standard_error,
6856  GError **error);
6857 
6858 
6859 
6860 
6861 
6862 
6863 gboolean g_spawn_sync (const gchar *working_directory,
6864  gchar **argv,
6865  gchar **envp,
6866  GSpawnFlags flags,
6867  GSpawnChildSetupFunc child_setup,
6868  gpointer user_data,
6869  gchar **standard_output,
6870  gchar **standard_error,
6871  gint *exit_status,
6872  GError **error);
6873 
6874 gboolean g_spawn_command_line_sync (const gchar *command_line,
6875  gchar **standard_output,
6876  gchar **standard_error,
6877  gint *exit_status,
6878  GError **error);
6879 gboolean g_spawn_command_line_async (const gchar *command_line,
6880  GError **error);
6881 
6882 void g_spawn_close_pid (GPid pid);
6883 
6884 
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
6892 
6893 
6894 
6895 
6896 typedef enum {
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
6908 } GAsciiType;
6909 
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__));
6914 
6915 gint g_ascii_digit_value (gchar c) __attribute__((__const__));
6916 gint g_ascii_xdigit_value (gchar c) __attribute__((__const__));
6917 
6918 
6919 
6920 
6921 
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,
6927  gchar substitutor);
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,
6932  const gchar *src,
6933  gsize dest_size);
6934 gsize g_strlcat (gchar *dest,
6935  const gchar *src,
6936  gsize dest_size);
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);
6945 
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);
6950 
6951 
6952 
6953 gdouble g_strtod (const gchar *nptr,
6954  gchar **endptr);
6955 gdouble g_ascii_strtod (const gchar *nptr,
6956  gchar **endptr);
6957 guint64 g_ascii_strtoull (const gchar *nptr,
6958  gchar **endptr,
6959  guint base);
6960 gint64 g_ascii_strtoll (const gchar *nptr,
6961  gchar **endptr,
6962  guint base);
6963 
6964 
6965 
6966 
6967 gchar * g_ascii_dtostr (gchar *buffer,
6968  gint buf_len,
6969  gdouble d);
6970 gchar * g_ascii_formatd (gchar *buffer,
6971  gint buf_len,
6972  const gchar *format,
6973  gdouble d);
6974 
6975 
6976 gchar* g_strchug (gchar *string);
6977 
6978 gchar* g_strchomp (gchar *string);
6979 
6980 
6981 
6982 gint g_ascii_strcasecmp (const gchar *s1,
6983  const gchar *s2);
6984 gint g_ascii_strncasecmp (const gchar *s1,
6985  const gchar *s2,
6986  gsize n);
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,
6993  const gchar *s2);
6994 gint g_strncasecmp (const gchar *s1,
6995  const gchar *s2,
6996  guint n);
6997 gchar* g_strdown (gchar *string);
6998 gchar* g_strup (gchar *string);
6999 
7000 
7001 
7002 
7003 
7004 
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__));
7018 
7019 
7020 
7021 
7022 
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__));
7027 
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);
7042 
7043 gchar* g_stpcpy (gchar *dest,
7044  const char *src);
7045 
7046 const gchar *g_strip_context (const gchar *msgid,
7047  const gchar *msgval) __attribute__((__format_arg__ (1)));
7048 
7049 const gchar *g_dgettext (const gchar *domain,
7050  const gchar *msgid) __attribute__((__format_arg__ (2)));
7051 const gchar *g_dcgettext (const gchar *domain,
7052  const gchar *msgid,
7053  int category) __attribute__((__format_arg__ (2)));
7054 const gchar *g_dngettext (const gchar *domain,
7055  const gchar *msgid,
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)));
7064 
7065 
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
7079 
7080 
7081 
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,
7090  const char *str2);
7091 
7092 
7093 void g_test_minimized_result (double minimized_quantity,
7094  const char *format,
7095  ...) __attribute__((__format__ (__printf__, 2, 3)));
7096 void g_test_maximized_result (double maximized_quantity,
7097  const char *format,
7098  ...) __attribute__((__format__ (__printf__, 2, 3)));
7099 
7100 
7101 void g_test_init (int *argc,
7102  char ***argv,
7103  ...);
7104 # 102 "/usr/include/glib-2.0/glib/gtestutils.h"
7105 int g_test_run (void);
7106 
7107 void g_test_add_func (const char *testpath,
7108  GTestFunc test_func);
7109 
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);
7118 
7119 void g_test_timer_start (void);
7120 double g_test_timer_elapsed (void);
7121 double g_test_timer_last (void);
7122 
7123 
7124 void g_test_queue_free (gpointer gfree_pointer);
7125 void g_test_queue_destroy (GDestroyNotify destroy_func,
7126  gpointer destroy_data);
7127 
7128 
7129 
7130 typedef enum {
7131  G_TEST_TRAP_SILENCE_STDOUT = 1 << 7,
7132  G_TEST_TRAP_SILENCE_STDERR = 1 << 8,
7133  G_TEST_TRAP_INHERIT_STDIN = 1 << 9
7134 } GTestTrapFlags;
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,
7142  gint32 end);
7143 double g_test_rand_double (void);
7144 double g_test_rand_double_range (double range_start,
7145  double range_end);
7146 
7147 
7148 GTestCase* g_test_create_case (const char *test_name,
7149  gsize data_size,
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);
7161 
7162 
7163 void g_test_trap_assertions (const char *domain,
7164  const char *file,
7165  int line,
7166  const char *func,
7167  guint64 assertion_flags,
7168  const char *pattern);
7169 void g_assertion_message (const char *domain,
7170  const char *file,
7171  int line,
7172  const char *func,
7173  const char *message) __attribute__((__noreturn__));
7174 void g_assertion_message_expr (const char *domain,
7175  const char *file,
7176  int line,
7177  const char *func,
7178  const char *expr) __attribute__((__noreturn__));
7179 void g_assertion_message_cmpstr (const char *domain,
7180  const char *file,
7181  int line,
7182  const char *func,
7183  const char *expr,
7184  const char *arg1,
7185  const char *cmp,
7186  const char *arg2) __attribute__((__noreturn__));
7187 void g_assertion_message_cmpnum (const char *domain,
7188  const char *file,
7189  int line,
7190  const char *func,
7191  const char *expr,
7192  long double arg1,
7193  const char *cmp,
7194  long double arg2,
7195  char numtype) __attribute__((__noreturn__));
7196 void g_assertion_message_error (const char *domain,
7197  const char *file,
7198  int line,
7199  const char *func,
7200  const char *expr,
7201  const GError *error,
7202  GQuark error_domain,
7203  int error_code) __attribute__((__noreturn__));
7204 void g_test_add_vtable (const char *testpath,
7205  gsize data_size,
7206  gconstpointer test_data,
7207  GTestFixtureFunc data_setup,
7208  GTestFixtureFunc data_test,
7209  GTestFixtureFunc data_teardown);
7210 typedef struct {
7211  gboolean test_initialized;
7212  gboolean test_quick;
7213  gboolean test_perf;
7214  gboolean test_verbose;
7215  gboolean test_quiet;
7216 } GTestConfig;
7217 extern const GTestConfig * const g_test_config_vars;
7218 
7219 
7220 typedef enum {
7221  G_TEST_LOG_NONE,
7222  G_TEST_LOG_ERROR,
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,
7230  G_TEST_LOG_MESSAGE
7231 } GTestLogType;
7232 
7233 typedef struct {
7234  GTestLogType log_type;
7235  guint n_strings;
7236  gchar **strings;
7237  guint n_nums;
7238  long double *nums;
7239 } GTestLogMsg;
7240 typedef struct {
7241 
7242  GString *data;
7243  GSList *msgs;
7244 } GTestLogBuffer;
7245 
7246 const char* g_test_log_type_name (GTestLogType log_type);
7247 GTestLogBuffer* g_test_log_buffer_new (void);
7248 void g_test_log_buffer_free (GTestLogBuffer *tbuffer);
7249 void g_test_log_buffer_push (GTestLogBuffer *tbuffer,
7250  guint n_bytes,
7251  const guint8 *bytes);
7252 GTestLogMsg* g_test_log_buffer_pop (GTestLogBuffer *tbuffer);
7253 void g_test_log_msg_free (GTestLogMsg *tmsg);
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);
7259 void
7260 g_test_log_set_fatal_handler (GTestLogFatalFunc log_func,
7261  gpointer user_data);
7262 
7263 
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
7271 
7272 
7273 
7274 typedef struct _GThreadPool GThreadPool;
7275 
7276 
7277 
7278 
7279 
7280 
7282 {
7283  GFunc func;
7284  gpointer user_data;
7285  gboolean exclusive;
7286 };
7287 
7288 
7289 
7290 
7291 
7292 
7293 GThreadPool* g_thread_pool_new (GFunc func,
7294  gpointer user_data,
7295  gint max_threads,
7296  gboolean exclusive,
7297  GError **error);
7298 
7299 
7300 
7301 
7302 
7303 void g_thread_pool_push (GThreadPool *pool,
7304  gpointer data,
7305  GError **error);
7306 
7307 
7308 
7309 
7310 void g_thread_pool_set_max_threads (GThreadPool *pool,
7311  gint max_threads,
7312  GError **error);
7313 gint g_thread_pool_get_max_threads (GThreadPool *pool);
7314 
7315 
7316 
7317 guint g_thread_pool_get_num_threads (GThreadPool *pool);
7318 
7319 
7320 guint g_thread_pool_unprocessed (GThreadPool *pool);
7321 
7322 
7323 
7324 
7325 
7326 void g_thread_pool_free (GThreadPool *pool,
7327  gboolean immediate,
7328  gboolean wait_);
7329 
7330 
7331 
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);
7335 
7336 
7337 void g_thread_pool_stop_unused_threads (void);
7338 
7339 
7340 void g_thread_pool_set_sort_function (GThreadPool *pool,
7341  GCompareDataFunc func,
7342  gpointer user_data);
7343 
7344 
7345 void g_thread_pool_set_max_idle_time (guint interval);
7346 guint g_thread_pool_get_max_idle_time (void);
7347 
7348 
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
7354 
7355 
7356 
7357 
7358 
7359 
7360 
7361 typedef struct _GTimer GTimer;
7362 
7363 
7364 
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);
7373 
7374 void g_usleep (gulong microseconds);
7375 
7376 void g_time_val_add (GTimeVal *time_,
7377  glong microseconds);
7378 gboolean g_time_val_from_iso8601 (const gchar *iso_date,
7379  GTimeVal *time_);
7380 gchar* g_time_val_to_iso8601 (GTimeVal *time_) __attribute__((__malloc__));
7381 
7382 
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
7390 
7391 
7392 
7393 typedef struct _GTree GTree;
7394 
7395 typedef gboolean (*GTraverseFunc) (gpointer key,
7396  gpointer value,
7397  gpointer data);
7398 
7399 
7400 
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,
7412  gpointer key,
7413  gpointer value);
7414 void g_tree_replace (GTree *tree,
7415  gpointer key,
7416  gpointer value);
7417 gboolean g_tree_remove (GTree *tree,
7418  gconstpointer key);
7419 gboolean g_tree_steal (GTree *tree,
7420  gconstpointer key);
7421 gpointer g_tree_lookup (GTree *tree,
7422  gconstpointer key);
7423 gboolean g_tree_lookup_extended (GTree *tree,
7424  gconstpointer lookup_key,
7425  gpointer *orig_key,
7426  gpointer *value);
7427 void g_tree_foreach (GTree *tree,
7428  GTraverseFunc func,
7429  gpointer user_data);
7430 
7431 
7432 void g_tree_traverse (GTree *tree,
7433  GTraverseFunc traverse_func,
7434  GTraverseType traverse_type,
7435  gpointer user_data);
7436 
7437 
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);
7443 
7444 
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
7454 
7455 
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);
7466 
7467 
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
7477 
7478 
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,
7484  const gchar *limit,
7485  const gchar **endptr);
7486 
7487 
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);
7491 
7492 
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);
7496 
7497 
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);
7506 
7507 
7508 guint g_variant_type_hash (gconstpointer type);
7509 gboolean g_variant_type_equal (gconstpointer type1,
7510  gconstpointer type2);
7511 
7512 
7513 gboolean g_variant_type_is_subtype_of (const GVariantType *type,
7514  const GVariantType *supertype);
7515 
7516 
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);
7523 
7524 
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,
7528  gint length);
7529 GVariantType * g_variant_type_new_dict_entry (const GVariantType *key,
7530  const GVariantType *value);
7531 
7532 
7533 const GVariantType * g_variant_type_checked_ (const gchar *);
7534 
7535 
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
7543 
7544 
7545 
7546 typedef struct _GVariant GVariant;
7547 
7548 typedef enum
7549 {
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 = '{'
7568 } GVariantClass;
7569 
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);
7574 
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,
7598  gssize length);
7599 GVariant * g_variant_new_bytestring (const gchar *string);
7600 GVariant * g_variant_new_bytestring_array (const gchar * const *strv,
7601  gssize length);
7602 
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,
7615  gsize *length);
7616 gchar * g_variant_dup_string (GVariant *value,
7617  gsize *length);
7618 const gchar ** g_variant_get_strv (GVariant *value,
7619  gsize *length);
7620 gchar ** g_variant_dup_strv (GVariant *value,
7621  gsize *length);
7622 const gchar * g_variant_get_bytestring (GVariant *value);
7623 gchar * g_variant_dup_bytestring (GVariant *value,
7624  gsize *length);
7625 const gchar ** g_variant_get_bytestring_array (GVariant *value,
7626  gsize *length);
7627 gchar ** g_variant_dup_bytestring_array (GVariant *value,
7628  gsize *length);
7629 
7630 GVariant * g_variant_new_maybe (const GVariantType *child_type,
7631  GVariant *child);
7632 GVariant * g_variant_new_array (const GVariantType *child_type,
7633  GVariant * const *children,
7634  gsize n_children);
7635 GVariant * g_variant_new_tuple (GVariant * const *children,
7636  gsize n_children);
7637 GVariant * g_variant_new_dict_entry (GVariant *key,
7638  GVariant *value);
7639 
7640 GVariant * g_variant_get_maybe (GVariant *value);
7641 gsize g_variant_n_children (GVariant *value);
7642 void g_variant_get_child (GVariant *value,
7643  gsize index_,
7644  const gchar *format_string,
7645  ...);
7646 GVariant * g_variant_get_child_value (GVariant *value,
7647  gsize index_);
7648 gboolean g_variant_lookup (GVariant *dictionary,
7649  const gchar *key,
7650  const gchar *format_string,
7651  ...);
7652 GVariant * g_variant_lookup_value (GVariant *dictionary,
7653  const gchar *key,
7654  const GVariantType *expected_type);
7655 gconstpointer g_variant_get_fixed_array (GVariant *value,
7656  gsize *n_elements,
7657  gsize element_size);
7658 
7659 gsize g_variant_get_size (GVariant *value);
7660 gconstpointer g_variant_get_data (GVariant *value);
7661 void g_variant_store (GVariant *value,
7662  gpointer data);
7663 
7664 gchar * g_variant_print (GVariant *value,
7665  gboolean type_annotate);
7666 GString * g_variant_print_string (GVariant *value,
7667  GString *string,
7668  gboolean type_annotate);
7669 
7670 guint g_variant_hash (gconstpointer value);
7671 gboolean g_variant_equal (gconstpointer one,
7672  gconstpointer two);
7673 
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,
7678  gconstpointer data,
7679  gsize size,
7680  gboolean trusted,
7681  GDestroyNotify notify,
7682  gpointer user_data);
7683 
7684 typedef struct _GVariantIter GVariantIter;
7686 
7687  gsize x[16];
7688 };
7689 
7690 GVariantIter * g_variant_iter_new (GVariant *value);
7691 gsize g_variant_iter_init (GVariantIter *iter,
7692  GVariant *value);
7693 GVariantIter * g_variant_iter_copy (GVariantIter *iter);
7694 gsize g_variant_iter_n_children (GVariantIter *iter);
7695 void g_variant_iter_free (GVariantIter *iter);
7696 GVariant * g_variant_iter_next_value (GVariantIter *iter);
7697 gboolean g_variant_iter_next (GVariantIter *iter,
7698  const gchar *format_string,
7699  ...);
7700 gboolean g_variant_iter_loop (GVariantIter *iter,
7701  const gchar *format_string,
7702  ...);
7703 
7704 
7705 typedef struct _GVariantBuilder GVariantBuilder;
7707 
7708  gsize x[16];
7709 };
7710 
7711 typedef enum
7712 {
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;
7732 
7733 
7734 GQuark g_variant_parser_get_error_quark (void);
7735 
7736 GVariantBuilder * g_variant_builder_new (const GVariantType *type);
7737 void g_variant_builder_unref (GVariantBuilder *builder);
7738 GVariantBuilder * g_variant_builder_ref (GVariantBuilder *builder);
7739 void g_variant_builder_init (GVariantBuilder *builder,
7740  const GVariantType *type);
7741 GVariant * g_variant_builder_end (GVariantBuilder *builder);
7742 void g_variant_builder_clear (GVariantBuilder *builder);
7743 void g_variant_builder_open (GVariantBuilder *builder,
7744  const GVariantType *type);
7745 void g_variant_builder_close (GVariantBuilder *builder);
7746 void g_variant_builder_add_value (GVariantBuilder *builder,
7747  GVariant *value);
7748 void g_variant_builder_add (GVariantBuilder *builder,
7749  const gchar *format_string,
7750  ...);
7751 void g_variant_builder_add_parsed (GVariantBuilder *builder,
7752  const gchar *format,
7753  ...);
7754 
7755 GVariant * g_variant_new (const gchar *format_string,
7756  ...);
7757 void g_variant_get (GVariant *value,
7758  const gchar *format_string,
7759  ...);
7760 GVariant * g_variant_new_va (const gchar *format_string,
7761  const gchar **endptr,
7762  va_list *app);
7763 void g_variant_get_va (GVariant *value,
7764  const gchar *format_string,
7765  const gchar **endptr,
7766  va_list *app);
7767 
7768 
7769 GVariant * g_variant_parse (const GVariantType *type,
7770  const gchar *text,
7771  const gchar *limit,
7772  const gchar **endptr,
7773  GError **error);
7774 GVariant * g_variant_new_parsed (const gchar *format,
7775  ...);
7776 GVariant * g_variant_new_parsed_va (const gchar *format,
7777  va_list *app);
7778 
7779 gint g_variant_compare (gconstpointer one,
7780  gconstpointer two);
7781 
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
7790 
7791 
7792 
7793 
7794 
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
7797 
7798 
7799 
7800 
7801 
7802 
7803 
7804 
7805 
7806 extern void *memcpy (void *__restrict __dest,
7807  __const void *__restrict __src, size_t __n)
7808  __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7809 
7810 
7811 extern void *memmove (void *__dest, __const void *__src, size_t __n)
7812  __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7813 
7814 
7815 
7816 
7817 
7818 
7819 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
7820  int __c, size_t __n)
7821  __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7822 
7823 
7824 
7825 
7826 
7827 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
7828 
7829 
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)));
7835 
7836 
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)));
7843 
7844 
7845 
7846 
7847 
7848 
7849 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
7850  __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7851 
7852 extern char *strncpy (char *__restrict __dest,
7853  __const char *__restrict __src, size_t __n)
7854  __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7855 
7856 
7857 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
7858  __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7859 
7860 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
7861  size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7862 
7863 
7864 extern int strcmp (__const char *__s1, __const char *__s2)
7865  __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7866 
7867 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
7868  __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7869 
7870 
7871 extern int strcoll (__const char *__s1, __const char *__s2)
7872  __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7873 
7874 extern size_t strxfrm (char *__restrict __dest,
7875  __const char *__restrict __src, size_t __n)
7876  __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
7877 
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)));
7881 
7882 extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
7883  __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
7884 
7885 
7886 
7887 
7888 
7889 extern char *strdup (__const char *__s)
7890  __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
7891 
7892 
7893 
7894 
7895 
7896 
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
7900 
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)));
7907 
7908 
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)));
7912 
7913 
7914 
7915 
7916 
7917 
7918 extern size_t strcspn (__const char *__s, __const char *__reject)
7919  __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7920 
7921 
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)));
7930 
7931 
7932 
7933 
7934 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
7935  __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
7936 
7937 
7938 
7939 
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)));
7944 
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)));
7951 
7952 
7953 
7954 
7955 
7956 
7957 
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)));
7961 
7962 
7963 
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)));
7970 
7971 
7972 
7973 
7974 
7975 extern size_t strlen (__const char *__s)
7976  __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
7977 
7978 
7979 
7980 
7981 
7982 extern size_t strnlen (__const char *__string, size_t __maxlen)
7983  __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
7984 
7985 
7986 
7987 
7988 
7989 extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
7990 
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)));
7994 
7995 
7996 
7997 
7998 
7999 extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__));
8000 
8001 
8002 
8003 
8004 
8005 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
8006 
8007 
8008 
8009 extern void bcopy (__const void *__src, void *__dest, size_t __n)
8010  __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8011 
8012 
8013 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
8014 
8015 
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)));
8024 
8025 
8026 
8027 
8028 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
8029 
8030 
8031 
8032 
8033 extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
8034 
8035 __extension__ extern int ffsll (long long int __ll)
8036  __attribute__ ((__nothrow__)) __attribute__ ((__const__));
8037 
8038 
8039 
8040 
8041 extern int strcasecmp (__const char *__s1, __const char *__s2)
8042  __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8043 
8044 
8045 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
8046  __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8047 
8048 
8049 
8050 
8051 
8052 extern int strcasecmp_l (__const char *__s1, __const char *__s2,
8053  __locale_t __loc)
8054  __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
8055 
8056 extern int strncasecmp_l (__const char *__s1, __const char *__s2,
8057  size_t __n, __locale_t __loc)
8058  __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4)));
8059 
8060 
8061 
8062 
8063 
8064 extern char *strsep (char **__restrict __stringp,
8065  __const char *__restrict __delim)
8066  __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8067 
8068 
8069 
8070 
8071 extern char *strsignal (int __sig) __attribute__ ((__nothrow__));
8072 
8073 
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)));
8078 
8079 
8080 
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)));
8087 
8088 
8089 
8090 
8091 extern int strverscmp (__const char *__s1, __const char *__s2)
8092  __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8093 
8094 
8095 extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
8096 
8097 
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
8102 
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"
8109 typedef union _GUID
8110 {
8111  guchar data[16];
8112 
8113  gint __align_me;
8114 
8115 } GUID;
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);
8122 
8123 
8124 
8125 
8126 void guid_shutdown (void);
8127 # 127 "/usr/include/qof/guid.h"
8128 void guid_new (GUID * guid);
8129 
8130 
8131 
8132 
8133 
8134 
8135 
8136 GUID guid_new_return (void);
8137 
8138 
8139 
8140 const GUID *guid_null (void);
8141 
8142 
8143 GUID *guid_malloc (void);
8144 
8145 
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);
8151 
8152 
8153 
8154 
8155 
8156 
8157 
8158 gboolean string_to_guid (const gchar * string, GUID * guid);
8159 
8160 
8161 
8162 
8163 gboolean guid_equal (const GUID * guid_1, const GUID * guid_2);
8164 gint guid_compare (const GUID * g1, const GUID * g2);
8165 
8166 
8167 guint guid_hash_to_guint (gconstpointer ptr);
8168 
8169 GHashTable *guid_hash_table_new (void);
8170 # 79 "/usr/include/qof/qofid.h" 2
8171 
8172 
8173 typedef const gchar *QofIdType;
8174 
8175 typedef const gchar *QofIdTypeConst;
8176 
8177 typedef const gchar *QofLogModule;
8178 # 129 "/usr/include/qof/qofid.h"
8179 typedef struct QofEntity_s QofEntity;
8180 # 138 "/usr/include/qof/qofid.h"
8181 typedef struct QofCollection_s QofCollection;
8182 # 147 "/usr/include/qof/qofid.h"
8184 {
8185  QofIdType e_type;
8186  GUID guid;
8187  QofCollection *collection;
8188 };
8189 
8190 
8191 
8192 
8193 void qof_entity_init (QofEntity *, QofIdType, QofCollection *);
8194 
8195 
8196 
8197 void qof_entity_release (QofEntity *);
8198 
8199 
8200 
8201 const GUID *qof_entity_get_guid (QofEntity *);
8202 
8203 
8204 
8205 
8206 
8207 QofCollection *qof_collection_new (QofIdType type);
8208 
8209 
8210 guint qof_collection_count (QofCollection * col);
8211 
8212 
8213 void qof_collection_destroy (QofCollection * col);
8214 
8215 
8216 QofIdType qof_collection_get_type (QofCollection *);
8217 
8218 
8219 QofEntity *
8220 qof_collection_lookup_entity (QofCollection *, const GUID *);
8221 
8222 
8223 typedef void (*QofEntityForeachCB) (QofEntity *, gpointer user_data);
8224 
8225 
8226 void
8227 qof_collection_foreach (QofCollection *, QofEntityForeachCB,
8228  gpointer user_data);
8229 
8230 
8231 
8232 
8233 
8234 
8235 
8236 gpointer
8237 qof_collection_get_data (QofCollection * col);
8238 
8239 
8240 void
8241 qof_collection_set_data (QofCollection * col, gpointer user_data);
8242 
8243 
8244 gboolean
8245 qof_collection_is_dirty (QofCollection * col);
8246 # 231 "/usr/include/qof/qofid.h"
8247 gboolean
8248 qof_collection_add_entity (QofCollection * coll, QofEntity * ent);
8249 # 244 "/usr/include/qof/qofid.h"
8250 gboolean
8251 qof_collection_merge (QofCollection * target, QofCollection * merge);
8252 # 258 "/usr/include/qof/qofid.h"
8253 gint
8254 qof_collection_compare (QofCollection * target, QofCollection * merge);
8255 # 271 "/usr/include/qof/qofid.h"
8256 QofCollection *
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
8263 
8264 
8265 
8266 
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
8270 struct _IO_FILE;
8271 
8272 
8273 
8274 typedef struct _IO_FILE FILE;
8275 
8276 
8277 
8278 
8279 
8280 # 65 "/usr/include/stdio.h" 3 4
8281 typedef struct _IO_FILE __FILE;
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
8289 
8290 
8291 
8292 
8293 # 1 "/usr/include/wchar.h" 1 3 4
8294 # 83 "/usr/include/wchar.h" 3 4
8295 typedef struct
8296 {
8297  int __count;
8298  union
8299  {
8300 
8301  unsigned int __wch;
8302 
8303 
8304 
8305  char __wchb[4];
8306  } __value;
8307 } __mbstate_t;
8308 # 21 "/usr/include/_G_config.h" 2 3 4
8309 
8310 typedef struct
8311 {
8312  __off_t __pos;
8313  __mbstate_t __state;
8314 } _G_fpos_t;
8315 typedef struct
8316 {
8317  __off64_t __pos;
8318  __mbstate_t __state;
8319 } _G_fpos64_t;
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;
8330 
8331 
8332 
8333 
8334 
8335 struct _IO_marker {
8336  struct _IO_marker *_next;
8337  struct _IO_FILE *_sbuf;
8338 
8339 
8340 
8341  int _pos;
8342 # 203 "/usr/include/libio.h" 3 4
8343 };
8344 
8345 
8346 enum __codecvt_result
8347 {
8348  __codecvt_ok,
8349  __codecvt_partial,
8350  __codecvt_error,
8351  __codecvt_noconv
8352 };
8353 # 271 "/usr/include/libio.h" 3 4
8354 struct _IO_FILE {
8355  int _flags;
8356 
8357 
8358 
8359 
8360  char* _IO_read_ptr;
8361  char* _IO_read_end;
8362  char* _IO_read_base;
8363  char* _IO_write_base;
8364  char* _IO_write_ptr;
8365  char* _IO_write_end;
8366  char* _IO_buf_base;
8367  char* _IO_buf_end;
8368 
8369  char *_IO_save_base;
8370  char *_IO_backup_base;
8371  char *_IO_save_end;
8372 
8373  struct _IO_marker *_markers;
8374 
8375  struct _IO_FILE *_chain;
8376 
8377  int _fileno;
8378 
8379 
8380 
8381  int _flags2;
8382 
8383  __off_t _old_offset;
8384 
8385 
8386 
8387  unsigned short _cur_column;
8388  signed char _vtable_offset;
8389  char _shortbuf[1];
8390 
8391 
8392 
8393  _IO_lock_t *_lock;
8394 # 319 "/usr/include/libio.h" 3 4
8395  __off64_t _offset;
8396 # 328 "/usr/include/libio.h" 3 4
8397  void *__pad1;
8398  void *__pad2;
8399  void *__pad3;
8400  void *__pad4;
8401  size_t __pad5;
8402 
8403  int _mode;
8404 
8405  char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
8406 
8407 };
8408 
8409 
8410 typedef struct _IO_FILE _IO_FILE;
8411 
8412 
8413 struct _IO_FILE_plus;
8414 
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);
8420 
8421 
8422 
8423 
8424 
8425 
8426 
8427 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
8428  size_t __n);
8429 
8430 
8431 
8432 
8433 
8434 
8435 
8436 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
8437 
8438 
8439 typedef int __io_close_fn (void *__cookie);
8440 
8441 
8442 
8443 
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;
8448 
8449 
8450 typedef struct
8451 {
8452  __io_read_fn *read;
8453  __io_write_fn *write;
8454  __io_seek_fn *seek;
8455  __io_close_fn *close;
8458 
8459 struct _IO_cookie_file;
8460 
8461 
8462 extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write,
8463  void *__cookie, _IO_cookie_io_functions_t __fns);
8464 
8465 
8466 
8467 
8468 
8469 
8470 
8471 extern int __underflow (_IO_FILE *);
8472 extern int __uflow (_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__));
8479 
8480 extern int _IO_peekc_locked (_IO_FILE *__fp);
8481 
8482 
8483 
8484 
8485 
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,
8493  __gnuc_va_list);
8494 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
8495 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
8496 
8497 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
8498 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
8499 
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;
8504 
8505 
8506 
8507 
8508 
8509 
8510 typedef __off64_t off64_t;
8511 
8512 
8513 
8514 
8515 typedef __ssize_t ssize_t;
8516 
8517 
8518 
8519 
8520 
8521 
8522 
8523 typedef _G_fpos_t fpos_t;
8524 
8525 
8526 
8527 
8528 
8529 typedef _G_fpos64_t fpos64_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
8533 
8534 
8535 
8536 extern struct _IO_FILE *stdin;
8537 extern struct _IO_FILE *stdout;
8538 extern struct _IO_FILE *stderr;
8539 
8540 
8541 
8542 
8543 
8544 
8545 
8546 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
8547 
8548 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
8549 
8550 
8551 
8552 
8553 extern int renameat (int __oldfd, __const char *__old, int __newfd,
8554  __const char *__new) __attribute__ ((__nothrow__));
8555 
8556 
8557 
8558 
8559 
8560 
8561 
8562 
8563 extern FILE *tmpfile (void) ;
8564 # 202 "/usr/include/stdio.h" 3 4
8565 extern FILE *tmpfile64 (void) ;
8566 
8567 
8568 
8569 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ;
8570 
8571 
8572 
8573 
8574 
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__)) ;
8579 
8580 
8581 
8582 
8583 
8584 
8585 
8586 
8587 extern int fclose (FILE *__stream);
8588 
8589 
8590 
8591 
8592 extern int fflush (FILE *__stream);
8593 
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);
8598 
8599 
8600 
8601 
8602 
8603 
8604 
8605 
8606 
8607 extern FILE *fopen (__const char *__restrict __filename,
8608  __const char *__restrict __modes) ;
8609 
8610 
8611 
8612 
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
8617 
8618 
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) ;
8624 
8625 
8626 
8627 
8628 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ;
8629 
8630 
8631 
8632 
8633 
8634 extern FILE *fopencookie (void *__restrict __magic_cookie,
8635  __const char *__restrict __modes,
8636  _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)) ;
8637 
8638 
8639 
8640 
8641 extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
8642  __attribute__ ((__nothrow__)) ;
8643 
8644 
8645 
8646 
8647 extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) ;
8648 
8649 
8650 
8651 
8652 
8653 
8654 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
8655 
8656 
8657 
8658 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
8659  int __modes, size_t __n) __attribute__ ((__nothrow__));
8660 
8661 
8662 
8663 
8664 
8665 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
8666  size_t __size) __attribute__ ((__nothrow__));
8667 
8668 
8669 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
8670 
8671 
8672 
8673 
8674 
8675 
8676 
8677 
8678 extern int fprintf (FILE *__restrict __stream,
8679  __const char *__restrict __format, ...);
8680 
8681 
8682 
8683 
8684 extern int printf (__const char *__restrict __format, ...);
8685 
8686 extern int sprintf (char *__restrict __s,
8687  __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
8688 
8689 
8690 
8691 
8692 
8693 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
8694  __gnuc_va_list __arg);
8695 
8696 
8697 
8698 
8699 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
8700 
8701 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
8702  __gnuc_va_list __arg) __attribute__ ((__nothrow__));
8703 
8704 
8705 
8706 
8707 
8708 extern int snprintf (char *__restrict __s, size_t __maxlen,
8709  __const char *__restrict __format, ...)
8710  __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
8711 
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)));
8715 
8716 
8717 
8718 
8719 
8720 
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)));
8736 
8737 
8738 
8739 
8740 
8741 
8742 
8743 
8744 extern int fscanf (FILE *__restrict __stream,
8745  __const char *__restrict __format, ...) ;
8746 
8747 
8748 
8749 
8750 extern int scanf (__const char *__restrict __format, ...) ;
8751 
8752 extern int sscanf (__const char *__restrict __s,
8753  __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
8754 # 465 "/usr/include/stdio.h" 3 4
8755 
8756 
8757 
8758 
8759 
8760 
8761 
8762 
8763 extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
8764  __gnuc_va_list __arg)
8765  __attribute__ ((__format__ (__scanf__, 2, 0))) ;
8766 
8767 
8768 
8769 
8770 
8771 extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
8772  __attribute__ ((__format__ (__scanf__, 1, 0))) ;
8773 
8774 
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
8779 
8780 
8781 
8782 
8783 
8784 
8785 
8786 
8787 
8788 extern int fgetc (FILE *__stream);
8789 extern int getc (FILE *__stream);
8790 
8791 
8792 
8793 
8794 
8795 extern int getchar (void);
8796 
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);
8802 
8803 
8804 
8805 
8806 
8807 
8808 
8809 
8810 
8811 
8812 
8813 extern int fputc (int __c, FILE *__stream);
8814 extern int putc (int __c, FILE *__stream);
8815 
8816 
8817 
8818 
8819 
8820 extern int putchar (int __c);
8821 
8822 # 596 "/usr/include/stdio.h" 3 4
8823 extern int fputc_unlocked (int __c, FILE *__stream);
8824 
8825 
8826 
8827 
8828 
8829 
8830 
8831 extern int putc_unlocked (int __c, FILE *__stream);
8832 extern int putchar_unlocked (int __c);
8833 
8834 
8835 
8836 
8837 
8838 
8839 extern int getw (FILE *__stream);
8840 
8841 
8842 extern int putw (int __w, FILE *__stream);
8843 
8844 
8845 
8846 
8847 
8848 
8849 
8850 
8851 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
8852  ;
8853 
8854 
8855 
8856 
8857 
8858 
8859 extern char *gets (char *__s) ;
8860 
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) ;
8871 
8872 
8873 
8874 
8875 
8876 
8877 
8878 extern __ssize_t getline (char **__restrict __lineptr,
8879  size_t *__restrict __n,
8880  FILE *__restrict __stream) ;
8881 
8882 
8883 
8884 
8885 
8886 
8887 
8888 
8889 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
8890 
8891 
8892 
8893 
8894 
8895 extern int puts (__const char *__s);
8896 
8897 
8898 
8899 
8900 
8901 
8902 extern int ungetc (int __c, FILE *__stream);
8903 
8904 
8905 
8906 
8907 
8908 
8909 extern size_t fread (void *__restrict __ptr, size_t __size,
8910  size_t __n, FILE *__restrict __stream) ;
8911 
8912 
8913 
8914 
8915 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
8916  size_t __n, FILE *__restrict __s);
8917 
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);
8926 
8927 
8928 
8929 
8930 
8931 
8932 
8933 
8934 extern int fseek (FILE *__stream, long int __off, int __whence);
8935 
8936 
8937 
8938 
8939 extern long int ftell (FILE *__stream) ;
8940 
8941 
8942 
8943 
8944 extern void rewind (FILE *__stream);
8945 
8946 # 766 "/usr/include/stdio.h" 3 4
8947 extern int fseeko (FILE *__stream, __off_t __off, int __whence);
8948 
8949 
8950 
8951 
8952 extern __off_t ftello (FILE *__stream) ;
8953 # 785 "/usr/include/stdio.h" 3 4
8954 
8955 
8956 
8957 
8958 
8959 
8960 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
8961 
8962 
8963 
8964 
8965 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
8966 # 808 "/usr/include/stdio.h" 3 4
8967 
8968 
8969 
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);
8974 
8975 
8976 
8977 
8978 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
8979 
8980 extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ;
8981 
8982 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ;
8983 
8984 
8985 
8986 
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__)) ;
8990 
8991 
8992 
8993 
8994 
8995 
8996 
8997 
8998 extern void perror (__const char *__s);
8999 
9000 
9001 
9002 
9003 
9004 
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[];
9009 
9010 
9011 extern int _sys_nerr;
9012 extern __const char *__const _sys_errlist[];
9013 # 847 "/usr/include/stdio.h" 2 3 4
9014 
9015 
9016 
9017 
9018 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ;
9019 
9020 
9021 
9022 
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) ;
9026 
9027 
9028 
9029 
9030 
9031 extern int pclose (FILE *__stream);
9032 
9033 
9034 
9035 
9036 
9037 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
9038 
9039 
9040 
9041 
9042 
9043 extern char *cuserid (char *__s);
9044 
9045 
9046 
9047 
9048 struct obstack;
9049 
9050 
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)));
9058 
9059 
9060 
9061 
9062 
9063 
9064 
9065 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
9066 
9067 
9068 
9069 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ;
9070 
9071 
9072 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
9073 # 936 "/usr/include/stdio.h" 3 4
9074 
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"
9086 # 1 "../config.h" 1
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"
9093 void
9094 qof_time_add_secs (QofTime * qt, QofTimeSecs secs);
9095 # 144 "/usr/include/qof/qoftime.h"
9096 QofTime *
9097 qof_time_add_secs_copy (QofTime * qt, QofTimeSecs secs);
9098 
9099 
9100 
9101 
9102 
9103 
9104 QofTime *
9105 qof_time_new (void);
9106 # 162 "/usr/include/qof/qoftime.h"
9107 QofTime *
9108 qof_time_copy (const QofTime *qt);
9109 
9110 
9111 void
9112 qof_time_free (QofTime * qt);
9113 # 176 "/usr/include/qof/qoftime.h"
9114 void
9115 qof_time_set_secs (QofTime * time, QofTimeSecs secs);
9116 
9117 
9118 
9119 
9120 
9121 
9122 
9123 void
9124 qof_time_set_nanosecs (QofTime * time, glong nano);
9125 
9126 
9127 
9128 
9129 
9130 
9131 
9132 QofTimeSecs
9133 qof_time_get_secs (const QofTime * time);
9134 
9135 
9136 
9137 
9138 
9139 
9140 
9141 glong
9142 qof_time_get_nanosecs (const QofTime * time);
9143 
9144 
9145 
9146 
9147 
9148 gboolean
9149 qof_time_equal (const QofTime * ta, const QofTime * tb);
9150 
9151 
9152 gint
9153 qof_time_cmp (const QofTime * ta, const QofTime * tb);
9154 # 226 "/usr/include/qof/qoftime.h"
9155 QofTime *
9156 qof_time_diff (const QofTime * ta, const QofTime * tb);
9157 
9158 
9159 
9160 
9161 
9162 
9163 QofTime *
9164 qof_time_abs (QofTime * t);
9165 
9166 gboolean
9167 qof_time_is_valid (const QofTime * qt);
9168 # 249 "/usr/include/qof/qoftime.h"
9169 QofTime *
9170 qof_time_from_time_t (time_t t, glong nanosecs);
9171 # 261 "/usr/include/qof/qoftime.h"
9172 QofTime *
9173 qof_time_set (QofTimeSecs t, glong nanosecs);
9174 # 277 "/usr/include/qof/qoftime.h"
9175 gboolean
9176 qof_time_to_time_t (QofTime * ts, time_t * t, glong * nanosecs);
9177 # 292 "/usr/include/qof/qoftime.h"
9178 QofTime *
9179 qof_time_from_tm (struct tm *tm, glong nanosecs);
9180 # 302 "/usr/include/qof/qoftime.h"
9181 gboolean
9182 qof_time_to_gtimeval (QofTime * qt, GTimeVal * gtv);
9183 
9184 
9185 
9186 
9187 
9188 
9189 
9190 void
9191 qof_time_from_gtimeval (QofTime * qt, GTimeVal * gtv);
9192 # 324 "/usr/include/qof/qoftime.h"
9193 QofTime *
9194 qof_time_dmy_to_time (guint8 day, guint8 month, guint16 year);
9195 # 340 "/usr/include/qof/qoftime.h"
9196 gboolean
9197 qof_time_to_dmy (QofTime * t, guint8 * day, guint8 * month, guint16 * year);
9198 # 352 "/usr/include/qof/qoftime.h"
9199 GDate *
9200 qof_time_to_gdate (QofTime * time);
9201 # 363 "/usr/include/qof/qoftime.h"
9202 QofTime *
9203 qof_time_from_gdate (GDate * date);
9204 # 377 "/usr/include/qof/qoftime.h"
9205 GTimeVal *
9206 qof_time_get_current_start (void);
9207 # 390 "/usr/include/qof/qoftime.h"
9208 QofTime *
9209 qof_time_get_current (void);
9210 # 401 "/usr/include/qof/qoftime.h"
9211 gboolean
9212 qof_time_set_day_middle (QofTime * t);
9213 # 412 "/usr/include/qof/qoftime.h"
9214 gboolean
9215 qof_time_set_day_start (QofTime * time);
9216 # 423 "/usr/include/qof/qoftime.h"
9217 gboolean
9218 qof_time_set_day_end (QofTime * time);
9219 # 434 "/usr/include/qof/qoftime.h"
9220 guint8
9221 qof_time_last_mday (QofTime * ts);
9222 
9223 
9224 
9225 
9226 
9227 
9228 
9229 QofTime *
9230 qof_time_get_today_start (void);
9231 
9232 
9233 QofTime *
9234 qof_time_get_today_end (void);
9235 
9236 
9237 
9238 
9239 
9240 
9241 gchar *
9242 qof_time_stamp_now (void);
9243 # 79 "/usr/include/qof/qofdate.h" 2
9244 # 138 "/usr/include/qof/qofdate.h"
9245 typedef struct QofDate_s
9246 {
9247 
9248  glong qd_nanosecs;
9249 
9250  gint64 qd_sec;
9251 
9252 
9253 
9254 
9255 
9256 
9257  glong qd_min;
9258 
9259 
9260 
9261 
9262 
9263 
9264  glong qd_hour;
9265 
9266 
9267 
9268 
9269 
9270 
9271  glong qd_mday;
9272 
9273 
9274 
9275 
9276 
9277 
9278  glong qd_mon;
9279 # 181 "/usr/include/qof/qofdate.h"
9280  gint64 qd_year;
9281 
9282 
9283 
9284  gshort qd_wday;
9285 
9286 
9287 
9288  gshort qd_yday;
9289 
9290 
9291 
9292  gshort qd_is_dst;
9293 
9294 
9295 
9296 
9297 
9298 
9299 
9300  glong qd_gmt_off;
9301 
9302 
9303 
9304 
9305 
9306 
9307  const gchar *qd_zone;
9308 # 217 "/usr/include/qof/qofdate.h"
9309  gboolean qd_valid;
9310 } QofDate;
9311 
9312 
9313 
9314 
9315 
9316 
9317 
9318 void qof_date_init (void);
9319 
9320 
9321 void qof_date_close (void);
9322 # 335 "/usr/include/qof/qofdate.h"
9323 typedef gint QofDateFormat;
9324 # 358 "/usr/include/qof/qofdate.h"
9325 gboolean
9326 qof_date_format_add (const gchar * str, QofDateFormat *identifier);
9327 # 371 "/usr/include/qof/qofdate.h"
9328 const gchar *
9329 qof_date_format_to_name (QofDateFormat format);
9330 # 384 "/usr/include/qof/qofdate.h"
9331 QofDateFormat
9332 qof_date_format_from_name (const gchar * name);
9333 # 400 "/usr/include/qof/qofdate.h"
9334 gboolean
9335 qof_date_format_set_name (const gchar * name, QofDateFormat format);
9336 
9337 
9338 QofDateFormat
9339 qof_date_format_get_current (void);
9340 
9341 
9342 
9343 
9344 
9345 
9346 
9347 gboolean
9348 qof_date_format_set_current (QofDateFormat df);
9349 # 423 "/usr/include/qof/qofdate.h"
9350 const gchar *
9351 qof_date_format_get_format (QofDateFormat df);
9352 # 436 "/usr/include/qof/qofdate.h"
9353 gchar
9354 qof_date_format_get_date_separator (QofDateFormat df);
9355 # 447 "/usr/include/qof/qofdate.h"
9356 gboolean
9357 qof_date_format_set_date_separator (const gchar sep, QofDateFormat df);
9358 
9359 
9360 
9361 
9362 
9363 
9364 QofDate *
9365 qof_date_new (void);
9366 
9367 
9368 QofDate *
9369 qof_date_get_current (void);
9370 
9371 
9372 QofDate *
9373 qof_date_new_dmy (gint day, gint month, gint64 year);
9374 
9375 
9376 void
9377 qof_date_free (QofDate * date);
9378 
9379 
9380 QofTime*
9381 qof_date_time_difference (const QofDate * date1, const QofDate * date2);
9382 # 481 "/usr/include/qof/qofdate.h"
9383 gboolean
9384 qof_date_is_last_mday (const QofDate *qd);
9385 # 499 "/usr/include/qof/qofdate.h"
9386 gboolean
9387 qof_date_addmonths (QofDate * qd, gint months,
9388  gboolean track_last_day);
9389 
9390 
9391 gboolean
9392 qof_date_equal (const QofDate *d1, const QofDate *d2);
9393 
9394 
9395 gint
9396 qof_date_compare (const QofDate * d1, const QofDate * d2);
9397 # 532 "/usr/include/qof/qofdate.h"
9398 gboolean
9399 qof_date_valid (QofDate *date);
9400 # 544 "/usr/include/qof/qofdate.h"
9401 guint16
9402 qof_date_get_yday (gint mday, gint month, gint64 year);
9403 # 555 "/usr/include/qof/qofdate.h"
9404 guint8
9405 qof_date_get_mday (gint month, gint64 year);
9406 
9407 
9408 
9409 
9410 
9411 
9412 
9413 QofDate *
9414 qof_date_from_qtime (const QofTime *qt);
9415 
9416 
9417 QofTime *
9418 qof_date_to_qtime (const QofDate *qd);
9419 
9420 
9421 
9422 
9423 
9424 
9425 QofDate *
9426 qof_date_from_struct_tm (const struct tm *stm);
9427 # 593 "/usr/include/qof/qofdate.h"
9428 gboolean
9429 qof_date_to_struct_tm (const QofDate * qt, struct tm *stm, glong * nanosecs);
9430 # 605 "/usr/include/qof/qofdate.h"
9431 gboolean
9432 qof_date_to_gdate (const QofDate *qd, GDate *gd);
9433 # 617 "/usr/include/qof/qofdate.h"
9434 QofDate *
9435 qof_date_from_gdate (const GDate *gd);
9436 # 635 "/usr/include/qof/qofdate.h"
9437 gboolean
9438 qof_date_adddays (QofDate * qd, gint days);
9439 
9440 gboolean
9441 qof_date_set_day_end (QofDate * qd);
9442 
9443 gboolean
9444 qof_date_set_day_start (QofDate * qd);
9445 
9446 gboolean
9447 qof_date_set_day_middle (QofDate * qd);
9448 # 712 "/usr/include/qof/qofdate.h"
9449 gchar *
9450 qof_date_print (const QofDate * date, QofDateFormat df);
9451 # 725 "/usr/include/qof/qofdate.h"
9452 QofDate *
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"
9461 # 1 "../config.h" 1
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;
9471 
9472 
9473 typedef GList QofBookList;
9474 
9475 typedef void (*QofBookFinalCB) (QofBook *, gpointer key, gpointer user_data);
9476 
9477 
9478 gboolean qof_book_register (void);
9479 
9480 
9481 
9482 QofBook *qof_book_new (void);
9483 
9484 
9485 
9486 void qof_book_destroy (QofBook * book);
9487 
9488 
9489 
9490 
9491 
9492 
9493 void qof_book_mark_closed (QofBook * book);
9494 # 99 "/usr/include/qof/qofbook.h"
9495 QofCollection *qof_book_get_collection (QofBook *, QofIdType);
9496 
9497 
9498 typedef void (*QofCollectionForeachCB) (QofCollection *, gpointer user_data);
9499 void qof_book_foreach_collection (QofBook *, QofCollectionForeachCB,
9500  gpointer);
9501 # 125 "/usr/include/qof/qofbook.h"
9502 void qof_book_set_data (QofBook * book, const gchar * key, gpointer data);
9503 
9504 
9505 
9506 
9507 
9508 void qof_book_set_data_fin (QofBook * book, const gchar * key, gpointer data,
9509  QofBookFinalCB);
9510 
9511 
9512 gpointer qof_book_get_data (QofBook * book, const gchar * key);
9513 
9514 
9515 gboolean qof_book_shutting_down (QofBook * book);
9516 # 148 "/usr/include/qof/qofbook.h"
9517 gboolean qof_book_not_saved (QofBook * book);
9518 
9519 
9520 
9521 
9522 
9523 
9524 void qof_book_mark_saved (QofBook * book);
9525 
9526 
9527 
9528 void qof_book_kvp_changed (QofBook * book);
9529 
9530 
9531 
9532 
9533 gboolean qof_book_equal (QofBook * book_1, QofBook * book_2);
9534 
9535 
9536 
9537 
9538 gint64 qof_book_get_counter (QofBook * book, const gchar *counter_name);
9539 # 41 "/usr/include/qof/qofinstance.h" 2
9540 
9541 
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"
9547 {
9548  gint64 num;
9549  gint64 denom;
9550 };
9551 
9552 
9553 
9554 
9555 typedef struct _QofNumeric QofNumeric;
9556 # 129 "/usr/include/qof/qofnumeric.h"
9557 enum
9558 {
9559 
9560  QOF_HOW_RND_FLOOR = 0x01,
9561 
9562 
9563  QOF_HOW_RND_CEIL = 0x02,
9564 
9565 
9566  QOF_HOW_RND_TRUNC = 0x03,
9567 
9568 
9569  QOF_HOW_RND_PROMOTE = 0x04,
9570 
9571 
9572 
9573 
9574  QOF_HOW_RND_ROUND_HALF_DOWN = 0x05,
9575 
9576 
9577 
9578 
9579  QOF_HOW_RND_ROUND_HALF_UP = 0x06,
9580 
9581 
9582 
9583 
9584 
9585 
9586  QOF_HOW_RND_ROUND = 0x07,
9587 
9588 
9589 
9590 
9591  QOF_HOW_RND_NEVER = 0x08
9592 };
9593 
9594 
9595 enum
9596 {
9597 
9598 
9599 
9600 
9601 
9602  QOF_HOW_DENOM_EXACT = 0x10,
9603 
9604 
9605 
9606 
9607 
9608 
9609  QOF_HOW_DENOM_REDUCE = 0x20,
9610 
9611 
9612 
9613 
9614  QOF_HOW_DENOM_LCD = 0x30,
9615 
9616 
9617 
9618 
9619 
9620  QOF_HOW_DENOM_FIXED = 0x40,
9621 
9622 
9623 
9624 
9625  QOF_HOW_DENOM_SIGFIG = 0x50
9626 };
9627 # 207 "/usr/include/qof/qofnumeric.h"
9628 typedef enum
9629 {
9630  QOF_ERROR_OK = 0,
9631  QOF_ERROR_ARG = -1,
9632  QOF_ERROR_OVERFLOW = -2,
9633 
9634 
9635  QOF_ERROR_DENOM_DIFF = -3,
9636 
9637 
9638 
9639  QOF_ERROR_REMAINDER = -4
9640 } QofNumericErrorCode;
9641 # 242 "/usr/include/qof/qofnumeric.h"
9642 static inline QofNumeric
9643 qof_numeric_create (gint64 num, gint64 denom)
9644 {
9645  QofNumeric out;
9646  out.num = num;
9647  out.denom = denom;
9648  return out;
9649 }
9650 
9651 
9652 static inline QofNumeric
9653 qof_numeric_zero (void)
9654 {
9655  return qof_numeric_create (0, 1);
9656 }
9657 
9658 
9659 
9660 
9661 
9662 
9663 QofNumeric
9664 qof_numeric_from_double (gdouble in, gint64 denom, gint how);
9665 
9666 
9667 
9668 
9669 gboolean
9670 qof_numeric_from_string (const gchar * str, QofNumeric * n);
9671 
9672 
9673 
9674 
9675 QofNumeric
9676 qof_numeric_error (QofNumericErrorCode error_code);
9677 
9678 
9679 
9680 
9681 
9682 
9683 static inline gint64
9684 qof_numeric_num (QofNumeric a)
9685 {
9686  return a.num;
9687 }
9688 
9689 
9690 static inline gint64
9691 qof_numeric_denom (QofNumeric a)
9692 {
9693  return a.denom;
9694 }
9695 
9696 
9697 gdouble
9698 qof_numeric_to_double (QofNumeric in);
9699 
9700 
9701 
9702 gchar *
9703 qof_numeric_to_string (QofNumeric n);
9704 
9705 
9706 
9707 gchar *
9708 qof_numeric_dbg_to_string (QofNumeric n);
9709 # 318 "/usr/include/qof/qofnumeric.h"
9710 QofNumericErrorCode
9711 qof_numeric_check (QofNumeric a);
9712 
9713 
9714 gint
9715 qof_numeric_compare (QofNumeric a, QofNumeric b);
9716 
9717 
9718 gboolean
9719 qof_numeric_zero_p (QofNumeric a);
9720 
9721 
9722 gboolean
9723 qof_numeric_negative_p (QofNumeric a);
9724 
9725 
9726 gboolean
9727 qof_numeric_positive_p (QofNumeric a);
9728 
9729 
9730 
9731 
9732 gboolean
9733 qof_numeric_eq (QofNumeric a, QofNumeric b);
9734 
9735 
9736 
9737 
9738 
9739 gboolean
9740 qof_numeric_equal (QofNumeric a, QofNumeric b);
9741 # 362 "/usr/include/qof/qofnumeric.h"
9742 gint
9743 qof_numeric_same (QofNumeric a, QofNumeric b, gint64 denom, gint how);
9744 
9745 
9746 
9747 
9748 
9749 
9750 QofNumeric
9751 qof_numeric_add (QofNumeric a, QofNumeric b,
9752  gint64 denom, gint how);
9753 
9754 
9755 QofNumeric
9756 qof_numeric_sub (QofNumeric a, QofNumeric b,
9757  gint64 denom, gint how);
9758 
9759 
9760 
9761 
9762 
9763 
9764 QofNumeric
9765 qof_numeric_mul (QofNumeric a, QofNumeric b,
9766  gint64 denom, gint how);
9767 # 395 "/usr/include/qof/qofnumeric.h"
9768 QofNumeric
9769 qof_numeric_div (QofNumeric x, QofNumeric y,
9770  gint64 denom, gint how);
9771 
9772 QofNumeric
9773 qof_numeric_neg (QofNumeric a);
9774 
9775 
9776 QofNumeric
9777 qof_numeric_abs (QofNumeric a);
9778 
9779 
9780 
9781 
9782 
9783 static inline QofNumeric
9784 qof_numeric_add_fixed (QofNumeric a, QofNumeric b)
9785 {
9786  return qof_numeric_add (a, b, 0,
9787  QOF_HOW_DENOM_FIXED | QOF_HOW_RND_NEVER);
9788 }
9789 
9790 
9791 
9792 
9793 
9794 static inline QofNumeric
9795 qof_numeric_sub_fixed (QofNumeric a, QofNumeric b)
9796 {
9797  return qof_numeric_sub (a, b, 0,
9798  QOF_HOW_DENOM_FIXED | QOF_HOW_RND_NEVER);
9799 }
9800 # 435 "/usr/include/qof/qofnumeric.h"
9801 QofNumeric
9802 qof_numeric_add_with_error (QofNumeric a, QofNumeric b,
9803  gint64 denom, gint how,
9804  QofNumeric * error);
9805 
9806 
9807 
9808 QofNumeric
9809 qof_numeric_sub_with_error (QofNumeric a, QofNumeric b,
9810  gint64 denom, gint how,
9811  QofNumeric * error);
9812 
9813 
9814 
9815 
9816 QofNumeric
9817 qof_numeric_mul_with_error (QofNumeric a, QofNumeric b,
9818  gint64 denom, gint how,
9819  QofNumeric * error);
9820 
9821 
9822 
9823 
9824 QofNumeric
9825 qof_numeric_div_with_error (QofNumeric a, QofNumeric b,
9826  gint64 denom, gint how,
9827  QofNumeric * error);
9828 # 471 "/usr/include/qof/qofnumeric.h"
9829 QofNumeric
9830 qof_numeric_convert (QofNumeric in, gint64 denom, gint how);
9831 
9832 
9833 
9834 
9835 QofNumeric
9836 qof_numeric_convert_with_error (QofNumeric in, gint64 denom,
9837  gint how, QofNumeric * error);
9838 
9839 
9840 
9841 QofNumeric qof_numeric_reduce (QofNumeric in);
9842 # 67 "/usr/include/qof/kvpframe.h" 2
9843 
9844 
9845 
9846 
9847 
9848 
9849 
9850 typedef struct _KvpFrame KvpFrame;
9851 
9852 
9853 
9854 typedef struct _KvpValue KvpValue;
9855 # 87 "/usr/include/qof/kvpframe.h"
9856 typedef enum
9857 {
9858 
9859 
9860 
9861 
9862 
9863  KVP_TYPE_GINT64 = 1,
9864 
9865 
9866 
9867 
9868 
9869  KVP_TYPE_DOUBLE,
9870 
9871 
9872 
9873 
9874 
9875  KVP_TYPE_NUMERIC,
9876 
9877 
9878 
9879 
9880 
9881  KVP_TYPE_STRING,
9882 
9883 
9884 
9885 
9886 
9887  KVP_TYPE_GUID,
9888 
9889 
9890 
9891 
9892 
9893  KVP_TYPE_TIME,
9894 
9895  KVP_TYPE_BINARY,
9896 
9897  KVP_TYPE_GLIST,
9898 
9899  KVP_TYPE_FRAME,
9900 
9901 
9902 
9903 
9904 
9905  KVP_TYPE_BOOLEAN
9906 } KvpValueType;
9907 
9908 
9909 
9910 
9911 
9912 
9913 KvpFrame *
9914 kvp_frame_new (void);
9915 
9916 
9917 void
9918 kvp_frame_delete (KvpFrame * frame);
9919 
9920 
9921 
9922 KvpFrame *
9923 kvp_frame_copy (const KvpFrame * frame);
9924 
9925 
9926 gboolean
9927 kvp_frame_is_empty (KvpFrame * frame);
9928 # 170 "/usr/include/qof/kvpframe.h"
9929 void
9930 kvp_frame_set_gint64 (KvpFrame * frame, const gchar * path, gint64 ival);
9931 
9932 
9933 
9934 
9935 
9936 void
9937 kvp_frame_set_double (KvpFrame * frame, const gchar * path, gdouble dval);
9938 
9939 
9940 
9941 
9942 
9943 void
9944 kvp_frame_set_numeric (KvpFrame * frame, const gchar * path,
9945  QofNumeric nval);
9946 
9947 
9948 
9949 
9950 
9951 
9952 
9953 void
9954 kvp_frame_set_string (KvpFrame * frame, const gchar * path,
9955  const gchar *str);
9956 
9957 
9958 
9959 
9960 
9961 
9962 
9963 void
9964 kvp_frame_set_guid (KvpFrame * frame, const gchar * path,
9965  const GUID * guid);
9966 
9967 
9968 
9969 
9970 
9971 
9972 
9973 void
9974 kvp_frame_set_time (KvpFrame * frame, const gchar *path, QofTime *qt);
9975 
9976 
9977 
9978 
9979 
9980 void
9981 kvp_frame_set_boolean (KvpFrame * frame, const gchar * path, gboolean val);
9982 
9983 
9984 
9985 
9986 
9987 
9988 
9989 void
9990 kvp_frame_set_frame (KvpFrame * frame, const gchar * path,
9991  KvpFrame * chld);
9992 
9993 
9994 
9995 
9996 
9997 
9998 
9999 void kvp_frame_set_frame_nc (KvpFrame * frame, const gchar * path,
10000  KvpFrame * chld);
10001 # 259 "/usr/include/qof/kvpframe.h"
10002 KvpFrame *
10003 kvp_frame_set_value (KvpFrame * frame, const gchar * path,
10004  const KvpValue * value);
10005 # 277 "/usr/include/qof/kvpframe.h"
10006 KvpFrame *
10007 kvp_frame_set_value_nc (KvpFrame * frame, const gchar * path, KvpValue * value);
10008 # 288 "/usr/include/qof/kvpframe.h"
10009 KvpValue *
10010 kvp_frame_replace_value_nc (KvpFrame * frame, const gchar * slot,
10011  KvpValue * new_value);
10012 # 304 "/usr/include/qof/kvpframe.h"
10013 void
10014 kvp_frame_add_gint64 (KvpFrame * frame, const gchar * path, gint64 ival);
10015 # 314 "/usr/include/qof/kvpframe.h"
10016 void
10017 kvp_frame_add_double (KvpFrame * frame, const gchar * path, gdouble dval);
10018 # 324 "/usr/include/qof/kvpframe.h"
10019 void
10020 kvp_frame_add_numeric (KvpFrame * frame, const gchar * path,
10021  QofNumeric nval);
10022 # 335 "/usr/include/qof/kvpframe.h"
10023 void
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);
10028 
10029 void
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,
10036  KvpFrame * chld);
10037 
10038 
10039 
10040 
10041 
10042 
10043 
10044 void kvp_frame_add_frame_nc (KvpFrame * frame, const gchar * path,
10045  KvpFrame * chld);
10046 # 390 "/usr/include/qof/kvpframe.h"
10047 KvpFrame *
10048 kvp_frame_add_value (KvpFrame * frame, const gchar * path,
10049  KvpValue * value);
10050 # 403 "/usr/include/qof/kvpframe.h"
10051 KvpFrame *
10052 kvp_frame_add_value_nc (KvpFrame * frame, const gchar * path,
10053  KvpValue * value);
10054 # 439 "/usr/include/qof/kvpframe.h"
10055 gint64
10056 kvp_frame_get_gint64 (const KvpFrame * frame, const gchar * path);
10057 gdouble
10058 kvp_frame_get_double (const KvpFrame * frame, const gchar * path);
10059 QofNumeric
10060 kvp_frame_get_numeric (const KvpFrame * frame, const gchar * path);
10061 gchar *
10062 kvp_frame_get_string (const KvpFrame * frame, const gchar * path);
10063 GUID *
10064 kvp_frame_get_guid (const KvpFrame * frame, const gchar * path);
10065 gpointer
10066 kvp_frame_get_binary (const KvpFrame * frame, const gchar * path,
10067  guint64 * size_return);
10068 
10069 gboolean
10070 kvp_frame_get_boolean (const KvpFrame * frame, const gchar * path);
10071 
10072 QofTime *
10073 kvp_frame_get_time (const KvpFrame * frame, const gchar *path);
10074 
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);
10078 
10079 
10080 
10081 
10082 
10083 KvpFrame *
10084 kvp_frame_get_frame_path (KvpFrame * frame, const gchar *, ...);
10085 
10086 
10087 
10088 
10089 
10090 KvpFrame *
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"
10095 KvpValue *
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);
10104 
10105 
10106 
10107 
10108 
10109 
10110 void kvp_frame_set_slot_path (KvpFrame * frame,
10111  const KvpValue * value,
10112  const gchar * first_key, ...);
10113 
10114 
10115 
10116 
10117 
10118 
10119 void kvp_frame_set_slot_path_gslist (KvpFrame * frame,
10120  const KvpValue * value,
10121  GSList * key_path);
10122 # 578 "/usr/include/qof/kvpframe.h"
10123 KvpValue *kvp_frame_get_slot (const KvpFrame * frame, const gchar * key);
10124 
10125 
10126 
10127 
10128 KvpValue *kvp_frame_get_slot_path (KvpFrame * frame,
10129  const gchar * first_key, ...);
10130 
10131 
10132 
10133 
10134 KvpValue *kvp_frame_get_slot_path_gslist (KvpFrame * frame,
10135  GSList * key_path);
10136 # 600 "/usr/include/qof/kvpframe.h"
10137 gint kvp_glist_compare (const GList * list1, const GList * list2);
10138 
10139 
10140 
10141 
10142 
10143 
10144 GList *kvp_glist_copy (const GList * list);
10145 
10146 
10147 
10148 
10149 
10150 
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);
10155 
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);
10160 
10161 KvpValue *kvp_value_new_boolean (gboolean value);
10162 
10163 KvpValue *kvp_value_new_binary (const void *data, guint64 datasize);
10164 KvpValue *kvp_value_new_frame (const KvpFrame * value);
10165 
10166 
10167 
10168 KvpValue *kvp_value_new_glist (const GList * value);
10169 
10170 
10171 
10172 KvpValue *kvp_value_new_binary_nc (void *data, guint64 datasize);
10173 
10174 
10175 
10176 
10177 
10178 
10179 
10180 KvpValue *kvp_value_new_glist_nc (GList * lst);
10181 
10182 
10183 
10184 KvpValue *kvp_value_new_frame_nc (KvpFrame * value);
10185 
10186 
10187 void kvp_value_delete (KvpValue * value);
10188 
10189 
10190 KvpValue *kvp_value_copy (const KvpValue * value);
10191 
10192 
10193 KvpFrame *kvp_value_replace_frame_nc (KvpValue * value, KvpFrame * newframe);
10194 
10195 
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);
10203 
10204 
10205 
10206 gchar *
10207 kvp_value_get_string (const KvpValue * value);
10208 
10209 
10210 
10211 GUID *
10212 kvp_value_get_guid (const KvpValue * value);
10213 
10214 
10215 
10216 gpointer
10217 kvp_value_get_binary (const KvpValue * value, guint64 * size_return);
10218 
10219 
10220 
10221 
10222 GList *
10223 kvp_value_get_glist (const KvpValue * value);
10224 
10225 
10226 
10227 KvpFrame *
10228 kvp_value_get_frame (const KvpValue * value);
10229 
10230 
10231 gboolean
10232 kvp_value_get_boolean (const KvpValue * value);
10233 
10234 QofTime*
10235 kvp_value_get_time (const KvpValue * value);
10236 
10237 
10238 
10239 
10240 gint
10241 kvp_value_compare (const KvpValue * va, const KvpValue * vb);
10242 
10243 
10244 
10245 
10246 
10247 
10248 
10249 gchar *
10250 kvp_value_to_bare_string (const KvpValue * val);
10251 
10252 
10253 
10254 
10255 
10256 
10257 gchar *
10258 kvp_value_to_string (const KvpValue * val);
10259 
10260 
10261 
10262 
10263 gboolean
10264 kvp_value_binary_append (KvpValue * v, gpointer data, guint64 size);
10265 
10266 
10267 
10268 
10269 
10270 
10271 typedef void (*KvpValueForeachCB) (const gchar *key, KvpValue * value, gpointer data);
10272 
10273 
10274 
10275 
10276 
10277 void
10278 kvp_frame_for_each_slot (KvpFrame * f, KvpValueForeachCB, gpointer data);
10279 # 44 "/usr/include/qof/qofinstance.h" 2
10280 
10281 
10282 
10283 
10284 
10285 
10286 typedef struct QofInstance_s QofInstance;
10287 
10288 
10289 void qof_instance_init (QofInstance *, QofIdType, QofBook *);
10290 
10291 
10292 
10293 void qof_instance_release (QofInstance * inst);
10294 
10295 
10296 QofBook *qof_instance_get_book (QofInstance *);
10297 
10298 
10299 const GUID *qof_instance_get_guid (QofInstance *);
10300 
10301 
10302 KvpFrame *qof_instance_get_slots (QofInstance *);
10303 
10304 
10305 
10306 
10307 
10308 
10309 
10310 QofTime *qof_instance_get_update_time (QofInstance * inst);
10311 
10312 
10313 
10314 
10315 
10316 
10317 
10318 gint qof_instance_version_cmp (QofInstance * left, QofInstance * right);
10319 
10320 
10321 gboolean qof_instance_is_dirty (QofInstance *);
10322 
10323 
10324 
10325 
10326 
10327 void qof_instance_set_dirty (QofInstance * inst);
10328 
10329 gboolean qof_instance_check_edit (QofInstance * inst);
10330 
10331 gboolean qof_instance_do_free (QofInstance * inst);
10332 
10333 void qof_instance_mark_free (QofInstance * inst);
10334 
10335 QofInstance *qof_instance_create (QofIdType type, QofBook * book);
10336 # 110 "/usr/include/qof/qofinstance.h"
10337 void qof_instance_gemini (QofInstance * to, QofInstance * from);
10338 # 126 "/usr/include/qof/qofinstance.h"
10339 QofInstance *qof_instance_lookup_twin (QofInstance * src, QofBook * book);
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;
10344 
10345 typedef struct _QofParam QofParam;
10346 # 144 "/usr/include/qof/qofclass.h"
10347 typedef gpointer (*QofAccessFunc) (gpointer object, const QofParam * param);
10348 
10349 
10350 
10351 
10352 
10353 
10354 typedef void (*QofSetterFunc) (gpointer, gpointer);
10355 # 170 "/usr/include/qof/qofclass.h"
10357 {
10358  const gchar *param_name;
10359  QofType param_type;
10360  QofAccessFunc param_getfcn;
10361  QofSetterFunc param_setfcn;
10362  gpointer param_userdata;
10363 };
10364 
10365 
10366 typedef
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,
10371  const QofParam * params);
10372 # 227 "/usr/include/qof/qofclass.h"
10373 gboolean
10374 qof_class_is_registered (QofIdTypeConst obj_name);
10375 
10376 
10377 QofType
10378 qof_class_get_parameter_type (QofIdTypeConst obj_name,
10379  const gchar *param_name);
10380 
10381 
10382 const QofParam *
10383 qof_class_get_parameter (QofIdTypeConst obj_name,
10384  const gchar *parameter);
10385 
10386 
10387 QofAccessFunc
10388 qof_class_get_parameter_getter (QofIdTypeConst obj_name,
10389  const gchar *parameter);
10390 
10391 
10392 QofSetterFunc
10393 qof_class_get_parameter_setter (QofIdTypeConst obj_name,
10394  const gchar *parameter);
10395 
10396 
10397 typedef void (*QofClassForeachCB) (QofIdTypeConst, gpointer);
10398 
10399 
10400 
10401 
10402 void
10403 qof_class_foreach (QofClassForeachCB, gpointer user_data);
10404 
10405 
10406 typedef void (*QofParamForeachCB) (QofParam *, gpointer user_data);
10407 
10408 
10409 
10410 
10411 void
10412 qof_class_param_foreach (QofIdTypeConst obj_name,
10413  QofParamForeachCB, gpointer user_data);
10414 
10415 
10416 
10417 
10418 
10419 
10420 
10421 GList *
10422 qof_class_get_referenceList (QofIdTypeConst type);
10423 # 35 "/usr/include/qof/qofinstance-p.h" 2
10424 
10426 {
10427 
10428  QofEntity entity;
10429 
10430 
10431  QofBook *book;
10432 
10433 
10434 
10435 
10436 
10437  KvpFrame *kvp_data;
10438 
10439 
10440 
10441 
10442  const QofParam * param;
10443 # 62 "/usr/include/qof/qofinstance-p.h"
10444  QofTime *update_time;
10445 
10446 
10447  gint editlevel;
10448 
10449 
10450  gboolean do_free;
10451 
10452 
10453 
10454 
10455  gboolean dirty;
10456 };
10457 
10458 
10459 void qof_instance_mark_clean (QofInstance *);
10460 
10461 void qof_instance_set_slots (QofInstance *, KvpFrame *);
10462 
10463 
10464 
10465 
10466 
10467 void
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"
10474 typedef struct _QofQueryPredData QofQueryPredData;
10475 
10476 
10477 
10478 
10479 typedef enum
10480 {
10481  QOF_COMPARE_LT = 1,
10482  QOF_COMPARE_LTE,
10483  QOF_COMPARE_EQUAL,
10484  QOF_COMPARE_GT,
10485  QOF_COMPARE_GTE,
10486  QOF_COMPARE_NEQ
10487 } QofQueryCompare;
10488 
10489 
10490 
10491 
10492 
10493 typedef enum
10494 {
10495  QOF_STRING_MATCH_NORMAL = 1,
10496  QOF_STRING_MATCH_CASEINSENSITIVE
10497 } QofStringMatch;
10498 # 78 "/usr/include/qof/qofquerycore.h"
10499 typedef enum
10500 {
10501  QOF_DATE_MATCH_NORMAL = 1,
10502  QOF_DATE_MATCH_DAY
10503 } QofDateMatch;
10504 # 96 "/usr/include/qof/qofquerycore.h"
10505 typedef enum
10506 {
10507  QOF_NUMERIC_MATCH_DEBIT = 1,
10508  QOF_NUMERIC_MATCH_CREDIT,
10509  QOF_NUMERIC_MATCH_ANY
10510 } QofNumericMatch;
10511 
10512 
10513 typedef enum
10514 {
10515 
10516 
10517  QOF_GUID_MATCH_ANY = 1,
10518  QOF_GUID_MATCH_NONE,
10519  QOF_GUID_MATCH_NULL,
10520 
10521 
10522  QOF_GUID_MATCH_ALL,
10523 
10524 
10525  QOF_GUID_MATCH_LIST_ANY,
10526 } QofGuidMatch;
10527 # 127 "/usr/include/qof/qofquerycore.h"
10528 typedef enum
10529 {
10530  QOF_CHAR_MATCH_ANY = 1,
10531  QOF_CHAR_MATCH_NONE
10532 } QofCharMatch;
10533 
10534 
10535 
10536 
10537 
10538 
10540 {
10541  QofType type_name;
10542  QofQueryCompare how;
10543 };
10544 
10545 
10546 
10547 
10549 qof_query_string_predicate (QofQueryCompare how,
10550  const gchar * str,
10551  QofStringMatch options,
10552  gboolean is_regex);
10553 
10555 qof_query_time_predicate (QofQueryCompare how,
10556  QofDateMatch options,
10557  QofTime *qt);
10558 
10560 qof_query_numeric_predicate (QofQueryCompare how,
10561  QofNumericMatch options,
10562  QofNumeric value);
10563 
10565 qof_query_guid_predicate (QofGuidMatch options,
10566  GList * guids);
10567 
10569 qof_query_int32_predicate (QofQueryCompare how, gint32 val);
10570 
10572 qof_query_int64_predicate (QofQueryCompare how, gint64 val);
10573 
10575 qof_query_double_predicate (QofQueryCompare how,
10576  double val);
10577 
10579 qof_query_boolean_predicate (QofQueryCompare how,
10580  gboolean val);
10581 
10583 qof_query_char_predicate (QofCharMatch options,
10584  const gchar * chars);
10585 
10587 qof_query_collect_predicate (QofGuidMatch options,
10588  QofCollection * coll);
10589 
10591 qof_query_choice_predicate (QofGuidMatch options,
10592  GList * guids);
10593 
10594 
10595 
10596 
10597 
10599 qof_query_kvp_predicate (QofQueryCompare how,
10600  GSList * path,
10601  const KvpValue * value);
10602 
10603 
10604 
10606 qof_query_kvp_predicate_path (QofQueryCompare how,
10607  const gchar * path,
10608  const KvpValue * value);
10609 
10610 
10612 qof_query_core_predicate_copy (QofQueryPredData * pdata);
10613 
10614 
10615 void qof_query_core_predicate_free (QofQueryPredData * pdata);
10616 
10617 
10618 gboolean
10619 qof_query_time_predicate_get_time (QofQueryPredData * pd,
10620  QofTime * qt);
10621 
10622 
10623 
10624 
10625 gchar *
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"
10636 typedef struct _QofObject QofObject;
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);
10642 
10643 
10644 
10646 {
10647  gint interface_version;
10648  QofIdType e_type;
10649  const gchar *type_label;
10650 
10651 
10652 
10653 
10654 
10655  gpointer (*create) (QofBook *);
10656 
10657 
10658 
10659 
10660  void (*book_begin) (QofBook *);
10661 
10662 
10663 
10664 
10665  void (*book_end) (QofBook *);
10666 
10667 
10668  gboolean (*is_dirty) (QofCollection *);
10669 
10670 
10671  void (*mark_clean) (QofCollection *);
10672 # 105 "/usr/include/qof/qofobject.h"
10673  void (*foreach) (QofCollection *, QofEntityForeachCB, gpointer);
10674 
10675 
10676 
10677  const gchar *(*printable) (gpointer instance);
10678 # 119 "/usr/include/qof/qofobject.h"
10679  gint (*version_cmp) (gpointer instance_left, gpointer instance_right);
10680 };
10681 
10682 
10683 
10684 
10685 
10686 void qof_object_initialize (void);
10687 void qof_object_shutdown (void);
10688 
10689 
10690 
10691 gboolean qof_object_register (const QofObject * object);
10692 
10693 
10694 const QofObject *qof_object_lookup (QofIdTypeConst type_name);
10695 
10696 
10697 
10698 
10699 
10700 gpointer qof_object_new_instance (QofIdTypeConst type_name, QofBook * book);
10701 
10702 
10703 
10704 
10705 const gchar *qof_object_get_type_label (QofIdTypeConst type_name);
10706 
10707 
10708 const gchar *qof_object_printable (QofIdTypeConst type_name,
10709  gpointer instance);
10710 
10711 
10712 
10713 
10714 void qof_object_foreach_type (QofForeachTypeCB cb, gpointer user_data);
10715 
10716 
10717 
10718 
10719 
10720 
10721 void qof_object_foreach (QofIdTypeConst type_name, QofBook * book,
10722  QofEntityForeachCB cb, gpointer user_data);
10723 
10724 
10725 gboolean qof_object_register_backend (QofIdTypeConst type_name,
10726  const gchar * backend_name,
10727  gpointer be_data);
10728 
10729 gpointer qof_object_lookup_backend (QofIdTypeConst type_name,
10730  const gchar * backend_name);
10731 
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);
10738 
10739 
10740 gboolean qof_choice_create (gchar *type);
10741 # 130 "/usr/include/qof/qofchoice.h"
10742 gboolean
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"
10747 gboolean
10748 qof_choice_check (gchar *choice_obj, gchar *param_name, gchar *choice);
10749 # 81 "/usr/include/qof/qofquery.h" 2
10750 
10751 
10752 
10753 
10754 typedef struct _QofQuery QofQuery;
10755 
10756 
10757 typedef enum
10758 {
10759  QOF_QUERY_AND = 1,
10760  QOF_QUERY_OR,
10761  QOF_QUERY_NAND,
10762  QOF_QUERY_NOR,
10763  QOF_QUERY_XOR
10764 } QofQueryOp;
10765 # 121 "/usr/include/qof/qofquery.h"
10766 void qof_query_init (void);
10767 void qof_query_shutdown (void);
10768 
10769 
10770 
10771 
10772 
10773 
10774 GSList *qof_query_build_param_list (gchar const *param, ...);
10775 # 140 "/usr/include/qof/qofquery.h"
10776 QofQuery *qof_query_create (void);
10777 
10778 
10779 QofQuery *qof_query_create_for (QofIdTypeConst obj_type);
10780 
10781 
10782 void qof_query_destroy (QofQuery * q);
10783 
10784 
10785 
10786 
10787 void
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,
10793  QofQueryPredData * pred_data, QofQueryOp op);
10794 
10795 
10796 void qof_query_add_guid_match (QofQuery * q, GSList * param_list,
10797  const GUID * guid, QofQueryOp op);
10798 
10799 void qof_query_add_guid_list_match (QofQuery * q, GSList * param_list,
10800  GList * guid_list, QofGuidMatch options,
10801  QofQueryOp op);
10802 
10803 
10804 
10805 
10806 
10807 void qof_query_add_boolean_match (QofQuery * q,
10808  GSList * param_list,
10809  gboolean value, QofQueryOp op);
10810 # 220 "/usr/include/qof/qofquery.h"
10811 GList *
10812 qof_query_run (QofQuery * query);
10813 
10814 
10815 
10816 
10817 
10818 GList *
10819 qof_query_last_run (QofQuery * query);
10820 
10821 
10822 
10823 
10824 void qof_query_clear (QofQuery * query);
10825 
10826 
10827 
10828 
10829 
10830 
10831 void qof_query_purge_terms (QofQuery * q, GSList * param_list);
10832 
10833 
10834 
10835 
10836 
10837 gint qof_query_has_terms (QofQuery * q);
10838 
10839 
10840 
10841 gint qof_query_num_terms (QofQuery * q);
10842 
10843 
10844 gboolean
10845 qof_query_has_term_type (QofQuery * q, GSList * term_param);
10846 GSList *
10847 qof_query_get_term_type (QofQuery * q, GSList * term_param);
10848 
10849 
10850 QofQuery *qof_query_copy (QofQuery * q);
10851 # 272 "/usr/include/qof/qofquery.h"
10852 QofQuery *
10853 qof_query_invert (QofQuery * q);
10854 # 290 "/usr/include/qof/qofquery.h"
10855 QofQuery *
10856 qof_query_merge (QofQuery * q1, QofQuery * q2, QofQueryOp op);
10857 
10858 
10859 
10860 
10861 void
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);
10868 
10869 void qof_query_set_sort_options (QofQuery * q, gint prim_op, gint sec_op,
10870  gint tert_op);
10871 # 338 "/usr/include/qof/qofquery.h"
10872 void
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);
10877 
10878 
10879 
10880 
10881 
10882 
10883 
10884 gboolean qof_query_equal (QofQuery * q1, QofQuery * q2);
10885 
10886 
10887 QofIdType qof_query_get_search_for (QofQuery * q);
10888 
10889 
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;
10897 
10898 
10899 
10900 
10901 
10903 # 69 "/usr/include/qof/qofbackend.h"
10904 typedef struct QofBackend_s QofBackend;
10905 
10906 
10907 typedef void (*QofBePercentageFunc) (const gchar * message, double percent);
10908 # 83 "/usr/include/qof/qofbackend.h"
10909 void qof_backend_run_begin (QofBackend * be, QofInstance * inst);
10910 
10911 gboolean qof_backend_begin_exists (QofBackend * be);
10912 
10913 void qof_backend_run_commit (QofBackend * be, QofInstance * inst);
10914 
10915 gboolean qof_backend_commit_exists (QofBackend * be);
10916 # 114 "/usr/include/qof/qofbackend.h"
10917 typedef struct QofBackendOption_s
10918 {
10919  KvpValueType type;
10920 
10921  const gchar *option_name;
10922  const gchar *description;
10923  const gchar *tooltip;
10924  gpointer value;
10926 
10927 
10928 void qof_backend_prepare_frame (QofBackend * be);
10929 
10930 
10931 void qof_backend_prepare_option (QofBackend * be, QofBackendOption * option);
10932 
10933 
10934 KvpFrame *qof_backend_complete_frame (QofBackend * be);
10935 
10936 
10937 typedef void (*QofBackendOptionCB) (QofBackendOption *, gpointer data);
10938 
10939 
10940 void
10941 qof_backend_option_foreach (KvpFrame * config, QofBackendOptionCB cb,
10942  gpointer data);
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"
10948 gboolean
10949 qof_load_backend_library (const gchar * directory,
10950  const gchar * filename, const gchar * init_fcn);
10951 
10952 
10953 QofBackend *qof_book_get_backend (QofBook * book);
10954 
10955 
10956 
10957 
10958 
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;
10963 
10964 QofSession *qof_session_new (void);
10965 
10966 void qof_session_destroy (QofSession * session);
10967 
10968 
10969 
10970 
10971 void
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"
10981 void
10982 qof_session_add_book (QofSession * session, QofBook * book);
10983 
10984 QofBook *
10985 qof_session_get_book (QofSession * session);
10986 # 199 "/usr/include/qof/qofsession.h"
10987 const gchar *qof_session_get_file_path (QofSession * session);
10988 
10989 const gchar *qof_session_get_url (QofSession * session);
10990 
10991 
10992 
10993 
10994 
10995 gboolean qof_session_not_saved (QofSession * session);
10996 
10997 
10998 gboolean qof_session_save_may_clobber_data (QofSession * session);
10999 
11000 
11001 
11002 
11003 
11004 
11005 
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"
11019 gboolean
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);
11025 
11026 
11027 
11028 
11029 
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);
11033 
11034 
11035 
11036 
11037 
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"
11042 {
11043 
11044  const gchar *provider_name;
11045 
11046 
11047 
11048 
11049 
11050  const gchar *access_method;
11051 
11052 
11053 
11054 
11055 
11056 
11057  gboolean partial_book_supported;
11058 
11059 
11060 
11061 
11062 
11063  QofBackend *(*backend_new) (void);
11064 # 277 "/usr/include/qof/qofbackend-p.h"
11065  gboolean (*check_data_type) (const gchar *);
11066 
11067 
11068  void (*provider_free) (QofBackendProvider *);
11069 };
11070 
11072 {
11073  void (*session_begin) (QofBackend * be,
11074  QofSession * session,
11075  const gchar * book_id,
11076  gboolean ignore_lock,
11077  gboolean create_if_nonexistent);
11078  void (*session_end) (QofBackend *);
11079  void (*destroy_backend) (QofBackend *);
11080  void (*load) (QofBackend *, QofBook *);
11081  void (*begin) (QofBackend *, QofInstance *);
11082  void (*commit) (QofBackend *, QofInstance *);
11083  void (*rollback) (QofBackend *, QofInstance *);
11084  gpointer (*compile_query) (QofBackend *, QofQuery *);
11085  void (*free_query) (QofBackend *, gpointer);
11086  void (*run_query) (QofBackend *, gpointer);
11087  void (*sync) (QofBackend *, QofBook *);
11088  void (*load_config) (QofBackend *, KvpFrame *);
11089  KvpFrame *(*get_config) (QofBackend *);
11090  gint64 (*counter) (QofBackend *, const gchar * counter_name);
11091  gboolean (*events_pending) (QofBackend *);
11092  gboolean (*process_events) (QofBackend *);
11093  QofBePercentageFunc percentage;
11094  QofBackendProvider *provider;
11095 # 320 "/usr/include/qof/qofbackend-p.h"
11096  gboolean (*save_may_clobber_data) (QofBackend *);
11097 
11098 
11099 
11100  GList * error_stack;
11101 
11102 
11103  KvpFrame *backend_configuration;
11104  gint config_count;
11105 
11106 
11107 
11108  gchar *fullpath;
11109 
11110 };
11111 # 343 "/usr/include/qof/qofbackend-p.h"
11112 void
11113 qof_backend_register_provider (QofBackendProvider *);
11114 
11115 void qof_backend_init (QofBackend * be);
11116 
11117 
11118 
11119 
11120 
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);
11124 
11125 
11126 
11127 
11128 
11129 guint32 qof_book_get_idata (QofBook * book);
11130 
11131 void qof_book_set_version (QofBook * book, gint32 version);
11132 
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);
11137 
11138 
11139 
11140 
11141 
11142 
11143 
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);
11149 
11150 
11151 
11152 
11153 
11154 gint null_strcmp (const gchar * da, const gchar * db);
11155 
11156 
11157 
11158 
11159 extern gchar *strncasestr (const guchar * str1, const guchar * str2,
11160  size_t len);
11161 # 201 "/usr/include/qof/qofutil.h"
11162 gchar *ultostr (gulong val, gint base);
11163 
11164 
11165 
11166 gboolean qof_util_string_isnum (const guchar * s);
11167 
11168 
11169 gint
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);
11173 
11174 
11175 
11176 
11177 gint qof_util_bool_to_int (const gchar * val);
11178 # 234 "/usr/include/qof/qofutil.h"
11179 gchar *
11180 qof_util_param_to_string (QofEntity * ent, const QofParam * param);
11181 # 257 "/usr/include/qof/qofutil.h"
11182 gboolean
11183 qof_util_param_set_string (QofEntity * ent, const QofParam * param,
11184  const gchar * value_string);
11185 # 270 "/usr/include/qof/qofutil.h"
11186 gchar *
11187 qof_util_make_utf8 (gchar * string);
11188 # 303 "/usr/include/qof/qofutil.h"
11189 void qof_util_string_cache_destroy (void);
11190 
11191 
11192 
11193 
11194 void qof_util_string_cache_remove (gconstpointer key);
11195 
11196 
11197 
11198 
11199 gpointer qof_util_string_cache_insert (gconstpointer key);
11200 # 364 "/usr/include/qof/qofutil.h"
11201 gboolean
11202 qof_util_param_edit (QofInstance * inst, const QofParam * param);
11203 # 381 "/usr/include/qof/qofutil.h"
11204 gboolean
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;
11209 
11210 
11211 
11212 
11213 
11214 const gchar* QofLogLevelasString(QofLogLevel n);
11215 
11216 
11217 
11218 
11219 
11220 QofLogLevel QofLogLevelfromString (const gchar* str);
11221 
11222 
11223 void qof_log_add_indent (void);
11224 
11225 
11226 gint qof_log_get_indent (void);
11227 
11228 
11229 
11230 
11231 
11232 void qof_log_drop_indent (void);
11233 # 94 "/usr/include/qof/qoflog.h"
11234 void qof_log_init (void);
11235 
11236 
11237 
11238 
11239 
11240 
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);
11244 
11245 
11246 
11247 
11248 
11249 
11250 
11251 void qof_log_set_file (FILE * outfile);
11252 
11253 
11254 
11255 
11256 
11257 void qof_log_init_filename (const gchar * logfilename);
11258 
11259 
11260 void qof_log_shutdown (void);
11261 
11262 
11263 
11264 
11265 const gchar *qof_log_prettify (const gchar * name);
11266 
11267 
11268 gboolean qof_log_check (QofLogModule log_module, QofLogLevel log_level);
11269 
11270 
11271 void qof_log_set_default (QofLogLevel log_level);
11272 
11273 typedef void (*QofLogCB) (QofLogModule log_module,
11274  QofLogLevel * log_level, gpointer user_data);
11275 
11276 
11277 
11278 
11279 
11280 
11281 void qof_log_module_foreach (QofLogCB cb, gpointer data);
11282 
11283 
11284 gint qof_log_module_count (void);
11285 # 70 "/usr/include/qof/qof.h" 2
11286 
11287 
11288 
11289 
11290 
11291 
11292 # 1 "/usr/include/qof/kvputil.h" 1
11293 # 37 "/usr/include/qof/kvputil.h"
11294 typedef struct
11295 {
11296  gpointer key;
11297  gpointer value;
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);
11304 
11305 
11306 
11307 
11308 
11309 
11310 gint kvp_frame_compare (const KvpFrame * fa, const KvpFrame * fb);
11311 
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"
11317 KvpFrame *
11318 qof_kvp_bag_add (KvpFrame * kvp_root, const gchar *path,
11319  QofTime *qt, const gchar *first_name, ...);
11320 
11321 
11322 
11323 
11324 
11325 
11326 void
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"
11330 KvpFrame *
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"
11335 void
11336 qof_kvp_bag_remove_frame (KvpFrame * root, const gchar *path,
11337  KvpFrame * fr);
11338 # 77 "/usr/include/qof/qof.h" 2
11339 
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);
11343 
11344 
11345 
11346 
11347 
11348 void qof_collection_insert_entity (QofCollection *, QofEntity *);
11349 
11350 
11351 void qof_collection_mark_clean (QofCollection *);
11352 void qof_collection_mark_dirty (QofCollection *);
11353 # 79 "/usr/include/qof/qof.h" 2
11354 
11355 
11356 
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);
11366 
11367 
11368 
11369 
11370 
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);
11375 
11376 
11377 
11378 
11379 
11380 
11381 
11382 void qof_event_suspend (void);
11383 
11384 
11385 void qof_event_resume (void);
11386 # 83 "/usr/include/qof/qof.h" 2
11387 
11388 
11389 
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"
11394 QofErrorId
11395 qof_error_register (const gchar * err_message, gboolean use_file);
11396 # 167 "/usr/include/qof/qoferror.h"
11397 void
11398 qof_error_unregister (QofErrorId id);
11399 
11400 
11401 
11402 
11403 
11404 
11405 void
11406 qof_error_set (QofSession * session, QofErrorId error);
11407 
11408 void
11409 qof_error_set_be (QofBackend * be, QofErrorId error);
11410 
11411 
11412 
11413 
11414 
11415 
11416 void
11417 qof_error_clear (QofSession * session);
11418 # 196 "/usr/include/qof/qoferror.h"
11419 QofErrorId
11420 qof_error_check_be (QofBackend * be);
11421 
11422 
11423 QofErrorId
11424 qof_error_check (QofSession * session);
11425 # 213 "/usr/include/qof/qoferror.h"
11426 QofTime *
11427 qof_error_get_time_be (QofBackend * be);
11428 
11429 
11430 QofTime *
11431 qof_error_get_time (QofSession * session);
11432 # 230 "/usr/include/qof/qoferror.h"
11433 QofErrorId
11434 qof_error_get_id_be (QofBackend * be);
11435 
11436 
11437 QofErrorId
11438 qof_error_get_id (QofSession * session);
11439 # 247 "/usr/include/qof/qoferror.h"
11440 const gchar *
11441 qof_error_get_message_be (QofBackend * be);
11442 
11443 
11444 const gchar *
11445 qof_error_get_message (QofSession * session);
11446 # 87 "/usr/include/qof/qof.h" 2
11447 
11448 # 1 "/usr/include/qof/qofsql.h" 1
11449 # 127 "/usr/include/qof/qofsql.h"
11450 typedef struct _QofSqlQuery QofSqlQuery;
11451 
11452 
11453 
11454 QofSqlQuery *qof_sql_query_new (void);
11455 void qof_sql_query_destroy (QofSqlQuery *);
11456 
11457 
11458 
11459 
11460 
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);
11464 
11465 
11466 
11467 
11468 
11469 
11470 void qof_sql_query_parse (QofSqlQuery * query, const gchar * str);
11471 
11472 
11473 QofQuery *qof_sql_query_get_query (QofSqlQuery *);
11474 
11475 
11476 
11477 
11478 
11479 
11480 
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
11485 
11486 # 1 "/usr/include/qof/qofbookmerge.h" 1
11487 # 125 "/usr/include/qof/qofbookmerge.h"
11488 typedef enum
11489 {
11490  MERGE_UNDEF,
11491  MERGE_ABSOLUTE,
11492  MERGE_NEW,
11493 
11494  MERGE_REPORT,
11495  MERGE_DUPLICATE,
11496 
11497  MERGE_UPDATE,
11498 
11499  MERGE_INVALID
11500 
11501 } QofBookMergeResult;
11502 # 164 "/usr/include/qof/qofbookmerge.h"
11503 typedef struct
11504 {
11505 
11506  gboolean mergeAbsolute;
11507 
11508  double difference;
11509 
11510  gboolean updated;
11511 
11512 
11513  QofIdType mergeType;
11514 
11515  const gchar *mergeLabel;
11516 
11517  GSList *mergeParam;
11518  GSList *linkedEntList;
11519 # 188 "/usr/include/qof/qofbookmerge.h"
11520  QofBookMergeResult mergeResult;
11521  QofEntity *importEnt;
11522  QofEntity *targetEnt;
11523 
11525 # 209 "/usr/include/qof/qofbookmerge.h"
11526 typedef struct
11527 {
11528  GSList *mergeObjectParams;
11529 
11530  GList *mergeList;
11531 
11532  GSList *targetList;
11533 
11534  QofBook *mergeBook;
11535 
11536  QofBook *targetBook;
11537 
11538  gboolean abort;
11539  QofBookMergeRule *currentRule;
11540 
11541  GSList *orphan_list;
11542 
11543 
11544 
11545 
11546 
11547 
11548 
11549  GHashTable *target_table;
11550 
11551 
11553 # 274 "/usr/include/qof/qofbookmerge.h"
11554 QofBookMergeData *qof_book_merge_init (QofBook * importBook,
11555  QofBook * targetBook);
11556 # 321 "/usr/include/qof/qofbookmerge.h"
11557 typedef void (*QofBookMergeRuleForeachCB) (QofBookMergeData *,
11558  QofBookMergeRule *, guint);
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"
11573 typedef struct qof_entity_reference
11574 {
11575  QofIdType choice_type;
11576 
11577  QofIdType type;
11578 
11579 
11580  GUID *ref_guid;
11581  const QofParam *param;
11582 
11583  const GUID *ent_guid;
11585 # 125 "/usr/include/qof/qofreference.h"
11586 void
11587 qof_session_update_reference_list (QofSession * session,
11588  QofEntityReference * reference);
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"
11598 void
11599 qof_undo_set_param (QofEntity * ent, const QofParam * param,
11600  gchar * value);
11601 # 115 "/usr/include/qof/qofundo.h"
11602 void
11603 qof_undo_modify (QofInstance * inst, const QofParam * param);
11604 # 125 "/usr/include/qof/qofundo.h"
11605 void
11606 qof_undo_commit (QofInstance * inst, const QofParam * param);
11607 # 136 "/usr/include/qof/qofundo.h"
11608 void qof_undo_create (QofInstance * inst);
11609 # 148 "/usr/include/qof/qofundo.h"
11610 void qof_undo_delete (QofInstance * inst);
11611 
11612 
11613 
11614 
11615 
11616 
11617 
11618 void qof_book_clear_undo (QofBook * book);
11619 
11620 
11621 void qof_book_undo (QofBook * book);
11622 
11623 
11624 void qof_book_redo (QofBook * book);
11625 
11626 
11627 
11628 
11629 
11630 
11631 gboolean qof_book_can_undo (QofBook * book);
11632 
11633 
11634 
11635 
11636 
11637 
11638 gboolean qof_book_can_redo (QofBook * book);
11639 
11640 
11641 
11642 
11643 void qof_book_start_operation (QofBook * book, gchar * label);
11644 
11645 
11646 void qof_book_end_operation (QofBook * book);
11647 
11648 
11649 QofTime *
11650 qof_book_undo_first_modified (QofBook * book);
11651 
11652 
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"
11657 typedef struct QofExp_s QofExp;
11658 
11659 typedef void (*QofCurrencyCB) (gpointer key, gpointer value, gpointer user_data);
11660 
11661 void qof_currency_foreach(QofCurrencyCB cb, gpointer user_data);
11662 
11663 
11664 
11665 
11666 
11667 
11668 
11669 typedef struct
11670 {
11671 
11672  gint pq_code;
11673 
11674  gint fraction;
11675 
11676  const gchar* symbol;
11677 
11678  const gchar* mnemonic;
11679 
11680 
11681 
11682  gboolean non_utf8;
11683 }QofCurrency;
11684 # 150 "qof-expenses.h"
11685 QofCurrency *
11686 qof_currency_lookup (QofInstance* inst, gint currency_code);
11687 
11688 
11689 
11690 
11691 
11692 
11693 
11694 QofCurrency *
11695 qof_currency_lookup_name (QofInstance* inst, gchar * mnemonic);
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;
11702 
11703 const gchar* ExpenseDistanceasString(ExpenseDistance n);
11704 ExpenseDistance ExpenseDistancefromString (const gchar* str);
11705 const gchar* ExpensePaymentasString(ExpensePayment n);
11706 ExpensePayment ExpensePaymentfromString (const gchar* str);
11707 const gchar* ExpenseTypeasString(ExpenseType n);
11708 ExpenseType ExpenseTypefromString (const gchar* str);
11709 # 295 "qof-expenses.h"
11710 gboolean ExpensesRegister (void);
11711 # 61 "translate.c" 2
11712 # 72 "translate.c"
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"); }
11714 
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"); }