gpe-expenses 0.1.9
translate.h
00001 # 1 "translate.c"
00002 # 1 "<built-in>"
00003 # 1 "<command-line>"
00004 # 1 "translate.c"
00005 # 57 "translate.c"
00006 # 1 "../config.h" 1
00007 # 58 "translate.c" 2
00008 # 1 "/usr/include/libintl.h" 1 3 4
00009 # 24 "/usr/include/libintl.h" 3 4
00010 # 1 "/usr/include/features.h" 1 3 4
00011 # 323 "/usr/include/features.h" 3 4
00012 # 1 "/usr/include/bits/predefs.h" 1 3 4
00013 # 324 "/usr/include/features.h" 2 3 4
00014 # 356 "/usr/include/features.h" 3 4
00015 # 1 "/usr/include/sys/cdefs.h" 1 3 4
00016 # 353 "/usr/include/sys/cdefs.h" 3 4
00017 # 1 "/usr/include/bits/wordsize.h" 1 3 4
00018 # 354 "/usr/include/sys/cdefs.h" 2 3 4
00019 # 357 "/usr/include/features.h" 2 3 4
00020 # 388 "/usr/include/features.h" 3 4
00021 # 1 "/usr/include/gnu/stubs.h" 1 3 4
00022 
00023 
00024 
00025 # 1 "/usr/include/bits/wordsize.h" 1 3 4
00026 # 5 "/usr/include/gnu/stubs.h" 2 3 4
00027 
00028 
00029 
00030 
00031 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4
00032 # 10 "/usr/include/gnu/stubs.h" 2 3 4
00033 # 389 "/usr/include/features.h" 2 3 4
00034 # 25 "/usr/include/libintl.h" 2 3 4
00035 # 35 "/usr/include/libintl.h" 3 4
00036 
00037 
00038 
00039 
00040 
00041 extern char *gettext (__const char *__msgid)
00042      __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (1)));
00043 
00044 
00045 
00046 extern char *dgettext (__const char *__domainname, __const char *__msgid)
00047      __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
00048 extern char *__dgettext (__const char *__domainname, __const char *__msgid)
00049      __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
00050 
00051 
00052 
00053 extern char *dcgettext (__const char *__domainname,
00054    __const char *__msgid, int __category)
00055      __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
00056 extern char *__dcgettext (__const char *__domainname,
00057      __const char *__msgid, int __category)
00058      __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2)));
00059 
00060 
00061 
00062 
00063 extern char *ngettext (__const char *__msgid1, __const char *__msgid2,
00064          unsigned long int __n)
00065      __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (1))) __attribute__ ((__format_arg__ (2)));
00066 
00067 
00068 
00069 extern char *dngettext (__const char *__domainname, __const char *__msgid1,
00070    __const char *__msgid2, unsigned long int __n)
00071      __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3)));
00072 
00073 
00074 
00075 extern char *dcngettext (__const char *__domainname, __const char *__msgid1,
00076     __const char *__msgid2, unsigned long int __n,
00077     int __category)
00078      __attribute__ ((__nothrow__)) __attribute__ ((__format_arg__ (2))) __attribute__ ((__format_arg__ (3)));
00079 
00080 
00081 
00082 
00083 
00084 extern char *textdomain (__const char *__domainname) __attribute__ ((__nothrow__));
00085 
00086 
00087 
00088 extern char *bindtextdomain (__const char *__domainname,
00089         __const char *__dirname) __attribute__ ((__nothrow__));
00090 
00091 
00092 
00093 extern char *bind_textdomain_codeset (__const char *__domainname,
00094           __const char *__codeset) __attribute__ ((__nothrow__));
00095 # 122 "/usr/include/libintl.h" 3 4
00096 
00097 # 59 "translate.c" 2
00098 # 1 "/usr/include/locale.h" 1 3 4
00099 # 29 "/usr/include/locale.h" 3 4
00100 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
00101 # 30 "/usr/include/locale.h" 2 3 4
00102 # 1 "/usr/include/bits/locale.h" 1 3 4
00103 # 27 "/usr/include/bits/locale.h" 3 4
00104 enum
00105 {
00106   __LC_CTYPE = 0,
00107   __LC_NUMERIC = 1,
00108   __LC_TIME = 2,
00109   __LC_COLLATE = 3,
00110   __LC_MONETARY = 4,
00111   __LC_MESSAGES = 5,
00112   __LC_ALL = 6,
00113   __LC_PAPER = 7,
00114   __LC_NAME = 8,
00115   __LC_ADDRESS = 9,
00116   __LC_TELEPHONE = 10,
00117   __LC_MEASUREMENT = 11,
00118   __LC_IDENTIFICATION = 12
00119 };
00120 # 31 "/usr/include/locale.h" 2 3 4
00121 
00122 
00123 # 51 "/usr/include/locale.h" 3 4
00124 
00125 
00126 
00127 struct lconv
00128 {
00129 
00130 
00131   char *decimal_point;
00132   char *thousands_sep;
00133 
00134 
00135 
00136 
00137 
00138   char *grouping;
00139 
00140 
00141 
00142 
00143 
00144   char *int_curr_symbol;
00145   char *currency_symbol;
00146   char *mon_decimal_point;
00147   char *mon_thousands_sep;
00148   char *mon_grouping;
00149   char *positive_sign;
00150   char *negative_sign;
00151   char int_frac_digits;
00152   char frac_digits;
00153 
00154   char p_cs_precedes;
00155 
00156   char p_sep_by_space;
00157 
00158   char n_cs_precedes;
00159 
00160   char n_sep_by_space;
00161 
00162 
00163 
00164 
00165 
00166 
00167   char p_sign_posn;
00168   char n_sign_posn;
00169 
00170 
00171   char int_p_cs_precedes;
00172 
00173   char int_p_sep_by_space;
00174 
00175   char int_n_cs_precedes;
00176 
00177   char int_n_sep_by_space;
00178 
00179 
00180 
00181 
00182 
00183 
00184   char int_p_sign_posn;
00185   char int_n_sign_posn;
00186 # 121 "/usr/include/locale.h" 3 4
00187 };
00188 
00189 
00190 
00191 extern char *setlocale (int __category, __const char *__locale) __attribute__ ((__nothrow__));
00192 
00193 
00194 extern struct lconv *localeconv (void) __attribute__ ((__nothrow__));
00195 
00196 
00197 # 146 "/usr/include/locale.h" 3 4
00198 # 1 "/usr/include/xlocale.h" 1 3 4
00199 # 28 "/usr/include/xlocale.h" 3 4
00200 typedef struct __locale_struct
00201 {
00202 
00203   struct __locale_data *__locales[13];
00204 
00205 
00206   const unsigned short int *__ctype_b;
00207   const int *__ctype_tolower;
00208   const int *__ctype_toupper;
00209 
00210 
00211   const char *__names[13];
00212 } *__locale_t;
00213 
00214 
00215 typedef __locale_t locale_t;
00216 # 147 "/usr/include/locale.h" 2 3 4
00217 
00218 
00219 
00220 
00221 
00222 extern __locale_t newlocale (int __category_mask, __const char *__locale,
00223         __locale_t __base) __attribute__ ((__nothrow__));
00224 # 187 "/usr/include/locale.h" 3 4
00225 extern __locale_t duplocale (__locale_t __dataset) __attribute__ ((__nothrow__));
00226 
00227 
00228 
00229 extern void freelocale (__locale_t __dataset) __attribute__ ((__nothrow__));
00230 
00231 
00232 
00233 
00234 
00235 
00236 extern __locale_t uselocale (__locale_t __dataset) __attribute__ ((__nothrow__));
00237 
00238 
00239 
00240 
00241 
00242 
00243 
00244 
00245 # 60 "translate.c" 2
00246 # 1 "qof-expenses.h" 1
00247 # 76 "qof-expenses.h"
00248 # 1 "/usr/include/glib-2.0/glib.h" 1
00249 # 32 "/usr/include/glib-2.0/glib.h"
00250 # 1 "/usr/include/glib-2.0/glib/galloca.h" 1
00251 # 34 "/usr/include/glib-2.0/glib/galloca.h"
00252 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
00253 # 34 "/usr/include/glib-2.0/glib/gtypes.h"
00254 # 1 "/usr/lib/glib-2.0/include/glibconfig.h" 1
00255 # 9 "/usr/lib/glib-2.0/include/glibconfig.h"
00256 # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
00257 # 40 "/usr/include/glib-2.0/glib/gmacros.h"
00258 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
00259 # 150 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 3 4
00260 typedef long int ptrdiff_t;
00261 # 212 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 3 4
00262 typedef long unsigned int size_t;
00263 # 324 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 3 4
00264 typedef int wchar_t;
00265 # 41 "/usr/include/glib-2.0/glib/gmacros.h" 2
00266 # 10 "/usr/lib/glib-2.0/include/glibconfig.h" 2
00267 
00268 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/limits.h" 1 3 4
00269 # 34 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/limits.h" 3 4
00270 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/syslimits.h" 1 3 4
00271 
00272 
00273 
00274 
00275 
00276 
00277 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/limits.h" 1 3 4
00278 # 169 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/limits.h" 3 4
00279 # 1 "/usr/include/limits.h" 1 3 4
00280 # 145 "/usr/include/limits.h" 3 4
00281 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4
00282 # 157 "/usr/include/bits/posix1_lim.h" 3 4
00283 # 1 "/usr/include/bits/local_lim.h" 1 3 4
00284 # 39 "/usr/include/bits/local_lim.h" 3 4
00285 # 1 "/usr/include/linux/limits.h" 1 3 4
00286 # 40 "/usr/include/bits/local_lim.h" 2 3 4
00287 # 158 "/usr/include/bits/posix1_lim.h" 2 3 4
00288 # 146 "/usr/include/limits.h" 2 3 4
00289 
00290 
00291 
00292 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4
00293 # 150 "/usr/include/limits.h" 2 3 4
00294 
00295 
00296 
00297 # 1 "/usr/include/bits/xopen_lim.h" 1 3 4
00298 # 34 "/usr/include/bits/xopen_lim.h" 3 4
00299 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
00300 # 35 "/usr/include/bits/xopen_lim.h" 2 3 4
00301 # 154 "/usr/include/limits.h" 2 3 4
00302 # 170 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/limits.h" 2 3 4
00303 # 8 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/syslimits.h" 2 3 4
00304 # 35 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed/limits.h" 2 3 4
00305 # 12 "/usr/lib/glib-2.0/include/glibconfig.h" 2
00306 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/float.h" 1 3 4
00307 # 13 "/usr/lib/glib-2.0/include/glibconfig.h" 2
00308 # 22 "/usr/lib/glib-2.0/include/glibconfig.h"
00309 
00310 # 38 "/usr/lib/glib-2.0/include/glibconfig.h"
00311 typedef signed char gint8;
00312 typedef unsigned char guint8;
00313 typedef signed short gint16;
00314 typedef unsigned short guint16;
00315 
00316 
00317 
00318 typedef signed int gint32;
00319 typedef unsigned int guint32;
00320 
00321 
00322 
00323 
00324 
00325 typedef signed long gint64;
00326 typedef unsigned long guint64;
00327 # 65 "/usr/lib/glib-2.0/include/glibconfig.h"
00328 typedef signed long gssize;
00329 typedef unsigned long gsize;
00330 # 75 "/usr/lib/glib-2.0/include/glibconfig.h"
00331 typedef gint64 goffset;
00332 # 90 "/usr/lib/glib-2.0/include/glibconfig.h"
00333 typedef signed long gintptr;
00334 typedef unsigned long guintptr;
00335 # 160 "/usr/lib/glib-2.0/include/glibconfig.h"
00336 typedef struct _GStaticMutex GStaticMutex;
00337 struct _GStaticMutex
00338 {
00339   struct _GMutex *runtime_mutex;
00340   union {
00341     char pad[40];
00342     double dummy_double;
00343     void *dummy_pointer;
00344     long dummy_long;
00345   } static_mutex;
00346 };
00347 # 179 "/usr/lib/glib-2.0/include/glibconfig.h"
00348 typedef union _GSystemThread GSystemThread;
00349 union _GSystemThread
00350 {
00351   char data[8];
00352   double dummy_double;
00353   void *dummy_pointer;
00354   long dummy_long;
00355 };
00356 # 232 "/usr/lib/glib-2.0/include/glibconfig.h"
00357 typedef int GPid;
00358 # 242 "/usr/lib/glib-2.0/include/glibconfig.h"
00359 
00360 # 35 "/usr/include/glib-2.0/glib/gtypes.h" 2
00361 # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
00362 # 36 "/usr/include/glib-2.0/glib/gtypes.h" 2
00363 # 1 "/usr/include/time.h" 1 3 4
00364 # 30 "/usr/include/time.h" 3 4
00365 
00366 
00367 
00368 
00369 
00370 
00371 
00372 
00373 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
00374 # 39 "/usr/include/time.h" 2 3 4
00375 
00376 
00377 
00378 # 1 "/usr/include/bits/time.h" 1 3 4
00379 # 43 "/usr/include/time.h" 2 3 4
00380 # 56 "/usr/include/time.h" 3 4
00381 # 1 "/usr/include/bits/types.h" 1 3 4
00382 # 28 "/usr/include/bits/types.h" 3 4
00383 # 1 "/usr/include/bits/wordsize.h" 1 3 4
00384 # 29 "/usr/include/bits/types.h" 2 3 4
00385 
00386 
00387 typedef unsigned char __u_char;
00388 typedef unsigned short int __u_short;
00389 typedef unsigned int __u_int;
00390 typedef unsigned long int __u_long;
00391 
00392 
00393 typedef signed char __int8_t;
00394 typedef unsigned char __uint8_t;
00395 typedef signed short int __int16_t;
00396 typedef unsigned short int __uint16_t;
00397 typedef signed int __int32_t;
00398 typedef unsigned int __uint32_t;
00399 
00400 typedef signed long int __int64_t;
00401 typedef unsigned long int __uint64_t;
00402 
00403 
00404 
00405 
00406 
00407 
00408 
00409 typedef long int __quad_t;
00410 typedef unsigned long int __u_quad_t;
00411 # 131 "/usr/include/bits/types.h" 3 4
00412 # 1 "/usr/include/bits/typesizes.h" 1 3 4
00413 # 132 "/usr/include/bits/types.h" 2 3 4
00414 
00415 
00416 typedef unsigned long int __dev_t;
00417 typedef unsigned int __uid_t;
00418 typedef unsigned int __gid_t;
00419 typedef unsigned long int __ino_t;
00420 typedef unsigned long int __ino64_t;
00421 typedef unsigned int __mode_t;
00422 typedef unsigned long int __nlink_t;
00423 typedef long int __off_t;
00424 typedef long int __off64_t;
00425 typedef int __pid_t;
00426 typedef struct { int __val[2]; } __fsid_t;
00427 typedef long int __clock_t;
00428 typedef unsigned long int __rlim_t;
00429 typedef unsigned long int __rlim64_t;
00430 typedef unsigned int __id_t;
00431 typedef long int __time_t;
00432 typedef unsigned int __useconds_t;
00433 typedef long int __suseconds_t;
00434 
00435 typedef int __daddr_t;
00436 typedef long int __swblk_t;
00437 typedef int __key_t;
00438 
00439 
00440 typedef int __clockid_t;
00441 
00442 
00443 typedef void * __timer_t;
00444 
00445 
00446 typedef long int __blksize_t;
00447 
00448 
00449 
00450 
00451 typedef long int __blkcnt_t;
00452 typedef long int __blkcnt64_t;
00453 
00454 
00455 typedef unsigned long int __fsblkcnt_t;
00456 typedef unsigned long int __fsblkcnt64_t;
00457 
00458 
00459 typedef unsigned long int __fsfilcnt_t;
00460 typedef unsigned long int __fsfilcnt64_t;
00461 
00462 typedef long int __ssize_t;
00463 
00464 
00465 
00466 typedef __off64_t __loff_t;
00467 typedef __quad_t *__qaddr_t;
00468 typedef char *__caddr_t;
00469 
00470 
00471 typedef long int __intptr_t;
00472 
00473 
00474 typedef unsigned int __socklen_t;
00475 # 57 "/usr/include/time.h" 2 3 4
00476 
00477 
00478 
00479 typedef __clock_t clock_t;
00480 
00481 
00482 
00483 # 74 "/usr/include/time.h" 3 4
00484 
00485 
00486 typedef __time_t time_t;
00487 
00488 
00489 
00490 # 92 "/usr/include/time.h" 3 4
00491 typedef __clockid_t clockid_t;
00492 # 104 "/usr/include/time.h" 3 4
00493 typedef __timer_t timer_t;
00494 # 120 "/usr/include/time.h" 3 4
00495 struct timespec
00496   {
00497     __time_t tv_sec;
00498     long int tv_nsec;
00499   };
00500 
00501 
00502 
00503 
00504 
00505 
00506 
00507 
00508 struct tm
00509 {
00510   int tm_sec;
00511   int tm_min;
00512   int tm_hour;
00513   int tm_mday;
00514   int tm_mon;
00515   int tm_year;
00516   int tm_wday;
00517   int tm_yday;
00518   int tm_isdst;
00519 
00520 
00521   long int tm_gmtoff;
00522   __const char *tm_zone;
00523 
00524 
00525 
00526 
00527 };
00528 
00529 
00530 
00531 
00532 
00533 
00534 
00535 
00536 struct itimerspec
00537   {
00538     struct timespec it_interval;
00539     struct timespec it_value;
00540   };
00541 
00542 
00543 struct sigevent;
00544 
00545 
00546 
00547 
00548 
00549 typedef __pid_t pid_t;
00550 
00551 
00552 
00553 
00554 
00555 
00556 
00557 
00558 extern clock_t clock (void) __attribute__ ((__nothrow__));
00559 
00560 
00561 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
00562 
00563 
00564 extern double difftime (time_t __time1, time_t __time0)
00565      __attribute__ ((__nothrow__)) __attribute__ ((__const__));
00566 
00567 
00568 extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
00569 
00570 
00571 
00572 
00573 
00574 extern size_t strftime (char *__restrict __s, size_t __maxsize,
00575    __const char *__restrict __format,
00576    __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
00577 
00578 
00579 
00580 
00581 
00582 extern char *strptime (__const char *__restrict __s,
00583          __const char *__restrict __fmt, struct tm *__tp)
00584      __attribute__ ((__nothrow__));
00585 
00586 
00587 
00588 
00589 
00590 
00591 
00592 extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
00593      __const char *__restrict __format,
00594      __const struct tm *__restrict __tp,
00595      __locale_t __loc) __attribute__ ((__nothrow__));
00596 
00597 
00598 
00599 extern char *strptime_l (__const char *__restrict __s,
00600     __const char *__restrict __fmt, struct tm *__tp,
00601     __locale_t __loc) __attribute__ ((__nothrow__));
00602 
00603 
00604 
00605 
00606 
00607 
00608 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
00609 
00610 
00611 
00612 extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
00613 
00614 
00615 
00616 
00617 
00618 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
00619        struct tm *__restrict __tp) __attribute__ ((__nothrow__));
00620 
00621 
00622 
00623 extern struct tm *localtime_r (__const time_t *__restrict __timer,
00624           struct tm *__restrict __tp) __attribute__ ((__nothrow__));
00625 
00626 
00627 
00628 
00629 
00630 extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
00631 
00632 
00633 extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
00634 
00635 
00636 
00637 
00638 
00639 
00640 
00641 extern char *asctime_r (__const struct tm *__restrict __tp,
00642    char *__restrict __buf) __attribute__ ((__nothrow__));
00643 
00644 
00645 extern char *ctime_r (__const time_t *__restrict __timer,
00646         char *__restrict __buf) __attribute__ ((__nothrow__));
00647 
00648 
00649 
00650 
00651 extern char *__tzname[2];
00652 extern int __daylight;
00653 extern long int __timezone;
00654 
00655 
00656 
00657 
00658 extern char *tzname[2];
00659 
00660 
00661 
00662 extern void tzset (void) __attribute__ ((__nothrow__));
00663 
00664 
00665 
00666 extern int daylight;
00667 extern long int timezone;
00668 
00669 
00670 
00671 
00672 
00673 extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
00674 # 313 "/usr/include/time.h" 3 4
00675 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
00676 
00677 
00678 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
00679 
00680 
00681 extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
00682 # 328 "/usr/include/time.h" 3 4
00683 extern int nanosleep (__const struct timespec *__requested_time,
00684         struct timespec *__remaining);
00685 
00686 
00687 
00688 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
00689 
00690 
00691 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
00692 
00693 
00694 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
00695      __attribute__ ((__nothrow__));
00696 
00697 
00698 
00699 
00700 
00701 
00702 extern int clock_nanosleep (clockid_t __clock_id, int __flags,
00703        __const struct timespec *__req,
00704        struct timespec *__rem);
00705 
00706 
00707 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
00708 
00709 
00710 
00711 
00712 extern int timer_create (clockid_t __clock_id,
00713     struct sigevent *__restrict __evp,
00714     timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
00715 
00716 
00717 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
00718 
00719 
00720 extern int timer_settime (timer_t __timerid, int __flags,
00721      __const struct itimerspec *__restrict __value,
00722      struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
00723 
00724 
00725 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
00726      __attribute__ ((__nothrow__));
00727 
00728 
00729 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
00730 # 390 "/usr/include/time.h" 3 4
00731 extern int getdate_err;
00732 # 399 "/usr/include/time.h" 3 4
00733 extern struct tm *getdate (__const char *__string);
00734 # 413 "/usr/include/time.h" 3 4
00735 extern int getdate_r (__const char *__restrict __string,
00736         struct tm *__restrict __resbufp);
00737 
00738 
00739 
00740 # 37 "/usr/include/glib-2.0/glib/gtypes.h" 2
00741 
00742 
00743 # 47 "/usr/include/glib-2.0/glib/gtypes.h"
00744 typedef char gchar;
00745 typedef short gshort;
00746 typedef long glong;
00747 typedef int gint;
00748 typedef gint gboolean;
00749 
00750 typedef unsigned char guchar;
00751 typedef unsigned short gushort;
00752 typedef unsigned long gulong;
00753 typedef unsigned int guint;
00754 
00755 typedef float gfloat;
00756 typedef double gdouble;
00757 # 78 "/usr/include/glib-2.0/glib/gtypes.h"
00758 typedef void* gpointer;
00759 typedef const void *gconstpointer;
00760 
00761 typedef gint (*GCompareFunc) (gconstpointer a,
00762                                                  gconstpointer b);
00763 typedef gint (*GCompareDataFunc) (gconstpointer a,
00764                                                  gconstpointer b,
00765        gpointer user_data);
00766 typedef gboolean (*GEqualFunc) (gconstpointer a,
00767                                                  gconstpointer b);
00768 typedef void (*GDestroyNotify) (gpointer data);
00769 typedef void (*GFunc) (gpointer data,
00770                                                  gpointer user_data);
00771 typedef guint (*GHashFunc) (gconstpointer key);
00772 typedef void (*GHFunc) (gpointer key,
00773                                                  gpointer value,
00774                                                  gpointer user_data);
00775 typedef void (*GFreeFunc) (gpointer data);
00776 # 109 "/usr/include/glib-2.0/glib/gtypes.h"
00777 typedef const gchar * (*GTranslateFunc) (const gchar *str,
00778        gpointer data);
00779 # 369 "/usr/include/glib-2.0/glib/gtypes.h"
00780 typedef union _GDoubleIEEE754 GDoubleIEEE754;
00781 typedef union _GFloatIEEE754 GFloatIEEE754;
00782 
00783 
00784 
00785 
00786 
00787 union _GFloatIEEE754
00788 {
00789   gfloat v_float;
00790   struct {
00791     guint mantissa : 23;
00792     guint biased_exponent : 8;
00793     guint sign : 1;
00794   } mpn;
00795 };
00796 union _GDoubleIEEE754
00797 {
00798   gdouble v_double;
00799   struct {
00800     guint mantissa_low : 32;
00801     guint mantissa_high : 20;
00802     guint biased_exponent : 11;
00803     guint sign : 1;
00804   } mpn;
00805 };
00806 # 419 "/usr/include/glib-2.0/glib/gtypes.h"
00807 typedef struct _GTimeVal GTimeVal;
00808 
00809 struct _GTimeVal
00810 {
00811   glong tv_sec;
00812   glong tv_usec;
00813 };
00814 
00815 
00816 # 35 "/usr/include/glib-2.0/glib/galloca.h" 2
00817 # 33 "/usr/include/glib-2.0/glib.h" 2
00818 # 1 "/usr/include/glib-2.0/glib/garray.h" 1
00819 # 34 "/usr/include/glib-2.0/glib/garray.h"
00820 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
00821 # 35 "/usr/include/glib-2.0/glib/garray.h" 2
00822 
00823 
00824 
00825 typedef struct _GArray GArray;
00826 typedef struct _GByteArray GByteArray;
00827 typedef struct _GPtrArray GPtrArray;
00828 
00829 struct _GArray
00830 {
00831   gchar *data;
00832   guint len;
00833 };
00834 
00835 struct _GByteArray
00836 {
00837   guint8 *data;
00838   guint len;
00839 };
00840 
00841 struct _GPtrArray
00842 {
00843   gpointer *pdata;
00844   guint len;
00845 };
00846 # 70 "/usr/include/glib-2.0/glib/garray.h"
00847 GArray* g_array_new (gboolean zero_terminated,
00848        gboolean clear_,
00849        guint element_size);
00850 GArray* g_array_sized_new (gboolean zero_terminated,
00851        gboolean clear_,
00852        guint element_size,
00853        guint reserved_size);
00854 gchar* g_array_free (GArray *array,
00855        gboolean free_segment);
00856 GArray *g_array_ref (GArray *array);
00857 void g_array_unref (GArray *array);
00858 guint g_array_get_element_size (GArray *array);
00859 GArray* g_array_append_vals (GArray *array,
00860        gconstpointer data,
00861        guint len);
00862 GArray* g_array_prepend_vals (GArray *array,
00863        gconstpointer data,
00864        guint len);
00865 GArray* g_array_insert_vals (GArray *array,
00866        guint index_,
00867        gconstpointer data,
00868        guint len);
00869 GArray* g_array_set_size (GArray *array,
00870        guint length);
00871 GArray* g_array_remove_index (GArray *array,
00872        guint index_);
00873 GArray* g_array_remove_index_fast (GArray *array,
00874        guint index_);
00875 GArray* g_array_remove_range (GArray *array,
00876        guint index_,
00877        guint length);
00878 void g_array_sort (GArray *array,
00879        GCompareFunc compare_func);
00880 void g_array_sort_with_data (GArray *array,
00881        GCompareDataFunc compare_func,
00882        gpointer user_data);
00883 
00884 
00885 
00886 
00887 
00888 
00889 GPtrArray* g_ptr_array_new (void);
00890 GPtrArray* g_ptr_array_new_with_free_func (GDestroyNotify element_free_func);
00891 GPtrArray* g_ptr_array_sized_new (guint reserved_size);
00892 gpointer* g_ptr_array_free (GPtrArray *array,
00893         gboolean free_seg);
00894 GPtrArray* g_ptr_array_ref (GPtrArray *array);
00895 void g_ptr_array_unref (GPtrArray *array);
00896 void g_ptr_array_set_free_func (GPtrArray *array,
00897                                            GDestroyNotify element_free_func);
00898 void g_ptr_array_set_size (GPtrArray *array,
00899         gint length);
00900 gpointer g_ptr_array_remove_index (GPtrArray *array,
00901         guint index_);
00902 gpointer g_ptr_array_remove_index_fast (GPtrArray *array,
00903         guint index_);
00904 gboolean g_ptr_array_remove (GPtrArray *array,
00905         gpointer data);
00906 gboolean g_ptr_array_remove_fast (GPtrArray *array,
00907         gpointer data);
00908 void g_ptr_array_remove_range (GPtrArray *array,
00909         guint index_,
00910         guint length);
00911 void g_ptr_array_add (GPtrArray *array,
00912         gpointer data);
00913 void g_ptr_array_sort (GPtrArray *array,
00914         GCompareFunc compare_func);
00915 void g_ptr_array_sort_with_data (GPtrArray *array,
00916         GCompareDataFunc compare_func,
00917         gpointer user_data);
00918 void g_ptr_array_foreach (GPtrArray *array,
00919         GFunc func,
00920         gpointer user_data);
00921 
00922 
00923 
00924 
00925 
00926 
00927 GByteArray* g_byte_array_new (void);
00928 GByteArray* g_byte_array_sized_new (guint reserved_size);
00929 guint8* g_byte_array_free (GByteArray *array,
00930          gboolean free_segment);
00931 GByteArray *g_byte_array_ref (GByteArray *array);
00932 void g_byte_array_unref (GByteArray *array);
00933 GByteArray* g_byte_array_append (GByteArray *array,
00934          const guint8 *data,
00935          guint len);
00936 GByteArray* g_byte_array_prepend (GByteArray *array,
00937          const guint8 *data,
00938          guint len);
00939 GByteArray* g_byte_array_set_size (GByteArray *array,
00940          guint length);
00941 GByteArray* g_byte_array_remove_index (GByteArray *array,
00942          guint index_);
00943 GByteArray* g_byte_array_remove_index_fast (GByteArray *array,
00944          guint index_);
00945 GByteArray* g_byte_array_remove_range (GByteArray *array,
00946          guint index_,
00947          guint length);
00948 void g_byte_array_sort (GByteArray *array,
00949          GCompareFunc compare_func);
00950 void g_byte_array_sort_with_data (GByteArray *array,
00951          GCompareDataFunc compare_func,
00952          gpointer user_data);
00953 
00954 
00955 # 34 "/usr/include/glib-2.0/glib.h" 2
00956 # 1 "/usr/include/glib-2.0/glib/gasyncqueue.h" 1
00957 # 34 "/usr/include/glib-2.0/glib/gasyncqueue.h"
00958 # 1 "/usr/include/glib-2.0/glib/gthread.h" 1
00959 # 34 "/usr/include/glib-2.0/glib/gthread.h"
00960 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
00961 # 28 "/usr/include/glib-2.0/glib/gerror.h"
00962 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stdarg.h" 1 3 4
00963 # 40 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stdarg.h" 3 4
00964 typedef __builtin_va_list __gnuc_va_list;
00965 # 102 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stdarg.h" 3 4
00966 typedef __gnuc_va_list va_list;
00967 # 29 "/usr/include/glib-2.0/glib/gerror.h" 2
00968 
00969 # 1 "/usr/include/glib-2.0/glib/gquark.h" 1
00970 # 34 "/usr/include/glib-2.0/glib/gquark.h"
00971 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
00972 # 35 "/usr/include/glib-2.0/glib/gquark.h" 2
00973 
00974 
00975 
00976 typedef guint32 GQuark;
00977 
00978 
00979 
00980 GQuark g_quark_try_string (const gchar *string);
00981 GQuark g_quark_from_static_string (const gchar *string);
00982 GQuark g_quark_from_string (const gchar *string);
00983 const gchar* g_quark_to_string (GQuark quark) __attribute__((__const__));
00984 
00985 const gchar* g_intern_string (const gchar *string);
00986 const gchar* g_intern_static_string (const gchar *string);
00987 
00988 
00989 # 31 "/usr/include/glib-2.0/glib/gerror.h" 2
00990 
00991 
00992 
00993 typedef struct _GError GError;
00994 
00995 struct _GError
00996 {
00997   GQuark domain;
00998   gint code;
00999   gchar *message;
01000 };
01001 
01002 GError* g_error_new (GQuark domain,
01003                                 gint code,
01004                                 const gchar *format,
01005                                 ...) __attribute__((__format__ (__printf__, 3, 4)));
01006 
01007 GError* g_error_new_literal (GQuark domain,
01008                                 gint code,
01009                                 const gchar *message);
01010 GError* g_error_new_valist (GQuark domain,
01011                                 gint code,
01012                                 const gchar *format,
01013                                 va_list args);
01014 
01015 void g_error_free (GError *error);
01016 GError* g_error_copy (const GError *error);
01017 
01018 gboolean g_error_matches (const GError *error,
01019                                 GQuark domain,
01020                                 gint code);
01021 
01022 
01023 
01024 
01025 void g_set_error (GError **err,
01026                                 GQuark domain,
01027                                 gint code,
01028                                 const gchar *format,
01029                                 ...) __attribute__((__format__ (__printf__, 4, 5)));
01030 
01031 void g_set_error_literal (GError **err,
01032                                 GQuark domain,
01033                                 gint code,
01034                                 const gchar *message);
01035 
01036 
01037 
01038 void g_propagate_error (GError **dest,
01039     GError *src);
01040 
01041 
01042 void g_clear_error (GError **err);
01043 
01044 
01045 void g_prefix_error (GError **err,
01046                                        const gchar *format,
01047                                        ...) __attribute__((__format__ (__printf__, 2, 3)));
01048 
01049 
01050 void g_propagate_prefixed_error (GError **dest,
01051                                        GError *src,
01052                                        const gchar *format,
01053                                        ...) __attribute__((__format__ (__printf__, 3, 4)));
01054 
01055 
01056 # 35 "/usr/include/glib-2.0/glib/gthread.h" 2
01057 # 1 "/usr/include/glib-2.0/glib/gutils.h" 1
01058 # 34 "/usr/include/glib-2.0/glib/gutils.h"
01059 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
01060 # 35 "/usr/include/glib-2.0/glib/gutils.h" 2
01061 
01062 
01063 
01064 # 120 "/usr/include/glib-2.0/glib/gutils.h"
01065 const gchar* g_get_user_name (void);
01066 const gchar* g_get_real_name (void);
01067 const gchar* g_get_home_dir (void);
01068 const gchar* g_get_tmp_dir (void);
01069 const gchar* g_get_host_name (void);
01070 gchar* g_get_prgname (void);
01071 void g_set_prgname (const gchar *prgname);
01072 const gchar* g_get_application_name (void);
01073 void g_set_application_name (const gchar *application_name);
01074 
01075 void g_reload_user_special_dirs_cache (void);
01076 const gchar* g_get_user_data_dir (void);
01077 const gchar* g_get_user_config_dir (void);
01078 const gchar* g_get_user_cache_dir (void);
01079 const gchar* const * g_get_system_data_dirs (void);
01080 # 154 "/usr/include/glib-2.0/glib/gutils.h"
01081 const gchar* const * g_get_system_config_dirs (void);
01082 
01083 const gchar * g_get_user_runtime_dir (void);
01084 
01085 const gchar* const * g_get_language_names (void);
01086 
01087 gchar **g_get_locale_variants (const gchar *locale);
01088 # 184 "/usr/include/glib-2.0/glib/gutils.h"
01089 typedef enum {
01090   G_USER_DIRECTORY_DESKTOP,
01091   G_USER_DIRECTORY_DOCUMENTS,
01092   G_USER_DIRECTORY_DOWNLOAD,
01093   G_USER_DIRECTORY_MUSIC,
01094   G_USER_DIRECTORY_PICTURES,
01095   G_USER_DIRECTORY_PUBLIC_SHARE,
01096   G_USER_DIRECTORY_TEMPLATES,
01097   G_USER_DIRECTORY_VIDEOS,
01098 
01099   G_USER_N_DIRECTORIES
01100 } GUserDirectory;
01101 
01102 const gchar* g_get_user_special_dir (GUserDirectory directory);
01103 
01104 typedef struct _GDebugKey GDebugKey;
01105 struct _GDebugKey
01106 {
01107   const gchar *key;
01108   guint value;
01109 };
01110 
01111 
01112 
01113 guint g_parse_debug_string (const gchar *string,
01114          const GDebugKey *keys,
01115          guint nkeys);
01116 
01117 gint g_snprintf (gchar *string,
01118          gulong n,
01119          gchar const *format,
01120          ...) __attribute__((__format__ (__printf__, 3, 4)));
01121 gint g_vsnprintf (gchar *string,
01122          gulong n,
01123          gchar const *format,
01124          va_list args);
01125 
01126 
01127 gboolean g_path_is_absolute (const gchar *file_name);
01128 
01129 
01130 const gchar* g_path_skip_root (const gchar *file_name);
01131 
01132 
01133 
01134 
01135 
01136 
01137 
01138 const gchar* g_basename (const gchar *file_name);
01139 # 243 "/usr/include/glib-2.0/glib/gutils.h"
01140 gchar* g_get_current_dir (void);
01141 gchar* g_path_get_basename (const gchar *file_name) __attribute__((__malloc__));
01142 gchar* g_path_get_dirname (const gchar *file_name) __attribute__((__malloc__));
01143 
01144 
01145 void g_nullify_pointer (gpointer *nullify_location);
01146 # 259 "/usr/include/glib-2.0/glib/gutils.h"
01147 const gchar* g_getenv (const gchar *variable);
01148 gboolean g_setenv (const gchar *variable,
01149          const gchar *value,
01150          gboolean overwrite);
01151 void g_unsetenv (const gchar *variable);
01152 gchar** g_listenv (void);
01153 gchar** g_get_environ (void);
01154 
01155 
01156 const gchar* _g_getenv_nomalloc (const gchar *variable,
01157          gchar buffer[1024]);
01158 
01159 
01160 
01161 
01162 
01163 typedef void (*GVoidFunc) (void);
01164 # 286 "/usr/include/glib-2.0/glib/gutils.h"
01165 void g_atexit (GVoidFunc func);
01166 # 302 "/usr/include/glib-2.0/glib/gutils.h"
01167 gchar* g_find_program_in_path (const gchar *program);
01168 
01169 
01170 
01171 static __inline __attribute__ ((unused)) gint g_bit_nth_lsf (gulong mask,
01172            gint nth_bit) __attribute__((__const__));
01173 static __inline __attribute__ ((unused)) gint g_bit_nth_msf (gulong mask,
01174            gint nth_bit) __attribute__((__const__));
01175 static __inline __attribute__ ((unused)) guint g_bit_storage (gulong number) __attribute__((__const__));
01176 
01177 
01178 
01179 
01180 typedef struct _GTrashStack GTrashStack;
01181 struct _GTrashStack
01182 {
01183   GTrashStack *next;
01184 };
01185 
01186 static __inline __attribute__ ((unused)) void g_trash_stack_push (GTrashStack **stack_p,
01187        gpointer data_p);
01188 static __inline __attribute__ ((unused)) gpointer g_trash_stack_pop (GTrashStack **stack_p);
01189 static __inline __attribute__ ((unused)) gpointer g_trash_stack_peek (GTrashStack **stack_p);
01190 static __inline __attribute__ ((unused)) guint g_trash_stack_height (GTrashStack **stack_p);
01191 
01192 
01193 
01194 
01195 static __inline __attribute__ ((unused)) gint
01196 g_bit_nth_lsf (gulong mask,
01197         gint nth_bit)
01198 {
01199   if ((nth_bit < -1))
01200     nth_bit = -1;
01201   while (nth_bit < ((8 * 8) - 1))
01202     {
01203       nth_bit++;
01204       if (mask & (1UL << nth_bit))
01205  return nth_bit;
01206     }
01207   return -1;
01208 }
01209 static __inline __attribute__ ((unused)) gint
01210 g_bit_nth_msf (gulong mask,
01211         gint nth_bit)
01212 {
01213   if (nth_bit < 0 || (nth_bit > 8 * 8))
01214     nth_bit = 8 * 8;
01215   while (nth_bit > 0)
01216     {
01217       nth_bit--;
01218       if (mask & (1UL << nth_bit))
01219  return nth_bit;
01220     }
01221   return -1;
01222 }
01223 static __inline __attribute__ ((unused)) guint
01224 g_bit_storage (gulong number)
01225 {
01226 
01227 
01228 
01229 
01230   register guint n_bits = 0;
01231 
01232   do
01233     {
01234       n_bits++;
01235       number >>= 1;
01236     }
01237   while (number);
01238   return n_bits;
01239 
01240 }
01241 static __inline __attribute__ ((unused)) void
01242 g_trash_stack_push (GTrashStack **stack_p,
01243       gpointer data_p)
01244 {
01245   GTrashStack *data = (GTrashStack *) data_p;
01246 
01247   data->next = *stack_p;
01248   *stack_p = data;
01249 }
01250 static __inline __attribute__ ((unused)) gpointer
01251 g_trash_stack_pop (GTrashStack **stack_p)
01252 {
01253   GTrashStack *data;
01254 
01255   data = *stack_p;
01256   if (data)
01257     {
01258       *stack_p = data->next;
01259 
01260 
01261 
01262       data->next = ((void *)0);
01263     }
01264 
01265   return data;
01266 }
01267 static __inline __attribute__ ((unused)) gpointer
01268 g_trash_stack_peek (GTrashStack **stack_p)
01269 {
01270   GTrashStack *data;
01271 
01272   data = *stack_p;
01273 
01274   return data;
01275 }
01276 static __inline __attribute__ ((unused)) guint
01277 g_trash_stack_height (GTrashStack **stack_p)
01278 {
01279   GTrashStack *data;
01280   guint i = 0;
01281 
01282   for (data = *stack_p; data; data = data->next)
01283     i++;
01284 
01285   return i;
01286 }
01287 
01288 
01289 
01290 
01291 
01292 
01293 extern const guint glib_major_version;
01294 extern const guint glib_minor_version;
01295 extern const guint glib_micro_version;
01296 extern const guint glib_interface_age;
01297 extern const guint glib_binary_age;
01298 
01299 const gchar * glib_check_version (guint required_major,
01300                                   guint required_minor,
01301                                   guint required_micro);
01302 
01303 
01304 
01305 
01306 
01307 
01308 
01309 
01310 # 36 "/usr/include/glib-2.0/glib/gthread.h" 2
01311 # 1 "/usr/include/glib-2.0/glib/gatomic.h" 1
01312 # 37 "/usr/include/glib-2.0/glib/gatomic.h"
01313 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
01314 # 38 "/usr/include/glib-2.0/glib/gatomic.h" 2
01315 
01316 
01317 
01318 gint g_atomic_int_exchange_and_add (volatile gint __attribute__((may_alias)) *atomic,
01319       gint val);
01320 void g_atomic_int_add (volatile gint __attribute__((may_alias)) *atomic,
01321       gint val);
01322 gboolean g_atomic_int_compare_and_exchange (volatile gint __attribute__((may_alias)) *atomic,
01323       gint oldval,
01324       gint newval);
01325 gboolean g_atomic_pointer_compare_and_exchange (volatile gpointer __attribute__((may_alias)) *atomic,
01326       gpointer oldval,
01327       gpointer newval);
01328 
01329 gint g_atomic_int_get (volatile gint __attribute__((may_alias)) *atomic);
01330 void g_atomic_int_set (volatile gint __attribute__((may_alias)) *atomic,
01331       gint newval);
01332 gpointer g_atomic_pointer_get (volatile gpointer __attribute__((may_alias)) *atomic);
01333 void g_atomic_pointer_set (volatile gpointer __attribute__((may_alias)) *atomic,
01334       gpointer newval);
01335 # 103 "/usr/include/glib-2.0/glib/gatomic.h"
01336 
01337 # 37 "/usr/include/glib-2.0/glib/gthread.h" 2
01338 
01339 
01340 
01341 
01342 
01343 
01344 extern GQuark g_thread_error_quark (void);
01345 
01346 
01347 typedef enum
01348 {
01349   G_THREAD_ERROR_AGAIN
01350 } GThreadError;
01351 
01352 typedef gpointer (*GThreadFunc) (gpointer data);
01353 
01354 typedef enum
01355 {
01356   G_THREAD_PRIORITY_LOW,
01357   G_THREAD_PRIORITY_NORMAL,
01358   G_THREAD_PRIORITY_HIGH,
01359   G_THREAD_PRIORITY_URGENT
01360 } GThreadPriority;
01361 
01362 typedef struct _GThread GThread;
01363 struct _GThread
01364 {
01365 
01366   GThreadFunc func;
01367   gpointer data;
01368   gboolean joinable;
01369   GThreadPriority priority;
01370 };
01371 
01372 typedef struct _GMutex GMutex;
01373 typedef struct _GCond GCond;
01374 typedef struct _GPrivate GPrivate;
01375 typedef struct _GStaticPrivate GStaticPrivate;
01376 
01377 typedef struct _GThreadFunctions GThreadFunctions;
01378 struct _GThreadFunctions
01379 {
01380   GMutex* (*mutex_new) (void);
01381   void (*mutex_lock) (GMutex *mutex);
01382   gboolean (*mutex_trylock) (GMutex *mutex);
01383   void (*mutex_unlock) (GMutex *mutex);
01384   void (*mutex_free) (GMutex *mutex);
01385   GCond* (*cond_new) (void);
01386   void (*cond_signal) (GCond *cond);
01387   void (*cond_broadcast) (GCond *cond);
01388   void (*cond_wait) (GCond *cond,
01389                                    GMutex *mutex);
01390   gboolean (*cond_timed_wait) (GCond *cond,
01391                                    GMutex *mutex,
01392                                    GTimeVal *end_time);
01393   void (*cond_free) (GCond *cond);
01394   GPrivate* (*private_new) (GDestroyNotify destructor);
01395   gpointer (*private_get) (GPrivate *private_key);
01396   void (*private_set) (GPrivate *private_key,
01397                                    gpointer data);
01398   void (*thread_create) (GThreadFunc func,
01399                                    gpointer data,
01400                                    gulong stack_size,
01401                                    gboolean joinable,
01402                                    gboolean bound,
01403                                    GThreadPriority priority,
01404                                    gpointer thread,
01405                                    GError **error);
01406   void (*thread_yield) (void);
01407   void (*thread_join) (gpointer thread);
01408   void (*thread_exit) (void);
01409   void (*thread_set_priority)(gpointer thread,
01410                                    GThreadPriority priority);
01411   void (*thread_self) (gpointer thread);
01412   gboolean (*thread_equal) (gpointer thread1,
01413        gpointer thread2);
01414 };
01415 
01416 extern GThreadFunctions g_thread_functions_for_glib_use;
01417 extern gboolean g_thread_use_default_impl;
01418 extern gboolean g_threads_got_initialized;
01419 
01420 extern guint64 (*g_thread_gettime) (void);
01421 
01422 
01423 
01424 
01425 
01426 void g_thread_init (GThreadFunctions *vtable);
01427 # 134 "/usr/include/glib-2.0/glib/gthread.h"
01428 void g_thread_init_with_errorcheck_mutexes (GThreadFunctions* vtable);
01429 
01430 
01431 
01432 
01433 gboolean g_thread_get_initialized (void);
01434 # 149 "/usr/include/glib-2.0/glib/gthread.h"
01435 GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex);
01436 # 224 "/usr/include/glib-2.0/glib/gthread.h"
01437 GThread* g_thread_create_full (GThreadFunc func,
01438                                 gpointer data,
01439                                 gulong stack_size,
01440                                 gboolean joinable,
01441                                 gboolean bound,
01442                                 GThreadPriority priority,
01443                                 GError **error);
01444 GThread* g_thread_self (void);
01445 void g_thread_exit (gpointer retval);
01446 gpointer g_thread_join (GThread *thread);
01447 
01448 void g_thread_set_priority (GThread *thread,
01449                                 GThreadPriority priority);
01450 # 249 "/usr/include/glib-2.0/glib/gthread.h"
01451 void g_static_mutex_init (GStaticMutex *mutex);
01452 void g_static_mutex_free (GStaticMutex *mutex);
01453 
01454 struct _GStaticPrivate
01455 {
01456 
01457   guint index;
01458 };
01459 
01460 void g_static_private_init (GStaticPrivate *private_key);
01461 gpointer g_static_private_get (GStaticPrivate *private_key);
01462 void g_static_private_set (GStaticPrivate *private_key,
01463        gpointer data,
01464        GDestroyNotify notify);
01465 void g_static_private_free (GStaticPrivate *private_key);
01466 
01467 typedef struct _GStaticRecMutex GStaticRecMutex;
01468 struct _GStaticRecMutex
01469 {
01470 
01471   GStaticMutex mutex;
01472   guint depth;
01473   GSystemThread owner;
01474 };
01475 
01476 
01477 void g_static_rec_mutex_init (GStaticRecMutex *mutex);
01478 void g_static_rec_mutex_lock (GStaticRecMutex *mutex);
01479 gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex);
01480 void g_static_rec_mutex_unlock (GStaticRecMutex *mutex);
01481 void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex,
01482                                          guint depth);
01483 guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex);
01484 void g_static_rec_mutex_free (GStaticRecMutex *mutex);
01485 
01486 typedef struct _GStaticRWLock GStaticRWLock;
01487 struct _GStaticRWLock
01488 {
01489 
01490   GStaticMutex mutex;
01491   GCond *read_cond;
01492   GCond *write_cond;
01493   guint read_counter;
01494   gboolean have_writer;
01495   guint want_to_read;
01496   guint want_to_write;
01497 };
01498 
01499 
01500 
01501 void g_static_rw_lock_init (GStaticRWLock* lock);
01502 void g_static_rw_lock_reader_lock (GStaticRWLock* lock);
01503 gboolean g_static_rw_lock_reader_trylock (GStaticRWLock* lock);
01504 void g_static_rw_lock_reader_unlock (GStaticRWLock* lock);
01505 void g_static_rw_lock_writer_lock (GStaticRWLock* lock);
01506 gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock);
01507 void g_static_rw_lock_writer_unlock (GStaticRWLock* lock);
01508 void g_static_rw_lock_free (GStaticRWLock* lock);
01509 
01510 void g_thread_foreach (GFunc thread_func,
01511         gpointer user_data);
01512 
01513 typedef enum
01514 {
01515   G_ONCE_STATUS_NOTCALLED,
01516   G_ONCE_STATUS_PROGRESS,
01517   G_ONCE_STATUS_READY
01518 } GOnceStatus;
01519 
01520 typedef struct _GOnce GOnce;
01521 struct _GOnce
01522 {
01523   volatile GOnceStatus status;
01524   volatile gpointer retval;
01525 };
01526 
01527 
01528 
01529 gpointer g_once_impl (GOnce *once, GThreadFunc func, gpointer arg);
01530 # 339 "/usr/include/glib-2.0/glib/gthread.h"
01531 static __inline __attribute__ ((unused)) gboolean g_once_init_enter (volatile gsize *value_location);
01532 gboolean g_once_init_enter_impl (volatile gsize *value_location);
01533 void g_once_init_leave (volatile gsize *value_location,
01534                                                  gsize initialization_value);
01535 
01536 static __inline __attribute__ ((unused)) gboolean
01537 g_once_init_enter (volatile gsize *value_location)
01538 {
01539   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))
01540     return (0);
01541   else
01542     return g_once_init_enter_impl (value_location);
01543 }
01544 # 363 "/usr/include/glib-2.0/glib/gthread.h"
01545 extern void glib_dummy_decl (void);
01546 # 405 "/usr/include/glib-2.0/glib/gthread.h"
01547 
01548 # 35 "/usr/include/glib-2.0/glib/gasyncqueue.h" 2
01549 
01550 
01551 
01552 typedef struct _GAsyncQueue GAsyncQueue;
01553 
01554 
01555 
01556 
01557 GAsyncQueue* g_async_queue_new (void);
01558 
01559 GAsyncQueue* g_async_queue_new_full (GDestroyNotify item_free_func);
01560 
01561 
01562 
01563 
01564 
01565 void g_async_queue_lock (GAsyncQueue *queue);
01566 void g_async_queue_unlock (GAsyncQueue *queue);
01567 
01568 
01569 GAsyncQueue* g_async_queue_ref (GAsyncQueue *queue);
01570 void g_async_queue_unref (GAsyncQueue *queue);
01571 
01572 
01573 
01574 void g_async_queue_ref_unlocked (GAsyncQueue *queue);
01575 void g_async_queue_unref_and_unlock (GAsyncQueue *queue);
01576 
01577 
01578 
01579 void g_async_queue_push (GAsyncQueue *queue,
01580        gpointer data);
01581 void g_async_queue_push_unlocked (GAsyncQueue *queue,
01582        gpointer data);
01583 
01584 void g_async_queue_push_sorted (GAsyncQueue *queue,
01585        gpointer data,
01586        GCompareDataFunc func,
01587        gpointer user_data);
01588 void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue,
01589        gpointer data,
01590        GCompareDataFunc func,
01591        gpointer user_data);
01592 
01593 
01594 
01595 
01596 gpointer g_async_queue_pop (GAsyncQueue *queue);
01597 gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue);
01598 
01599 
01600 gpointer g_async_queue_try_pop (GAsyncQueue *queue);
01601 gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue);
01602 
01603 
01604 
01605 
01606 
01607 
01608 gpointer g_async_queue_timed_pop (GAsyncQueue *queue,
01609        GTimeVal *end_time);
01610 gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue,
01611        GTimeVal *end_time);
01612 # 106 "/usr/include/glib-2.0/glib/gasyncqueue.h"
01613 gint g_async_queue_length (GAsyncQueue *queue);
01614 gint g_async_queue_length_unlocked (GAsyncQueue *queue);
01615 void g_async_queue_sort (GAsyncQueue *queue,
01616        GCompareDataFunc func,
01617        gpointer user_data);
01618 void g_async_queue_sort_unlocked (GAsyncQueue *queue,
01619        GCompareDataFunc func,
01620        gpointer user_data);
01621 
01622 
01623 GMutex* _g_async_queue_get_mutex (GAsyncQueue *queue);
01624 
01625 
01626 # 35 "/usr/include/glib-2.0/glib.h" 2
01627 # 1 "/usr/include/glib-2.0/glib/gatomic.h" 1
01628 # 36 "/usr/include/glib-2.0/glib.h" 2
01629 # 1 "/usr/include/glib-2.0/glib/gbacktrace.h" 1
01630 # 34 "/usr/include/glib-2.0/glib/gbacktrace.h"
01631 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
01632 # 35 "/usr/include/glib-2.0/glib/gbacktrace.h" 2
01633 # 1 "/usr/include/signal.h" 1 3 4
01634 # 31 "/usr/include/signal.h" 3 4
01635 
01636 
01637 # 1 "/usr/include/bits/sigset.h" 1 3 4
01638 # 24 "/usr/include/bits/sigset.h" 3 4
01639 typedef int __sig_atomic_t;
01640 
01641 
01642 
01643 
01644 typedef struct
01645   {
01646     unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
01647   } __sigset_t;
01648 # 104 "/usr/include/bits/sigset.h" 3 4
01649 extern int __sigismember (__const __sigset_t *, int);
01650 extern int __sigaddset (__sigset_t *, int);
01651 extern int __sigdelset (__sigset_t *, int);
01652 # 34 "/usr/include/signal.h" 2 3 4
01653 
01654 
01655 
01656 
01657 
01658 
01659 
01660 typedef __sig_atomic_t sig_atomic_t;
01661 
01662 
01663 
01664 
01665 
01666 
01667 
01668 
01669 typedef __sigset_t sigset_t;
01670 
01671 
01672 
01673 
01674 
01675 
01676 
01677 # 1 "/usr/include/bits/signum.h" 1 3 4
01678 # 59 "/usr/include/signal.h" 2 3 4
01679 # 68 "/usr/include/signal.h" 3 4
01680 typedef __uid_t uid_t;
01681 # 79 "/usr/include/signal.h" 3 4
01682 # 1 "/usr/include/bits/siginfo.h" 1 3 4
01683 # 25 "/usr/include/bits/siginfo.h" 3 4
01684 # 1 "/usr/include/bits/wordsize.h" 1 3 4
01685 # 26 "/usr/include/bits/siginfo.h" 2 3 4
01686 
01687 
01688 
01689 
01690 
01691 
01692 
01693 typedef union sigval
01694   {
01695     int sival_int;
01696     void *sival_ptr;
01697   } sigval_t;
01698 # 51 "/usr/include/bits/siginfo.h" 3 4
01699 typedef struct siginfo
01700   {
01701     int si_signo;
01702     int si_errno;
01703 
01704     int si_code;
01705 
01706     union
01707       {
01708  int _pad[((128 / sizeof (int)) - 4)];
01709 
01710 
01711  struct
01712    {
01713      __pid_t si_pid;
01714      __uid_t si_uid;
01715    } _kill;
01716 
01717 
01718  struct
01719    {
01720      int si_tid;
01721      int si_overrun;
01722      sigval_t si_sigval;
01723    } _timer;
01724 
01725 
01726  struct
01727    {
01728      __pid_t si_pid;
01729      __uid_t si_uid;
01730      sigval_t si_sigval;
01731    } _rt;
01732 
01733 
01734  struct
01735    {
01736      __pid_t si_pid;
01737      __uid_t si_uid;
01738      int si_status;
01739      __clock_t si_utime;
01740      __clock_t si_stime;
01741    } _sigchld;
01742 
01743 
01744  struct
01745    {
01746      void *si_addr;
01747    } _sigfault;
01748 
01749 
01750  struct
01751    {
01752      long int si_band;
01753      int si_fd;
01754    } _sigpoll;
01755       } _sifields;
01756   } siginfo_t;
01757 # 129 "/usr/include/bits/siginfo.h" 3 4
01758 enum
01759 {
01760   SI_ASYNCNL = -60,
01761 
01762   SI_TKILL = -6,
01763 
01764   SI_SIGIO,
01765 
01766   SI_ASYNCIO,
01767 
01768   SI_MESGQ,
01769 
01770   SI_TIMER,
01771 
01772   SI_QUEUE,
01773 
01774   SI_USER,
01775 
01776   SI_KERNEL = 0x80
01777 
01778 };
01779 
01780 
01781 
01782 enum
01783 {
01784   ILL_ILLOPC = 1,
01785 
01786   ILL_ILLOPN,
01787 
01788   ILL_ILLADR,
01789 
01790   ILL_ILLTRP,
01791 
01792   ILL_PRVOPC,
01793 
01794   ILL_PRVREG,
01795 
01796   ILL_COPROC,
01797 
01798   ILL_BADSTK
01799 
01800 };
01801 
01802 
01803 enum
01804 {
01805   FPE_INTDIV = 1,
01806 
01807   FPE_INTOVF,
01808 
01809   FPE_FLTDIV,
01810 
01811   FPE_FLTOVF,
01812 
01813   FPE_FLTUND,
01814 
01815   FPE_FLTRES,
01816 
01817   FPE_FLTINV,
01818 
01819   FPE_FLTSUB
01820 
01821 };
01822 
01823 
01824 enum
01825 {
01826   SEGV_MAPERR = 1,
01827 
01828   SEGV_ACCERR
01829 
01830 };
01831 
01832 
01833 enum
01834 {
01835   BUS_ADRALN = 1,
01836 
01837   BUS_ADRERR,
01838 
01839   BUS_OBJERR
01840 
01841 };
01842 
01843 
01844 enum
01845 {
01846   TRAP_BRKPT = 1,
01847 
01848   TRAP_TRACE
01849 
01850 };
01851 
01852 
01853 enum
01854 {
01855   CLD_EXITED = 1,
01856 
01857   CLD_KILLED,
01858 
01859   CLD_DUMPED,
01860 
01861   CLD_TRAPPED,
01862 
01863   CLD_STOPPED,
01864 
01865   CLD_CONTINUED
01866 
01867 };
01868 
01869 
01870 enum
01871 {
01872   POLL_IN = 1,
01873 
01874   POLL_OUT,
01875 
01876   POLL_MSG,
01877 
01878   POLL_ERR,
01879 
01880   POLL_PRI,
01881 
01882   POLL_HUP
01883 
01884 };
01885 # 273 "/usr/include/bits/siginfo.h" 3 4
01886 typedef struct sigevent
01887   {
01888     sigval_t sigev_value;
01889     int sigev_signo;
01890     int sigev_notify;
01891 
01892     union
01893       {
01894  int _pad[((64 / sizeof (int)) - 4)];
01895 
01896 
01897 
01898  __pid_t _tid;
01899 
01900  struct
01901    {
01902      void (*_function) (sigval_t);
01903      void *_attribute;
01904    } _sigev_thread;
01905       } _sigev_un;
01906   } sigevent_t;
01907 
01908 
01909 
01910 
01911 
01912 
01913 enum
01914 {
01915   SIGEV_SIGNAL = 0,
01916 
01917   SIGEV_NONE,
01918 
01919   SIGEV_THREAD,
01920 
01921 
01922   SIGEV_THREAD_ID = 4
01923 
01924 };
01925 # 80 "/usr/include/signal.h" 2 3 4
01926 
01927 
01928 
01929 
01930 typedef void (*__sighandler_t) (int);
01931 
01932 
01933 
01934 
01935 extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
01936      __attribute__ ((__nothrow__));
01937 
01938 extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler)
01939      __attribute__ ((__nothrow__));
01940 
01941 
01942 
01943 
01944 
01945 
01946 
01947 extern __sighandler_t signal (int __sig, __sighandler_t __handler)
01948      __attribute__ ((__nothrow__));
01949 # 113 "/usr/include/signal.h" 3 4
01950 
01951 
01952 
01953 
01954 
01955 extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler)
01956      __attribute__ ((__nothrow__));
01957 
01958 
01959 
01960 
01961 
01962 
01963 extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__));
01964 
01965 
01966 
01967 
01968 
01969 
01970 extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__));
01971 
01972 
01973 
01974 
01975 extern int raise (int __sig) __attribute__ ((__nothrow__));
01976 
01977 
01978 
01979 
01980 extern __sighandler_t ssignal (int __sig, __sighandler_t __handler)
01981      __attribute__ ((__nothrow__));
01982 extern int gsignal (int __sig) __attribute__ ((__nothrow__));
01983 
01984 
01985 
01986 
01987 extern void psignal (int __sig, __const char *__s);
01988 
01989 
01990 
01991 
01992 extern void psiginfo (__const siginfo_t *__pinfo, __const char *__s);
01993 # 168 "/usr/include/signal.h" 3 4
01994 extern int __sigpause (int __sig_or_mask, int __is_sig);
01995 # 177 "/usr/include/signal.h" 3 4
01996 extern int sigpause (int __sig) __asm__ ("__xpg_sigpause");
01997 # 196 "/usr/include/signal.h" 3 4
01998 extern int sigblock (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
01999 
02000 
02001 extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
02002 
02003 
02004 extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
02005 # 211 "/usr/include/signal.h" 3 4
02006 typedef __sighandler_t sighandler_t;
02007 
02008 
02009 
02010 
02011 typedef __sighandler_t sig_t;
02012 
02013 
02014 
02015 
02016 
02017 extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
02018 
02019 
02020 extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
02021 
02022 
02023 extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
02024 
02025 
02026 extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
02027 
02028 
02029 extern int sigismember (__const sigset_t *__set, int __signo)
02030      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
02031 
02032 
02033 
02034 extern int sigisemptyset (__const sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
02035 
02036 
02037 extern int sigandset (sigset_t *__set, __const sigset_t *__left,
02038         __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
02039 
02040 
02041 extern int sigorset (sigset_t *__set, __const sigset_t *__left,
02042        __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
02043 
02044 
02045 
02046 
02047 # 1 "/usr/include/bits/sigaction.h" 1 3 4
02048 # 25 "/usr/include/bits/sigaction.h" 3 4
02049 struct sigaction
02050   {
02051 
02052 
02053     union
02054       {
02055 
02056  __sighandler_t sa_handler;
02057 
02058  void (*sa_sigaction) (int, siginfo_t *, void *);
02059       }
02060     __sigaction_handler;
02061 
02062 
02063 
02064 
02065 
02066 
02067 
02068     __sigset_t sa_mask;
02069 
02070 
02071     int sa_flags;
02072 
02073 
02074     void (*sa_restorer) (void);
02075   };
02076 # 253 "/usr/include/signal.h" 2 3 4
02077 
02078 
02079 extern int sigprocmask (int __how, __const sigset_t *__restrict __set,
02080    sigset_t *__restrict __oset) __attribute__ ((__nothrow__));
02081 
02082 
02083 
02084 
02085 
02086 
02087 extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1)));
02088 
02089 
02090 extern int sigaction (int __sig, __const struct sigaction *__restrict __act,
02091         struct sigaction *__restrict __oact) __attribute__ ((__nothrow__));
02092 
02093 
02094 extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
02095 
02096 
02097 
02098 
02099 
02100 
02101 extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig)
02102      __attribute__ ((__nonnull__ (1, 2)));
02103 
02104 
02105 
02106 
02107 
02108 
02109 extern int sigwaitinfo (__const sigset_t *__restrict __set,
02110    siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1)));
02111 
02112 
02113 
02114 
02115 
02116 
02117 extern int sigtimedwait (__const sigset_t *__restrict __set,
02118     siginfo_t *__restrict __info,
02119     __const struct timespec *__restrict __timeout)
02120      __attribute__ ((__nonnull__ (1)));
02121 
02122 
02123 
02124 extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val)
02125      __attribute__ ((__nothrow__));
02126 # 310 "/usr/include/signal.h" 3 4
02127 extern __const char *__const _sys_siglist[65];
02128 extern __const char *__const sys_siglist[65];
02129 
02130 
02131 struct sigvec
02132   {
02133     __sighandler_t sv_handler;
02134     int sv_mask;
02135 
02136     int sv_flags;
02137 
02138   };
02139 # 334 "/usr/include/signal.h" 3 4
02140 extern int sigvec (int __sig, __const struct sigvec *__vec,
02141      struct sigvec *__ovec) __attribute__ ((__nothrow__));
02142 
02143 
02144 
02145 # 1 "/usr/include/bits/sigcontext.h" 1 3 4
02146 # 26 "/usr/include/bits/sigcontext.h" 3 4
02147 # 1 "/usr/include/bits/wordsize.h" 1 3 4
02148 # 27 "/usr/include/bits/sigcontext.h" 2 3 4
02149 
02150 struct _fpreg
02151 {
02152   unsigned short significand[4];
02153   unsigned short exponent;
02154 };
02155 
02156 struct _fpxreg
02157 {
02158   unsigned short significand[4];
02159   unsigned short exponent;
02160   unsigned short padding[3];
02161 };
02162 
02163 struct _xmmreg
02164 {
02165   __uint32_t element[4];
02166 };
02167 # 109 "/usr/include/bits/sigcontext.h" 3 4
02168 struct _fpstate
02169 {
02170 
02171   __uint16_t cwd;
02172   __uint16_t swd;
02173   __uint16_t ftw;
02174   __uint16_t fop;
02175   __uint64_t rip;
02176   __uint64_t rdp;
02177   __uint32_t mxcsr;
02178   __uint32_t mxcr_mask;
02179   struct _fpxreg _st[8];
02180   struct _xmmreg _xmm[16];
02181   __uint32_t padding[24];
02182 };
02183 
02184 struct sigcontext
02185 {
02186   unsigned long r8;
02187   unsigned long r9;
02188   unsigned long r10;
02189   unsigned long r11;
02190   unsigned long r12;
02191   unsigned long r13;
02192   unsigned long r14;
02193   unsigned long r15;
02194   unsigned long rdi;
02195   unsigned long rsi;
02196   unsigned long rbp;
02197   unsigned long rbx;
02198   unsigned long rdx;
02199   unsigned long rax;
02200   unsigned long rcx;
02201   unsigned long rsp;
02202   unsigned long rip;
02203   unsigned long eflags;
02204   unsigned short cs;
02205   unsigned short gs;
02206   unsigned short fs;
02207   unsigned short __pad0;
02208   unsigned long err;
02209   unsigned long trapno;
02210   unsigned long oldmask;
02211   unsigned long cr2;
02212   struct _fpstate * fpstate;
02213   unsigned long __reserved1 [8];
02214 };
02215 # 340 "/usr/include/signal.h" 2 3 4
02216 
02217 
02218 extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__));
02219 
02220 
02221 
02222 
02223 
02224 
02225 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
02226 # 350 "/usr/include/signal.h" 2 3 4
02227 
02228 
02229 
02230 
02231 extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__));
02232 
02233 # 1 "/usr/include/bits/sigstack.h" 1 3 4
02234 # 26 "/usr/include/bits/sigstack.h" 3 4
02235 struct sigstack
02236   {
02237     void *ss_sp;
02238     int ss_onstack;
02239   };
02240 
02241 
02242 
02243 enum
02244 {
02245   SS_ONSTACK = 1,
02246 
02247   SS_DISABLE
02248 
02249 };
02250 # 50 "/usr/include/bits/sigstack.h" 3 4
02251 typedef struct sigaltstack
02252   {
02253     void *ss_sp;
02254     int ss_flags;
02255     size_t ss_size;
02256   } stack_t;
02257 # 357 "/usr/include/signal.h" 2 3 4
02258 
02259 
02260 # 1 "/usr/include/sys/ucontext.h" 1 3 4
02261 # 23 "/usr/include/sys/ucontext.h" 3 4
02262 # 1 "/usr/include/signal.h" 1 3 4
02263 # 24 "/usr/include/sys/ucontext.h" 2 3 4
02264 # 1 "/usr/include/bits/wordsize.h" 1 3 4
02265 # 25 "/usr/include/sys/ucontext.h" 2 3 4
02266 # 33 "/usr/include/sys/ucontext.h" 3 4
02267 typedef long int greg_t;
02268 
02269 
02270 
02271 
02272 
02273 typedef greg_t gregset_t[23];
02274 
02275 
02276 
02277 enum
02278 {
02279   REG_R8 = 0,
02280 
02281   REG_R9,
02282 
02283   REG_R10,
02284 
02285   REG_R11,
02286 
02287   REG_R12,
02288 
02289   REG_R13,
02290 
02291   REG_R14,
02292 
02293   REG_R15,
02294 
02295   REG_RDI,
02296 
02297   REG_RSI,
02298 
02299   REG_RBP,
02300 
02301   REG_RBX,
02302 
02303   REG_RDX,
02304 
02305   REG_RAX,
02306 
02307   REG_RCX,
02308 
02309   REG_RSP,
02310 
02311   REG_RIP,
02312 
02313   REG_EFL,
02314 
02315   REG_CSGSFS,
02316 
02317   REG_ERR,
02318 
02319   REG_TRAPNO,
02320 
02321   REG_OLDMASK,
02322 
02323   REG_CR2
02324 
02325 };
02326 
02327 
02328 struct _libc_fpxreg
02329 {
02330   unsigned short int significand[4];
02331   unsigned short int exponent;
02332   unsigned short int padding[3];
02333 };
02334 
02335 struct _libc_xmmreg
02336 {
02337   __uint32_t element[4];
02338 };
02339 
02340 struct _libc_fpstate
02341 {
02342 
02343   __uint16_t cwd;
02344   __uint16_t swd;
02345   __uint16_t ftw;
02346   __uint16_t fop;
02347   __uint64_t rip;
02348   __uint64_t rdp;
02349   __uint32_t mxcsr;
02350   __uint32_t mxcr_mask;
02351   struct _libc_fpxreg _st[8];
02352   struct _libc_xmmreg _xmm[16];
02353   __uint32_t padding[24];
02354 };
02355 
02356 
02357 typedef struct _libc_fpstate *fpregset_t;
02358 
02359 
02360 typedef struct
02361   {
02362     gregset_t gregs;
02363 
02364     fpregset_t fpregs;
02365     unsigned long __reserved1 [8];
02366 } mcontext_t;
02367 
02368 
02369 typedef struct ucontext
02370   {
02371     unsigned long int uc_flags;
02372     struct ucontext *uc_link;
02373     stack_t uc_stack;
02374     mcontext_t uc_mcontext;
02375     __sigset_t uc_sigmask;
02376     struct _libc_fpstate __fpregs_mem;
02377   } ucontext_t;
02378 # 360 "/usr/include/signal.h" 2 3 4
02379 
02380 
02381 
02382 
02383 
02384 extern int sigstack (struct sigstack *__ss, struct sigstack *__oss)
02385      __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
02386 
02387 
02388 
02389 extern int sigaltstack (__const struct sigaltstack *__restrict __ss,
02390    struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__));
02391 
02392 
02393 
02394 
02395 
02396 
02397 
02398 extern int sighold (int __sig) __attribute__ ((__nothrow__));
02399 
02400 
02401 extern int sigrelse (int __sig) __attribute__ ((__nothrow__));
02402 
02403 
02404 extern int sigignore (int __sig) __attribute__ ((__nothrow__));
02405 
02406 
02407 extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__));
02408 
02409 
02410 
02411 
02412 
02413 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
02414 # 23 "/usr/include/bits/pthreadtypes.h" 3 4
02415 # 1 "/usr/include/bits/wordsize.h" 1 3 4
02416 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4
02417 # 50 "/usr/include/bits/pthreadtypes.h" 3 4
02418 typedef unsigned long int pthread_t;
02419 
02420 
02421 typedef union
02422 {
02423   char __size[56];
02424   long int __align;
02425 } pthread_attr_t;
02426 
02427 
02428 
02429 typedef struct __pthread_internal_list
02430 {
02431   struct __pthread_internal_list *__prev;
02432   struct __pthread_internal_list *__next;
02433 } __pthread_list_t;
02434 # 76 "/usr/include/bits/pthreadtypes.h" 3 4
02435 typedef union
02436 {
02437   struct __pthread_mutex_s
02438   {
02439     int __lock;
02440     unsigned int __count;
02441     int __owner;
02442 
02443     unsigned int __nusers;
02444 
02445 
02446 
02447     int __kind;
02448 
02449     int __spins;
02450     __pthread_list_t __list;
02451 # 101 "/usr/include/bits/pthreadtypes.h" 3 4
02452   } __data;
02453   char __size[40];
02454   long int __align;
02455 } pthread_mutex_t;
02456 
02457 typedef union
02458 {
02459   char __size[4];
02460   int __align;
02461 } pthread_mutexattr_t;
02462 
02463 
02464 
02465 
02466 typedef union
02467 {
02468   struct
02469   {
02470     int __lock;
02471     unsigned int __futex;
02472     __extension__ unsigned long long int __total_seq;
02473     __extension__ unsigned long long int __wakeup_seq;
02474     __extension__ unsigned long long int __woken_seq;
02475     void *__mutex;
02476     unsigned int __nwaiters;
02477     unsigned int __broadcast_seq;
02478   } __data;
02479   char __size[48];
02480   __extension__ long long int __align;
02481 } pthread_cond_t;
02482 
02483 typedef union
02484 {
02485   char __size[4];
02486   int __align;
02487 } pthread_condattr_t;
02488 
02489 
02490 
02491 typedef unsigned int pthread_key_t;
02492 
02493 
02494 
02495 typedef int pthread_once_t;
02496 
02497 
02498 
02499 
02500 
02501 typedef union
02502 {
02503 
02504   struct
02505   {
02506     int __lock;
02507     unsigned int __nr_readers;
02508     unsigned int __readers_wakeup;
02509     unsigned int __writer_wakeup;
02510     unsigned int __nr_readers_queued;
02511     unsigned int __nr_writers_queued;
02512     int __writer;
02513     int __shared;
02514     unsigned long int __pad1;
02515     unsigned long int __pad2;
02516 
02517 
02518     unsigned int __flags;
02519   } __data;
02520 # 187 "/usr/include/bits/pthreadtypes.h" 3 4
02521   char __size[56];
02522   long int __align;
02523 } pthread_rwlock_t;
02524 
02525 typedef union
02526 {
02527   char __size[8];
02528   long int __align;
02529 } pthread_rwlockattr_t;
02530 
02531 
02532 
02533 
02534 
02535 typedef volatile int pthread_spinlock_t;
02536 
02537 
02538 
02539 
02540 typedef union
02541 {
02542   char __size[32];
02543   long int __align;
02544 } pthread_barrier_t;
02545 
02546 typedef union
02547 {
02548   char __size[4];
02549   int __align;
02550 } pthread_barrierattr_t;
02551 # 395 "/usr/include/signal.h" 2 3 4
02552 # 1 "/usr/include/bits/sigthread.h" 1 3 4
02553 # 31 "/usr/include/bits/sigthread.h" 3 4
02554 extern int pthread_sigmask (int __how,
02555        __const __sigset_t *__restrict __newmask,
02556        __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__));
02557 
02558 
02559 extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__));
02560 
02561 
02562 
02563 extern int pthread_sigqueue (pthread_t __threadid, int __signo,
02564         const union sigval __value) __attribute__ ((__nothrow__));
02565 # 396 "/usr/include/signal.h" 2 3 4
02566 
02567 
02568 
02569 
02570 
02571 
02572 extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__));
02573 
02574 extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__));
02575 
02576 
02577 
02578 
02579 # 36 "/usr/include/glib-2.0/glib/gbacktrace.h" 2
02580 
02581 
02582 # 48 "/usr/include/glib-2.0/glib/gbacktrace.h"
02583 void g_on_error_query (const gchar *prg_name);
02584 void g_on_error_stack_trace (const gchar *prg_name);
02585 # 66 "/usr/include/glib-2.0/glib/gbacktrace.h"
02586 
02587 # 37 "/usr/include/glib-2.0/glib.h" 2
02588 # 1 "/usr/include/glib-2.0/glib/gbase64.h" 1
02589 # 28 "/usr/include/glib-2.0/glib/gbase64.h"
02590 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
02591 # 29 "/usr/include/glib-2.0/glib/gbase64.h" 2
02592 
02593 
02594 
02595 gsize g_base64_encode_step (const guchar *in,
02596                                  gsize len,
02597                                  gboolean break_lines,
02598                                  gchar *out,
02599                                  gint *state,
02600                                  gint *save);
02601 gsize g_base64_encode_close (gboolean break_lines,
02602                                  gchar *out,
02603                                  gint *state,
02604                                  gint *save);
02605 gchar* g_base64_encode (const guchar *data,
02606                                  gsize len) __attribute__((__malloc__));
02607 gsize g_base64_decode_step (const gchar *in,
02608                                  gsize len,
02609                                  guchar *out,
02610                                  gint *state,
02611                                  guint *save);
02612 guchar *g_base64_decode (const gchar *text,
02613                                  gsize *out_len) __attribute__((__malloc__));
02614 guchar *g_base64_decode_inplace (gchar *text,
02615                                  gsize *out_len);
02616 
02617 
02618 
02619 # 38 "/usr/include/glib-2.0/glib.h" 2
02620 # 1 "/usr/include/glib-2.0/glib/gbitlock.h" 1
02621 # 26 "/usr/include/glib-2.0/glib/gbitlock.h"
02622 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
02623 # 27 "/usr/include/glib-2.0/glib/gbitlock.h" 2
02624 
02625 
02626 
02627 
02628 
02629 
02630 
02631 void g_bit_lock (volatile gint *address,
02632                                            gint lock_bit);
02633 gboolean g_bit_trylock (volatile gint *address,
02634                                            gint lock_bit);
02635 void g_bit_unlock (volatile gint *address,
02636                                            gint lock_bit);
02637 
02638 
02639 # 39 "/usr/include/glib-2.0/glib.h" 2
02640 # 1 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 1
02641 # 27 "/usr/include/glib-2.0/glib/gbookmarkfile.h"
02642 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
02643 # 28 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 2
02644 
02645 
02646 
02647 # 57 "/usr/include/glib-2.0/glib/gbookmarkfile.h"
02648 typedef enum
02649 {
02650   G_BOOKMARK_FILE_ERROR_INVALID_URI,
02651   G_BOOKMARK_FILE_ERROR_INVALID_VALUE,
02652   G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED,
02653   G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND,
02654   G_BOOKMARK_FILE_ERROR_READ,
02655   G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING,
02656   G_BOOKMARK_FILE_ERROR_WRITE,
02657   G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND
02658 } GBookmarkFileError;
02659 
02660 GQuark g_bookmark_file_error_quark (void);
02661 
02662 
02663 
02664 
02665 
02666 
02667 
02668 typedef struct _GBookmarkFile GBookmarkFile;
02669 
02670 GBookmarkFile *g_bookmark_file_new (void);
02671 void g_bookmark_file_free (GBookmarkFile *bookmark);
02672 
02673 gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark,
02674           const gchar *filename,
02675           GError **error);
02676 gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark,
02677           const gchar *data,
02678           gsize length,
02679           GError **error);
02680 gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark,
02681           const gchar *file,
02682           gchar **full_path,
02683           GError **error);
02684 gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark,
02685           gsize *length,
02686           GError **error) __attribute__((__malloc__));
02687 gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark,
02688           const gchar *filename,
02689           GError **error);
02690 
02691 void g_bookmark_file_set_title (GBookmarkFile *bookmark,
02692           const gchar *uri,
02693           const gchar *title);
02694 gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark,
02695           const gchar *uri,
02696           GError **error) __attribute__((__malloc__));
02697 void g_bookmark_file_set_description (GBookmarkFile *bookmark,
02698           const gchar *uri,
02699           const gchar *description);
02700 gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark,
02701           const gchar *uri,
02702           GError **error) __attribute__((__malloc__));
02703 void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark,
02704           const gchar *uri,
02705           const gchar *mime_type);
02706 gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark,
02707           const gchar *uri,
02708           GError **error) __attribute__((__malloc__));
02709 void g_bookmark_file_set_groups (GBookmarkFile *bookmark,
02710           const gchar *uri,
02711           const gchar **groups,
02712           gsize length);
02713 void g_bookmark_file_add_group (GBookmarkFile *bookmark,
02714           const gchar *uri,
02715           const gchar *group);
02716 gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark,
02717           const gchar *uri,
02718           const gchar *group,
02719           GError **error);
02720 gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark,
02721           const gchar *uri,
02722           gsize *length,
02723           GError **error) __attribute__((__malloc__));
02724 void g_bookmark_file_add_application (GBookmarkFile *bookmark,
02725           const gchar *uri,
02726           const gchar *name,
02727           const gchar *exec);
02728 gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark,
02729           const gchar *uri,
02730           const gchar *name,
02731           GError **error);
02732 gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark,
02733           const gchar *uri,
02734           gsize *length,
02735           GError **error) __attribute__((__malloc__));
02736 gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark,
02737           const gchar *uri,
02738           const gchar *name,
02739           const gchar *exec,
02740           gint count,
02741           time_t stamp,
02742           GError **error);
02743 gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark,
02744           const gchar *uri,
02745           const gchar *name,
02746           gchar **exec,
02747           guint *count,
02748           time_t *stamp,
02749           GError **error);
02750 void g_bookmark_file_set_is_private (GBookmarkFile *bookmark,
02751           const gchar *uri,
02752           gboolean is_private);
02753 gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark,
02754           const gchar *uri,
02755           GError **error);
02756 void g_bookmark_file_set_icon (GBookmarkFile *bookmark,
02757           const gchar *uri,
02758           const gchar *href,
02759           const gchar *mime_type);
02760 gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark,
02761           const gchar *uri,
02762           gchar **href,
02763           gchar **mime_type,
02764           GError **error);
02765 void g_bookmark_file_set_added (GBookmarkFile *bookmark,
02766           const gchar *uri,
02767           time_t added);
02768 time_t g_bookmark_file_get_added (GBookmarkFile *bookmark,
02769           const gchar *uri,
02770           GError **error);
02771 void g_bookmark_file_set_modified (GBookmarkFile *bookmark,
02772           const gchar *uri,
02773           time_t modified);
02774 time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark,
02775           const gchar *uri,
02776           GError **error);
02777 void g_bookmark_file_set_visited (GBookmarkFile *bookmark,
02778           const gchar *uri,
02779           time_t visited);
02780 time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark,
02781           const gchar *uri,
02782           GError **error);
02783 gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark,
02784           const gchar *uri);
02785 gint g_bookmark_file_get_size (GBookmarkFile *bookmark);
02786 gchar ** g_bookmark_file_get_uris (GBookmarkFile *bookmark,
02787           gsize *length) __attribute__((__malloc__));
02788 gboolean g_bookmark_file_remove_group (GBookmarkFile *bookmark,
02789           const gchar *uri,
02790           const gchar *group,
02791           GError **error);
02792 gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark,
02793           const gchar *uri,
02794           const gchar *name,
02795           GError **error);
02796 gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark,
02797           const gchar *uri,
02798           GError **error);
02799 gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark,
02800           const gchar *old_uri,
02801           const gchar *new_uri,
02802           GError **error);
02803 
02804 
02805 # 40 "/usr/include/glib-2.0/glib.h" 2
02806 # 1 "/usr/include/glib-2.0/glib/gcache.h" 1
02807 # 34 "/usr/include/glib-2.0/glib/gcache.h"
02808 # 1 "/usr/include/glib-2.0/glib/glist.h" 1
02809 # 34 "/usr/include/glib-2.0/glib/glist.h"
02810 # 1 "/usr/include/glib-2.0/glib/gmem.h" 1
02811 # 34 "/usr/include/glib-2.0/glib/gmem.h"
02812 # 1 "/usr/include/glib-2.0/glib/gslice.h" 1
02813 # 27 "/usr/include/glib-2.0/glib/gslice.h"
02814 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
02815 # 28 "/usr/include/glib-2.0/glib/gslice.h" 2
02816 
02817 
02818 
02819 
02820 
02821 gpointer g_slice_alloc (gsize block_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
02822 gpointer g_slice_alloc0 (gsize block_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
02823 gpointer g_slice_copy (gsize block_size,
02824                                          gconstpointer mem_block) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
02825 void g_slice_free1 (gsize block_size,
02826       gpointer mem_block);
02827 void g_slice_free_chain_with_offset (gsize block_size,
02828       gpointer mem_chain,
02829       gsize next_offset);
02830 # 72 "/usr/include/glib-2.0/glib/gslice.h"
02831 typedef enum {
02832   G_SLICE_CONFIG_ALWAYS_MALLOC = 1,
02833   G_SLICE_CONFIG_BYPASS_MAGAZINES,
02834   G_SLICE_CONFIG_WORKING_SET_MSECS,
02835   G_SLICE_CONFIG_COLOR_INCREMENT,
02836   G_SLICE_CONFIG_CHUNK_SIZES,
02837   G_SLICE_CONFIG_CONTENTION_COUNTER
02838 } GSliceConfig;
02839 void g_slice_set_config (GSliceConfig ckey, gint64 value);
02840 gint64 g_slice_get_config (GSliceConfig ckey);
02841 gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values);
02842 
02843 
02844 # 35 "/usr/include/glib-2.0/glib/gmem.h" 2
02845 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
02846 # 36 "/usr/include/glib-2.0/glib/gmem.h" 2
02847 
02848 
02849 # 52 "/usr/include/glib-2.0/glib/gmem.h"
02850 typedef struct _GMemVTable GMemVTable;
02851 # 71 "/usr/include/glib-2.0/glib/gmem.h"
02852 void g_free (gpointer mem);
02853 
02854 gpointer g_malloc (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
02855 gpointer g_malloc0 (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
02856 gpointer g_realloc (gpointer mem,
02857       gsize n_bytes) __attribute__((warn_unused_result));
02858 gpointer g_try_malloc (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
02859 gpointer g_try_malloc0 (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
02860 gpointer g_try_realloc (gpointer mem,
02861       gsize n_bytes) __attribute__((warn_unused_result));
02862 
02863 gpointer g_malloc_n (gsize n_blocks,
02864       gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
02865 gpointer g_malloc0_n (gsize n_blocks,
02866       gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
02867 gpointer g_realloc_n (gpointer mem,
02868       gsize n_blocks,
02869       gsize n_block_bytes) __attribute__((warn_unused_result));
02870 gpointer g_try_malloc_n (gsize n_blocks,
02871       gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
02872 gpointer g_try_malloc0_n (gsize n_blocks,
02873       gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
02874 gpointer g_try_realloc_n (gpointer mem,
02875       gsize n_blocks,
02876       gsize n_block_bytes) __attribute__((warn_unused_result));
02877 # 241 "/usr/include/glib-2.0/glib/gmem.h"
02878 struct _GMemVTable {
02879   gpointer (*malloc) (gsize n_bytes);
02880   gpointer (*realloc) (gpointer mem,
02881       gsize n_bytes);
02882   void (*free) (gpointer mem);
02883 
02884   gpointer (*calloc) (gsize n_blocks,
02885       gsize n_block_bytes);
02886   gpointer (*try_malloc) (gsize n_bytes);
02887   gpointer (*try_realloc) (gpointer mem,
02888       gsize n_bytes);
02889 };
02890 void g_mem_set_vtable (GMemVTable *vtable);
02891 gboolean g_mem_is_system_malloc (void);
02892 
02893 extern gboolean g_mem_gc_friendly;
02894 
02895 
02896 
02897 extern GMemVTable *glib_mem_profiler_table;
02898 void g_mem_profile (void);
02899 
02900 
02901 
02902 
02903 typedef struct _GAllocator GAllocator;
02904 typedef struct _GMemChunk GMemChunk;
02905 # 285 "/usr/include/glib-2.0/glib/gmem.h"
02906 GMemChunk* g_mem_chunk_new (const gchar *name,
02907     gint atom_size,
02908     gsize area_size,
02909     gint type);
02910 void g_mem_chunk_destroy (GMemChunk *mem_chunk);
02911 gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk);
02912 gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk);
02913 void g_mem_chunk_free (GMemChunk *mem_chunk,
02914     gpointer mem);
02915 void g_mem_chunk_clean (GMemChunk *mem_chunk);
02916 void g_mem_chunk_reset (GMemChunk *mem_chunk);
02917 void g_mem_chunk_print (GMemChunk *mem_chunk);
02918 void g_mem_chunk_info (void);
02919 void g_blow_chunks (void);
02920 GAllocator*g_allocator_new (const gchar *name,
02921     guint n_preallocs);
02922 void g_allocator_free (GAllocator *allocator);
02923 
02924 
02925 
02926 
02927 
02928 
02929 # 35 "/usr/include/glib-2.0/glib/glist.h" 2
02930 
02931 
02932 
02933 typedef struct _GList GList;
02934 
02935 struct _GList
02936 {
02937   gpointer data;
02938   GList *next;
02939   GList *prev;
02940 };
02941 
02942 
02943 
02944 GList* g_list_alloc (void) __attribute__((warn_unused_result));
02945 void g_list_free (GList *list);
02946 void g_list_free_1 (GList *list);
02947 
02948 void g_list_free_full (GList *list,
02949       GDestroyNotify free_func);
02950 GList* g_list_append (GList *list,
02951       gpointer data) __attribute__((warn_unused_result));
02952 GList* g_list_prepend (GList *list,
02953       gpointer data) __attribute__((warn_unused_result));
02954 GList* g_list_insert (GList *list,
02955       gpointer data,
02956       gint position) __attribute__((warn_unused_result));
02957 GList* g_list_insert_sorted (GList *list,
02958       gpointer data,
02959       GCompareFunc func) __attribute__((warn_unused_result));
02960 GList* g_list_insert_sorted_with_data (GList *list,
02961       gpointer data,
02962       GCompareDataFunc func,
02963       gpointer user_data) __attribute__((warn_unused_result));
02964 GList* g_list_insert_before (GList *list,
02965       GList *sibling,
02966       gpointer data) __attribute__((warn_unused_result));
02967 GList* g_list_concat (GList *list1,
02968       GList *list2) __attribute__((warn_unused_result));
02969 GList* g_list_remove (GList *list,
02970       gconstpointer data) __attribute__((warn_unused_result));
02971 GList* g_list_remove_all (GList *list,
02972       gconstpointer data) __attribute__((warn_unused_result));
02973 GList* g_list_remove_link (GList *list,
02974       GList *llink) __attribute__((warn_unused_result));
02975 GList* g_list_delete_link (GList *list,
02976       GList *link_) __attribute__((warn_unused_result));
02977 GList* g_list_reverse (GList *list) __attribute__((warn_unused_result));
02978 GList* g_list_copy (GList *list) __attribute__((warn_unused_result));
02979 GList* g_list_nth (GList *list,
02980       guint n);
02981 GList* g_list_nth_prev (GList *list,
02982       guint n);
02983 GList* g_list_find (GList *list,
02984       gconstpointer data);
02985 GList* g_list_find_custom (GList *list,
02986       gconstpointer data,
02987       GCompareFunc func);
02988 gint g_list_position (GList *list,
02989       GList *llink);
02990 gint g_list_index (GList *list,
02991       gconstpointer data);
02992 GList* g_list_last (GList *list);
02993 GList* g_list_first (GList *list);
02994 guint g_list_length (GList *list);
02995 void g_list_foreach (GList *list,
02996       GFunc func,
02997       gpointer user_data);
02998 GList* g_list_sort (GList *list,
02999       GCompareFunc compare_func) __attribute__((warn_unused_result));
03000 GList* g_list_sort_with_data (GList *list,
03001       GCompareDataFunc compare_func,
03002       gpointer user_data) __attribute__((warn_unused_result));
03003 gpointer g_list_nth_data (GList *list,
03004       guint n);
03005 
03006 
03007 
03008 
03009 
03010 
03011 void g_list_push_allocator (gpointer allocator);
03012 void g_list_pop_allocator (void);
03013 
03014 
03015 
03016 # 35 "/usr/include/glib-2.0/glib/gcache.h" 2
03017 
03018 
03019 
03020 typedef struct _GCache GCache;
03021 
03022 typedef gpointer (*GCacheNewFunc) (gpointer key);
03023 typedef gpointer (*GCacheDupFunc) (gpointer value);
03024 typedef void (*GCacheDestroyFunc) (gpointer value);
03025 
03026 
03027 
03028 GCache* g_cache_new (GCacheNewFunc value_new_func,
03029                                 GCacheDestroyFunc value_destroy_func,
03030                                 GCacheDupFunc key_dup_func,
03031                                 GCacheDestroyFunc key_destroy_func,
03032                                 GHashFunc hash_key_func,
03033                                 GHashFunc hash_value_func,
03034                                 GEqualFunc key_equal_func);
03035 void g_cache_destroy (GCache *cache);
03036 gpointer g_cache_insert (GCache *cache,
03037                                 gpointer key);
03038 void g_cache_remove (GCache *cache,
03039                                 gconstpointer value);
03040 void g_cache_key_foreach (GCache *cache,
03041                                 GHFunc func,
03042                                 gpointer user_data);
03043 
03044 void g_cache_value_foreach (GCache *cache,
03045                                 GHFunc func,
03046                                 gpointer user_data);
03047 
03048 
03049 
03050 # 41 "/usr/include/glib-2.0/glib.h" 2
03051 # 1 "/usr/include/glib-2.0/glib/gchecksum.h" 1
03052 # 28 "/usr/include/glib-2.0/glib/gchecksum.h"
03053 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
03054 # 29 "/usr/include/glib-2.0/glib/gchecksum.h" 2
03055 
03056 
03057 # 46 "/usr/include/glib-2.0/glib/gchecksum.h"
03058 typedef enum {
03059   G_CHECKSUM_MD5,
03060   G_CHECKSUM_SHA1,
03061   G_CHECKSUM_SHA256
03062 } GChecksumType;
03063 # 61 "/usr/include/glib-2.0/glib/gchecksum.h"
03064 typedef struct _GChecksum GChecksum;
03065 
03066 gssize g_checksum_type_get_length (GChecksumType checksum_type);
03067 
03068 GChecksum * g_checksum_new (GChecksumType checksum_type);
03069 void g_checksum_reset (GChecksum *checksum);
03070 GChecksum * g_checksum_copy (const GChecksum *checksum);
03071 void g_checksum_free (GChecksum *checksum);
03072 void g_checksum_update (GChecksum *checksum,
03073                                                      const guchar *data,
03074                                                      gssize length);
03075 const gchar *g_checksum_get_string (GChecksum *checksum);
03076 void g_checksum_get_digest (GChecksum *checksum,
03077                                                      guint8 *buffer,
03078                                                      gsize *digest_len);
03079 
03080 gchar *g_compute_checksum_for_data (GChecksumType checksum_type,
03081                                                      const guchar *data,
03082                                                      gsize length);
03083 gchar *g_compute_checksum_for_string (GChecksumType checksum_type,
03084                                                      const gchar *str,
03085                                                      gssize length);
03086 
03087 
03088 # 42 "/usr/include/glib-2.0/glib.h" 2
03089 # 1 "/usr/include/glib-2.0/glib/gcompletion.h" 1
03090 # 34 "/usr/include/glib-2.0/glib/gcompletion.h"
03091 # 1 "/usr/include/glib-2.0/glib/glist.h" 1
03092 # 35 "/usr/include/glib-2.0/glib/gcompletion.h" 2
03093 
03094 
03095 
03096 typedef struct _GCompletion GCompletion;
03097 
03098 typedef gchar* (*GCompletionFunc) (gpointer);
03099 
03100 
03101 
03102 
03103 typedef gint (*GCompletionStrncmpFunc) (const gchar *s1,
03104      const gchar *s2,
03105      gsize n);
03106 
03107 struct _GCompletion
03108 {
03109   GList* items;
03110   GCompletionFunc func;
03111 
03112   gchar* prefix;
03113   GList* cache;
03114   GCompletionStrncmpFunc strncmp_func;
03115 };
03116 
03117 
03118 
03119 GCompletion* g_completion_new (GCompletionFunc func);
03120 void g_completion_add_items (GCompletion* cmp,
03121                                          GList* items);
03122 void g_completion_remove_items (GCompletion* cmp,
03123                                          GList* items);
03124 void g_completion_clear_items (GCompletion* cmp);
03125 GList* g_completion_complete (GCompletion* cmp,
03126                                          const gchar* prefix,
03127                                          gchar** new_prefix);
03128 GList* g_completion_complete_utf8 (GCompletion *cmp,
03129                                          const gchar* prefix,
03130                                          gchar** new_prefix);
03131 void g_completion_set_compare (GCompletion *cmp,
03132              GCompletionStrncmpFunc strncmp_func);
03133 void g_completion_free (GCompletion* cmp);
03134 
03135 
03136 
03137 
03138 # 43 "/usr/include/glib-2.0/glib.h" 2
03139 # 1 "/usr/include/glib-2.0/glib/gconvert.h" 1
03140 # 34 "/usr/include/glib-2.0/glib/gconvert.h"
03141 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
03142 # 35 "/usr/include/glib-2.0/glib/gconvert.h" 2
03143 
03144 
03145 # 50 "/usr/include/glib-2.0/glib/gconvert.h"
03146 typedef enum
03147 {
03148   G_CONVERT_ERROR_NO_CONVERSION,
03149   G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
03150   G_CONVERT_ERROR_FAILED,
03151   G_CONVERT_ERROR_PARTIAL_INPUT,
03152   G_CONVERT_ERROR_BAD_URI,
03153   G_CONVERT_ERROR_NOT_ABSOLUTE_PATH
03154 } GConvertError;
03155 # 68 "/usr/include/glib-2.0/glib/gconvert.h"
03156 GQuark g_convert_error_quark (void);
03157 # 77 "/usr/include/glib-2.0/glib/gconvert.h"
03158 typedef struct _GIConv *GIConv;
03159 
03160 GIConv g_iconv_open (const gchar *to_codeset,
03161          const gchar *from_codeset);
03162 gsize g_iconv (GIConv converter,
03163          gchar **inbuf,
03164          gsize *inbytes_left,
03165          gchar **outbuf,
03166          gsize *outbytes_left);
03167 gint g_iconv_close (GIConv converter);
03168 
03169 
03170 gchar* g_convert (const gchar *str,
03171     gssize len,
03172     const gchar *to_codeset,
03173     const gchar *from_codeset,
03174     gsize *bytes_read,
03175     gsize *bytes_written,
03176     GError **error) __attribute__((__malloc__));
03177 gchar* g_convert_with_iconv (const gchar *str,
03178     gssize len,
03179     GIConv converter,
03180     gsize *bytes_read,
03181     gsize *bytes_written,
03182     GError **error) __attribute__((__malloc__));
03183 gchar* g_convert_with_fallback (const gchar *str,
03184     gssize len,
03185     const gchar *to_codeset,
03186     const gchar *from_codeset,
03187     const gchar *fallback,
03188     gsize *bytes_read,
03189     gsize *bytes_written,
03190     GError **error) __attribute__((__malloc__));
03191 
03192 
03193 
03194 
03195 gchar* g_locale_to_utf8 (const gchar *opsysstring,
03196       gssize len,
03197       gsize *bytes_read,
03198       gsize *bytes_written,
03199       GError **error) __attribute__((__malloc__));
03200 gchar* g_locale_from_utf8 (const gchar *utf8string,
03201       gssize len,
03202       gsize *bytes_read,
03203       gsize *bytes_written,
03204       GError **error) __attribute__((__malloc__));
03205 # 135 "/usr/include/glib-2.0/glib/gconvert.h"
03206 gchar* g_filename_to_utf8 (const gchar *opsysstring,
03207         gssize len,
03208         gsize *bytes_read,
03209         gsize *bytes_written,
03210         GError **error) __attribute__((__malloc__));
03211 gchar* g_filename_from_utf8 (const gchar *utf8string,
03212         gssize len,
03213         gsize *bytes_read,
03214         gsize *bytes_written,
03215         GError **error) __attribute__((__malloc__));
03216 
03217 gchar *g_filename_from_uri (const gchar *uri,
03218        gchar **hostname,
03219        GError **error) __attribute__((__malloc__));
03220 
03221 gchar *g_filename_to_uri (const gchar *filename,
03222        const gchar *hostname,
03223        GError **error) __attribute__((__malloc__));
03224 gchar *g_filename_display_name (const gchar *filename) __attribute__((__malloc__));
03225 gboolean g_get_filename_charsets (const gchar ***charsets);
03226 
03227 gchar *g_filename_display_basename (const gchar *filename) __attribute__((__malloc__));
03228 
03229 gchar **g_uri_list_extract_uris (const gchar *uri_list) __attribute__((__malloc__));
03230 
03231 
03232 # 44 "/usr/include/glib-2.0/glib.h" 2
03233 # 1 "/usr/include/glib-2.0/glib/gdataset.h" 1
03234 # 34 "/usr/include/glib-2.0/glib/gdataset.h"
03235 # 1 "/usr/include/glib-2.0/glib/gquark.h" 1
03236 # 35 "/usr/include/glib-2.0/glib/gdataset.h" 2
03237 
03238 
03239 
03240 typedef struct _GData GData;
03241 
03242 typedef void (*GDataForeachFunc) (GQuark key_id,
03243                                                  gpointer data,
03244                                                  gpointer user_data);
03245 
03246 
03247 
03248 void g_datalist_init (GData **datalist);
03249 void g_datalist_clear (GData **datalist);
03250 gpointer g_datalist_id_get_data (GData **datalist,
03251       GQuark key_id);
03252 void g_datalist_id_set_data_full (GData **datalist,
03253       GQuark key_id,
03254       gpointer data,
03255       GDestroyNotify destroy_func);
03256 gpointer g_datalist_id_remove_no_notify (GData **datalist,
03257       GQuark key_id);
03258 void g_datalist_foreach (GData **datalist,
03259       GDataForeachFunc func,
03260       gpointer user_data);
03261 # 69 "/usr/include/glib-2.0/glib/gdataset.h"
03262 void g_datalist_set_flags (GData **datalist,
03263       guint flags);
03264 void g_datalist_unset_flags (GData **datalist,
03265       guint flags);
03266 guint g_datalist_get_flags (GData **datalist);
03267 # 93 "/usr/include/glib-2.0/glib/gdataset.h"
03268 void g_dataset_destroy (gconstpointer dataset_location);
03269 gpointer g_dataset_id_get_data (gconstpointer dataset_location,
03270                                          GQuark key_id);
03271 void g_dataset_id_set_data_full (gconstpointer dataset_location,
03272                                          GQuark key_id,
03273                                          gpointer data,
03274                                          GDestroyNotify destroy_func);
03275 gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location,
03276                                          GQuark key_id);
03277 void g_dataset_foreach (gconstpointer dataset_location,
03278                                          GDataForeachFunc func,
03279                                          gpointer user_data);
03280 # 120 "/usr/include/glib-2.0/glib/gdataset.h"
03281 
03282 # 45 "/usr/include/glib-2.0/glib.h" 2
03283 # 1 "/usr/include/glib-2.0/glib/gdate.h" 1
03284 # 36 "/usr/include/glib-2.0/glib/gdate.h"
03285 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
03286 # 37 "/usr/include/glib-2.0/glib/gdate.h" 2
03287 # 1 "/usr/include/glib-2.0/glib/gquark.h" 1
03288 # 38 "/usr/include/glib-2.0/glib/gdate.h" 2
03289 
03290 
03291 # 50 "/usr/include/glib-2.0/glib/gdate.h"
03292 typedef gint32 GTime;
03293 typedef guint16 GDateYear;
03294 typedef guint8 GDateDay;
03295 typedef struct _GDate GDate;
03296 
03297 
03298 typedef enum
03299 {
03300   G_DATE_DAY = 0,
03301   G_DATE_MONTH = 1,
03302   G_DATE_YEAR = 2
03303 } GDateDMY;
03304 
03305 
03306 typedef enum
03307 {
03308   G_DATE_BAD_WEEKDAY = 0,
03309   G_DATE_MONDAY = 1,
03310   G_DATE_TUESDAY = 2,
03311   G_DATE_WEDNESDAY = 3,
03312   G_DATE_THURSDAY = 4,
03313   G_DATE_FRIDAY = 5,
03314   G_DATE_SATURDAY = 6,
03315   G_DATE_SUNDAY = 7
03316 } GDateWeekday;
03317 typedef enum
03318 {
03319   G_DATE_BAD_MONTH = 0,
03320   G_DATE_JANUARY = 1,
03321   G_DATE_FEBRUARY = 2,
03322   G_DATE_MARCH = 3,
03323   G_DATE_APRIL = 4,
03324   G_DATE_MAY = 5,
03325   G_DATE_JUNE = 6,
03326   G_DATE_JULY = 7,
03327   G_DATE_AUGUST = 8,
03328   G_DATE_SEPTEMBER = 9,
03329   G_DATE_OCTOBER = 10,
03330   G_DATE_NOVEMBER = 11,
03331   G_DATE_DECEMBER = 12
03332 } GDateMonth;
03333 # 101 "/usr/include/glib-2.0/glib/gdate.h"
03334 struct _GDate
03335 {
03336   guint julian_days : 32;
03337 
03338 
03339 
03340 
03341 
03342   guint julian : 1;
03343   guint dmy : 1;
03344 
03345 
03346   guint day : 6;
03347   guint month : 4;
03348   guint year : 16;
03349 };
03350 
03351 
03352 
03353 
03354 
03355 GDate* g_date_new (void);
03356 GDate* g_date_new_dmy (GDateDay day,
03357                                            GDateMonth month,
03358                                            GDateYear year);
03359 GDate* g_date_new_julian (guint32 julian_day);
03360 void g_date_free (GDate *date);
03361 
03362 
03363 
03364 
03365 
03366 
03367 gboolean g_date_valid (const GDate *date);
03368 gboolean g_date_valid_day (GDateDay day) __attribute__((__const__));
03369 gboolean g_date_valid_month (GDateMonth month) __attribute__((__const__));
03370 gboolean g_date_valid_year (GDateYear year) __attribute__((__const__));
03371 gboolean g_date_valid_weekday (GDateWeekday weekday) __attribute__((__const__));
03372 gboolean g_date_valid_julian (guint32 julian_date) __attribute__((__const__));
03373 gboolean g_date_valid_dmy (GDateDay day,
03374                                            GDateMonth month,
03375                                            GDateYear year) __attribute__((__const__));
03376 
03377 GDateWeekday g_date_get_weekday (const GDate *date);
03378 GDateMonth g_date_get_month (const GDate *date);
03379 GDateYear g_date_get_year (const GDate *date);
03380 GDateDay g_date_get_day (const GDate *date);
03381 guint32 g_date_get_julian (const GDate *date);
03382 guint g_date_get_day_of_year (const GDate *date);
03383 
03384 
03385 
03386 
03387 
03388 
03389 guint g_date_get_monday_week_of_year (const GDate *date);
03390 guint g_date_get_sunday_week_of_year (const GDate *date);
03391 guint g_date_get_iso8601_week_of_year (const GDate *date);
03392 
03393 
03394 
03395 
03396 
03397 void g_date_clear (GDate *date,
03398                                            guint n_dates);
03399 
03400 
03401 
03402 
03403 
03404 void g_date_set_parse (GDate *date,
03405                                            const gchar *str);
03406 void g_date_set_time_t (GDate *date,
03407         time_t timet);
03408 void g_date_set_time_val (GDate *date,
03409         GTimeVal *timeval);
03410 
03411 void g_date_set_time (GDate *date,
03412                                            GTime time_);
03413 
03414 void g_date_set_month (GDate *date,
03415                                            GDateMonth month);
03416 void g_date_set_day (GDate *date,
03417                                            GDateDay day);
03418 void g_date_set_year (GDate *date,
03419                                            GDateYear year);
03420 void g_date_set_dmy (GDate *date,
03421                                            GDateDay day,
03422                                            GDateMonth month,
03423                                            GDateYear y);
03424 void g_date_set_julian (GDate *date,
03425                                            guint32 julian_date);
03426 gboolean g_date_is_first_of_month (const GDate *date);
03427 gboolean g_date_is_last_of_month (const GDate *date);
03428 
03429 
03430 void g_date_add_days (GDate *date,
03431                                            guint n_days);
03432 void g_date_subtract_days (GDate *date,
03433                                            guint n_days);
03434 
03435 
03436 void g_date_add_months (GDate *date,
03437                                            guint n_months);
03438 void g_date_subtract_months (GDate *date,
03439                                            guint n_months);
03440 
03441 
03442 void g_date_add_years (GDate *date,
03443                                            guint n_years);
03444 void g_date_subtract_years (GDate *date,
03445                                            guint n_years);
03446 gboolean g_date_is_leap_year (GDateYear year) __attribute__((__const__));
03447 guint8 g_date_get_days_in_month (GDateMonth month,
03448                                            GDateYear year) __attribute__((__const__));
03449 guint8 g_date_get_monday_weeks_in_year (GDateYear year) __attribute__((__const__));
03450 guint8 g_date_get_sunday_weeks_in_year (GDateYear year) __attribute__((__const__));
03451 
03452 
03453 
03454 gint g_date_days_between (const GDate *date1,
03455         const GDate *date2);
03456 
03457 
03458 gint g_date_compare (const GDate *lhs,
03459                                            const GDate *rhs);
03460 void g_date_to_struct_tm (const GDate *date,
03461                                            struct tm *tm);
03462 
03463 void g_date_clamp (GDate *date,
03464         const GDate *min_date,
03465         const GDate *max_date);
03466 
03467 
03468 void g_date_order (GDate *date1, GDate *date2);
03469 
03470 
03471 
03472 
03473 gsize g_date_strftime (gchar *s,
03474                                            gsize slen,
03475                                            const gchar *format,
03476                                            const GDate *date);
03477 # 261 "/usr/include/glib-2.0/glib/gdate.h"
03478 
03479 # 46 "/usr/include/glib-2.0/glib.h" 2
03480 # 1 "/usr/include/glib-2.0/glib/gdatetime.h" 1
03481 # 33 "/usr/include/glib-2.0/glib/gdatetime.h"
03482 # 1 "/usr/include/glib-2.0/glib/gtimezone.h" 1
03483 # 29 "/usr/include/glib-2.0/glib/gtimezone.h"
03484 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
03485 # 30 "/usr/include/glib-2.0/glib/gtimezone.h" 2
03486 
03487 
03488 
03489 typedef struct _GTimeZone GTimeZone;
03490 # 50 "/usr/include/glib-2.0/glib/gtimezone.h"
03491 typedef enum
03492 {
03493   G_TIME_TYPE_STANDARD,
03494   G_TIME_TYPE_DAYLIGHT,
03495   G_TIME_TYPE_UNIVERSAL
03496 } GTimeType;
03497 
03498 GTimeZone * g_time_zone_new (const gchar *identifier);
03499 GTimeZone * g_time_zone_new_utc (void);
03500 GTimeZone * g_time_zone_new_local (void);
03501 
03502 GTimeZone * g_time_zone_ref (GTimeZone *tz);
03503 void g_time_zone_unref (GTimeZone *tz);
03504 
03505 gint g_time_zone_find_interval (GTimeZone *tz,
03506                                                                          GTimeType type,
03507                                                                          gint64 time);
03508 
03509 gint g_time_zone_adjust_time (GTimeZone *tz,
03510                                                                          GTimeType type,
03511                                                                          gint64 *time);
03512 
03513 const gchar * g_time_zone_get_abbreviation (GTimeZone *tz,
03514                                                                          gint interval);
03515 gint32 g_time_zone_get_offset (GTimeZone *tz,
03516                                                                          gint interval);
03517 gboolean g_time_zone_is_dst (GTimeZone *tz,
03518                                                                          gint interval);
03519 
03520 
03521 # 34 "/usr/include/glib-2.0/glib/gdatetime.h" 2
03522 
03523 
03524 # 89 "/usr/include/glib-2.0/glib/gdatetime.h"
03525 typedef gint64 GTimeSpan;
03526 # 99 "/usr/include/glib-2.0/glib/gdatetime.h"
03527 typedef struct _GDateTime GDateTime;
03528 
03529 void g_date_time_unref (GDateTime *datetime);
03530 GDateTime * g_date_time_ref (GDateTime *datetime);
03531 
03532 GDateTime * g_date_time_new_now (GTimeZone *tz);
03533 GDateTime * g_date_time_new_now_local (void);
03534 GDateTime * g_date_time_new_now_utc (void);
03535 
03536 GDateTime * g_date_time_new_from_unix_local (gint64 t);
03537 GDateTime * g_date_time_new_from_unix_utc (gint64 t);
03538 
03539 GDateTime * g_date_time_new_from_timeval_local (const GTimeVal *tv);
03540 GDateTime * g_date_time_new_from_timeval_utc (const GTimeVal *tv);
03541 
03542 GDateTime * g_date_time_new (GTimeZone *tz,
03543                                                                          gint year,
03544                                                                          gint month,
03545                                                                          gint day,
03546                                                                          gint hour,
03547                                                                          gint minute,
03548                                                                          gdouble seconds);
03549 GDateTime * g_date_time_new_local (gint year,
03550                                                                          gint month,
03551                                                                          gint day,
03552                                                                          gint hour,
03553                                                                          gint minute,
03554                                                                          gdouble seconds);
03555 GDateTime * g_date_time_new_utc (gint year,
03556                                                                          gint month,
03557                                                                          gint day,
03558                                                                          gint hour,
03559                                                                          gint minute,
03560                                                                          gdouble seconds);
03561 
03562 __attribute__((warn_unused_result))
03563 GDateTime * g_date_time_add (GDateTime *datetime,
03564                                                                          GTimeSpan timespan);
03565 
03566 __attribute__((warn_unused_result))
03567 GDateTime * g_date_time_add_years (GDateTime *datetime,
03568                                                                          gint years);
03569 __attribute__((warn_unused_result))
03570 GDateTime * g_date_time_add_months (GDateTime *datetime,
03571                                                                          gint months);
03572 __attribute__((warn_unused_result))
03573 GDateTime * g_date_time_add_weeks (GDateTime *datetime,
03574                                                                          gint weeks);
03575 __attribute__((warn_unused_result))
03576 GDateTime * g_date_time_add_days (GDateTime *datetime,
03577                                                                          gint days);
03578 
03579 __attribute__((warn_unused_result))
03580 GDateTime * g_date_time_add_hours (GDateTime *datetime,
03581                                                                          gint hours);
03582 __attribute__((warn_unused_result))
03583 GDateTime * g_date_time_add_minutes (GDateTime *datetime,
03584                                                                          gint minutes);
03585 __attribute__((warn_unused_result))
03586 GDateTime * g_date_time_add_seconds (GDateTime *datetime,
03587                                                                          gdouble seconds);
03588 
03589 __attribute__((warn_unused_result))
03590 GDateTime * g_date_time_add_full (GDateTime *datetime,
03591                                                                          gint years,
03592                                                                          gint months,
03593                                                                          gint days,
03594                                                                          gint hours,
03595                                                                          gint minutes,
03596                                                                          gdouble seconds);
03597 
03598 gint g_date_time_compare (gconstpointer dt1,
03599                                                                          gconstpointer dt2);
03600 GTimeSpan g_date_time_difference (GDateTime *end,
03601                                                                          GDateTime *begin);
03602 guint g_date_time_hash (gconstpointer datetime);
03603 gboolean g_date_time_equal (gconstpointer dt1,
03604                                                                          gconstpointer dt2);
03605 
03606 void g_date_time_get_ymd (GDateTime *datetime,
03607                                                                          gint *year,
03608                                                                          gint *month,
03609                                                                          gint *day);
03610 
03611 gint g_date_time_get_year (GDateTime *datetime);
03612 gint g_date_time_get_month (GDateTime *datetime);
03613 gint g_date_time_get_day_of_month (GDateTime *datetime);
03614 
03615 gint g_date_time_get_week_numbering_year (GDateTime *datetime);
03616 gint g_date_time_get_week_of_year (GDateTime *datetime);
03617 gint g_date_time_get_day_of_week (GDateTime *datetime);
03618 
03619 gint g_date_time_get_day_of_year (GDateTime *datetime);
03620 
03621 gint g_date_time_get_hour (GDateTime *datetime);
03622 gint g_date_time_get_minute (GDateTime *datetime);
03623 gint g_date_time_get_second (GDateTime *datetime);
03624 gint g_date_time_get_microsecond (GDateTime *datetime);
03625 gdouble g_date_time_get_seconds (GDateTime *datetime);
03626 
03627 gint64 g_date_time_to_unix (GDateTime *datetime);
03628 gboolean g_date_time_to_timeval (GDateTime *datetime,
03629                                                                          GTimeVal *tv);
03630 
03631 GTimeSpan g_date_time_get_utc_offset (GDateTime *datetime);
03632 const gchar * g_date_time_get_timezone_abbreviation (GDateTime *datetime);
03633 gboolean g_date_time_is_daylight_savings (GDateTime *datetime);
03634 
03635 GDateTime * g_date_time_to_timezone (GDateTime *datetime,
03636                                                                          GTimeZone *tz);
03637 GDateTime * g_date_time_to_local (GDateTime *datetime);
03638 GDateTime * g_date_time_to_utc (GDateTime *datetime);
03639 
03640 gchar * g_date_time_format (GDateTime *datetime,
03641                                                                          const gchar *format) __attribute__((__malloc__));
03642 
03643 
03644 # 47 "/usr/include/glib-2.0/glib.h" 2
03645 # 1 "/usr/include/glib-2.0/glib/gdir.h" 1
03646 # 31 "/usr/include/glib-2.0/glib/gdir.h"
03647 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
03648 # 32 "/usr/include/glib-2.0/glib/gdir.h" 2
03649 
03650 
03651 
03652 typedef struct _GDir GDir;
03653 
03654 
03655 
03656 
03657 
03658 
03659 
03660 GDir * g_dir_open (const gchar *path,
03661             guint flags,
03662             GError **error);
03663 const gchar *g_dir_read_name (GDir *dir);
03664 void g_dir_rewind (GDir *dir);
03665 void g_dir_close (GDir *dir);
03666 
03667 
03668 # 48 "/usr/include/glib-2.0/glib.h" 2
03669 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
03670 # 49 "/usr/include/glib-2.0/glib.h" 2
03671 # 1 "/usr/include/glib-2.0/glib/gfileutils.h" 1
03672 # 28 "/usr/include/glib-2.0/glib/gfileutils.h"
03673 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
03674 # 29 "/usr/include/glib-2.0/glib/gfileutils.h" 2
03675 
03676 
03677 
03678 
03679 
03680 typedef enum
03681 {
03682   G_FILE_ERROR_EXIST,
03683   G_FILE_ERROR_ISDIR,
03684   G_FILE_ERROR_ACCES,
03685   G_FILE_ERROR_NAMETOOLONG,
03686   G_FILE_ERROR_NOENT,
03687   G_FILE_ERROR_NOTDIR,
03688   G_FILE_ERROR_NXIO,
03689   G_FILE_ERROR_NODEV,
03690   G_FILE_ERROR_ROFS,
03691   G_FILE_ERROR_TXTBSY,
03692   G_FILE_ERROR_FAULT,
03693   G_FILE_ERROR_LOOP,
03694   G_FILE_ERROR_NOSPC,
03695   G_FILE_ERROR_NOMEM,
03696   G_FILE_ERROR_MFILE,
03697   G_FILE_ERROR_NFILE,
03698   G_FILE_ERROR_BADF,
03699   G_FILE_ERROR_INVAL,
03700   G_FILE_ERROR_PIPE,
03701   G_FILE_ERROR_AGAIN,
03702   G_FILE_ERROR_INTR,
03703   G_FILE_ERROR_IO,
03704   G_FILE_ERROR_PERM,
03705   G_FILE_ERROR_NOSYS,
03706   G_FILE_ERROR_FAILED
03707 } GFileError;
03708 
03709 
03710 
03711 
03712 
03713 typedef enum
03714 {
03715   G_FILE_TEST_IS_REGULAR = 1 << 0,
03716   G_FILE_TEST_IS_SYMLINK = 1 << 1,
03717   G_FILE_TEST_IS_DIR = 1 << 2,
03718   G_FILE_TEST_IS_EXECUTABLE = 1 << 3,
03719   G_FILE_TEST_EXISTS = 1 << 4
03720 } GFileTest;
03721 
03722 GQuark g_file_error_quark (void);
03723 
03724 GFileError g_file_error_from_errno (gint err_no);
03725 # 87 "/usr/include/glib-2.0/glib/gfileutils.h"
03726 gboolean g_file_test (const gchar *filename,
03727                               GFileTest test);
03728 gboolean g_file_get_contents (const gchar *filename,
03729                               gchar **contents,
03730                               gsize *length,
03731                               GError **error);
03732 gboolean g_file_set_contents (const gchar *filename,
03733          const gchar *contents,
03734          gssize length,
03735          GError **error);
03736 gchar *g_file_read_link (const gchar *filename,
03737          GError **error);
03738 
03739 
03740 gint g_mkstemp (gchar *tmpl);
03741 gint g_mkstemp_full (gchar *tmpl,
03742                               int flags,
03743                               int mode);
03744 
03745 
03746 gint g_file_open_tmp (const gchar *tmpl,
03747          gchar **name_used,
03748          GError **error);
03749 
03750 char *g_format_size_for_display (goffset size);
03751 
03752 gchar *g_build_path (const gchar *separator,
03753     const gchar *first_element,
03754     ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
03755 gchar *g_build_pathv (const gchar *separator,
03756     gchar **args) __attribute__((__malloc__));
03757 
03758 gchar *g_build_filename (const gchar *first_element,
03759     ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
03760 gchar *g_build_filenamev (gchar **args) __attribute__((__malloc__));
03761 
03762 int g_mkdir_with_parents (const gchar *pathname,
03763         int mode);
03764 
03765 
03766 # 50 "/usr/include/glib-2.0/glib.h" 2
03767 # 1 "/usr/include/glib-2.0/glib/ghash.h" 1
03768 # 34 "/usr/include/glib-2.0/glib/ghash.h"
03769 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
03770 # 35 "/usr/include/glib-2.0/glib/ghash.h" 2
03771 # 1 "/usr/include/glib-2.0/glib/glist.h" 1
03772 # 36 "/usr/include/glib-2.0/glib/ghash.h" 2
03773 
03774 
03775 
03776 typedef struct _GHashTable GHashTable;
03777 
03778 typedef gboolean (*GHRFunc) (gpointer key,
03779                                gpointer value,
03780                                gpointer user_data);
03781 
03782 typedef struct _GHashTableIter GHashTableIter;
03783 
03784 struct _GHashTableIter
03785 {
03786 
03787   gpointer dummy1;
03788   gpointer dummy2;
03789   gpointer dummy3;
03790   int dummy4;
03791   gboolean dummy5;
03792   gpointer dummy6;
03793 };
03794 
03795 
03796 
03797 GHashTable* g_hash_table_new (GHashFunc hash_func,
03798          GEqualFunc key_equal_func);
03799 GHashTable* g_hash_table_new_full (GHashFunc hash_func,
03800          GEqualFunc key_equal_func,
03801          GDestroyNotify key_destroy_func,
03802          GDestroyNotify value_destroy_func);
03803 void g_hash_table_destroy (GHashTable *hash_table);
03804 void g_hash_table_insert (GHashTable *hash_table,
03805          gpointer key,
03806          gpointer value);
03807 void g_hash_table_replace (GHashTable *hash_table,
03808          gpointer key,
03809          gpointer value);
03810 gboolean g_hash_table_remove (GHashTable *hash_table,
03811          gconstpointer key);
03812 void g_hash_table_remove_all (GHashTable *hash_table);
03813 gboolean g_hash_table_steal (GHashTable *hash_table,
03814          gconstpointer key);
03815 void g_hash_table_steal_all (GHashTable *hash_table);
03816 gpointer g_hash_table_lookup (GHashTable *hash_table,
03817          gconstpointer key);
03818 gboolean g_hash_table_lookup_extended (GHashTable *hash_table,
03819          gconstpointer lookup_key,
03820          gpointer *orig_key,
03821          gpointer *value);
03822 void g_hash_table_foreach (GHashTable *hash_table,
03823          GHFunc func,
03824          gpointer user_data);
03825 gpointer g_hash_table_find (GHashTable *hash_table,
03826          GHRFunc predicate,
03827          gpointer user_data);
03828 guint g_hash_table_foreach_remove (GHashTable *hash_table,
03829          GHRFunc func,
03830          gpointer user_data);
03831 guint g_hash_table_foreach_steal (GHashTable *hash_table,
03832          GHRFunc func,
03833          gpointer user_data);
03834 guint g_hash_table_size (GHashTable *hash_table);
03835 GList * g_hash_table_get_keys (GHashTable *hash_table);
03836 GList * g_hash_table_get_values (GHashTable *hash_table);
03837 
03838 void g_hash_table_iter_init (GHashTableIter *iter,
03839          GHashTable *hash_table);
03840 gboolean g_hash_table_iter_next (GHashTableIter *iter,
03841          gpointer *key,
03842          gpointer *value);
03843 GHashTable* g_hash_table_iter_get_hash_table (GHashTableIter *iter);
03844 void g_hash_table_iter_remove (GHashTableIter *iter);
03845 void g_hash_table_iter_steal (GHashTableIter *iter);
03846 
03847 
03848 GHashTable* g_hash_table_ref (GHashTable *hash_table);
03849 void g_hash_table_unref (GHashTable *hash_table);
03850 # 138 "/usr/include/glib-2.0/glib/ghash.h"
03851 gboolean g_str_equal (gconstpointer v1,
03852                       gconstpointer v2);
03853 guint g_str_hash (gconstpointer v);
03854 
03855 gboolean g_int_equal (gconstpointer v1,
03856                       gconstpointer v2);
03857 guint g_int_hash (gconstpointer v);
03858 
03859 gboolean g_int64_equal (gconstpointer v1,
03860                         gconstpointer v2);
03861 guint g_int64_hash (gconstpointer v);
03862 
03863 gboolean g_double_equal (gconstpointer v1,
03864                          gconstpointer v2);
03865 guint g_double_hash (gconstpointer v);
03866 
03867 
03868 
03869 
03870 
03871 
03872 
03873 guint g_direct_hash (gconstpointer v) __attribute__((__const__));
03874 gboolean g_direct_equal (gconstpointer v1,
03875                          gconstpointer v2) __attribute__((__const__));
03876 
03877 
03878 # 51 "/usr/include/glib-2.0/glib.h" 2
03879 # 1 "/usr/include/glib-2.0/glib/ghook.h" 1
03880 # 34 "/usr/include/glib-2.0/glib/ghook.h"
03881 # 1 "/usr/include/glib-2.0/glib/gmem.h" 1
03882 # 35 "/usr/include/glib-2.0/glib/ghook.h" 2
03883 
03884 
03885 
03886 
03887 
03888 typedef struct _GHook GHook;
03889 typedef struct _GHookList GHookList;
03890 
03891 typedef gint (*GHookCompareFunc) (GHook *new_hook,
03892        GHook *sibling);
03893 typedef gboolean (*GHookFindFunc) (GHook *hook,
03894        gpointer data);
03895 typedef void (*GHookMarshaller) (GHook *hook,
03896        gpointer marshal_data);
03897 typedef gboolean (*GHookCheckMarshaller) (GHook *hook,
03898        gpointer marshal_data);
03899 typedef void (*GHookFunc) (gpointer data);
03900 typedef gboolean (*GHookCheckFunc) (gpointer data);
03901 typedef void (*GHookFinalizeFunc) (GHookList *hook_list,
03902        GHook *hook);
03903 typedef enum
03904 {
03905   G_HOOK_FLAG_ACTIVE = 1 << 0,
03906   G_HOOK_FLAG_IN_CALL = 1 << 1,
03907   G_HOOK_FLAG_MASK = 0x0f
03908 } GHookFlagMask;
03909 
03910 
03911 
03912 
03913 struct _GHookList
03914 {
03915   gulong seq_id;
03916   guint hook_size : 16;
03917   guint is_setup : 1;
03918   GHook *hooks;
03919   gpointer dummy3;
03920   GHookFinalizeFunc finalize_hook;
03921   gpointer dummy[2];
03922 };
03923 struct _GHook
03924 {
03925   gpointer data;
03926   GHook *next;
03927   GHook *prev;
03928   guint ref_count;
03929   gulong hook_id;
03930   guint flags;
03931   gpointer func;
03932   GDestroyNotify destroy;
03933 };
03934 # 106 "/usr/include/glib-2.0/glib/ghook.h"
03935 void g_hook_list_init (GHookList *hook_list,
03936       guint hook_size);
03937 void g_hook_list_clear (GHookList *hook_list);
03938 GHook* g_hook_alloc (GHookList *hook_list);
03939 void g_hook_free (GHookList *hook_list,
03940       GHook *hook);
03941 GHook * g_hook_ref (GHookList *hook_list,
03942       GHook *hook);
03943 void g_hook_unref (GHookList *hook_list,
03944       GHook *hook);
03945 gboolean g_hook_destroy (GHookList *hook_list,
03946       gulong hook_id);
03947 void g_hook_destroy_link (GHookList *hook_list,
03948       GHook *hook);
03949 void g_hook_prepend (GHookList *hook_list,
03950       GHook *hook);
03951 void g_hook_insert_before (GHookList *hook_list,
03952       GHook *sibling,
03953       GHook *hook);
03954 void g_hook_insert_sorted (GHookList *hook_list,
03955       GHook *hook,
03956       GHookCompareFunc func);
03957 GHook* g_hook_get (GHookList *hook_list,
03958       gulong hook_id);
03959 GHook* g_hook_find (GHookList *hook_list,
03960       gboolean need_valids,
03961       GHookFindFunc func,
03962       gpointer data);
03963 GHook* g_hook_find_data (GHookList *hook_list,
03964       gboolean need_valids,
03965       gpointer data);
03966 GHook* g_hook_find_func (GHookList *hook_list,
03967       gboolean need_valids,
03968       gpointer func);
03969 GHook* g_hook_find_func_data (GHookList *hook_list,
03970       gboolean need_valids,
03971       gpointer func,
03972       gpointer data);
03973 
03974 GHook* g_hook_first_valid (GHookList *hook_list,
03975       gboolean may_be_in_call);
03976 
03977 
03978 
03979 GHook* g_hook_next_valid (GHookList *hook_list,
03980       GHook *hook,
03981       gboolean may_be_in_call);
03982 
03983 gint g_hook_compare_ids (GHook *new_hook,
03984       GHook *sibling);
03985 
03986 
03987 
03988 
03989 
03990 void g_hook_list_invoke (GHookList *hook_list,
03991       gboolean may_recurse);
03992 
03993 
03994 
03995 void g_hook_list_invoke_check (GHookList *hook_list,
03996       gboolean may_recurse);
03997 
03998 
03999 void g_hook_list_marshal (GHookList *hook_list,
04000       gboolean may_recurse,
04001       GHookMarshaller marshaller,
04002       gpointer marshal_data);
04003 void g_hook_list_marshal_check (GHookList *hook_list,
04004       gboolean may_recurse,
04005       GHookCheckMarshaller marshaller,
04006       gpointer marshal_data);
04007 
04008 
04009 # 52 "/usr/include/glib-2.0/glib.h" 2
04010 # 1 "/usr/include/glib-2.0/glib/ghostutils.h" 1
04011 # 27 "/usr/include/glib-2.0/glib/ghostutils.h"
04012 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
04013 # 28 "/usr/include/glib-2.0/glib/ghostutils.h" 2
04014 
04015 
04016 
04017 gboolean g_hostname_is_non_ascii (const gchar *hostname);
04018 gboolean g_hostname_is_ascii_encoded (const gchar *hostname);
04019 gboolean g_hostname_is_ip_address (const gchar *hostname);
04020 
04021 gchar *g_hostname_to_ascii (const gchar *hostname);
04022 gchar *g_hostname_to_unicode (const gchar *hostname);
04023 
04024 
04025 # 53 "/usr/include/glib-2.0/glib.h" 2
04026 # 1 "/usr/include/glib-2.0/glib/giochannel.h" 1
04027 # 34 "/usr/include/glib-2.0/glib/giochannel.h"
04028 # 1 "/usr/include/glib-2.0/glib/gconvert.h" 1
04029 # 35 "/usr/include/glib-2.0/glib/giochannel.h" 2
04030 # 1 "/usr/include/glib-2.0/glib/gmain.h" 1
04031 # 27 "/usr/include/glib-2.0/glib/gmain.h"
04032 # 1 "/usr/include/glib-2.0/glib/gpoll.h" 1
04033 # 27 "/usr/include/glib-2.0/glib/gpoll.h"
04034 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
04035 # 28 "/usr/include/glib-2.0/glib/gpoll.h" 2
04036 
04037 
04038 # 61 "/usr/include/glib-2.0/glib/gpoll.h"
04039 typedef struct _GPollFD GPollFD;
04040 # 76 "/usr/include/glib-2.0/glib/gpoll.h"
04041 typedef gint (*GPollFunc) (GPollFD *ufds,
04042                                  guint nfsd,
04043                                  gint timeout_);
04044 # 90 "/usr/include/glib-2.0/glib/gpoll.h"
04045 struct _GPollFD
04046 {
04047 
04048 
04049 
04050   gint fd;
04051 
04052   gushort events;
04053   gushort revents;
04054 };
04055 # 111 "/usr/include/glib-2.0/glib/gpoll.h"
04056 gint g_poll (GPollFD *fds,
04057       guint nfds,
04058       gint timeout);
04059 
04060 
04061 # 28 "/usr/include/glib-2.0/glib/gmain.h" 2
04062 # 1 "/usr/include/glib-2.0/glib/gslist.h" 1
04063 # 34 "/usr/include/glib-2.0/glib/gslist.h"
04064 # 1 "/usr/include/glib-2.0/glib/gmem.h" 1
04065 # 35 "/usr/include/glib-2.0/glib/gslist.h" 2
04066 
04067 
04068 
04069 typedef struct _GSList GSList;
04070 
04071 struct _GSList
04072 {
04073   gpointer data;
04074   GSList *next;
04075 };
04076 
04077 
04078 
04079 GSList* g_slist_alloc (void) __attribute__((warn_unused_result));
04080 void g_slist_free (GSList *list);
04081 void g_slist_free_1 (GSList *list);
04082 
04083 void g_slist_free_full (GSList *list,
04084        GDestroyNotify free_func);
04085 GSList* g_slist_append (GSList *list,
04086        gpointer data) __attribute__((warn_unused_result));
04087 GSList* g_slist_prepend (GSList *list,
04088        gpointer data) __attribute__((warn_unused_result));
04089 GSList* g_slist_insert (GSList *list,
04090        gpointer data,
04091        gint position) __attribute__((warn_unused_result));
04092 GSList* g_slist_insert_sorted (GSList *list,
04093        gpointer data,
04094        GCompareFunc func) __attribute__((warn_unused_result));
04095 GSList* g_slist_insert_sorted_with_data (GSList *list,
04096        gpointer data,
04097        GCompareDataFunc func,
04098        gpointer user_data) __attribute__((warn_unused_result));
04099 GSList* g_slist_insert_before (GSList *slist,
04100        GSList *sibling,
04101        gpointer data) __attribute__((warn_unused_result));
04102 GSList* g_slist_concat (GSList *list1,
04103        GSList *list2) __attribute__((warn_unused_result));
04104 GSList* g_slist_remove (GSList *list,
04105        gconstpointer data) __attribute__((warn_unused_result));
04106 GSList* g_slist_remove_all (GSList *list,
04107        gconstpointer data) __attribute__((warn_unused_result));
04108 GSList* g_slist_remove_link (GSList *list,
04109        GSList *link_) __attribute__((warn_unused_result));
04110 GSList* g_slist_delete_link (GSList *list,
04111        GSList *link_) __attribute__((warn_unused_result));
04112 GSList* g_slist_reverse (GSList *list) __attribute__((warn_unused_result));
04113 GSList* g_slist_copy (GSList *list) __attribute__((warn_unused_result));
04114 GSList* g_slist_nth (GSList *list,
04115        guint n);
04116 GSList* g_slist_find (GSList *list,
04117        gconstpointer data);
04118 GSList* g_slist_find_custom (GSList *list,
04119        gconstpointer data,
04120        GCompareFunc func);
04121 gint g_slist_position (GSList *list,
04122        GSList *llink);
04123 gint g_slist_index (GSList *list,
04124        gconstpointer data);
04125 GSList* g_slist_last (GSList *list);
04126 guint g_slist_length (GSList *list);
04127 void g_slist_foreach (GSList *list,
04128        GFunc func,
04129        gpointer user_data);
04130 GSList* g_slist_sort (GSList *list,
04131        GCompareFunc compare_func) __attribute__((warn_unused_result));
04132 GSList* g_slist_sort_with_data (GSList *list,
04133        GCompareDataFunc compare_func,
04134        gpointer user_data) __attribute__((warn_unused_result));
04135 gpointer g_slist_nth_data (GSList *list,
04136        guint n);
04137 
04138 
04139 
04140 
04141 void g_slist_push_allocator (gpointer dummy);
04142 void g_slist_pop_allocator (void);
04143 
04144 
04145 
04146 # 29 "/usr/include/glib-2.0/glib/gmain.h" 2
04147 # 1 "/usr/include/glib-2.0/glib/gthread.h" 1
04148 # 30 "/usr/include/glib-2.0/glib/gmain.h" 2
04149 
04150 
04151 
04152 
04153 
04154 
04155 
04156 
04157 
04158 typedef struct _GMainContext GMainContext;
04159 
04160 
04161 
04162 
04163 
04164 
04165 
04166 typedef struct _GMainLoop GMainLoop;
04167 
04168 
04169 
04170 
04171 
04172 
04173 
04174 typedef struct _GSource GSource;
04175 typedef struct _GSourcePrivate GSourcePrivate;
04176 # 68 "/usr/include/glib-2.0/glib/gmain.h"
04177 typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
04178 # 115 "/usr/include/glib-2.0/glib/gmain.h"
04179 typedef struct _GSourceFuncs GSourceFuncs;
04180 # 126 "/usr/include/glib-2.0/glib/gmain.h"
04181 typedef gboolean (*GSourceFunc) (gpointer data);
04182 # 137 "/usr/include/glib-2.0/glib/gmain.h"
04183 typedef void (*GChildWatchFunc) (GPid pid,
04184                                        gint status,
04185                                        gpointer data);
04186 struct _GSource
04187 {
04188 
04189   gpointer callback_data;
04190   GSourceCallbackFuncs *callback_funcs;
04191 
04192   GSourceFuncs *source_funcs;
04193   guint ref_count;
04194 
04195   GMainContext *context;
04196 
04197   gint priority;
04198   guint flags;
04199   guint source_id;
04200 
04201   GSList *poll_fds;
04202 
04203   GSource *prev;
04204   GSource *next;
04205 
04206   char *name;
04207 
04208   GSourcePrivate *priv;
04209 };
04210 
04211 struct _GSourceCallbackFuncs
04212 {
04213   void (*ref) (gpointer cb_data);
04214   void (*unref) (gpointer cb_data);
04215   void (*get) (gpointer cb_data,
04216                  GSource *source,
04217                  GSourceFunc *func,
04218                  gpointer *data);
04219 };
04220 
04221 typedef void (*GSourceDummyMarshal) (void);
04222 
04223 struct _GSourceFuncs
04224 {
04225   gboolean (*prepare) (GSource *source,
04226                         gint *timeout_);
04227   gboolean (*check) (GSource *source);
04228   gboolean (*dispatch) (GSource *source,
04229                         GSourceFunc callback,
04230                         gpointer user_data);
04231   void (*finalize) (GSource *source);
04232 
04233 
04234   GSourceFunc closure_callback;
04235   GSourceDummyMarshal closure_marshal;
04236 };
04237 # 247 "/usr/include/glib-2.0/glib/gmain.h"
04238 GMainContext *g_main_context_new (void);
04239 GMainContext *g_main_context_ref (GMainContext *context);
04240 void g_main_context_unref (GMainContext *context);
04241 GMainContext *g_main_context_default (void);
04242 
04243 gboolean g_main_context_iteration (GMainContext *context,
04244                                         gboolean may_block);
04245 gboolean g_main_context_pending (GMainContext *context);
04246 
04247 
04248 
04249 GSource *g_main_context_find_source_by_id (GMainContext *context,
04250                                                              guint source_id);
04251 GSource *g_main_context_find_source_by_user_data (GMainContext *context,
04252                                                              gpointer user_data);
04253 GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context,
04254                                                              GSourceFuncs *funcs,
04255                                                              gpointer user_data);
04256 
04257 
04258 
04259 void g_main_context_wakeup (GMainContext *context);
04260 gboolean g_main_context_acquire (GMainContext *context);
04261 void g_main_context_release (GMainContext *context);
04262 gboolean g_main_context_is_owner (GMainContext *context);
04263 gboolean g_main_context_wait (GMainContext *context,
04264                                  GCond *cond,
04265                                  GMutex *mutex);
04266 
04267 gboolean g_main_context_prepare (GMainContext *context,
04268                                   gint *priority);
04269 gint g_main_context_query (GMainContext *context,
04270                                   gint max_priority,
04271                                   gint *timeout_,
04272                                   GPollFD *fds,
04273                                   gint n_fds);
04274 gint g_main_context_check (GMainContext *context,
04275                                   gint max_priority,
04276                                   GPollFD *fds,
04277                                   gint n_fds);
04278 void g_main_context_dispatch (GMainContext *context);
04279 
04280 void g_main_context_set_poll_func (GMainContext *context,
04281                                        GPollFunc func);
04282 GPollFunc g_main_context_get_poll_func (GMainContext *context);
04283 
04284 
04285 
04286 void g_main_context_add_poll (GMainContext *context,
04287                                      GPollFD *fd,
04288                                      gint priority);
04289 void g_main_context_remove_poll (GMainContext *context,
04290                                      GPollFD *fd);
04291 
04292 gint g_main_depth (void);
04293 GSource *g_main_current_source (void);
04294 
04295 
04296 
04297 void g_main_context_push_thread_default (GMainContext *context);
04298 void g_main_context_pop_thread_default (GMainContext *context);
04299 GMainContext *g_main_context_get_thread_default (void);
04300 
04301 
04302 
04303 GMainLoop *g_main_loop_new (GMainContext *context,
04304                                    gboolean is_running);
04305 void g_main_loop_run (GMainLoop *loop);
04306 void g_main_loop_quit (GMainLoop *loop);
04307 GMainLoop *g_main_loop_ref (GMainLoop *loop);
04308 void g_main_loop_unref (GMainLoop *loop);
04309 gboolean g_main_loop_is_running (GMainLoop *loop);
04310 GMainContext *g_main_loop_get_context (GMainLoop *loop);
04311 
04312 
04313 
04314 GSource *g_source_new (GSourceFuncs *source_funcs,
04315                                    guint struct_size);
04316 GSource *g_source_ref (GSource *source);
04317 void g_source_unref (GSource *source);
04318 
04319 guint g_source_attach (GSource *source,
04320                                    GMainContext *context);
04321 void g_source_destroy (GSource *source);
04322 
04323 void g_source_set_priority (GSource *source,
04324                                    gint priority);
04325 gint g_source_get_priority (GSource *source);
04326 void g_source_set_can_recurse (GSource *source,
04327                                    gboolean can_recurse);
04328 gboolean g_source_get_can_recurse (GSource *source);
04329 guint g_source_get_id (GSource *source);
04330 
04331 GMainContext *g_source_get_context (GSource *source);
04332 
04333 void g_source_set_callback (GSource *source,
04334                                    GSourceFunc func,
04335                                    gpointer data,
04336                                    GDestroyNotify notify);
04337 
04338 void g_source_set_funcs (GSource *source,
04339                                    GSourceFuncs *funcs);
04340 gboolean g_source_is_destroyed (GSource *source);
04341 
04342 void g_source_set_name (GSource *source,
04343                                               const char *name);
04344 const char* g_source_get_name (GSource *source);
04345 void g_source_set_name_by_id (guint tag,
04346                                               const char *name);
04347 
04348 
04349 
04350 void g_source_set_callback_indirect (GSource *source,
04351                                      gpointer callback_data,
04352                                      GSourceCallbackFuncs *callback_funcs);
04353 
04354 void g_source_add_poll (GSource *source,
04355            GPollFD *fd);
04356 void g_source_remove_poll (GSource *source,
04357            GPollFD *fd);
04358 
04359 void g_source_add_child_source (GSource *source,
04360            GSource *child_source);
04361 void g_source_remove_child_source (GSource *source,
04362            GSource *child_source);
04363 
04364 
04365 void g_source_get_current_time (GSource *source,
04366                                     GTimeVal *timeval);
04367 
04368 gint64 g_source_get_time (GSource *source);
04369 
04370 
04371 
04372 
04373 
04374 
04375 
04376 GSource *g_idle_source_new (void);
04377 GSource *g_child_watch_source_new (GPid pid);
04378 GSource *g_timeout_source_new (guint interval);
04379 GSource *g_timeout_source_new_seconds (guint interval);
04380 
04381 
04382 
04383 void g_get_current_time (GTimeVal *result);
04384 gint64 g_get_monotonic_time (void);
04385 gint64 g_get_real_time (void);
04386 # 498 "/usr/include/glib-2.0/glib/gmain.h"
04387 gboolean g_source_remove (guint tag);
04388 gboolean g_source_remove_by_user_data (gpointer user_data);
04389 gboolean g_source_remove_by_funcs_user_data (GSourceFuncs *funcs,
04390                                               gpointer user_data);
04391 
04392 
04393 guint g_timeout_add_full (gint priority,
04394                                      guint interval,
04395                                      GSourceFunc function,
04396                                      gpointer data,
04397                                      GDestroyNotify notify);
04398 guint g_timeout_add (guint interval,
04399                                      GSourceFunc function,
04400                                      gpointer data);
04401 guint g_timeout_add_seconds_full (gint priority,
04402                                      guint interval,
04403                                      GSourceFunc function,
04404                                      gpointer data,
04405                                      GDestroyNotify notify);
04406 guint g_timeout_add_seconds (guint interval,
04407                                      GSourceFunc function,
04408                                      gpointer data);
04409 guint g_child_watch_add_full (gint priority,
04410                                      GPid pid,
04411                                      GChildWatchFunc function,
04412                                      gpointer data,
04413                                      GDestroyNotify notify);
04414 guint g_child_watch_add (GPid pid,
04415                                      GChildWatchFunc function,
04416                                      gpointer data);
04417 guint g_idle_add (GSourceFunc function,
04418                                      gpointer data);
04419 guint g_idle_add_full (gint priority,
04420                                      GSourceFunc function,
04421                                      gpointer data,
04422                                      GDestroyNotify notify);
04423 gboolean g_idle_remove_by_data (gpointer data);
04424 
04425 void g_main_context_invoke_full (GMainContext *context,
04426                                      gint priority,
04427                                      GSourceFunc function,
04428                                      gpointer data,
04429                                      GDestroyNotify notify);
04430 void g_main_context_invoke (GMainContext *context,
04431                                      GSourceFunc function,
04432                                      gpointer data);
04433 
04434 
04435 extern GSourceFuncs g_timeout_funcs;
04436 extern GSourceFuncs g_child_watch_funcs;
04437 extern GSourceFuncs g_idle_funcs;
04438 
04439 
04440 # 36 "/usr/include/glib-2.0/glib/giochannel.h" 2
04441 # 1 "/usr/include/glib-2.0/glib/gstring.h" 1
04442 # 34 "/usr/include/glib-2.0/glib/gstring.h"
04443 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
04444 # 35 "/usr/include/glib-2.0/glib/gstring.h" 2
04445 # 1 "/usr/include/glib-2.0/glib/gunicode.h" 1
04446 # 29 "/usr/include/glib-2.0/glib/gunicode.h"
04447 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
04448 # 30 "/usr/include/glib-2.0/glib/gunicode.h" 2
04449 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
04450 # 31 "/usr/include/glib-2.0/glib/gunicode.h" 2
04451 
04452 
04453 
04454 typedef guint32 gunichar;
04455 typedef guint16 gunichar2;
04456 
04457 
04458 
04459 
04460 typedef enum
04461 {
04462   G_UNICODE_CONTROL,
04463   G_UNICODE_FORMAT,
04464   G_UNICODE_UNASSIGNED,
04465   G_UNICODE_PRIVATE_USE,
04466   G_UNICODE_SURROGATE,
04467   G_UNICODE_LOWERCASE_LETTER,
04468   G_UNICODE_MODIFIER_LETTER,
04469   G_UNICODE_OTHER_LETTER,
04470   G_UNICODE_TITLECASE_LETTER,
04471   G_UNICODE_UPPERCASE_LETTER,
04472   G_UNICODE_COMBINING_MARK,
04473   G_UNICODE_ENCLOSING_MARK,
04474   G_UNICODE_NON_SPACING_MARK,
04475   G_UNICODE_DECIMAL_NUMBER,
04476   G_UNICODE_LETTER_NUMBER,
04477   G_UNICODE_OTHER_NUMBER,
04478   G_UNICODE_CONNECT_PUNCTUATION,
04479   G_UNICODE_DASH_PUNCTUATION,
04480   G_UNICODE_CLOSE_PUNCTUATION,
04481   G_UNICODE_FINAL_PUNCTUATION,
04482   G_UNICODE_INITIAL_PUNCTUATION,
04483   G_UNICODE_OTHER_PUNCTUATION,
04484   G_UNICODE_OPEN_PUNCTUATION,
04485   G_UNICODE_CURRENCY_SYMBOL,
04486   G_UNICODE_MODIFIER_SYMBOL,
04487   G_UNICODE_MATH_SYMBOL,
04488   G_UNICODE_OTHER_SYMBOL,
04489   G_UNICODE_LINE_SEPARATOR,
04490   G_UNICODE_PARAGRAPH_SEPARATOR,
04491   G_UNICODE_SPACE_SEPARATOR
04492 } GUnicodeType;
04493 
04494 
04495 
04496 
04497 
04498 
04499 typedef enum
04500 {
04501   G_UNICODE_BREAK_MANDATORY,
04502   G_UNICODE_BREAK_CARRIAGE_RETURN,
04503   G_UNICODE_BREAK_LINE_FEED,
04504   G_UNICODE_BREAK_COMBINING_MARK,
04505   G_UNICODE_BREAK_SURROGATE,
04506   G_UNICODE_BREAK_ZERO_WIDTH_SPACE,
04507   G_UNICODE_BREAK_INSEPARABLE,
04508   G_UNICODE_BREAK_NON_BREAKING_GLUE,
04509   G_UNICODE_BREAK_CONTINGENT,
04510   G_UNICODE_BREAK_SPACE,
04511   G_UNICODE_BREAK_AFTER,
04512   G_UNICODE_BREAK_BEFORE,
04513   G_UNICODE_BREAK_BEFORE_AND_AFTER,
04514   G_UNICODE_BREAK_HYPHEN,
04515   G_UNICODE_BREAK_NON_STARTER,
04516   G_UNICODE_BREAK_OPEN_PUNCTUATION,
04517   G_UNICODE_BREAK_CLOSE_PUNCTUATION,
04518   G_UNICODE_BREAK_QUOTATION,
04519   G_UNICODE_BREAK_EXCLAMATION,
04520   G_UNICODE_BREAK_IDEOGRAPHIC,
04521   G_UNICODE_BREAK_NUMERIC,
04522   G_UNICODE_BREAK_INFIX_SEPARATOR,
04523   G_UNICODE_BREAK_SYMBOL,
04524   G_UNICODE_BREAK_ALPHABETIC,
04525   G_UNICODE_BREAK_PREFIX,
04526   G_UNICODE_BREAK_POSTFIX,
04527   G_UNICODE_BREAK_COMPLEX_CONTEXT,
04528   G_UNICODE_BREAK_AMBIGUOUS,
04529   G_UNICODE_BREAK_UNKNOWN,
04530   G_UNICODE_BREAK_NEXT_LINE,
04531   G_UNICODE_BREAK_WORD_JOINER,
04532   G_UNICODE_BREAK_HANGUL_L_JAMO,
04533   G_UNICODE_BREAK_HANGUL_V_JAMO,
04534   G_UNICODE_BREAK_HANGUL_T_JAMO,
04535   G_UNICODE_BREAK_HANGUL_LV_SYLLABLE,
04536   G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE,
04537   G_UNICODE_BREAK_CLOSE_PARANTHESIS
04538 } GUnicodeBreakType;
04539 
04540 typedef enum
04541 {
04542   G_UNICODE_SCRIPT_INVALID_CODE = -1,
04543   G_UNICODE_SCRIPT_COMMON = 0,
04544   G_UNICODE_SCRIPT_INHERITED,
04545   G_UNICODE_SCRIPT_ARABIC,
04546   G_UNICODE_SCRIPT_ARMENIAN,
04547   G_UNICODE_SCRIPT_BENGALI,
04548   G_UNICODE_SCRIPT_BOPOMOFO,
04549   G_UNICODE_SCRIPT_CHEROKEE,
04550   G_UNICODE_SCRIPT_COPTIC,
04551   G_UNICODE_SCRIPT_CYRILLIC,
04552   G_UNICODE_SCRIPT_DESERET,
04553   G_UNICODE_SCRIPT_DEVANAGARI,
04554   G_UNICODE_SCRIPT_ETHIOPIC,
04555   G_UNICODE_SCRIPT_GEORGIAN,
04556   G_UNICODE_SCRIPT_GOTHIC,
04557   G_UNICODE_SCRIPT_GREEK,
04558   G_UNICODE_SCRIPT_GUJARATI,
04559   G_UNICODE_SCRIPT_GURMUKHI,
04560   G_UNICODE_SCRIPT_HAN,
04561   G_UNICODE_SCRIPT_HANGUL,
04562   G_UNICODE_SCRIPT_HEBREW,
04563   G_UNICODE_SCRIPT_HIRAGANA,
04564   G_UNICODE_SCRIPT_KANNADA,
04565   G_UNICODE_SCRIPT_KATAKANA,
04566   G_UNICODE_SCRIPT_KHMER,
04567   G_UNICODE_SCRIPT_LAO,
04568   G_UNICODE_SCRIPT_LATIN,
04569   G_UNICODE_SCRIPT_MALAYALAM,
04570   G_UNICODE_SCRIPT_MONGOLIAN,
04571   G_UNICODE_SCRIPT_MYANMAR,
04572   G_UNICODE_SCRIPT_OGHAM,
04573   G_UNICODE_SCRIPT_OLD_ITALIC,
04574   G_UNICODE_SCRIPT_ORIYA,
04575   G_UNICODE_SCRIPT_RUNIC,
04576   G_UNICODE_SCRIPT_SINHALA,
04577   G_UNICODE_SCRIPT_SYRIAC,
04578   G_UNICODE_SCRIPT_TAMIL,
04579   G_UNICODE_SCRIPT_TELUGU,
04580   G_UNICODE_SCRIPT_THAANA,
04581   G_UNICODE_SCRIPT_THAI,
04582   G_UNICODE_SCRIPT_TIBETAN,
04583   G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL,
04584   G_UNICODE_SCRIPT_YI,
04585   G_UNICODE_SCRIPT_TAGALOG,
04586   G_UNICODE_SCRIPT_HANUNOO,
04587   G_UNICODE_SCRIPT_BUHID,
04588   G_UNICODE_SCRIPT_TAGBANWA,
04589 
04590 
04591   G_UNICODE_SCRIPT_BRAILLE,
04592   G_UNICODE_SCRIPT_CYPRIOT,
04593   G_UNICODE_SCRIPT_LIMBU,
04594   G_UNICODE_SCRIPT_OSMANYA,
04595   G_UNICODE_SCRIPT_SHAVIAN,
04596   G_UNICODE_SCRIPT_LINEAR_B,
04597   G_UNICODE_SCRIPT_TAI_LE,
04598   G_UNICODE_SCRIPT_UGARITIC,
04599 
04600 
04601   G_UNICODE_SCRIPT_NEW_TAI_LUE,
04602   G_UNICODE_SCRIPT_BUGINESE,
04603   G_UNICODE_SCRIPT_GLAGOLITIC,
04604   G_UNICODE_SCRIPT_TIFINAGH,
04605   G_UNICODE_SCRIPT_SYLOTI_NAGRI,
04606   G_UNICODE_SCRIPT_OLD_PERSIAN,
04607   G_UNICODE_SCRIPT_KHAROSHTHI,
04608 
04609 
04610   G_UNICODE_SCRIPT_UNKNOWN,
04611   G_UNICODE_SCRIPT_BALINESE,
04612   G_UNICODE_SCRIPT_CUNEIFORM,
04613   G_UNICODE_SCRIPT_PHOENICIAN,
04614   G_UNICODE_SCRIPT_PHAGS_PA,
04615   G_UNICODE_SCRIPT_NKO,
04616 
04617 
04618   G_UNICODE_SCRIPT_KAYAH_LI,
04619   G_UNICODE_SCRIPT_LEPCHA,
04620   G_UNICODE_SCRIPT_REJANG,
04621   G_UNICODE_SCRIPT_SUNDANESE,
04622   G_UNICODE_SCRIPT_SAURASHTRA,
04623   G_UNICODE_SCRIPT_CHAM,
04624   G_UNICODE_SCRIPT_OL_CHIKI,
04625   G_UNICODE_SCRIPT_VAI,
04626   G_UNICODE_SCRIPT_CARIAN,
04627   G_UNICODE_SCRIPT_LYCIAN,
04628   G_UNICODE_SCRIPT_LYDIAN,
04629 
04630 
04631   G_UNICODE_SCRIPT_AVESTAN,
04632   G_UNICODE_SCRIPT_BAMUM,
04633   G_UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS,
04634   G_UNICODE_SCRIPT_IMPERIAL_ARAMAIC,
04635   G_UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI,
04636   G_UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN,
04637   G_UNICODE_SCRIPT_JAVANESE,
04638   G_UNICODE_SCRIPT_KAITHI,
04639   G_UNICODE_SCRIPT_LISU,
04640   G_UNICODE_SCRIPT_MEETEI_MAYEK,
04641   G_UNICODE_SCRIPT_OLD_SOUTH_ARABIAN,
04642   G_UNICODE_SCRIPT_OLD_TURKIC,
04643   G_UNICODE_SCRIPT_SAMARITAN,
04644   G_UNICODE_SCRIPT_TAI_THAM,
04645   G_UNICODE_SCRIPT_TAI_VIET,
04646 
04647 
04648   G_UNICODE_SCRIPT_BATAK,
04649   G_UNICODE_SCRIPT_BRAHMI,
04650   G_UNICODE_SCRIPT_MANDAIC
04651 } GUnicodeScript;
04652 
04653 
04654 
04655 
04656 
04657 
04658 
04659 gboolean g_get_charset (const char **charset);
04660 
04661 
04662 
04663 gboolean g_unichar_isalnum (gunichar c) __attribute__((__const__));
04664 gboolean g_unichar_isalpha (gunichar c) __attribute__((__const__));
04665 gboolean g_unichar_iscntrl (gunichar c) __attribute__((__const__));
04666 gboolean g_unichar_isdigit (gunichar c) __attribute__((__const__));
04667 gboolean g_unichar_isgraph (gunichar c) __attribute__((__const__));
04668 gboolean g_unichar_islower (gunichar c) __attribute__((__const__));
04669 gboolean g_unichar_isprint (gunichar c) __attribute__((__const__));
04670 gboolean g_unichar_ispunct (gunichar c) __attribute__((__const__));
04671 gboolean g_unichar_isspace (gunichar c) __attribute__((__const__));
04672 gboolean g_unichar_isupper (gunichar c) __attribute__((__const__));
04673 gboolean g_unichar_isxdigit (gunichar c) __attribute__((__const__));
04674 gboolean g_unichar_istitle (gunichar c) __attribute__((__const__));
04675 gboolean g_unichar_isdefined (gunichar c) __attribute__((__const__));
04676 gboolean g_unichar_iswide (gunichar c) __attribute__((__const__));
04677 gboolean g_unichar_iswide_cjk(gunichar c) __attribute__((__const__));
04678 gboolean g_unichar_iszerowidth(gunichar c) __attribute__((__const__));
04679 gboolean g_unichar_ismark (gunichar c) __attribute__((__const__));
04680 
04681 
04682 
04683 gunichar g_unichar_toupper (gunichar c) __attribute__((__const__));
04684 gunichar g_unichar_tolower (gunichar c) __attribute__((__const__));
04685 gunichar g_unichar_totitle (gunichar c) __attribute__((__const__));
04686 
04687 
04688 
04689 gint g_unichar_digit_value (gunichar c) __attribute__((__const__));
04690 
04691 gint g_unichar_xdigit_value (gunichar c) __attribute__((__const__));
04692 
04693 
04694 GUnicodeType g_unichar_type (gunichar c) __attribute__((__const__));
04695 
04696 
04697 GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__((__const__));
04698 
04699 
04700 gint g_unichar_combining_class (gunichar uc) __attribute__((__const__));
04701 
04702 
04703 
04704 
04705 
04706 void g_unicode_canonical_ordering (gunichar *string,
04707        gsize len);
04708 
04709 
04710 
04711 
04712 gunichar *g_unicode_canonical_decomposition (gunichar ch,
04713           gsize *result_len) __attribute__((__malloc__));
04714 
04715 
04716 
04717 extern const gchar * const g_utf8_skip;
04718 
04719 
04720 
04721 gunichar g_utf8_get_char (const gchar *p) __attribute__((__pure__));
04722 gunichar g_utf8_get_char_validated (const gchar *p,
04723         gssize max_len) __attribute__((__pure__));
04724 
04725 gchar* g_utf8_offset_to_pointer (const gchar *str,
04726                                    glong offset) __attribute__((__pure__));
04727 glong g_utf8_pointer_to_offset (const gchar *str,
04728        const gchar *pos) __attribute__((__pure__));
04729 gchar* g_utf8_prev_char (const gchar *p) __attribute__((__pure__));
04730 gchar* g_utf8_find_next_char (const gchar *p,
04731        const gchar *end) __attribute__((__pure__));
04732 gchar* g_utf8_find_prev_char (const gchar *str,
04733        const gchar *p) __attribute__((__pure__));
04734 
04735 glong g_utf8_strlen (const gchar *p,
04736        gssize max) __attribute__((__pure__));
04737 
04738 
04739 gchar* g_utf8_strncpy (gchar *dest,
04740          const gchar *src,
04741          gsize n);
04742 
04743 
04744 
04745 gchar* g_utf8_strchr (const gchar *p,
04746          gssize len,
04747          gunichar c);
04748 gchar* g_utf8_strrchr (const gchar *p,
04749          gssize len,
04750          gunichar c);
04751 gchar* g_utf8_strreverse (const gchar *str,
04752      gssize len);
04753 
04754 gunichar2 *g_utf8_to_utf16 (const gchar *str,
04755     glong len,
04756     glong *items_read,
04757     glong *items_written,
04758     GError **error) __attribute__((__malloc__));
04759 gunichar * g_utf8_to_ucs4 (const gchar *str,
04760     glong len,
04761     glong *items_read,
04762     glong *items_written,
04763     GError **error) __attribute__((__malloc__));
04764 gunichar * g_utf8_to_ucs4_fast (const gchar *str,
04765     glong len,
04766     glong *items_written) __attribute__((__malloc__));
04767 gunichar * g_utf16_to_ucs4 (const gunichar2 *str,
04768     glong len,
04769     glong *items_read,
04770     glong *items_written,
04771     GError **error) __attribute__((__malloc__));
04772 gchar* g_utf16_to_utf8 (const gunichar2 *str,
04773     glong len,
04774     glong *items_read,
04775     glong *items_written,
04776     GError **error) __attribute__((__malloc__));
04777 gunichar2 *g_ucs4_to_utf16 (const gunichar *str,
04778     glong len,
04779     glong *items_read,
04780     glong *items_written,
04781     GError **error) __attribute__((__malloc__));
04782 gchar* g_ucs4_to_utf8 (const gunichar *str,
04783     glong len,
04784     glong *items_read,
04785     glong *items_written,
04786     GError **error) __attribute__((__malloc__));
04787 
04788 
04789 
04790 
04791 
04792 gint g_unichar_to_utf8 (gunichar c,
04793         gchar *outbuf);
04794 
04795 
04796 
04797 
04798 
04799 gboolean g_utf8_validate (const gchar *str,
04800                           gssize max_len,
04801                           const gchar **end);
04802 
04803 
04804 gboolean g_unichar_validate (gunichar ch) __attribute__((__const__));
04805 
04806 gchar *g_utf8_strup (const gchar *str,
04807          gssize len) __attribute__((__malloc__));
04808 gchar *g_utf8_strdown (const gchar *str,
04809          gssize len) __attribute__((__malloc__));
04810 gchar *g_utf8_casefold (const gchar *str,
04811    gssize len) __attribute__((__malloc__));
04812 
04813 typedef enum {
04814   G_NORMALIZE_DEFAULT,
04815   G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT,
04816   G_NORMALIZE_DEFAULT_COMPOSE,
04817   G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE,
04818   G_NORMALIZE_ALL,
04819   G_NORMALIZE_NFKD = G_NORMALIZE_ALL,
04820   G_NORMALIZE_ALL_COMPOSE,
04821   G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE
04822 } GNormalizeMode;
04823 
04824 gchar *g_utf8_normalize (const gchar *str,
04825     gssize len,
04826     GNormalizeMode mode) __attribute__((__malloc__));
04827 
04828 gint g_utf8_collate (const gchar *str1,
04829       const gchar *str2) __attribute__((__pure__));
04830 gchar *g_utf8_collate_key (const gchar *str,
04831       gssize len) __attribute__((__malloc__));
04832 gchar *g_utf8_collate_key_for_filename (const gchar *str,
04833                    gssize len) __attribute__((__malloc__));
04834 
04835 gboolean g_unichar_get_mirror_char (gunichar ch,
04836                                     gunichar *mirrored_ch);
04837 
04838 GUnicodeScript g_unichar_get_script (gunichar ch) __attribute__((__const__));
04839 
04840 
04841 
04842 
04843 gchar *_g_utf8_make_valid (const gchar *name);
04844 
04845 
04846 # 36 "/usr/include/glib-2.0/glib/gstring.h" 2
04847 # 1 "/usr/include/glib-2.0/glib/gutils.h" 1
04848 # 37 "/usr/include/glib-2.0/glib/gstring.h" 2
04849 
04850 
04851 
04852 typedef struct _GString GString;
04853 typedef struct _GStringChunk GStringChunk;
04854 
04855 struct _GString
04856 {
04857   gchar *str;
04858   gsize len;
04859   gsize allocated_len;
04860 };
04861 
04862 
04863 
04864 GStringChunk* g_string_chunk_new (gsize size);
04865 void g_string_chunk_free (GStringChunk *chunk);
04866 void g_string_chunk_clear (GStringChunk *chunk);
04867 gchar* g_string_chunk_insert (GStringChunk *chunk,
04868          const gchar *string);
04869 gchar* g_string_chunk_insert_len (GStringChunk *chunk,
04870          const gchar *string,
04871          gssize len);
04872 gchar* g_string_chunk_insert_const (GStringChunk *chunk,
04873          const gchar *string);
04874 
04875 
04876 
04877 
04878 GString* g_string_new (const gchar *init);
04879 GString* g_string_new_len (const gchar *init,
04880                                          gssize len);
04881 GString* g_string_sized_new (gsize dfl_size);
04882 gchar* g_string_free (GString *string,
04883       gboolean free_segment);
04884 gboolean g_string_equal (const GString *v,
04885       const GString *v2);
04886 guint g_string_hash (const GString *str);
04887 GString* g_string_assign (GString *string,
04888       const gchar *rval);
04889 GString* g_string_truncate (GString *string,
04890       gsize len);
04891 GString* g_string_set_size (GString *string,
04892       gsize len);
04893 GString* g_string_insert_len (GString *string,
04894                                          gssize pos,
04895                                          const gchar *val,
04896                                          gssize len);
04897 GString* g_string_append (GString *string,
04898                     const gchar *val);
04899 GString* g_string_append_len (GString *string,
04900                     const gchar *val,
04901                                          gssize len);
04902 GString* g_string_append_c (GString *string,
04903       gchar c);
04904 GString* g_string_append_unichar (GString *string,
04905       gunichar wc);
04906 GString* g_string_prepend (GString *string,
04907       const gchar *val);
04908 GString* g_string_prepend_c (GString *string,
04909       gchar c);
04910 GString* g_string_prepend_unichar (GString *string,
04911       gunichar wc);
04912 GString* g_string_prepend_len (GString *string,
04913                     const gchar *val,
04914                                          gssize len);
04915 GString* g_string_insert (GString *string,
04916       gssize pos,
04917       const gchar *val);
04918 GString* g_string_insert_c (GString *string,
04919       gssize pos,
04920       gchar c);
04921 GString* g_string_insert_unichar (GString *string,
04922       gssize pos,
04923       gunichar wc);
04924 GString* g_string_overwrite (GString *string,
04925       gsize pos,
04926       const gchar *val);
04927 GString* g_string_overwrite_len (GString *string,
04928       gsize pos,
04929       const gchar *val,
04930       gssize len);
04931 GString* g_string_erase (GString *string,
04932       gssize pos,
04933       gssize len);
04934 GString* g_string_ascii_down (GString *string);
04935 GString* g_string_ascii_up (GString *string);
04936 void g_string_vprintf (GString *string,
04937       const gchar *format,
04938       va_list args);
04939 void g_string_printf (GString *string,
04940       const gchar *format,
04941       ...) __attribute__((__format__ (__printf__, 2, 3)));
04942 void g_string_append_vprintf (GString *string,
04943       const gchar *format,
04944       va_list args);
04945 void g_string_append_printf (GString *string,
04946       const gchar *format,
04947       ...) __attribute__((__format__ (__printf__, 2, 3)));
04948 GString * g_string_append_uri_escaped(GString *string,
04949       const char *unescaped,
04950       const char *reserved_chars_allowed,
04951       gboolean allow_utf8);
04952 
04953 
04954 
04955 static inline GString*
04956 g_string_append_c_inline (GString *gstring,
04957                           gchar c)
04958 {
04959   if (gstring->len + 1 < gstring->allocated_len)
04960     {
04961       gstring->str[gstring->len++] = c;
04962       gstring->str[gstring->len] = 0;
04963     }
04964   else
04965     g_string_insert_c (gstring, -1, c);
04966   return gstring;
04967 }
04968 # 167 "/usr/include/glib-2.0/glib/gstring.h"
04969 GString* g_string_down (GString *string);
04970 GString* g_string_up (GString *string);
04971 
04972 
04973 
04974 
04975 
04976 
04977 
04978 
04979 # 37 "/usr/include/glib-2.0/glib/giochannel.h" 2
04980 
04981 
04982 
04983 
04984 
04985 
04986 typedef struct _GIOChannel GIOChannel;
04987 typedef struct _GIOFuncs GIOFuncs;
04988 
04989 typedef enum
04990 {
04991   G_IO_ERROR_NONE,
04992   G_IO_ERROR_AGAIN,
04993   G_IO_ERROR_INVAL,
04994   G_IO_ERROR_UNKNOWN
04995 } GIOError;
04996 
04997 
04998 
04999 typedef enum
05000 {
05001 
05002   G_IO_CHANNEL_ERROR_FBIG,
05003   G_IO_CHANNEL_ERROR_INVAL,
05004   G_IO_CHANNEL_ERROR_IO,
05005   G_IO_CHANNEL_ERROR_ISDIR,
05006   G_IO_CHANNEL_ERROR_NOSPC,
05007   G_IO_CHANNEL_ERROR_NXIO,
05008   G_IO_CHANNEL_ERROR_OVERFLOW,
05009   G_IO_CHANNEL_ERROR_PIPE,
05010 
05011   G_IO_CHANNEL_ERROR_FAILED
05012 } GIOChannelError;
05013 
05014 typedef enum
05015 {
05016   G_IO_STATUS_ERROR,
05017   G_IO_STATUS_NORMAL,
05018   G_IO_STATUS_EOF,
05019   G_IO_STATUS_AGAIN
05020 } GIOStatus;
05021 
05022 typedef enum
05023 {
05024   G_SEEK_CUR,
05025   G_SEEK_SET,
05026   G_SEEK_END
05027 } GSeekType;
05028 
05029 typedef enum
05030 {
05031   G_IO_IN =1,
05032   G_IO_OUT =4,
05033   G_IO_PRI =2,
05034   G_IO_ERR =8,
05035   G_IO_HUP =16,
05036   G_IO_NVAL =32
05037 } GIOCondition;
05038 
05039 typedef enum
05040 {
05041   G_IO_FLAG_APPEND = 1 << 0,
05042   G_IO_FLAG_NONBLOCK = 1 << 1,
05043   G_IO_FLAG_IS_READABLE = 1 << 2,
05044   G_IO_FLAG_IS_WRITEABLE = 1 << 3,
05045   G_IO_FLAG_IS_SEEKABLE = 1 << 4,
05046   G_IO_FLAG_MASK = (1 << 5) - 1,
05047   G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK,
05048   G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK
05049 } GIOFlags;
05050 
05051 struct _GIOChannel
05052 {
05053 
05054   gint ref_count;
05055   GIOFuncs *funcs;
05056 
05057   gchar *encoding;
05058   GIConv read_cd;
05059   GIConv write_cd;
05060   gchar *line_term;
05061   guint line_term_len;
05062 
05063   gsize buf_size;
05064   GString *read_buf;
05065   GString *encoded_read_buf;
05066   GString *write_buf;
05067   gchar partial_write_buf[6];
05068 
05069 
05070 
05071   guint use_buffer : 1;
05072   guint do_encode : 1;
05073   guint close_on_unref : 1;
05074   guint is_readable : 1;
05075   guint is_writeable : 1;
05076   guint is_seekable : 1;
05077 
05078   gpointer reserved1;
05079   gpointer reserved2;
05080 };
05081 
05082 typedef gboolean (*GIOFunc) (GIOChannel *source,
05083         GIOCondition condition,
05084         gpointer data);
05085 struct _GIOFuncs
05086 {
05087   GIOStatus (*io_read) (GIOChannel *channel,
05088              gchar *buf,
05089       gsize count,
05090       gsize *bytes_read,
05091       GError **err);
05092   GIOStatus (*io_write) (GIOChannel *channel,
05093       const gchar *buf,
05094       gsize count,
05095       gsize *bytes_written,
05096       GError **err);
05097   GIOStatus (*io_seek) (GIOChannel *channel,
05098       gint64 offset,
05099       GSeekType type,
05100       GError **err);
05101   GIOStatus (*io_close) (GIOChannel *channel,
05102       GError **err);
05103   GSource* (*io_create_watch) (GIOChannel *channel,
05104       GIOCondition condition);
05105   void (*io_free) (GIOChannel *channel);
05106   GIOStatus (*io_set_flags) (GIOChannel *channel,
05107                                   GIOFlags flags,
05108       GError **err);
05109   GIOFlags (*io_get_flags) (GIOChannel *channel);
05110 };
05111 
05112 void g_io_channel_init (GIOChannel *channel);
05113 GIOChannel *g_io_channel_ref (GIOChannel *channel);
05114 void g_io_channel_unref (GIOChannel *channel);
05115 
05116 
05117 GIOError g_io_channel_read (GIOChannel *channel,
05118             gchar *buf,
05119             gsize count,
05120             gsize *bytes_read);
05121 GIOError g_io_channel_write (GIOChannel *channel,
05122             const gchar *buf,
05123             gsize count,
05124             gsize *bytes_written);
05125 GIOError g_io_channel_seek (GIOChannel *channel,
05126             gint64 offset,
05127             GSeekType type);
05128 void g_io_channel_close (GIOChannel *channel);
05129 
05130 
05131 GIOStatus g_io_channel_shutdown (GIOChannel *channel,
05132      gboolean flush,
05133      GError **err);
05134 guint g_io_add_watch_full (GIOChannel *channel,
05135      gint priority,
05136      GIOCondition condition,
05137      GIOFunc func,
05138      gpointer user_data,
05139      GDestroyNotify notify);
05140 GSource * g_io_create_watch (GIOChannel *channel,
05141      GIOCondition condition);
05142 guint g_io_add_watch (GIOChannel *channel,
05143      GIOCondition condition,
05144      GIOFunc func,
05145      gpointer user_data);
05146 
05147 
05148 
05149 
05150 void g_io_channel_set_buffer_size (GIOChannel *channel,
05151         gsize size);
05152 gsize g_io_channel_get_buffer_size (GIOChannel *channel);
05153 GIOCondition g_io_channel_get_buffer_condition (GIOChannel *channel);
05154 GIOStatus g_io_channel_set_flags (GIOChannel *channel,
05155         GIOFlags flags,
05156         GError **error);
05157 GIOFlags g_io_channel_get_flags (GIOChannel *channel);
05158 void g_io_channel_set_line_term (GIOChannel *channel,
05159         const gchar *line_term,
05160         gint length);
05161 const gchar* g_io_channel_get_line_term (GIOChannel *channel,
05162         gint *length);
05163 void g_io_channel_set_buffered (GIOChannel *channel,
05164         gboolean buffered);
05165 gboolean g_io_channel_get_buffered (GIOChannel *channel);
05166 GIOStatus g_io_channel_set_encoding (GIOChannel *channel,
05167         const gchar *encoding,
05168         GError **error);
05169 const gchar* g_io_channel_get_encoding (GIOChannel *channel);
05170 void g_io_channel_set_close_on_unref (GIOChannel *channel,
05171         gboolean do_close);
05172 gboolean g_io_channel_get_close_on_unref (GIOChannel *channel);
05173 
05174 
05175 GIOStatus g_io_channel_flush (GIOChannel *channel,
05176         GError **error);
05177 GIOStatus g_io_channel_read_line (GIOChannel *channel,
05178         gchar **str_return,
05179         gsize *length,
05180         gsize *terminator_pos,
05181         GError **error);
05182 GIOStatus g_io_channel_read_line_string (GIOChannel *channel,
05183         GString *buffer,
05184         gsize *terminator_pos,
05185         GError **error);
05186 GIOStatus g_io_channel_read_to_end (GIOChannel *channel,
05187         gchar **str_return,
05188         gsize *length,
05189         GError **error);
05190 GIOStatus g_io_channel_read_chars (GIOChannel *channel,
05191         gchar *buf,
05192         gsize count,
05193         gsize *bytes_read,
05194         GError **error);
05195 GIOStatus g_io_channel_read_unichar (GIOChannel *channel,
05196         gunichar *thechar,
05197         GError **error);
05198 GIOStatus g_io_channel_write_chars (GIOChannel *channel,
05199         const gchar *buf,
05200         gssize count,
05201         gsize *bytes_written,
05202         GError **error);
05203 GIOStatus g_io_channel_write_unichar (GIOChannel *channel,
05204         gunichar thechar,
05205         GError **error);
05206 GIOStatus g_io_channel_seek_position (GIOChannel *channel,
05207         gint64 offset,
05208         GSeekType type,
05209         GError **error);
05210 
05211 
05212 
05213 
05214 GIOChannel* g_io_channel_new_file (const gchar *filename,
05215         const gchar *mode,
05216         GError **error);
05217 
05218 
05219 
05220 GQuark g_io_channel_error_quark (void);
05221 GIOChannelError g_io_channel_error_from_errno (gint en);
05222 # 298 "/usr/include/glib-2.0/glib/giochannel.h"
05223 GIOChannel* g_io_channel_unix_new (int fd);
05224 gint g_io_channel_unix_get_fd (GIOChannel *channel);
05225 
05226 
05227 
05228 extern GSourceFuncs g_io_watch_funcs;
05229 # 364 "/usr/include/glib-2.0/glib/giochannel.h"
05230 
05231 # 54 "/usr/include/glib-2.0/glib.h" 2
05232 # 1 "/usr/include/glib-2.0/glib/gkeyfile.h" 1
05233 # 30 "/usr/include/glib-2.0/glib/gkeyfile.h"
05234 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
05235 # 31 "/usr/include/glib-2.0/glib/gkeyfile.h" 2
05236 
05237 
05238 
05239 typedef enum
05240 {
05241   G_KEY_FILE_ERROR_UNKNOWN_ENCODING,
05242   G_KEY_FILE_ERROR_PARSE,
05243   G_KEY_FILE_ERROR_NOT_FOUND,
05244   G_KEY_FILE_ERROR_KEY_NOT_FOUND,
05245   G_KEY_FILE_ERROR_GROUP_NOT_FOUND,
05246   G_KEY_FILE_ERROR_INVALID_VALUE
05247 } GKeyFileError;
05248 
05249 
05250 
05251 GQuark g_key_file_error_quark (void);
05252 
05253 typedef struct _GKeyFile GKeyFile;
05254 
05255 typedef enum
05256 {
05257   G_KEY_FILE_NONE = 0,
05258   G_KEY_FILE_KEEP_COMMENTS = 1 << 0,
05259   G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1
05260 } GKeyFileFlags;
05261 
05262 GKeyFile *g_key_file_new (void);
05263 void g_key_file_free (GKeyFile *key_file);
05264 void g_key_file_set_list_separator (GKeyFile *key_file,
05265           gchar separator);
05266 gboolean g_key_file_load_from_file (GKeyFile *key_file,
05267           const gchar *file,
05268           GKeyFileFlags flags,
05269           GError **error);
05270 gboolean g_key_file_load_from_data (GKeyFile *key_file,
05271           const gchar *data,
05272           gsize length,
05273           GKeyFileFlags flags,
05274           GError **error);
05275 gboolean g_key_file_load_from_dirs (GKeyFile *key_file,
05276           const gchar *file,
05277           const gchar **search_dirs,
05278           gchar **full_path,
05279           GKeyFileFlags flags,
05280           GError **error);
05281 gboolean g_key_file_load_from_data_dirs (GKeyFile *key_file,
05282           const gchar *file,
05283           gchar **full_path,
05284           GKeyFileFlags flags,
05285           GError **error);
05286 gchar *g_key_file_to_data (GKeyFile *key_file,
05287           gsize *length,
05288           GError **error) __attribute__((__malloc__));
05289 gchar *g_key_file_get_start_group (GKeyFile *key_file) __attribute__((__malloc__));
05290 gchar **g_key_file_get_groups (GKeyFile *key_file,
05291           gsize *length) __attribute__((__malloc__));
05292 gchar **g_key_file_get_keys (GKeyFile *key_file,
05293           const gchar *group_name,
05294           gsize *length,
05295           GError **error) __attribute__((__malloc__));
05296 gboolean g_key_file_has_group (GKeyFile *key_file,
05297           const gchar *group_name);
05298 gboolean g_key_file_has_key (GKeyFile *key_file,
05299           const gchar *group_name,
05300           const gchar *key,
05301           GError **error);
05302 gchar *g_key_file_get_value (GKeyFile *key_file,
05303           const gchar *group_name,
05304           const gchar *key,
05305           GError **error) __attribute__((__malloc__));
05306 void g_key_file_set_value (GKeyFile *key_file,
05307           const gchar *group_name,
05308           const gchar *key,
05309           const gchar *value);
05310 gchar *g_key_file_get_string (GKeyFile *key_file,
05311           const gchar *group_name,
05312           const gchar *key,
05313           GError **error) __attribute__((__malloc__));
05314 void g_key_file_set_string (GKeyFile *key_file,
05315           const gchar *group_name,
05316           const gchar *key,
05317           const gchar *string);
05318 gchar *g_key_file_get_locale_string (GKeyFile *key_file,
05319           const gchar *group_name,
05320           const gchar *key,
05321           const gchar *locale,
05322           GError **error) __attribute__((__malloc__));
05323 void g_key_file_set_locale_string (GKeyFile *key_file,
05324           const gchar *group_name,
05325           const gchar *key,
05326           const gchar *locale,
05327           const gchar *string);
05328 gboolean g_key_file_get_boolean (GKeyFile *key_file,
05329           const gchar *group_name,
05330           const gchar *key,
05331           GError **error);
05332 void g_key_file_set_boolean (GKeyFile *key_file,
05333           const gchar *group_name,
05334           const gchar *key,
05335           gboolean value);
05336 gint g_key_file_get_integer (GKeyFile *key_file,
05337           const gchar *group_name,
05338           const gchar *key,
05339           GError **error);
05340 void g_key_file_set_integer (GKeyFile *key_file,
05341           const gchar *group_name,
05342           const gchar *key,
05343           gint value);
05344 gint64 g_key_file_get_int64 (GKeyFile *key_file,
05345           const gchar *group_name,
05346           const gchar *key,
05347           GError **error);
05348 void g_key_file_set_int64 (GKeyFile *key_file,
05349           const gchar *group_name,
05350           const gchar *key,
05351           gint64 value);
05352 guint64 g_key_file_get_uint64 (GKeyFile *key_file,
05353           const gchar *group_name,
05354           const gchar *key,
05355           GError **error);
05356 void g_key_file_set_uint64 (GKeyFile *key_file,
05357           const gchar *group_name,
05358           const gchar *key,
05359           guint64 value);
05360 gdouble g_key_file_get_double (GKeyFile *key_file,
05361                                              const gchar *group_name,
05362                                              const gchar *key,
05363                                              GError **error);
05364 void g_key_file_set_double (GKeyFile *key_file,
05365                                              const gchar *group_name,
05366                                              const gchar *key,
05367                                              gdouble value);
05368 gchar **g_key_file_get_string_list (GKeyFile *key_file,
05369           const gchar *group_name,
05370           const gchar *key,
05371           gsize *length,
05372           GError **error) __attribute__((__malloc__));
05373 void g_key_file_set_string_list (GKeyFile *key_file,
05374           const gchar *group_name,
05375           const gchar *key,
05376           const gchar * const list[],
05377           gsize length);
05378 gchar **g_key_file_get_locale_string_list (GKeyFile *key_file,
05379           const gchar *group_name,
05380           const gchar *key,
05381           const gchar *locale,
05382           gsize *length,
05383           GError **error) __attribute__((__malloc__));
05384 void g_key_file_set_locale_string_list (GKeyFile *key_file,
05385           const gchar *group_name,
05386           const gchar *key,
05387           const gchar *locale,
05388           const gchar * const list[],
05389           gsize length);
05390 gboolean *g_key_file_get_boolean_list (GKeyFile *key_file,
05391           const gchar *group_name,
05392           const gchar *key,
05393           gsize *length,
05394           GError **error) __attribute__((__malloc__));
05395 void g_key_file_set_boolean_list (GKeyFile *key_file,
05396           const gchar *group_name,
05397           const gchar *key,
05398           gboolean list[],
05399           gsize length);
05400 gint *g_key_file_get_integer_list (GKeyFile *key_file,
05401           const gchar *group_name,
05402           const gchar *key,
05403           gsize *length,
05404           GError **error) __attribute__((__malloc__));
05405 void g_key_file_set_double_list (GKeyFile *key_file,
05406                                              const gchar *group_name,
05407                                              const gchar *key,
05408                                              gdouble list[],
05409                                              gsize length);
05410 gdouble *g_key_file_get_double_list (GKeyFile *key_file,
05411                                              const gchar *group_name,
05412                                              const gchar *key,
05413                                              gsize *length,
05414                                              GError **error) __attribute__((__malloc__));
05415 void g_key_file_set_integer_list (GKeyFile *key_file,
05416           const gchar *group_name,
05417           const gchar *key,
05418           gint list[],
05419           gsize length);
05420 gboolean g_key_file_set_comment (GKeyFile *key_file,
05421                                              const gchar *group_name,
05422                                              const gchar *key,
05423                                              const gchar *comment,
05424                                              GError **error);
05425 gchar *g_key_file_get_comment (GKeyFile *key_file,
05426                                              const gchar *group_name,
05427                                              const gchar *key,
05428                                              GError **error) __attribute__((__malloc__));
05429 
05430 gboolean g_key_file_remove_comment (GKeyFile *key_file,
05431                                              const gchar *group_name,
05432                                              const gchar *key,
05433           GError **error);
05434 gboolean g_key_file_remove_key (GKeyFile *key_file,
05435           const gchar *group_name,
05436           const gchar *key,
05437           GError **error);
05438 gboolean g_key_file_remove_group (GKeyFile *key_file,
05439           const gchar *group_name,
05440           GError **error);
05441 # 265 "/usr/include/glib-2.0/glib/gkeyfile.h"
05442 
05443 # 55 "/usr/include/glib-2.0/glib.h" 2
05444 # 1 "/usr/include/glib-2.0/glib/glist.h" 1
05445 # 56 "/usr/include/glib-2.0/glib.h" 2
05446 # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
05447 # 57 "/usr/include/glib-2.0/glib.h" 2
05448 # 1 "/usr/include/glib-2.0/glib/gmain.h" 1
05449 # 58 "/usr/include/glib-2.0/glib.h" 2
05450 # 1 "/usr/include/glib-2.0/glib/gmappedfile.h" 1
05451 # 29 "/usr/include/glib-2.0/glib/gmappedfile.h"
05452 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
05453 # 30 "/usr/include/glib-2.0/glib/gmappedfile.h" 2
05454 
05455 
05456 
05457 typedef struct _GMappedFile GMappedFile;
05458 
05459 GMappedFile *g_mapped_file_new (const gchar *filename,
05460              gboolean writable,
05461              GError **error) __attribute__((__malloc__));
05462 gsize g_mapped_file_get_length (GMappedFile *file);
05463 gchar *g_mapped_file_get_contents (GMappedFile *file);
05464 GMappedFile *g_mapped_file_ref (GMappedFile *file);
05465 void g_mapped_file_unref (GMappedFile *file);
05466 
05467 
05468 void g_mapped_file_free (GMappedFile *file);
05469 
05470 
05471 
05472 # 59 "/usr/include/glib-2.0/glib.h" 2
05473 # 1 "/usr/include/glib-2.0/glib/gmarkup.h" 1
05474 # 30 "/usr/include/glib-2.0/glib/gmarkup.h"
05475 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
05476 # 31 "/usr/include/glib-2.0/glib/gmarkup.h" 2
05477 # 1 "/usr/include/glib-2.0/glib/gslist.h" 1
05478 # 32 "/usr/include/glib-2.0/glib/gmarkup.h" 2
05479 
05480 
05481 # 51 "/usr/include/glib-2.0/glib/gmarkup.h"
05482 typedef enum
05483 {
05484   G_MARKUP_ERROR_BAD_UTF8,
05485   G_MARKUP_ERROR_EMPTY,
05486   G_MARKUP_ERROR_PARSE,
05487 
05488 
05489 
05490   G_MARKUP_ERROR_UNKNOWN_ELEMENT,
05491   G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE,
05492   G_MARKUP_ERROR_INVALID_CONTENT,
05493   G_MARKUP_ERROR_MISSING_ATTRIBUTE
05494 } GMarkupError;
05495 # 74 "/usr/include/glib-2.0/glib/gmarkup.h"
05496 GQuark g_markup_error_quark (void);
05497 # 92 "/usr/include/glib-2.0/glib/gmarkup.h"
05498 typedef enum
05499 {
05500   G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0,
05501   G_MARKUP_TREAT_CDATA_AS_TEXT = 1 << 1,
05502   G_MARKUP_PREFIX_ERROR_POSITION = 1 << 2
05503 } GMarkupParseFlags;
05504 # 108 "/usr/include/glib-2.0/glib/gmarkup.h"
05505 typedef struct _GMarkupParseContext GMarkupParseContext;
05506 typedef struct _GMarkupParser GMarkupParser;
05507 # 138 "/usr/include/glib-2.0/glib/gmarkup.h"
05508 struct _GMarkupParser
05509 {
05510 
05511   void (*start_element) (GMarkupParseContext *context,
05512                           const gchar *element_name,
05513                           const gchar **attribute_names,
05514                           const gchar **attribute_values,
05515                           gpointer user_data,
05516                           GError **error);
05517 
05518 
05519   void (*end_element) (GMarkupParseContext *context,
05520                           const gchar *element_name,
05521                           gpointer user_data,
05522                           GError **error);
05523 
05524 
05525 
05526   void (*text) (GMarkupParseContext *context,
05527                           const gchar *text,
05528                           gsize text_len,
05529                           gpointer user_data,
05530                           GError **error);
05531 
05532 
05533 
05534 
05535 
05536 
05537   void (*passthrough) (GMarkupParseContext *context,
05538                           const gchar *passthrough_text,
05539                           gsize text_len,
05540                           gpointer user_data,
05541                           GError **error);
05542 
05543 
05544 
05545 
05546   void (*error) (GMarkupParseContext *context,
05547                           GError *error,
05548                           gpointer user_data);
05549 };
05550 
05551 GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser,
05552                                                    GMarkupParseFlags flags,
05553                                                    gpointer user_data,
05554                                                    GDestroyNotify user_data_dnotify);
05555 void g_markup_parse_context_free (GMarkupParseContext *context);
05556 gboolean g_markup_parse_context_parse (GMarkupParseContext *context,
05557                                                    const gchar *text,
05558                                                    gssize text_len,
05559                                                    GError **error);
05560 void g_markup_parse_context_push (GMarkupParseContext *context,
05561                                                    const GMarkupParser *parser,
05562                                                    gpointer user_data);
05563 gpointer g_markup_parse_context_pop (GMarkupParseContext *context);
05564 
05565 gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context,
05566                                                        GError **error);
05567 const gchar *g_markup_parse_context_get_element (GMarkupParseContext *context);
05568 const GSList *g_markup_parse_context_get_element_stack (GMarkupParseContext *context);
05569 
05570 
05571 void g_markup_parse_context_get_position (GMarkupParseContext *context,
05572                                                           gint *line_number,
05573                                                           gint *char_number);
05574 gpointer g_markup_parse_context_get_user_data (GMarkupParseContext *context);
05575 
05576 
05577 gchar* g_markup_escape_text (const gchar *text,
05578                              gssize length);
05579 
05580 gchar *g_markup_printf_escaped (const char *format,
05581     ...) __attribute__((__format__ (__printf__, 1, 2)));
05582 gchar *g_markup_vprintf_escaped (const char *format,
05583      va_list args);
05584 
05585 typedef enum
05586 {
05587   G_MARKUP_COLLECT_INVALID,
05588   G_MARKUP_COLLECT_STRING,
05589   G_MARKUP_COLLECT_STRDUP,
05590   G_MARKUP_COLLECT_BOOLEAN,
05591   G_MARKUP_COLLECT_TRISTATE,
05592 
05593   G_MARKUP_COLLECT_OPTIONAL = (1 << 16)
05594 } GMarkupCollectType;
05595 
05596 
05597 
05598 gboolean g_markup_collect_attributes (const gchar *element_name,
05599                                         const gchar **attribute_names,
05600                                         const gchar **attribute_values,
05601                                         GError **error,
05602                                         GMarkupCollectType first_type,
05603                                         const gchar *first_attr,
05604                                         ...);
05605 
05606 
05607 # 60 "/usr/include/glib-2.0/glib.h" 2
05608 # 1 "/usr/include/glib-2.0/glib/gmem.h" 1
05609 # 61 "/usr/include/glib-2.0/glib.h" 2
05610 # 1 "/usr/include/glib-2.0/glib/gmessages.h" 1
05611 # 35 "/usr/include/glib-2.0/glib/gmessages.h"
05612 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
05613 # 36 "/usr/include/glib-2.0/glib/gmessages.h" 2
05614 # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
05615 # 37 "/usr/include/glib-2.0/glib/gmessages.h" 2
05616 
05617 
05618 
05619 
05620        
05621 # 42 "/usr/include/glib-2.0/glib/gmessages.h" 3
05622 
05623 
05624 
05625 
05626 
05627 
05628 gsize g_printf_string_upper_bound (const gchar* format,
05629          va_list args);
05630 # 58 "/usr/include/glib-2.0/glib/gmessages.h" 3
05631 typedef enum
05632 {
05633 
05634   G_LOG_FLAG_RECURSION = 1 << 0,
05635   G_LOG_FLAG_FATAL = 1 << 1,
05636 
05637 
05638   G_LOG_LEVEL_ERROR = 1 << 2,
05639   G_LOG_LEVEL_CRITICAL = 1 << 3,
05640   G_LOG_LEVEL_WARNING = 1 << 4,
05641   G_LOG_LEVEL_MESSAGE = 1 << 5,
05642   G_LOG_LEVEL_INFO = 1 << 6,
05643   G_LOG_LEVEL_DEBUG = 1 << 7,
05644 
05645   G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL)
05646 } GLogLevelFlags;
05647 
05648 
05649 
05650 
05651 typedef void (*GLogFunc) (const gchar *log_domain,
05652                                                  GLogLevelFlags log_level,
05653                                                  const gchar *message,
05654                                                  gpointer user_data);
05655 
05656 
05657 
05658 guint g_log_set_handler (const gchar *log_domain,
05659                                          GLogLevelFlags log_levels,
05660                                          GLogFunc log_func,
05661                                          gpointer user_data);
05662 void g_log_remove_handler (const gchar *log_domain,
05663                                          guint handler_id);
05664 void g_log_default_handler (const gchar *log_domain,
05665                                          GLogLevelFlags log_level,
05666                                          const gchar *message,
05667                                          gpointer unused_data);
05668 GLogFunc g_log_set_default_handler (GLogFunc log_func,
05669         gpointer user_data);
05670 void g_log (const gchar *log_domain,
05671                                          GLogLevelFlags log_level,
05672                                          const gchar *format,
05673                                          ...) __attribute__((__format__ (__printf__, 3, 4)));
05674 void g_logv (const gchar *log_domain,
05675                                          GLogLevelFlags log_level,
05676                                          const gchar *format,
05677                                          va_list args);
05678 GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain,
05679                                          GLogLevelFlags fatal_mask);
05680 GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
05681 
05682 
05683 __attribute__((visibility("hidden"))) void _g_log_fallback_handler (const gchar *log_domain,
05684        GLogLevelFlags log_level,
05685        const gchar *message,
05686        gpointer unused_data);
05687 
05688 
05689 void g_return_if_fail_warning (const char *log_domain,
05690           const char *pretty_function,
05691           const char *expression);
05692 void g_warn_message (const char *domain,
05693                                const char *file,
05694                                int line,
05695                                const char *func,
05696                                const char *warnexpr);
05697 
05698 void g_assert_warning (const char *log_domain,
05699           const char *file,
05700           const int line,
05701                  const char *pretty_function,
05702                  const char *expression) __attribute__((__noreturn__));
05703 # 229 "/usr/include/glib-2.0/glib/gmessages.h" 3
05704 typedef void (*GPrintFunc) (const gchar *string);
05705 void g_print (const gchar *format,
05706                                          ...) __attribute__((__format__ (__printf__, 1, 2)));
05707 GPrintFunc g_set_print_handler (GPrintFunc func);
05708 void g_printerr (const gchar *format,
05709                                          ...) __attribute__((__format__ (__printf__, 1, 2)));
05710 GPrintFunc g_set_printerr_handler (GPrintFunc func);
05711 # 341 "/usr/include/glib-2.0/glib/gmessages.h" 3
05712 
05713 # 62 "/usr/include/glib-2.0/glib.h" 2
05714 # 1 "/usr/include/glib-2.0/glib/gnode.h" 1
05715 # 34 "/usr/include/glib-2.0/glib/gnode.h"
05716 # 1 "/usr/include/glib-2.0/glib/gmem.h" 1
05717 # 35 "/usr/include/glib-2.0/glib/gnode.h" 2
05718 
05719 
05720 
05721 typedef struct _GNode GNode;
05722 
05723 
05724 typedef enum
05725 {
05726   G_TRAVERSE_LEAVES = 1 << 0,
05727   G_TRAVERSE_NON_LEAVES = 1 << 1,
05728   G_TRAVERSE_ALL = G_TRAVERSE_LEAVES | G_TRAVERSE_NON_LEAVES,
05729   G_TRAVERSE_MASK = 0x03,
05730   G_TRAVERSE_LEAFS = G_TRAVERSE_LEAVES,
05731   G_TRAVERSE_NON_LEAFS = G_TRAVERSE_NON_LEAVES
05732 } GTraverseFlags;
05733 
05734 
05735 typedef enum
05736 {
05737   G_IN_ORDER,
05738   G_PRE_ORDER,
05739   G_POST_ORDER,
05740   G_LEVEL_ORDER
05741 } GTraverseType;
05742 
05743 typedef gboolean (*GNodeTraverseFunc) (GNode *node,
05744        gpointer data);
05745 typedef void (*GNodeForeachFunc) (GNode *node,
05746        gpointer data);
05747 # 77 "/usr/include/glib-2.0/glib/gnode.h"
05748 typedef gpointer (*GCopyFunc) (gconstpointer src,
05749                                                  gpointer data);
05750 
05751 
05752 
05753 struct _GNode
05754 {
05755   gpointer data;
05756   GNode *next;
05757   GNode *prev;
05758   GNode *parent;
05759   GNode *children;
05760 };
05761 # 115 "/usr/include/glib-2.0/glib/gnode.h"
05762 GNode* g_node_new (gpointer data);
05763 void g_node_destroy (GNode *root);
05764 void g_node_unlink (GNode *node);
05765 GNode* g_node_copy_deep (GNode *node,
05766      GCopyFunc copy_func,
05767      gpointer data);
05768 GNode* g_node_copy (GNode *node);
05769 GNode* g_node_insert (GNode *parent,
05770      gint position,
05771      GNode *node);
05772 GNode* g_node_insert_before (GNode *parent,
05773      GNode *sibling,
05774      GNode *node);
05775 GNode* g_node_insert_after (GNode *parent,
05776      GNode *sibling,
05777      GNode *node);
05778 GNode* g_node_prepend (GNode *parent,
05779      GNode *node);
05780 guint g_node_n_nodes (GNode *root,
05781      GTraverseFlags flags);
05782 GNode* g_node_get_root (GNode *node);
05783 gboolean g_node_is_ancestor (GNode *node,
05784      GNode *descendant);
05785 guint g_node_depth (GNode *node);
05786 GNode* g_node_find (GNode *root,
05787      GTraverseType order,
05788      GTraverseFlags flags,
05789      gpointer data);
05790 # 213 "/usr/include/glib-2.0/glib/gnode.h"
05791 void g_node_traverse (GNode *root,
05792      GTraverseType order,
05793      GTraverseFlags flags,
05794      gint max_depth,
05795      GNodeTraverseFunc func,
05796      gpointer data);
05797 
05798 
05799 
05800 
05801 
05802 
05803 guint g_node_max_height (GNode *root);
05804 
05805 void g_node_children_foreach (GNode *node,
05806       GTraverseFlags flags,
05807       GNodeForeachFunc func,
05808       gpointer data);
05809 void g_node_reverse_children (GNode *node);
05810 guint g_node_n_children (GNode *node);
05811 GNode* g_node_nth_child (GNode *node,
05812       guint n);
05813 GNode* g_node_last_child (GNode *node);
05814 GNode* g_node_find_child (GNode *node,
05815       GTraverseFlags flags,
05816       gpointer data);
05817 gint g_node_child_position (GNode *node,
05818       GNode *child);
05819 gint g_node_child_index (GNode *node,
05820       gpointer data);
05821 
05822 GNode* g_node_first_sibling (GNode *node);
05823 GNode* g_node_last_sibling (GNode *node);
05824 # 284 "/usr/include/glib-2.0/glib/gnode.h"
05825 void g_node_push_allocator (gpointer dummy);
05826 void g_node_pop_allocator (void);
05827 
05828 
05829 
05830 # 63 "/usr/include/glib-2.0/glib.h" 2
05831 # 1 "/usr/include/glib-2.0/glib/goption.h" 1
05832 # 28 "/usr/include/glib-2.0/glib/goption.h"
05833 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
05834 # 29 "/usr/include/glib-2.0/glib/goption.h" 2
05835 # 1 "/usr/include/glib-2.0/glib/gquark.h" 1
05836 # 30 "/usr/include/glib-2.0/glib/goption.h" 2
05837 
05838 
05839 # 40 "/usr/include/glib-2.0/glib/goption.h"
05840 typedef struct _GOptionContext GOptionContext;
05841 # 53 "/usr/include/glib-2.0/glib/goption.h"
05842 typedef struct _GOptionGroup GOptionGroup;
05843 typedef struct _GOptionEntry GOptionEntry;
05844 # 82 "/usr/include/glib-2.0/glib/goption.h"
05845 typedef enum
05846 {
05847   G_OPTION_FLAG_HIDDEN = 1 << 0,
05848   G_OPTION_FLAG_IN_MAIN = 1 << 1,
05849   G_OPTION_FLAG_REVERSE = 1 << 2,
05850   G_OPTION_FLAG_NO_ARG = 1 << 3,
05851   G_OPTION_FLAG_FILENAME = 1 << 4,
05852   G_OPTION_FLAG_OPTIONAL_ARG = 1 << 5,
05853   G_OPTION_FLAG_NOALIAS = 1 << 6
05854 } GOptionFlags;
05855 # 118 "/usr/include/glib-2.0/glib/goption.h"
05856 typedef enum
05857 {
05858   G_OPTION_ARG_NONE,
05859   G_OPTION_ARG_STRING,
05860   G_OPTION_ARG_INT,
05861   G_OPTION_ARG_CALLBACK,
05862   G_OPTION_ARG_FILENAME,
05863   G_OPTION_ARG_STRING_ARRAY,
05864   G_OPTION_ARG_FILENAME_ARRAY,
05865   G_OPTION_ARG_DOUBLE,
05866   G_OPTION_ARG_INT64
05867 } GOptionArg;
05868 # 148 "/usr/include/glib-2.0/glib/goption.h"
05869 typedef gboolean (*GOptionArgFunc) (const gchar *option_name,
05870         const gchar *value,
05871         gpointer data,
05872         GError **error);
05873 # 166 "/usr/include/glib-2.0/glib/goption.h"
05874 typedef gboolean (*GOptionParseFunc) (GOptionContext *context,
05875           GOptionGroup *group,
05876           gpointer data,
05877           GError **error);
05878 # 181 "/usr/include/glib-2.0/glib/goption.h"
05879 typedef void (*GOptionErrorFunc) (GOptionContext *context,
05880       GOptionGroup *group,
05881       gpointer data,
05882       GError **error);
05883 # 205 "/usr/include/glib-2.0/glib/goption.h"
05884 typedef enum
05885 {
05886   G_OPTION_ERROR_UNKNOWN_OPTION,
05887   G_OPTION_ERROR_BAD_VALUE,
05888   G_OPTION_ERROR_FAILED
05889 } GOptionError;
05890 
05891 GQuark g_option_error_quark (void);
05892 # 279 "/usr/include/glib-2.0/glib/goption.h"
05893 struct _GOptionEntry
05894 {
05895   const gchar *long_name;
05896   gchar short_name;
05897   gint flags;
05898 
05899   GOptionArg arg;
05900   gpointer arg_data;
05901 
05902   const gchar *description;
05903   const gchar *arg_description;
05904 };
05905 # 310 "/usr/include/glib-2.0/glib/goption.h"
05906 GOptionContext *g_option_context_new (const gchar *parameter_string);
05907 void g_option_context_set_summary (GOptionContext *context,
05908                                                    const gchar *summary);
05909 const gchar *g_option_context_get_summary (GOptionContext *context);
05910 void g_option_context_set_description (GOptionContext *context,
05911                                                    const gchar *description);
05912 const gchar *g_option_context_get_description (GOptionContext *context);
05913 void g_option_context_free (GOptionContext *context);
05914 void g_option_context_set_help_enabled (GOptionContext *context,
05915          gboolean help_enabled);
05916 gboolean g_option_context_get_help_enabled (GOptionContext *context);
05917 void g_option_context_set_ignore_unknown_options (GOptionContext *context,
05918             gboolean ignore_unknown);
05919 gboolean g_option_context_get_ignore_unknown_options (GOptionContext *context);
05920 
05921 void g_option_context_add_main_entries (GOptionContext *context,
05922          const GOptionEntry *entries,
05923          const gchar *translation_domain);
05924 gboolean g_option_context_parse (GOptionContext *context,
05925          gint *argc,
05926          gchar ***argv,
05927          GError **error);
05928 void g_option_context_set_translate_func (GOptionContext *context,
05929            GTranslateFunc func,
05930            gpointer data,
05931            GDestroyNotify destroy_notify);
05932 void g_option_context_set_translation_domain (GOptionContext *context,
05933         const gchar *domain);
05934 
05935 void g_option_context_add_group (GOptionContext *context,
05936        GOptionGroup *group);
05937 void g_option_context_set_main_group (GOptionContext *context,
05938             GOptionGroup *group);
05939 GOptionGroup *g_option_context_get_main_group (GOptionContext *context);
05940 gchar *g_option_context_get_help (GOptionContext *context,
05941                                                gboolean main_help,
05942                                                GOptionGroup *group);
05943 
05944 GOptionGroup *g_option_group_new (const gchar *name,
05945            const gchar *description,
05946            const gchar *help_description,
05947            gpointer user_data,
05948            GDestroyNotify destroy);
05949 void g_option_group_set_parse_hooks (GOptionGroup *group,
05950            GOptionParseFunc pre_parse_func,
05951            GOptionParseFunc post_parse_func);
05952 void g_option_group_set_error_hook (GOptionGroup *group,
05953            GOptionErrorFunc error_func);
05954 void g_option_group_free (GOptionGroup *group);
05955 void g_option_group_add_entries (GOptionGroup *group,
05956            const GOptionEntry *entries);
05957 void g_option_group_set_translate_func (GOptionGroup *group,
05958            GTranslateFunc func,
05959            gpointer data,
05960            GDestroyNotify destroy_notify);
05961 void g_option_group_set_translation_domain (GOptionGroup *group,
05962            const gchar *domain);
05963 
05964 
05965 # 64 "/usr/include/glib-2.0/glib.h" 2
05966 # 1 "/usr/include/glib-2.0/glib/gpattern.h" 1
05967 # 27 "/usr/include/glib-2.0/glib/gpattern.h"
05968 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
05969 # 28 "/usr/include/glib-2.0/glib/gpattern.h" 2
05970 
05971 
05972 
05973 
05974 typedef struct _GPatternSpec GPatternSpec;
05975 
05976 GPatternSpec* g_pattern_spec_new (const gchar *pattern);
05977 void g_pattern_spec_free (GPatternSpec *pspec);
05978 gboolean g_pattern_spec_equal (GPatternSpec *pspec1,
05979      GPatternSpec *pspec2);
05980 gboolean g_pattern_match (GPatternSpec *pspec,
05981      guint string_length,
05982      const gchar *string,
05983      const gchar *string_reversed);
05984 gboolean g_pattern_match_string (GPatternSpec *pspec,
05985      const gchar *string);
05986 gboolean g_pattern_match_simple (const gchar *pattern,
05987      const gchar *string);
05988 
05989 
05990 # 65 "/usr/include/glib-2.0/glib.h" 2
05991 # 1 "/usr/include/glib-2.0/glib/gpoll.h" 1
05992 # 66 "/usr/include/glib-2.0/glib.h" 2
05993 # 1 "/usr/include/glib-2.0/glib/gprimes.h" 1
05994 # 34 "/usr/include/glib-2.0/glib/gprimes.h"
05995 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
05996 # 35 "/usr/include/glib-2.0/glib/gprimes.h" 2
05997 
05998 
05999 # 47 "/usr/include/glib-2.0/glib/gprimes.h"
06000 guint g_spaced_primes_closest (guint num) __attribute__((__const__));
06001 
06002 
06003 # 67 "/usr/include/glib-2.0/glib.h" 2
06004 # 1 "/usr/include/glib-2.0/glib/gqsort.h" 1
06005 # 34 "/usr/include/glib-2.0/glib/gqsort.h"
06006 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
06007 # 35 "/usr/include/glib-2.0/glib/gqsort.h" 2
06008 
06009 
06010 
06011 void g_qsort_with_data (gconstpointer pbase,
06012    gint total_elems,
06013    gsize size,
06014    GCompareDataFunc compare_func,
06015    gpointer user_data);
06016 
06017 
06018 # 68 "/usr/include/glib-2.0/glib.h" 2
06019 # 1 "/usr/include/glib-2.0/glib/gquark.h" 1
06020 # 69 "/usr/include/glib-2.0/glib.h" 2
06021 # 1 "/usr/include/glib-2.0/glib/gqueue.h" 1
06022 # 34 "/usr/include/glib-2.0/glib/gqueue.h"
06023 # 1 "/usr/include/glib-2.0/glib/glist.h" 1
06024 # 35 "/usr/include/glib-2.0/glib/gqueue.h" 2
06025 
06026 
06027 
06028 typedef struct _GQueue GQueue;
06029 
06030 struct _GQueue
06031 {
06032   GList *head;
06033   GList *tail;
06034   guint length;
06035 };
06036 
06037 
06038 
06039 
06040 
06041 GQueue* g_queue_new (void);
06042 void g_queue_free (GQueue *queue);
06043 void g_queue_init (GQueue *queue);
06044 void g_queue_clear (GQueue *queue);
06045 gboolean g_queue_is_empty (GQueue *queue);
06046 guint g_queue_get_length (GQueue *queue);
06047 void g_queue_reverse (GQueue *queue);
06048 GQueue * g_queue_copy (GQueue *queue);
06049 void g_queue_foreach (GQueue *queue,
06050      GFunc func,
06051      gpointer user_data);
06052 GList * g_queue_find (GQueue *queue,
06053      gconstpointer data);
06054 GList * g_queue_find_custom (GQueue *queue,
06055      gconstpointer data,
06056      GCompareFunc func);
06057 void g_queue_sort (GQueue *queue,
06058      GCompareDataFunc compare_func,
06059      gpointer user_data);
06060 
06061 void g_queue_push_head (GQueue *queue,
06062      gpointer data);
06063 void g_queue_push_tail (GQueue *queue,
06064      gpointer data);
06065 void g_queue_push_nth (GQueue *queue,
06066      gpointer data,
06067      gint n);
06068 gpointer g_queue_pop_head (GQueue *queue);
06069 gpointer g_queue_pop_tail (GQueue *queue);
06070 gpointer g_queue_pop_nth (GQueue *queue,
06071      guint n);
06072 gpointer g_queue_peek_head (GQueue *queue);
06073 gpointer g_queue_peek_tail (GQueue *queue);
06074 gpointer g_queue_peek_nth (GQueue *queue,
06075      guint n);
06076 gint g_queue_index (GQueue *queue,
06077      gconstpointer data);
06078 void g_queue_remove (GQueue *queue,
06079      gconstpointer data);
06080 void g_queue_remove_all (GQueue *queue,
06081      gconstpointer data);
06082 void g_queue_insert_before (GQueue *queue,
06083      GList *sibling,
06084      gpointer data);
06085 void g_queue_insert_after (GQueue *queue,
06086      GList *sibling,
06087      gpointer data);
06088 void g_queue_insert_sorted (GQueue *queue,
06089      gpointer data,
06090      GCompareDataFunc func,
06091      gpointer user_data);
06092 
06093 void g_queue_push_head_link (GQueue *queue,
06094      GList *link_);
06095 void g_queue_push_tail_link (GQueue *queue,
06096      GList *link_);
06097 void g_queue_push_nth_link (GQueue *queue,
06098      gint n,
06099      GList *link_);
06100 GList* g_queue_pop_head_link (GQueue *queue);
06101 GList* g_queue_pop_tail_link (GQueue *queue);
06102 GList* g_queue_pop_nth_link (GQueue *queue,
06103      guint n);
06104 GList* g_queue_peek_head_link (GQueue *queue);
06105 GList* g_queue_peek_tail_link (GQueue *queue);
06106 GList* g_queue_peek_nth_link (GQueue *queue,
06107      guint n);
06108 gint g_queue_link_index (GQueue *queue,
06109      GList *link_);
06110 void g_queue_unlink (GQueue *queue,
06111      GList *link_);
06112 void g_queue_delete_link (GQueue *queue,
06113      GList *link_);
06114 
06115 
06116 # 70 "/usr/include/glib-2.0/glib.h" 2
06117 # 1 "/usr/include/glib-2.0/glib/grand.h" 1
06118 # 34 "/usr/include/glib-2.0/glib/grand.h"
06119 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
06120 # 35 "/usr/include/glib-2.0/glib/grand.h" 2
06121 
06122 
06123 
06124 typedef struct _GRand GRand;
06125 # 49 "/usr/include/glib-2.0/glib/grand.h"
06126 GRand* g_rand_new_with_seed (guint32 seed);
06127 GRand* g_rand_new_with_seed_array (const guint32 *seed,
06128         guint seed_length);
06129 GRand* g_rand_new (void);
06130 void g_rand_free (GRand *rand_);
06131 GRand* g_rand_copy (GRand *rand_);
06132 void g_rand_set_seed (GRand *rand_,
06133           guint32 seed);
06134 void g_rand_set_seed_array (GRand *rand_,
06135           const guint32 *seed,
06136           guint seed_length);
06137 
06138 
06139 
06140 guint32 g_rand_int (GRand *rand_);
06141 gint32 g_rand_int_range (GRand *rand_,
06142           gint32 begin,
06143           gint32 end);
06144 gdouble g_rand_double (GRand *rand_);
06145 gdouble g_rand_double_range (GRand *rand_,
06146           gdouble begin,
06147           gdouble end);
06148 void g_random_set_seed (guint32 seed);
06149 
06150 
06151 
06152 guint32 g_random_int (void);
06153 gint32 g_random_int_range (gint32 begin,
06154           gint32 end);
06155 gdouble g_random_double (void);
06156 gdouble g_random_double_range (gdouble begin,
06157           gdouble end);
06158 
06159 
06160 
06161 # 71 "/usr/include/glib-2.0/glib.h" 2
06162 # 1 "/usr/include/glib-2.0/glib/grel.h" 1
06163 # 34 "/usr/include/glib-2.0/glib/grel.h"
06164 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
06165 # 35 "/usr/include/glib-2.0/glib/grel.h" 2
06166 
06167 
06168 
06169 typedef struct _GRelation GRelation;
06170 typedef struct _GTuples GTuples;
06171 
06172 struct _GTuples
06173 {
06174   guint len;
06175 };
06176 # 71 "/usr/include/glib-2.0/glib/grel.h"
06177 GRelation* g_relation_new (gint fields);
06178 void g_relation_destroy (GRelation *relation);
06179 void g_relation_index (GRelation *relation,
06180                                gint field,
06181                                GHashFunc hash_func,
06182                                GEqualFunc key_equal_func);
06183 void g_relation_insert (GRelation *relation,
06184                                ...);
06185 gint g_relation_delete (GRelation *relation,
06186                                gconstpointer key,
06187                                gint field);
06188 GTuples* g_relation_select (GRelation *relation,
06189                                gconstpointer key,
06190                                gint field);
06191 gint g_relation_count (GRelation *relation,
06192                                gconstpointer key,
06193                                gint field);
06194 gboolean g_relation_exists (GRelation *relation,
06195                                ...);
06196 void g_relation_print (GRelation *relation);
06197 
06198 void g_tuples_destroy (GTuples *tuples);
06199 gpointer g_tuples_index (GTuples *tuples,
06200                                gint index_,
06201                                gint field);
06202 
06203 
06204 
06205 
06206 # 72 "/usr/include/glib-2.0/glib.h" 2
06207 # 1 "/usr/include/glib-2.0/glib/gregex.h" 1
06208 # 29 "/usr/include/glib-2.0/glib/gregex.h"
06209 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
06210 # 30 "/usr/include/glib-2.0/glib/gregex.h" 2
06211 # 1 "/usr/include/glib-2.0/glib/gstring.h" 1
06212 # 31 "/usr/include/glib-2.0/glib/gregex.h" 2
06213 
06214 
06215 # 117 "/usr/include/glib-2.0/glib/gregex.h"
06216 typedef enum
06217 {
06218   G_REGEX_ERROR_COMPILE,
06219   G_REGEX_ERROR_OPTIMIZE,
06220   G_REGEX_ERROR_REPLACE,
06221   G_REGEX_ERROR_MATCH,
06222   G_REGEX_ERROR_INTERNAL,
06223 
06224 
06225   G_REGEX_ERROR_STRAY_BACKSLASH = 101,
06226   G_REGEX_ERROR_MISSING_CONTROL_CHAR = 102,
06227   G_REGEX_ERROR_UNRECOGNIZED_ESCAPE = 103,
06228   G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER = 104,
06229   G_REGEX_ERROR_QUANTIFIER_TOO_BIG = 105,
06230   G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS = 106,
06231   G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS = 107,
06232   G_REGEX_ERROR_RANGE_OUT_OF_ORDER = 108,
06233   G_REGEX_ERROR_NOTHING_TO_REPEAT = 109,
06234   G_REGEX_ERROR_UNRECOGNIZED_CHARACTER = 112,
06235   G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS = 113,
06236   G_REGEX_ERROR_UNMATCHED_PARENTHESIS = 114,
06237   G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE = 115,
06238   G_REGEX_ERROR_UNTERMINATED_COMMENT = 118,
06239   G_REGEX_ERROR_EXPRESSION_TOO_LARGE = 120,
06240   G_REGEX_ERROR_MEMORY_ERROR = 121,
06241   G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND = 125,
06242   G_REGEX_ERROR_MALFORMED_CONDITION = 126,
06243   G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES = 127,
06244   G_REGEX_ERROR_ASSERTION_EXPECTED = 128,
06245   G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME = 130,
06246   G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED = 131,
06247   G_REGEX_ERROR_HEX_CODE_TOO_LARGE = 134,
06248   G_REGEX_ERROR_INVALID_CONDITION = 135,
06249   G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND = 136,
06250   G_REGEX_ERROR_INFINITE_LOOP = 140,
06251   G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR = 142,
06252   G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME = 143,
06253   G_REGEX_ERROR_MALFORMED_PROPERTY = 146,
06254   G_REGEX_ERROR_UNKNOWN_PROPERTY = 147,
06255   G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG = 148,
06256   G_REGEX_ERROR_TOO_MANY_SUBPATTERNS = 149,
06257   G_REGEX_ERROR_INVALID_OCTAL_VALUE = 151,
06258   G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE = 154,
06259   G_REGEX_ERROR_DEFINE_REPETION = 155,
06260   G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS = 156,
06261   G_REGEX_ERROR_MISSING_BACK_REFERENCE = 157
06262 } GRegexError;
06263 # 176 "/usr/include/glib-2.0/glib/gregex.h"
06264 GQuark g_regex_error_quark (void);
06265 # 243 "/usr/include/glib-2.0/glib/gregex.h"
06266 typedef enum
06267 {
06268   G_REGEX_CASELESS = 1 << 0,
06269   G_REGEX_MULTILINE = 1 << 1,
06270   G_REGEX_DOTALL = 1 << 2,
06271   G_REGEX_EXTENDED = 1 << 3,
06272   G_REGEX_ANCHORED = 1 << 4,
06273   G_REGEX_DOLLAR_ENDONLY = 1 << 5,
06274   G_REGEX_UNGREEDY = 1 << 9,
06275   G_REGEX_RAW = 1 << 11,
06276   G_REGEX_NO_AUTO_CAPTURE = 1 << 12,
06277   G_REGEX_OPTIMIZE = 1 << 13,
06278   G_REGEX_DUPNAMES = 1 << 19,
06279   G_REGEX_NEWLINE_CR = 1 << 20,
06280   G_REGEX_NEWLINE_LF = 1 << 21,
06281   G_REGEX_NEWLINE_CRLF = G_REGEX_NEWLINE_CR | G_REGEX_NEWLINE_LF
06282 } GRegexCompileFlags;
06283 # 306 "/usr/include/glib-2.0/glib/gregex.h"
06284 typedef enum
06285 {
06286   G_REGEX_MATCH_ANCHORED = 1 << 4,
06287   G_REGEX_MATCH_NOTBOL = 1 << 7,
06288   G_REGEX_MATCH_NOTEOL = 1 << 8,
06289   G_REGEX_MATCH_NOTEMPTY = 1 << 10,
06290   G_REGEX_MATCH_PARTIAL = 1 << 15,
06291   G_REGEX_MATCH_NEWLINE_CR = 1 << 20,
06292   G_REGEX_MATCH_NEWLINE_LF = 1 << 21,
06293   G_REGEX_MATCH_NEWLINE_CRLF = G_REGEX_MATCH_NEWLINE_CR | G_REGEX_MATCH_NEWLINE_LF,
06294   G_REGEX_MATCH_NEWLINE_ANY = 1 << 22
06295 } GRegexMatchFlags;
06296 # 327 "/usr/include/glib-2.0/glib/gregex.h"
06297 typedef struct _GRegex GRegex;
06298 
06299 
06300 typedef struct _GMatchInfo GMatchInfo;
06301 # 349 "/usr/include/glib-2.0/glib/gregex.h"
06302 typedef gboolean (*GRegexEvalCallback) (const GMatchInfo *match_info,
06303        GString *result,
06304        gpointer user_data);
06305 
06306 
06307 GRegex *g_regex_new (const gchar *pattern,
06308        GRegexCompileFlags compile_options,
06309        GRegexMatchFlags match_options,
06310        GError **error);
06311 GRegex *g_regex_ref (GRegex *regex);
06312 void g_regex_unref (GRegex *regex);
06313 const gchar *g_regex_get_pattern (const GRegex *regex);
06314 gint g_regex_get_max_backref (const GRegex *regex);
06315 gint g_regex_get_capture_count (const GRegex *regex);
06316 gint g_regex_get_string_number (const GRegex *regex,
06317        const gchar *name);
06318 gchar *g_regex_escape_string (const gchar *string,
06319        gint length);
06320 
06321 GRegexCompileFlags g_regex_get_compile_flags (const GRegex *regex);
06322 GRegexMatchFlags g_regex_get_match_flags (const GRegex *regex);
06323 
06324 
06325 gboolean g_regex_match_simple (const gchar *pattern,
06326        const gchar *string,
06327        GRegexCompileFlags compile_options,
06328        GRegexMatchFlags match_options);
06329 gboolean g_regex_match (const GRegex *regex,
06330        const gchar *string,
06331        GRegexMatchFlags match_options,
06332        GMatchInfo **match_info);
06333 gboolean g_regex_match_full (const GRegex *regex,
06334        const gchar *string,
06335        gssize string_len,
06336        gint start_position,
06337        GRegexMatchFlags match_options,
06338        GMatchInfo **match_info,
06339        GError **error);
06340 gboolean g_regex_match_all (const GRegex *regex,
06341        const gchar *string,
06342        GRegexMatchFlags match_options,
06343        GMatchInfo **match_info);
06344 gboolean g_regex_match_all_full (const GRegex *regex,
06345        const gchar *string,
06346        gssize string_len,
06347        gint start_position,
06348        GRegexMatchFlags match_options,
06349        GMatchInfo **match_info,
06350        GError **error);
06351 
06352 
06353 gchar **g_regex_split_simple (const gchar *pattern,
06354        const gchar *string,
06355        GRegexCompileFlags compile_options,
06356        GRegexMatchFlags match_options);
06357 gchar **g_regex_split (const GRegex *regex,
06358        const gchar *string,
06359        GRegexMatchFlags match_options);
06360 gchar **g_regex_split_full (const GRegex *regex,
06361        const gchar *string,
06362        gssize string_len,
06363        gint start_position,
06364        GRegexMatchFlags match_options,
06365        gint max_tokens,
06366        GError **error);
06367 
06368 
06369 gchar *g_regex_replace (const GRegex *regex,
06370        const gchar *string,
06371        gssize string_len,
06372        gint start_position,
06373        const gchar *replacement,
06374        GRegexMatchFlags match_options,
06375        GError **error);
06376 gchar *g_regex_replace_literal (const GRegex *regex,
06377        const gchar *string,
06378        gssize string_len,
06379        gint start_position,
06380        const gchar *replacement,
06381        GRegexMatchFlags match_options,
06382        GError **error);
06383 gchar *g_regex_replace_eval (const GRegex *regex,
06384        const gchar *string,
06385        gssize string_len,
06386        gint start_position,
06387        GRegexMatchFlags match_options,
06388        GRegexEvalCallback eval,
06389        gpointer user_data,
06390        GError **error);
06391 gboolean g_regex_check_replacement (const gchar *replacement,
06392        gboolean *has_references,
06393        GError **error);
06394 
06395 
06396 GRegex *g_match_info_get_regex (const GMatchInfo *match_info);
06397 const gchar *g_match_info_get_string (const GMatchInfo *match_info);
06398 
06399 void g_match_info_free (GMatchInfo *match_info);
06400 gboolean g_match_info_next (GMatchInfo *match_info,
06401        GError **error);
06402 gboolean g_match_info_matches (const GMatchInfo *match_info);
06403 gint g_match_info_get_match_count (const GMatchInfo *match_info);
06404 gboolean g_match_info_is_partial_match (const GMatchInfo *match_info);
06405 gchar *g_match_info_expand_references(const GMatchInfo *match_info,
06406        const gchar *string_to_expand,
06407        GError **error);
06408 gchar *g_match_info_fetch (const GMatchInfo *match_info,
06409        gint match_num);
06410 gboolean g_match_info_fetch_pos (const GMatchInfo *match_info,
06411        gint match_num,
06412        gint *start_pos,
06413        gint *end_pos);
06414 gchar *g_match_info_fetch_named (const GMatchInfo *match_info,
06415        const gchar *name);
06416 gboolean g_match_info_fetch_named_pos (const GMatchInfo *match_info,
06417        const gchar *name,
06418        gint *start_pos,
06419        gint *end_pos);
06420 gchar **g_match_info_fetch_all (const GMatchInfo *match_info);
06421 
06422 
06423 # 73 "/usr/include/glib-2.0/glib.h" 2
06424 # 1 "/usr/include/glib-2.0/glib/gscanner.h" 1
06425 # 34 "/usr/include/glib-2.0/glib/gscanner.h"
06426 # 1 "/usr/include/glib-2.0/glib/gdataset.h" 1
06427 # 35 "/usr/include/glib-2.0/glib/gscanner.h" 2
06428 # 1 "/usr/include/glib-2.0/glib/ghash.h" 1
06429 # 36 "/usr/include/glib-2.0/glib/gscanner.h" 2
06430 
06431 
06432 
06433 typedef struct _GScanner GScanner;
06434 typedef struct _GScannerConfig GScannerConfig;
06435 typedef union _GTokenValue GTokenValue;
06436 
06437 typedef void (*GScannerMsgFunc) (GScanner *scanner,
06438        gchar *message,
06439        gboolean error);
06440 # 64 "/usr/include/glib-2.0/glib/gscanner.h"
06441 typedef enum
06442 {
06443   G_ERR_UNKNOWN,
06444   G_ERR_UNEXP_EOF,
06445   G_ERR_UNEXP_EOF_IN_STRING,
06446   G_ERR_UNEXP_EOF_IN_COMMENT,
06447   G_ERR_NON_DIGIT_IN_CONST,
06448   G_ERR_DIGIT_RADIX,
06449   G_ERR_FLOAT_RADIX,
06450   G_ERR_FLOAT_MALFORMED
06451 } GErrorType;
06452 
06453 
06454 typedef enum
06455 {
06456   G_TOKEN_EOF = 0,
06457 
06458   G_TOKEN_LEFT_PAREN = '(',
06459   G_TOKEN_RIGHT_PAREN = ')',
06460   G_TOKEN_LEFT_CURLY = '{',
06461   G_TOKEN_RIGHT_CURLY = '}',
06462   G_TOKEN_LEFT_BRACE = '[',
06463   G_TOKEN_RIGHT_BRACE = ']',
06464   G_TOKEN_EQUAL_SIGN = '=',
06465   G_TOKEN_COMMA = ',',
06466 
06467   G_TOKEN_NONE = 256,
06468 
06469   G_TOKEN_ERROR,
06470 
06471   G_TOKEN_CHAR,
06472   G_TOKEN_BINARY,
06473   G_TOKEN_OCTAL,
06474   G_TOKEN_INT,
06475   G_TOKEN_HEX,
06476   G_TOKEN_FLOAT,
06477   G_TOKEN_STRING,
06478 
06479   G_TOKEN_SYMBOL,
06480   G_TOKEN_IDENTIFIER,
06481   G_TOKEN_IDENTIFIER_NULL,
06482 
06483   G_TOKEN_COMMENT_SINGLE,
06484   G_TOKEN_COMMENT_MULTI,
06485   G_TOKEN_LAST
06486 } GTokenType;
06487 
06488 union _GTokenValue
06489 {
06490   gpointer v_symbol;
06491   gchar *v_identifier;
06492   gulong v_binary;
06493   gulong v_octal;
06494   gulong v_int;
06495   guint64 v_int64;
06496   gdouble v_float;
06497   gulong v_hex;
06498   gchar *v_string;
06499   gchar *v_comment;
06500   guchar v_char;
06501   guint v_error;
06502 };
06503 
06504 struct _GScannerConfig
06505 {
06506 
06507 
06508   gchar *cset_skip_characters;
06509   gchar *cset_identifier_first;
06510   gchar *cset_identifier_nth;
06511   gchar *cpair_comment_single;
06512 
06513 
06514 
06515   guint case_sensitive : 1;
06516 
06517 
06518 
06519 
06520   guint skip_comment_multi : 1;
06521   guint skip_comment_single : 1;
06522   guint scan_comment_multi : 1;
06523   guint scan_identifier : 1;
06524   guint scan_identifier_1char : 1;
06525   guint scan_identifier_NULL : 1;
06526   guint scan_symbols : 1;
06527   guint scan_binary : 1;
06528   guint scan_octal : 1;
06529   guint scan_float : 1;
06530   guint scan_hex : 1;
06531   guint scan_hex_dollar : 1;
06532   guint scan_string_sq : 1;
06533   guint scan_string_dq : 1;
06534   guint numbers_2_int : 1;
06535   guint int_2_float : 1;
06536   guint identifier_2_string : 1;
06537   guint char_2_token : 1;
06538   guint symbol_2_token : 1;
06539   guint scope_0_fallback : 1;
06540   guint store_int64 : 1;
06541   guint padding_dummy;
06542 };
06543 
06544 struct _GScanner
06545 {
06546 
06547   gpointer user_data;
06548   guint max_parse_errors;
06549 
06550 
06551   guint parse_errors;
06552 
06553 
06554   const gchar *input_name;
06555 
06556 
06557   GData *qdata;
06558 
06559 
06560   GScannerConfig *config;
06561 
06562 
06563   GTokenType token;
06564   GTokenValue value;
06565   guint line;
06566   guint position;
06567 
06568 
06569   GTokenType next_token;
06570   GTokenValue next_value;
06571   guint next_line;
06572   guint next_position;
06573 
06574 
06575   GHashTable *symbol_table;
06576   gint input_fd;
06577   const gchar *text;
06578   const gchar *text_end;
06579   gchar *buffer;
06580   guint scope_id;
06581 
06582 
06583   GScannerMsgFunc msg_handler;
06584 };
06585 
06586 GScanner* g_scanner_new (const GScannerConfig *config_templ);
06587 void g_scanner_destroy (GScanner *scanner);
06588 void g_scanner_input_file (GScanner *scanner,
06589        gint input_fd);
06590 void g_scanner_sync_file_offset (GScanner *scanner);
06591 void g_scanner_input_text (GScanner *scanner,
06592        const gchar *text,
06593        guint text_len);
06594 GTokenType g_scanner_get_next_token (GScanner *scanner);
06595 GTokenType g_scanner_peek_next_token (GScanner *scanner);
06596 GTokenType g_scanner_cur_token (GScanner *scanner);
06597 GTokenValue g_scanner_cur_value (GScanner *scanner);
06598 guint g_scanner_cur_line (GScanner *scanner);
06599 guint g_scanner_cur_position (GScanner *scanner);
06600 gboolean g_scanner_eof (GScanner *scanner);
06601 guint g_scanner_set_scope (GScanner *scanner,
06602        guint scope_id);
06603 void g_scanner_scope_add_symbol (GScanner *scanner,
06604        guint scope_id,
06605        const gchar *symbol,
06606        gpointer value);
06607 void g_scanner_scope_remove_symbol (GScanner *scanner,
06608        guint scope_id,
06609        const gchar *symbol);
06610 gpointer g_scanner_scope_lookup_symbol (GScanner *scanner,
06611        guint scope_id,
06612        const gchar *symbol);
06613 void g_scanner_scope_foreach_symbol (GScanner *scanner,
06614        guint scope_id,
06615        GHFunc func,
06616        gpointer user_data);
06617 gpointer g_scanner_lookup_symbol (GScanner *scanner,
06618        const gchar *symbol);
06619 void g_scanner_unexp_token (GScanner *scanner,
06620        GTokenType expected_token,
06621        const gchar *identifier_spec,
06622        const gchar *symbol_spec,
06623        const gchar *symbol_name,
06624        const gchar *message,
06625        gint is_error);
06626 void g_scanner_error (GScanner *scanner,
06627        const gchar *format,
06628        ...) __attribute__((__format__ (__printf__, 2, 3)));
06629 void g_scanner_warn (GScanner *scanner,
06630        const gchar *format,
06631        ...) __attribute__((__format__ (__printf__, 2, 3)));
06632 # 276 "/usr/include/glib-2.0/glib/gscanner.h"
06633 
06634 # 74 "/usr/include/glib-2.0/glib.h" 2
06635 # 1 "/usr/include/glib-2.0/glib/gsequence.h" 1
06636 # 28 "/usr/include/glib-2.0/glib/gsequence.h"
06637 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
06638 # 29 "/usr/include/glib-2.0/glib/gsequence.h" 2
06639 
06640 
06641 
06642 typedef struct _GSequence GSequence;
06643 typedef struct _GSequenceNode GSequenceIter;
06644 
06645 typedef gint (* GSequenceIterCompareFunc) (GSequenceIter *a,
06646                                            GSequenceIter *b,
06647                                            gpointer data);
06648 
06649 
06650 
06651 GSequence * g_sequence_new (GDestroyNotify data_destroy);
06652 void g_sequence_free (GSequence *seq);
06653 gint g_sequence_get_length (GSequence *seq);
06654 void g_sequence_foreach (GSequence *seq,
06655                                               GFunc func,
06656                                               gpointer user_data);
06657 void g_sequence_foreach_range (GSequenceIter *begin,
06658                                               GSequenceIter *end,
06659                                               GFunc func,
06660                                               gpointer user_data);
06661 void g_sequence_sort (GSequence *seq,
06662                                               GCompareDataFunc cmp_func,
06663                                               gpointer cmp_data);
06664 void g_sequence_sort_iter (GSequence *seq,
06665                                               GSequenceIterCompareFunc cmp_func,
06666                                               gpointer cmp_data);
06667 
06668 
06669 
06670 GSequenceIter *g_sequence_get_begin_iter (GSequence *seq);
06671 GSequenceIter *g_sequence_get_end_iter (GSequence *seq);
06672 GSequenceIter *g_sequence_get_iter_at_pos (GSequence *seq,
06673                                               gint pos);
06674 GSequenceIter *g_sequence_append (GSequence *seq,
06675                                               gpointer data);
06676 GSequenceIter *g_sequence_prepend (GSequence *seq,
06677                                               gpointer data);
06678 GSequenceIter *g_sequence_insert_before (GSequenceIter *iter,
06679                                               gpointer data);
06680 void g_sequence_move (GSequenceIter *src,
06681                                               GSequenceIter *dest);
06682 void g_sequence_swap (GSequenceIter *a,
06683                                               GSequenceIter *b);
06684 GSequenceIter *g_sequence_insert_sorted (GSequence *seq,
06685                                               gpointer data,
06686                                               GCompareDataFunc cmp_func,
06687                                               gpointer cmp_data);
06688 GSequenceIter *g_sequence_insert_sorted_iter (GSequence *seq,
06689                                               gpointer data,
06690                                               GSequenceIterCompareFunc iter_cmp,
06691                                               gpointer cmp_data);
06692 void g_sequence_sort_changed (GSequenceIter *iter,
06693                                               GCompareDataFunc cmp_func,
06694                                               gpointer cmp_data);
06695 void g_sequence_sort_changed_iter (GSequenceIter *iter,
06696                                               GSequenceIterCompareFunc iter_cmp,
06697                                               gpointer cmp_data);
06698 void g_sequence_remove (GSequenceIter *iter);
06699 void g_sequence_remove_range (GSequenceIter *begin,
06700                                               GSequenceIter *end);
06701 void g_sequence_move_range (GSequenceIter *dest,
06702                                               GSequenceIter *begin,
06703                                               GSequenceIter *end);
06704 GSequenceIter *g_sequence_search (GSequence *seq,
06705                                               gpointer data,
06706                                               GCompareDataFunc cmp_func,
06707                                               gpointer cmp_data);
06708 GSequenceIter *g_sequence_search_iter (GSequence *seq,
06709                                               gpointer data,
06710                                               GSequenceIterCompareFunc iter_cmp,
06711                                               gpointer cmp_data);
06712 GSequenceIter *g_sequence_lookup (GSequence *seq,
06713                                               gpointer data,
06714                                               GCompareDataFunc cmp_func,
06715                                               gpointer cmp_data);
06716 GSequenceIter *g_sequence_lookup_iter (GSequence *seq,
06717                                               gpointer data,
06718                                               GSequenceIterCompareFunc iter_cmp,
06719                                               gpointer cmp_data);
06720 
06721 
06722 
06723 gpointer g_sequence_get (GSequenceIter *iter);
06724 void g_sequence_set (GSequenceIter *iter,
06725                                               gpointer data);
06726 
06727 
06728 gboolean g_sequence_iter_is_begin (GSequenceIter *iter);
06729 gboolean g_sequence_iter_is_end (GSequenceIter *iter);
06730 GSequenceIter *g_sequence_iter_next (GSequenceIter *iter);
06731 GSequenceIter *g_sequence_iter_prev (GSequenceIter *iter);
06732 gint g_sequence_iter_get_position (GSequenceIter *iter);
06733 GSequenceIter *g_sequence_iter_move (GSequenceIter *iter,
06734                                               gint delta);
06735 GSequence * g_sequence_iter_get_sequence (GSequenceIter *iter);
06736 
06737 
06738 
06739 gint g_sequence_iter_compare (GSequenceIter *a,
06740                                               GSequenceIter *b);
06741 GSequenceIter *g_sequence_range_get_midpoint (GSequenceIter *begin,
06742                                               GSequenceIter *end);
06743 
06744 
06745 # 75 "/usr/include/glib-2.0/glib.h" 2
06746 # 1 "/usr/include/glib-2.0/glib/gshell.h" 1
06747 # 28 "/usr/include/glib-2.0/glib/gshell.h"
06748 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
06749 # 29 "/usr/include/glib-2.0/glib/gshell.h" 2
06750 
06751 
06752 
06753 
06754 
06755 typedef enum
06756 {
06757 
06758   G_SHELL_ERROR_BAD_QUOTING,
06759 
06760   G_SHELL_ERROR_EMPTY_STRING,
06761   G_SHELL_ERROR_FAILED
06762 } GShellError;
06763 
06764 GQuark g_shell_error_quark (void);
06765 
06766 gchar* g_shell_quote (const gchar *unquoted_string);
06767 gchar* g_shell_unquote (const gchar *quoted_string,
06768                              GError **error);
06769 gboolean g_shell_parse_argv (const gchar *command_line,
06770                              gint *argcp,
06771                              gchar ***argvp,
06772                              GError **error);
06773 
06774 
06775 # 76 "/usr/include/glib-2.0/glib.h" 2
06776 # 1 "/usr/include/glib-2.0/glib/gslice.h" 1
06777 # 77 "/usr/include/glib-2.0/glib.h" 2
06778 # 1 "/usr/include/glib-2.0/glib/gslist.h" 1
06779 # 78 "/usr/include/glib-2.0/glib.h" 2
06780 # 1 "/usr/include/glib-2.0/glib/gspawn.h" 1
06781 # 28 "/usr/include/glib-2.0/glib/gspawn.h"
06782 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
06783 # 29 "/usr/include/glib-2.0/glib/gspawn.h" 2
06784 
06785 
06786 
06787 
06788 
06789 
06790 typedef enum
06791 {
06792   G_SPAWN_ERROR_FORK,
06793   G_SPAWN_ERROR_READ,
06794   G_SPAWN_ERROR_CHDIR,
06795   G_SPAWN_ERROR_ACCES,
06796   G_SPAWN_ERROR_PERM,
06797   G_SPAWN_ERROR_2BIG,
06798   G_SPAWN_ERROR_NOEXEC,
06799   G_SPAWN_ERROR_NAMETOOLONG,
06800   G_SPAWN_ERROR_NOENT,
06801   G_SPAWN_ERROR_NOMEM,
06802   G_SPAWN_ERROR_NOTDIR,
06803   G_SPAWN_ERROR_LOOP,
06804   G_SPAWN_ERROR_TXTBUSY,
06805   G_SPAWN_ERROR_IO,
06806   G_SPAWN_ERROR_NFILE,
06807   G_SPAWN_ERROR_MFILE,
06808   G_SPAWN_ERROR_INVAL,
06809   G_SPAWN_ERROR_ISDIR,
06810   G_SPAWN_ERROR_LIBBAD,
06811   G_SPAWN_ERROR_FAILED
06812 
06813 
06814 } GSpawnError;
06815 
06816 typedef void (* GSpawnChildSetupFunc) (gpointer user_data);
06817 
06818 typedef enum
06819 {
06820   G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0,
06821   G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1,
06822 
06823   G_SPAWN_SEARCH_PATH = 1 << 2,
06824 
06825   G_SPAWN_STDOUT_TO_DEV_NULL = 1 << 3,
06826   G_SPAWN_STDERR_TO_DEV_NULL = 1 << 4,
06827   G_SPAWN_CHILD_INHERITS_STDIN = 1 << 5,
06828   G_SPAWN_FILE_AND_ARGV_ZERO = 1 << 6
06829 } GSpawnFlags;
06830 
06831 GQuark g_spawn_error_quark (void);
06832 # 86 "/usr/include/glib-2.0/glib/gspawn.h"
06833 gboolean g_spawn_async (const gchar *working_directory,
06834                         gchar **argv,
06835                         gchar **envp,
06836                         GSpawnFlags flags,
06837                         GSpawnChildSetupFunc child_setup,
06838                         gpointer user_data,
06839                         GPid *child_pid,
06840                         GError **error);
06841 
06842 
06843 
06844 
06845 
06846 gboolean g_spawn_async_with_pipes (const gchar *working_directory,
06847                                    gchar **argv,
06848                                    gchar **envp,
06849                                    GSpawnFlags flags,
06850                                    GSpawnChildSetupFunc child_setup,
06851                                    gpointer user_data,
06852                                    GPid *child_pid,
06853                                    gint *standard_input,
06854                                    gint *standard_output,
06855                                    gint *standard_error,
06856                                    GError **error);
06857 
06858 
06859 
06860 
06861 
06862 
06863 gboolean g_spawn_sync (const gchar *working_directory,
06864                                gchar **argv,
06865                                gchar **envp,
06866                                GSpawnFlags flags,
06867                                GSpawnChildSetupFunc child_setup,
06868                                gpointer user_data,
06869                                gchar **standard_output,
06870                                gchar **standard_error,
06871                                gint *exit_status,
06872                                GError **error);
06873 
06874 gboolean g_spawn_command_line_sync (const gchar *command_line,
06875                                      gchar **standard_output,
06876                                      gchar **standard_error,
06877                                      gint *exit_status,
06878                                      GError **error);
06879 gboolean g_spawn_command_line_async (const gchar *command_line,
06880                                      GError **error);
06881 
06882 void g_spawn_close_pid (GPid pid);
06883 
06884 
06885 # 79 "/usr/include/glib-2.0/glib.h" 2
06886 # 1 "/usr/include/glib-2.0/glib/gstrfuncs.h" 1
06887 # 35 "/usr/include/glib-2.0/glib/gstrfuncs.h"
06888 # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
06889 # 36 "/usr/include/glib-2.0/glib/gstrfuncs.h" 2
06890 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
06891 # 37 "/usr/include/glib-2.0/glib/gstrfuncs.h" 2
06892 
06893 
06894 
06895 
06896 typedef enum {
06897   G_ASCII_ALNUM = 1 << 0,
06898   G_ASCII_ALPHA = 1 << 1,
06899   G_ASCII_CNTRL = 1 << 2,
06900   G_ASCII_DIGIT = 1 << 3,
06901   G_ASCII_GRAPH = 1 << 4,
06902   G_ASCII_LOWER = 1 << 5,
06903   G_ASCII_PRINT = 1 << 6,
06904   G_ASCII_PUNCT = 1 << 7,
06905   G_ASCII_SPACE = 1 << 8,
06906   G_ASCII_UPPER = 1 << 9,
06907   G_ASCII_XDIGIT = 1 << 10
06908 } GAsciiType;
06909 
06910 extern const guint16 * const g_ascii_table;
06911 # 90 "/usr/include/glib-2.0/glib/gstrfuncs.h"
06912 gchar g_ascii_tolower (gchar c) __attribute__((__const__));
06913 gchar g_ascii_toupper (gchar c) __attribute__((__const__));
06914 
06915 gint g_ascii_digit_value (gchar c) __attribute__((__const__));
06916 gint g_ascii_xdigit_value (gchar c) __attribute__((__const__));
06917 
06918 
06919 
06920 
06921 
06922 gchar* g_strdelimit (gchar *string,
06923      const gchar *delimiters,
06924      gchar new_delimiter);
06925 gchar* g_strcanon (gchar *string,
06926      const gchar *valid_chars,
06927      gchar substitutor);
06928 const gchar* g_strerror (gint errnum) __attribute__((__const__));
06929 const gchar* g_strsignal (gint signum) __attribute__((__const__));
06930 gchar* g_strreverse (gchar *string);
06931 gsize g_strlcpy (gchar *dest,
06932      const gchar *src,
06933      gsize dest_size);
06934 gsize g_strlcat (gchar *dest,
06935      const gchar *src,
06936      gsize dest_size);
06937 gchar * g_strstr_len (const gchar *haystack,
06938      gssize haystack_len,
06939      const gchar *needle);
06940 gchar * g_strrstr (const gchar *haystack,
06941      const gchar *needle);
06942 gchar * g_strrstr_len (const gchar *haystack,
06943      gssize haystack_len,
06944      const gchar *needle);
06945 
06946 gboolean g_str_has_suffix (const gchar *str,
06947      const gchar *suffix);
06948 gboolean g_str_has_prefix (const gchar *str,
06949      const gchar *prefix);
06950 
06951 
06952 
06953 gdouble g_strtod (const gchar *nptr,
06954      gchar **endptr);
06955 gdouble g_ascii_strtod (const gchar *nptr,
06956      gchar **endptr);
06957 guint64 g_ascii_strtoull (const gchar *nptr,
06958      gchar **endptr,
06959      guint base);
06960 gint64 g_ascii_strtoll (const gchar *nptr,
06961      gchar **endptr,
06962      guint base);
06963 
06964 
06965 
06966 
06967 gchar * g_ascii_dtostr (gchar *buffer,
06968      gint buf_len,
06969      gdouble d);
06970 gchar * g_ascii_formatd (gchar *buffer,
06971      gint buf_len,
06972      const gchar *format,
06973      gdouble d);
06974 
06975 
06976 gchar* g_strchug (gchar *string);
06977 
06978 gchar* g_strchomp (gchar *string);
06979 
06980 
06981 
06982 gint g_ascii_strcasecmp (const gchar *s1,
06983         const gchar *s2);
06984 gint g_ascii_strncasecmp (const gchar *s1,
06985         const gchar *s2,
06986         gsize n);
06987 gchar* g_ascii_strdown (const gchar *str,
06988         gssize len) __attribute__((__malloc__));
06989 gchar* g_ascii_strup (const gchar *str,
06990         gssize len) __attribute__((__malloc__));
06991 # 177 "/usr/include/glib-2.0/glib/gstrfuncs.h"
06992 gint g_strcasecmp (const gchar *s1,
06993      const gchar *s2);
06994 gint g_strncasecmp (const gchar *s1,
06995      const gchar *s2,
06996      guint n);
06997 gchar* g_strdown (gchar *string);
06998 gchar* g_strup (gchar *string);
06999 
07000 
07001 
07002 
07003 
07004 
07005 gchar* g_strdup (const gchar *str) __attribute__((__malloc__));
07006 gchar* g_strdup_printf (const gchar *format,
07007      ...) __attribute__((__format__ (__printf__, 1, 2))) __attribute__((__malloc__));
07008 gchar* g_strdup_vprintf (const gchar *format,
07009      va_list args) __attribute__((__malloc__));
07010 gchar* g_strndup (const gchar *str,
07011      gsize n) __attribute__((__malloc__));
07012 gchar* g_strnfill (gsize length,
07013      gchar fill_char) __attribute__((__malloc__));
07014 gchar* g_strconcat (const gchar *string1,
07015      ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
07016 gchar* g_strjoin (const gchar *separator,
07017      ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
07018 
07019 
07020 
07021 
07022 
07023 gchar* g_strcompress (const gchar *source) __attribute__((__malloc__));
07024 # 218 "/usr/include/glib-2.0/glib/gstrfuncs.h"
07025 gchar* g_strescape (const gchar *source,
07026      const gchar *exceptions) __attribute__((__malloc__));
07027 
07028 gpointer g_memdup (gconstpointer mem,
07029      guint byte_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(2)));
07030 # 233 "/usr/include/glib-2.0/glib/gstrfuncs.h"
07031 gchar** g_strsplit (const gchar *string,
07032      const gchar *delimiter,
07033      gint max_tokens) __attribute__((__malloc__));
07034 gchar ** g_strsplit_set (const gchar *string,
07035      const gchar *delimiters,
07036      gint max_tokens) __attribute__((__malloc__));
07037 gchar* g_strjoinv (const gchar *separator,
07038      gchar **str_array) __attribute__((__malloc__));
07039 void g_strfreev (gchar **str_array);
07040 gchar** g_strdupv (gchar **str_array) __attribute__((__malloc__));
07041 guint g_strv_length (gchar **str_array);
07042 
07043 gchar* g_stpcpy (gchar *dest,
07044                                         const char *src);
07045 
07046 const gchar *g_strip_context (const gchar *msgid,
07047      const gchar *msgval) __attribute__((__format_arg__ (1)));
07048 
07049 const gchar *g_dgettext (const gchar *domain,
07050      const gchar *msgid) __attribute__((__format_arg__ (2)));
07051 const gchar *g_dcgettext (const gchar *domain,
07052      const gchar *msgid,
07053                                         int category) __attribute__((__format_arg__ (2)));
07054 const gchar *g_dngettext (const gchar *domain,
07055      const gchar *msgid,
07056      const gchar *msgid_plural,
07057      gulong n) __attribute__((__format_arg__ (3)));
07058 const gchar *g_dpgettext (const gchar *domain,
07059                                         const gchar *msgctxtid,
07060                                         gsize msgidoffset) __attribute__((__format_arg__ (2)));
07061 const gchar *g_dpgettext2 (const gchar *domain,
07062                                         const gchar *context,
07063                                         const gchar *msgid) __attribute__((__format_arg__ (3)));
07064 
07065 
07066 # 80 "/usr/include/glib-2.0/glib.h" 2
07067 # 1 "/usr/include/glib-2.0/glib/gstring.h" 1
07068 # 81 "/usr/include/glib-2.0/glib.h" 2
07069 # 1 "/usr/include/glib-2.0/glib/gtestutils.h" 1
07070 # 28 "/usr/include/glib-2.0/glib/gtestutils.h"
07071 # 1 "/usr/include/glib-2.0/glib/gmessages.h" 1
07072 # 29 "/usr/include/glib-2.0/glib/gtestutils.h" 2
07073 # 1 "/usr/include/glib-2.0/glib/gstring.h" 1
07074 # 30 "/usr/include/glib-2.0/glib/gtestutils.h" 2
07075 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
07076 # 31 "/usr/include/glib-2.0/glib/gtestutils.h" 2
07077 # 1 "/usr/include/glib-2.0/glib/gslist.h" 1
07078 # 32 "/usr/include/glib-2.0/glib/gtestutils.h" 2
07079 
07080 
07081 
07082 typedef struct GTestCase GTestCase;
07083 typedef struct GTestSuite GTestSuite;
07084 typedef void (*GTestFunc) (void);
07085 typedef void (*GTestDataFunc) (gconstpointer user_data);
07086 typedef void (*GTestFixtureFunc) (gpointer fixture,
07087                                   gconstpointer user_data);
07088 # 79 "/usr/include/glib-2.0/glib/gtestutils.h"
07089 int g_strcmp0 (const char *str1,
07090                                          const char *str2);
07091 
07092 
07093 void g_test_minimized_result (double minimized_quantity,
07094                                          const char *format,
07095                                          ...) __attribute__((__format__ (__printf__, 2, 3)));
07096 void g_test_maximized_result (double maximized_quantity,
07097                                          const char *format,
07098                                          ...) __attribute__((__format__ (__printf__, 2, 3)));
07099 
07100 
07101 void g_test_init (int *argc,
07102                                          char ***argv,
07103                                          ...);
07104 # 102 "/usr/include/glib-2.0/glib/gtestutils.h"
07105 int g_test_run (void);
07106 
07107 void g_test_add_func (const char *testpath,
07108                                          GTestFunc test_func);
07109 
07110 void g_test_add_data_func (const char *testpath,
07111                                          gconstpointer test_data,
07112                                          GTestDataFunc test_func);
07113 # 125 "/usr/include/glib-2.0/glib/gtestutils.h"
07114 void g_test_message (const char *format,
07115                                          ...) __attribute__((__format__ (__printf__, 1, 2)));
07116 void g_test_bug_base (const char *uri_pattern);
07117 void g_test_bug (const char *bug_uri_snippet);
07118 
07119 void g_test_timer_start (void);
07120 double g_test_timer_elapsed (void);
07121 double g_test_timer_last (void);
07122 
07123 
07124 void g_test_queue_free (gpointer gfree_pointer);
07125 void g_test_queue_destroy (GDestroyNotify destroy_func,
07126                                          gpointer destroy_data);
07127 
07128 
07129 
07130 typedef enum {
07131   G_TEST_TRAP_SILENCE_STDOUT = 1 << 7,
07132   G_TEST_TRAP_SILENCE_STDERR = 1 << 8,
07133   G_TEST_TRAP_INHERIT_STDIN = 1 << 9
07134 } GTestTrapFlags;
07135 gboolean g_test_trap_fork (guint64 usec_timeout,
07136                                          GTestTrapFlags test_trap_flags);
07137 gboolean g_test_trap_has_passed (void);
07138 gboolean g_test_trap_reached_timeout (void);
07139 # 159 "/usr/include/glib-2.0/glib/gtestutils.h"
07140 gint32 g_test_rand_int (void);
07141 gint32 g_test_rand_int_range (gint32 begin,
07142                                          gint32 end);
07143 double g_test_rand_double (void);
07144 double g_test_rand_double_range (double range_start,
07145                                          double range_end);
07146 
07147 
07148 GTestCase* g_test_create_case (const char *test_name,
07149                                          gsize data_size,
07150                                          gconstpointer test_data,
07151                                          GTestFixtureFunc data_setup,
07152                                          GTestFixtureFunc data_test,
07153                                          GTestFixtureFunc data_teardown);
07154 GTestSuite* g_test_create_suite (const char *suite_name);
07155 GTestSuite* g_test_get_root (void);
07156 void g_test_suite_add (GTestSuite *suite,
07157                                          GTestCase *test_case);
07158 void g_test_suite_add_suite (GTestSuite *suite,
07159                                          GTestSuite *nestedsuite);
07160 int g_test_run_suite (GTestSuite *suite);
07161 
07162 
07163 void g_test_trap_assertions (const char *domain,
07164                                          const char *file,
07165                                          int line,
07166                                          const char *func,
07167                                          guint64 assertion_flags,
07168                                          const char *pattern);
07169 void g_assertion_message (const char *domain,
07170                                          const char *file,
07171                                          int line,
07172                                          const char *func,
07173                                          const char *message) __attribute__((__noreturn__));
07174 void g_assertion_message_expr (const char *domain,
07175                                          const char *file,
07176                                          int line,
07177                                          const char *func,
07178                                          const char *expr) __attribute__((__noreturn__));
07179 void g_assertion_message_cmpstr (const char *domain,
07180                                          const char *file,
07181                                          int line,
07182                                          const char *func,
07183                                          const char *expr,
07184                                          const char *arg1,
07185                                          const char *cmp,
07186                                          const char *arg2) __attribute__((__noreturn__));
07187 void g_assertion_message_cmpnum (const char *domain,
07188                                          const char *file,
07189                                          int line,
07190                                          const char *func,
07191                                          const char *expr,
07192                                          long double arg1,
07193                                          const char *cmp,
07194                                          long double arg2,
07195                                          char numtype) __attribute__((__noreturn__));
07196 void g_assertion_message_error (const char *domain,
07197                                          const char *file,
07198                                          int line,
07199                                          const char *func,
07200                                          const char *expr,
07201                                          const GError *error,
07202                                          GQuark error_domain,
07203                                          int error_code) __attribute__((__noreturn__));
07204 void g_test_add_vtable (const char *testpath,
07205                                          gsize data_size,
07206                                          gconstpointer test_data,
07207                                          GTestFixtureFunc data_setup,
07208                                          GTestFixtureFunc data_test,
07209                                          GTestFixtureFunc data_teardown);
07210 typedef struct {
07211   gboolean test_initialized;
07212   gboolean test_quick;
07213   gboolean test_perf;
07214   gboolean test_verbose;
07215   gboolean test_quiet;
07216 } GTestConfig;
07217 extern const GTestConfig * const g_test_config_vars;
07218 
07219 
07220 typedef enum {
07221   G_TEST_LOG_NONE,
07222   G_TEST_LOG_ERROR,
07223   G_TEST_LOG_START_BINARY,
07224   G_TEST_LOG_LIST_CASE,
07225   G_TEST_LOG_SKIP_CASE,
07226   G_TEST_LOG_START_CASE,
07227   G_TEST_LOG_STOP_CASE,
07228   G_TEST_LOG_MIN_RESULT,
07229   G_TEST_LOG_MAX_RESULT,
07230   G_TEST_LOG_MESSAGE
07231 } GTestLogType;
07232 
07233 typedef struct {
07234   GTestLogType log_type;
07235   guint n_strings;
07236   gchar **strings;
07237   guint n_nums;
07238   long double *nums;
07239 } GTestLogMsg;
07240 typedef struct {
07241 
07242   GString *data;
07243   GSList *msgs;
07244 } GTestLogBuffer;
07245 
07246 const char* g_test_log_type_name (GTestLogType log_type);
07247 GTestLogBuffer* g_test_log_buffer_new (void);
07248 void g_test_log_buffer_free (GTestLogBuffer *tbuffer);
07249 void g_test_log_buffer_push (GTestLogBuffer *tbuffer,
07250                                          guint n_bytes,
07251                                          const guint8 *bytes);
07252 GTestLogMsg* g_test_log_buffer_pop (GTestLogBuffer *tbuffer);
07253 void g_test_log_msg_free (GTestLogMsg *tmsg);
07254 # 287 "/usr/include/glib-2.0/glib/gtestutils.h"
07255 typedef gboolean (*GTestLogFatalFunc) (const gchar *log_domain,
07256                                                  GLogLevelFlags log_level,
07257                                                  const gchar *message,
07258                                                  gpointer user_data);
07259 void
07260 g_test_log_set_fatal_handler (GTestLogFatalFunc log_func,
07261                                          gpointer user_data);
07262 
07263 
07264 # 82 "/usr/include/glib-2.0/glib.h" 2
07265 # 1 "/usr/include/glib-2.0/glib/gthread.h" 1
07266 # 83 "/usr/include/glib-2.0/glib.h" 2
07267 # 1 "/usr/include/glib-2.0/glib/gthreadpool.h" 1
07268 # 34 "/usr/include/glib-2.0/glib/gthreadpool.h"
07269 # 1 "/usr/include/glib-2.0/glib/gthread.h" 1
07270 # 35 "/usr/include/glib-2.0/glib/gthreadpool.h" 2
07271 
07272 
07273 
07274 typedef struct _GThreadPool GThreadPool;
07275 
07276 
07277 
07278 
07279 
07280 
07281 struct _GThreadPool
07282 {
07283   GFunc func;
07284   gpointer user_data;
07285   gboolean exclusive;
07286 };
07287 
07288 
07289 
07290 
07291 
07292 
07293 GThreadPool* g_thread_pool_new (GFunc func,
07294                                                gpointer user_data,
07295                                                gint max_threads,
07296                                                gboolean exclusive,
07297                                                GError **error);
07298 
07299 
07300 
07301 
07302 
07303 void g_thread_pool_push (GThreadPool *pool,
07304                                                gpointer data,
07305                                                GError **error);
07306 
07307 
07308 
07309 
07310 void g_thread_pool_set_max_threads (GThreadPool *pool,
07311                                                gint max_threads,
07312                                                GError **error);
07313 gint g_thread_pool_get_max_threads (GThreadPool *pool);
07314 
07315 
07316 
07317 guint g_thread_pool_get_num_threads (GThreadPool *pool);
07318 
07319 
07320 guint g_thread_pool_unprocessed (GThreadPool *pool);
07321 
07322 
07323 
07324 
07325 
07326 void g_thread_pool_free (GThreadPool *pool,
07327                                                gboolean immediate,
07328                                                gboolean wait_);
07329 
07330 
07331 
07332 void g_thread_pool_set_max_unused_threads (gint max_threads);
07333 gint g_thread_pool_get_max_unused_threads (void);
07334 guint g_thread_pool_get_num_unused_threads (void);
07335 
07336 
07337 void g_thread_pool_stop_unused_threads (void);
07338 
07339 
07340 void g_thread_pool_set_sort_function (GThreadPool *pool,
07341                                         GCompareDataFunc func,
07342             gpointer user_data);
07343 
07344 
07345 void g_thread_pool_set_max_idle_time (guint interval);
07346 guint g_thread_pool_get_max_idle_time (void);
07347 
07348 
07349 # 84 "/usr/include/glib-2.0/glib.h" 2
07350 # 1 "/usr/include/glib-2.0/glib/gtimer.h" 1
07351 # 34 "/usr/include/glib-2.0/glib/gtimer.h"
07352 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
07353 # 35 "/usr/include/glib-2.0/glib/gtimer.h" 2
07354 
07355 
07356 
07357 
07358 
07359 
07360 
07361 typedef struct _GTimer GTimer;
07362 
07363 
07364 
07365 GTimer* g_timer_new (void);
07366 void g_timer_destroy (GTimer *timer);
07367 void g_timer_start (GTimer *timer);
07368 void g_timer_stop (GTimer *timer);
07369 void g_timer_reset (GTimer *timer);
07370 void g_timer_continue (GTimer *timer);
07371 gdouble g_timer_elapsed (GTimer *timer,
07372       gulong *microseconds);
07373 
07374 void g_usleep (gulong microseconds);
07375 
07376 void g_time_val_add (GTimeVal *time_,
07377                                   glong microseconds);
07378 gboolean g_time_val_from_iso8601 (const gchar *iso_date,
07379       GTimeVal *time_);
07380 gchar* g_time_val_to_iso8601 (GTimeVal *time_) __attribute__((__malloc__));
07381 
07382 
07383 # 85 "/usr/include/glib-2.0/glib.h" 2
07384 # 1 "/usr/include/glib-2.0/glib/gtimezone.h" 1
07385 # 86 "/usr/include/glib-2.0/glib.h" 2
07386 # 1 "/usr/include/glib-2.0/glib/gtree.h" 1
07387 # 34 "/usr/include/glib-2.0/glib/gtree.h"
07388 # 1 "/usr/include/glib-2.0/glib/gnode.h" 1
07389 # 35 "/usr/include/glib-2.0/glib/gtree.h" 2
07390 
07391 
07392 
07393 typedef struct _GTree GTree;
07394 
07395 typedef gboolean (*GTraverseFunc) (gpointer key,
07396                                    gpointer value,
07397                                    gpointer data);
07398 
07399 
07400 
07401 GTree* g_tree_new (GCompareFunc key_compare_func);
07402 GTree* g_tree_new_with_data (GCompareDataFunc key_compare_func,
07403                                  gpointer key_compare_data);
07404 GTree* g_tree_new_full (GCompareDataFunc key_compare_func,
07405                                  gpointer key_compare_data,
07406                                  GDestroyNotify key_destroy_func,
07407                                  GDestroyNotify value_destroy_func);
07408 GTree* g_tree_ref (GTree *tree);
07409 void g_tree_unref (GTree *tree);
07410 void g_tree_destroy (GTree *tree);
07411 void g_tree_insert (GTree *tree,
07412                                  gpointer key,
07413                                  gpointer value);
07414 void g_tree_replace (GTree *tree,
07415                                  gpointer key,
07416                                  gpointer value);
07417 gboolean g_tree_remove (GTree *tree,
07418                                  gconstpointer key);
07419 gboolean g_tree_steal (GTree *tree,
07420                                  gconstpointer key);
07421 gpointer g_tree_lookup (GTree *tree,
07422                                  gconstpointer key);
07423 gboolean g_tree_lookup_extended (GTree *tree,
07424                                  gconstpointer lookup_key,
07425                                  gpointer *orig_key,
07426                                  gpointer *value);
07427 void g_tree_foreach (GTree *tree,
07428                                  GTraverseFunc func,
07429                                  gpointer user_data);
07430 
07431 
07432 void g_tree_traverse (GTree *tree,
07433                                  GTraverseFunc traverse_func,
07434                                  GTraverseType traverse_type,
07435                                  gpointer user_data);
07436 
07437 
07438 gpointer g_tree_search (GTree *tree,
07439                                  GCompareFunc search_func,
07440                                  gconstpointer user_data);
07441 gint g_tree_height (GTree *tree);
07442 gint g_tree_nnodes (GTree *tree);
07443 
07444 
07445 # 87 "/usr/include/glib-2.0/glib.h" 2
07446 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
07447 # 88 "/usr/include/glib-2.0/glib.h" 2
07448 # 1 "/usr/include/glib-2.0/glib/gunicode.h" 1
07449 # 89 "/usr/include/glib-2.0/glib.h" 2
07450 # 1 "/usr/include/glib-2.0/glib/gurifuncs.h" 1
07451 # 30 "/usr/include/glib-2.0/glib/gurifuncs.h"
07452 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
07453 # 31 "/usr/include/glib-2.0/glib/gurifuncs.h" 2
07454 
07455 
07456 # 69 "/usr/include/glib-2.0/glib/gurifuncs.h"
07457 char * g_uri_unescape_string (const char *escaped_string,
07458           const char *illegal_characters);
07459 char * g_uri_unescape_segment (const char *escaped_string,
07460           const char *escaped_string_end,
07461           const char *illegal_characters);
07462 char * g_uri_parse_scheme (const char *uri);
07463 char * g_uri_escape_string (const char *unescaped,
07464           const char *reserved_chars_allowed,
07465           gboolean allow_utf8);
07466 
07467 
07468 # 90 "/usr/include/glib-2.0/glib.h" 2
07469 # 1 "/usr/include/glib-2.0/glib/gutils.h" 1
07470 # 91 "/usr/include/glib-2.0/glib.h" 2
07471 # 1 "/usr/include/glib-2.0/glib/gvarianttype.h" 1
07472 # 30 "/usr/include/glib-2.0/glib/gvarianttype.h"
07473 # 1 "/usr/include/glib-2.0/glib/gmessages.h" 1
07474 # 31 "/usr/include/glib-2.0/glib/gvarianttype.h" 2
07475 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
07476 # 32 "/usr/include/glib-2.0/glib/gvarianttype.h" 2
07477 
07478 
07479 # 44 "/usr/include/glib-2.0/glib/gvarianttype.h"
07480 typedef struct _GVariantType GVariantType;
07481 # 279 "/usr/include/glib-2.0/glib/gvarianttype.h"
07482 gboolean g_variant_type_string_is_valid (const gchar *type_string);
07483 gboolean g_variant_type_string_scan (const gchar *string,
07484                                                                          const gchar *limit,
07485                                                                          const gchar **endptr);
07486 
07487 
07488 void g_variant_type_free (GVariantType *type);
07489 GVariantType * g_variant_type_copy (const GVariantType *type);
07490 GVariantType * g_variant_type_new (const gchar *type_string);
07491 
07492 
07493 gsize g_variant_type_get_string_length (const GVariantType *type);
07494 const gchar * g_variant_type_peek_string (const GVariantType *type);
07495 gchar * g_variant_type_dup_string (const GVariantType *type);
07496 
07497 
07498 gboolean g_variant_type_is_definite (const GVariantType *type);
07499 gboolean g_variant_type_is_container (const GVariantType *type);
07500 gboolean g_variant_type_is_basic (const GVariantType *type);
07501 gboolean g_variant_type_is_maybe (const GVariantType *type);
07502 gboolean g_variant_type_is_array (const GVariantType *type);
07503 gboolean g_variant_type_is_tuple (const GVariantType *type);
07504 gboolean g_variant_type_is_dict_entry (const GVariantType *type);
07505 gboolean g_variant_type_is_variant (const GVariantType *type);
07506 
07507 
07508 guint g_variant_type_hash (gconstpointer type);
07509 gboolean g_variant_type_equal (gconstpointer type1,
07510                                                                          gconstpointer type2);
07511 
07512 
07513 gboolean g_variant_type_is_subtype_of (const GVariantType *type,
07514                                                                          const GVariantType *supertype);
07515 
07516 
07517 const GVariantType * g_variant_type_element (const GVariantType *type);
07518 const GVariantType * g_variant_type_first (const GVariantType *type);
07519 const GVariantType * g_variant_type_next (const GVariantType *type);
07520 gsize g_variant_type_n_items (const GVariantType *type);
07521 const GVariantType * g_variant_type_key (const GVariantType *type);
07522 const GVariantType * g_variant_type_value (const GVariantType *type);
07523 
07524 
07525 GVariantType * g_variant_type_new_array (const GVariantType *element);
07526 GVariantType * g_variant_type_new_maybe (const GVariantType *element);
07527 GVariantType * g_variant_type_new_tuple (const GVariantType * const *items,
07528                                                                          gint length);
07529 GVariantType * g_variant_type_new_dict_entry (const GVariantType *key,
07530                                                                          const GVariantType *value);
07531 
07532 
07533 const GVariantType * g_variant_type_checked_ (const gchar *);
07534 
07535 
07536 # 92 "/usr/include/glib-2.0/glib.h" 2
07537 # 1 "/usr/include/glib-2.0/glib/gvariant.h" 1
07538 # 30 "/usr/include/glib-2.0/glib/gvariant.h"
07539 # 1 "/usr/include/glib-2.0/glib/gvarianttype.h" 1
07540 # 31 "/usr/include/glib-2.0/glib/gvariant.h" 2
07541 # 1 "/usr/include/glib-2.0/glib/gstring.h" 1
07542 # 32 "/usr/include/glib-2.0/glib/gvariant.h" 2
07543 
07544 
07545 
07546 typedef struct _GVariant GVariant;
07547 
07548 typedef enum
07549 {
07550   G_VARIANT_CLASS_BOOLEAN = 'b',
07551   G_VARIANT_CLASS_BYTE = 'y',
07552   G_VARIANT_CLASS_INT16 = 'n',
07553   G_VARIANT_CLASS_UINT16 = 'q',
07554   G_VARIANT_CLASS_INT32 = 'i',
07555   G_VARIANT_CLASS_UINT32 = 'u',
07556   G_VARIANT_CLASS_INT64 = 'x',
07557   G_VARIANT_CLASS_UINT64 = 't',
07558   G_VARIANT_CLASS_HANDLE = 'h',
07559   G_VARIANT_CLASS_DOUBLE = 'd',
07560   G_VARIANT_CLASS_STRING = 's',
07561   G_VARIANT_CLASS_OBJECT_PATH = 'o',
07562   G_VARIANT_CLASS_SIGNATURE = 'g',
07563   G_VARIANT_CLASS_VARIANT = 'v',
07564   G_VARIANT_CLASS_MAYBE = 'm',
07565   G_VARIANT_CLASS_ARRAY = 'a',
07566   G_VARIANT_CLASS_TUPLE = '(',
07567   G_VARIANT_CLASS_DICT_ENTRY = '{'
07568 } GVariantClass;
07569 
07570 void g_variant_unref (GVariant *value);
07571 GVariant * g_variant_ref (GVariant *value);
07572 GVariant * g_variant_ref_sink (GVariant *value);
07573 gboolean g_variant_is_floating (GVariant *value);
07574 
07575 const GVariantType * g_variant_get_type (GVariant *value);
07576 const gchar * g_variant_get_type_string (GVariant *value);
07577 gboolean g_variant_is_of_type (GVariant *value,
07578                                                                          const GVariantType *type);
07579 gboolean g_variant_is_container (GVariant *value);
07580 GVariantClass g_variant_classify (GVariant *value);
07581 GVariant * g_variant_new_boolean (gboolean value);
07582 GVariant * g_variant_new_byte (guchar value);
07583 GVariant * g_variant_new_int16 (gint16 value);
07584 GVariant * g_variant_new_uint16 (guint16 value);
07585 GVariant * g_variant_new_int32 (gint32 value);
07586 GVariant * g_variant_new_uint32 (guint32 value);
07587 GVariant * g_variant_new_int64 (gint64 value);
07588 GVariant * g_variant_new_uint64 (guint64 value);
07589 GVariant * g_variant_new_handle (gint32 value);
07590 GVariant * g_variant_new_double (gdouble value);
07591 GVariant * g_variant_new_string (const gchar *string);
07592 GVariant * g_variant_new_object_path (const gchar *object_path);
07593 gboolean g_variant_is_object_path (const gchar *string);
07594 GVariant * g_variant_new_signature (const gchar *signature);
07595 gboolean g_variant_is_signature (const gchar *string);
07596 GVariant * g_variant_new_variant (GVariant *value);
07597 GVariant * g_variant_new_strv (const gchar * const *strv,
07598                                                                          gssize length);
07599 GVariant * g_variant_new_bytestring (const gchar *string);
07600 GVariant * g_variant_new_bytestring_array (const gchar * const *strv,
07601                                                                          gssize length);
07602 
07603 gboolean g_variant_get_boolean (GVariant *value);
07604 guchar g_variant_get_byte (GVariant *value);
07605 gint16 g_variant_get_int16 (GVariant *value);
07606 guint16 g_variant_get_uint16 (GVariant *value);
07607 gint32 g_variant_get_int32 (GVariant *value);
07608 guint32 g_variant_get_uint32 (GVariant *value);
07609 gint64 g_variant_get_int64 (GVariant *value);
07610 guint64 g_variant_get_uint64 (GVariant *value);
07611 gint32 g_variant_get_handle (GVariant *value);
07612 gdouble g_variant_get_double (GVariant *value);
07613 GVariant * g_variant_get_variant (GVariant *value);
07614 const gchar * g_variant_get_string (GVariant *value,
07615                                                                          gsize *length);
07616 gchar * g_variant_dup_string (GVariant *value,
07617                                                                          gsize *length);
07618 const gchar ** g_variant_get_strv (GVariant *value,
07619                                                                          gsize *length);
07620 gchar ** g_variant_dup_strv (GVariant *value,
07621                                                                          gsize *length);
07622 const gchar * g_variant_get_bytestring (GVariant *value);
07623 gchar * g_variant_dup_bytestring (GVariant *value,
07624                                                                          gsize *length);
07625 const gchar ** g_variant_get_bytestring_array (GVariant *value,
07626                                                                          gsize *length);
07627 gchar ** g_variant_dup_bytestring_array (GVariant *value,
07628                                                                          gsize *length);
07629 
07630 GVariant * g_variant_new_maybe (const GVariantType *child_type,
07631                                                                          GVariant *child);
07632 GVariant * g_variant_new_array (const GVariantType *child_type,
07633                                                                          GVariant * const *children,
07634                                                                          gsize n_children);
07635 GVariant * g_variant_new_tuple (GVariant * const *children,
07636                                                                          gsize n_children);
07637 GVariant * g_variant_new_dict_entry (GVariant *key,
07638                                                                          GVariant *value);
07639 
07640 GVariant * g_variant_get_maybe (GVariant *value);
07641 gsize g_variant_n_children (GVariant *value);
07642 void g_variant_get_child (GVariant *value,
07643                                                                          gsize index_,
07644                                                                          const gchar *format_string,
07645                                                                          ...);
07646 GVariant * g_variant_get_child_value (GVariant *value,
07647                                                                          gsize index_);
07648 gboolean g_variant_lookup (GVariant *dictionary,
07649                                                                          const gchar *key,
07650                                                                          const gchar *format_string,
07651                                                                          ...);
07652 GVariant * g_variant_lookup_value (GVariant *dictionary,
07653                                                                          const gchar *key,
07654                                                                          const GVariantType *expected_type);
07655 gconstpointer g_variant_get_fixed_array (GVariant *value,
07656                                                                          gsize *n_elements,
07657                                                                          gsize element_size);
07658 
07659 gsize g_variant_get_size (GVariant *value);
07660 gconstpointer g_variant_get_data (GVariant *value);
07661 void g_variant_store (GVariant *value,
07662                                                                          gpointer data);
07663 
07664 gchar * g_variant_print (GVariant *value,
07665                                                                          gboolean type_annotate);
07666 GString * g_variant_print_string (GVariant *value,
07667                                                                          GString *string,
07668                                                                          gboolean type_annotate);
07669 
07670 guint g_variant_hash (gconstpointer value);
07671 gboolean g_variant_equal (gconstpointer one,
07672                                                                          gconstpointer two);
07673 
07674 GVariant * g_variant_get_normal_form (GVariant *value);
07675 gboolean g_variant_is_normal_form (GVariant *value);
07676 GVariant * g_variant_byteswap (GVariant *value);
07677 GVariant * g_variant_new_from_data (const GVariantType *type,
07678                                                                          gconstpointer data,
07679                                                                          gsize size,
07680                                                                          gboolean trusted,
07681                                                                          GDestroyNotify notify,
07682                                                                          gpointer user_data);
07683 
07684 typedef struct _GVariantIter GVariantIter;
07685 struct _GVariantIter {
07686 
07687   gsize x[16];
07688 };
07689 
07690 GVariantIter * g_variant_iter_new (GVariant *value);
07691 gsize g_variant_iter_init (GVariantIter *iter,
07692                                                                          GVariant *value);
07693 GVariantIter * g_variant_iter_copy (GVariantIter *iter);
07694 gsize g_variant_iter_n_children (GVariantIter *iter);
07695 void g_variant_iter_free (GVariantIter *iter);
07696 GVariant * g_variant_iter_next_value (GVariantIter *iter);
07697 gboolean g_variant_iter_next (GVariantIter *iter,
07698                                                                          const gchar *format_string,
07699                                                                          ...);
07700 gboolean g_variant_iter_loop (GVariantIter *iter,
07701                                                                          const gchar *format_string,
07702                                                                          ...);
07703 
07704 
07705 typedef struct _GVariantBuilder GVariantBuilder;
07706 struct _GVariantBuilder {
07707 
07708   gsize x[16];
07709 };
07710 
07711 typedef enum
07712 {
07713   G_VARIANT_PARSE_ERROR_FAILED,
07714   G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED,
07715   G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE,
07716   G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED,
07717   G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END,
07718   G_VARIANT_PARSE_ERROR_INVALID_CHARACTER,
07719   G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING,
07720   G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH,
07721   G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE,
07722   G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING,
07723   G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE,
07724   G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE,
07725   G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG,
07726   G_VARIANT_PARSE_ERROR_TYPE_ERROR,
07727   G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN,
07728   G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD,
07729   G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT,
07730   G_VARIANT_PARSE_ERROR_VALUE_EXPECTED
07731 } GVariantParseError;
07732 
07733 
07734 GQuark g_variant_parser_get_error_quark (void);
07735 
07736 GVariantBuilder * g_variant_builder_new (const GVariantType *type);
07737 void g_variant_builder_unref (GVariantBuilder *builder);
07738 GVariantBuilder * g_variant_builder_ref (GVariantBuilder *builder);
07739 void g_variant_builder_init (GVariantBuilder *builder,
07740                                                                          const GVariantType *type);
07741 GVariant * g_variant_builder_end (GVariantBuilder *builder);
07742 void g_variant_builder_clear (GVariantBuilder *builder);
07743 void g_variant_builder_open (GVariantBuilder *builder,
07744                                                                          const GVariantType *type);
07745 void g_variant_builder_close (GVariantBuilder *builder);
07746 void g_variant_builder_add_value (GVariantBuilder *builder,
07747                                                                          GVariant *value);
07748 void g_variant_builder_add (GVariantBuilder *builder,
07749                                                                          const gchar *format_string,
07750                                                                          ...);
07751 void g_variant_builder_add_parsed (GVariantBuilder *builder,
07752                                                                          const gchar *format,
07753                                                                          ...);
07754 
07755 GVariant * g_variant_new (const gchar *format_string,
07756                                                                          ...);
07757 void g_variant_get (GVariant *value,
07758                                                                          const gchar *format_string,
07759                                                                          ...);
07760 GVariant * g_variant_new_va (const gchar *format_string,
07761                                                                          const gchar **endptr,
07762                                                                          va_list *app);
07763 void g_variant_get_va (GVariant *value,
07764                                                                          const gchar *format_string,
07765                                                                          const gchar **endptr,
07766                                                                          va_list *app);
07767 
07768 
07769 GVariant * g_variant_parse (const GVariantType *type,
07770                                                                          const gchar *text,
07771                                                                          const gchar *limit,
07772                                                                          const gchar **endptr,
07773                                                                          GError **error);
07774 GVariant * g_variant_new_parsed (const gchar *format,
07775                                                                          ...);
07776 GVariant * g_variant_new_parsed_va (const gchar *format,
07777                                                                          va_list *app);
07778 
07779 gint g_variant_compare (gconstpointer one,
07780                                                                          gconstpointer two);
07781 
07782 # 93 "/usr/include/glib-2.0/glib.h" 2
07783 # 77 "qof-expenses.h" 2
07784 # 1 "/usr/include/qof/qof.h" 1
07785 # 68 "/usr/include/qof/qof.h"
07786 # 1 "/usr/include/qof/qofid.h" 1
07787 # 77 "/usr/include/qof/qofid.h"
07788 # 1 "/usr/include/string.h" 1 3 4
07789 # 29 "/usr/include/string.h" 3 4
07790 
07791 
07792 
07793 
07794 
07795 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
07796 # 35 "/usr/include/string.h" 2 3 4
07797 
07798 
07799 
07800 
07801 
07802 
07803 
07804 
07805 
07806 extern void *memcpy (void *__restrict __dest,
07807        __const void *__restrict __src, size_t __n)
07808      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
07809 
07810 
07811 extern void *memmove (void *__dest, __const void *__src, size_t __n)
07812      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
07813 
07814 
07815 
07816 
07817 
07818 
07819 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
07820         int __c, size_t __n)
07821      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
07822 
07823 
07824 
07825 
07826 
07827 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
07828 
07829 
07830 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
07831      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
07832 # 95 "/usr/include/string.h" 3 4
07833 extern void *memchr (__const void *__s, int __c, size_t __n)
07834       __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
07835 
07836 
07837 # 109 "/usr/include/string.h" 3 4
07838 extern void *rawmemchr (__const void *__s, int __c)
07839      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
07840 # 120 "/usr/include/string.h" 3 4
07841 extern void *memrchr (__const void *__s, int __c, size_t __n)
07842       __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
07843 
07844 
07845 
07846 
07847 
07848 
07849 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
07850      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
07851 
07852 extern char *strncpy (char *__restrict __dest,
07853         __const char *__restrict __src, size_t __n)
07854      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
07855 
07856 
07857 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
07858      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
07859 
07860 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
07861         size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
07862 
07863 
07864 extern int strcmp (__const char *__s1, __const char *__s2)
07865      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
07866 
07867 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
07868      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
07869 
07870 
07871 extern int strcoll (__const char *__s1, __const char *__s2)
07872      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
07873 
07874 extern size_t strxfrm (char *__restrict __dest,
07875          __const char *__restrict __src, size_t __n)
07876      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
07877 
07878 # 165 "/usr/include/string.h" 3 4
07879 extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l)
07880      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
07881 
07882 extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
07883     __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
07884 
07885 
07886 
07887 
07888 
07889 extern char *strdup (__const char *__s)
07890      __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
07891 
07892 
07893 
07894 
07895 
07896 
07897 extern char *strndup (__const char *__string, size_t __n)
07898      __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
07899 # 210 "/usr/include/string.h" 3 4
07900 
07901 # 235 "/usr/include/string.h" 3 4
07902 extern char *strchr (__const char *__s, int __c)
07903      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
07904 # 262 "/usr/include/string.h" 3 4
07905 extern char *strrchr (__const char *__s, int __c)
07906      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
07907 
07908 
07909 # 276 "/usr/include/string.h" 3 4
07910 extern char *strchrnul (__const char *__s, int __c)
07911      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
07912 
07913 
07914 
07915 
07916 
07917 
07918 extern size_t strcspn (__const char *__s, __const char *__reject)
07919      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
07920 
07921 
07922 extern size_t strspn (__const char *__s, __const char *__accept)
07923      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
07924 # 314 "/usr/include/string.h" 3 4
07925 extern char *strpbrk (__const char *__s, __const char *__accept)
07926      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
07927 # 342 "/usr/include/string.h" 3 4
07928 extern char *strstr (__const char *__haystack, __const char *__needle)
07929      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
07930 
07931 
07932 
07933 
07934 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
07935      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
07936 
07937 
07938 
07939 
07940 extern char *__strtok_r (char *__restrict __s,
07941     __const char *__restrict __delim,
07942     char **__restrict __save_ptr)
07943      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
07944 
07945 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
07946          char **__restrict __save_ptr)
07947      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
07948 # 373 "/usr/include/string.h" 3 4
07949 extern char *strcasestr (__const char *__haystack, __const char *__needle)
07950      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
07951 
07952 
07953 
07954 
07955 
07956 
07957 
07958 extern void *memmem (__const void *__haystack, size_t __haystacklen,
07959        __const void *__needle, size_t __needlelen)
07960      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3)));
07961 
07962 
07963 
07964 extern void *__mempcpy (void *__restrict __dest,
07965    __const void *__restrict __src, size_t __n)
07966      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
07967 extern void *mempcpy (void *__restrict __dest,
07968         __const void *__restrict __src, size_t __n)
07969      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
07970 
07971 
07972 
07973 
07974 
07975 extern size_t strlen (__const char *__s)
07976      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
07977 
07978 
07979 
07980 
07981 
07982 extern size_t strnlen (__const char *__string, size_t __maxlen)
07983      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
07984 
07985 
07986 
07987 
07988 
07989 extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
07990 
07991 # 438 "/usr/include/string.h" 3 4
07992 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
07993      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
07994 
07995 
07996 
07997 
07998 
07999 extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__));
08000 
08001 
08002 
08003 
08004 
08005 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
08006 
08007 
08008 
08009 extern void bcopy (__const void *__src, void *__dest, size_t __n)
08010      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
08011 
08012 
08013 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
08014 
08015 
08016 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
08017      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
08018 # 489 "/usr/include/string.h" 3 4
08019 extern char *index (__const char *__s, int __c)
08020      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
08021 # 517 "/usr/include/string.h" 3 4
08022 extern char *rindex (__const char *__s, int __c)
08023      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
08024 
08025 
08026 
08027 
08028 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
08029 
08030 
08031 
08032 
08033 extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
08034 
08035 __extension__ extern int ffsll (long long int __ll)
08036      __attribute__ ((__nothrow__)) __attribute__ ((__const__));
08037 
08038 
08039 
08040 
08041 extern int strcasecmp (__const char *__s1, __const char *__s2)
08042      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
08043 
08044 
08045 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
08046      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
08047 
08048 
08049 
08050 
08051 
08052 extern int strcasecmp_l (__const char *__s1, __const char *__s2,
08053     __locale_t __loc)
08054      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
08055 
08056 extern int strncasecmp_l (__const char *__s1, __const char *__s2,
08057      size_t __n, __locale_t __loc)
08058      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4)));
08059 
08060 
08061 
08062 
08063 
08064 extern char *strsep (char **__restrict __stringp,
08065        __const char *__restrict __delim)
08066      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
08067 
08068 
08069 
08070 
08071 extern char *strsignal (int __sig) __attribute__ ((__nothrow__));
08072 
08073 
08074 extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src)
08075      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
08076 extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src)
08077      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
08078 
08079 
08080 
08081 extern char *__stpncpy (char *__restrict __dest,
08082    __const char *__restrict __src, size_t __n)
08083      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
08084 extern char *stpncpy (char *__restrict __dest,
08085         __const char *__restrict __src, size_t __n)
08086      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
08087 
08088 
08089 
08090 
08091 extern int strverscmp (__const char *__s1, __const char *__s2)
08092      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
08093 
08094 
08095 extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
08096 
08097 
08098 extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
08099 # 606 "/usr/include/string.h" 3 4
08100 extern char *basename (__const char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
08101 # 646 "/usr/include/string.h" 3 4
08102 
08103 # 78 "/usr/include/qof/qofid.h" 2
08104 # 1 "/usr/include/qof/guid.h" 1
08105 # 27 "/usr/include/qof/guid.h"
08106 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
08107 # 28 "/usr/include/qof/guid.h" 2
08108 # 53 "/usr/include/qof/guid.h"
08109 typedef union _GUID
08110 {
08111  guchar data[16];
08112 
08113  gint __align_me;
08114 
08115 } GUID;
08116 # 75 "/usr/include/qof/guid.h"
08117 void guid_init (void);
08118 # 90 "/usr/include/qof/guid.h"
08119 void guid_init_with_salt (const void *salt, size_t salt_len);
08120 # 106 "/usr/include/qof/guid.h"
08121 void guid_init_only_salt (const void *salt, size_t salt_len);
08122 
08123 
08124 
08125 
08126 void guid_shutdown (void);
08127 # 127 "/usr/include/qof/guid.h"
08128 void guid_new (GUID * guid);
08129 
08130 
08131 
08132 
08133 
08134 
08135 
08136 GUID guid_new_return (void);
08137 
08138 
08139 
08140 const GUID *guid_null (void);
08141 
08142 
08143 GUID *guid_malloc (void);
08144 
08145 
08146 void guid_free (GUID * guid);
08147 # 162 "/usr/include/qof/guid.h"
08148 const gchar *guid_to_string (const GUID * guid);
08149 # 177 "/usr/include/qof/guid.h"
08150 gchar *guid_to_string_buff (const GUID * guid, gchar * buff);
08151 
08152 
08153 
08154 
08155 
08156 
08157 
08158 gboolean string_to_guid (const gchar * string, GUID * guid);
08159 
08160 
08161 
08162 
08163 gboolean guid_equal (const GUID * guid_1, const GUID * guid_2);
08164 gint guid_compare (const GUID * g1, const GUID * g2);
08165 
08166 
08167 guint guid_hash_to_guint (gconstpointer ptr);
08168 
08169 GHashTable *guid_hash_table_new (void);
08170 # 79 "/usr/include/qof/qofid.h" 2
08171 
08172 
08173 typedef const gchar *QofIdType;
08174 
08175 typedef const gchar *QofIdTypeConst;
08176 
08177 typedef const gchar *QofLogModule;
08178 # 129 "/usr/include/qof/qofid.h"
08179 typedef struct QofEntity_s QofEntity;
08180 # 138 "/usr/include/qof/qofid.h"
08181 typedef struct QofCollection_s QofCollection;
08182 # 147 "/usr/include/qof/qofid.h"
08183 struct QofEntity_s
08184 {
08185  QofIdType e_type;
08186  GUID guid;
08187  QofCollection *collection;
08188 };
08189 
08190 
08191 
08192 
08193 void qof_entity_init (QofEntity *, QofIdType, QofCollection *);
08194 
08195 
08196 
08197 void qof_entity_release (QofEntity *);
08198 
08199 
08200 
08201 const GUID *qof_entity_get_guid (QofEntity *);
08202 
08203 
08204 
08205 
08206 
08207 QofCollection *qof_collection_new (QofIdType type);
08208 
08209 
08210 guint qof_collection_count (QofCollection * col);
08211 
08212 
08213 void qof_collection_destroy (QofCollection * col);
08214 
08215 
08216 QofIdType qof_collection_get_type (QofCollection *);
08217 
08218 
08219 QofEntity *
08220 qof_collection_lookup_entity (QofCollection *, const GUID *);
08221 
08222 
08223 typedef void (*QofEntityForeachCB) (QofEntity *, gpointer user_data);
08224 
08225 
08226 void
08227 qof_collection_foreach (QofCollection *, QofEntityForeachCB,
08228       gpointer user_data);
08229 
08230 
08231 
08232 
08233 
08234 
08235 
08236 gpointer
08237 qof_collection_get_data (QofCollection * col);
08238 
08239 
08240 void
08241 qof_collection_set_data (QofCollection * col, gpointer user_data);
08242 
08243 
08244 gboolean
08245 qof_collection_is_dirty (QofCollection * col);
08246 # 231 "/usr/include/qof/qofid.h"
08247 gboolean
08248 qof_collection_add_entity (QofCollection * coll, QofEntity * ent);
08249 # 244 "/usr/include/qof/qofid.h"
08250 gboolean
08251 qof_collection_merge (QofCollection * target, QofCollection * merge);
08252 # 258 "/usr/include/qof/qofid.h"
08253 gint
08254 qof_collection_compare (QofCollection * target, QofCollection * merge);
08255 # 271 "/usr/include/qof/qofid.h"
08256 QofCollection *
08257 qof_collection_from_glist (QofIdType type, GList * glist);
08258 # 69 "/usr/include/qof/qof.h" 2
08259 # 1 "/usr/include/qof/qoflog.h" 1
08260 # 38 "/usr/include/qof/qoflog.h"
08261 # 1 "/usr/include/stdio.h" 1 3 4
08262 # 30 "/usr/include/stdio.h" 3 4
08263 
08264 
08265 
08266 
08267 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
08268 # 35 "/usr/include/stdio.h" 2 3 4
08269 # 45 "/usr/include/stdio.h" 3 4
08270 struct _IO_FILE;
08271 
08272 
08273 
08274 typedef struct _IO_FILE FILE;
08275 
08276 
08277 
08278 
08279 
08280 # 65 "/usr/include/stdio.h" 3 4
08281 typedef struct _IO_FILE __FILE;
08282 # 75 "/usr/include/stdio.h" 3 4
08283 # 1 "/usr/include/libio.h" 1 3 4
08284 # 32 "/usr/include/libio.h" 3 4
08285 # 1 "/usr/include/_G_config.h" 1 3 4
08286 # 15 "/usr/include/_G_config.h" 3 4
08287 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
08288 # 16 "/usr/include/_G_config.h" 2 3 4
08289 
08290 
08291 
08292 
08293 # 1 "/usr/include/wchar.h" 1 3 4
08294 # 83 "/usr/include/wchar.h" 3 4
08295 typedef struct
08296 {
08297   int __count;
08298   union
08299   {
08300 
08301     unsigned int __wch;
08302 
08303 
08304 
08305     char __wchb[4];
08306   } __value;
08307 } __mbstate_t;
08308 # 21 "/usr/include/_G_config.h" 2 3 4
08309 
08310 typedef struct
08311 {
08312   __off_t __pos;
08313   __mbstate_t __state;
08314 } _G_fpos_t;
08315 typedef struct
08316 {
08317   __off64_t __pos;
08318   __mbstate_t __state;
08319 } _G_fpos64_t;
08320 # 53 "/usr/include/_G_config.h" 3 4
08321 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
08322 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
08323 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
08324 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
08325 # 33 "/usr/include/libio.h" 2 3 4
08326 # 170 "/usr/include/libio.h" 3 4
08327 struct _IO_jump_t; struct _IO_FILE;
08328 # 180 "/usr/include/libio.h" 3 4
08329 typedef void _IO_lock_t;
08330 
08331 
08332 
08333 
08334 
08335 struct _IO_marker {
08336   struct _IO_marker *_next;
08337   struct _IO_FILE *_sbuf;
08338 
08339 
08340 
08341   int _pos;
08342 # 203 "/usr/include/libio.h" 3 4
08343 };
08344 
08345 
08346 enum __codecvt_result
08347 {
08348   __codecvt_ok,
08349   __codecvt_partial,
08350   __codecvt_error,
08351   __codecvt_noconv
08352 };
08353 # 271 "/usr/include/libio.h" 3 4
08354 struct _IO_FILE {
08355   int _flags;
08356 
08357 
08358 
08359 
08360   char* _IO_read_ptr;
08361   char* _IO_read_end;
08362   char* _IO_read_base;
08363   char* _IO_write_base;
08364   char* _IO_write_ptr;
08365   char* _IO_write_end;
08366   char* _IO_buf_base;
08367   char* _IO_buf_end;
08368 
08369   char *_IO_save_base;
08370   char *_IO_backup_base;
08371   char *_IO_save_end;
08372 
08373   struct _IO_marker *_markers;
08374 
08375   struct _IO_FILE *_chain;
08376 
08377   int _fileno;
08378 
08379 
08380 
08381   int _flags2;
08382 
08383   __off_t _old_offset;
08384 
08385 
08386 
08387   unsigned short _cur_column;
08388   signed char _vtable_offset;
08389   char _shortbuf[1];
08390 
08391 
08392 
08393   _IO_lock_t *_lock;
08394 # 319 "/usr/include/libio.h" 3 4
08395   __off64_t _offset;
08396 # 328 "/usr/include/libio.h" 3 4
08397   void *__pad1;
08398   void *__pad2;
08399   void *__pad3;
08400   void *__pad4;
08401   size_t __pad5;
08402 
08403   int _mode;
08404 
08405   char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
08406 
08407 };
08408 
08409 
08410 typedef struct _IO_FILE _IO_FILE;
08411 
08412 
08413 struct _IO_FILE_plus;
08414 
08415 extern struct _IO_FILE_plus _IO_2_1_stdin_;
08416 extern struct _IO_FILE_plus _IO_2_1_stdout_;
08417 extern struct _IO_FILE_plus _IO_2_1_stderr_;
08418 # 364 "/usr/include/libio.h" 3 4
08419 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
08420 
08421 
08422 
08423 
08424 
08425 
08426 
08427 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
08428      size_t __n);
08429 
08430 
08431 
08432 
08433 
08434 
08435 
08436 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
08437 
08438 
08439 typedef int __io_close_fn (void *__cookie);
08440 
08441 
08442 
08443 
08444 typedef __io_read_fn cookie_read_function_t;
08445 typedef __io_write_fn cookie_write_function_t;
08446 typedef __io_seek_fn cookie_seek_function_t;
08447 typedef __io_close_fn cookie_close_function_t;
08448 
08449 
08450 typedef struct
08451 {
08452   __io_read_fn *read;
08453   __io_write_fn *write;
08454   __io_seek_fn *seek;
08455   __io_close_fn *close;
08456 } _IO_cookie_io_functions_t;
08457 typedef _IO_cookie_io_functions_t cookie_io_functions_t;
08458 
08459 struct _IO_cookie_file;
08460 
08461 
08462 extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write,
08463         void *__cookie, _IO_cookie_io_functions_t __fns);
08464 
08465 
08466 
08467 
08468 
08469 
08470 
08471 extern int __underflow (_IO_FILE *);
08472 extern int __uflow (_IO_FILE *);
08473 extern int __overflow (_IO_FILE *, int);
08474 # 460 "/usr/include/libio.h" 3 4
08475 extern int _IO_getc (_IO_FILE *__fp);
08476 extern int _IO_putc (int __c, _IO_FILE *__fp);
08477 extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
08478 extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
08479 
08480 extern int _IO_peekc_locked (_IO_FILE *__fp);
08481 
08482 
08483 
08484 
08485 
08486 extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
08487 extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
08488 extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
08489 # 490 "/usr/include/libio.h" 3 4
08490 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
08491    __gnuc_va_list, int *__restrict);
08492 extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
08493     __gnuc_va_list);
08494 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
08495 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
08496 
08497 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
08498 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
08499 
08500 extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
08501 # 76 "/usr/include/stdio.h" 2 3 4
08502 # 91 "/usr/include/stdio.h" 3 4
08503 typedef __off_t off_t;
08504 
08505 
08506 
08507 
08508 
08509 
08510 typedef __off64_t off64_t;
08511 
08512 
08513 
08514 
08515 typedef __ssize_t ssize_t;
08516 
08517 
08518 
08519 
08520 
08521 
08522 
08523 typedef _G_fpos_t fpos_t;
08524 
08525 
08526 
08527 
08528 
08529 typedef _G_fpos64_t fpos64_t;
08530 # 161 "/usr/include/stdio.h" 3 4
08531 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
08532 # 162 "/usr/include/stdio.h" 2 3 4
08533 
08534 
08535 
08536 extern struct _IO_FILE *stdin;
08537 extern struct _IO_FILE *stdout;
08538 extern struct _IO_FILE *stderr;
08539 
08540 
08541 
08542 
08543 
08544 
08545 
08546 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
08547 
08548 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
08549 
08550 
08551 
08552 
08553 extern int renameat (int __oldfd, __const char *__old, int __newfd,
08554        __const char *__new) __attribute__ ((__nothrow__));
08555 
08556 
08557 
08558 
08559 
08560 
08561 
08562 
08563 extern FILE *tmpfile (void) ;
08564 # 202 "/usr/include/stdio.h" 3 4
08565 extern FILE *tmpfile64 (void) ;
08566 
08567 
08568 
08569 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ;
08570 
08571 
08572 
08573 
08574 
08575 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) ;
08576 # 224 "/usr/include/stdio.h" 3 4
08577 extern char *tempnam (__const char *__dir, __const char *__pfx)
08578      __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
08579 
08580 
08581 
08582 
08583 
08584 
08585 
08586 
08587 extern int fclose (FILE *__stream);
08588 
08589 
08590 
08591 
08592 extern int fflush (FILE *__stream);
08593 
08594 # 249 "/usr/include/stdio.h" 3 4
08595 extern int fflush_unlocked (FILE *__stream);
08596 # 259 "/usr/include/stdio.h" 3 4
08597 extern int fcloseall (void);
08598 
08599 
08600 
08601 
08602 
08603 
08604 
08605 
08606 
08607 extern FILE *fopen (__const char *__restrict __filename,
08608       __const char *__restrict __modes) ;
08609 
08610 
08611 
08612 
08613 extern FILE *freopen (__const char *__restrict __filename,
08614         __const char *__restrict __modes,
08615         FILE *__restrict __stream) ;
08616 # 292 "/usr/include/stdio.h" 3 4
08617 
08618 
08619 extern FILE *fopen64 (__const char *__restrict __filename,
08620         __const char *__restrict __modes) ;
08621 extern FILE *freopen64 (__const char *__restrict __filename,
08622    __const char *__restrict __modes,
08623    FILE *__restrict __stream) ;
08624 
08625 
08626 
08627 
08628 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ;
08629 
08630 
08631 
08632 
08633 
08634 extern FILE *fopencookie (void *__restrict __magic_cookie,
08635      __const char *__restrict __modes,
08636      _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)) ;
08637 
08638 
08639 
08640 
08641 extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
08642   __attribute__ ((__nothrow__)) ;
08643 
08644 
08645 
08646 
08647 extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) ;
08648 
08649 
08650 
08651 
08652 
08653 
08654 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
08655 
08656 
08657 
08658 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
08659       int __modes, size_t __n) __attribute__ ((__nothrow__));
08660 
08661 
08662 
08663 
08664 
08665 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
08666          size_t __size) __attribute__ ((__nothrow__));
08667 
08668 
08669 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
08670 
08671 
08672 
08673 
08674 
08675 
08676 
08677 
08678 extern int fprintf (FILE *__restrict __stream,
08679       __const char *__restrict __format, ...);
08680 
08681 
08682 
08683 
08684 extern int printf (__const char *__restrict __format, ...);
08685 
08686 extern int sprintf (char *__restrict __s,
08687       __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
08688 
08689 
08690 
08691 
08692 
08693 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
08694        __gnuc_va_list __arg);
08695 
08696 
08697 
08698 
08699 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
08700 
08701 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
08702        __gnuc_va_list __arg) __attribute__ ((__nothrow__));
08703 
08704 
08705 
08706 
08707 
08708 extern int snprintf (char *__restrict __s, size_t __maxlen,
08709        __const char *__restrict __format, ...)
08710      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
08711 
08712 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
08713         __const char *__restrict __format, __gnuc_va_list __arg)
08714      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
08715 
08716 
08717 
08718 
08719 
08720 
08721 extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
08722         __gnuc_va_list __arg)
08723      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) ;
08724 extern int __asprintf (char **__restrict __ptr,
08725          __const char *__restrict __fmt, ...)
08726      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ;
08727 extern int asprintf (char **__restrict __ptr,
08728        __const char *__restrict __fmt, ...)
08729      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ;
08730 # 414 "/usr/include/stdio.h" 3 4
08731 extern int vdprintf (int __fd, __const char *__restrict __fmt,
08732        __gnuc_va_list __arg)
08733      __attribute__ ((__format__ (__printf__, 2, 0)));
08734 extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
08735      __attribute__ ((__format__ (__printf__, 2, 3)));
08736 
08737 
08738 
08739 
08740 
08741 
08742 
08743 
08744 extern int fscanf (FILE *__restrict __stream,
08745      __const char *__restrict __format, ...) ;
08746 
08747 
08748 
08749 
08750 extern int scanf (__const char *__restrict __format, ...) ;
08751 
08752 extern int sscanf (__const char *__restrict __s,
08753      __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
08754 # 465 "/usr/include/stdio.h" 3 4
08755 
08756 
08757 
08758 
08759 
08760 
08761 
08762 
08763 extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
08764       __gnuc_va_list __arg)
08765      __attribute__ ((__format__ (__scanf__, 2, 0))) ;
08766 
08767 
08768 
08769 
08770 
08771 extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
08772      __attribute__ ((__format__ (__scanf__, 1, 0))) ;
08773 
08774 
08775 extern int vsscanf (__const char *__restrict __s,
08776       __const char *__restrict __format, __gnuc_va_list __arg)
08777      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
08778 # 524 "/usr/include/stdio.h" 3 4
08779 
08780 
08781 
08782 
08783 
08784 
08785 
08786 
08787 
08788 extern int fgetc (FILE *__stream);
08789 extern int getc (FILE *__stream);
08790 
08791 
08792 
08793 
08794 
08795 extern int getchar (void);
08796 
08797 # 552 "/usr/include/stdio.h" 3 4
08798 extern int getc_unlocked (FILE *__stream);
08799 extern int getchar_unlocked (void);
08800 # 563 "/usr/include/stdio.h" 3 4
08801 extern int fgetc_unlocked (FILE *__stream);
08802 
08803 
08804 
08805 
08806 
08807 
08808 
08809 
08810 
08811 
08812 
08813 extern int fputc (int __c, FILE *__stream);
08814 extern int putc (int __c, FILE *__stream);
08815 
08816 
08817 
08818 
08819 
08820 extern int putchar (int __c);
08821 
08822 # 596 "/usr/include/stdio.h" 3 4
08823 extern int fputc_unlocked (int __c, FILE *__stream);
08824 
08825 
08826 
08827 
08828 
08829 
08830 
08831 extern int putc_unlocked (int __c, FILE *__stream);
08832 extern int putchar_unlocked (int __c);
08833 
08834 
08835 
08836 
08837 
08838 
08839 extern int getw (FILE *__stream);
08840 
08841 
08842 extern int putw (int __w, FILE *__stream);
08843 
08844 
08845 
08846 
08847 
08848 
08849 
08850 
08851 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
08852      ;
08853 
08854 
08855 
08856 
08857 
08858 
08859 extern char *gets (char *__s) ;
08860 
08861 # 642 "/usr/include/stdio.h" 3 4
08862 extern char *fgets_unlocked (char *__restrict __s, int __n,
08863         FILE *__restrict __stream) ;
08864 # 658 "/usr/include/stdio.h" 3 4
08865 extern __ssize_t __getdelim (char **__restrict __lineptr,
08866           size_t *__restrict __n, int __delimiter,
08867           FILE *__restrict __stream) ;
08868 extern __ssize_t getdelim (char **__restrict __lineptr,
08869         size_t *__restrict __n, int __delimiter,
08870         FILE *__restrict __stream) ;
08871 
08872 
08873 
08874 
08875 
08876 
08877 
08878 extern __ssize_t getline (char **__restrict __lineptr,
08879        size_t *__restrict __n,
08880        FILE *__restrict __stream) ;
08881 
08882 
08883 
08884 
08885 
08886 
08887 
08888 
08889 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
08890 
08891 
08892 
08893 
08894 
08895 extern int puts (__const char *__s);
08896 
08897 
08898 
08899 
08900 
08901 
08902 extern int ungetc (int __c, FILE *__stream);
08903 
08904 
08905 
08906 
08907 
08908 
08909 extern size_t fread (void *__restrict __ptr, size_t __size,
08910        size_t __n, FILE *__restrict __stream) ;
08911 
08912 
08913 
08914 
08915 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
08916         size_t __n, FILE *__restrict __s);
08917 
08918 # 719 "/usr/include/stdio.h" 3 4
08919 extern int fputs_unlocked (__const char *__restrict __s,
08920       FILE *__restrict __stream);
08921 # 730 "/usr/include/stdio.h" 3 4
08922 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
08923          size_t __n, FILE *__restrict __stream) ;
08924 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
08925           size_t __n, FILE *__restrict __stream);
08926 
08927 
08928 
08929 
08930 
08931 
08932 
08933 
08934 extern int fseek (FILE *__stream, long int __off, int __whence);
08935 
08936 
08937 
08938 
08939 extern long int ftell (FILE *__stream) ;
08940 
08941 
08942 
08943 
08944 extern void rewind (FILE *__stream);
08945 
08946 # 766 "/usr/include/stdio.h" 3 4
08947 extern int fseeko (FILE *__stream, __off_t __off, int __whence);
08948 
08949 
08950 
08951 
08952 extern __off_t ftello (FILE *__stream) ;
08953 # 785 "/usr/include/stdio.h" 3 4
08954 
08955 
08956 
08957 
08958 
08959 
08960 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
08961 
08962 
08963 
08964 
08965 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
08966 # 808 "/usr/include/stdio.h" 3 4
08967 
08968 
08969 
08970 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
08971 extern __off64_t ftello64 (FILE *__stream) ;
08972 extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
08973 extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
08974 
08975 
08976 
08977 
08978 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
08979 
08980 extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ;
08981 
08982 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ;
08983 
08984 
08985 
08986 
08987 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
08988 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
08989 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
08990 
08991 
08992 
08993 
08994 
08995 
08996 
08997 
08998 extern void perror (__const char *__s);
08999 
09000 
09001 
09002 
09003 
09004 
09005 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
09006 # 27 "/usr/include/bits/sys_errlist.h" 3 4
09007 extern int sys_nerr;
09008 extern __const char *__const sys_errlist[];
09009 
09010 
09011 extern int _sys_nerr;
09012 extern __const char *__const _sys_errlist[];
09013 # 847 "/usr/include/stdio.h" 2 3 4
09014 
09015 
09016 
09017 
09018 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ;
09019 
09020 
09021 
09022 
09023 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
09024 # 866 "/usr/include/stdio.h" 3 4
09025 extern FILE *popen (__const char *__command, __const char *__modes) ;
09026 
09027 
09028 
09029 
09030 
09031 extern int pclose (FILE *__stream);
09032 
09033 
09034 
09035 
09036 
09037 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
09038 
09039 
09040 
09041 
09042 
09043 extern char *cuserid (char *__s);
09044 
09045 
09046 
09047 
09048 struct obstack;
09049 
09050 
09051 extern int obstack_printf (struct obstack *__restrict __obstack,
09052       __const char *__restrict __format, ...)
09053      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3)));
09054 extern int obstack_vprintf (struct obstack *__restrict __obstack,
09055        __const char *__restrict __format,
09056        __gnuc_va_list __args)
09057      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0)));
09058 
09059 
09060 
09061 
09062 
09063 
09064 
09065 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
09066 
09067 
09068 
09069 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ;
09070 
09071 
09072 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
09073 # 936 "/usr/include/stdio.h" 3 4
09074 
09075 # 39 "/usr/include/qof/qoflog.h" 2
09076 # 1 "/usr/include/qof/qofutil.h" 1
09077 # 35 "/usr/include/qof/qofutil.h"
09078 # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.6.1/include/stddef.h" 1 3 4
09079 # 36 "/usr/include/qof/qofutil.h" 2
09080 # 1 "/usr/include/qof/qoflog.h" 1
09081 # 37 "/usr/include/qof/qofutil.h" 2
09082 # 1 "/usr/include/qof/qofdate.h" 1
09083 # 78 "/usr/include/qof/qofdate.h"
09084 # 1 "/usr/include/qof/qoftime.h" 1
09085 # 90 "/usr/include/qof/qoftime.h"
09086 # 1 "../config.h" 1
09087 # 91 "/usr/include/qof/qoftime.h" 2
09088 # 112 "/usr/include/qof/qoftime.h"
09089 typedef struct QofTime64 QofTime;
09090 # 121 "/usr/include/qof/qoftime.h"
09091 typedef gint64 QofTimeSecs;
09092 # 132 "/usr/include/qof/qoftime.h"
09093 void
09094 qof_time_add_secs (QofTime * qt, QofTimeSecs secs);
09095 # 144 "/usr/include/qof/qoftime.h"
09096 QofTime *
09097 qof_time_add_secs_copy (QofTime * qt, QofTimeSecs secs);
09098 
09099 
09100 
09101 
09102 
09103 
09104 QofTime *
09105 qof_time_new (void);
09106 # 162 "/usr/include/qof/qoftime.h"
09107 QofTime *
09108 qof_time_copy (const QofTime *qt);
09109 
09110 
09111 void
09112 qof_time_free (QofTime * qt);
09113 # 176 "/usr/include/qof/qoftime.h"
09114 void
09115 qof_time_set_secs (QofTime * time, QofTimeSecs secs);
09116 
09117 
09118 
09119 
09120 
09121 
09122 
09123 void
09124 qof_time_set_nanosecs (QofTime * time, glong nano);
09125 
09126 
09127 
09128 
09129 
09130 
09131 
09132 QofTimeSecs
09133 qof_time_get_secs (const QofTime * time);
09134 
09135 
09136 
09137 
09138 
09139 
09140 
09141 glong
09142 qof_time_get_nanosecs (const QofTime * time);
09143 
09144 
09145 
09146 
09147 
09148 gboolean
09149 qof_time_equal (const QofTime * ta, const QofTime * tb);
09150 
09151 
09152 gint
09153 qof_time_cmp (const QofTime * ta, const QofTime * tb);
09154 # 226 "/usr/include/qof/qoftime.h"
09155 QofTime *
09156 qof_time_diff (const QofTime * ta, const QofTime * tb);
09157 
09158 
09159 
09160 
09161 
09162 
09163 QofTime *
09164 qof_time_abs (QofTime * t);
09165 
09166 gboolean
09167 qof_time_is_valid (const QofTime * qt);
09168 # 249 "/usr/include/qof/qoftime.h"
09169 QofTime *
09170 qof_time_from_time_t (time_t t, glong nanosecs);
09171 # 261 "/usr/include/qof/qoftime.h"
09172 QofTime *
09173 qof_time_set (QofTimeSecs t, glong nanosecs);
09174 # 277 "/usr/include/qof/qoftime.h"
09175 gboolean
09176 qof_time_to_time_t (QofTime * ts, time_t * t, glong * nanosecs);
09177 # 292 "/usr/include/qof/qoftime.h"
09178 QofTime *
09179 qof_time_from_tm (struct tm *tm, glong nanosecs);
09180 # 302 "/usr/include/qof/qoftime.h"
09181 gboolean
09182 qof_time_to_gtimeval (QofTime * qt, GTimeVal * gtv);
09183 
09184 
09185 
09186 
09187 
09188 
09189 
09190 void
09191 qof_time_from_gtimeval (QofTime * qt, GTimeVal * gtv);
09192 # 324 "/usr/include/qof/qoftime.h"
09193 QofTime *
09194 qof_time_dmy_to_time (guint8 day, guint8 month, guint16 year);
09195 # 340 "/usr/include/qof/qoftime.h"
09196 gboolean
09197 qof_time_to_dmy (QofTime * t, guint8 * day, guint8 * month, guint16 * year);
09198 # 352 "/usr/include/qof/qoftime.h"
09199 GDate *
09200 qof_time_to_gdate (QofTime * time);
09201 # 363 "/usr/include/qof/qoftime.h"
09202 QofTime *
09203 qof_time_from_gdate (GDate * date);
09204 # 377 "/usr/include/qof/qoftime.h"
09205 GTimeVal *
09206 qof_time_get_current_start (void);
09207 # 390 "/usr/include/qof/qoftime.h"
09208 QofTime *
09209 qof_time_get_current (void);
09210 # 401 "/usr/include/qof/qoftime.h"
09211 gboolean
09212 qof_time_set_day_middle (QofTime * t);
09213 # 412 "/usr/include/qof/qoftime.h"
09214 gboolean
09215 qof_time_set_day_start (QofTime * time);
09216 # 423 "/usr/include/qof/qoftime.h"
09217 gboolean
09218 qof_time_set_day_end (QofTime * time);
09219 # 434 "/usr/include/qof/qoftime.h"
09220 guint8
09221 qof_time_last_mday (QofTime * ts);
09222 
09223 
09224 
09225 
09226 
09227 
09228 
09229 QofTime *
09230 qof_time_get_today_start (void);
09231 
09232 
09233 QofTime *
09234 qof_time_get_today_end (void);
09235 
09236 
09237 
09238 
09239 
09240 
09241 gchar *
09242 qof_time_stamp_now (void);
09243 # 79 "/usr/include/qof/qofdate.h" 2
09244 # 138 "/usr/include/qof/qofdate.h"
09245 typedef struct QofDate_s
09246 {
09247 
09248  glong qd_nanosecs;
09249 
09250  gint64 qd_sec;
09251 
09252 
09253 
09254 
09255 
09256 
09257  glong qd_min;
09258 
09259 
09260 
09261 
09262 
09263 
09264  glong qd_hour;
09265 
09266 
09267 
09268 
09269 
09270 
09271  glong qd_mday;
09272 
09273 
09274 
09275 
09276 
09277 
09278  glong qd_mon;
09279 # 181 "/usr/include/qof/qofdate.h"
09280  gint64 qd_year;
09281 
09282 
09283 
09284  gshort qd_wday;
09285 
09286 
09287 
09288  gshort qd_yday;
09289 
09290 
09291 
09292  gshort qd_is_dst;
09293 
09294 
09295 
09296 
09297 
09298 
09299 
09300  glong qd_gmt_off;
09301 
09302 
09303 
09304 
09305 
09306 
09307  const gchar *qd_zone;
09308 # 217 "/usr/include/qof/qofdate.h"
09309  gboolean qd_valid;
09310 } QofDate;
09311 
09312 
09313 
09314 
09315 
09316 
09317 
09318 void qof_date_init (void);
09319 
09320 
09321 void qof_date_close (void);
09322 # 335 "/usr/include/qof/qofdate.h"
09323 typedef gint QofDateFormat;
09324 # 358 "/usr/include/qof/qofdate.h"
09325 gboolean
09326 qof_date_format_add (const gchar * str, QofDateFormat *identifier);
09327 # 371 "/usr/include/qof/qofdate.h"
09328 const gchar *
09329 qof_date_format_to_name (QofDateFormat format);
09330 # 384 "/usr/include/qof/qofdate.h"
09331 QofDateFormat
09332 qof_date_format_from_name (const gchar * name);
09333 # 400 "/usr/include/qof/qofdate.h"
09334 gboolean
09335 qof_date_format_set_name (const gchar * name, QofDateFormat format);
09336 
09337 
09338 QofDateFormat
09339 qof_date_format_get_current (void);
09340 
09341 
09342 
09343 
09344 
09345 
09346 
09347 gboolean
09348 qof_date_format_set_current (QofDateFormat df);
09349 # 423 "/usr/include/qof/qofdate.h"
09350 const gchar *
09351 qof_date_format_get_format (QofDateFormat df);
09352 # 436 "/usr/include/qof/qofdate.h"
09353 gchar
09354 qof_date_format_get_date_separator (QofDateFormat df);
09355 # 447 "/usr/include/qof/qofdate.h"
09356 gboolean
09357 qof_date_format_set_date_separator (const gchar sep, QofDateFormat df);
09358 
09359 
09360 
09361 
09362 
09363 
09364 QofDate *
09365 qof_date_new (void);
09366 
09367 
09368 QofDate *
09369 qof_date_get_current (void);
09370 
09371 
09372 QofDate *
09373 qof_date_new_dmy (gint day, gint month, gint64 year);
09374 
09375 
09376 void
09377 qof_date_free (QofDate * date);
09378 
09379 
09380 QofTime*
09381 qof_date_time_difference (const QofDate * date1, const QofDate * date2);
09382 # 481 "/usr/include/qof/qofdate.h"
09383 gboolean
09384 qof_date_is_last_mday (const QofDate *qd);
09385 # 499 "/usr/include/qof/qofdate.h"
09386 gboolean
09387 qof_date_addmonths (QofDate * qd, gint months,
09388  gboolean track_last_day);
09389 
09390 
09391 gboolean
09392 qof_date_equal (const QofDate *d1, const QofDate *d2);
09393 
09394 
09395 gint
09396 qof_date_compare (const QofDate * d1, const QofDate * d2);
09397 # 532 "/usr/include/qof/qofdate.h"
09398 gboolean
09399 qof_date_valid (QofDate *date);
09400 # 544 "/usr/include/qof/qofdate.h"
09401 guint16
09402 qof_date_get_yday (gint mday, gint month, gint64 year);
09403 # 555 "/usr/include/qof/qofdate.h"
09404 guint8
09405 qof_date_get_mday (gint month, gint64 year);
09406 
09407 
09408 
09409 
09410 
09411 
09412 
09413 QofDate *
09414 qof_date_from_qtime (const QofTime *qt);
09415 
09416 
09417 QofTime *
09418 qof_date_to_qtime (const QofDate *qd);
09419 
09420 
09421 
09422 
09423 
09424 
09425 QofDate *
09426 qof_date_from_struct_tm (const struct tm *stm);
09427 # 593 "/usr/include/qof/qofdate.h"
09428 gboolean
09429 qof_date_to_struct_tm (const QofDate * qt, struct tm *stm, glong * nanosecs);
09430 # 605 "/usr/include/qof/qofdate.h"
09431 gboolean
09432 qof_date_to_gdate (const QofDate *qd, GDate *gd);
09433 # 617 "/usr/include/qof/qofdate.h"
09434 QofDate *
09435 qof_date_from_gdate (const GDate *gd);
09436 # 635 "/usr/include/qof/qofdate.h"
09437 gboolean
09438 qof_date_adddays (QofDate * qd, gint days);
09439 
09440 gboolean
09441 qof_date_set_day_end (QofDate * qd);
09442 
09443 gboolean
09444 qof_date_set_day_start (QofDate * qd);
09445 
09446 gboolean
09447 qof_date_set_day_middle (QofDate * qd);
09448 # 712 "/usr/include/qof/qofdate.h"
09449 gchar *
09450 qof_date_print (const QofDate * date, QofDateFormat df);
09451 # 725 "/usr/include/qof/qofdate.h"
09452 QofDate *
09453 qof_date_parse (const gchar * str, QofDateFormat df);
09454 # 38 "/usr/include/qof/qofutil.h" 2
09455 # 1 "/usr/include/qof/qofutil.h" 1
09456 # 39 "/usr/include/qof/qofutil.h" 2
09457 # 1 "/usr/include/qof/qofbackend-p.h" 1
09458 # 43 "/usr/include/qof/qofbackend-p.h"
09459 # 1 "/usr/include/qof/qofinstance-p.h" 1
09460 # 32 "/usr/include/qof/qofinstance-p.h"
09461 # 1 "../config.h" 1
09462 # 33 "/usr/include/qof/qofinstance-p.h" 2
09463 # 1 "/usr/include/qof/qofinstance.h" 1
09464 # 40 "/usr/include/qof/qofinstance.h"
09465 # 1 "/usr/include/qof/qofbook.h" 1
09466 # 42 "/usr/include/qof/qofbook.h"
09467 # 1 "/usr/include/qof/qof.h" 1
09468 # 43 "/usr/include/qof/qofbook.h" 2
09469 # 61 "/usr/include/qof/qofbook.h"
09470 typedef struct _QofBook QofBook;
09471 
09472 
09473 typedef GList QofBookList;
09474 
09475 typedef void (*QofBookFinalCB) (QofBook *, gpointer key, gpointer user_data);
09476 
09477 
09478 gboolean qof_book_register (void);
09479 
09480 
09481 
09482 QofBook *qof_book_new (void);
09483 
09484 
09485 
09486 void qof_book_destroy (QofBook * book);
09487 
09488 
09489 
09490 
09491 
09492 
09493 void qof_book_mark_closed (QofBook * book);
09494 # 99 "/usr/include/qof/qofbook.h"
09495 QofCollection *qof_book_get_collection (QofBook *, QofIdType);
09496 
09497 
09498 typedef void (*QofCollectionForeachCB) (QofCollection *, gpointer user_data);
09499 void qof_book_foreach_collection (QofBook *, QofCollectionForeachCB,
09500           gpointer);
09501 # 125 "/usr/include/qof/qofbook.h"
09502 void qof_book_set_data (QofBook * book, const gchar * key, gpointer data);
09503 
09504 
09505 
09506 
09507 
09508 void qof_book_set_data_fin (QofBook * book, const gchar * key, gpointer data,
09509        QofBookFinalCB);
09510 
09511 
09512 gpointer qof_book_get_data (QofBook * book, const gchar * key);
09513 
09514 
09515 gboolean qof_book_shutting_down (QofBook * book);
09516 # 148 "/usr/include/qof/qofbook.h"
09517 gboolean qof_book_not_saved (QofBook * book);
09518 
09519 
09520 
09521 
09522 
09523 
09524 void qof_book_mark_saved (QofBook * book);
09525 
09526 
09527 
09528 void qof_book_kvp_changed (QofBook * book);
09529 
09530 
09531 
09532 
09533 gboolean qof_book_equal (QofBook * book_1, QofBook * book_2);
09534 
09535 
09536 
09537 
09538 gint64 qof_book_get_counter (QofBook * book, const gchar *counter_name);
09539 # 41 "/usr/include/qof/qofinstance.h" 2
09540 
09541 
09542 # 1 "/usr/include/qof/kvpframe.h" 1
09543 # 66 "/usr/include/qof/kvpframe.h"
09544 # 1 "/usr/include/qof/qofnumeric.h" 1
09545 # 52 "/usr/include/qof/qofnumeric.h"
09546 struct _QofNumeric
09547 {
09548  gint64 num;
09549  gint64 denom;
09550 };
09551 
09552 
09553 
09554 
09555 typedef struct _QofNumeric QofNumeric;
09556 # 129 "/usr/include/qof/qofnumeric.h"
09557 enum
09558 {
09559 
09560  QOF_HOW_RND_FLOOR = 0x01,
09561 
09562 
09563  QOF_HOW_RND_CEIL = 0x02,
09564 
09565 
09566  QOF_HOW_RND_TRUNC = 0x03,
09567 
09568 
09569  QOF_HOW_RND_PROMOTE = 0x04,
09570 
09571 
09572 
09573 
09574  QOF_HOW_RND_ROUND_HALF_DOWN = 0x05,
09575 
09576 
09577 
09578 
09579  QOF_HOW_RND_ROUND_HALF_UP = 0x06,
09580 
09581 
09582 
09583 
09584 
09585 
09586  QOF_HOW_RND_ROUND = 0x07,
09587 
09588 
09589 
09590 
09591  QOF_HOW_RND_NEVER = 0x08
09592 };
09593 
09594 
09595 enum
09596 {
09597 
09598 
09599 
09600 
09601 
09602  QOF_HOW_DENOM_EXACT = 0x10,
09603 
09604 
09605 
09606 
09607 
09608 
09609  QOF_HOW_DENOM_REDUCE = 0x20,
09610 
09611 
09612 
09613 
09614  QOF_HOW_DENOM_LCD = 0x30,
09615 
09616 
09617 
09618 
09619 
09620  QOF_HOW_DENOM_FIXED = 0x40,
09621 
09622 
09623 
09624 
09625  QOF_HOW_DENOM_SIGFIG = 0x50
09626 };
09627 # 207 "/usr/include/qof/qofnumeric.h"
09628 typedef enum
09629 {
09630  QOF_ERROR_OK = 0,
09631  QOF_ERROR_ARG = -1,
09632  QOF_ERROR_OVERFLOW = -2,
09633 
09634 
09635  QOF_ERROR_DENOM_DIFF = -3,
09636 
09637 
09638 
09639  QOF_ERROR_REMAINDER = -4
09640 } QofNumericErrorCode;
09641 # 242 "/usr/include/qof/qofnumeric.h"
09642 static inline QofNumeric
09643 qof_numeric_create (gint64 num, gint64 denom)
09644 {
09645  QofNumeric out;
09646  out.num = num;
09647  out.denom = denom;
09648  return out;
09649 }
09650 
09651 
09652 static inline QofNumeric
09653 qof_numeric_zero (void)
09654 {
09655  return qof_numeric_create (0, 1);
09656 }
09657 
09658 
09659 
09660 
09661 
09662 
09663 QofNumeric
09664 qof_numeric_from_double (gdouble in, gint64 denom, gint how);
09665 
09666 
09667 
09668 
09669 gboolean
09670 qof_numeric_from_string (const gchar * str, QofNumeric * n);
09671 
09672 
09673 
09674 
09675 QofNumeric
09676 qof_numeric_error (QofNumericErrorCode error_code);
09677 
09678 
09679 
09680 
09681 
09682 
09683 static inline gint64
09684 qof_numeric_num (QofNumeric a)
09685 {
09686  return a.num;
09687 }
09688 
09689 
09690 static inline gint64
09691 qof_numeric_denom (QofNumeric a)
09692 {
09693  return a.denom;
09694 }
09695 
09696 
09697 gdouble
09698 qof_numeric_to_double (QofNumeric in);
09699 
09700 
09701 
09702 gchar *
09703 qof_numeric_to_string (QofNumeric n);
09704 
09705 
09706 
09707 gchar *
09708 qof_numeric_dbg_to_string (QofNumeric n);
09709 # 318 "/usr/include/qof/qofnumeric.h"
09710 QofNumericErrorCode
09711 qof_numeric_check (QofNumeric a);
09712 
09713 
09714 gint
09715 qof_numeric_compare (QofNumeric a, QofNumeric b);
09716 
09717 
09718 gboolean
09719 qof_numeric_zero_p (QofNumeric a);
09720 
09721 
09722 gboolean
09723 qof_numeric_negative_p (QofNumeric a);
09724 
09725 
09726 gboolean
09727 qof_numeric_positive_p (QofNumeric a);
09728 
09729 
09730 
09731 
09732 gboolean
09733 qof_numeric_eq (QofNumeric a, QofNumeric b);
09734 
09735 
09736 
09737 
09738 
09739 gboolean
09740 qof_numeric_equal (QofNumeric a, QofNumeric b);
09741 # 362 "/usr/include/qof/qofnumeric.h"
09742 gint
09743 qof_numeric_same (QofNumeric a, QofNumeric b, gint64 denom, gint how);
09744 
09745 
09746 
09747 
09748 
09749 
09750 QofNumeric
09751 qof_numeric_add (QofNumeric a, QofNumeric b,
09752         gint64 denom, gint how);
09753 
09754 
09755 QofNumeric
09756 qof_numeric_sub (QofNumeric a, QofNumeric b,
09757         gint64 denom, gint how);
09758 
09759 
09760 
09761 
09762 
09763 
09764 QofNumeric
09765 qof_numeric_mul (QofNumeric a, QofNumeric b,
09766         gint64 denom, gint how);
09767 # 395 "/usr/include/qof/qofnumeric.h"
09768 QofNumeric
09769 qof_numeric_div (QofNumeric x, QofNumeric y,
09770         gint64 denom, gint how);
09771 
09772 QofNumeric
09773 qof_numeric_neg (QofNumeric a);
09774 
09775 
09776 QofNumeric
09777 qof_numeric_abs (QofNumeric a);
09778 
09779 
09780 
09781 
09782 
09783 static inline QofNumeric
09784 qof_numeric_add_fixed (QofNumeric a, QofNumeric b)
09785 {
09786  return qof_numeric_add (a, b, 0,
09787     QOF_HOW_DENOM_FIXED | QOF_HOW_RND_NEVER);
09788 }
09789 
09790 
09791 
09792 
09793 
09794 static inline QofNumeric
09795 qof_numeric_sub_fixed (QofNumeric a, QofNumeric b)
09796 {
09797  return qof_numeric_sub (a, b, 0,
09798     QOF_HOW_DENOM_FIXED | QOF_HOW_RND_NEVER);
09799 }
09800 # 435 "/usr/include/qof/qofnumeric.h"
09801 QofNumeric
09802 qof_numeric_add_with_error (QofNumeric a, QofNumeric b,
09803           gint64 denom, gint how,
09804      QofNumeric * error);
09805 
09806 
09807 
09808 QofNumeric
09809 qof_numeric_sub_with_error (QofNumeric a, QofNumeric b,
09810           gint64 denom, gint how,
09811      QofNumeric * error);
09812 
09813 
09814 
09815 
09816 QofNumeric
09817 qof_numeric_mul_with_error (QofNumeric a, QofNumeric b,
09818           gint64 denom, gint how,
09819      QofNumeric * error);
09820 
09821 
09822 
09823 
09824 QofNumeric
09825 qof_numeric_div_with_error (QofNumeric a, QofNumeric b,
09826           gint64 denom, gint how,
09827      QofNumeric * error);
09828 # 471 "/usr/include/qof/qofnumeric.h"
09829 QofNumeric
09830 qof_numeric_convert (QofNumeric in, gint64 denom, gint how);
09831 
09832 
09833 
09834 
09835 QofNumeric
09836 qof_numeric_convert_with_error (QofNumeric in, gint64 denom,
09837         gint how, QofNumeric * error);
09838 
09839 
09840 
09841 QofNumeric qof_numeric_reduce (QofNumeric in);
09842 # 67 "/usr/include/qof/kvpframe.h" 2
09843 
09844 
09845 
09846 
09847 
09848 
09849 
09850 typedef struct _KvpFrame KvpFrame;
09851 
09852 
09853 
09854 typedef struct _KvpValue KvpValue;
09855 # 87 "/usr/include/qof/kvpframe.h"
09856 typedef enum
09857 {
09858 
09859 
09860 
09861 
09862 
09863  KVP_TYPE_GINT64 = 1,
09864 
09865 
09866 
09867 
09868 
09869  KVP_TYPE_DOUBLE,
09870 
09871 
09872 
09873 
09874 
09875  KVP_TYPE_NUMERIC,
09876 
09877 
09878 
09879 
09880 
09881  KVP_TYPE_STRING,
09882 
09883 
09884 
09885 
09886 
09887  KVP_TYPE_GUID,
09888 
09889 
09890 
09891 
09892 
09893  KVP_TYPE_TIME,
09894 
09895  KVP_TYPE_BINARY,
09896 
09897  KVP_TYPE_GLIST,
09898 
09899  KVP_TYPE_FRAME,
09900 
09901 
09902 
09903 
09904 
09905  KVP_TYPE_BOOLEAN
09906 } KvpValueType;
09907 
09908 
09909 
09910 
09911 
09912 
09913 KvpFrame *
09914 kvp_frame_new (void);
09915 
09916 
09917 void
09918 kvp_frame_delete (KvpFrame * frame);
09919 
09920 
09921 
09922 KvpFrame *
09923 kvp_frame_copy (const KvpFrame * frame);
09924 
09925 
09926 gboolean
09927 kvp_frame_is_empty (KvpFrame * frame);
09928 # 170 "/usr/include/qof/kvpframe.h"
09929 void
09930 kvp_frame_set_gint64 (KvpFrame * frame, const gchar * path, gint64 ival);
09931 
09932 
09933 
09934 
09935 
09936 void
09937 kvp_frame_set_double (KvpFrame * frame, const gchar * path, gdouble dval);
09938 
09939 
09940 
09941 
09942 
09943 void
09944 kvp_frame_set_numeric (KvpFrame * frame, const gchar * path,
09945       QofNumeric nval);
09946 
09947 
09948 
09949 
09950 
09951 
09952 
09953 void
09954 kvp_frame_set_string (KvpFrame * frame, const gchar * path,
09955         const gchar *str);
09956 
09957 
09958 
09959 
09960 
09961 
09962 
09963 void
09964 kvp_frame_set_guid (KvpFrame * frame, const gchar * path,
09965       const GUID * guid);
09966 
09967 
09968 
09969 
09970 
09971 
09972 
09973 void
09974 kvp_frame_set_time (KvpFrame * frame, const gchar *path, QofTime *qt);
09975 
09976 
09977 
09978 
09979 
09980 void
09981 kvp_frame_set_boolean (KvpFrame * frame, const gchar * path, gboolean val);
09982 
09983 
09984 
09985 
09986 
09987 
09988 
09989 void
09990 kvp_frame_set_frame (KvpFrame * frame, const gchar * path,
09991        KvpFrame * chld);
09992 
09993 
09994 
09995 
09996 
09997 
09998 
09999 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"
10356 struct _QofParam
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 
10425 struct QofInstance_s
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 
10539 struct _QofQueryPredData
10540 {
10541  QofType type_name;
10542  QofQueryCompare how;
10543 };
10544 
10545 
10546 
10547 
10548 QofQueryPredData *
10549 qof_query_string_predicate (QofQueryCompare how,
10550           const gchar * str,
10551           QofStringMatch options,
10552           gboolean is_regex);
10553 
10554 QofQueryPredData *
10555 qof_query_time_predicate (QofQueryCompare how,
10556         QofDateMatch options,
10557         QofTime *qt);
10558 
10559 QofQueryPredData *
10560 qof_query_numeric_predicate (QofQueryCompare how,
10561         QofNumericMatch options,
10562         QofNumeric value);
10563 
10564 QofQueryPredData *
10565 qof_query_guid_predicate (QofGuidMatch options,
10566         GList * guids);
10567 
10568 QofQueryPredData *
10569 qof_query_int32_predicate (QofQueryCompare how, gint32 val);
10570 
10571 QofQueryPredData *
10572 qof_query_int64_predicate (QofQueryCompare how, gint64 val);
10573 
10574 QofQueryPredData *
10575 qof_query_double_predicate (QofQueryCompare how,
10576        double val);
10577 
10578 QofQueryPredData *
10579 qof_query_boolean_predicate (QofQueryCompare how,
10580         gboolean val);
10581 
10582 QofQueryPredData *
10583 qof_query_char_predicate (QofCharMatch options,
10584         const gchar * chars);
10585 
10586 QofQueryPredData *
10587 qof_query_collect_predicate (QofGuidMatch options,
10588         QofCollection * coll);
10589 
10590 QofQueryPredData *
10591 qof_query_choice_predicate (QofGuidMatch options,
10592        GList * guids);
10593 
10594 
10595 
10596 
10597 
10598 QofQueryPredData *
10599 qof_query_kvp_predicate (QofQueryCompare how,
10600        GSList * path,
10601        const KvpValue * value);
10602 
10603 
10604 
10605 QofQueryPredData *
10606 qof_query_kvp_predicate_path (QofQueryCompare how,
10607          const gchar * path,
10608          const KvpValue * value);
10609 
10610 
10611 QofQueryPredData *
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 
10645 struct _QofObject
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 
10902 typedef struct QofBackendProvider_s QofBackendProvider;
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;
10925 } QofBackendOption;
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"
11041 struct QofBackendProvider_s
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 
11071 struct QofBackend_s
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;
11298 } GHashTableKVPair;
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 
11524 } QofBookMergeRule;
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 
11552 } QofBookMergeData;
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;
11584 } QofEntityReference;
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"
11592 QofEntityReference *
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"); }