Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Alberto Snchez

By: a guest on Jan 28th, 2008  |  syntax: None  |  size: 211.52 KB  |  views: 130  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # 1 "/usr/include/glib-2.0/glib-object.h"
  2. # 1 "<interno>"
  3. # 1 "<lnea de orden>"
  4. # 1 "./gtk2hs-config.h" 1
  5. # 1 "<lnea de orden>" 2
  6. # 1 "/usr/include/glib-2.0/glib-object.h"
  7. # 25 "/usr/include/glib-2.0/glib-object.h"
  8. # 1 "/usr/include/glib-2.0/gobject/gboxed.h" 1
  9. # 26 "/usr/include/glib-2.0/gobject/gboxed.h"
  10. # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
  11. # 26 "/usr/include/glib-2.0/gobject/gtype.h"
  12. # 1 "/usr/include/glib-2.0/glib.h" 1
  13. # 30 "/usr/include/glib-2.0/glib.h"
  14. # 1 "/usr/include/glib-2.0/glib/galloca.h" 1
  15. # 30 "/usr/include/glib-2.0/glib/galloca.h"
  16. # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
  17. # 30 "/usr/include/glib-2.0/glib/gtypes.h"
  18. # 1 "/usr/lib/glib-2.0/include/glibconfig.h" 1
  19. # 9 "/usr/lib/glib-2.0/include/glibconfig.h"
  20. # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
  21. # 36 "/usr/include/glib-2.0/glib/gmacros.h"
  22. # 1 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h" 1 3 4
  23. # 152 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h" 3 4
  24. typedef int ptrdiff_t;
  25. # 214 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h" 3 4
  26. typedef unsigned int size_t;
  27. # 326 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h" 3 4
  28. typedef int wchar_t;
  29. # 37 "/usr/include/glib-2.0/glib/gmacros.h" 2
  30. # 10 "/usr/lib/glib-2.0/include/glibconfig.h" 2
  31.  
  32. # 1 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h" 1 3 4
  33. # 11 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h" 3 4
  34. # 1 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/syslimits.h" 1 3 4
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41. # 1 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h" 1 3 4
  42. # 122 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h" 3 4
  43. # 1 "/usr/include/limits.h" 1 3 4
  44. # 27 "/usr/include/limits.h" 3 4
  45. # 1 "/usr/include/features.h" 1 3 4
  46. # 322 "/usr/include/features.h" 3 4
  47. # 1 "/usr/include/sys/cdefs.h" 1 3 4
  48. # 324 "/usr/include/sys/cdefs.h" 3 4
  49. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  50. # 325 "/usr/include/sys/cdefs.h" 2 3 4
  51. # 323 "/usr/include/features.h" 2 3 4
  52. # 345 "/usr/include/features.h" 3 4
  53. # 1 "/usr/include/gnu/stubs.h" 1 3 4
  54.  
  55.  
  56.  
  57. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  58. # 5 "/usr/include/gnu/stubs.h" 2 3 4
  59.  
  60.  
  61. # 1 "/usr/include/gnu/stubs-32.h" 1 3 4
  62. # 8 "/usr/include/gnu/stubs.h" 2 3 4
  63. # 346 "/usr/include/features.h" 2 3 4
  64. # 28 "/usr/include/limits.h" 2 3 4
  65. # 145 "/usr/include/limits.h" 3 4
  66. # 1 "/usr/include/bits/posix1_lim.h" 1 3 4
  67. # 153 "/usr/include/bits/posix1_lim.h" 3 4
  68. # 1 "/usr/include/bits/local_lim.h" 1 3 4
  69. # 36 "/usr/include/bits/local_lim.h" 3 4
  70. # 1 "/usr/include/linux/limits.h" 1 3 4
  71. # 37 "/usr/include/bits/local_lim.h" 2 3 4
  72. # 154 "/usr/include/bits/posix1_lim.h" 2 3 4
  73. # 146 "/usr/include/limits.h" 2 3 4
  74.  
  75.  
  76.  
  77. # 1 "/usr/include/bits/posix2_lim.h" 1 3 4
  78. # 150 "/usr/include/limits.h" 2 3 4
  79. # 123 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h" 2 3 4
  80. # 8 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/syslimits.h" 2 3 4
  81. # 12 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/limits.h" 2 3 4
  82. # 12 "/usr/lib/glib-2.0/include/glibconfig.h" 2
  83. # 1 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/float.h" 1 3 4
  84. # 13 "/usr/lib/glib-2.0/include/glibconfig.h" 2
  85.  
  86.  
  87.  
  88.  
  89. # 32 "/usr/lib/glib-2.0/include/glibconfig.h"
  90. typedef signed char gint8;
  91. typedef unsigned char guint8;
  92. typedef signed short gint16;
  93. typedef unsigned short guint16;
  94.  
  95.  
  96.  
  97. typedef signed int gint32;
  98. typedef unsigned int guint32;
  99.  
  100.  
  101.  
  102.  
  103.  
  104. __extension__ typedef signed long long gint64;
  105. __extension__ typedef unsigned long long guint64;
  106. # 59 "/usr/lib/glib-2.0/include/glibconfig.h"
  107. typedef signed int gssize;
  108. typedef unsigned int gsize;
  109. # 69 "/usr/lib/glib-2.0/include/glibconfig.h"
  110. typedef gint64 goffset;
  111. # 139 "/usr/lib/glib-2.0/include/glibconfig.h"
  112. typedef struct _GStaticMutex GStaticMutex;
  113. struct _GStaticMutex
  114. {
  115.   struct _GMutex *runtime_mutex;
  116.   union {
  117.     char pad[24];
  118.     double dummy_double;
  119.     void *dummy_pointer;
  120.     long dummy_long;
  121.   } static_mutex;
  122. };
  123. # 158 "/usr/lib/glib-2.0/include/glibconfig.h"
  124. typedef union _GSystemThread GSystemThread;
  125. union _GSystemThread
  126. {
  127.   char data[4];
  128.   double dummy_double;
  129.   void *dummy_pointer;
  130.   long dummy_long;
  131. };
  132. # 198 "/usr/lib/glib-2.0/include/glibconfig.h"
  133. typedef int GPid;
  134.  
  135.  
  136. # 31 "/usr/include/glib-2.0/glib/gtypes.h" 2
  137.  
  138.  
  139. # 41 "/usr/include/glib-2.0/glib/gtypes.h"
  140. typedef char gchar;
  141. typedef short gshort;
  142. typedef long glong;
  143. typedef int gint;
  144. typedef gint gboolean;
  145.  
  146. typedef unsigned char guchar;
  147. typedef unsigned short gushort;
  148. typedef unsigned long gulong;
  149. typedef unsigned int guint;
  150.  
  151. typedef float gfloat;
  152. typedef double gdouble;
  153. # 72 "/usr/include/glib-2.0/glib/gtypes.h"
  154. typedef void* gpointer;
  155. typedef const void *gconstpointer;
  156.  
  157. typedef gint (*GCompareFunc) (gconstpointer a,
  158.                                                  gconstpointer b);
  159. typedef gint (*GCompareDataFunc) (gconstpointer a,
  160.                                                  gconstpointer b,
  161.        gpointer user_data);
  162. typedef gboolean (*GEqualFunc) (gconstpointer a,
  163.                                                  gconstpointer b);
  164. typedef void (*GDestroyNotify) (gpointer data);
  165. typedef void (*GFunc) (gpointer data,
  166.                                                  gpointer user_data);
  167. typedef guint (*GHashFunc) (gconstpointer key);
  168. typedef void (*GHFunc) (gpointer key,
  169.                                                  gpointer value,
  170.                                                  gpointer user_data);
  171. typedef void (*GFreeFunc) (gpointer data);
  172. typedef const gchar * (*GTranslateFunc) (const gchar *str,
  173.        gpointer data);
  174. # 345 "/usr/include/glib-2.0/glib/gtypes.h"
  175. typedef union _GDoubleIEEE754 GDoubleIEEE754;
  176. typedef union _GFloatIEEE754 GFloatIEEE754;
  177.  
  178.  
  179.  
  180.  
  181.  
  182. union _GFloatIEEE754
  183. {
  184.   gfloat v_float;
  185.   struct {
  186.     guint mantissa : 23;
  187.     guint biased_exponent : 8;
  188.     guint sign : 1;
  189.   } mpn;
  190. };
  191. union _GDoubleIEEE754
  192. {
  193.   gdouble v_double;
  194.   struct {
  195.     guint mantissa_low : 32;
  196.     guint mantissa_high : 20;
  197.     guint biased_exponent : 11;
  198.     guint sign : 1;
  199.   } mpn;
  200. };
  201. # 395 "/usr/include/glib-2.0/glib/gtypes.h"
  202. typedef struct _GTimeVal GTimeVal;
  203.  
  204. struct _GTimeVal
  205. {
  206.   glong tv_sec;
  207.   glong tv_usec;
  208. };
  209.  
  210.  
  211. # 31 "/usr/include/glib-2.0/glib/galloca.h" 2
  212. # 31 "/usr/include/glib-2.0/glib.h" 2
  213. # 1 "/usr/include/glib-2.0/glib/garray.h" 1
  214. # 32 "/usr/include/glib-2.0/glib/garray.h"
  215.  
  216.  
  217. typedef struct _GArray GArray;
  218. typedef struct _GByteArray GByteArray;
  219. typedef struct _GPtrArray GPtrArray;
  220.  
  221. struct _GArray
  222. {
  223.   gchar *data;
  224.   guint len;
  225. };
  226.  
  227. struct _GByteArray
  228. {
  229.   guint8 *data;
  230.   guint len;
  231. };
  232.  
  233. struct _GPtrArray
  234. {
  235.   gpointer *pdata;
  236.   guint len;
  237. };
  238. # 66 "/usr/include/glib-2.0/glib/garray.h"
  239. GArray* g_array_new (gboolean zero_terminated,
  240.        gboolean clear_,
  241.        guint element_size);
  242. GArray* g_array_sized_new (gboolean zero_terminated,
  243.        gboolean clear_,
  244.        guint element_size,
  245.        guint reserved_size);
  246. gchar* g_array_free (GArray *array,
  247.        gboolean free_segment);
  248. GArray* g_array_append_vals (GArray *array,
  249.        gconstpointer data,
  250.        guint len);
  251. GArray* g_array_prepend_vals (GArray *array,
  252.        gconstpointer data,
  253.        guint len);
  254. GArray* g_array_insert_vals (GArray *array,
  255.        guint index_,
  256.        gconstpointer data,
  257.        guint len);
  258. GArray* g_array_set_size (GArray *array,
  259.        guint length);
  260. GArray* g_array_remove_index (GArray *array,
  261.        guint index_);
  262. GArray* g_array_remove_index_fast (GArray *array,
  263.        guint index_);
  264. GArray* g_array_remove_range (GArray *array,
  265.        guint index_,
  266.        guint length);
  267. void g_array_sort (GArray *array,
  268.        GCompareFunc compare_func);
  269. void g_array_sort_with_data (GArray *array,
  270.        GCompareDataFunc compare_func,
  271.        gpointer user_data);
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278. GPtrArray* g_ptr_array_new (void);
  279. GPtrArray* g_ptr_array_sized_new (guint reserved_size);
  280. gpointer* g_ptr_array_free (GPtrArray *array,
  281.         gboolean free_seg);
  282. void g_ptr_array_set_size (GPtrArray *array,
  283.         gint length);
  284. gpointer g_ptr_array_remove_index (GPtrArray *array,
  285.         guint index_);
  286. gpointer g_ptr_array_remove_index_fast (GPtrArray *array,
  287.         guint index_);
  288. gboolean g_ptr_array_remove (GPtrArray *array,
  289.         gpointer data);
  290. gboolean g_ptr_array_remove_fast (GPtrArray *array,
  291.         gpointer data);
  292. void g_ptr_array_remove_range (GPtrArray *array,
  293.         guint index_,
  294.         guint length);
  295. void g_ptr_array_add (GPtrArray *array,
  296.         gpointer data);
  297. void g_ptr_array_sort (GPtrArray *array,
  298.         GCompareFunc compare_func);
  299. void g_ptr_array_sort_with_data (GPtrArray *array,
  300.         GCompareDataFunc compare_func,
  301.         gpointer user_data);
  302. void g_ptr_array_foreach (GPtrArray *array,
  303.         GFunc func,
  304.         gpointer user_data);
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311. GByteArray* g_byte_array_new (void);
  312. GByteArray* g_byte_array_sized_new (guint reserved_size);
  313. guint8* g_byte_array_free (GByteArray *array,
  314.          gboolean free_segment);
  315. GByteArray* g_byte_array_append (GByteArray *array,
  316.          const guint8 *data,
  317.          guint len);
  318. GByteArray* g_byte_array_prepend (GByteArray *array,
  319.          const guint8 *data,
  320.          guint len);
  321. GByteArray* g_byte_array_set_size (GByteArray *array,
  322.          guint length);
  323. GByteArray* g_byte_array_remove_index (GByteArray *array,
  324.          guint index_);
  325. GByteArray* g_byte_array_remove_index_fast (GByteArray *array,
  326.          guint index_);
  327. GByteArray* g_byte_array_remove_range (GByteArray *array,
  328.          guint index_,
  329.          guint length);
  330. void g_byte_array_sort (GByteArray *array,
  331.          GCompareFunc compare_func);
  332. void g_byte_array_sort_with_data (GByteArray *array,
  333.          GCompareDataFunc compare_func,
  334.          gpointer user_data);
  335.  
  336.  
  337.  
  338. # 32 "/usr/include/glib-2.0/glib.h" 2
  339. # 1 "/usr/include/glib-2.0/glib/gasyncqueue.h" 1
  340. # 30 "/usr/include/glib-2.0/glib/gasyncqueue.h"
  341. # 1 "/usr/include/glib-2.0/glib/gthread.h" 1
  342. # 30 "/usr/include/glib-2.0/glib/gthread.h"
  343. # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
  344. # 24 "/usr/include/glib-2.0/glib/gerror.h"
  345. # 1 "/usr/include/glib-2.0/glib/gquark.h" 1
  346. # 32 "/usr/include/glib-2.0/glib/gquark.h"
  347.  
  348.  
  349. typedef guint32 GQuark;
  350.  
  351.  
  352.  
  353. GQuark g_quark_try_string (const gchar *string);
  354. GQuark g_quark_from_static_string (const gchar *string);
  355. GQuark g_quark_from_string (const gchar *string);
  356. const gchar* g_quark_to_string (GQuark quark) __attribute__((__const__));
  357.  
  358. const gchar* g_intern_string (const gchar *string);
  359. const gchar* g_intern_static_string (const gchar *string);
  360.  
  361.  
  362.  
  363. # 25 "/usr/include/glib-2.0/glib/gerror.h" 2
  364.  
  365.  
  366.  
  367. typedef struct _GError GError;
  368.  
  369. struct _GError
  370. {
  371.   GQuark domain;
  372.   gint code;
  373.   gchar *message;
  374. };
  375.  
  376. GError* g_error_new (GQuark domain,
  377.                                 gint code,
  378.                                 const gchar *format,
  379.                                 ...) __attribute__((__format__ (__printf__, 3, 4)));
  380.  
  381. GError* g_error_new_literal (GQuark domain,
  382.                                 gint code,
  383.                                 const gchar *message);
  384.  
  385. void g_error_free (GError *error);
  386. GError* g_error_copy (const GError *error);
  387.  
  388. gboolean g_error_matches (const GError *error,
  389.                                 GQuark domain,
  390.                                 gint code);
  391.  
  392.  
  393.  
  394.  
  395. void g_set_error (GError **err,
  396.                                 GQuark domain,
  397.                                 gint code,
  398.                                 const gchar *format,
  399.                                 ...) __attribute__((__format__ (__printf__, 4, 5)));
  400.  
  401.  
  402.  
  403. void g_propagate_error (GError **dest,
  404.     GError *src);
  405.  
  406.  
  407. void g_clear_error (GError **err);
  408.  
  409.  
  410.  
  411. # 31 "/usr/include/glib-2.0/glib/gthread.h" 2
  412.  
  413. # 1 "/usr/include/glib-2.0/glib/gutils.h" 1
  414. # 31 "/usr/include/glib-2.0/glib/gutils.h"
  415. # 1 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stdarg.h" 1 3 4
  416. # 43 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stdarg.h" 3 4
  417. typedef __builtin_va_list __gnuc_va_list;
  418. # 105 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stdarg.h" 3 4
  419. typedef __gnuc_va_list va_list;
  420. # 32 "/usr/include/glib-2.0/glib/gutils.h" 2
  421.  
  422.  
  423. # 121 "/usr/include/glib-2.0/glib/gutils.h"
  424. const gchar* g_get_user_name (void);
  425. const gchar* g_get_real_name (void);
  426. const gchar* g_get_home_dir (void);
  427. const gchar* g_get_tmp_dir (void);
  428. const gchar* g_get_host_name (void);
  429. gchar* g_get_prgname (void);
  430. void g_set_prgname (const gchar *prgname);
  431. const gchar* g_get_application_name (void);
  432. void g_set_application_name (const gchar *application_name);
  433.  
  434. const gchar* g_get_user_data_dir (void);
  435. const gchar* g_get_user_config_dir (void);
  436. const gchar* g_get_user_cache_dir (void);
  437. const gchar* const * g_get_system_data_dirs (void);
  438. # 149 "/usr/include/glib-2.0/glib/gutils.h"
  439. const gchar* const * g_get_system_config_dirs (void);
  440.  
  441. const gchar* const * g_get_language_names (void);
  442. # 175 "/usr/include/glib-2.0/glib/gutils.h"
  443. typedef enum {
  444.   G_USER_DIRECTORY_DESKTOP,
  445.   G_USER_DIRECTORY_DOCUMENTS,
  446.   G_USER_DIRECTORY_DOWNLOAD,
  447.   G_USER_DIRECTORY_MUSIC,
  448.   G_USER_DIRECTORY_PICTURES,
  449.   G_USER_DIRECTORY_PUBLIC_SHARE,
  450.   G_USER_DIRECTORY_TEMPLATES,
  451.   G_USER_DIRECTORY_VIDEOS,
  452.  
  453.   G_USER_N_DIRECTORIES
  454. } GUserDirectory;
  455.  
  456. const gchar* g_get_user_special_dir (GUserDirectory directory);
  457.  
  458. typedef struct _GDebugKey GDebugKey;
  459. struct _GDebugKey
  460. {
  461.   gchar *key;
  462.   guint value;
  463. };
  464.  
  465.  
  466.  
  467. guint g_parse_debug_string (const gchar *string,
  468.          const GDebugKey *keys,
  469.          guint nkeys);
  470.  
  471. gint g_snprintf (gchar *string,
  472.          gulong n,
  473.          gchar const *format,
  474.          ...) __attribute__((__format__ (__printf__, 3, 4)));
  475. gint g_vsnprintf (gchar *string,
  476.          gulong n,
  477.          gchar const *format,
  478.          va_list args);
  479.  
  480.  
  481. gboolean g_path_is_absolute (const gchar *file_name);
  482.  
  483.  
  484. const gchar* g_path_skip_root (const gchar *file_name);
  485.  
  486.  
  487.  
  488.  
  489.  
  490.  
  491.  
  492. const gchar* g_basename (const gchar *file_name);
  493. # 234 "/usr/include/glib-2.0/glib/gutils.h"
  494. gchar* g_get_current_dir (void);
  495. gchar* g_path_get_basename (const gchar *file_name) __attribute__((__malloc__));
  496. gchar* g_path_get_dirname (const gchar *file_name) __attribute__((__malloc__));
  497.  
  498.  
  499. void g_nullify_pointer (gpointer *nullify_location);
  500. # 250 "/usr/include/glib-2.0/glib/gutils.h"
  501. const gchar* g_getenv (const gchar *variable);
  502. gboolean g_setenv (const gchar *variable,
  503.          const gchar *value,
  504.          gboolean overwrite);
  505. void g_unsetenv (const gchar *variable);
  506. gchar** g_listenv (void);
  507.  
  508.  
  509. const gchar* _g_getenv_nomalloc (const gchar *variable,
  510.          gchar buffer[1024]);
  511.  
  512.  
  513.  
  514.  
  515.  
  516. typedef void (*GVoidFunc) (void);
  517. # 276 "/usr/include/glib-2.0/glib/gutils.h"
  518. void g_atexit (GVoidFunc func);
  519. # 290 "/usr/include/glib-2.0/glib/gutils.h"
  520. gchar* g_find_program_in_path (const gchar *program);
  521.  
  522.  
  523.  
  524. extern __inline gint g_bit_nth_lsf (gulong mask,
  525.            gint nth_bit) __attribute__((__const__));
  526. extern __inline gint g_bit_nth_msf (gulong mask,
  527.            gint nth_bit) __attribute__((__const__));
  528. extern __inline guint g_bit_storage (gulong number) __attribute__((__const__));
  529.  
  530.  
  531.  
  532.  
  533. typedef struct _GTrashStack GTrashStack;
  534. struct _GTrashStack
  535. {
  536.   GTrashStack *next;
  537. };
  538.  
  539. extern __inline void g_trash_stack_push (GTrashStack **stack_p,
  540.        gpointer data_p);
  541. extern __inline gpointer g_trash_stack_pop (GTrashStack **stack_p);
  542. extern __inline gpointer g_trash_stack_peek (GTrashStack **stack_p);
  543. extern __inline guint g_trash_stack_height (GTrashStack **stack_p);
  544.  
  545.  
  546.  
  547.  
  548. extern __inline gint
  549. g_bit_nth_lsf (gulong mask,
  550.         gint nth_bit)
  551. {
  552.   if ((nth_bit < -1))
  553.     nth_bit = -1;
  554.   while (nth_bit < ((4 * 8) - 1))
  555.     {
  556.       nth_bit++;
  557.       if (mask & (1UL << nth_bit))
  558.  return nth_bit;
  559.     }
  560.   return -1;
  561. }
  562. extern __inline gint
  563. g_bit_nth_msf (gulong mask,
  564.         gint nth_bit)
  565. {
  566.   if (nth_bit < 0 || (nth_bit > 4 * 8))
  567.     nth_bit = 4 * 8;
  568.   while (nth_bit > 0)
  569.     {
  570.       nth_bit--;
  571.       if (mask & (1UL << nth_bit))
  572.  return nth_bit;
  573.     }
  574.   return -1;
  575. }
  576. extern __inline guint
  577. g_bit_storage (gulong number)
  578. {
  579.  
  580.  
  581.  
  582.  
  583.   register guint n_bits = 0;
  584.  
  585.   do
  586.     {
  587.       n_bits++;
  588.       number >>= 1;
  589.     }
  590.   while (number);
  591.   return n_bits;
  592.  
  593. }
  594. extern __inline void
  595. g_trash_stack_push (GTrashStack **stack_p,
  596.       gpointer data_p)
  597. {
  598.   GTrashStack *data = (GTrashStack *) data_p;
  599.  
  600.   data->next = *stack_p;
  601.   *stack_p = data;
  602. }
  603. extern __inline gpointer
  604. g_trash_stack_pop (GTrashStack **stack_p)
  605. {
  606.   GTrashStack *data;
  607.  
  608.   data = *stack_p;
  609.   if (data)
  610.     {
  611.       *stack_p = data->next;
  612.  
  613.  
  614.  
  615.       data->next = ((void *)0);
  616.     }
  617.  
  618.   return data;
  619. }
  620. extern __inline gpointer
  621. g_trash_stack_peek (GTrashStack **stack_p)
  622. {
  623.   GTrashStack *data;
  624.  
  625.   data = *stack_p;
  626.  
  627.   return data;
  628. }
  629. extern __inline guint
  630. g_trash_stack_height (GTrashStack **stack_p)
  631. {
  632.   GTrashStack *data;
  633.   guint i = 0;
  634.  
  635.   for (data = *stack_p; data; data = data->next)
  636.     i++;
  637.  
  638.   return i;
  639. }
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646. extern const guint glib_major_version;
  647. extern const guint glib_minor_version;
  648. extern const guint glib_micro_version;
  649. extern const guint glib_interface_age;
  650. extern const guint glib_binary_age;
  651.  
  652. const gchar * glib_check_version (guint required_major,
  653.                                   guint required_minor,
  654.                                   guint required_micro);
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663. # 33 "/usr/include/glib-2.0/glib/gthread.h" 2
  664. # 1 "/usr/include/glib-2.0/glib/gatomic.h" 1
  665. # 35 "/usr/include/glib-2.0/glib/gatomic.h"
  666.  
  667.  
  668. gint g_atomic_int_exchange_and_add (volatile gint *atomic,
  669.       gint val);
  670. void g_atomic_int_add (volatile gint *atomic,
  671.       gint val);
  672. gboolean g_atomic_int_compare_and_exchange (volatile gint *atomic,
  673.       gint oldval,
  674.       gint newval);
  675. gboolean g_atomic_pointer_compare_and_exchange (volatile gpointer *atomic,
  676.       gpointer oldval,
  677.       gpointer newval);
  678.  
  679. gint g_atomic_int_get (volatile gint *atomic);
  680. void g_atomic_int_set (volatile gint *atomic,
  681.       gint newval);
  682. gpointer g_atomic_pointer_get (volatile gpointer *atomic);
  683. void g_atomic_pointer_set (volatile gpointer *atomic,
  684.       gpointer newval);
  685. # 66 "/usr/include/glib-2.0/glib/gatomic.h"
  686.  
  687. # 34 "/usr/include/glib-2.0/glib/gthread.h" 2
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694. extern GQuark g_thread_error_quark (void);
  695.  
  696.  
  697. typedef enum
  698. {
  699.   G_THREAD_ERROR_AGAIN
  700. } GThreadError;
  701.  
  702. typedef gpointer (*GThreadFunc) (gpointer data);
  703.  
  704. typedef enum
  705. {
  706.   G_THREAD_PRIORITY_LOW,
  707.   G_THREAD_PRIORITY_NORMAL,
  708.   G_THREAD_PRIORITY_HIGH,
  709.   G_THREAD_PRIORITY_URGENT
  710. } GThreadPriority;
  711.  
  712. typedef struct _GThread GThread;
  713. struct _GThread
  714. {
  715.  
  716.   GThreadFunc func;
  717.   gpointer data;
  718.   gboolean joinable;
  719.   GThreadPriority priority;
  720. };
  721.  
  722. typedef struct _GMutex GMutex;
  723. typedef struct _GCond GCond;
  724. typedef struct _GPrivate GPrivate;
  725. typedef struct _GStaticPrivate GStaticPrivate;
  726.  
  727. typedef struct _GThreadFunctions GThreadFunctions;
  728. struct _GThreadFunctions
  729. {
  730.   GMutex* (*mutex_new) (void);
  731.   void (*mutex_lock) (GMutex *mutex);
  732.   gboolean (*mutex_trylock) (GMutex *mutex);
  733.   void (*mutex_unlock) (GMutex *mutex);
  734.   void (*mutex_free) (GMutex *mutex);
  735.   GCond* (*cond_new) (void);
  736.   void (*cond_signal) (GCond *cond);
  737.   void (*cond_broadcast) (GCond *cond);
  738.   void (*cond_wait) (GCond *cond,
  739.                                    GMutex *mutex);
  740.   gboolean (*cond_timed_wait) (GCond *cond,
  741.                                    GMutex *mutex,
  742.                                    GTimeVal *end_time);
  743.   void (*cond_free) (GCond *cond);
  744.   GPrivate* (*private_new) (GDestroyNotify destructor);
  745.   gpointer (*private_get) (GPrivate *private_key);
  746.   void (*private_set) (GPrivate *private_key,
  747.                                    gpointer data);
  748.   void (*thread_create) (GThreadFunc func,
  749.                                    gpointer data,
  750.                                    gulong stack_size,
  751.                                    gboolean joinable,
  752.                                    gboolean bound,
  753.                                    GThreadPriority priority,
  754.                                    gpointer thread,
  755.                                    GError **error);
  756.   void (*thread_yield) (void);
  757.   void (*thread_join) (gpointer thread);
  758.   void (*thread_exit) (void);
  759.   void (*thread_set_priority)(gpointer thread,
  760.                                    GThreadPriority priority);
  761.   void (*thread_self) (gpointer thread);
  762.   gboolean (*thread_equal) (gpointer thread1,
  763.        gpointer thread2);
  764. };
  765.  
  766. extern GThreadFunctions g_thread_functions_for_glib_use;
  767. extern gboolean g_thread_use_default_impl;
  768. extern gboolean g_threads_got_initialized;
  769.  
  770. extern guint64 (*g_thread_gettime) (void);
  771.  
  772.  
  773.  
  774.  
  775.  
  776. void g_thread_init (GThreadFunctions *vtable);
  777. # 131 "/usr/include/glib-2.0/glib/gthread.h"
  778. void g_thread_init_with_errorcheck_mutexes (GThreadFunctions* vtable);
  779. # 141 "/usr/include/glib-2.0/glib/gthread.h"
  780. GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex);
  781. # 212 "/usr/include/glib-2.0/glib/gthread.h"
  782. GThread* g_thread_create_full (GThreadFunc func,
  783.                                 gpointer data,
  784.                                 gulong stack_size,
  785.                                 gboolean joinable,
  786.                                 gboolean bound,
  787.                                 GThreadPriority priority,
  788.                                 GError **error);
  789. GThread* g_thread_self (void);
  790. void g_thread_exit (gpointer retval);
  791. gpointer g_thread_join (GThread *thread);
  792.  
  793. void g_thread_set_priority (GThread *thread,
  794.                                 GThreadPriority priority);
  795. # 237 "/usr/include/glib-2.0/glib/gthread.h"
  796. void g_static_mutex_init (GStaticMutex *mutex);
  797. void g_static_mutex_free (GStaticMutex *mutex);
  798.  
  799. struct _GStaticPrivate
  800. {
  801.  
  802.   guint index;
  803. };
  804.  
  805. void g_static_private_init (GStaticPrivate *private_key);
  806. gpointer g_static_private_get (GStaticPrivate *private_key);
  807. void g_static_private_set (GStaticPrivate *private_key,
  808.        gpointer data,
  809.        GDestroyNotify notify);
  810. void g_static_private_free (GStaticPrivate *private_key);
  811.  
  812. typedef struct _GStaticRecMutex GStaticRecMutex;
  813. struct _GStaticRecMutex
  814. {
  815.  
  816.   GStaticMutex mutex;
  817.   guint depth;
  818.   GSystemThread owner;
  819. };
  820.  
  821.  
  822. void g_static_rec_mutex_init (GStaticRecMutex *mutex);
  823. void g_static_rec_mutex_lock (GStaticRecMutex *mutex);
  824. gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex);
  825. void g_static_rec_mutex_unlock (GStaticRecMutex *mutex);
  826. void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex,
  827.                                          guint depth);
  828. guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex);
  829. void g_static_rec_mutex_free (GStaticRecMutex *mutex);
  830.  
  831. typedef struct _GStaticRWLock GStaticRWLock;
  832. struct _GStaticRWLock
  833. {
  834.  
  835.   GStaticMutex mutex;
  836.   GCond *read_cond;
  837.   GCond *write_cond;
  838.   guint read_counter;
  839.   gboolean have_writer;
  840.   guint want_to_read;
  841.   guint want_to_write;
  842. };
  843.  
  844.  
  845.  
  846. void g_static_rw_lock_init (GStaticRWLock* lock);
  847. void g_static_rw_lock_reader_lock (GStaticRWLock* lock);
  848. gboolean g_static_rw_lock_reader_trylock (GStaticRWLock* lock);
  849. void g_static_rw_lock_reader_unlock (GStaticRWLock* lock);
  850. void g_static_rw_lock_writer_lock (GStaticRWLock* lock);
  851. gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock);
  852. void g_static_rw_lock_writer_unlock (GStaticRWLock* lock);
  853. void g_static_rw_lock_free (GStaticRWLock* lock);
  854.  
  855. void g_thread_foreach (GFunc thread_func,
  856.         gpointer user_data);
  857.  
  858. typedef enum
  859. {
  860.   G_ONCE_STATUS_NOTCALLED,
  861.   G_ONCE_STATUS_PROGRESS,
  862.   G_ONCE_STATUS_READY
  863. } GOnceStatus;
  864.  
  865. typedef struct _GOnce GOnce;
  866. struct _GOnce
  867. {
  868.   volatile GOnceStatus status;
  869.   volatile gpointer retval;
  870. };
  871.  
  872.  
  873.  
  874. gpointer g_once_impl (GOnce *once, GThreadFunc func, gpointer arg);
  875. # 327 "/usr/include/glib-2.0/glib/gthread.h"
  876. extern __inline gboolean g_once_init_enter (volatile gsize *value_location);
  877. gboolean g_once_init_enter_impl (volatile gsize *value_location);
  878. void g_once_init_leave (volatile gsize *value_location,
  879.                                                  gsize initialization_value);
  880.  
  881. extern __inline gboolean
  882. g_once_init_enter (volatile gsize *value_location)
  883. {
  884.   if ((*((void*volatile*) value_location)) != 0)
  885.     return (0);
  886.   else
  887.     return g_once_init_enter_impl (value_location);
  888. }
  889. # 351 "/usr/include/glib-2.0/glib/gthread.h"
  890. extern void glib_dummy_decl (void);
  891. # 394 "/usr/include/glib-2.0/glib/gthread.h"
  892.  
  893. # 31 "/usr/include/glib-2.0/glib/gasyncqueue.h" 2
  894.  
  895.  
  896.  
  897. typedef struct _GAsyncQueue GAsyncQueue;
  898.  
  899.  
  900.  
  901.  
  902. GAsyncQueue* g_async_queue_new (void);
  903.  
  904.  
  905.  
  906.  
  907.  
  908. void g_async_queue_lock (GAsyncQueue *queue);
  909. void g_async_queue_unlock (GAsyncQueue *queue);
  910.  
  911.  
  912. GAsyncQueue* g_async_queue_ref (GAsyncQueue *queue);
  913. void g_async_queue_unref (GAsyncQueue *queue);
  914.  
  915.  
  916.  
  917. void g_async_queue_ref_unlocked (GAsyncQueue *queue);
  918. void g_async_queue_unref_and_unlock (GAsyncQueue *queue);
  919.  
  920.  
  921.  
  922. void g_async_queue_push (GAsyncQueue *queue,
  923.        gpointer data);
  924. void g_async_queue_push_unlocked (GAsyncQueue *queue,
  925.        gpointer data);
  926.  
  927. void g_async_queue_push_sorted (GAsyncQueue *queue,
  928.        gpointer data,
  929.        GCompareDataFunc func,
  930.        gpointer user_data);
  931. void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue,
  932.        gpointer data,
  933.        GCompareDataFunc func,
  934.        gpointer user_data);
  935.  
  936.  
  937.  
  938.  
  939. gpointer g_async_queue_pop (GAsyncQueue *queue);
  940. gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue);
  941.  
  942.  
  943. gpointer g_async_queue_try_pop (GAsyncQueue *queue);
  944. gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue);
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951. gpointer g_async_queue_timed_pop (GAsyncQueue *queue,
  952.        GTimeVal *end_time);
  953. gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue,
  954.        GTimeVal *end_time);
  955. # 100 "/usr/include/glib-2.0/glib/gasyncqueue.h"
  956. gint g_async_queue_length (GAsyncQueue *queue);
  957. gint g_async_queue_length_unlocked (GAsyncQueue *queue);
  958. void g_async_queue_sort (GAsyncQueue *queue,
  959.        GCompareDataFunc func,
  960.        gpointer user_data);
  961. void g_async_queue_sort_unlocked (GAsyncQueue *queue,
  962.        GCompareDataFunc func,
  963.        gpointer user_data);
  964.  
  965.  
  966. GMutex* _g_async_queue_get_mutex (GAsyncQueue *queue);
  967.  
  968.  
  969. # 33 "/usr/include/glib-2.0/glib.h" 2
  970.  
  971. # 1 "/usr/include/glib-2.0/glib/gbacktrace.h" 1
  972. # 32 "/usr/include/glib-2.0/glib/gbacktrace.h"
  973.  
  974. # 43 "/usr/include/glib-2.0/glib/gbacktrace.h"
  975. void g_on_error_query (const gchar *prg_name);
  976. void g_on_error_stack_trace (const gchar *prg_name);
  977. # 59 "/usr/include/glib-2.0/glib/gbacktrace.h"
  978.  
  979. # 35 "/usr/include/glib-2.0/glib.h" 2
  980. # 1 "/usr/include/glib-2.0/glib/gbase64.h" 1
  981. # 26 "/usr/include/glib-2.0/glib/gbase64.h"
  982.  
  983.  
  984. gsize g_base64_encode_step (const guchar *in,
  985.           gsize len,
  986.           gboolean break_lines,
  987.           gchar *out,
  988.           gint *state,
  989.           gint *save);
  990. gsize g_base64_encode_close (gboolean break_lines,
  991.           gchar *out,
  992.           gint *state,
  993.           gint *save);
  994. gchar* g_base64_encode (const guchar *data,
  995.           gsize len) __attribute__((__malloc__));
  996. gsize g_base64_decode_step (const gchar *in,
  997.           gsize len,
  998.           guchar *out,
  999.           gint *state,
  1000.           guint *save);
  1001. guchar *g_base64_decode (const gchar *text,
  1002.           gsize *out_len) __attribute__((__malloc__));
  1003.  
  1004.  
  1005. # 36 "/usr/include/glib-2.0/glib.h" 2
  1006. # 1 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 1
  1007. # 24 "/usr/include/glib-2.0/glib/gbookmarkfile.h"
  1008. # 1 "/usr/include/time.h" 1 3 4
  1009. # 31 "/usr/include/time.h" 3 4
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018. # 1 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h" 1 3 4
  1019. # 40 "/usr/include/time.h" 2 3 4
  1020.  
  1021.  
  1022.  
  1023. # 1 "/usr/include/bits/time.h" 1 3 4
  1024. # 44 "/usr/include/time.h" 2 3 4
  1025. # 57 "/usr/include/time.h" 3 4
  1026. # 1 "/usr/include/bits/types.h" 1 3 4
  1027. # 28 "/usr/include/bits/types.h" 3 4
  1028. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  1029. # 29 "/usr/include/bits/types.h" 2 3 4
  1030.  
  1031.  
  1032. # 1 "/usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h" 1 3 4
  1033. # 32 "/usr/include/bits/types.h" 2 3 4
  1034.  
  1035.  
  1036. typedef unsigned char __u_char;
  1037. typedef unsigned short int __u_short;
  1038. typedef unsigned int __u_int;
  1039. typedef unsigned long int __u_long;
  1040.  
  1041.  
  1042. typedef signed char __int8_t;
  1043. typedef unsigned char __uint8_t;
  1044. typedef signed short int __int16_t;
  1045. typedef unsigned short int __uint16_t;
  1046. typedef signed int __int32_t;
  1047. typedef unsigned int __uint32_t;
  1048.  
  1049.  
  1050.  
  1051.  
  1052. __extension__ typedef signed long long int __int64_t;
  1053. __extension__ typedef unsigned long long int __uint64_t;
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061. __extension__ typedef long long int __quad_t;
  1062. __extension__ typedef unsigned long long int __u_quad_t;
  1063. # 134 "/usr/include/bits/types.h" 3 4
  1064. # 1 "/usr/include/bits/typesizes.h" 1 3 4
  1065. # 135 "/usr/include/bits/types.h" 2 3 4
  1066.  
  1067.  
  1068. __extension__ typedef __u_quad_t __dev_t;
  1069. __extension__ typedef unsigned int __uid_t;
  1070. __extension__ typedef unsigned int __gid_t;
  1071. __extension__ typedef unsigned long int __ino_t;
  1072. __extension__ typedef __u_quad_t __ino64_t;
  1073. __extension__ typedef unsigned int __mode_t;
  1074. __extension__ typedef unsigned int __nlink_t;
  1075. __extension__ typedef long int __off_t;
  1076. __extension__ typedef __quad_t __off64_t;
  1077. __extension__ typedef int __pid_t;
  1078. __extension__ typedef struct { int __val[2]; } __fsid_t;
  1079. __extension__ typedef long int __clock_t;
  1080. __extension__ typedef unsigned long int __rlim_t;
  1081. __extension__ typedef __u_quad_t __rlim64_t;
  1082. __extension__ typedef unsigned int __id_t;
  1083. __extension__ typedef long int __time_t;
  1084. __extension__ typedef unsigned int __useconds_t;
  1085. __extension__ typedef long int __suseconds_t;
  1086.  
  1087. __extension__ typedef int __daddr_t;
  1088. __extension__ typedef long int __swblk_t;
  1089. __extension__ typedef int __key_t;
  1090.  
  1091.  
  1092. __extension__ typedef int __clockid_t;
  1093.  
  1094.  
  1095. __extension__ typedef void * __timer_t;
  1096.  
  1097.  
  1098. __extension__ typedef long int __blksize_t;
  1099.  
  1100.  
  1101.  
  1102.  
  1103. __extension__ typedef long int __blkcnt_t;
  1104. __extension__ typedef __quad_t __blkcnt64_t;
  1105.  
  1106.  
  1107. __extension__ typedef unsigned long int __fsblkcnt_t;
  1108. __extension__ typedef __u_quad_t __fsblkcnt64_t;
  1109.  
  1110.  
  1111. __extension__ typedef unsigned long int __fsfilcnt_t;
  1112. __extension__ typedef __u_quad_t __fsfilcnt64_t;
  1113.  
  1114. __extension__ typedef int __ssize_t;
  1115.  
  1116.  
  1117.  
  1118. typedef __off64_t __loff_t;
  1119. typedef __quad_t *__qaddr_t;
  1120. typedef char *__caddr_t;
  1121.  
  1122.  
  1123. __extension__ typedef int __intptr_t;
  1124.  
  1125.  
  1126. __extension__ typedef unsigned int __socklen_t;
  1127. # 58 "/usr/include/time.h" 2 3 4
  1128.  
  1129.  
  1130.  
  1131. typedef __clock_t clock_t;
  1132.  
  1133.  
  1134.  
  1135. # 75 "/usr/include/time.h" 3 4
  1136.  
  1137.  
  1138. typedef __time_t time_t;
  1139.  
  1140.  
  1141.  
  1142. # 93 "/usr/include/time.h" 3 4
  1143. typedef __clockid_t clockid_t;
  1144. # 105 "/usr/include/time.h" 3 4
  1145. typedef __timer_t timer_t;
  1146. # 121 "/usr/include/time.h" 3 4
  1147. struct timespec
  1148.   {
  1149.     __time_t tv_sec;
  1150.     long int tv_nsec;
  1151.   };
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160. struct tm
  1161. {
  1162.   int tm_sec;
  1163.   int tm_min;
  1164.   int tm_hour;
  1165.   int tm_mday;
  1166.   int tm_mon;
  1167.   int tm_year;
  1168.   int tm_wday;
  1169.   int tm_yday;
  1170.   int tm_isdst;
  1171.  
  1172.  
  1173.   long int tm_gmtoff;
  1174.   __const char *tm_zone;
  1175.  
  1176.  
  1177.  
  1178.  
  1179. };
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188. struct itimerspec
  1189.   {
  1190.     struct timespec it_interval;
  1191.     struct timespec it_value;
  1192.   };
  1193.  
  1194.  
  1195. struct sigevent;
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201. typedef __pid_t pid_t;
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210. extern clock_t clock (void) __attribute__ ((__nothrow__));
  1211.  
  1212.  
  1213. extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
  1214.  
  1215.  
  1216. extern double difftime (time_t __time1, time_t __time0)
  1217.      __attribute__ ((__nothrow__)) __attribute__ ((__const__));
  1218.  
  1219.  
  1220. extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226. extern size_t strftime (char *__restrict __s, size_t __maxsize,
  1227.    __const char *__restrict __format,
  1228.    __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
  1229.  
  1230. # 229 "/usr/include/time.h" 3 4
  1231.  
  1232.  
  1233.  
  1234. extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
  1235.  
  1236.  
  1237.  
  1238. extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244. extern struct tm *gmtime_r (__const time_t *__restrict __timer,
  1245.        struct tm *__restrict __tp) __attribute__ ((__nothrow__));
  1246.  
  1247.  
  1248.  
  1249. extern struct tm *localtime_r (__const time_t *__restrict __timer,
  1250.           struct tm *__restrict __tp) __attribute__ ((__nothrow__));
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256. extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
  1257.  
  1258.  
  1259. extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267. extern char *asctime_r (__const struct tm *__restrict __tp,
  1268.    char *__restrict __buf) __attribute__ ((__nothrow__));
  1269.  
  1270.  
  1271. extern char *ctime_r (__const time_t *__restrict __timer,
  1272.         char *__restrict __buf) __attribute__ ((__nothrow__));
  1273.  
  1274.  
  1275.  
  1276.  
  1277. extern char *__tzname[2];
  1278. extern int __daylight;
  1279. extern long int __timezone;
  1280.  
  1281.  
  1282.  
  1283.  
  1284. extern char *tzname[2];
  1285.  
  1286.  
  1287.  
  1288. extern void tzset (void) __attribute__ ((__nothrow__));
  1289.  
  1290.  
  1291.  
  1292. extern int daylight;
  1293. extern long int timezone;
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299. extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
  1300. # 312 "/usr/include/time.h" 3 4
  1301. extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
  1302.  
  1303.  
  1304. extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
  1305.  
  1306.  
  1307. extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
  1308. # 327 "/usr/include/time.h" 3 4
  1309. extern int nanosleep (__const struct timespec *__requested_time,
  1310.         struct timespec *__remaining);
  1311.  
  1312.  
  1313.  
  1314. extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
  1315.  
  1316.  
  1317. extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
  1318.  
  1319.  
  1320. extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
  1321.      __attribute__ ((__nothrow__));
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328. extern int clock_nanosleep (clockid_t __clock_id, int __flags,
  1329.        __const struct timespec *__req,
  1330.        struct timespec *__rem);
  1331.  
  1332.  
  1333. extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
  1334.  
  1335.  
  1336.  
  1337.  
  1338. extern int timer_create (clockid_t __clock_id,
  1339.     struct sigevent *__restrict __evp,
  1340.     timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
  1341.  
  1342.  
  1343. extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
  1344.  
  1345.  
  1346. extern int timer_settime (timer_t __timerid, int __flags,
  1347.      __const struct itimerspec *__restrict __value,
  1348.      struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
  1349.  
  1350.  
  1351. extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
  1352.      __attribute__ ((__nothrow__));
  1353.  
  1354.  
  1355. extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
  1356. # 416 "/usr/include/time.h" 3 4
  1357.  
  1358. # 25 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 2
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366. typedef enum
  1367. {
  1368.   G_BOOKMARK_FILE_ERROR_INVALID_URI,
  1369.   G_BOOKMARK_FILE_ERROR_INVALID_VALUE,
  1370.   G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED,
  1371.   G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND,
  1372.   G_BOOKMARK_FILE_ERROR_READ,
  1373.   G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING,
  1374.   G_BOOKMARK_FILE_ERROR_WRITE,
  1375.   G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND
  1376. } GBookmarkFileError;
  1377.  
  1378. GQuark g_bookmark_file_error_quark (void);
  1379.  
  1380.  
  1381.  
  1382.  
  1383. typedef struct _GBookmarkFile GBookmarkFile;
  1384.  
  1385. GBookmarkFile *g_bookmark_file_new (void);
  1386. void g_bookmark_file_free (GBookmarkFile *bookmark);
  1387.  
  1388. gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark,
  1389.           const gchar *filename,
  1390.           GError **error);
  1391. gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark,
  1392.           const gchar *data,
  1393.           gsize length,
  1394.           GError **error);
  1395. gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark,
  1396.           const gchar *file,
  1397.           gchar **full_path,
  1398.           GError **error);
  1399. gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark,
  1400.           gsize *length,
  1401.           GError **error) __attribute__((__malloc__));
  1402. gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark,
  1403.           const gchar *filename,
  1404.           GError **error);
  1405.  
  1406. void g_bookmark_file_set_title (GBookmarkFile *bookmark,
  1407.           const gchar *uri,
  1408.           const gchar *title);
  1409. gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark,
  1410.           const gchar *uri,
  1411.           GError **error) __attribute__((__malloc__));
  1412. void g_bookmark_file_set_description (GBookmarkFile *bookmark,
  1413.           const gchar *uri,
  1414.           const gchar *description);
  1415. gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark,
  1416.           const gchar *uri,
  1417.           GError **error) __attribute__((__malloc__));
  1418. void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark,
  1419.           const gchar *uri,
  1420.           const gchar *mime_type);
  1421. gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark,
  1422.           const gchar *uri,
  1423.           GError **error) __attribute__((__malloc__));
  1424. void g_bookmark_file_set_groups (GBookmarkFile *bookmark,
  1425.           const gchar *uri,
  1426.           const gchar **groups,
  1427.           gsize length);
  1428. void g_bookmark_file_add_group (GBookmarkFile *bookmark,
  1429.           const gchar *uri,
  1430.           const gchar *group);
  1431. gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark,
  1432.           const gchar *uri,
  1433.           const gchar *group,
  1434.           GError **error);
  1435. gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark,
  1436.           const gchar *uri,
  1437.           gsize *length,
  1438.           GError **error) __attribute__((__malloc__));
  1439. void g_bookmark_file_add_application (GBookmarkFile *bookmark,
  1440.           const gchar *uri,
  1441.           const gchar *name,
  1442.           const gchar *exec);
  1443. gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark,
  1444.           const gchar *uri,
  1445.           const gchar *name,
  1446.           GError **error);
  1447. gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark,
  1448.           const gchar *uri,
  1449.           gsize *length,
  1450.           GError **error) __attribute__((__malloc__));
  1451. gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark,
  1452.           const gchar *uri,
  1453.           const gchar *name,
  1454.           const gchar *exec,
  1455.           gint count,
  1456.           time_t stamp,
  1457.           GError **error);
  1458. gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark,
  1459.           const gchar *uri,
  1460.           const gchar *name,
  1461.           gchar **exec,
  1462.           guint *count,
  1463.           time_t *stamp,
  1464.           GError **error);
  1465. void g_bookmark_file_set_is_private (GBookmarkFile *bookmark,
  1466.           const gchar *uri,
  1467.           gboolean is_private);
  1468. gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark,
  1469.           const gchar *uri,
  1470.           GError **error);
  1471. void g_bookmark_file_set_icon (GBookmarkFile *bookmark,
  1472.           const gchar *uri,
  1473.           const gchar *href,
  1474.           const gchar *mime_type);
  1475. gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark,
  1476.           const gchar *uri,
  1477.           gchar **href,
  1478.           gchar **mime_type,
  1479.           GError **error);
  1480. void g_bookmark_file_set_added (GBookmarkFile *bookmark,
  1481.           const gchar *uri,
  1482.           time_t added);
  1483. time_t g_bookmark_file_get_added (GBookmarkFile *bookmark,
  1484.           const gchar *uri,
  1485.           GError **error);
  1486. void g_bookmark_file_set_modified (GBookmarkFile *bookmark,
  1487.           const gchar *uri,
  1488.           time_t modified);
  1489. time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark,
  1490.           const gchar *uri,
  1491.           GError **error);
  1492. void g_bookmark_file_set_visited (GBookmarkFile *bookmark,
  1493.           const gchar *uri,
  1494.           time_t visited);
  1495. time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark,
  1496.           const gchar *uri,
  1497.           GError **error);
  1498. gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark,
  1499.           const gchar *uri);
  1500. gint g_bookmark_file_get_size (GBookmarkFile *bookmark);
  1501. gchar ** g_bookmark_file_get_uris (GBookmarkFile *bookmark,
  1502.           gsize *length) __attribute__((__malloc__));
  1503. gboolean g_bookmark_file_remove_group (GBookmarkFile *bookmark,
  1504.           const gchar *uri,
  1505.           const gchar *group,
  1506.           GError **error);
  1507. gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark,
  1508.           const gchar *uri,
  1509.           const gchar *name,
  1510.           GError **error);
  1511. gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark,
  1512.           const gchar *uri,
  1513.           GError **error);
  1514. gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark,
  1515.           const gchar *old_uri,
  1516.           const gchar *new_uri,
  1517.           GError **error);
  1518.  
  1519.  
  1520. # 37 "/usr/include/glib-2.0/glib.h" 2
  1521. # 1 "/usr/include/glib-2.0/glib/gcache.h" 1
  1522. # 30 "/usr/include/glib-2.0/glib/gcache.h"
  1523. # 1 "/usr/include/glib-2.0/glib/glist.h" 1
  1524. # 30 "/usr/include/glib-2.0/glib/glist.h"
  1525. # 1 "/usr/include/glib-2.0/glib/gmem.h" 1
  1526. # 30 "/usr/include/glib-2.0/glib/gmem.h"
  1527. # 1 "/usr/include/glib-2.0/glib/gslice.h" 1
  1528. # 28 "/usr/include/glib-2.0/glib/gslice.h"
  1529.  
  1530.  
  1531.  
  1532.  
  1533. gpointer g_slice_alloc (gsize block_size) __attribute__((__malloc__));
  1534. gpointer g_slice_alloc0 (gsize block_size) __attribute__((__malloc__));
  1535. gpointer g_slice_copy (gsize block_size,
  1536.                                          gconstpointer mem_block) __attribute__((__malloc__));
  1537. void g_slice_free1 (gsize block_size,
  1538.       gpointer mem_block);
  1539. void g_slice_free_chain_with_offset (gsize block_size,
  1540.       gpointer mem_chain,
  1541.       gsize next_offset);
  1542. # 70 "/usr/include/glib-2.0/glib/gslice.h"
  1543. typedef enum {
  1544.   G_SLICE_CONFIG_ALWAYS_MALLOC = 1,
  1545.   G_SLICE_CONFIG_BYPASS_MAGAZINES,
  1546.   G_SLICE_CONFIG_WORKING_SET_MSECS,
  1547.   G_SLICE_CONFIG_COLOR_INCREMENT,
  1548.   G_SLICE_CONFIG_CHUNK_SIZES,
  1549.   G_SLICE_CONFIG_CONTENTION_COUNTER
  1550. } GSliceConfig;
  1551. void g_slice_set_config (GSliceConfig ckey, gint64 value);
  1552. gint64 g_slice_get_config (GSliceConfig ckey);
  1553. gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values);
  1554.  
  1555.  
  1556. # 31 "/usr/include/glib-2.0/glib/gmem.h" 2
  1557.  
  1558.  
  1559.  
  1560.  
  1561. typedef struct _GMemVTable GMemVTable;
  1562. # 47 "/usr/include/glib-2.0/glib/gmem.h"
  1563. gpointer g_malloc (gulong n_bytes) __attribute__((__malloc__));
  1564. gpointer g_malloc0 (gulong n_bytes) __attribute__((__malloc__));
  1565. gpointer g_realloc (gpointer mem,
  1566.       gulong n_bytes) __attribute__((warn_unused_result));
  1567. void g_free (gpointer mem);
  1568. gpointer g_try_malloc (gulong n_bytes) __attribute__((__malloc__));
  1569. gpointer g_try_malloc0 (gulong n_bytes) __attribute__((__malloc__));
  1570. gpointer g_try_realloc (gpointer mem,
  1571.       gulong n_bytes) __attribute__((warn_unused_result));
  1572. # 79 "/usr/include/glib-2.0/glib/gmem.h"
  1573. struct _GMemVTable
  1574. {
  1575.   gpointer (*malloc) (gsize n_bytes);
  1576.   gpointer (*realloc) (gpointer mem,
  1577.       gsize n_bytes);
  1578.   void (*free) (gpointer mem);
  1579.  
  1580.   gpointer (*calloc) (gsize n_blocks,
  1581.       gsize n_block_bytes);
  1582.   gpointer (*try_malloc) (gsize n_bytes);
  1583.   gpointer (*try_realloc) (gpointer mem,
  1584.       gsize n_bytes);
  1585. };
  1586. void g_mem_set_vtable (GMemVTable *vtable);
  1587. gboolean g_mem_is_system_malloc (void);
  1588.  
  1589. extern gboolean g_mem_gc_friendly;
  1590.  
  1591.  
  1592.  
  1593. extern GMemVTable *glib_mem_profiler_table;
  1594. void g_mem_profile (void);
  1595.  
  1596.  
  1597.  
  1598.  
  1599. typedef struct _GAllocator GAllocator;
  1600. typedef struct _GMemChunk GMemChunk;
  1601. # 124 "/usr/include/glib-2.0/glib/gmem.h"
  1602. GMemChunk* g_mem_chunk_new (const gchar *name,
  1603.     gint atom_size,
  1604.     gulong area_size,
  1605.     gint type);
  1606. void g_mem_chunk_destroy (GMemChunk *mem_chunk);
  1607. gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk);
  1608. gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk);
  1609. void g_mem_chunk_free (GMemChunk *mem_chunk,
  1610.     gpointer mem);
  1611. void g_mem_chunk_clean (GMemChunk *mem_chunk);
  1612. void g_mem_chunk_reset (GMemChunk *mem_chunk);
  1613. void g_mem_chunk_print (GMemChunk *mem_chunk);
  1614. void g_mem_chunk_info (void);
  1615. void g_blow_chunks (void);
  1616. GAllocator*g_allocator_new (const gchar *name,
  1617.     guint n_preallocs);
  1618. void g_allocator_free (GAllocator *allocator);
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625. # 31 "/usr/include/glib-2.0/glib/glist.h" 2
  1626.  
  1627.  
  1628.  
  1629. typedef struct _GList GList;
  1630.  
  1631. struct _GList
  1632. {
  1633.   gpointer data;
  1634.   GList *next;
  1635.   GList *prev;
  1636. };
  1637.  
  1638.  
  1639.  
  1640. GList* g_list_alloc (void) __attribute__((warn_unused_result));
  1641. void g_list_free (GList *list);
  1642. void g_list_free_1 (GList *list);
  1643.  
  1644. GList* g_list_append (GList *list,
  1645.       gpointer data) __attribute__((warn_unused_result));
  1646. GList* g_list_prepend (GList *list,
  1647.       gpointer data) __attribute__((warn_unused_result));
  1648. GList* g_list_insert (GList *list,
  1649.       gpointer data,
  1650.       gint position) __attribute__((warn_unused_result));
  1651. GList* g_list_insert_sorted (GList *list,
  1652.       gpointer data,
  1653.       GCompareFunc func) __attribute__((warn_unused_result));
  1654. GList* g_list_insert_sorted_with_data (GList *list,
  1655.       gpointer data,
  1656.       GCompareDataFunc func,
  1657.       gpointer user_data) __attribute__((warn_unused_result));
  1658. GList* g_list_insert_before (GList *list,
  1659.       GList *sibling,
  1660.       gpointer data) __attribute__((warn_unused_result));
  1661. GList* g_list_concat (GList *list1,
  1662.       GList *list2) __attribute__((warn_unused_result));
  1663. GList* g_list_remove (GList *list,
  1664.       gconstpointer data) __attribute__((warn_unused_result));
  1665. GList* g_list_remove_all (GList *list,
  1666.       gconstpointer data) __attribute__((warn_unused_result));
  1667. GList* g_list_remove_link (GList *list,
  1668.       GList *llink) __attribute__((warn_unused_result));
  1669. GList* g_list_delete_link (GList *list,
  1670.       GList *link_) __attribute__((warn_unused_result));
  1671. GList* g_list_reverse (GList *list) __attribute__((warn_unused_result));
  1672. GList* g_list_copy (GList *list) __attribute__((warn_unused_result));
  1673. GList* g_list_nth (GList *list,
  1674.       guint n);
  1675. GList* g_list_nth_prev (GList *list,
  1676.       guint n);
  1677. GList* g_list_find (GList *list,
  1678.       gconstpointer data);
  1679. GList* g_list_find_custom (GList *list,
  1680.       gconstpointer data,
  1681.       GCompareFunc func);
  1682. gint g_list_position (GList *list,
  1683.       GList *llink);
  1684. gint g_list_index (GList *list,
  1685.       gconstpointer data);
  1686. GList* g_list_last (GList *list);
  1687. GList* g_list_first (GList *list);
  1688. guint g_list_length (GList *list);
  1689. void g_list_foreach (GList *list,
  1690.       GFunc func,
  1691.       gpointer user_data);
  1692. GList* g_list_sort (GList *list,
  1693.       GCompareFunc compare_func) __attribute__((warn_unused_result));
  1694. GList* g_list_sort_with_data (GList *list,
  1695.       GCompareDataFunc compare_func,
  1696.       gpointer user_data) __attribute__((warn_unused_result));
  1697. gpointer g_list_nth_data (GList *list,
  1698.       guint n);
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705. void g_list_push_allocator (gpointer allocator);
  1706. void g_list_pop_allocator (void);
  1707.  
  1708.  
  1709. # 31 "/usr/include/glib-2.0/glib/gcache.h" 2
  1710.  
  1711.  
  1712.  
  1713. typedef struct _GCache GCache;
  1714.  
  1715. typedef gpointer (*GCacheNewFunc) (gpointer key);
  1716. typedef gpointer (*GCacheDupFunc) (gpointer value);
  1717. typedef void (*GCacheDestroyFunc) (gpointer value);
  1718.  
  1719.  
  1720.  
  1721. GCache* g_cache_new (GCacheNewFunc value_new_func,
  1722.                                 GCacheDestroyFunc value_destroy_func,
  1723.                                 GCacheDupFunc key_dup_func,
  1724.                                 GCacheDestroyFunc key_destroy_func,
  1725.                                 GHashFunc hash_key_func,
  1726.                                 GHashFunc hash_value_func,
  1727.                                 GEqualFunc key_equal_func);
  1728. void g_cache_destroy (GCache *cache);
  1729. gpointer g_cache_insert (GCache *cache,
  1730.                                 gpointer key);
  1731. void g_cache_remove (GCache *cache,
  1732.                                 gconstpointer value);
  1733. void g_cache_key_foreach (GCache *cache,
  1734.                                 GHFunc func,
  1735.                                 gpointer user_data);
  1736.  
  1737. void g_cache_value_foreach (GCache *cache,
  1738.                                 GHFunc func,
  1739.                                 gpointer user_data);
  1740.  
  1741.  
  1742.  
  1743. # 38 "/usr/include/glib-2.0/glib.h" 2
  1744. # 1 "/usr/include/glib-2.0/glib/gcompletion.h" 1
  1745. # 32 "/usr/include/glib-2.0/glib/gcompletion.h"
  1746.  
  1747.  
  1748. typedef struct _GCompletion GCompletion;
  1749.  
  1750. typedef gchar* (*GCompletionFunc) (gpointer);
  1751.  
  1752.  
  1753.  
  1754.  
  1755. typedef gint (*GCompletionStrncmpFunc) (const gchar *s1,
  1756.      const gchar *s2,
  1757.      gsize n);
  1758.  
  1759. struct _GCompletion
  1760. {
  1761.   GList* items;
  1762.   GCompletionFunc func;
  1763.  
  1764.   gchar* prefix;
  1765.   GList* cache;
  1766.   GCompletionStrncmpFunc strncmp_func;
  1767. };
  1768.  
  1769. GCompletion* g_completion_new (GCompletionFunc func);
  1770. void g_completion_add_items (GCompletion* cmp,
  1771.                                          GList* items);
  1772. void g_completion_remove_items (GCompletion* cmp,
  1773.                                          GList* items);
  1774. void g_completion_clear_items (GCompletion* cmp);
  1775. GList* g_completion_complete (GCompletion* cmp,
  1776.                                          const gchar* prefix,
  1777.                                          gchar** new_prefix);
  1778. GList* g_completion_complete_utf8 (GCompletion *cmp,
  1779.                                          const gchar* prefix,
  1780.                                          gchar** new_prefix);
  1781. void g_completion_set_compare (GCompletion *cmp,
  1782.              GCompletionStrncmpFunc strncmp_func);
  1783. void g_completion_free (GCompletion* cmp);
  1784.  
  1785.  
  1786. # 39 "/usr/include/glib-2.0/glib.h" 2
  1787. # 1 "/usr/include/glib-2.0/glib/gconvert.h" 1
  1788. # 32 "/usr/include/glib-2.0/glib/gconvert.h"
  1789.  
  1790.  
  1791. typedef enum
  1792. {
  1793.   G_CONVERT_ERROR_NO_CONVERSION,
  1794.   G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
  1795.   G_CONVERT_ERROR_FAILED,
  1796.   G_CONVERT_ERROR_PARTIAL_INPUT,
  1797.   G_CONVERT_ERROR_BAD_URI,
  1798.   G_CONVERT_ERROR_NOT_ABSOLUTE_PATH
  1799. } GConvertError;
  1800.  
  1801.  
  1802. GQuark g_convert_error_quark (void);
  1803.  
  1804.  
  1805.  
  1806. typedef struct _GIConv *GIConv;
  1807.  
  1808. GIConv g_iconv_open (const gchar *to_codeset,
  1809.          const gchar *from_codeset);
  1810. gsize g_iconv (GIConv converter,
  1811.          gchar **inbuf,
  1812.          gsize *inbytes_left,
  1813.          gchar **outbuf,
  1814.          gsize *outbytes_left);
  1815. gint g_iconv_close (GIConv converter);
  1816.  
  1817.  
  1818. gchar* g_convert (const gchar *str,
  1819.     gssize len,
  1820.     const gchar *to_codeset,
  1821.     const gchar *from_codeset,
  1822.     gsize *bytes_read,
  1823.     gsize *bytes_written,
  1824.     GError **error) __attribute__((__malloc__));
  1825. gchar* g_convert_with_iconv (const gchar *str,
  1826.     gssize len,
  1827.     GIConv converter,
  1828.     gsize *bytes_read,
  1829.     gsize *bytes_written,
  1830.     GError **error) __attribute__((__malloc__));
  1831. gchar* g_convert_with_fallback (const gchar *str,
  1832.     gssize len,
  1833.     const gchar *to_codeset,
  1834.     const gchar *from_codeset,
  1835.     gchar *fallback,
  1836.     gsize *bytes_read,
  1837.     gsize *bytes_written,
  1838.     GError **error) __attribute__((__malloc__));
  1839.  
  1840.  
  1841.  
  1842.  
  1843. gchar* g_locale_to_utf8 (const gchar *opsysstring,
  1844.       gssize len,
  1845.       gsize *bytes_read,
  1846.       gsize *bytes_written,
  1847.       GError **error) __attribute__((__malloc__));
  1848. gchar* g_locale_from_utf8 (const gchar *utf8string,
  1849.       gssize len,
  1850.       gsize *bytes_read,
  1851.       gsize *bytes_written,
  1852.       GError **error) __attribute__((__malloc__));
  1853. # 107 "/usr/include/glib-2.0/glib/gconvert.h"
  1854. gchar* g_filename_to_utf8 (const gchar *opsysstring,
  1855.         gssize len,
  1856.         gsize *bytes_read,
  1857.         gsize *bytes_written,
  1858.         GError **error) __attribute__((__malloc__));
  1859. gchar* g_filename_from_utf8 (const gchar *utf8string,
  1860.         gssize len,
  1861.         gsize *bytes_read,
  1862.         gsize *bytes_written,
  1863.         GError **error) __attribute__((__malloc__));
  1864.  
  1865. gchar *g_filename_from_uri (const gchar *uri,
  1866.        gchar **hostname,
  1867.        GError **error) __attribute__((__malloc__));
  1868.  
  1869. gchar *g_filename_to_uri (const gchar *filename,
  1870.        const gchar *hostname,
  1871.        GError **error) __attribute__((__malloc__));
  1872. gchar *g_filename_display_name (const gchar *filename) __attribute__((__malloc__));
  1873. gboolean g_get_filename_charsets (const gchar ***charsets);
  1874.  
  1875. gchar *g_filename_display_basename (const gchar *filename) __attribute__((__malloc__));
  1876.  
  1877. gchar **g_uri_list_extract_uris (const gchar *uri_list) __attribute__((__malloc__));
  1878.  
  1879.  
  1880. # 40 "/usr/include/glib-2.0/glib.h" 2
  1881. # 1 "/usr/include/glib-2.0/glib/gdataset.h" 1
  1882. # 32 "/usr/include/glib-2.0/glib/gdataset.h"
  1883.  
  1884.  
  1885. typedef struct _GData GData;
  1886.  
  1887. typedef void (*GDataForeachFunc) (GQuark key_id,
  1888.                                                  gpointer data,
  1889.                                                  gpointer user_data);
  1890.  
  1891.  
  1892.  
  1893. void g_datalist_init (GData **datalist);
  1894. void g_datalist_clear (GData **datalist);
  1895. gpointer g_datalist_id_get_data (GData **datalist,
  1896.       GQuark key_id);
  1897. void g_datalist_id_set_data_full (GData **datalist,
  1898.       GQuark key_id,
  1899.       gpointer data,
  1900.       GDestroyNotify destroy_func);
  1901. gpointer g_datalist_id_remove_no_notify (GData **datalist,
  1902.       GQuark key_id);
  1903. void g_datalist_foreach (GData **datalist,
  1904.       GDataForeachFunc func,
  1905.       gpointer user_data);
  1906. # 65 "/usr/include/glib-2.0/glib/gdataset.h"
  1907. void g_datalist_set_flags (GData **datalist,
  1908.       guint flags);
  1909. void g_datalist_unset_flags (GData **datalist,
  1910.       guint flags);
  1911. guint g_datalist_get_flags (GData **datalist);
  1912. # 89 "/usr/include/glib-2.0/glib/gdataset.h"
  1913. void g_dataset_destroy (gconstpointer dataset_location);
  1914. gpointer g_dataset_id_get_data (gconstpointer dataset_location,
  1915.                                          GQuark key_id);
  1916. void g_dataset_id_set_data_full (gconstpointer dataset_location,
  1917.                                          GQuark key_id,
  1918.                                          gpointer data,
  1919.                                          GDestroyNotify destroy_func);
  1920. gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location,
  1921.                                          GQuark key_id);
  1922. void g_dataset_foreach (gconstpointer dataset_location,
  1923.                                          GDataForeachFunc func,
  1924.                                          gpointer user_data);
  1925. # 116 "/usr/include/glib-2.0/glib/gdataset.h"
  1926.  
  1927. # 41 "/usr/include/glib-2.0/glib.h" 2
  1928. # 1 "/usr/include/glib-2.0/glib/gdate.h" 1
  1929. # 35 "/usr/include/glib-2.0/glib/gdate.h"
  1930.  
  1931. # 46 "/usr/include/glib-2.0/glib/gdate.h"
  1932. typedef gint32 GTime;
  1933. typedef guint16 GDateYear;
  1934. typedef guint8 GDateDay;
  1935. typedef struct _GDate GDate;
  1936.  
  1937.  
  1938. typedef enum
  1939. {
  1940.   G_DATE_DAY = 0,
  1941.   G_DATE_MONTH = 1,
  1942.   G_DATE_YEAR = 2
  1943. } GDateDMY;
  1944.  
  1945.  
  1946. typedef enum
  1947. {
  1948.   G_DATE_BAD_WEEKDAY = 0,
  1949.   G_DATE_MONDAY = 1,
  1950.   G_DATE_TUESDAY = 2,
  1951.   G_DATE_WEDNESDAY = 3,
  1952.   G_DATE_THURSDAY = 4,
  1953.   G_DATE_FRIDAY = 5,
  1954.   G_DATE_SATURDAY = 6,
  1955.   G_DATE_SUNDAY = 7
  1956. } GDateWeekday;
  1957. typedef enum
  1958. {
  1959.   G_DATE_BAD_MONTH = 0,
  1960.   G_DATE_JANUARY = 1,
  1961.   G_DATE_FEBRUARY = 2,
  1962.   G_DATE_MARCH = 3,
  1963.   G_DATE_APRIL = 4,
  1964.   G_DATE_MAY = 5,
  1965.   G_DATE_JUNE = 6,
  1966.   G_DATE_JULY = 7,
  1967.   G_DATE_AUGUST = 8,
  1968.   G_DATE_SEPTEMBER = 9,
  1969.   G_DATE_OCTOBER = 10,
  1970.   G_DATE_NOVEMBER = 11,
  1971.   G_DATE_DECEMBER = 12
  1972. } GDateMonth;
  1973. # 97 "/usr/include/glib-2.0/glib/gdate.h"
  1974. struct _GDate
  1975. {
  1976.   guint julian_days : 32;
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.   guint julian : 1;
  1983.   guint dmy : 1;
  1984.  
  1985.  
  1986.   guint day : 6;
  1987.   guint month : 4;
  1988.   guint year : 16;
  1989. };
  1990.  
  1991.  
  1992.  
  1993.  
  1994.  
  1995. GDate* g_date_new (void);
  1996. GDate* g_date_new_dmy (GDateDay day,
  1997.                                            GDateMonth month,
  1998.                                            GDateYear year);
  1999. GDate* g_date_new_julian (guint32 julian_day);
  2000. void g_date_free (GDate *date);
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007. gboolean g_date_valid (const GDate *date);
  2008. gboolean g_date_valid_day (GDateDay day) __attribute__((__const__));
  2009. gboolean g_date_valid_month (GDateMonth month) __attribute__((__const__));
  2010. gboolean g_date_valid_year (GDateYear year) __attribute__((__const__));
  2011. gboolean g_date_valid_weekday (GDateWeekday weekday) __attribute__((__const__));
  2012. gboolean g_date_valid_julian (guint32 julian_date) __attribute__((__const__));
  2013. gboolean g_date_valid_dmy (GDateDay day,
  2014.                                            GDateMonth month,
  2015.                                            GDateYear year) __attribute__((__const__));
  2016.  
  2017. GDateWeekday g_date_get_weekday (const GDate *date);
  2018. GDateMonth g_date_get_month (const GDate *date);
  2019. GDateYear g_date_get_year (const GDate *date);
  2020. GDateDay g_date_get_day (const GDate *date);
  2021. guint32 g_date_get_julian (const GDate *date);
  2022. guint g_date_get_day_of_year (const GDate *date);
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029. guint g_date_get_monday_week_of_year (const GDate *date);
  2030. guint g_date_get_sunday_week_of_year (const GDate *date);
  2031. guint g_date_get_iso8601_week_of_year (const GDate *date);
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037. void g_date_clear (GDate *date,
  2038.                                            guint n_dates);
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044. void g_date_set_parse (GDate *date,
  2045.                                            const gchar *str);
  2046. void g_date_set_time_t (GDate *date,
  2047.         time_t timet);
  2048. void g_date_set_time_val (GDate *date,
  2049.         GTimeVal *timeval);
  2050.  
  2051. void g_date_set_time (GDate *date,
  2052.                                            GTime time_);
  2053.  
  2054. void g_date_set_month (GDate *date,
  2055.                                            GDateMonth month);
  2056. void g_date_set_day (GDate *date,
  2057.                                            GDateDay day);
  2058. void g_date_set_year (GDate *date,
  2059.                                            GDateYear year);
  2060. void g_date_set_dmy (GDate *date,
  2061.                                            GDateDay day,
  2062.                                            GDateMonth month,
  2063.                                            GDateYear y);
  2064. void g_date_set_julian (GDate *date,
  2065.                                            guint32 julian_date);
  2066. gboolean g_date_is_first_of_month (const GDate *date);
  2067. gboolean g_date_is_last_of_month (const GDate *date);
  2068.  
  2069.  
  2070. void g_date_add_days (GDate *date,
  2071.                                            guint n_days);
  2072. void g_date_subtract_days (GDate *date,
  2073.                                            guint n_days);
  2074.  
  2075.  
  2076. void g_date_add_months (GDate *date,
  2077.                                            guint n_months);
  2078. void g_date_subtract_months (GDate *date,
  2079.                                            guint n_months);
  2080.  
  2081.  
  2082. void g_date_add_years (GDate *date,
  2083.                                            guint n_years);
  2084. void g_date_subtract_years (GDate *date,
  2085.                                            guint n_years);
  2086. gboolean g_date_is_leap_year (GDateYear year) __attribute__((__const__));
  2087. guint8 g_date_get_days_in_month (GDateMonth month,
  2088.                                            GDateYear year) __attribute__((__const__));
  2089. guint8 g_date_get_monday_weeks_in_year (GDateYear year) __attribute__((__const__));
  2090. guint8 g_date_get_sunday_weeks_in_year (GDateYear year) __attribute__((__const__));
  2091.  
  2092.  
  2093.  
  2094. gint g_date_days_between (const GDate *date1,
  2095.         const GDate *date2);
  2096.  
  2097.  
  2098. gint g_date_compare (const GDate *lhs,
  2099.                                            const GDate *rhs);
  2100. void g_date_to_struct_tm (const GDate *date,
  2101.                                            struct tm *tm);
  2102.  
  2103. void g_date_clamp (GDate *date,
  2104.         const GDate *min_date,
  2105.         const GDate *max_date);
  2106.  
  2107.  
  2108. void g_date_order (GDate *date1, GDate *date2);
  2109.  
  2110.  
  2111.  
  2112.  
  2113. gsize g_date_strftime (gchar *s,
  2114.                                            gsize slen,
  2115.                                            const gchar *format,
  2116.                                            const GDate *date);
  2117. # 257 "/usr/include/glib-2.0/glib/gdate.h"
  2118.  
  2119. # 42 "/usr/include/glib-2.0/glib.h" 2
  2120. # 1 "/usr/include/glib-2.0/glib/gdir.h" 1
  2121. # 28 "/usr/include/glib-2.0/glib/gdir.h"
  2122.  
  2123.  
  2124. typedef struct _GDir GDir;
  2125.  
  2126.  
  2127.  
  2128.  
  2129.  
  2130.  
  2131.  
  2132. GDir * g_dir_open (const gchar *path,
  2133.             guint flags,
  2134.             GError **error);
  2135. const gchar *g_dir_read_name (GDir *dir);
  2136. void g_dir_rewind (GDir *dir);
  2137. void g_dir_close (GDir *dir);
  2138.  
  2139.  
  2140. # 43 "/usr/include/glib-2.0/glib.h" 2
  2141.  
  2142. # 1 "/usr/include/glib-2.0/glib/gfileutils.h" 1
  2143. # 26 "/usr/include/glib-2.0/glib/gfileutils.h"
  2144.  
  2145.  
  2146.  
  2147.  
  2148. typedef enum
  2149. {
  2150.   G_FILE_ERROR_EXIST,
  2151.   G_FILE_ERROR_ISDIR,
  2152.   G_FILE_ERROR_ACCES,
  2153.   G_FILE_ERROR_NAMETOOLONG,
  2154.   G_FILE_ERROR_NOENT,
  2155.   G_FILE_ERROR_NOTDIR,
  2156.   G_FILE_ERROR_NXIO,
  2157.   G_FILE_ERROR_NODEV,
  2158.   G_FILE_ERROR_ROFS,
  2159.   G_FILE_ERROR_TXTBSY,
  2160.   G_FILE_ERROR_FAULT,
  2161.   G_FILE_ERROR_LOOP,
  2162.   G_FILE_ERROR_NOSPC,
  2163.   G_FILE_ERROR_NOMEM,
  2164.   G_FILE_ERROR_MFILE,
  2165.   G_FILE_ERROR_NFILE,
  2166.   G_FILE_ERROR_BADF,
  2167.   G_FILE_ERROR_INVAL,
  2168.   G_FILE_ERROR_PIPE,
  2169.   G_FILE_ERROR_AGAIN,
  2170.   G_FILE_ERROR_INTR,
  2171.   G_FILE_ERROR_IO,
  2172.   G_FILE_ERROR_PERM,
  2173.   G_FILE_ERROR_NOSYS,
  2174.   G_FILE_ERROR_FAILED
  2175. } GFileError;
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181. typedef enum
  2182. {
  2183.   G_FILE_TEST_IS_REGULAR = 1 << 0,
  2184.   G_FILE_TEST_IS_SYMLINK = 1 << 1,
  2185.   G_FILE_TEST_IS_DIR = 1 << 2,
  2186.   G_FILE_TEST_IS_EXECUTABLE = 1 << 3,
  2187.   G_FILE_TEST_EXISTS = 1 << 4
  2188. } GFileTest;
  2189.  
  2190. GQuark g_file_error_quark (void);
  2191.  
  2192. GFileError g_file_error_from_errno (gint err_no);
  2193. # 83 "/usr/include/glib-2.0/glib/gfileutils.h"
  2194. gboolean g_file_test (const gchar *filename,
  2195.                               GFileTest test);
  2196. gboolean g_file_get_contents (const gchar *filename,
  2197.                               gchar **contents,
  2198.                               gsize *length,
  2199.                               GError **error);
  2200. gboolean g_file_set_contents (const gchar *filename,
  2201.          const gchar *contents,
  2202.          gssize length,
  2203.          GError **error);
  2204. gchar *g_file_read_link (const gchar *filename,
  2205.          GError **error);
  2206.  
  2207.  
  2208. gint g_mkstemp (gchar *tmpl);
  2209.  
  2210.  
  2211. gint g_file_open_tmp (const gchar *tmpl,
  2212.          gchar **name_used,
  2213.          GError **error);
  2214.  
  2215. gchar *g_build_path (const gchar *separator,
  2216.     const gchar *first_element,
  2217.     ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
  2218. gchar *g_build_pathv (const gchar *separator,
  2219.     gchar **args) __attribute__((__malloc__));
  2220.  
  2221. gchar *g_build_filename (const gchar *first_element,
  2222.     ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
  2223. gchar *g_build_filenamev (gchar **args) __attribute__((__malloc__));
  2224.  
  2225. int g_mkdir_with_parents (const gchar *pathname,
  2226.         int mode);
  2227.  
  2228.  
  2229. # 45 "/usr/include/glib-2.0/glib.h" 2
  2230. # 1 "/usr/include/glib-2.0/glib/ghash.h" 1
  2231. # 33 "/usr/include/glib-2.0/glib/ghash.h"
  2232.  
  2233.  
  2234. typedef struct _GHashTable GHashTable;
  2235.  
  2236. typedef gboolean (*GHRFunc) (gpointer key,
  2237.                                gpointer value,
  2238.                                gpointer user_data);
  2239.  
  2240.  
  2241.  
  2242. GHashTable* g_hash_table_new (GHashFunc hash_func,
  2243.          GEqualFunc key_equal_func);
  2244. GHashTable* g_hash_table_new_full (GHashFunc hash_func,
  2245.          GEqualFunc key_equal_func,
  2246.          GDestroyNotify key_destroy_func,
  2247.          GDestroyNotify value_destroy_func);
  2248. void g_hash_table_destroy (GHashTable *hash_table);
  2249. void g_hash_table_insert (GHashTable *hash_table,
  2250.          gpointer key,
  2251.          gpointer value);
  2252. void g_hash_table_replace (GHashTable *hash_table,
  2253.          gpointer key,
  2254.          gpointer value);
  2255. gboolean g_hash_table_remove (GHashTable *hash_table,
  2256.          gconstpointer key);
  2257. void g_hash_table_remove_all (GHashTable *hash_table);
  2258. gboolean g_hash_table_steal (GHashTable *hash_table,
  2259.          gconstpointer key);
  2260. void g_hash_table_steal_all (GHashTable *hash_table);
  2261. gpointer g_hash_table_lookup (GHashTable *hash_table,
  2262.          gconstpointer key);
  2263. gboolean g_hash_table_lookup_extended (GHashTable *hash_table,
  2264.          gconstpointer lookup_key,
  2265.          gpointer *orig_key,
  2266.          gpointer *value);
  2267. void g_hash_table_foreach (GHashTable *hash_table,
  2268.          GHFunc func,
  2269.          gpointer user_data);
  2270. gpointer g_hash_table_find (GHashTable *hash_table,
  2271.          GHRFunc predicate,
  2272.          gpointer user_data);
  2273. guint g_hash_table_foreach_remove (GHashTable *hash_table,
  2274.          GHRFunc func,
  2275.          gpointer user_data);
  2276. guint g_hash_table_foreach_steal (GHashTable *hash_table,
  2277.          GHRFunc func,
  2278.          gpointer user_data);
  2279. guint g_hash_table_size (GHashTable *hash_table);
  2280. GList * g_hash_table_get_keys (GHashTable *hash_table);
  2281. GList * g_hash_table_get_values (GHashTable *hash_table);
  2282.  
  2283.  
  2284. GHashTable* g_hash_table_ref (GHashTable *hash_table);
  2285. void g_hash_table_unref (GHashTable *hash_table);
  2286. # 99 "/usr/include/glib-2.0/glib/ghash.h"
  2287. gboolean g_str_equal (gconstpointer v1,
  2288.                       gconstpointer v2);
  2289. guint g_str_hash (gconstpointer v);
  2290.  
  2291. gboolean g_int_equal (gconstpointer v1,
  2292.                       gconstpointer v2);
  2293. guint g_int_hash (gconstpointer v);
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301. guint g_direct_hash (gconstpointer v) __attribute__((__const__));
  2302. gboolean g_direct_equal (gconstpointer v1,
  2303.                          gconstpointer v2) __attribute__((__const__));
  2304.  
  2305.  
  2306. # 46 "/usr/include/glib-2.0/glib.h" 2
  2307. # 1 "/usr/include/glib-2.0/glib/ghook.h" 1
  2308. # 32 "/usr/include/glib-2.0/glib/ghook.h"
  2309.  
  2310.  
  2311.  
  2312.  
  2313. typedef struct _GHook GHook;
  2314. typedef struct _GHookList GHookList;
  2315.  
  2316. typedef gint (*GHookCompareFunc) (GHook *new_hook,
  2317.        GHook *sibling);
  2318. typedef gboolean (*GHookFindFunc) (GHook *hook,
  2319.        gpointer data);
  2320. typedef void (*GHookMarshaller) (GHook *hook,
  2321.        gpointer marshal_data);
  2322. typedef gboolean (*GHookCheckMarshaller) (GHook *hook,
  2323.        gpointer marshal_data);
  2324. typedef void (*GHookFunc) (gpointer data);
  2325. typedef gboolean (*GHookCheckFunc) (gpointer data);
  2326. typedef void (*GHookFinalizeFunc) (GHookList *hook_list,
  2327.        GHook *hook);
  2328. typedef enum
  2329. {
  2330.   G_HOOK_FLAG_ACTIVE = 1 << 0,
  2331.   G_HOOK_FLAG_IN_CALL = 1 << 1,
  2332.   G_HOOK_FLAG_MASK = 0x0f
  2333. } GHookFlagMask;
  2334.  
  2335.  
  2336.  
  2337.  
  2338. struct _GHookList
  2339. {
  2340.   gulong seq_id;
  2341.   guint hook_size : 16;
  2342.   guint is_setup : 1;
  2343.   GHook *hooks;
  2344.   gpointer dummy3;
  2345.   GHookFinalizeFunc finalize_hook;
  2346.   gpointer dummy[2];
  2347. };
  2348. struct _GHook
  2349. {
  2350.   gpointer data;
  2351.   GHook *next;
  2352.   GHook *prev;
  2353.   guint ref_count;
  2354.   gulong hook_id;
  2355.   guint flags;
  2356.   gpointer func;
  2357.   GDestroyNotify destroy;
  2358. };
  2359. # 102 "/usr/include/glib-2.0/glib/ghook.h"
  2360. void g_hook_list_init (GHookList *hook_list,
  2361.       guint hook_size);
  2362. void g_hook_list_clear (GHookList *hook_list);
  2363. GHook* g_hook_alloc (GHookList *hook_list);
  2364. void g_hook_free (GHookList *hook_list,
  2365.       GHook *hook);
  2366. GHook * g_hook_ref (GHookList *hook_list,
  2367.       GHook *hook);
  2368. void g_hook_unref (GHookList *hook_list,
  2369.       GHook *hook);
  2370. gboolean g_hook_destroy (GHookList *hook_list,
  2371.       gulong hook_id);
  2372. void g_hook_destroy_link (GHookList *hook_list,
  2373.       GHook *hook);
  2374. void g_hook_prepend (GHookList *hook_list,
  2375.       GHook *hook);
  2376. void g_hook_insert_before (GHookList *hook_list,
  2377.       GHook *sibling,
  2378.       GHook *hook);
  2379. void g_hook_insert_sorted (GHookList *hook_list,
  2380.       GHook *hook,
  2381.       GHookCompareFunc func);
  2382. GHook* g_hook_get (GHookList *hook_list,
  2383.       gulong hook_id);
  2384. GHook* g_hook_find (GHookList *hook_list,
  2385.       gboolean need_valids,
  2386.       GHookFindFunc func,
  2387.       gpointer data);
  2388. GHook* g_hook_find_data (GHookList *hook_list,
  2389.       gboolean need_valids,
  2390.       gpointer data);
  2391. GHook* g_hook_find_func (GHookList *hook_list,
  2392.       gboolean need_valids,
  2393.       gpointer func);
  2394. GHook* g_hook_find_func_data (GHookList *hook_list,
  2395.       gboolean need_valids,
  2396.       gpointer func,
  2397.       gpointer data);
  2398.  
  2399. GHook* g_hook_first_valid (GHookList *hook_list,
  2400.       gboolean may_be_in_call);
  2401.  
  2402.  
  2403.  
  2404. GHook* g_hook_next_valid (GHookList *hook_list,
  2405.       GHook *hook,
  2406.       gboolean may_be_in_call);
  2407.  
  2408. gint g_hook_compare_ids (GHook *new_hook,
  2409.       GHook *sibling);
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415. void g_hook_list_invoke (GHookList *hook_list,
  2416.       gboolean may_recurse);
  2417.  
  2418.  
  2419.  
  2420. void g_hook_list_invoke_check (GHookList *hook_list,
  2421.       gboolean may_recurse);
  2422.  
  2423.  
  2424. void g_hook_list_marshal (GHookList *hook_list,
  2425.       gboolean may_recurse,
  2426.       GHookMarshaller marshaller,
  2427.       gpointer marshal_data);
  2428. void g_hook_list_marshal_check (GHookList *hook_list,
  2429.       gboolean may_recurse,
  2430.       GHookCheckMarshaller marshaller,
  2431.       gpointer marshal_data);
  2432.  
  2433.  
  2434. # 47 "/usr/include/glib-2.0/glib.h" 2
  2435. # 1 "/usr/include/glib-2.0/glib/giochannel.h" 1
  2436. # 31 "/usr/include/glib-2.0/glib/giochannel.h"
  2437. # 1 "/usr/include/glib-2.0/glib/gmain.h" 1
  2438. # 23 "/usr/include/glib-2.0/glib/gmain.h"
  2439. # 1 "/usr/include/glib-2.0/glib/gslist.h" 1
  2440. # 32 "/usr/include/glib-2.0/glib/gslist.h"
  2441.  
  2442.  
  2443. typedef struct _GSList GSList;
  2444.  
  2445. struct _GSList
  2446. {
  2447.   gpointer data;
  2448.   GSList *next;
  2449. };
  2450.  
  2451.  
  2452.  
  2453. GSList* g_slist_alloc (void) __attribute__((warn_unused_result));
  2454. void g_slist_free (GSList *list);
  2455. void g_slist_free_1 (GSList *list);
  2456.  
  2457. GSList* g_slist_append (GSList *list,
  2458.        gpointer data) __attribute__((warn_unused_result));
  2459. GSList* g_slist_prepend (GSList *list,
  2460.        gpointer data) __attribute__((warn_unused_result));
  2461. GSList* g_slist_insert (GSList *list,
  2462.        gpointer data,
  2463.        gint position) __attribute__((warn_unused_result));
  2464. GSList* g_slist_insert_sorted (GSList *list,
  2465.        gpointer data,
  2466.        GCompareFunc func) __attribute__((warn_unused_result));
  2467. GSList* g_slist_insert_sorted_with_data (GSList *list,
  2468.        gpointer data,
  2469.        GCompareDataFunc func,
  2470.        gpointer user_data) __attribute__((warn_unused_result));
  2471. GSList* g_slist_insert_before (GSList *slist,
  2472.        GSList *sibling,
  2473.        gpointer data) __attribute__((warn_unused_result));
  2474. GSList* g_slist_concat (GSList *list1,
  2475.        GSList *list2) __attribute__((warn_unused_result));
  2476. GSList* g_slist_remove (GSList *list,
  2477.        gconstpointer data) __attribute__((warn_unused_result));
  2478. GSList* g_slist_remove_all (GSList *list,
  2479.        gconstpointer data) __attribute__((warn_unused_result));
  2480. GSList* g_slist_remove_link (GSList *list,
  2481.        GSList *link_) __attribute__((warn_unused_result));
  2482. GSList* g_slist_delete_link (GSList *list,
  2483.        GSList *link_) __attribute__((warn_unused_result));
  2484. GSList* g_slist_reverse (GSList *list) __attribute__((warn_unused_result));
  2485. GSList* g_slist_copy (GSList *list) __attribute__((warn_unused_result));
  2486. GSList* g_slist_nth (GSList *list,
  2487.        guint n);
  2488. GSList* g_slist_find (GSList *list,
  2489.        gconstpointer data);
  2490. GSList* g_slist_find_custom (GSList *list,
  2491.        gconstpointer data,
  2492.        GCompareFunc func);
  2493. gint g_slist_position (GSList *list,
  2494.        GSList *llink);
  2495. gint g_slist_index (GSList *list,
  2496.        gconstpointer data);
  2497. GSList* g_slist_last (GSList *list);
  2498. guint g_slist_length (GSList *list);
  2499. void g_slist_foreach (GSList *list,
  2500.        GFunc func,
  2501.        gpointer user_data);
  2502. GSList* g_slist_sort (GSList *list,
  2503.        GCompareFunc compare_func) __attribute__((warn_unused_result));
  2504. GSList* g_slist_sort_with_data (GSList *list,
  2505.        GCompareDataFunc compare_func,
  2506.        gpointer user_data) __attribute__((warn_unused_result));
  2507. gpointer g_slist_nth_data (GSList *list,
  2508.        guint n);
  2509.  
  2510.  
  2511.  
  2512.  
  2513. void g_slist_push_allocator (gpointer dummy);
  2514. void g_slist_pop_allocator (void);
  2515.  
  2516.  
  2517. # 24 "/usr/include/glib-2.0/glib/gmain.h" 2
  2518.  
  2519.  
  2520.  
  2521.  
  2522. typedef struct _GMainContext GMainContext;
  2523. typedef struct _GMainLoop GMainLoop;
  2524. typedef struct _GSource GSource;
  2525. typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
  2526. typedef struct _GSourceFuncs GSourceFuncs;
  2527.  
  2528. typedef gboolean (*GSourceFunc) (gpointer data);
  2529. typedef void (*GChildWatchFunc) (GPid pid,
  2530.            gint status,
  2531.            gpointer data);
  2532. struct _GSource
  2533. {
  2534.  
  2535.   gpointer callback_data;
  2536.   GSourceCallbackFuncs *callback_funcs;
  2537.  
  2538.   GSourceFuncs *source_funcs;
  2539.   guint ref_count;
  2540.  
  2541.   GMainContext *context;
  2542.  
  2543.   gint priority;
  2544.   guint flags;
  2545.   guint source_id;
  2546.  
  2547.   GSList *poll_fds;
  2548.  
  2549.   GSource *prev;
  2550.   GSource *next;
  2551.  
  2552.   gpointer reserved1;
  2553.   gpointer reserved2;
  2554. };
  2555.  
  2556. struct _GSourceCallbackFuncs
  2557. {
  2558.   void (*ref) (gpointer cb_data);
  2559.   void (*unref) (gpointer cb_data);
  2560.   void (*get) (gpointer cb_data,
  2561.    GSource *source,
  2562.    GSourceFunc *func,
  2563.    gpointer *data);
  2564. };
  2565.  
  2566. typedef void (*GSourceDummyMarshal) (void);
  2567.  
  2568. struct _GSourceFuncs
  2569. {
  2570.   gboolean (*prepare) (GSource *source,
  2571.    gint *timeout_);
  2572.   gboolean (*check) (GSource *source);
  2573.   gboolean (*dispatch) (GSource *source,
  2574.    GSourceFunc callback,
  2575.    gpointer user_data);
  2576.   void (*finalize) (GSource *source);
  2577.  
  2578.  
  2579.   GSourceFunc closure_callback;
  2580.   GSourceDummyMarshal closure_marshal;
  2581. };
  2582. # 116 "/usr/include/glib-2.0/glib/gmain.h"
  2583. typedef struct _GPollFD GPollFD;
  2584. typedef gint (*GPollFunc) (GPollFD *ufds,
  2585.      guint nfsd,
  2586.      gint timeout_);
  2587.  
  2588. struct _GPollFD
  2589. {
  2590.  
  2591.  
  2592.  
  2593.   gint fd;
  2594.  
  2595.   gushort events;
  2596.   gushort revents;
  2597. };
  2598. # 142 "/usr/include/glib-2.0/glib/gmain.h"
  2599. GMainContext *g_main_context_new (void);
  2600. GMainContext *g_main_context_ref (GMainContext *context);
  2601. void g_main_context_unref (GMainContext *context);
  2602. GMainContext *g_main_context_default (void);
  2603.  
  2604. gboolean g_main_context_iteration (GMainContext *context,
  2605.      gboolean may_block);
  2606. gboolean g_main_context_pending (GMainContext *context);
  2607.  
  2608.  
  2609.  
  2610. GSource *g_main_context_find_source_by_id (GMainContext *context,
  2611.             guint source_id);
  2612. GSource *g_main_context_find_source_by_user_data (GMainContext *context,
  2613.             gpointer user_data);
  2614. GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context,
  2615.              GSourceFuncs *funcs,
  2616.             gpointer user_data);
  2617.  
  2618.  
  2619.  
  2620. void g_main_context_wakeup (GMainContext *context);
  2621. gboolean g_main_context_acquire (GMainContext *context);
  2622. void g_main_context_release (GMainContext *context);
  2623. gboolean g_main_context_is_owner (GMainContext *context);
  2624. gboolean g_main_context_wait (GMainContext *context,
  2625.      GCond *cond,
  2626.      GMutex *mutex);
  2627.  
  2628. gboolean g_main_context_prepare (GMainContext *context,
  2629.       gint *priority);
  2630. gint g_main_context_query (GMainContext *context,
  2631.       gint max_priority,
  2632.       gint *timeout_,
  2633.       GPollFD *fds,
  2634.       gint n_fds);
  2635. gint g_main_context_check (GMainContext *context,
  2636.       gint max_priority,
  2637.       GPollFD *fds,
  2638.       gint n_fds);
  2639. void g_main_context_dispatch (GMainContext *context);
  2640.  
  2641. void g_main_context_set_poll_func (GMainContext *context,
  2642.            GPollFunc func);
  2643. GPollFunc g_main_context_get_poll_func (GMainContext *context);
  2644.  
  2645.  
  2646.  
  2647. void g_main_context_add_poll (GMainContext *context,
  2648.          GPollFD *fd,
  2649.          gint priority);
  2650. void g_main_context_remove_poll (GMainContext *context,
  2651.          GPollFD *fd);
  2652.  
  2653. gint g_main_depth (void);
  2654. GSource *g_main_current_source (void);
  2655.  
  2656.  
  2657.  
  2658.  
  2659. GMainLoop *g_main_loop_new (GMainContext *context,
  2660.            gboolean is_running);
  2661. void g_main_loop_run (GMainLoop *loop);
  2662. void g_main_loop_quit (GMainLoop *loop);
  2663. GMainLoop *g_main_loop_ref (GMainLoop *loop);
  2664. void g_main_loop_unref (GMainLoop *loop);
  2665. gboolean g_main_loop_is_running (GMainLoop *loop);
  2666. GMainContext *g_main_loop_get_context (GMainLoop *loop);
  2667.  
  2668.  
  2669.  
  2670. GSource *g_source_new (GSourceFuncs *source_funcs,
  2671.        guint struct_size);
  2672. GSource *g_source_ref (GSource *source);
  2673. void g_source_unref (GSource *source);
  2674.  
  2675. guint g_source_attach (GSource *source,
  2676.        GMainContext *context);
  2677. void g_source_destroy (GSource *source);
  2678.  
  2679. void g_source_set_priority (GSource *source,
  2680.        gint priority);
  2681. gint g_source_get_priority (GSource *source);
  2682. void g_source_set_can_recurse (GSource *source,
  2683.        gboolean can_recurse);
  2684. gboolean g_source_get_can_recurse (GSource *source);
  2685. guint g_source_get_id (GSource *source);
  2686.  
  2687. GMainContext *g_source_get_context (GSource *source);
  2688.  
  2689. void g_source_set_callback (GSource *source,
  2690.        GSourceFunc func,
  2691.        gpointer data,
  2692.        GDestroyNotify notify);
  2693.  
  2694. void g_source_set_funcs (GSource *source,
  2695.                                    GSourceFuncs *funcs);
  2696. gboolean g_source_is_destroyed (GSource *source);
  2697.  
  2698.  
  2699. void g_source_set_callback_indirect (GSource *source,
  2700.          gpointer callback_data,
  2701.          GSourceCallbackFuncs *callback_funcs);
  2702.  
  2703. void g_source_add_poll (GSource *source,
  2704.         GPollFD *fd);
  2705. void g_source_remove_poll (GSource *source,
  2706.         GPollFD *fd);
  2707.  
  2708. void g_source_get_current_time (GSource *source,
  2709.         GTimeVal *timeval);
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.  
  2716.  
  2717. GSource *g_idle_source_new (void);
  2718. GSource *g_child_watch_source_new (GPid pid);
  2719. GSource *g_timeout_source_new (guint interval);
  2720. GSource *g_timeout_source_new_seconds (guint interval);
  2721.  
  2722.  
  2723.  
  2724. void g_get_current_time (GTimeVal *result);
  2725. # 292 "/usr/include/glib-2.0/glib/gmain.h"
  2726. gboolean g_source_remove (guint tag);
  2727. gboolean g_source_remove_by_user_data (gpointer user_data);
  2728. gboolean g_source_remove_by_funcs_user_data (GSourceFuncs *funcs,
  2729.            gpointer user_data);
  2730.  
  2731.  
  2732. guint g_timeout_add_full (gint priority,
  2733.          guint interval,
  2734.          GSourceFunc function,
  2735.          gpointer data,
  2736.          GDestroyNotify notify);
  2737. guint g_timeout_add (guint interval,
  2738.          GSourceFunc function,
  2739.          gpointer data);
  2740. guint g_timeout_add_seconds_full (gint priority,
  2741.                                      guint interval,
  2742.                                      GSourceFunc function,
  2743.                                      gpointer data,
  2744.                                      GDestroyNotify notify);
  2745. guint g_timeout_add_seconds (guint interval,
  2746.          GSourceFunc function,
  2747.          gpointer data);
  2748. guint g_child_watch_add_full (gint priority,
  2749.          GPid pid,
  2750.          GChildWatchFunc function,
  2751.          gpointer data,
  2752.          GDestroyNotify notify);
  2753. guint g_child_watch_add (GPid pid,
  2754.          GChildWatchFunc function,
  2755.          gpointer data);
  2756. guint g_idle_add (GSourceFunc function,
  2757.          gpointer data);
  2758. guint g_idle_add_full (gint priority,
  2759.          GSourceFunc function,
  2760.          gpointer data,
  2761.          GDestroyNotify notify);
  2762. gboolean g_idle_remove_by_data (gpointer data);
  2763.  
  2764.  
  2765. extern GSourceFuncs g_timeout_funcs;
  2766. extern GSourceFuncs g_child_watch_funcs;
  2767. extern GSourceFuncs g_idle_funcs;
  2768.  
  2769.  
  2770. # 32 "/usr/include/glib-2.0/glib/giochannel.h" 2
  2771. # 1 "/usr/include/glib-2.0/glib/gstring.h" 1
  2772. # 31 "/usr/include/glib-2.0/glib/gstring.h"
  2773. # 1 "/usr/include/glib-2.0/glib/gunicode.h" 1
  2774. # 28 "/usr/include/glib-2.0/glib/gunicode.h"
  2775.  
  2776.  
  2777. typedef guint32 gunichar;
  2778. typedef guint16 gunichar2;
  2779.  
  2780.  
  2781.  
  2782.  
  2783. typedef enum
  2784. {
  2785.   G_UNICODE_CONTROL,
  2786.   G_UNICODE_FORMAT,
  2787.   G_UNICODE_UNASSIGNED,
  2788.   G_UNICODE_PRIVATE_USE,
  2789.   G_UNICODE_SURROGATE,
  2790.   G_UNICODE_LOWERCASE_LETTER,
  2791.   G_UNICODE_MODIFIER_LETTER,
  2792.   G_UNICODE_OTHER_LETTER,
  2793.   G_UNICODE_TITLECASE_LETTER,
  2794.   G_UNICODE_UPPERCASE_LETTER,
  2795.   G_UNICODE_COMBINING_MARK,
  2796.   G_UNICODE_ENCLOSING_MARK,
  2797.   G_UNICODE_NON_SPACING_MARK,
  2798.   G_UNICODE_DECIMAL_NUMBER,
  2799.   G_UNICODE_LETTER_NUMBER,
  2800.   G_UNICODE_OTHER_NUMBER,
  2801.   G_UNICODE_CONNECT_PUNCTUATION,
  2802.   G_UNICODE_DASH_PUNCTUATION,
  2803.   G_UNICODE_CLOSE_PUNCTUATION,
  2804.   G_UNICODE_FINAL_PUNCTUATION,
  2805.   G_UNICODE_INITIAL_PUNCTUATION,
  2806.   G_UNICODE_OTHER_PUNCTUATION,
  2807.   G_UNICODE_OPEN_PUNCTUATION,
  2808.   G_UNICODE_CURRENCY_SYMBOL,
  2809.   G_UNICODE_MODIFIER_SYMBOL,
  2810.   G_UNICODE_MATH_SYMBOL,
  2811.   G_UNICODE_OTHER_SYMBOL,
  2812.   G_UNICODE_LINE_SEPARATOR,
  2813.   G_UNICODE_PARAGRAPH_SEPARATOR,
  2814.   G_UNICODE_SPACE_SEPARATOR
  2815. } GUnicodeType;
  2816.  
  2817.  
  2818.  
  2819.  
  2820.  
  2821.  
  2822. typedef enum
  2823. {
  2824.   G_UNICODE_BREAK_MANDATORY,
  2825.   G_UNICODE_BREAK_CARRIAGE_RETURN,
  2826.   G_UNICODE_BREAK_LINE_FEED,
  2827.   G_UNICODE_BREAK_COMBINING_MARK,
  2828.   G_UNICODE_BREAK_SURROGATE,
  2829.   G_UNICODE_BREAK_ZERO_WIDTH_SPACE,
  2830.   G_UNICODE_BREAK_INSEPARABLE,
  2831.   G_UNICODE_BREAK_NON_BREAKING_GLUE,
  2832.   G_UNICODE_BREAK_CONTINGENT,
  2833.   G_UNICODE_BREAK_SPACE,
  2834.   G_UNICODE_BREAK_AFTER,
  2835.   G_UNICODE_BREAK_BEFORE,
  2836.   G_UNICODE_BREAK_BEFORE_AND_AFTER,
  2837.   G_UNICODE_BREAK_HYPHEN,
  2838.   G_UNICODE_BREAK_NON_STARTER,
  2839.   G_UNICODE_BREAK_OPEN_PUNCTUATION,
  2840.   G_UNICODE_BREAK_CLOSE_PUNCTUATION,
  2841.   G_UNICODE_BREAK_QUOTATION,
  2842.   G_UNICODE_BREAK_EXCLAMATION,
  2843.   G_UNICODE_BREAK_IDEOGRAPHIC,
  2844.   G_UNICODE_BREAK_NUMERIC,
  2845.   G_UNICODE_BREAK_INFIX_SEPARATOR,
  2846.   G_UNICODE_BREAK_SYMBOL,
  2847.   G_UNICODE_BREAK_ALPHABETIC,
  2848.   G_UNICODE_BREAK_PREFIX,
  2849.   G_UNICODE_BREAK_POSTFIX,
  2850.   G_UNICODE_BREAK_COMPLEX_CONTEXT,
  2851.   G_UNICODE_BREAK_AMBIGUOUS,
  2852.   G_UNICODE_BREAK_UNKNOWN,
  2853.   G_UNICODE_BREAK_NEXT_LINE,
  2854.   G_UNICODE_BREAK_WORD_JOINER,
  2855.   G_UNICODE_BREAK_HANGUL_L_JAMO,
  2856.   G_UNICODE_BREAK_HANGUL_V_JAMO,
  2857.   G_UNICODE_BREAK_HANGUL_T_JAMO,
  2858.   G_UNICODE_BREAK_HANGUL_LV_SYLLABLE,
  2859.   G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE
  2860. } GUnicodeBreakType;
  2861.  
  2862. typedef enum
  2863. {
  2864.   G_UNICODE_SCRIPT_INVALID_CODE = -1,
  2865.   G_UNICODE_SCRIPT_COMMON = 0,
  2866.   G_UNICODE_SCRIPT_INHERITED,
  2867.   G_UNICODE_SCRIPT_ARABIC,
  2868.   G_UNICODE_SCRIPT_ARMENIAN,
  2869.   G_UNICODE_SCRIPT_BENGALI,
  2870.   G_UNICODE_SCRIPT_BOPOMOFO,
  2871.   G_UNICODE_SCRIPT_CHEROKEE,
  2872.   G_UNICODE_SCRIPT_COPTIC,
  2873.   G_UNICODE_SCRIPT_CYRILLIC,
  2874.   G_UNICODE_SCRIPT_DESERET,
  2875.   G_UNICODE_SCRIPT_DEVANAGARI,
  2876.   G_UNICODE_SCRIPT_ETHIOPIC,
  2877.   G_UNICODE_SCRIPT_GEORGIAN,
  2878.   G_UNICODE_SCRIPT_GOTHIC,
  2879.   G_UNICODE_SCRIPT_GREEK,
  2880.   G_UNICODE_SCRIPT_GUJARATI,
  2881.   G_UNICODE_SCRIPT_GURMUKHI,
  2882.   G_UNICODE_SCRIPT_HAN,
  2883.   G_UNICODE_SCRIPT_HANGUL,
  2884.   G_UNICODE_SCRIPT_HEBREW,
  2885.   G_UNICODE_SCRIPT_HIRAGANA,
  2886.   G_UNICODE_SCRIPT_KANNADA,
  2887.   G_UNICODE_SCRIPT_KATAKANA,
  2888.   G_UNICODE_SCRIPT_KHMER,
  2889.   G_UNICODE_SCRIPT_LAO,
  2890.   G_UNICODE_SCRIPT_LATIN,
  2891.   G_UNICODE_SCRIPT_MALAYALAM,
  2892.   G_UNICODE_SCRIPT_MONGOLIAN,
  2893.   G_UNICODE_SCRIPT_MYANMAR,
  2894.   G_UNICODE_SCRIPT_OGHAM,
  2895.   G_UNICODE_SCRIPT_OLD_ITALIC,
  2896.   G_UNICODE_SCRIPT_ORIYA,
  2897.   G_UNICODE_SCRIPT_RUNIC,
  2898.   G_UNICODE_SCRIPT_SINHALA,
  2899.   G_UNICODE_SCRIPT_SYRIAC,
  2900.   G_UNICODE_SCRIPT_TAMIL,
  2901.   G_UNICODE_SCRIPT_TELUGU,
  2902.   G_UNICODE_SCRIPT_THAANA,
  2903.   G_UNICODE_SCRIPT_THAI,
  2904.   G_UNICODE_SCRIPT_TIBETAN,
  2905.   G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL,
  2906.   G_UNICODE_SCRIPT_YI,
  2907.   G_UNICODE_SCRIPT_TAGALOG,
  2908.   G_UNICODE_SCRIPT_HANUNOO,
  2909.   G_UNICODE_SCRIPT_BUHID,
  2910.   G_UNICODE_SCRIPT_TAGBANWA,
  2911.  
  2912.  
  2913.   G_UNICODE_SCRIPT_BRAILLE,
  2914.   G_UNICODE_SCRIPT_CYPRIOT,
  2915.   G_UNICODE_SCRIPT_LIMBU,
  2916.   G_UNICODE_SCRIPT_OSMANYA,
  2917.   G_UNICODE_SCRIPT_SHAVIAN,
  2918.   G_UNICODE_SCRIPT_LINEAR_B,
  2919.   G_UNICODE_SCRIPT_TAI_LE,
  2920.   G_UNICODE_SCRIPT_UGARITIC,
  2921.  
  2922.  
  2923.   G_UNICODE_SCRIPT_NEW_TAI_LUE,
  2924.   G_UNICODE_SCRIPT_BUGINESE,
  2925.   G_UNICODE_SCRIPT_GLAGOLITIC,
  2926.   G_UNICODE_SCRIPT_TIFINAGH,
  2927.   G_UNICODE_SCRIPT_SYLOTI_NAGRI,
  2928.   G_UNICODE_SCRIPT_OLD_PERSIAN,
  2929.   G_UNICODE_SCRIPT_KHAROSHTHI,
  2930.  
  2931.  
  2932.   G_UNICODE_SCRIPT_UNKNOWN,
  2933.   G_UNICODE_SCRIPT_BALINESE,
  2934.   G_UNICODE_SCRIPT_CUNEIFORM,
  2935.   G_UNICODE_SCRIPT_PHOENICIAN,
  2936.   G_UNICODE_SCRIPT_PHAGS_PA,
  2937.   G_UNICODE_SCRIPT_NKO
  2938. } GUnicodeScript;
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946. gboolean g_get_charset (const char **charset);
  2947.  
  2948.  
  2949.  
  2950. gboolean g_unichar_isalnum (gunichar c) __attribute__((__const__));
  2951. gboolean g_unichar_isalpha (gunichar c) __attribute__((__const__));
  2952. gboolean g_unichar_iscntrl (gunichar c) __attribute__((__const__));
  2953. gboolean g_unichar_isdigit (gunichar c) __attribute__((__const__));
  2954. gboolean g_unichar_isgraph (gunichar c) __attribute__((__const__));
  2955. gboolean g_unichar_islower (gunichar c) __attribute__((__const__));
  2956. gboolean g_unichar_isprint (gunichar c) __attribute__((__const__));
  2957. gboolean g_unichar_ispunct (gunichar c) __attribute__((__const__));
  2958. gboolean g_unichar_isspace (gunichar c) __attribute__((__const__));
  2959. gboolean g_unichar_isupper (gunichar c) __attribute__((__const__));
  2960. gboolean g_unichar_isxdigit (gunichar c) __attribute__((__const__));
  2961. gboolean g_unichar_istitle (gunichar c) __attribute__((__const__));
  2962. gboolean g_unichar_isdefined (gunichar c) __attribute__((__const__));
  2963. gboolean g_unichar_iswide (gunichar c) __attribute__((__const__));
  2964. gboolean g_unichar_iswide_cjk(gunichar c) __attribute__((__const__));
  2965. gboolean g_unichar_iszerowidth(gunichar c) __attribute__((__const__));
  2966. gboolean g_unichar_ismark (gunichar c) __attribute__((__const__));
  2967.  
  2968.  
  2969.  
  2970. gunichar g_unichar_toupper (gunichar c) __attribute__((__const__));
  2971. gunichar g_unichar_tolower (gunichar c) __attribute__((__const__));
  2972. gunichar g_unichar_totitle (gunichar c) __attribute__((__const__));
  2973.  
  2974.  
  2975.  
  2976. gint g_unichar_digit_value (gunichar c) __attribute__((__const__));
  2977.  
  2978. gint g_unichar_xdigit_value (gunichar c) __attribute__((__const__));
  2979.  
  2980.  
  2981. GUnicodeType g_unichar_type (gunichar c) __attribute__((__const__));
  2982.  
  2983.  
  2984. GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__((__const__));
  2985.  
  2986.  
  2987. gint g_unichar_combining_class (gunichar uc) __attribute__((__const__));
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993. void g_unicode_canonical_ordering (gunichar *string,
  2994.        gsize len);
  2995.  
  2996.  
  2997.  
  2998.  
  2999. gunichar *g_unicode_canonical_decomposition (gunichar ch,
  3000.           gsize *result_len) __attribute__((__malloc__));
  3001.  
  3002.  
  3003.  
  3004. extern const gchar * const g_utf8_skip;
  3005.  
  3006.  
  3007.  
  3008. gunichar g_utf8_get_char (const gchar *p) __attribute__((__pure__));
  3009. gunichar g_utf8_get_char_validated (const gchar *p,
  3010.         gssize max_len) __attribute__((__pure__));
  3011.  
  3012. gchar* g_utf8_offset_to_pointer (const gchar *str,
  3013.                                    glong offset) __attribute__((__pure__));
  3014. glong g_utf8_pointer_to_offset (const gchar *str,
  3015.        const gchar *pos) __attribute__((__pure__));
  3016. gchar* g_utf8_prev_char (const gchar *p) __attribute__((__pure__));
  3017. gchar* g_utf8_find_next_char (const gchar *p,
  3018.        const gchar *end) __attribute__((__pure__));
  3019. gchar* g_utf8_find_prev_char (const gchar *str,
  3020.        const gchar *p) __attribute__((__pure__));
  3021.  
  3022. glong g_utf8_strlen (const gchar *p,
  3023.        gssize max) __attribute__((__pure__));
  3024.  
  3025.  
  3026. gchar* g_utf8_strncpy (gchar *dest,
  3027.          const gchar *src,
  3028.          gsize n);
  3029.  
  3030.  
  3031.  
  3032. gchar* g_utf8_strchr (const gchar *p,
  3033.          gssize len,
  3034.          gunichar c);
  3035. gchar* g_utf8_strrchr (const gchar *p,
  3036.          gssize len,
  3037.          gunichar c);
  3038. gchar* g_utf8_strreverse (const gchar *str,
  3039.      gssize len);
  3040.  
  3041. gunichar2 *g_utf8_to_utf16 (const gchar *str,
  3042.     glong len,
  3043.     glong *items_read,
  3044.     glong *items_written,
  3045.     GError **error) __attribute__((__malloc__));
  3046. gunichar * g_utf8_to_ucs4 (const gchar *str,
  3047.     glong len,
  3048.     glong *items_read,
  3049.     glong *items_written,
  3050.     GError **error) __attribute__((__malloc__));
  3051. gunichar * g_utf8_to_ucs4_fast (const gchar *str,
  3052.     glong len,
  3053.     glong *items_written) __attribute__((__malloc__));
  3054. gunichar * g_utf16_to_ucs4 (const gunichar2 *str,
  3055.     glong len,
  3056.     glong *items_read,
  3057.     glong *items_written,
  3058.     GError **error) __attribute__((__malloc__));
  3059. gchar* g_utf16_to_utf8 (const gunichar2 *str,
  3060.     glong len,
  3061.     glong *items_read,
  3062.     glong *items_written,
  3063.     GError **error) __attribute__((__malloc__));
  3064. gunichar2 *g_ucs4_to_utf16 (const gunichar *str,
  3065.     glong len,
  3066.     glong *items_read,
  3067.     glong *items_written,
  3068.     GError **error) __attribute__((__malloc__));
  3069. gchar* g_ucs4_to_utf8 (const gunichar *str,
  3070.     glong len,
  3071.     glong *items_read,
  3072.     glong *items_written,
  3073.     GError **error) __attribute__((__malloc__));
  3074.  
  3075.  
  3076.  
  3077.  
  3078.  
  3079. gint g_unichar_to_utf8 (gunichar c,
  3080.         gchar *outbuf);
  3081.  
  3082.  
  3083.  
  3084.  
  3085.  
  3086. gboolean g_utf8_validate (const gchar *str,
  3087.                           gssize max_len,
  3088.                           const gchar **end);
  3089.  
  3090.  
  3091. gboolean g_unichar_validate (gunichar ch) __attribute__((__const__));
  3092.  
  3093. gchar *g_utf8_strup (const gchar *str,
  3094.          gssize len) __attribute__((__malloc__));
  3095. gchar *g_utf8_strdown (const gchar *str,
  3096.          gssize len) __attribute__((__malloc__));
  3097. gchar *g_utf8_casefold (const gchar *str,
  3098.    gssize len) __attribute__((__malloc__));
  3099.  
  3100. typedef enum {
  3101.   G_NORMALIZE_DEFAULT,
  3102.   G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT,
  3103.   G_NORMALIZE_DEFAULT_COMPOSE,
  3104.   G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE,
  3105.   G_NORMALIZE_ALL,
  3106.   G_NORMALIZE_NFKD = G_NORMALIZE_ALL,
  3107.   G_NORMALIZE_ALL_COMPOSE,
  3108.   G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE
  3109. } GNormalizeMode;
  3110.  
  3111. gchar *g_utf8_normalize (const gchar *str,
  3112.     gssize len,
  3113.     GNormalizeMode mode) __attribute__((__malloc__));
  3114.  
  3115. gint g_utf8_collate (const gchar *str1,
  3116.       const gchar *str2) __attribute__((__pure__));
  3117. gchar *g_utf8_collate_key (const gchar *str,
  3118.       gssize len) __attribute__((__malloc__));
  3119. gchar *g_utf8_collate_key_for_filename (const gchar *str,
  3120.                    gssize len) __attribute__((__malloc__));
  3121.  
  3122. gboolean g_unichar_get_mirror_char (gunichar ch,
  3123.                                     gunichar *mirrored_ch);
  3124.  
  3125. GUnicodeScript g_unichar_get_script (gunichar ch) __attribute__((__const__));
  3126.  
  3127.  
  3128.  
  3129.  
  3130. gchar *_g_utf8_make_valid (const gchar *name);
  3131.  
  3132.  
  3133.  
  3134. # 32 "/usr/include/glib-2.0/glib/gstring.h" 2
  3135.  
  3136.  
  3137.  
  3138.  
  3139. typedef struct _GString GString;
  3140. typedef struct _GStringChunk GStringChunk;
  3141.  
  3142. struct _GString
  3143. {
  3144.   gchar *str;
  3145.   gsize len;
  3146.   gsize allocated_len;
  3147. };
  3148.  
  3149.  
  3150.  
  3151. GStringChunk* g_string_chunk_new (gsize size);
  3152. void g_string_chunk_free (GStringChunk *chunk);
  3153. void g_string_chunk_clear (GStringChunk *chunk);
  3154. gchar* g_string_chunk_insert (GStringChunk *chunk,
  3155.          const gchar *string);
  3156. gchar* g_string_chunk_insert_len (GStringChunk *chunk,
  3157.          const gchar *string,
  3158.          gssize len);
  3159. gchar* g_string_chunk_insert_const (GStringChunk *chunk,
  3160.          const gchar *string);
  3161.  
  3162.  
  3163.  
  3164.  
  3165. GString* g_string_new (const gchar *init);
  3166. GString* g_string_new_len (const gchar *init,
  3167.                                          gssize len);
  3168. GString* g_string_sized_new (gsize dfl_size);
  3169. gchar* g_string_free (GString *string,
  3170.       gboolean free_segment);
  3171. gboolean g_string_equal (const GString *v,
  3172.       const GString *v2);
  3173. guint g_string_hash (const GString *str);
  3174. GString* g_string_assign (GString *string,
  3175.       const gchar *rval);
  3176. GString* g_string_truncate (GString *string,
  3177.       gsize len);
  3178. GString* g_string_set_size (GString *string,
  3179.       gsize len);
  3180. GString* g_string_insert_len (GString *string,
  3181.                                          gssize pos,
  3182.                                          const gchar *val,
  3183.                                          gssize len);
  3184. GString* g_string_append (GString *string,
  3185.                     const gchar *val);
  3186. GString* g_string_append_len (GString *string,
  3187.                     const gchar *val,
  3188.                                          gssize len);
  3189. GString* g_string_append_c (GString *string,
  3190.       gchar c);
  3191. GString* g_string_append_unichar (GString *string,
  3192.       gunichar wc);
  3193. GString* g_string_prepend (GString *string,
  3194.       const gchar *val);
  3195. GString* g_string_prepend_c (GString *string,
  3196.       gchar c);
  3197. GString* g_string_prepend_unichar (GString *string,
  3198.       gunichar wc);
  3199. GString* g_string_prepend_len (GString *string,
  3200.                     const gchar *val,
  3201.                                          gssize len);
  3202. GString* g_string_insert (GString *string,
  3203.       gssize pos,
  3204.       const gchar *val);
  3205. GString* g_string_insert_c (GString *string,
  3206.       gssize pos,
  3207.       gchar c);
  3208. GString* g_string_insert_unichar (GString *string,
  3209.       gssize pos,
  3210.       gunichar wc);
  3211. GString* g_string_overwrite (GString *string,
  3212.       gsize pos,
  3213.       const gchar *val);
  3214. GString* g_string_overwrite_len (GString *string,
  3215.       gsize pos,
  3216.       const gchar *val,
  3217.       gssize len);
  3218. GString* g_string_erase (GString *string,
  3219.       gssize pos,
  3220.       gssize len);
  3221. GString* g_string_ascii_down (GString *string);
  3222. GString* g_string_ascii_up (GString *string);
  3223. void g_string_vprintf (GString *string,
  3224.       const gchar *format,
  3225.       va_list args);
  3226. void g_string_printf (GString *string,
  3227.       const gchar *format,
  3228.       ...) __attribute__((__format__ (__printf__, 2, 3)));
  3229. void g_string_append_vprintf (GString *string,
  3230.       const gchar *format,
  3231.       va_list args);
  3232. void g_string_append_printf (GString *string,
  3233.       const gchar *format,
  3234.       ...) __attribute__((__format__ (__printf__, 2, 3)));
  3235.  
  3236.  
  3237.  
  3238. static inline GString*
  3239. g_string_append_c_inline (GString *gstring,
  3240.                           gchar c)
  3241. {
  3242.   if (gstring->len + 1 < gstring->allocated_len)
  3243.     {
  3244.       gstring->str[gstring->len++] = c;
  3245.       gstring->str[gstring->len] = 0;
  3246.     }
  3247.   else
  3248.     g_string_insert_c (gstring, -1, c);
  3249.   return gstring;
  3250. }
  3251. # 159 "/usr/include/glib-2.0/glib/gstring.h"
  3252. GString* g_string_down (GString *string);
  3253. GString* g_string_up (GString *string);
  3254.  
  3255.  
  3256.  
  3257.  
  3258.  
  3259.  
  3260.  
  3261.  
  3262. # 33 "/usr/include/glib-2.0/glib/giochannel.h" 2
  3263.  
  3264.  
  3265.  
  3266.  
  3267.  
  3268.  
  3269. typedef struct _GIOChannel GIOChannel;
  3270. typedef struct _GIOFuncs GIOFuncs;
  3271.  
  3272. typedef enum
  3273. {
  3274.   G_IO_ERROR_NONE,
  3275.   G_IO_ERROR_AGAIN,
  3276.   G_IO_ERROR_INVAL,
  3277.   G_IO_ERROR_UNKNOWN
  3278. } GIOError;
  3279.  
  3280.  
  3281.  
  3282. typedef enum
  3283. {
  3284.  
  3285.   G_IO_CHANNEL_ERROR_FBIG,
  3286.   G_IO_CHANNEL_ERROR_INVAL,
  3287.   G_IO_CHANNEL_ERROR_IO,
  3288.   G_IO_CHANNEL_ERROR_ISDIR,
  3289.   G_IO_CHANNEL_ERROR_NOSPC,
  3290.   G_IO_CHANNEL_ERROR_NXIO,
  3291.   G_IO_CHANNEL_ERROR_OVERFLOW,
  3292.   G_IO_CHANNEL_ERROR_PIPE,
  3293.  
  3294.   G_IO_CHANNEL_ERROR_FAILED
  3295. } GIOChannelError;
  3296.  
  3297. typedef enum
  3298. {
  3299.   G_IO_STATUS_ERROR,
  3300.   G_IO_STATUS_NORMAL,
  3301.   G_IO_STATUS_EOF,
  3302.   G_IO_STATUS_AGAIN
  3303. } GIOStatus;
  3304.  
  3305. typedef enum
  3306. {
  3307.   G_SEEK_CUR,
  3308.   G_SEEK_SET,
  3309.   G_SEEK_END
  3310. } GSeekType;
  3311.  
  3312. typedef enum
  3313. {
  3314.   G_IO_IN =1,
  3315.   G_IO_OUT =4,
  3316.   G_IO_PRI =2,
  3317.   G_IO_ERR =8,
  3318.   G_IO_HUP =16,
  3319.   G_IO_NVAL =32
  3320. } GIOCondition;
  3321.  
  3322. typedef enum
  3323. {
  3324.   G_IO_FLAG_APPEND = 1 << 0,
  3325.   G_IO_FLAG_NONBLOCK = 1 << 1,
  3326.   G_IO_FLAG_IS_READABLE = 1 << 2,
  3327.   G_IO_FLAG_IS_WRITEABLE = 1 << 3,
  3328.   G_IO_FLAG_IS_SEEKABLE = 1 << 4,
  3329.   G_IO_FLAG_MASK = (1 << 5) - 1,
  3330.   G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK,
  3331.   G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK
  3332. } GIOFlags;
  3333.  
  3334. struct _GIOChannel
  3335. {
  3336.  
  3337.   gint ref_count;
  3338.   GIOFuncs *funcs;
  3339.  
  3340.   gchar *encoding;
  3341.   GIConv read_cd;
  3342.   GIConv write_cd;
  3343.   gchar *line_term;
  3344.   guint line_term_len;
  3345.  
  3346.   gsize buf_size;
  3347.   GString *read_buf;
  3348.   GString *encoded_read_buf;
  3349.   GString *write_buf;
  3350.   gchar partial_write_buf[6];
  3351.  
  3352.  
  3353.  
  3354.   guint use_buffer : 1;
  3355.   guint do_encode : 1;
  3356.   guint close_on_unref : 1;
  3357.   guint is_readable : 1;
  3358.   guint is_writeable : 1;
  3359.   guint is_seekable : 1;
  3360.  
  3361.   gpointer reserved1;
  3362.   gpointer reserved2;
  3363. };
  3364.  
  3365. typedef gboolean (*GIOFunc) (GIOChannel *source,
  3366.         GIOCondition condition,
  3367.         gpointer data);
  3368. struct _GIOFuncs
  3369. {
  3370.   GIOStatus (*io_read) (GIOChannel *channel,
  3371.              gchar *buf,
  3372.       gsize count,
  3373.       gsize *bytes_read,
  3374.       GError **err);
  3375.   GIOStatus (*io_write) (GIOChannel *channel,
  3376.       const gchar *buf,
  3377.       gsize count,
  3378.       gsize *bytes_written,
  3379.       GError **err);
  3380.   GIOStatus (*io_seek) (GIOChannel *channel,
  3381.       gint64 offset,
  3382.       GSeekType type,
  3383.       GError **err);
  3384.   GIOStatus (*io_close) (GIOChannel *channel,
  3385.       GError **err);
  3386.   GSource* (*io_create_watch) (GIOChannel *channel,
  3387.       GIOCondition condition);
  3388.   void (*io_free) (GIOChannel *channel);
  3389.   GIOStatus (*io_set_flags) (GIOChannel *channel,
  3390.                                   GIOFlags flags,
  3391.       GError **err);
  3392.   GIOFlags (*io_get_flags) (GIOChannel *channel);
  3393. };
  3394.  
  3395. void g_io_channel_init (GIOChannel *channel);
  3396. GIOChannel *g_io_channel_ref (GIOChannel *channel);
  3397. void g_io_channel_unref (GIOChannel *channel);
  3398.  
  3399.  
  3400. GIOError g_io_channel_read (GIOChannel *channel,
  3401.             gchar *buf,
  3402.             gsize count,
  3403.             gsize *bytes_read);
  3404. GIOError g_io_channel_write (GIOChannel *channel,
  3405.             const gchar *buf,
  3406.             gsize count,
  3407.             gsize *bytes_written);
  3408. GIOError g_io_channel_seek (GIOChannel *channel,
  3409.             gint64 offset,
  3410.             GSeekType type);
  3411. void g_io_channel_close (GIOChannel *channel);
  3412.  
  3413.  
  3414. GIOStatus g_io_channel_shutdown (GIOChannel *channel,
  3415.      gboolean flush,
  3416.      GError **err);
  3417. guint g_io_add_watch_full (GIOChannel *channel,
  3418.      gint priority,
  3419.      GIOCondition condition,
  3420.      GIOFunc func,
  3421.      gpointer user_data,
  3422.      GDestroyNotify notify);
  3423. GSource * g_io_create_watch (GIOChannel *channel,
  3424.      GIOCondition condition);
  3425. guint g_io_add_watch (GIOChannel *channel,
  3426.      GIOCondition condition,
  3427.      GIOFunc func,
  3428.      gpointer user_data);
  3429.  
  3430.  
  3431.  
  3432.  
  3433. void g_io_channel_set_buffer_size (GIOChannel *channel,
  3434.         gsize size);
  3435. gsize g_io_channel_get_buffer_size (GIOChannel *channel);
  3436. GIOCondition g_io_channel_get_buffer_condition (GIOChannel *channel);
  3437. GIOStatus g_io_channel_set_flags (GIOChannel *channel,
  3438.         GIOFlags flags,
  3439.         GError **error);
  3440. GIOFlags g_io_channel_get_flags (GIOChannel *channel);
  3441. void g_io_channel_set_line_term (GIOChannel *channel,
  3442.         const gchar *line_term,
  3443.         gint length);
  3444. const gchar* g_io_channel_get_line_term (GIOChannel *channel,
  3445.         gint *length);
  3446. void g_io_channel_set_buffered (GIOChannel *channel,
  3447.         gboolean buffered);
  3448. gboolean g_io_channel_get_buffered (GIOChannel *channel);
  3449. GIOStatus g_io_channel_set_encoding (GIOChannel *channel,
  3450.         const gchar *encoding,
  3451.         GError **error);
  3452. const gchar* g_io_channel_get_encoding (GIOChannel *channel);
  3453. void g_io_channel_set_close_on_unref (GIOChannel *channel,
  3454.         gboolean do_close);
  3455. gboolean g_io_channel_get_close_on_unref (GIOChannel *channel);
  3456.  
  3457.  
  3458. GIOStatus g_io_channel_flush (GIOChannel *channel,
  3459.         GError **error);
  3460. GIOStatus g_io_channel_read_line (GIOChannel *channel,
  3461.         gchar **str_return,
  3462.         gsize *length,
  3463.         gsize *terminator_pos,
  3464.         GError **error);
  3465. GIOStatus g_io_channel_read_line_string (GIOChannel *channel,
  3466.         GString *buffer,
  3467.         gsize *terminator_pos,
  3468.         GError **error);
  3469. GIOStatus g_io_channel_read_to_end (GIOChannel *channel,
  3470.         gchar **str_return,
  3471.         gsize *length,
  3472.         GError **error);
  3473. GIOStatus g_io_channel_read_chars (GIOChannel *channel,
  3474.         gchar *buf,
  3475.         gsize count,
  3476.         gsize *bytes_read,
  3477.         GError **error);
  3478. GIOStatus g_io_channel_read_unichar (GIOChannel *channel,
  3479.         gunichar *thechar,
  3480.         GError **error);
  3481. GIOStatus g_io_channel_write_chars (GIOChannel *channel,
  3482.         const gchar *buf,
  3483.         gssize count,
  3484.         gsize *bytes_written,
  3485.         GError **error);
  3486. GIOStatus g_io_channel_write_unichar (GIOChannel *channel,
  3487.         gunichar thechar,
  3488.         GError **error);
  3489. GIOStatus g_io_channel_seek_position (GIOChannel *channel,
  3490.         gint64 offset,
  3491.         GSeekType type,
  3492.         GError **error);
  3493.  
  3494.  
  3495.  
  3496.  
  3497. GIOChannel* g_io_channel_new_file (const gchar *filename,
  3498.         const gchar *mode,
  3499.         GError **error);
  3500.  
  3501.  
  3502.  
  3503. GQuark g_io_channel_error_quark (void);
  3504. GIOChannelError g_io_channel_error_from_errno (gint en);
  3505. # 294 "/usr/include/glib-2.0/glib/giochannel.h"
  3506. GIOChannel* g_io_channel_unix_new (int fd);
  3507. gint g_io_channel_unix_get_fd (GIOChannel *channel);
  3508.  
  3509.  
  3510.  
  3511. extern GSourceFuncs g_io_watch_funcs;
  3512. # 352 "/usr/include/glib-2.0/glib/giochannel.h"
  3513.  
  3514. # 48 "/usr/include/glib-2.0/glib.h" 2
  3515. # 1 "/usr/include/glib-2.0/glib/gkeyfile.h" 1
  3516. # 28 "/usr/include/glib-2.0/glib/gkeyfile.h"
  3517.  
  3518.  
  3519. typedef enum
  3520. {
  3521.   G_KEY_FILE_ERROR_UNKNOWN_ENCODING,
  3522.   G_KEY_FILE_ERROR_PARSE,
  3523.   G_KEY_FILE_ERROR_NOT_FOUND,
  3524.   G_KEY_FILE_ERROR_KEY_NOT_FOUND,
  3525.   G_KEY_FILE_ERROR_GROUP_NOT_FOUND,
  3526.   G_KEY_FILE_ERROR_INVALID_VALUE
  3527. } GKeyFileError;
  3528.  
  3529.  
  3530.  
  3531. GQuark g_key_file_error_quark (void);
  3532.  
  3533. typedef struct _GKeyFile GKeyFile;
  3534.  
  3535. typedef enum
  3536. {
  3537.   G_KEY_FILE_NONE = 0,
  3538.   G_KEY_FILE_KEEP_COMMENTS = 1 << 0,
  3539.   G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1
  3540. } GKeyFileFlags;
  3541.  
  3542. GKeyFile *g_key_file_new (void);
  3543. void g_key_file_free (GKeyFile *key_file);
  3544. void g_key_file_set_list_separator (GKeyFile *key_file,
  3545.           gchar separator);
  3546. gboolean g_key_file_load_from_file (GKeyFile *key_file,
  3547.           const gchar *file,
  3548.           GKeyFileFlags flags,
  3549.           GError **error);
  3550. gboolean g_key_file_load_from_data (GKeyFile *key_file,
  3551.           const gchar *data,
  3552.           gsize length,
  3553.           GKeyFileFlags flags,
  3554.           GError **error);
  3555. gboolean g_key_file_load_from_dirs (GKeyFile *key_file,
  3556.           const gchar *file,
  3557.           const gchar **search_dirs,
  3558.           gchar **full_path,
  3559.           GKeyFileFlags flags,
  3560.           GError **error);
  3561. gboolean g_key_file_load_from_data_dirs (GKeyFile *key_file,
  3562.           const gchar *file,
  3563.           gchar **full_path,
  3564.           GKeyFileFlags flags,
  3565.           GError **error);
  3566. gchar *g_key_file_to_data (GKeyFile *key_file,
  3567.           gsize *length,
  3568.           GError **error) __attribute__((__malloc__));
  3569. gchar *g_key_file_get_start_group (GKeyFile *key_file) __attribute__((__malloc__));
  3570. gchar **g_key_file_get_groups (GKeyFile *key_file,
  3571.           gsize *length) __attribute__((__malloc__));
  3572. gchar **g_key_file_get_keys (GKeyFile *key_file,
  3573.           const gchar *group_name,
  3574.           gsize *length,
  3575.           GError **error) __attribute__((__malloc__));
  3576. gboolean g_key_file_has_group (GKeyFile *key_file,
  3577.           const gchar *group_name);
  3578. gboolean g_key_file_has_key (GKeyFile *key_file,
  3579.           const gchar *group_name,
  3580.           const gchar *key,
  3581.           GError **error);
  3582. gchar *g_key_file_get_value (GKeyFile *key_file,
  3583.           const gchar *group_name,
  3584.           const gchar *key,
  3585.           GError **error) __attribute__((__malloc__));
  3586. void g_key_file_set_value (GKeyFile *key_file,
  3587.           const gchar *group_name,
  3588.           const gchar *key,
  3589.           const gchar *value);
  3590. gchar *g_key_file_get_string (GKeyFile *key_file,
  3591.           const gchar *group_name,
  3592.           const gchar *key,
  3593.           GError **error) __attribute__((__malloc__));
  3594. void g_key_file_set_string (GKeyFile *key_file,
  3595.           const gchar *group_name,
  3596.           const gchar *key,
  3597.           const gchar *string);
  3598. gchar *g_key_file_get_locale_string (GKeyFile *key_file,
  3599.           const gchar *group_name,
  3600.           const gchar *key,
  3601.           const gchar *locale,
  3602.           GError **error) __attribute__((__malloc__));
  3603. void g_key_file_set_locale_string (GKeyFile *key_file,
  3604.           const gchar *group_name,
  3605.           const gchar *key,
  3606.           const gchar *locale,
  3607.           const gchar *string);
  3608. gboolean g_key_file_get_boolean (GKeyFile *key_file,
  3609.           const gchar *group_name,
  3610.           const gchar *key,
  3611.           GError **error);
  3612. void g_key_file_set_boolean (GKeyFile *key_file,
  3613.           const gchar *group_name,
  3614.           const gchar *key,
  3615.           gboolean value);
  3616. gint g_key_file_get_integer (GKeyFile *key_file,
  3617.           const gchar *group_name,
  3618.           const gchar *key,
  3619.           GError **error);
  3620. void g_key_file_set_integer (GKeyFile *key_file,
  3621.           const gchar *group_name,
  3622.           const gchar *key,
  3623.           gint value);
  3624. gdouble g_key_file_get_double (GKeyFile *key_file,
  3625.                                              const gchar *group_name,
  3626.                                              const gchar *key,
  3627.                                              GError **error);
  3628. void g_key_file_set_double (GKeyFile *key_file,
  3629.                                              const gchar *group_name,
  3630.                                              const gchar *key,
  3631.                                              gdouble value);
  3632. gchar **g_key_file_get_string_list (GKeyFile *key_file,
  3633.           const gchar *group_name,
  3634.           const gchar *key,
  3635.           gsize *length,
  3636.           GError **error) __attribute__((__malloc__));
  3637. void g_key_file_set_string_list (GKeyFile *key_file,
  3638.           const gchar *group_name,
  3639.           const gchar *key,
  3640.           const gchar * const list[],
  3641.           gsize length);
  3642. gchar **g_key_file_get_locale_string_list (GKeyFile *key_file,
  3643.           const gchar *group_name,
  3644.           const gchar *key,
  3645.           const gchar *locale,
  3646.           gsize *length,
  3647.           GError **error) __attribute__((__malloc__));
  3648. void g_key_file_set_locale_string_list (GKeyFile *key_file,
  3649.           const gchar *group_name,
  3650.           const gchar *key,
  3651.           const gchar *locale,
  3652.           const gchar * const list[],
  3653.           gsize length);
  3654. gboolean *g_key_file_get_boolean_list (GKeyFile *key_file,
  3655.           const gchar *group_name,
  3656.           const gchar *key,
  3657.           gsize *length,
  3658.           GError **error) __attribute__((__malloc__));
  3659. void g_key_file_set_boolean_list (GKeyFile *key_file,
  3660.           const gchar *group_name,
  3661.           const gchar *key,
  3662.           gboolean list[],
  3663.           gsize length);
  3664. gint *g_key_file_get_integer_list (GKeyFile *key_file,
  3665.           const gchar *group_name,
  3666.           const gchar *key,
  3667.           gsize *length,
  3668.           GError **error) __attribute__((__malloc__));
  3669. void g_key_file_set_double_list (GKeyFile *key_file,
  3670.                                              const gchar *group_name,
  3671.                                              const gchar *key,
  3672.                                              gdouble list[],
  3673.                                              gsize length);
  3674. gdouble *g_key_file_get_double_list (GKeyFile *key_file,
  3675.                                              const gchar *group_name,
  3676.                                              const gchar *key,
  3677.                                              gsize *length,
  3678.                                              GError **error) __attribute__((__malloc__));
  3679. void g_key_file_set_integer_list (GKeyFile *key_file,
  3680.           const gchar *group_name,
  3681.           const gchar *key,
  3682.           gint list[],
  3683.           gsize length);
  3684. void g_key_file_set_comment (GKeyFile *key_file,
  3685.                                              const gchar *group_name,
  3686.                                              const gchar *key,
  3687.                                              const gchar *comment,
  3688.                                              GError **error);
  3689. gchar *g_key_file_get_comment (GKeyFile *key_file,
  3690.                                              const gchar *group_name,
  3691.                                              const gchar *key,
  3692.                                              GError **error) __attribute__((__malloc__));
  3693.  
  3694. void g_key_file_remove_comment (GKeyFile *key_file,
  3695.                                              const gchar *group_name,
  3696.                                              const gchar *key,
  3697.           GError **error);
  3698. void g_key_file_remove_key (GKeyFile *key_file,
  3699.           const gchar *group_name,
  3700.           const gchar *key,
  3701.           GError **error);
  3702. void g_key_file_remove_group (GKeyFile *key_file,
  3703.           const gchar *group_name,
  3704.           GError **error);
  3705. # 244 "/usr/include/glib-2.0/glib/gkeyfile.h"
  3706.  
  3707. # 49 "/usr/include/glib-2.0/glib.h" 2
  3708.  
  3709.  
  3710.  
  3711. # 1 "/usr/include/glib-2.0/glib/gmappedfile.h" 1
  3712. # 26 "/usr/include/glib-2.0/glib/gmappedfile.h"
  3713.  
  3714.  
  3715. typedef struct _GMappedFile GMappedFile;
  3716.  
  3717. GMappedFile *g_mapped_file_new (const gchar *filename,
  3718.              gboolean writable,
  3719.              GError **error) __attribute__((__malloc__));
  3720. gsize g_mapped_file_get_length (GMappedFile *file);
  3721. gchar *g_mapped_file_get_contents (GMappedFile *file);
  3722. void g_mapped_file_free (GMappedFile *file);
  3723.  
  3724.  
  3725. # 53 "/usr/include/glib-2.0/glib.h" 2
  3726. # 1 "/usr/include/glib-2.0/glib/gmarkup.h" 1
  3727. # 28 "/usr/include/glib-2.0/glib/gmarkup.h"
  3728.  
  3729.  
  3730. typedef enum
  3731. {
  3732.   G_MARKUP_ERROR_BAD_UTF8,
  3733.   G_MARKUP_ERROR_EMPTY,
  3734.   G_MARKUP_ERROR_PARSE,
  3735.  
  3736.  
  3737.  
  3738.   G_MARKUP_ERROR_UNKNOWN_ELEMENT,
  3739.   G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE,
  3740.   G_MARKUP_ERROR_INVALID_CONTENT
  3741. } GMarkupError;
  3742.  
  3743.  
  3744.  
  3745. GQuark g_markup_error_quark (void);
  3746.  
  3747. typedef enum
  3748. {
  3749.   G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0,
  3750.   G_MARKUP_TREAT_CDATA_AS_TEXT = 1 << 1
  3751. } GMarkupParseFlags;
  3752.  
  3753. typedef struct _GMarkupParseContext GMarkupParseContext;
  3754. typedef struct _GMarkupParser GMarkupParser;
  3755.  
  3756. struct _GMarkupParser
  3757. {
  3758.  
  3759.   void (*start_element) (GMarkupParseContext *context,
  3760.                           const gchar *element_name,
  3761.                           const gchar **attribute_names,
  3762.                           const gchar **attribute_values,
  3763.                           gpointer user_data,
  3764.                           GError **error);
  3765.  
  3766.  
  3767.   void (*end_element) (GMarkupParseContext *context,
  3768.                           const gchar *element_name,
  3769.                           gpointer user_data,
  3770.                           GError **error);
  3771.  
  3772.  
  3773.  
  3774.   void (*text) (GMarkupParseContext *context,
  3775.                           const gchar *text,
  3776.                           gsize text_len,
  3777.                           gpointer user_data,
  3778.                           GError **error);
  3779.  
  3780.  
  3781.  
  3782.  
  3783.  
  3784.  
  3785.   void (*passthrough) (GMarkupParseContext *context,
  3786.                           const gchar *passthrough_text,
  3787.                           gsize text_len,
  3788.                           gpointer user_data,
  3789.                           GError **error);
  3790.  
  3791.  
  3792.  
  3793.  
  3794.   void (*error) (GMarkupParseContext *context,
  3795.                           GError *error,
  3796.                           gpointer user_data);
  3797. };
  3798.  
  3799. GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser,
  3800.                                                    GMarkupParseFlags flags,
  3801.                                                    gpointer user_data,
  3802.                                                    GDestroyNotify user_data_dnotify);
  3803. void g_markup_parse_context_free (GMarkupParseContext *context);
  3804. gboolean g_markup_parse_context_parse (GMarkupParseContext *context,
  3805.                                                    const gchar *text,
  3806.                                                    gssize text_len,
  3807.                                                    GError **error);
  3808.  
  3809. gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context,
  3810.                                                        GError **error);
  3811. const gchar *g_markup_parse_context_get_element (GMarkupParseContext *context);
  3812.  
  3813.  
  3814. void g_markup_parse_context_get_position (GMarkupParseContext *context,
  3815.                                                           gint *line_number,
  3816.                                                           gint *char_number);
  3817.  
  3818.  
  3819. gchar* g_markup_escape_text (const gchar *text,
  3820.                              gssize length);
  3821.  
  3822. gchar *g_markup_printf_escaped (const char *format,
  3823.     ...) __attribute__((__format__ (__printf__, 1, 2)));
  3824. gchar *g_markup_vprintf_escaped (const char *format,
  3825.      va_list args);
  3826.  
  3827.  
  3828. # 54 "/usr/include/glib-2.0/glib.h" 2
  3829.  
  3830. # 1 "/usr/include/glib-2.0/glib/gmessages.h" 1
  3831. # 37 "/usr/include/glib-2.0/glib/gmessages.h"
  3832.        
  3833. # 38 "/usr/include/glib-2.0/glib/gmessages.h" 3
  3834.  
  3835.  
  3836.  
  3837.  
  3838.  
  3839.  
  3840. gsize g_printf_string_upper_bound (const gchar* format,
  3841.          va_list args);
  3842. # 54 "/usr/include/glib-2.0/glib/gmessages.h" 3
  3843. typedef enum
  3844. {
  3845.  
  3846.   G_LOG_FLAG_RECURSION = 1 << 0,
  3847.   G_LOG_FLAG_FATAL = 1 << 1,
  3848.  
  3849.  
  3850.   G_LOG_LEVEL_ERROR = 1 << 2,
  3851.   G_LOG_LEVEL_CRITICAL = 1 << 3,
  3852.   G_LOG_LEVEL_WARNING = 1 << 4,
  3853.   G_LOG_LEVEL_MESSAGE = 1 << 5,
  3854.   G_LOG_LEVEL_INFO = 1 << 6,
  3855.   G_LOG_LEVEL_DEBUG = 1 << 7,
  3856.  
  3857.   G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL)
  3858. } GLogLevelFlags;
  3859.  
  3860.  
  3861.  
  3862.  
  3863. typedef void (*GLogFunc) (const gchar *log_domain,
  3864.                                                  GLogLevelFlags log_level,
  3865.                                                  const gchar *message,
  3866.                                                  gpointer user_data);
  3867.  
  3868.  
  3869.  
  3870. guint g_log_set_handler (const gchar *log_domain,
  3871.                                          GLogLevelFlags log_levels,
  3872.                                          GLogFunc log_func,
  3873.                                          gpointer user_data);
  3874. void g_log_remove_handler (const gchar *log_domain,
  3875.                                          guint handler_id);
  3876. void g_log_default_handler (const gchar *log_domain,
  3877.                                          GLogLevelFlags log_level,
  3878.                                          const gchar *message,
  3879.                                          gpointer unused_data);
  3880. GLogFunc g_log_set_default_handler (GLogFunc log_func,
  3881.         gpointer user_data);
  3882. void g_log (const gchar *log_domain,
  3883.                                          GLogLevelFlags log_level,
  3884.                                          const gchar *format,
  3885.                                          ...) __attribute__((__format__ (__printf__, 3, 4)));
  3886. void g_logv (const gchar *log_domain,
  3887.                                          GLogLevelFlags log_level,
  3888.                                          const gchar *format,
  3889.                                          va_list args);
  3890. GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain,
  3891.                                          GLogLevelFlags fatal_mask);
  3892. GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
  3893.  
  3894.  
  3895. __attribute__((visibility("hidden"))) void _g_log_fallback_handler (const gchar *log_domain,
  3896.        GLogLevelFlags log_level,
  3897.        const gchar *message,
  3898.        gpointer unused_data);
  3899.  
  3900.  
  3901. void g_return_if_fail_warning (const char *log_domain,
  3902.           const char *pretty_function,
  3903.           const char *expression);
  3904. void g_assert_warning (const char *log_domain,
  3905.           const char *file,
  3906.           const int line,
  3907.                  const char *pretty_function,
  3908.                  const char *expression) __attribute__((__noreturn__));
  3909. # 205 "/usr/include/glib-2.0/glib/gmessages.h" 3
  3910. typedef void (*GPrintFunc) (const gchar *string);
  3911. void g_print (const gchar *format,
  3912.                                          ...) __attribute__((__format__ (__printf__, 1, 2)));
  3913. GPrintFunc g_set_print_handler (GPrintFunc func);
  3914. void g_printerr (const gchar *format,
  3915.                                          ...) __attribute__((__format__ (__printf__, 1, 2)));
  3916. GPrintFunc g_set_printerr_handler (GPrintFunc func);
  3917. # 361 "/usr/include/glib-2.0/glib/gmessages.h" 3
  3918.  
  3919. # 56 "/usr/include/glib-2.0/glib.h" 2
  3920. # 1 "/usr/include/glib-2.0/glib/gnode.h" 1
  3921. # 32 "/usr/include/glib-2.0/glib/gnode.h"
  3922.  
  3923.  
  3924. typedef struct _GNode GNode;
  3925.  
  3926.  
  3927. typedef enum
  3928. {
  3929.   G_TRAVERSE_LEAVES = 1 << 0,
  3930.   G_TRAVERSE_NON_LEAVES = 1 << 1,
  3931.   G_TRAVERSE_ALL = G_TRAVERSE_LEAVES | G_TRAVERSE_NON_LEAVES,
  3932.   G_TRAVERSE_MASK = 0x03,
  3933.   G_TRAVERSE_LEAFS = G_TRAVERSE_LEAVES,
  3934.   G_TRAVERSE_NON_LEAFS = G_TRAVERSE_NON_LEAVES
  3935. } GTraverseFlags;
  3936.  
  3937.  
  3938. typedef enum
  3939. {
  3940.   G_IN_ORDER,
  3941.   G_PRE_ORDER,
  3942.   G_POST_ORDER,
  3943.   G_LEVEL_ORDER
  3944. } GTraverseType;
  3945.  
  3946. typedef gboolean (*GNodeTraverseFunc) (GNode *node,
  3947.        gpointer data);
  3948. typedef void (*GNodeForeachFunc) (GNode *node,
  3949.        gpointer data);
  3950. typedef gpointer (*GCopyFunc) (gconstpointer src,
  3951.                                                  gpointer data);
  3952.  
  3953.  
  3954.  
  3955. struct _GNode
  3956. {
  3957.   gpointer data;
  3958.   GNode *next;
  3959.   GNode *prev;
  3960.   GNode *parent;
  3961.   GNode *children;
  3962. };
  3963.  
  3964.  
  3965.  
  3966.  
  3967.  
  3968.  
  3969. GNode* g_node_new (gpointer data);
  3970. void g_node_destroy (GNode *root);
  3971. void g_node_unlink (GNode *node);
  3972. GNode* g_node_copy_deep (GNode *node,
  3973.      GCopyFunc copy_func,
  3974.      gpointer data);
  3975. GNode* g_node_copy (GNode *node);
  3976. GNode* g_node_insert (GNode *parent,
  3977.      gint position,
  3978.      GNode *node);
  3979. GNode* g_node_insert_before (GNode *parent,
  3980.      GNode *sibling,
  3981.      GNode *node);
  3982. GNode* g_node_insert_after (GNode *parent,
  3983.      GNode *sibling,
  3984.      GNode *node);
  3985. GNode* g_node_prepend (GNode *parent,
  3986.      GNode *node);
  3987. guint g_node_n_nodes (GNode *root,
  3988.      GTraverseFlags flags);
  3989. GNode* g_node_get_root (GNode *node);
  3990. gboolean g_node_is_ancestor (GNode *node,
  3991.      GNode *descendant);
  3992. guint g_node_depth (GNode *node);
  3993. GNode* g_node_find (GNode *root,
  3994.      GTraverseType order,
  3995.      GTraverseFlags flags,
  3996.      gpointer data);
  3997. # 125 "/usr/include/glib-2.0/glib/gnode.h"
  3998. void g_node_traverse (GNode *root,
  3999.      GTraverseType order,
  4000.      GTraverseFlags flags,
  4001.      gint max_depth,
  4002.      GNodeTraverseFunc func,
  4003.      gpointer data);
  4004.  
  4005.  
  4006.  
  4007.  
  4008.  
  4009.  
  4010. guint g_node_max_height (GNode *root);
  4011.  
  4012. void g_node_children_foreach (GNode *node,
  4013.       GTraverseFlags flags,
  4014.       GNodeForeachFunc func,
  4015.       gpointer data);
  4016. void g_node_reverse_children (GNode *node);
  4017. guint g_node_n_children (GNode *node);
  4018. GNode* g_node_nth_child (GNode *node,
  4019.       guint n);
  4020. GNode* g_node_last_child (GNode *node);
  4021. GNode* g_node_find_child (GNode *node,
  4022.       GTraverseFlags flags,
  4023.       gpointer data);
  4024. gint g_node_child_position (GNode *node,
  4025.       GNode *child);
  4026. gint g_node_child_index (GNode *node,
  4027.       gpointer data);
  4028.  
  4029. GNode* g_node_first_sibling (GNode *node);
  4030. GNode* g_node_last_sibling (GNode *node);
  4031. # 167 "/usr/include/glib-2.0/glib/gnode.h"
  4032. void g_node_push_allocator (gpointer dummy);
  4033. void g_node_pop_allocator (void);
  4034.  
  4035.  
  4036. # 57 "/usr/include/glib-2.0/glib.h" 2
  4037. # 1 "/usr/include/glib-2.0/glib/goption.h" 1
  4038. # 27 "/usr/include/glib-2.0/glib/goption.h"
  4039.  
  4040.  
  4041. typedef struct _GOptionContext GOptionContext;
  4042. typedef struct _GOptionGroup GOptionGroup;
  4043. typedef struct _GOptionEntry GOptionEntry;
  4044.  
  4045. typedef enum
  4046. {
  4047.   G_OPTION_FLAG_HIDDEN = 1 << 0,
  4048.   G_OPTION_FLAG_IN_MAIN = 1 << 1,
  4049.   G_OPTION_FLAG_REVERSE = 1 << 2,
  4050.   G_OPTION_FLAG_NO_ARG = 1 << 3,
  4051.   G_OPTION_FLAG_FILENAME = 1 << 4,
  4052.   G_OPTION_FLAG_OPTIONAL_ARG = 1 << 5,
  4053.   G_OPTION_FLAG_NOALIAS = 1 << 6
  4054. } GOptionFlags;
  4055.  
  4056. typedef enum
  4057. {
  4058.   G_OPTION_ARG_NONE,
  4059.   G_OPTION_ARG_STRING,
  4060.   G_OPTION_ARG_INT,
  4061.   G_OPTION_ARG_CALLBACK,
  4062.   G_OPTION_ARG_FILENAME,
  4063.   G_OPTION_ARG_STRING_ARRAY,
  4064.   G_OPTION_ARG_FILENAME_ARRAY,
  4065.   G_OPTION_ARG_DOUBLE,
  4066.   G_OPTION_ARG_INT64
  4067. } GOptionArg;
  4068.  
  4069. typedef gboolean (*GOptionArgFunc) (const gchar *option_name,
  4070.         const gchar *value,
  4071.         gpointer data,
  4072.         GError **error);
  4073.  
  4074. typedef gboolean (*GOptionParseFunc) (GOptionContext *context,
  4075.           GOptionGroup *group,
  4076.           gpointer data,
  4077.           GError **error);
  4078.  
  4079. typedef void (*GOptionErrorFunc) (GOptionContext *context,
  4080.       GOptionGroup *group,
  4081.       gpointer data,
  4082.       GError **error);
  4083.  
  4084.  
  4085.  
  4086. typedef enum
  4087. {
  4088.   G_OPTION_ERROR_UNKNOWN_OPTION,
  4089.   G_OPTION_ERROR_BAD_VALUE,
  4090.   G_OPTION_ERROR_FAILED
  4091. } GOptionError;
  4092.  
  4093. GQuark g_option_error_quark (void);
  4094.  
  4095.  
  4096. struct _GOptionEntry
  4097. {
  4098.   const gchar *long_name;
  4099.   gchar short_name;
  4100.   gint flags;
  4101.  
  4102.   GOptionArg arg;
  4103.   gpointer arg_data;
  4104.  
  4105.   const gchar *description;
  4106.   const gchar *arg_description;
  4107. };
  4108.  
  4109.  
  4110.  
  4111. GOptionContext *g_option_context_new (const gchar *parameter_string);
  4112. void g_option_context_set_summary (GOptionContext *context,
  4113.                                                    const gchar *summary);
  4114. const gchar *g_option_context_get_summary (GOptionContext *context);
  4115. void g_option_context_set_description (GOptionContext *context,
  4116.                                                    const gchar *description);
  4117. const gchar *g_option_context_get_description (GOptionContext *context);
  4118. void g_option_context_free (GOptionContext *context);
  4119. void g_option_context_set_help_enabled (GOptionContext *context,
  4120.          gboolean help_enabled);
  4121. gboolean g_option_context_get_help_enabled (GOptionContext *context);
  4122. void g_option_context_set_ignore_unknown_options (GOptionContext *context,
  4123.             gboolean ignore_unknown);
  4124. gboolean g_option_context_get_ignore_unknown_options (GOptionContext *context);
  4125.  
  4126. void g_option_context_add_main_entries (GOptionContext *context,
  4127.          const GOptionEntry *entries,
  4128.          const gchar *translation_domain);
  4129. gboolean g_option_context_parse (GOptionContext *context,
  4130.          gint *argc,
  4131.          gchar ***argv,
  4132.          GError **error);
  4133. void g_option_context_set_translate_func (GOptionContext *context,
  4134.            GTranslateFunc func,
  4135.            gpointer data,
  4136.            GDestroyNotify destroy_notify);
  4137. void g_option_context_set_translation_domain (GOptionContext *context,
  4138.         const gchar *domain);
  4139.  
  4140. void g_option_context_add_group (GOptionContext *context,
  4141.        GOptionGroup *group);
  4142. void g_option_context_set_main_group (GOptionContext *context,
  4143.             GOptionGroup *group);
  4144. GOptionGroup *g_option_context_get_main_group (GOptionContext *context);
  4145. gchar *g_option_context_get_help (GOptionContext *context,
  4146.                                                gboolean main_help,
  4147.                                                GOptionGroup *group);
  4148.  
  4149. GOptionGroup *g_option_group_new (const gchar *name,
  4150.            const gchar *description,
  4151.            const gchar *help_description,
  4152.            gpointer user_data,
  4153.            GDestroyNotify destroy);
  4154. void g_option_group_set_parse_hooks (GOptionGroup *group,
  4155.            GOptionParseFunc pre_parse_func,
  4156.            GOptionParseFunc post_parse_func);
  4157. void g_option_group_set_error_hook (GOptionGroup *group,
  4158.            GOptionErrorFunc error_func);
  4159. void g_option_group_free (GOptionGroup *group);
  4160. void g_option_group_add_entries (GOptionGroup *group,
  4161.            const GOptionEntry *entries);
  4162. void g_option_group_set_translate_func (GOptionGroup *group,
  4163.            GTranslateFunc func,
  4164.            gpointer data,
  4165.            GDestroyNotify destroy_notify);
  4166. void g_option_group_set_translation_domain (GOptionGroup *group,
  4167.            const gchar *domain);
  4168.  
  4169.  
  4170.  
  4171. # 58 "/usr/include/glib-2.0/glib.h" 2
  4172. # 1 "/usr/include/glib-2.0/glib/gpattern.h" 1
  4173. # 24 "/usr/include/glib-2.0/glib/gpattern.h"
  4174.  
  4175.  
  4176.  
  4177. typedef struct _GPatternSpec GPatternSpec;
  4178.  
  4179. GPatternSpec* g_pattern_spec_new (const gchar *pattern);
  4180. void g_pattern_spec_free (GPatternSpec *pspec);
  4181. gboolean g_pattern_spec_equal (GPatternSpec *pspec1,
  4182.      GPatternSpec *pspec2);
  4183. gboolean g_pattern_match (GPatternSpec *pspec,
  4184.      guint string_length,
  4185.      const gchar *string,
  4186.      const gchar *string_reversed);
  4187. gboolean g_pattern_match_string (GPatternSpec *pspec,
  4188.      const gchar *string);
  4189. gboolean g_pattern_match_simple (const gchar *pattern,
  4190.      const gchar *string);
  4191.  
  4192.  
  4193. # 59 "/usr/include/glib-2.0/glib.h" 2
  4194. # 1 "/usr/include/glib-2.0/glib/gprimes.h" 1
  4195. # 32 "/usr/include/glib-2.0/glib/gprimes.h"
  4196.  
  4197. # 43 "/usr/include/glib-2.0/glib/gprimes.h"
  4198. guint g_spaced_primes_closest (guint num) __attribute__((__const__));
  4199.  
  4200.  
  4201. # 60 "/usr/include/glib-2.0/glib.h" 2
  4202. # 1 "/usr/include/glib-2.0/glib/gqsort.h" 1
  4203. # 33 "/usr/include/glib-2.0/glib/gqsort.h"
  4204.  
  4205.  
  4206. void g_qsort_with_data (gconstpointer pbase,
  4207.    gint total_elems,
  4208.    gsize size,
  4209.    GCompareDataFunc compare_func,
  4210.    gpointer user_data);
  4211.  
  4212.  
  4213. # 61 "/usr/include/glib-2.0/glib.h" 2
  4214.  
  4215. # 1 "/usr/include/glib-2.0/glib/gqueue.h" 1
  4216. # 32 "/usr/include/glib-2.0/glib/gqueue.h"
  4217.  
  4218.  
  4219. typedef struct _GQueue GQueue;
  4220.  
  4221. struct _GQueue
  4222. {
  4223.   GList *head;
  4224.   GList *tail;
  4225.   guint length;
  4226. };
  4227.  
  4228.  
  4229.  
  4230.  
  4231.  
  4232. GQueue* g_queue_new (void);
  4233. void g_queue_free (GQueue *queue);
  4234. void g_queue_init (GQueue *queue);
  4235. void g_queue_clear (GQueue *queue);
  4236. gboolean g_queue_is_empty (GQueue *queue);
  4237. guint g_queue_get_length (GQueue *queue);
  4238. void g_queue_reverse (GQueue *queue);
  4239. GQueue * g_queue_copy (GQueue *queue);
  4240. void g_queue_foreach (GQueue *queue,
  4241.      GFunc func,
  4242.      gpointer user_data);
  4243. GList * g_queue_find (GQueue *queue,
  4244.      gconstpointer data);
  4245. GList * g_queue_find_custom (GQueue *queue,
  4246.      gconstpointer data,
  4247.      GCompareFunc func);
  4248. void g_queue_sort (GQueue *queue,
  4249.      GCompareDataFunc compare_func,
  4250.      gpointer user_data);
  4251.  
  4252. void g_queue_push_head (GQueue *queue,
  4253.      gpointer data);
  4254. void g_queue_push_tail (GQueue *queue,
  4255.      gpointer data);
  4256. void g_queue_push_nth (GQueue *queue,
  4257.      gpointer data,
  4258.      gint n);
  4259. gpointer g_queue_pop_head (GQueue *queue);
  4260. gpointer g_queue_pop_tail (GQueue *queue);
  4261. gpointer g_queue_pop_nth (GQueue *queue,
  4262.      guint n);
  4263. gpointer g_queue_peek_head (GQueue *queue);
  4264. gpointer g_queue_peek_tail (GQueue *queue);
  4265. gpointer g_queue_peek_nth (GQueue *queue,
  4266.      guint n);
  4267. gint g_queue_index (GQueue *queue,
  4268.      gconstpointer data);
  4269. void g_queue_remove (GQueue *queue,
  4270.      gconstpointer data);
  4271. void g_queue_remove_all (GQueue *queue,
  4272.      gconstpointer data);
  4273. void g_queue_insert_before (GQueue *queue,
  4274.      GList *sibling,
  4275.      gpointer data);
  4276. void g_queue_insert_after (GQueue *queue,
  4277.      GList *sibling,
  4278.      gpointer data);
  4279. void g_queue_insert_sorted (GQueue *queue,
  4280.      gpointer data,
  4281.      GCompareDataFunc func,
  4282.      gpointer user_data);
  4283.  
  4284. void g_queue_push_head_link (GQueue *queue,
  4285.      GList *link_);
  4286. void g_queue_push_tail_link (GQueue *queue,
  4287.      GList *link_);
  4288. void g_queue_push_nth_link (GQueue *queue,
  4289.      gint n,
  4290.      GList *link_);
  4291. GList* g_queue_pop_head_link (GQueue *queue);
  4292. GList* g_queue_pop_tail_link (GQueue *queue);
  4293. GList* g_queue_pop_nth_link (GQueue *queue,
  4294.      guint n);
  4295. GList* g_queue_peek_head_link (GQueue *queue);
  4296. GList* g_queue_peek_tail_link (GQueue *queue);
  4297. GList* g_queue_peek_nth_link (GQueue *queue,
  4298.      guint n);
  4299. gint g_queue_link_index (GQueue *queue,
  4300.      GList *link_);
  4301. void g_queue_unlink (GQueue *queue,
  4302.      GList *link_);
  4303. void g_queue_delete_link (GQueue *queue,
  4304.      GList *link_);
  4305.  
  4306.  
  4307. # 63 "/usr/include/glib-2.0/glib.h" 2
  4308. # 1 "/usr/include/glib-2.0/glib/grand.h" 1
  4309. # 32 "/usr/include/glib-2.0/glib/grand.h"
  4310.  
  4311.  
  4312. typedef struct _GRand GRand;
  4313. # 45 "/usr/include/glib-2.0/glib/grand.h"
  4314. GRand* g_rand_new_with_seed (guint32 seed);
  4315. GRand* g_rand_new_with_seed_array (const guint32 *seed,
  4316.         guint seed_length);
  4317. GRand* g_rand_new (void);
  4318. void g_rand_free (GRand *rand_);
  4319. GRand* g_rand_copy (GRand *rand_);
  4320. void g_rand_set_seed (GRand *rand_,
  4321.           guint32 seed);
  4322. void g_rand_set_seed_array (GRand *rand_,
  4323.           const guint32 *seed,
  4324.           guint seed_length);
  4325.  
  4326.  
  4327.  
  4328. guint32 g_rand_int (GRand *rand_);
  4329. gint32 g_rand_int_range (GRand *rand_,
  4330.           gint32 begin,
  4331.           gint32 end);
  4332. gdouble g_rand_double (GRand *rand_);
  4333. gdouble g_rand_double_range (GRand *rand_,
  4334.           gdouble begin,
  4335.           gdouble end);
  4336. void g_random_set_seed (guint32 seed);
  4337.  
  4338.  
  4339.  
  4340. guint32 g_random_int (void);
  4341. gint32 g_random_int_range (gint32 begin,
  4342.           gint32 end);
  4343. gdouble g_random_double (void);
  4344. gdouble g_random_double_range (gdouble begin,
  4345.           gdouble end);
  4346.  
  4347.  
  4348.  
  4349. # 64 "/usr/include/glib-2.0/glib.h" 2
  4350. # 1 "/usr/include/glib-2.0/glib/grel.h" 1
  4351. # 32 "/usr/include/glib-2.0/glib/grel.h"
  4352.  
  4353.  
  4354. typedef struct _GRelation GRelation;
  4355. typedef struct _GTuples GTuples;
  4356.  
  4357. struct _GTuples
  4358. {
  4359.   guint len;
  4360. };
  4361. # 65 "/usr/include/glib-2.0/glib/grel.h"
  4362. GRelation* g_relation_new (gint fields);
  4363. void g_relation_destroy (GRelation *relation);
  4364. void g_relation_index (GRelation *relation,
  4365.                                gint field,
  4366.                                GHashFunc hash_func,
  4367.                                GEqualFunc key_equal_func);
  4368. void g_relation_insert (GRelation *relation,
  4369.                                ...);
  4370. gint g_relation_delete (GRelation *relation,
  4371.                                gconstpointer key,
  4372.                                gint field);
  4373. GTuples* g_relation_select (GRelation *relation,
  4374.                                gconstpointer key,
  4375.                                gint field);
  4376. gint g_relation_count (GRelation *relation,
  4377.                                gconstpointer key,
  4378.                                gint field);
  4379. gboolean g_relation_exists (GRelation *relation,
  4380.                                ...);
  4381. void g_relation_print (GRelation *relation);
  4382.  
  4383. void g_tuples_destroy (GTuples *tuples);
  4384. gpointer g_tuples_index (GTuples *tuples,
  4385.                                gint index_,
  4386.                                gint field);
  4387.  
  4388.  
  4389. # 65 "/usr/include/glib-2.0/glib.h" 2
  4390. # 1 "/usr/include/glib-2.0/glib/gregex.h" 1
  4391. # 28 "/usr/include/glib-2.0/glib/gregex.h"
  4392.  
  4393.  
  4394. typedef enum
  4395. {
  4396.   G_REGEX_ERROR_COMPILE,
  4397.   G_REGEX_ERROR_OPTIMIZE,
  4398.   G_REGEX_ERROR_REPLACE,
  4399.   G_REGEX_ERROR_MATCH
  4400. } GRegexError;
  4401.  
  4402.  
  4403.  
  4404. GQuark g_regex_error_quark (void);
  4405.  
  4406.  
  4407.  
  4408. typedef enum
  4409. {
  4410.   G_REGEX_CASELESS = 1 << 0,
  4411.   G_REGEX_MULTILINE = 1 << 1,
  4412.   G_REGEX_DOTALL = 1 << 2,
  4413.   G_REGEX_EXTENDED = 1 << 3,
  4414.   G_REGEX_ANCHORED = 1 << 4,
  4415.   G_REGEX_DOLLAR_ENDONLY = 1 << 5,
  4416.   G_REGEX_UNGREEDY = 1 << 9,
  4417.   G_REGEX_RAW = 1 << 11,
  4418.   G_REGEX_NO_AUTO_CAPTURE = 1 << 12,
  4419.   G_REGEX_OPTIMIZE = 1 << 13,
  4420.   G_REGEX_DUPNAMES = 1 << 19,
  4421.   G_REGEX_NEWLINE_CR = 1 << 20,
  4422.   G_REGEX_NEWLINE_LF = 1 << 21,
  4423.   G_REGEX_NEWLINE_CRLF = G_REGEX_NEWLINE_CR | G_REGEX_NEWLINE_LF
  4424. } GRegexCompileFlags;
  4425.  
  4426.  
  4427.  
  4428. typedef enum
  4429. {
  4430.   G_REGEX_MATCH_ANCHORED = 1 << 4,
  4431.   G_REGEX_MATCH_NOTBOL = 1 << 7,
  4432.   G_REGEX_MATCH_NOTEOL = 1 << 8,
  4433.   G_REGEX_MATCH_NOTEMPTY = 1 << 10,
  4434.   G_REGEX_MATCH_PARTIAL = 1 << 15,
  4435.   G_REGEX_MATCH_NEWLINE_CR = 1 << 20,
  4436.   G_REGEX_MATCH_NEWLINE_LF = 1 << 21,
  4437.   G_REGEX_MATCH_NEWLINE_CRLF = G_REGEX_MATCH_NEWLINE_CR | G_REGEX_MATCH_NEWLINE_LF,
  4438.   G_REGEX_MATCH_NEWLINE_ANY = 1 << 22
  4439. } GRegexMatchFlags;
  4440.  
  4441. typedef struct _GRegex GRegex;
  4442. typedef struct _GMatchInfo GMatchInfo;
  4443.  
  4444. typedef gboolean (*GRegexEvalCallback) (const GMatchInfo *match_info,
  4445.        GString *result,
  4446.        gpointer user_data);
  4447.  
  4448.  
  4449. GRegex *g_regex_new (const gchar *pattern,
  4450.        GRegexCompileFlags compile_options,
  4451.        GRegexMatchFlags match_options,
  4452.        GError **error);
  4453. GRegex *g_regex_ref (GRegex *regex);
  4454. void g_regex_unref (GRegex *regex);
  4455. const gchar *g_regex_get_pattern (const GRegex *regex);
  4456. gint g_regex_get_max_backref (const GRegex *regex);
  4457. gint g_regex_get_capture_count (const GRegex *regex);
  4458. gint g_regex_get_string_number (const GRegex *regex,
  4459.        const gchar *name);
  4460. gchar *g_regex_escape_string (const gchar *string,
  4461.        gint length);
  4462.  
  4463.  
  4464. gboolean g_regex_match_simple (const gchar *pattern,
  4465.        const gchar *string,
  4466.        GRegexCompileFlags compile_options,
  4467.        GRegexMatchFlags match_options);
  4468. gboolean g_regex_match (const GRegex *regex,
  4469.        const gchar *string,
  4470.        GRegexMatchFlags match_options,
  4471.        GMatchInfo **match_info);
  4472. gboolean g_regex_match_full (const GRegex *regex,
  4473.        const gchar *string,
  4474.        gssize string_len,
  4475.        gint start_position,
  4476.        GRegexMatchFlags match_options,
  4477.        GMatchInfo **match_info,
  4478.        GError **error);
  4479. gboolean g_regex_match_all (const GRegex *regex,
  4480.        const gchar *string,
  4481.        GRegexMatchFlags match_options,
  4482.        GMatchInfo **match_info);
  4483. gboolean g_regex_match_all_full (const GRegex *regex,
  4484.        const gchar *string,
  4485.        gssize string_len,
  4486.        gint start_position,
  4487.        GRegexMatchFlags match_options,
  4488.        GMatchInfo **match_info,
  4489.        GError **error);
  4490.  
  4491.  
  4492. gchar **g_regex_split_simple (const gchar *pattern,
  4493.        const gchar *string,
  4494.        GRegexCompileFlags compile_options,
  4495.        GRegexMatchFlags match_options);
  4496. gchar **g_regex_split (const GRegex *regex,
  4497.        const gchar *string,
  4498.        GRegexMatchFlags match_options);
  4499. gchar **g_regex_split_full (const GRegex *regex,
  4500.        const gchar *string,
  4501.        gssize string_len,
  4502.        gint start_position,
  4503.        GRegexMatchFlags match_options,
  4504.        gint max_tokens,
  4505.        GError **error);
  4506.  
  4507.  
  4508. gchar *g_regex_replace (const GRegex *regex,
  4509.        const gchar *string,
  4510.        gssize string_len,
  4511.        gint start_position,
  4512.        const gchar *replacement,
  4513.        GRegexMatchFlags match_options,
  4514.        GError **error);
  4515. gchar *g_regex_replace_literal (const GRegex *regex,
  4516.        const gchar *string,
  4517.        gssize string_len,
  4518.        gint start_position,
  4519.        const gchar *replacement,
  4520.        GRegexMatchFlags match_options,
  4521.        GError **error);
  4522. gchar *g_regex_replace_eval (const GRegex *regex,
  4523.        const gchar *string,
  4524.        gssize string_len,
  4525.        gint start_position,
  4526.        GRegexMatchFlags match_options,
  4527.        GRegexEvalCallback eval,
  4528.        gpointer user_data,
  4529.        GError **error);
  4530. gboolean g_regex_check_replacement (const gchar *replacement,
  4531.        gboolean *has_references,
  4532.        GError **error);
  4533.  
  4534.  
  4535. GRegex *g_match_info_get_regex (const GMatchInfo *match_info);
  4536. const gchar *g_match_info_get_string (const GMatchInfo *match_info);
  4537.  
  4538. void g_match_info_free (GMatchInfo *match_info);
  4539. gboolean g_match_info_next (GMatchInfo *match_info,
  4540.        GError **error);
  4541. gboolean g_match_info_matches (const GMatchInfo *match_info);
  4542. gint g_match_info_get_match_count (const GMatchInfo *match_info);
  4543. gboolean g_match_info_is_partial_match (const GMatchInfo *match_info);
  4544. gchar *g_match_info_expand_references(const GMatchInfo *match_info,
  4545.        const gchar *string_to_expand,
  4546.        GError **error);
  4547. gchar *g_match_info_fetch (const GMatchInfo *match_info,
  4548.        gint match_num);
  4549. gboolean g_match_info_fetch_pos (const GMatchInfo *match_info,
  4550.        gint match_num,
  4551.        gint *start_pos,
  4552.        gint *end_pos);
  4553. gchar *g_match_info_fetch_named (const GMatchInfo *match_info,
  4554.        const gchar *name);
  4555. gboolean g_match_info_fetch_named_pos (const GMatchInfo *match_info,
  4556.        const gchar *name,
  4557.        gint *start_pos,
  4558.        gint *end_pos);
  4559. gchar **g_match_info_fetch_all (const GMatchInfo *match_info);
  4560.  
  4561.  
  4562. # 66 "/usr/include/glib-2.0/glib.h" 2
  4563. # 1 "/usr/include/glib-2.0/glib/gscanner.h" 1
  4564. # 33 "/usr/include/glib-2.0/glib/gscanner.h"
  4565.  
  4566.  
  4567. typedef struct _GScanner GScanner;
  4568. typedef struct _GScannerConfig GScannerConfig;
  4569. typedef union _GTokenValue GTokenValue;
  4570.  
  4571. typedef void (*GScannerMsgFunc) (GScanner *scanner,
  4572.        gchar *message,
  4573.        gboolean error);
  4574. # 60 "/usr/include/glib-2.0/glib/gscanner.h"
  4575. typedef enum
  4576. {
  4577.   G_ERR_UNKNOWN,
  4578.   G_ERR_UNEXP_EOF,
  4579.   G_ERR_UNEXP_EOF_IN_STRING,
  4580.   G_ERR_UNEXP_EOF_IN_COMMENT,
  4581.   G_ERR_NON_DIGIT_IN_CONST,
  4582.   G_ERR_DIGIT_RADIX,
  4583.   G_ERR_FLOAT_RADIX,
  4584.   G_ERR_FLOAT_MALFORMED
  4585. } GErrorType;
  4586.  
  4587.  
  4588. typedef enum
  4589. {
  4590.   G_TOKEN_EOF = 0,
  4591.  
  4592.   G_TOKEN_LEFT_PAREN = '(',
  4593.   G_TOKEN_RIGHT_PAREN = ')',
  4594.   G_TOKEN_LEFT_CURLY = '{',
  4595.   G_TOKEN_RIGHT_CURLY = '}',
  4596.   G_TOKEN_LEFT_BRACE = '[',
  4597.   G_TOKEN_RIGHT_BRACE = ']',
  4598.   G_TOKEN_EQUAL_SIGN = '=',
  4599.   G_TOKEN_COMMA = ',',
  4600.  
  4601.   G_TOKEN_NONE = 256,
  4602.  
  4603.   G_TOKEN_ERROR,
  4604.  
  4605.   G_TOKEN_CHAR,
  4606.   G_TOKEN_BINARY,
  4607.   G_TOKEN_OCTAL,
  4608.   G_TOKEN_INT,
  4609.   G_TOKEN_HEX,
  4610.   G_TOKEN_FLOAT,
  4611.   G_TOKEN_STRING,
  4612.  
  4613.   G_TOKEN_SYMBOL,
  4614.   G_TOKEN_IDENTIFIER,
  4615.   G_TOKEN_IDENTIFIER_NULL,
  4616.  
  4617.   G_TOKEN_COMMENT_SINGLE,
  4618.   G_TOKEN_COMMENT_MULTI,
  4619.   G_TOKEN_LAST
  4620. } GTokenType;
  4621.  
  4622. union _GTokenValue
  4623. {
  4624.   gpointer v_symbol;
  4625.   gchar *v_identifier;
  4626.   gulong v_binary;
  4627.   gulong v_octal;
  4628.   gulong v_int;
  4629.   guint64 v_int64;
  4630.   gdouble v_float;
  4631.   gulong v_hex;
  4632.   gchar *v_string;
  4633.   gchar *v_comment;
  4634.   guchar v_char;
  4635.   guint v_error;
  4636. };
  4637.  
  4638. struct _GScannerConfig
  4639. {
  4640.  
  4641.  
  4642.   gchar *cset_skip_characters;
  4643.   gchar *cset_identifier_first;
  4644.   gchar *cset_identifier_nth;
  4645.   gchar *cpair_comment_single;
  4646.  
  4647.  
  4648.  
  4649.   guint case_sensitive : 1;
  4650.  
  4651.  
  4652.  
  4653.  
  4654.   guint skip_comment_multi : 1;
  4655.   guint skip_comment_single : 1;
  4656.   guint scan_comment_multi : 1;
  4657.   guint scan_identifier : 1;
  4658.   guint scan_identifier_1char : 1;
  4659.   guint scan_identifier_NULL : 1;
  4660.   guint scan_symbols : 1;
  4661.   guint scan_binary : 1;
  4662.   guint scan_octal : 1;
  4663.   guint scan_float : 1;
  4664.   guint scan_hex : 1;
  4665.   guint scan_hex_dollar : 1;
  4666.   guint scan_string_sq : 1;
  4667.   guint scan_string_dq : 1;
  4668.   guint numbers_2_int : 1;
  4669.   guint int_2_float : 1;
  4670.   guint identifier_2_string : 1;
  4671.   guint char_2_token : 1;
  4672.   guint symbol_2_token : 1;
  4673.   guint scope_0_fallback : 1;
  4674.   guint store_int64 : 1;
  4675.   guint padding_dummy;
  4676. };
  4677.  
  4678. struct _GScanner
  4679. {
  4680.  
  4681.   gpointer user_data;
  4682.   guint max_parse_errors;
  4683.  
  4684.  
  4685.   guint parse_errors;
  4686.  
  4687.  
  4688.   const gchar *input_name;
  4689.  
  4690.  
  4691.   GData *qdata;
  4692.  
  4693.  
  4694.   GScannerConfig *config;
  4695.  
  4696.  
  4697.   GTokenType token;
  4698.   GTokenValue value;
  4699.   guint line;
  4700.   guint position;
  4701.  
  4702.  
  4703.   GTokenType next_token;
  4704.   GTokenValue next_value;
  4705.   guint next_line;
  4706.   guint next_position;
  4707.  
  4708.  
  4709.   GHashTable *symbol_table;
  4710.   gint input_fd;
  4711.   const gchar *text;
  4712.   const gchar *text_end;
  4713.   gchar *buffer;
  4714.   guint scope_id;
  4715.  
  4716.  
  4717.   GScannerMsgFunc msg_handler;
  4718. };
  4719.  
  4720. GScanner* g_scanner_new (const GScannerConfig *config_templ);
  4721. void g_scanner_destroy (GScanner *scanner);
  4722. void g_scanner_input_file (GScanner *scanner,
  4723.        gint input_fd);
  4724. void g_scanner_sync_file_offset (GScanner *scanner);
  4725. void g_scanner_input_text (GScanner *scanner,
  4726.        const gchar *text,
  4727.        guint text_len);
  4728. GTokenType g_scanner_get_next_token (GScanner *scanner);
  4729. GTokenType g_scanner_peek_next_token (GScanner *scanner);
  4730. GTokenType g_scanner_cur_token (GScanner *scanner);
  4731. GTokenValue g_scanner_cur_value (GScanner *scanner);
  4732. guint g_scanner_cur_line (GScanner *scanner);
  4733. guint g_scanner_cur_position (GScanner *scanner);
  4734. gboolean g_scanner_eof (GScanner *scanner);
  4735. guint g_scanner_set_scope (GScanner *scanner,
  4736.        guint scope_id);
  4737. void g_scanner_scope_add_symbol (GScanner *scanner,
  4738.        guint scope_id,
  4739.        const gchar *symbol,
  4740.        gpointer value);
  4741. void g_scanner_scope_remove_symbol (GScanner *scanner,
  4742.        guint scope_id,
  4743.        const gchar *symbol);
  4744. gpointer g_scanner_scope_lookup_symbol (GScanner *scanner,
  4745.        guint scope_id,
  4746.        const gchar *symbol);
  4747. void g_scanner_scope_foreach_symbol (GScanner *scanner,
  4748.        guint scope_id,
  4749.        GHFunc func,
  4750.        gpointer user_data);
  4751. gpointer g_scanner_lookup_symbol (GScanner *scanner,
  4752.        const gchar *symbol);
  4753. void g_scanner_unexp_token (GScanner *scanner,
  4754.        GTokenType expected_token,
  4755.        const gchar *identifier_spec,
  4756.        const gchar *symbol_spec,
  4757.        const gchar *symbol_name,
  4758.        const gchar *message,
  4759.        gint is_error);
  4760. void g_scanner_error (GScanner *scanner,
  4761.        const gchar *format,
  4762.        ...) __attribute__((__format__ (__printf__, 2, 3)));
  4763. void g_scanner_warn (GScanner *scanner,
  4764.        const gchar *format,
  4765.        ...) __attribute__((__format__ (__printf__, 2, 3)));
  4766. # 272 "/usr/include/glib-2.0/glib/gscanner.h"
  4767.  
  4768. # 67 "/usr/include/glib-2.0/glib.h" 2
  4769. # 1 "/usr/include/glib-2.0/glib/gsequence.h" 1
  4770. # 26 "/usr/include/glib-2.0/glib/gsequence.h"
  4771. typedef struct _GSequence GSequence;
  4772. typedef struct _GSequenceNode GSequenceIter;
  4773.  
  4774. typedef gint (* GSequenceIterCompareFunc) (GSequenceIter *a,
  4775.                                            GSequenceIter *b,
  4776.                                            gpointer data);
  4777.  
  4778.  
  4779.  
  4780. GSequence * g_sequence_new (GDestroyNotify data_destroy);
  4781. void g_sequence_free (GSequence *seq);
  4782. gint g_sequence_get_length (GSequence *seq);
  4783. void g_sequence_foreach (GSequence *seq,
  4784.                                               GFunc func,
  4785.                                               gpointer user_data);
  4786. void g_sequence_foreach_range (GSequenceIter *begin,
  4787.                                               GSequenceIter *end,
  4788.                                               GFunc func,
  4789.                                               gpointer user_data);
  4790. void g_sequence_sort (GSequence *seq,
  4791.                                               GCompareDataFunc cmp_func,
  4792.                                               gpointer cmp_data);
  4793. void g_sequence_sort_iter (GSequence *seq,
  4794.                                               GSequenceIterCompareFunc cmp_func,
  4795.                                               gpointer cmp_data);
  4796.  
  4797.  
  4798.  
  4799. GSequenceIter *g_sequence_get_begin_iter (GSequence *seq);
  4800. GSequenceIter *g_sequence_get_end_iter (GSequence *seq);
  4801. GSequenceIter *g_sequence_get_iter_at_pos (GSequence *seq,
  4802.                                               gint pos);
  4803. GSequenceIter *g_sequence_append (GSequence *seq,
  4804.                                               gpointer data);
  4805. GSequenceIter *g_sequence_prepend (GSequence *seq,
  4806.                                               gpointer data);
  4807. GSequenceIter *g_sequence_insert_before (GSequenceIter *iter,
  4808.                                               gpointer data);
  4809. void g_sequence_move (GSequenceIter *src,
  4810.                                               GSequenceIter *dest);
  4811. void g_sequence_swap (GSequenceIter *a,
  4812.                                               GSequenceIter *b);
  4813. GSequenceIter *g_sequence_insert_sorted (GSequence *seq,
  4814.                                               gpointer data,
  4815.                                               GCompareDataFunc cmp_func,
  4816.                                               gpointer cmp_data);
  4817. GSequenceIter *g_sequence_insert_sorted_iter (GSequence *seq,
  4818.                                               gpointer data,
  4819.                                               GSequenceIterCompareFunc iter_cmp,
  4820.                                               gpointer cmp_data);
  4821. void g_sequence_sort_changed (GSequenceIter *iter,
  4822.                                               GCompareDataFunc cmp_func,
  4823.                                               gpointer cmp_data);
  4824. void g_sequence_sort_changed_iter (GSequenceIter *iter,
  4825.                                               GSequenceIterCompareFunc iter_cmp,
  4826.                                               gpointer cmp_data);
  4827. void g_sequence_remove (GSequenceIter *iter);
  4828. void g_sequence_remove_range (GSequenceIter *begin,
  4829.                                               GSequenceIter *end);
  4830. void g_sequence_move_range (GSequenceIter *dest,
  4831.                                               GSequenceIter *begin,
  4832.                                               GSequenceIter *end);
  4833. GSequenceIter *g_sequence_search (GSequence *seq,
  4834.                                               gpointer data,
  4835.                                               GCompareDataFunc cmp_func,
  4836.                                               gpointer cmp_data);
  4837. GSequenceIter *g_sequence_search_iter (GSequence *seq,
  4838.                                               gpointer data,
  4839.                                               GSequenceIterCompareFunc iter_cmp,
  4840.                                               gpointer cmp_data);
  4841.  
  4842.  
  4843.  
  4844. gpointer g_sequence_get (GSequenceIter *iter);
  4845. void g_sequence_set (GSequenceIter *iter,
  4846.                                               gpointer data);
  4847.  
  4848.  
  4849. gboolean g_sequence_iter_is_begin (GSequenceIter *iter);
  4850. gboolean g_sequence_iter_is_end (GSequenceIter *iter);
  4851. GSequenceIter *g_sequence_iter_next (GSequenceIter *iter);
  4852. GSequenceIter *g_sequence_iter_prev (GSequenceIter *iter);
  4853. gint g_sequence_iter_get_position (GSequenceIter *iter);
  4854. GSequenceIter *g_sequence_iter_move (GSequenceIter *iter,
  4855.                                               gint delta);
  4856. GSequence * g_sequence_iter_get_sequence (GSequenceIter *iter);
  4857.  
  4858.  
  4859.  
  4860. gint g_sequence_iter_compare (GSequenceIter *a,
  4861.                                               GSequenceIter *b);
  4862. GSequenceIter *g_sequence_range_get_midpoint (GSequenceIter *begin,
  4863.                                               GSequenceIter *end);
  4864. # 68 "/usr/include/glib-2.0/glib.h" 2
  4865. # 1 "/usr/include/glib-2.0/glib/gshell.h" 1
  4866. # 26 "/usr/include/glib-2.0/glib/gshell.h"
  4867.  
  4868.  
  4869.  
  4870.  
  4871. typedef enum
  4872. {
  4873.  
  4874.   G_SHELL_ERROR_BAD_QUOTING,
  4875.  
  4876.   G_SHELL_ERROR_EMPTY_STRING,
  4877.   G_SHELL_ERROR_FAILED
  4878. } GShellError;
  4879.  
  4880. GQuark g_shell_error_quark (void);
  4881.  
  4882. gchar* g_shell_quote (const gchar *unquoted_string);
  4883. gchar* g_shell_unquote (const gchar *quoted_string,
  4884.                              GError **error);
  4885. gboolean g_shell_parse_argv (const gchar *command_line,
  4886.                              gint *argcp,
  4887.                              gchar ***argvp,
  4888.                              GError **error);
  4889.  
  4890.  
  4891. # 69 "/usr/include/glib-2.0/glib.h" 2
  4892.  
  4893. # 1 "/usr/include/glib-2.0/glib/gspawn.h" 1
  4894. # 26 "/usr/include/glib-2.0/glib/gspawn.h"
  4895.  
  4896.  
  4897.  
  4898.  
  4899.  
  4900. typedef enum
  4901. {
  4902.   G_SPAWN_ERROR_FORK,
  4903.   G_SPAWN_ERROR_READ,
  4904.   G_SPAWN_ERROR_CHDIR,
  4905.   G_SPAWN_ERROR_ACCES,
  4906.   G_SPAWN_ERROR_PERM,
  4907.   G_SPAWN_ERROR_2BIG,
  4908.   G_SPAWN_ERROR_NOEXEC,
  4909.   G_SPAWN_ERROR_NAMETOOLONG,
  4910.   G_SPAWN_ERROR_NOENT,
  4911.   G_SPAWN_ERROR_NOMEM,
  4912.   G_SPAWN_ERROR_NOTDIR,
  4913.   G_SPAWN_ERROR_LOOP,
  4914.   G_SPAWN_ERROR_TXTBUSY,
  4915.   G_SPAWN_ERROR_IO,
  4916.   G_SPAWN_ERROR_NFILE,
  4917.   G_SPAWN_ERROR_MFILE,
  4918.   G_SPAWN_ERROR_INVAL,
  4919.   G_SPAWN_ERROR_ISDIR,
  4920.   G_SPAWN_ERROR_LIBBAD,
  4921.   G_SPAWN_ERROR_FAILED
  4922.  
  4923.  
  4924. } GSpawnError;
  4925.  
  4926. typedef void (* GSpawnChildSetupFunc) (gpointer user_data);
  4927.  
  4928. typedef enum
  4929. {
  4930.   G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0,
  4931.   G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1,
  4932.  
  4933.   G_SPAWN_SEARCH_PATH = 1 << 2,
  4934.  
  4935.   G_SPAWN_STDOUT_TO_DEV_NULL = 1 << 3,
  4936.   G_SPAWN_STDERR_TO_DEV_NULL = 1 << 4,
  4937.   G_SPAWN_CHILD_INHERITS_STDIN = 1 << 5,
  4938.   G_SPAWN_FILE_AND_ARGV_ZERO = 1 << 6
  4939. } GSpawnFlags;
  4940.  
  4941. GQuark g_spawn_error_quark (void);
  4942. # 82 "/usr/include/glib-2.0/glib/gspawn.h"
  4943. gboolean g_spawn_async (const gchar *working_directory,
  4944.                         gchar **argv,
  4945.                         gchar **envp,
  4946.                         GSpawnFlags flags,
  4947.                         GSpawnChildSetupFunc child_setup,
  4948.                         gpointer user_data,
  4949.                         GPid *child_pid,
  4950.                         GError **error);
  4951.  
  4952.  
  4953.  
  4954.  
  4955.  
  4956. gboolean g_spawn_async_with_pipes (const gchar *working_directory,
  4957.                                    gchar **argv,
  4958.                                    gchar **envp,
  4959.                                    GSpawnFlags flags,
  4960.                                    GSpawnChildSetupFunc child_setup,
  4961.                                    gpointer user_data,
  4962.                                    GPid *child_pid,
  4963.                                    gint *standard_input,
  4964.                                    gint *standard_output,
  4965.                                    gint *standard_error,
  4966.                                    GError **error);
  4967.  
  4968.  
  4969.  
  4970.  
  4971.  
  4972.  
  4973. gboolean g_spawn_sync (const gchar *working_directory,
  4974.                                gchar **argv,
  4975.                                gchar **envp,
  4976.                                GSpawnFlags flags,
  4977.                                GSpawnChildSetupFunc child_setup,
  4978.                                gpointer user_data,
  4979.                                gchar **standard_output,
  4980.                                gchar **standard_error,
  4981.                                gint *exit_status,
  4982.                                GError **error);
  4983.  
  4984. gboolean g_spawn_command_line_sync (const gchar *command_line,
  4985.                                      gchar **standard_output,
  4986.                                      gchar **standard_error,
  4987.                                      gint *exit_status,
  4988.                                      GError **error);
  4989. gboolean g_spawn_command_line_async (const gchar *command_line,
  4990.                                      GError **error);
  4991.  
  4992. void g_spawn_close_pid (GPid pid);
  4993.  
  4994.  
  4995.  
  4996. # 71 "/usr/include/glib-2.0/glib.h" 2
  4997. # 1 "/usr/include/glib-2.0/glib/gstrfuncs.h" 1
  4998. # 33 "/usr/include/glib-2.0/glib/gstrfuncs.h"
  4999.  
  5000.  
  5001.  
  5002. typedef enum {
  5003.   G_ASCII_ALNUM = 1 << 0,
  5004.   G_ASCII_ALPHA = 1 << 1,
  5005.   G_ASCII_CNTRL = 1 << 2,
  5006.   G_ASCII_DIGIT = 1 << 3,
  5007.   G_ASCII_GRAPH = 1 << 4,
  5008.   G_ASCII_LOWER = 1 << 5,
  5009.   G_ASCII_PRINT = 1 << 6,
  5010.   G_ASCII_PUNCT = 1 << 7,
  5011.   G_ASCII_SPACE = 1 << 8,
  5012.   G_ASCII_UPPER = 1 << 9,
  5013.   G_ASCII_XDIGIT = 1 << 10
  5014. } GAsciiType;
  5015.  
  5016. extern const guint16 * const g_ascii_table;
  5017. # 85 "/usr/include/glib-2.0/glib/gstrfuncs.h"
  5018. gchar g_ascii_tolower (gchar c) __attribute__((__const__));
  5019. gchar g_ascii_toupper (gchar c) __attribute__((__const__));
  5020.  
  5021. gint g_ascii_digit_value (gchar c) __attribute__((__const__));
  5022. gint g_ascii_xdigit_value (gchar c) __attribute__((__const__));
  5023.  
  5024.  
  5025.  
  5026.  
  5027.  
  5028. gchar* g_strdelimit (gchar *string,
  5029.      const gchar *delimiters,
  5030.      gchar new_delimiter);
  5031. gchar* g_strcanon (gchar *string,
  5032.      const gchar *valid_chars,
  5033.      gchar substitutor);
  5034. const gchar* g_strerror (gint errnum) __attribute__((__const__));
  5035. const gchar* g_strsignal (gint signum) __attribute__((__const__));
  5036. gchar* g_strreverse (gchar *string);
  5037. gsize g_strlcpy (gchar *dest,
  5038.      const gchar *src,
  5039.      gsize dest_size);
  5040. gsize g_strlcat (gchar *dest,
  5041.      const gchar *src,
  5042.      gsize dest_size);
  5043. gchar * g_strstr_len (const gchar *haystack,
  5044.      gssize haystack_len,
  5045.      const gchar *needle);
  5046. gchar * g_strrstr (const gchar *haystack,
  5047.      const gchar *needle);
  5048. gchar * g_strrstr_len (const gchar *haystack,
  5049.      gssize haystack_len,
  5050.      const gchar *needle);
  5051.  
  5052. gboolean g_str_has_suffix (const gchar *str,
  5053.      const gchar *suffix);
  5054. gboolean g_str_has_prefix (const gchar *str,
  5055.      const gchar *prefix);
  5056.  
  5057.  
  5058.  
  5059. gdouble g_strtod (const gchar *nptr,
  5060.      gchar **endptr);
  5061. gdouble g_ascii_strtod (const gchar *nptr,
  5062.      gchar **endptr);
  5063. guint64 g_ascii_strtoull (const gchar *nptr,
  5064.      gchar **endptr,
  5065.      guint base);
  5066. gint64 g_ascii_strtoll (const gchar *nptr,
  5067.      gchar **endptr,
  5068.      guint base);
  5069.  
  5070.  
  5071.  
  5072.  
  5073. gchar * g_ascii_dtostr (gchar *buffer,
  5074.      gint buf_len,
  5075.      gdouble d);
  5076. gchar * g_ascii_formatd (gchar *buffer,
  5077.      gint buf_len,
  5078.      const gchar *format,
  5079.      gdouble d);
  5080.  
  5081.  
  5082. gchar* g_strchug (gchar *string);
  5083.  
  5084. gchar* g_strchomp (gchar *string);
  5085.  
  5086.  
  5087.  
  5088. gint g_ascii_strcasecmp (const gchar *s1,
  5089.         const gchar *s2);
  5090. gint g_ascii_strncasecmp (const gchar *s1,
  5091.         const gchar *s2,
  5092.         gsize n);
  5093. gchar* g_ascii_strdown (const gchar *str,
  5094.         gssize len) __attribute__((__malloc__));
  5095. gchar* g_ascii_strup (const gchar *str,
  5096.         gssize len) __attribute__((__malloc__));
  5097. # 172 "/usr/include/glib-2.0/glib/gstrfuncs.h"
  5098. gint g_strcasecmp (const gchar *s1,
  5099.      const gchar *s2);
  5100. gint g_strncasecmp (const gchar *s1,
  5101.      const gchar *s2,
  5102.      guint n);
  5103. gchar* g_strdown (gchar *string);
  5104. gchar* g_strup (gchar *string);
  5105.  
  5106.  
  5107.  
  5108.  
  5109.  
  5110.  
  5111. gchar* g_strdup (const gchar *str) __attribute__((__malloc__));
  5112. gchar* g_strdup_printf (const gchar *format,
  5113.      ...) __attribute__((__format__ (__printf__, 1, 2))) __attribute__((__malloc__));
  5114. gchar* g_strdup_vprintf (const gchar *format,
  5115.      va_list args) __attribute__((__malloc__));
  5116. gchar* g_strndup (const gchar *str,
  5117.      gsize n) __attribute__((__malloc__));
  5118. gchar* g_strnfill (gsize length,
  5119.      gchar fill_char) __attribute__((__malloc__));
  5120. gchar* g_strconcat (const gchar *string1,
  5121.      ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
  5122. gchar* g_strjoin (const gchar *separator,
  5123.      ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
  5124.  
  5125.  
  5126.  
  5127.  
  5128.  
  5129. gchar* g_strcompress (const gchar *source) __attribute__((__malloc__));
  5130. # 213 "/usr/include/glib-2.0/glib/gstrfuncs.h"
  5131. gchar* g_strescape (const gchar *source,
  5132.      const gchar *exceptions) __attribute__((__malloc__));
  5133.  
  5134. gpointer g_memdup (gconstpointer mem,
  5135.      guint byte_size) __attribute__((__malloc__));
  5136. # 228 "/usr/include/glib-2.0/glib/gstrfuncs.h"
  5137. gchar** g_strsplit (const gchar *string,
  5138.      const gchar *delimiter,
  5139.      gint max_tokens) __attribute__((__malloc__));
  5140. gchar ** g_strsplit_set (const gchar *string,
  5141.      const gchar *delimiters,
  5142.      gint max_tokens) __attribute__((__malloc__));
  5143. gchar* g_strjoinv (const gchar *separator,
  5144.      gchar **str_array) __attribute__((__malloc__));
  5145. void g_strfreev (gchar **str_array);
  5146. gchar** g_strdupv (gchar **str_array) __attribute__((__malloc__));
  5147. guint g_strv_length (gchar **str_array);
  5148.  
  5149. gchar* g_stpcpy (gchar *dest,
  5150.                                         const char *src);
  5151.  
  5152. const gchar *g_strip_context (const gchar *msgid,
  5153.      const gchar *msgval);
  5154.  
  5155.  
  5156. # 72 "/usr/include/glib-2.0/glib.h" 2
  5157.  
  5158.  
  5159. # 1 "/usr/include/glib-2.0/glib/gthreadpool.h" 1
  5160. # 32 "/usr/include/glib-2.0/glib/gthreadpool.h"
  5161.  
  5162.  
  5163. typedef struct _GThreadPool GThreadPool;
  5164.  
  5165.  
  5166.  
  5167.  
  5168.  
  5169.  
  5170. struct _GThreadPool
  5171. {
  5172.   GFunc func;
  5173.   gpointer user_data;
  5174.   gboolean exclusive;
  5175. };
  5176.  
  5177.  
  5178.  
  5179.  
  5180.  
  5181.  
  5182. GThreadPool* g_thread_pool_new (GFunc func,
  5183.                                                gpointer user_data,
  5184.                                                gint max_threads,
  5185.                                                gboolean exclusive,
  5186.                                                GError **error);
  5187.  
  5188.  
  5189.  
  5190.  
  5191.  
  5192. void g_thread_pool_push (GThreadPool *pool,
  5193.                                                gpointer data,
  5194.                                                GError **error);
  5195.  
  5196.  
  5197.  
  5198.  
  5199. void g_thread_pool_set_max_threads (GThreadPool *pool,
  5200.                                                gint max_threads,
  5201.                                                GError **error);
  5202. gint g_thread_pool_get_max_threads (GThreadPool *pool);
  5203.  
  5204.  
  5205.  
  5206. guint g_thread_pool_get_num_threads (GThreadPool *pool);
  5207.  
  5208.  
  5209. guint g_thread_pool_unprocessed (GThreadPool *pool);
  5210.  
  5211.  
  5212.  
  5213.  
  5214.  
  5215. void g_thread_pool_free (GThreadPool *pool,
  5216.                                                gboolean immediate,
  5217.                                                gboolean wait_);
  5218.  
  5219.  
  5220.  
  5221. void g_thread_pool_set_max_unused_threads (gint max_threads);
  5222. gint g_thread_pool_get_max_unused_threads (void);
  5223. guint g_thread_pool_get_num_unused_threads (void);
  5224.  
  5225.  
  5226. void g_thread_pool_stop_unused_threads (void);
  5227.  
  5228.  
  5229. void g_thread_pool_set_sort_function (GThreadPool *pool,
  5230.                                         GCompareDataFunc func,
  5231.             gpointer user_data);
  5232.  
  5233.  
  5234. void g_thread_pool_set_max_idle_time (guint interval);
  5235. guint g_thread_pool_get_max_idle_time (void);
  5236.  
  5237.  
  5238. # 75 "/usr/include/glib-2.0/glib.h" 2
  5239. # 1 "/usr/include/glib-2.0/glib/gtimer.h" 1
  5240. # 32 "/usr/include/glib-2.0/glib/gtimer.h"
  5241.  
  5242.  
  5243.  
  5244.  
  5245.  
  5246.  
  5247. typedef struct _GTimer GTimer;
  5248.  
  5249.  
  5250.  
  5251. GTimer* g_timer_new (void);
  5252. void g_timer_destroy (GTimer *timer);
  5253. void g_timer_start (GTimer *timer);
  5254. void g_timer_stop (GTimer *timer);
  5255. void g_timer_reset (GTimer *timer);
  5256. void g_timer_continue (GTimer *timer);
  5257. gdouble g_timer_elapsed (GTimer *timer,
  5258.       gulong *microseconds);
  5259.  
  5260. void g_usleep (gulong microseconds);
  5261.  
  5262. void g_time_val_add (GTimeVal *time_,
  5263.                                   glong microseconds);
  5264. gboolean g_time_val_from_iso8601 (const gchar *iso_date,
  5265.       GTimeVal *time_);
  5266. gchar* g_time_val_to_iso8601 (GTimeVal *time_) __attribute__((__malloc__));
  5267.  
  5268.  
  5269. # 76 "/usr/include/glib-2.0/glib.h" 2
  5270. # 1 "/usr/include/glib-2.0/glib/gtree.h" 1
  5271. # 32 "/usr/include/glib-2.0/glib/gtree.h"
  5272.  
  5273.  
  5274. typedef struct _GTree GTree;
  5275.  
  5276. typedef gboolean (*GTraverseFunc) (gpointer key,
  5277.                                    gpointer value,
  5278.                                    gpointer data);
  5279.  
  5280.  
  5281.  
  5282. GTree* g_tree_new (GCompareFunc key_compare_func);
  5283. GTree* g_tree_new_with_data (GCompareDataFunc key_compare_func,
  5284.                                  gpointer key_compare_data);
  5285. GTree* g_tree_new_full (GCompareDataFunc key_compare_func,
  5286.                                  gpointer key_compare_data,
  5287.                                  GDestroyNotify key_destroy_func,
  5288.                                  GDestroyNotify value_destroy_func);
  5289. void g_tree_destroy (GTree *tree);
  5290. void g_tree_insert (GTree *tree,
  5291.                                  gpointer key,
  5292.                                  gpointer value);
  5293. void g_tree_replace (GTree *tree,
  5294.                                  gpointer key,
  5295.                                  gpointer value);
  5296. gboolean g_tree_remove (GTree *tree,
  5297.                                  gconstpointer key);
  5298. gboolean g_tree_steal (GTree *tree,
  5299.                                  gconstpointer key);
  5300. gpointer g_tree_lookup (GTree *tree,
  5301.                                  gconstpointer key);
  5302. gboolean g_tree_lookup_extended (GTree *tree,
  5303.                                  gconstpointer lookup_key,
  5304.                                  gpointer *orig_key,
  5305.                                  gpointer *value);
  5306. void g_tree_foreach (GTree *tree,
  5307.                                  GTraverseFunc func,
  5308.                                  gpointer user_data);
  5309.  
  5310.  
  5311. void g_tree_traverse (GTree *tree,
  5312.                                  GTraverseFunc traverse_func,
  5313.                                  GTraverseType traverse_type,
  5314.                                  gpointer user_data);
  5315.  
  5316.  
  5317. gpointer g_tree_search (GTree *tree,
  5318.                                  GCompareFunc search_func,
  5319.                                  gconstpointer user_data);
  5320. gint g_tree_height (GTree *tree);
  5321. gint g_tree_nnodes (GTree *tree);
  5322.  
  5323.  
  5324.  
  5325.  
  5326. # 77 "/usr/include/glib-2.0/glib.h" 2
  5327. # 27 "/usr/include/glib-2.0/gobject/gtype.h" 2
  5328.  
  5329.  
  5330. # 92 "/usr/include/glib-2.0/gobject/gtype.h"
  5331. typedef gsize GType;
  5332.  
  5333.  
  5334.  
  5335. typedef struct _GValue GValue;
  5336. typedef union _GTypeCValue GTypeCValue;
  5337. typedef struct _GTypePlugin GTypePlugin;
  5338. typedef struct _GTypeClass GTypeClass;
  5339. typedef struct _GTypeInterface GTypeInterface;
  5340. typedef struct _GTypeInstance GTypeInstance;
  5341. typedef struct _GTypeInfo GTypeInfo;
  5342. typedef struct _GTypeFundamentalInfo GTypeFundamentalInfo;
  5343. typedef struct _GInterfaceInfo GInterfaceInfo;
  5344. typedef struct _GTypeValueTable GTypeValueTable;
  5345. typedef struct _GTypeQuery GTypeQuery;
  5346.  
  5347.  
  5348.  
  5349.  
  5350. struct _GTypeClass
  5351. {
  5352.  
  5353.   GType g_type;
  5354. };
  5355. struct _GTypeInstance
  5356. {
  5357.  
  5358.   GTypeClass *g_class;
  5359. };
  5360. struct _GTypeInterface
  5361. {
  5362.  
  5363.   GType g_type;
  5364.   GType g_instance_type;
  5365. };
  5366. struct _GTypeQuery
  5367. {
  5368.   GType type;
  5369.   const gchar *type_name;
  5370.   guint class_size;
  5371.   guint instance_size;
  5372. };
  5373. # 157 "/usr/include/glib-2.0/gobject/gtype.h"
  5374. typedef enum
  5375. {
  5376.   G_TYPE_DEBUG_NONE = 0,
  5377.   G_TYPE_DEBUG_OBJECTS = 1 << 0,
  5378.   G_TYPE_DEBUG_SIGNALS = 1 << 1,
  5379.   G_TYPE_DEBUG_MASK = 0x03
  5380. } GTypeDebugFlags;
  5381.  
  5382.  
  5383.  
  5384. void g_type_init (void);
  5385. void g_type_init_with_debug_flags (GTypeDebugFlags debug_flags);
  5386. const gchar* g_type_name (GType type);
  5387. GQuark g_type_qname (GType type);
  5388. GType g_type_from_name (const gchar *name);
  5389. GType g_type_parent (GType type);
  5390. guint g_type_depth (GType type);
  5391. GType g_type_next_base (GType leaf_type,
  5392.             GType root_type);
  5393. gboolean g_type_is_a (GType type,
  5394.             GType is_a_type);
  5395. gpointer g_type_class_ref (GType type);
  5396. gpointer g_type_class_peek (GType type);
  5397. gpointer g_type_class_peek_static (GType type);
  5398. void g_type_class_unref (gpointer g_class);
  5399. gpointer g_type_class_peek_parent (gpointer g_class);
  5400. gpointer g_type_interface_peek (gpointer instance_class,
  5401.             GType iface_type);
  5402. gpointer g_type_interface_peek_parent (gpointer g_iface);
  5403.  
  5404. gpointer g_type_default_interface_ref (GType g_type);
  5405. gpointer g_type_default_interface_peek (GType g_type);
  5406. void g_type_default_interface_unref (gpointer g_iface);
  5407.  
  5408.  
  5409. GType* g_type_children (GType type,
  5410.             guint *n_children);
  5411. GType* g_type_interfaces (GType type,
  5412.             guint *n_interfaces);
  5413.  
  5414.  
  5415. void g_type_set_qdata (GType type,
  5416.             GQuark quark,
  5417.             gpointer data);
  5418. gpointer g_type_get_qdata (GType type,
  5419.             GQuark quark);
  5420. void g_type_query (GType type,
  5421.             GTypeQuery *query);
  5422.  
  5423.  
  5424.  
  5425. typedef void (*GBaseInitFunc) (gpointer g_class);
  5426. typedef void (*GBaseFinalizeFunc) (gpointer g_class);
  5427. typedef void (*GClassInitFunc) (gpointer g_class,
  5428.            gpointer class_data);
  5429. typedef void (*GClassFinalizeFunc) (gpointer g_class,
  5430.            gpointer class_data);
  5431. typedef void (*GInstanceInitFunc) (GTypeInstance *instance,
  5432.            gpointer g_class);
  5433. typedef void (*GInterfaceInitFunc) (gpointer g_iface,
  5434.            gpointer iface_data);
  5435. typedef void (*GInterfaceFinalizeFunc) (gpointer g_iface,
  5436.            gpointer iface_data);
  5437. typedef gboolean (*GTypeClassCacheFunc) (gpointer cache_data,
  5438.            GTypeClass *g_class);
  5439. typedef void (*GTypeInterfaceCheckFunc) (gpointer check_data,
  5440.            gpointer g_iface);
  5441. typedef enum
  5442. {
  5443.   G_TYPE_FLAG_CLASSED = (1 << 0),
  5444.   G_TYPE_FLAG_INSTANTIATABLE = (1 << 1),
  5445.   G_TYPE_FLAG_DERIVABLE = (1 << 2),
  5446.   G_TYPE_FLAG_DEEP_DERIVABLE = (1 << 3)
  5447. } GTypeFundamentalFlags;
  5448. typedef enum
  5449. {
  5450.   G_TYPE_FLAG_ABSTRACT = (1 << 4),
  5451.   G_TYPE_FLAG_VALUE_ABSTRACT = (1 << 5)
  5452. } GTypeFlags;
  5453. struct _GTypeInfo
  5454. {
  5455.  
  5456.   guint16 class_size;
  5457.  
  5458.   GBaseInitFunc base_init;
  5459.   GBaseFinalizeFunc base_finalize;
  5460.  
  5461.  
  5462.   GClassInitFunc class_init;
  5463.   GClassFinalizeFunc class_finalize;
  5464.   gconstpointer class_data;
  5465.  
  5466.  
  5467.   guint16 instance_size;
  5468.   guint16 n_preallocs;
  5469.   GInstanceInitFunc instance_init;
  5470.  
  5471.  
  5472.   const GTypeValueTable *value_table;
  5473. };
  5474. struct _GTypeFundamentalInfo
  5475. {
  5476.   GTypeFundamentalFlags type_flags;
  5477. };
  5478. struct _GInterfaceInfo
  5479. {
  5480.   GInterfaceInitFunc interface_init;
  5481.   GInterfaceFinalizeFunc interface_finalize;
  5482.   gpointer interface_data;
  5483. };
  5484. struct _GTypeValueTable
  5485. {
  5486.   void (*value_init) (GValue *value);
  5487.   void (*value_free) (GValue *value);
  5488.   void (*value_copy) (const GValue *src_value,
  5489.       GValue *dest_value);
  5490.  
  5491.   gpointer (*value_peek_pointer) (const GValue *value);
  5492.   gchar *collect_format;
  5493.   gchar* (*collect_value) (GValue *value,
  5494.       guint n_collect_values,
  5495.       GTypeCValue *collect_values,
  5496.       guint collect_flags);
  5497.   gchar *lcopy_format;
  5498.   gchar* (*lcopy_value) (const GValue *value,
  5499.       guint n_collect_values,
  5500.       GTypeCValue *collect_values,
  5501.       guint collect_flags);
  5502. };
  5503. GType g_type_register_static (GType parent_type,
  5504.       const gchar *type_name,
  5505.       const GTypeInfo *info,
  5506.       GTypeFlags flags);
  5507. GType g_type_register_static_simple (GType parent_type,
  5508.       const gchar *type_name,
  5509.       guint class_size,
  5510.       GClassInitFunc class_init,
  5511.       guint instance_size,
  5512.       GInstanceInitFunc instance_init,
  5513.       GTypeFlags flags);
  5514.  
  5515. GType g_type_register_dynamic (GType parent_type,
  5516.       const gchar *type_name,
  5517.       GTypePlugin *plugin,
  5518.       GTypeFlags flags);
  5519. GType g_type_register_fundamental (GType type_id,
  5520.       const gchar *type_name,
  5521.       const GTypeInfo *info,
  5522.       const GTypeFundamentalInfo *finfo,
  5523.       GTypeFlags flags);
  5524. void g_type_add_interface_static (GType instance_type,
  5525.       GType interface_type,
  5526.       const GInterfaceInfo *info);
  5527. void g_type_add_interface_dynamic (GType instance_type,
  5528.       GType interface_type,
  5529.       GTypePlugin *plugin);
  5530. void g_type_interface_add_prerequisite (GType interface_type,
  5531.       GType prerequisite_type);
  5532. GType*g_type_interface_prerequisites (GType interface_type,
  5533.       guint *n_prerequisites);
  5534. void g_type_class_add_private (gpointer g_class,
  5535.                                          gsize private_size);
  5536. gpointer g_type_instance_get_private (GTypeInstance *instance,
  5537.                                          GType private_type);
  5538. # 393 "/usr/include/glib-2.0/gobject/gtype.h"
  5539. GTypePlugin* g_type_get_plugin (GType type);
  5540. GTypePlugin* g_type_interface_get_plugin (GType instance_type,
  5541.        GType interface_type);
  5542. GType g_type_fundamental_next (void);
  5543. GType g_type_fundamental (GType type_id);
  5544. GTypeInstance* g_type_create_instance (GType type);
  5545. void g_type_free_instance (GTypeInstance *instance);
  5546.  
  5547. void g_type_add_class_cache_func (gpointer cache_data,
  5548.        GTypeClassCacheFunc cache_func);
  5549. void g_type_remove_class_cache_func (gpointer cache_data,
  5550.        GTypeClassCacheFunc cache_func);
  5551. void g_type_class_unref_uncached (gpointer g_class);
  5552.  
  5553. void g_type_add_interface_check (gpointer check_data,
  5554.        GTypeInterfaceCheckFunc check_func);
  5555. void g_type_remove_interface_check (gpointer check_data,
  5556.        GTypeInterfaceCheckFunc check_func);
  5557.  
  5558. GTypeValueTable* g_type_value_table_peek (GType type);
  5559.  
  5560.  
  5561.  
  5562. gboolean g_type_check_instance (GTypeInstance *instance) __attribute__((__pure__));
  5563. GTypeInstance* g_type_check_instance_cast (GTypeInstance *instance,
  5564.        GType iface_type);
  5565. gboolean g_type_check_instance_is_a (GTypeInstance *instance,
  5566.        GType iface_type) __attribute__((__pure__));
  5567. GTypeClass* g_type_check_class_cast (GTypeClass *g_class,
  5568.        GType is_a_type);
  5569. gboolean g_type_check_class_is_a (GTypeClass *g_class,
  5570.        GType is_a_type) __attribute__((__pure__));
  5571. gboolean g_type_check_is_value_type (GType type) __attribute__((__const__));
  5572. gboolean g_type_check_value (GValue *value) __attribute__((__pure__));
  5573. gboolean g_type_check_value_holds (GValue *value,
  5574.        GType type) __attribute__((__pure__));
  5575. gboolean g_type_test_flags (GType type,
  5576.        guint flags) __attribute__((__const__));
  5577.  
  5578.  
  5579.  
  5580. const gchar* g_type_name_from_instance (GTypeInstance *instance);
  5581. const gchar* g_type_name_from_class (GTypeClass *g_class);
  5582.  
  5583.  
  5584.  
  5585. __attribute__((visibility("hidden"))) void g_value_c_init (void);
  5586. __attribute__((visibility("hidden"))) void g_value_types_init (void);
  5587. __attribute__((visibility("hidden"))) void g_enum_types_init (void);
  5588. __attribute__((visibility("hidden"))) void g_param_type_init (void);
  5589. __attribute__((visibility("hidden"))) void g_boxed_type_init (void);
  5590. __attribute__((visibility("hidden"))) void g_object_type_init (void);
  5591. __attribute__((visibility("hidden"))) void g_param_spec_types_init (void);
  5592. __attribute__((visibility("hidden"))) void g_value_transforms_init (void);
  5593. __attribute__((visibility("hidden"))) void g_signal_init (void);
  5594. # 495 "/usr/include/glib-2.0/gobject/gtype.h"
  5595. extern GTypeDebugFlags _g_type_debug_flags;
  5596.  
  5597.  
  5598. # 27 "/usr/include/glib-2.0/gobject/gboxed.h" 2
  5599.  
  5600.  
  5601.  
  5602.  
  5603.  
  5604.  
  5605.  
  5606.  
  5607.  
  5608. typedef gpointer (*GBoxedCopyFunc) (gpointer boxed);
  5609. typedef void (*GBoxedFreeFunc) (gpointer boxed);
  5610.  
  5611.  
  5612.  
  5613. gpointer g_boxed_copy (GType boxed_type,
  5614.        gconstpointer src_boxed);
  5615. void g_boxed_free (GType boxed_type,
  5616.        gpointer boxed);
  5617. void g_value_set_boxed (GValue *value,
  5618.        gconstpointer v_boxed);
  5619. void g_value_set_static_boxed (GValue *value,
  5620.        gconstpointer v_boxed);
  5621. gpointer g_value_get_boxed (const GValue *value);
  5622. gpointer g_value_dup_boxed (const GValue *value);
  5623.  
  5624.  
  5625.  
  5626. GType g_boxed_type_register_static (const gchar *name,
  5627.        GBoxedCopyFunc boxed_copy,
  5628.        GBoxedFreeFunc boxed_free);
  5629. # 70 "/usr/include/glib-2.0/gobject/gboxed.h"
  5630. void g_value_take_boxed (GValue *value,
  5631.      gconstpointer v_boxed);
  5632.  
  5633. void g_value_set_boxed_take_ownership (GValue *value,
  5634.        gconstpointer v_boxed);
  5635.  
  5636. GType g_closure_get_type (void) __attribute__((__const__));
  5637. GType g_value_get_type (void) __attribute__((__const__));
  5638. GType g_value_array_get_type (void) __attribute__((__const__));
  5639. GType g_date_get_type (void) __attribute__((__const__));
  5640. GType g_strv_get_type (void) __attribute__((__const__));
  5641. GType g_gstring_get_type (void) __attribute__((__const__));
  5642. GType g_hash_table_get_type (void) __attribute__((__const__));
  5643. GType g_regex_get_type (void) __attribute__((__const__));
  5644.  
  5645. typedef gchar** GStrv;
  5646.  
  5647.  
  5648. # 26 "/usr/include/glib-2.0/glib-object.h" 2
  5649. # 1 "/usr/include/glib-2.0/gobject/genums.h" 1
  5650. # 26 "/usr/include/glib-2.0/gobject/genums.h"
  5651. # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
  5652. # 27 "/usr/include/glib-2.0/gobject/genums.h" 2
  5653.  
  5654.  
  5655. # 46 "/usr/include/glib-2.0/gobject/genums.h"
  5656. typedef struct _GEnumClass GEnumClass;
  5657. typedef struct _GFlagsClass GFlagsClass;
  5658. typedef struct _GEnumValue GEnumValue;
  5659. typedef struct _GFlagsValue GFlagsValue;
  5660. struct _GEnumClass
  5661. {
  5662.   GTypeClass g_type_class;
  5663.  
  5664.  
  5665.   gint minimum;
  5666.   gint maximum;
  5667.   guint n_values;
  5668.   GEnumValue *values;
  5669. };
  5670. struct _GFlagsClass
  5671. {
  5672.   GTypeClass g_type_class;
  5673.  
  5674.  
  5675.   guint mask;
  5676.   guint n_values;
  5677.   GFlagsValue *values;
  5678. };
  5679. struct _GEnumValue
  5680. {
  5681.   gint value;
  5682.   const gchar *value_name;
  5683.   const gchar *value_nick;
  5684. };
  5685. struct _GFlagsValue
  5686. {
  5687.   guint value;
  5688.   const gchar *value_name;
  5689.   const gchar *value_nick;
  5690. };
  5691.  
  5692.  
  5693.  
  5694. GEnumValue* g_enum_get_value (GEnumClass *enum_class,
  5695.        gint value);
  5696. GEnumValue* g_enum_get_value_by_name (GEnumClass *enum_class,
  5697.        const gchar *name);
  5698. GEnumValue* g_enum_get_value_by_nick (GEnumClass *enum_class,
  5699.        const gchar *nick);
  5700. GFlagsValue* g_flags_get_first_value (GFlagsClass *flags_class,
  5701.        guint value);
  5702. GFlagsValue* g_flags_get_value_by_name (GFlagsClass *flags_class,
  5703.        const gchar *name);
  5704. GFlagsValue* g_flags_get_value_by_nick (GFlagsClass *flags_class,
  5705.        const gchar *nick);
  5706. void g_value_set_enum (GValue *value,
  5707.        gint v_enum);
  5708. gint g_value_get_enum (const GValue *value);
  5709. void g_value_set_flags (GValue *value,
  5710.        guint v_flags);
  5711. guint g_value_get_flags (const GValue *value);
  5712.  
  5713.  
  5714.  
  5715.  
  5716.  
  5717.  
  5718.  
  5719. GType g_enum_register_static (const gchar *name,
  5720.         const GEnumValue *const_static_values);
  5721. GType g_flags_register_static (const gchar *name,
  5722.         const GFlagsValue *const_static_values);
  5723.  
  5724.  
  5725.  
  5726. void g_enum_complete_type_info (GType g_enum_type,
  5727.         GTypeInfo *info,
  5728.         const GEnumValue *const_values);
  5729. void g_flags_complete_type_info (GType g_flags_type,
  5730.         GTypeInfo *info,
  5731.         const GFlagsValue *const_values);
  5732.  
  5733.  
  5734. # 27 "/usr/include/glib-2.0/glib-object.h" 2
  5735. # 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
  5736. # 26 "/usr/include/glib-2.0/gobject/gobject.h"
  5737. # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
  5738. # 27 "/usr/include/glib-2.0/gobject/gobject.h" 2
  5739. # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
  5740. # 28 "/usr/include/glib-2.0/gobject/gvalue.h"
  5741. # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
  5742. # 29 "/usr/include/glib-2.0/gobject/gvalue.h" 2
  5743.  
  5744.  
  5745. # 41 "/usr/include/glib-2.0/gobject/gvalue.h"
  5746. typedef void (*GValueTransform) (const GValue *src_value,
  5747.      GValue *dest_value);
  5748. struct _GValue
  5749. {
  5750.  
  5751.   GType g_type;
  5752.  
  5753.  
  5754.   union {
  5755.     gint v_int;
  5756.     guint v_uint;
  5757.     glong v_long;
  5758.     gulong v_ulong;
  5759.     gint64 v_int64;
  5760.     guint64 v_uint64;
  5761.     gfloat v_float;
  5762.     gdouble v_double;
  5763.     gpointer v_pointer;
  5764.   } data[2];
  5765. };
  5766.  
  5767.  
  5768.  
  5769. GValue* g_value_init (GValue *value,
  5770.       GType g_type);
  5771. void g_value_copy (const GValue *src_value,
  5772.       GValue *dest_value);
  5773. GValue* g_value_reset (GValue *value);
  5774. void g_value_unset (GValue *value);
  5775. void g_value_set_instance (GValue *value,
  5776.       gpointer instance);
  5777.  
  5778.  
  5779.  
  5780. gboolean g_value_fits_pointer (const GValue *value);
  5781. gpointer g_value_peek_pointer (const GValue *value);
  5782.  
  5783.  
  5784.  
  5785. gboolean g_value_type_compatible (GType src_type,
  5786.       GType dest_type);
  5787. gboolean g_value_type_transformable (GType src_type,
  5788.       GType dest_type);
  5789. gboolean g_value_transform (const GValue *src_value,
  5790.       GValue *dest_value);
  5791. void g_value_register_transform_func (GType src_type,
  5792.       GType dest_type,
  5793.       GValueTransform transform_func);
  5794.  
  5795.  
  5796.  
  5797.  
  5798. # 28 "/usr/include/glib-2.0/gobject/gobject.h" 2
  5799. # 1 "/usr/include/glib-2.0/gobject/gparam.h" 1
  5800. # 28 "/usr/include/glib-2.0/gobject/gparam.h"
  5801. # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
  5802. # 29 "/usr/include/glib-2.0/gobject/gparam.h" 2
  5803.  
  5804.  
  5805. # 49 "/usr/include/glib-2.0/gobject/gparam.h"
  5806. typedef enum
  5807. {
  5808.   G_PARAM_READABLE = 1 << 0,
  5809.   G_PARAM_WRITABLE = 1 << 1,
  5810.   G_PARAM_CONSTRUCT = 1 << 2,
  5811.   G_PARAM_CONSTRUCT_ONLY = 1 << 3,
  5812.   G_PARAM_LAX_VALIDATION = 1 << 4,
  5813.   G_PARAM_STATIC_NAME = 1 << 5,
  5814.  
  5815.   G_PARAM_PRIVATE = G_PARAM_STATIC_NAME,
  5816.  
  5817.   G_PARAM_STATIC_NICK = 1 << 6,
  5818.   G_PARAM_STATIC_BLURB = 1 << 7
  5819. } GParamFlags;
  5820. # 71 "/usr/include/glib-2.0/gobject/gparam.h"
  5821. typedef struct _GParamSpec GParamSpec;
  5822. typedef struct _GParamSpecClass GParamSpecClass;
  5823. typedef struct _GParameter GParameter;
  5824. typedef struct _GParamSpecPool GParamSpecPool;
  5825. struct _GParamSpec
  5826. {
  5827.   GTypeInstance g_type_instance;
  5828.  
  5829.   gchar *name;
  5830.   GParamFlags flags;
  5831.   GType value_type;
  5832.   GType owner_type;
  5833.  
  5834.  
  5835.   gchar *_nick;
  5836.   gchar *_blurb;
  5837.   GData *qdata;
  5838.   guint ref_count;
  5839.   guint param_id;
  5840. };
  5841. struct _GParamSpecClass
  5842. {
  5843.   GTypeClass g_type_class;
  5844.  
  5845.   GType value_type;
  5846.  
  5847.   void (*finalize) (GParamSpec *pspec);
  5848.  
  5849.  
  5850.   void (*value_set_default) (GParamSpec *pspec,
  5851.       GValue *value);
  5852.   gboolean (*value_validate) (GParamSpec *pspec,
  5853.       GValue *value);
  5854.   gint (*values_cmp) (GParamSpec *pspec,
  5855.       const GValue *value1,
  5856.       const GValue *value2);
  5857.  
  5858.   gpointer dummy[4];
  5859. };
  5860. struct _GParameter
  5861. {
  5862.   const gchar *name;
  5863.   GValue value;
  5864. };
  5865.  
  5866.  
  5867.  
  5868. GParamSpec* g_param_spec_ref (GParamSpec *pspec);
  5869. void g_param_spec_unref (GParamSpec *pspec);
  5870. void g_param_spec_sink (GParamSpec *pspec);
  5871. GParamSpec* g_param_spec_ref_sink (GParamSpec *pspec);
  5872. gpointer g_param_spec_get_qdata (GParamSpec *pspec,
  5873.        GQuark quark);
  5874. void g_param_spec_set_qdata (GParamSpec *pspec,
  5875.        GQuark quark,
  5876.        gpointer data);
  5877. void g_param_spec_set_qdata_full (GParamSpec *pspec,
  5878.        GQuark quark,
  5879.        gpointer data,
  5880.        GDestroyNotify destroy);
  5881. gpointer g_param_spec_steal_qdata (GParamSpec *pspec,
  5882.        GQuark quark);
  5883. GParamSpec* g_param_spec_get_redirect_target (GParamSpec *pspec);
  5884.  
  5885. void g_param_value_set_default (GParamSpec *pspec,
  5886.        GValue *value);
  5887. gboolean g_param_value_defaults (GParamSpec *pspec,
  5888.        GValue *value);
  5889. gboolean g_param_value_validate (GParamSpec *pspec,
  5890.        GValue *value);
  5891. gboolean g_param_value_convert (GParamSpec *pspec,
  5892.        const GValue *src_value,
  5893.        GValue *dest_value,
  5894.        gboolean strict_validation);
  5895. gint g_param_values_cmp (GParamSpec *pspec,
  5896.        const GValue *value1,
  5897.        const GValue *value2);
  5898. const gchar* g_param_spec_get_name (GParamSpec *pspec);
  5899. const gchar* g_param_spec_get_nick (GParamSpec *pspec);
  5900. const gchar* g_param_spec_get_blurb (GParamSpec *pspec);
  5901. void g_value_set_param (GValue *value,
  5902.        GParamSpec *param);
  5903. GParamSpec* g_value_get_param (const GValue *value);
  5904. GParamSpec* g_value_dup_param (const GValue *value);
  5905.  
  5906.  
  5907. void g_value_take_param (GValue *value,
  5908.               GParamSpec *param);
  5909.  
  5910. void g_value_set_param_take_ownership (GValue *value,
  5911.               GParamSpec *param);
  5912.  
  5913.  
  5914.  
  5915. typedef struct _GParamSpecTypeInfo GParamSpecTypeInfo;
  5916. struct _GParamSpecTypeInfo
  5917. {
  5918.  
  5919.   guint16 instance_size;
  5920.   guint16 n_preallocs;
  5921.   void (*instance_init) (GParamSpec *pspec);
  5922.  
  5923.  
  5924.   GType value_type;
  5925.   void (*finalize) (GParamSpec *pspec);
  5926.   void (*value_set_default) (GParamSpec *pspec,
  5927.       GValue *value);
  5928.   gboolean (*value_validate) (GParamSpec *pspec,
  5929.       GValue *value);
  5930.   gint (*values_cmp) (GParamSpec *pspec,
  5931.       const GValue *value1,
  5932.       const GValue *value2);
  5933. };
  5934. GType g_param_type_register_static (const gchar *name,
  5935.       const GParamSpecTypeInfo *pspec_info);
  5936.  
  5937.  
  5938. GType _g_param_type_register_static_constant (const gchar *name,
  5939.             const GParamSpecTypeInfo *pspec_info,
  5940.             GType opt_type);
  5941.  
  5942.  
  5943.  
  5944. gpointer g_param_spec_internal (GType param_type,
  5945.        const gchar *name,
  5946.        const gchar *nick,
  5947.        const gchar *blurb,
  5948.        GParamFlags flags);
  5949. GParamSpecPool* g_param_spec_pool_new (gboolean type_prefixing);
  5950. void g_param_spec_pool_insert (GParamSpecPool *pool,
  5951.        GParamSpec *pspec,
  5952.        GType owner_type);
  5953. void g_param_spec_pool_remove (GParamSpecPool *pool,
  5954.        GParamSpec *pspec);
  5955. GParamSpec* g_param_spec_pool_lookup (GParamSpecPool *pool,
  5956.        const gchar *param_name,
  5957.        GType owner_type,
  5958.        gboolean walk_ancestors);
  5959. GList* g_param_spec_pool_list_owned (GParamSpecPool *pool,
  5960.        GType owner_type);
  5961. GParamSpec** g_param_spec_pool_list (GParamSpecPool *pool,
  5962.        GType owner_type,
  5963.        guint *n_pspecs_p);
  5964. # 233 "/usr/include/glib-2.0/gobject/gparam.h"
  5965.  
  5966. # 29 "/usr/include/glib-2.0/gobject/gobject.h" 2
  5967. # 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1
  5968. # 27 "/usr/include/glib-2.0/gobject/gclosure.h"
  5969. # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
  5970. # 28 "/usr/include/glib-2.0/gobject/gclosure.h" 2
  5971.  
  5972.  
  5973. # 40 "/usr/include/glib-2.0/gobject/gclosure.h"
  5974. typedef struct _GClosure GClosure;
  5975. typedef struct _GClosureNotifyData GClosureNotifyData;
  5976. typedef void (*GCallback) (void);
  5977. typedef void (*GClosureNotify) (gpointer data,
  5978.       GClosure *closure);
  5979. typedef void (*GClosureMarshal) (GClosure *closure,
  5980.       GValue *return_value,
  5981.       guint n_param_values,
  5982.       const GValue *param_values,
  5983.       gpointer invocation_hint,
  5984.       gpointer marshal_data);
  5985. typedef struct _GCClosure GCClosure;
  5986.  
  5987.  
  5988.  
  5989. struct _GClosureNotifyData
  5990. {
  5991.   gpointer data;
  5992.   GClosureNotify notify;
  5993. };
  5994. struct _GClosure
  5995. {
  5996.  
  5997.   volatile guint ref_count : 15;
  5998.   volatile guint meta_marshal : 1;
  5999.   volatile guint n_guards : 1;
  6000.   volatile guint n_fnotifiers : 2;
  6001.   volatile guint n_inotifiers : 8;
  6002.   volatile guint in_inotify : 1;
  6003.   volatile guint floating : 1;
  6004.  
  6005.   volatile guint derivative_flag : 1;
  6006.  
  6007.   volatile guint in_marshal : 1;
  6008.   volatile guint is_invalid : 1;
  6009.  
  6010.                   void (*marshal) (GClosure *closure,
  6011.          GValue *return_value,
  6012.          guint n_param_values,
  6013.          const GValue *param_values,
  6014.          gpointer invocation_hint,
  6015.          gpointer marshal_data);
  6016.                     gpointer data;
  6017.  
  6018.                   GClosureNotifyData *notifiers;
  6019. # 96 "/usr/include/glib-2.0/gobject/gclosure.h"
  6020. };
  6021.  
  6022.  
  6023. struct _GCClosure
  6024. {
  6025.   GClosure closure;
  6026.   gpointer callback;
  6027. };
  6028.  
  6029.  
  6030.  
  6031. GClosure* g_cclosure_new (GCallback callback_func,
  6032.        gpointer user_data,
  6033.        GClosureNotify destroy_data);
  6034. GClosure* g_cclosure_new_swap (GCallback callback_func,
  6035.        gpointer user_data,
  6036.        GClosureNotify destroy_data);
  6037. GClosure* g_signal_type_cclosure_new (GType itype,
  6038.        guint struct_offset);
  6039.  
  6040.  
  6041.  
  6042. GClosure* g_closure_ref (GClosure *closure);
  6043. void g_closure_sink (GClosure *closure);
  6044. void g_closure_unref (GClosure *closure);
  6045.  
  6046. GClosure* g_closure_new_simple (guint sizeof_closure,
  6047.        gpointer data);
  6048. void g_closure_add_finalize_notifier (GClosure *closure,
  6049.        gpointer notify_data,
  6050.        GClosureNotify notify_func);
  6051. void g_closure_remove_finalize_notifier (GClosure *closure,
  6052.        gpointer notify_data,
  6053.        GClosureNotify notify_func);
  6054. void g_closure_add_invalidate_notifier (GClosure *closure,
  6055.        gpointer notify_data,
  6056.        GClosureNotify notify_func);
  6057. void g_closure_remove_invalidate_notifier (GClosure *closure,
  6058.        gpointer notify_data,
  6059.        GClosureNotify notify_func);
  6060. void g_closure_add_marshal_guards (GClosure *closure,
  6061.        gpointer pre_marshal_data,
  6062.        GClosureNotify pre_marshal_notify,
  6063.        gpointer post_marshal_data,
  6064.        GClosureNotify post_marshal_notify);
  6065. void g_closure_set_marshal (GClosure *closure,
  6066.        GClosureMarshal marshal);
  6067. void g_closure_set_meta_marshal (GClosure *closure,
  6068.        gpointer marshal_data,
  6069.        GClosureMarshal meta_marshal);
  6070. void g_closure_invalidate (GClosure *closure);
  6071. void g_closure_invoke (GClosure *closure,
  6072.        GValue *return_value,
  6073.        guint n_param_values,
  6074.        const GValue *param_values,
  6075.        gpointer invocation_hint);
  6076. # 164 "/usr/include/glib-2.0/gobject/gclosure.h"
  6077.  
  6078. # 30 "/usr/include/glib-2.0/gobject/gobject.h" 2
  6079. # 1 "/usr/include/glib-2.0/gobject/gsignal.h" 1
  6080. # 26 "/usr/include/glib-2.0/gobject/gsignal.h"
  6081. # 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1
  6082. # 27 "/usr/include/glib-2.0/gobject/gsignal.h" 2
  6083. # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
  6084. # 28 "/usr/include/glib-2.0/gobject/gsignal.h" 2
  6085. # 1 "/usr/include/glib-2.0/gobject/gparam.h" 1
  6086. # 29 "/usr/include/glib-2.0/gobject/gsignal.h" 2
  6087. # 1 "/usr/include/glib-2.0/gobject/gmarshal.h" 1
  6088.  
  6089.  
  6090.  
  6091.  
  6092.  
  6093.  
  6094. extern void g_cclosure_marshal_VOID__VOID (GClosure *closure,
  6095.                                            GValue *return_value,
  6096.                                            guint n_param_values,
  6097.                                            const GValue *param_values,
  6098.                                            gpointer invocation_hint,
  6099.                                            gpointer marshal_data);
  6100.  
  6101.  
  6102. extern void g_cclosure_marshal_VOID__BOOLEAN (GClosure *closure,
  6103.                                               GValue *return_value,
  6104.                                               guint n_param_values,
  6105.                                               const GValue *param_values,
  6106.                                               gpointer invocation_hint,
  6107.                                               gpointer marshal_data);
  6108.  
  6109.  
  6110. extern void g_cclosure_marshal_VOID__CHAR (GClosure *closure,
  6111.                                            GValue *return_value,
  6112.                                            guint n_param_values,
  6113.                                            const GValue *param_values,
  6114.                                            gpointer invocation_hint,
  6115.                                            gpointer marshal_data);
  6116.  
  6117.  
  6118. extern void g_cclosure_marshal_VOID__UCHAR (GClosure *closure,
  6119.                                             GValue *return_value,
  6120.                                             guint n_param_values,
  6121.                                             const GValue *param_values,
  6122.                                             gpointer invocation_hint,
  6123.                                             gpointer marshal_data);
  6124.  
  6125.  
  6126. extern void g_cclosure_marshal_VOID__INT (GClosure *closure,
  6127.                                           GValue *return_value,
  6128.                                           guint n_param_values,
  6129.                                           const GValue *param_values,
  6130.                                           gpointer invocation_hint,
  6131.                                           gpointer marshal_data);
  6132.  
  6133.  
  6134. extern void g_cclosure_marshal_VOID__UINT (GClosure *closure,
  6135.                                            GValue *return_value,
  6136.                                            guint n_param_values,
  6137.                                            const GValue *param_values,
  6138.                                            gpointer invocation_hint,
  6139.                                            gpointer marshal_data);
  6140.  
  6141.  
  6142. extern void g_cclosure_marshal_VOID__LONG (GClosure *closure,
  6143.                                            GValue *return_value,
  6144.                                            guint n_param_values,
  6145.                                            const GValue *param_values,
  6146.                                            gpointer invocation_hint,
  6147.                                            gpointer marshal_data);
  6148.  
  6149.  
  6150. extern void g_cclosure_marshal_VOID__ULONG (GClosure *closure,
  6151.                                             GValue *return_value,
  6152.                                             guint n_param_values,
  6153.                                             const GValue *param_values,
  6154.                                             gpointer invocation_hint,
  6155.                                             gpointer marshal_data);
  6156.  
  6157.  
  6158. extern void g_cclosure_marshal_VOID__ENUM (GClosure *closure,
  6159.                                            GValue *return_value,
  6160.                                            guint n_param_values,
  6161.                                            const GValue *param_values,
  6162.                                            gpointer invocation_hint,
  6163.                                            gpointer marshal_data);
  6164.  
  6165.  
  6166. extern void g_cclosure_marshal_VOID__FLAGS (GClosure *closure,
  6167.                                             GValue *return_value,
  6168.                                             guint n_param_values,
  6169.                                             const GValue *param_values,
  6170.                                             gpointer invocation_hint,
  6171.                                             gpointer marshal_data);
  6172.  
  6173.  
  6174. extern void g_cclosure_marshal_VOID__FLOAT (GClosure *closure,
  6175.                                             GValue *return_value,
  6176.                                             guint n_param_values,
  6177.                                             const GValue *param_values,
  6178.                                             gpointer invocation_hint,
  6179.                                             gpointer marshal_data);
  6180.  
  6181.  
  6182. extern void g_cclosure_marshal_VOID__DOUBLE (GClosure *closure,
  6183.                                              GValue *return_value,
  6184.                                              guint n_param_values,
  6185.                                              const GValue *param_values,
  6186.                                              gpointer invocation_hint,
  6187.                                              gpointer marshal_data);
  6188.  
  6189.  
  6190. extern void g_cclosure_marshal_VOID__STRING (GClosure *closure,
  6191.                                              GValue *return_value,
  6192.                                              guint n_param_values,
  6193.                                              const GValue *param_values,
  6194.                                              gpointer invocation_hint,
  6195.                                              gpointer marshal_data);
  6196.  
  6197.  
  6198. extern void g_cclosure_marshal_VOID__PARAM (GClosure *closure,
  6199.                                             GValue *return_value,
  6200.                                             guint n_param_values,
  6201.                                             const GValue *param_values,
  6202.                                             gpointer invocation_hint,
  6203.                                             gpointer marshal_data);
  6204.  
  6205.  
  6206. extern void g_cclosure_marshal_VOID__BOXED (GClosure *closure,
  6207.                                             GValue *return_value,
  6208.                                             guint n_param_values,
  6209.                                             const GValue *param_values,
  6210.                                             gpointer invocation_hint,
  6211.                                             gpointer marshal_data);
  6212.  
  6213.  
  6214. extern void g_cclosure_marshal_VOID__POINTER (GClosure *closure,
  6215.                                               GValue *return_value,
  6216.                                               guint n_param_values,
  6217.                                               const GValue *param_values,
  6218.                                               gpointer invocation_hint,
  6219.                                               gpointer marshal_data);
  6220.  
  6221.  
  6222. extern void g_cclosure_marshal_VOID__OBJECT (GClosure *closure,
  6223.                                              GValue *return_value,
  6224.                                              guint n_param_values,
  6225.                                              const GValue *param_values,
  6226.                                              gpointer invocation_hint,
  6227.                                              gpointer marshal_data);
  6228.  
  6229.  
  6230. extern void g_cclosure_marshal_VOID__UINT_POINTER (GClosure *closure,
  6231.                                                    GValue *return_value,
  6232.                                                    guint n_param_values,
  6233.                                                    const GValue *param_values,
  6234.                                                    gpointer invocation_hint,
  6235.                                                    gpointer marshal_data);
  6236.  
  6237.  
  6238. extern void g_cclosure_marshal_BOOLEAN__FLAGS (GClosure *closure,
  6239.                                                GValue *return_value,
  6240.                                                guint n_param_values,
  6241.                                                const GValue *param_values,
  6242.                                                gpointer invocation_hint,
  6243.                                                gpointer marshal_data);
  6244.  
  6245.  
  6246.  
  6247. extern void g_cclosure_marshal_STRING__OBJECT_POINTER (GClosure *closure,
  6248.                                                        GValue *return_value,
  6249.                                                        guint n_param_values,
  6250.                                                        const GValue *param_values,
  6251.                                                        gpointer invocation_hint,
  6252.                                                        gpointer marshal_data);
  6253.  
  6254.  
  6255. # 30 "/usr/include/glib-2.0/gobject/gsignal.h" 2
  6256.  
  6257.  
  6258.  
  6259.  
  6260. typedef struct _GSignalQuery GSignalQuery;
  6261. typedef struct _GSignalInvocationHint GSignalInvocationHint;
  6262. typedef GClosureMarshal GSignalCMarshaller;
  6263. typedef gboolean (*GSignalEmissionHook) (GSignalInvocationHint *ihint,
  6264.       guint n_param_values,
  6265.       const GValue *param_values,
  6266.       gpointer data);
  6267. typedef gboolean (*GSignalAccumulator) (GSignalInvocationHint *ihint,
  6268.       GValue *return_accu,
  6269.       const GValue *handler_return,
  6270.       gpointer data);
  6271.  
  6272.  
  6273.  
  6274. typedef enum
  6275. {
  6276.   G_SIGNAL_RUN_FIRST = 1 << 0,
  6277.   G_SIGNAL_RUN_LAST = 1 << 1,
  6278.   G_SIGNAL_RUN_CLEANUP = 1 << 2,
  6279.   G_SIGNAL_NO_RECURSE = 1 << 3,
  6280.   G_SIGNAL_DETAILED = 1 << 4,
  6281.   G_SIGNAL_ACTION = 1 << 5,
  6282.   G_SIGNAL_NO_HOOKS = 1 << 6
  6283. } GSignalFlags;
  6284.  
  6285. typedef enum
  6286. {
  6287.   G_CONNECT_AFTER = 1 << 0,
  6288.   G_CONNECT_SWAPPED = 1 << 1
  6289. } GConnectFlags;
  6290. typedef enum
  6291. {
  6292.   G_SIGNAL_MATCH_ID = 1 << 0,
  6293.   G_SIGNAL_MATCH_DETAIL = 1 << 1,
  6294.   G_SIGNAL_MATCH_CLOSURE = 1 << 2,
  6295.   G_SIGNAL_MATCH_FUNC = 1 << 3,
  6296.   G_SIGNAL_MATCH_DATA = 1 << 4,
  6297.   G_SIGNAL_MATCH_UNBLOCKED = 1 << 5
  6298. } GSignalMatchType;
  6299.  
  6300.  
  6301.  
  6302.  
  6303.  
  6304. struct _GSignalInvocationHint
  6305. {
  6306.   guint signal_id;
  6307.   GQuark detail;
  6308.   GSignalFlags run_type;
  6309. };
  6310. struct _GSignalQuery
  6311. {
  6312.   guint signal_id;
  6313.   const gchar *signal_name;
  6314.   GType itype;
  6315.   GSignalFlags signal_flags;
  6316.   GType return_type;
  6317.   guint n_params;
  6318.   const GType *param_types;
  6319. };
  6320.  
  6321.  
  6322.  
  6323. guint g_signal_newv (const gchar *signal_name,
  6324.           GType itype,
  6325.           GSignalFlags signal_flags,
  6326.           GClosure *class_closure,
  6327.           GSignalAccumulator accumulator,
  6328.           gpointer accu_data,
  6329.           GSignalCMarshaller c_marshaller,
  6330.           GType return_type,
  6331.           guint n_params,
  6332.           GType *param_types);
  6333. guint g_signal_new_valist (const gchar *signal_name,
  6334.           GType itype,
  6335.           GSignalFlags signal_flags,
  6336.           GClosure *class_closure,
  6337.           GSignalAccumulator accumulator,
  6338.           gpointer accu_data,
  6339.           GSignalCMarshaller c_marshaller,
  6340.           GType return_type,
  6341.           guint n_params,
  6342.           va_list args);
  6343. guint g_signal_new (const gchar *signal_name,
  6344.           GType itype,
  6345.           GSignalFlags signal_flags,
  6346.           guint class_offset,
  6347.           GSignalAccumulator accumulator,
  6348.           gpointer accu_data,
  6349.           GSignalCMarshaller c_marshaller,
  6350.           GType return_type,
  6351.           guint n_params,
  6352.           ...);
  6353. void g_signal_emitv (const GValue *instance_and_params,
  6354.           guint signal_id,
  6355.           GQuark detail,
  6356.           GValue *return_value);
  6357. void g_signal_emit_valist (gpointer instance,
  6358.           guint signal_id,
  6359.           GQuark detail,
  6360.           va_list var_args);
  6361. void g_signal_emit (gpointer instance,
  6362.           guint signal_id,
  6363.           GQuark detail,
  6364.           ...);
  6365. void g_signal_emit_by_name (gpointer instance,
  6366.           const gchar *detailed_signal,
  6367.           ...);
  6368. guint g_signal_lookup (const gchar *name,
  6369.           GType itype);
  6370. const gchar* g_signal_name (guint signal_id);
  6371. void g_signal_query (guint signal_id,
  6372.           GSignalQuery *query);
  6373. guint* g_signal_list_ids (GType itype,
  6374.           guint *n_ids);
  6375. gboolean g_signal_parse_name (const gchar *detailed_signal,
  6376.           GType itype,
  6377.           guint *signal_id_p,
  6378.           GQuark *detail_p,
  6379.           gboolean force_detail_quark);
  6380. GSignalInvocationHint* g_signal_get_invocation_hint (gpointer instance);
  6381.  
  6382.  
  6383.  
  6384. void g_signal_stop_emission (gpointer instance,
  6385.           guint signal_id,
  6386.           GQuark detail);
  6387. void g_signal_stop_emission_by_name (gpointer instance,
  6388.           const gchar *detailed_signal);
  6389. gulong g_signal_add_emission_hook (guint signal_id,
  6390.           GQuark detail,
  6391.           GSignalEmissionHook hook_func,
  6392.           gpointer hook_data,
  6393.           GDestroyNotify data_destroy);
  6394. void g_signal_remove_emission_hook (guint signal_id,
  6395.           gulong hook_id);
  6396.  
  6397.  
  6398.  
  6399. gboolean g_signal_has_handler_pending (gpointer instance,
  6400.             guint signal_id,
  6401.             GQuark detail,
  6402.             gboolean may_be_blocked);
  6403. gulong g_signal_connect_closure_by_id (gpointer instance,
  6404.             guint signal_id,
  6405.             GQuark detail,
  6406.             GClosure *closure,
  6407.             gboolean after);
  6408. gulong g_signal_connect_closure (gpointer instance,
  6409.             const gchar *detailed_signal,
  6410.             GClosure *closure,
  6411.             gboolean after);
  6412. gulong g_signal_connect_data (gpointer instance,
  6413.             const gchar *detailed_signal,
  6414.             GCallback c_handler,
  6415.             gpointer data,
  6416.             GClosureNotify destroy_data,
  6417.             GConnectFlags connect_flags);
  6418. void g_signal_handler_block (gpointer instance,
  6419.             gulong handler_id);
  6420. void g_signal_handler_unblock (gpointer instance,
  6421.             gulong handler_id);
  6422. void g_signal_handler_disconnect (gpointer instance,
  6423.             gulong handler_id);
  6424. gboolean g_signal_handler_is_connected (gpointer instance,
  6425.             gulong handler_id);
  6426. gulong g_signal_handler_find (gpointer instance,
  6427.             GSignalMatchType mask,
  6428.             guint signal_id,
  6429.             GQuark detail,
  6430.             GClosure *closure,
  6431.             gpointer func,
  6432.             gpointer data);
  6433. guint g_signal_handlers_block_matched (gpointer instance,
  6434.             GSignalMatchType mask,
  6435.             guint signal_id,
  6436.             GQuark detail,
  6437.             GClosure *closure,
  6438.             gpointer func,
  6439.             gpointer data);
  6440. guint g_signal_handlers_unblock_matched (gpointer instance,
  6441.             GSignalMatchType mask,
  6442.             guint signal_id,
  6443.             GQuark detail,
  6444.             GClosure *closure,
  6445.             gpointer func,
  6446.             gpointer data);
  6447. guint g_signal_handlers_disconnect_matched (gpointer instance,
  6448.             GSignalMatchType mask,
  6449.             guint signal_id,
  6450.             GQuark detail,
  6451.             GClosure *closure,
  6452.             gpointer func,
  6453.             gpointer data);
  6454.  
  6455.  
  6456.  
  6457. void g_signal_override_class_closure (guint signal_id,
  6458.             GType instance_type,
  6459.             GClosure *class_closure);
  6460. void g_signal_chain_from_overridden (const GValue *instance_and_params,
  6461.             GValue *return_value);
  6462. # 259 "/usr/include/glib-2.0/gobject/gsignal.h"
  6463. gboolean g_signal_accumulator_true_handled (GSignalInvocationHint *ihint,
  6464.          GValue *return_accu,
  6465.          const GValue *handler_return,
  6466.          gpointer dummy);
  6467.  
  6468.  
  6469. void g_signal_handlers_destroy (gpointer instance);
  6470. void _g_signals_destroy (GType itype);
  6471.  
  6472.  
  6473. # 31 "/usr/include/glib-2.0/gobject/gobject.h" 2
  6474.  
  6475.  
  6476. # 58 "/usr/include/glib-2.0/gobject/gobject.h"
  6477. typedef struct _GObject GObject;
  6478. typedef struct _GObjectClass GObjectClass;
  6479. typedef struct _GObject GInitiallyUnowned;
  6480. typedef struct _GObjectClass GInitiallyUnownedClass;
  6481. typedef struct _GObjectConstructParam GObjectConstructParam;
  6482. typedef void (*GObjectGetPropertyFunc) (GObject *object,
  6483.                                          guint property_id,
  6484.                                          GValue *value,
  6485.                                          GParamSpec *pspec);
  6486. typedef void (*GObjectSetPropertyFunc) (GObject *object,
  6487.                                          guint property_id,
  6488.                                          const GValue *value,
  6489.                                          GParamSpec *pspec);
  6490. typedef void (*GObjectFinalizeFunc) (GObject *object);
  6491. typedef void (*GWeakNotify) (gpointer data,
  6492.       GObject *where_the_object_was);
  6493. struct _GObject
  6494. {
  6495.   GTypeInstance g_type_instance;
  6496.  
  6497.  
  6498.   volatile guint ref_count;
  6499.   GData *qdata;
  6500. };
  6501. struct _GObjectClass
  6502. {
  6503.   GTypeClass g_type_class;
  6504.  
  6505.  
  6506.   GSList *construct_properties;
  6507.  
  6508.  
  6509.  
  6510.   GObject* (*constructor) (GType type,
  6511.                                  guint n_construct_properties,
  6512.                                  GObjectConstructParam *construct_properties);
  6513.  
  6514.   void (*set_property) (GObject *object,
  6515.                                          guint property_id,
  6516.                                          const GValue *value,
  6517.                                          GParamSpec *pspec);
  6518.   void (*get_property) (GObject *object,
  6519.                                          guint property_id,
  6520.                                          GValue *value,
  6521.                                          GParamSpec *pspec);
  6522.   void (*dispose) (GObject *object);
  6523.   void (*finalize) (GObject *object);
  6524.  
  6525.   void (*dispatch_properties_changed) (GObject *object,
  6526.           guint n_pspecs,
  6527.           GParamSpec **pspecs);
  6528.  
  6529.   void (*notify) (GObject *object,
  6530.       GParamSpec *pspec);
  6531.  
  6532.  
  6533.   void (*constructed) (GObject *object);
  6534.  
  6535.  
  6536.  
  6537.   gpointer pdummy[7];
  6538. };
  6539. struct _GObjectConstructParam
  6540. {
  6541.   GParamSpec *pspec;
  6542.   GValue *value;
  6543. };
  6544.  
  6545.  
  6546.  
  6547. GType g_initially_unowned_get_type (void);
  6548. void g_object_class_install_property (GObjectClass *oclass,
  6549.             guint property_id,
  6550.             GParamSpec *pspec);
  6551. GParamSpec* g_object_class_find_property (GObjectClass *oclass,
  6552.             const gchar *property_name);
  6553. GParamSpec**g_object_class_list_properties (GObjectClass *oclass,
  6554.             guint *n_properties);
  6555. void g_object_class_override_property (GObjectClass *oclass,
  6556.             guint property_id,
  6557.             const gchar *name);
  6558.  
  6559. void g_object_interface_install_property (gpointer g_iface,
  6560.        GParamSpec *pspec);
  6561. GParamSpec* g_object_interface_find_property (gpointer g_iface,
  6562.        const gchar *property_name);
  6563. GParamSpec**g_object_interface_list_properties (gpointer g_iface,
  6564.        guint *n_properties_p);
  6565.  
  6566. gpointer g_object_new (GType object_type,
  6567.             const gchar *first_property_name,
  6568.             ...);
  6569. gpointer g_object_newv (GType object_type,
  6570.             guint n_parameters,
  6571.             GParameter *parameters);
  6572. GObject* g_object_new_valist (GType object_type,
  6573.             const gchar *first_property_name,
  6574.             va_list var_args);
  6575. void g_object_set (gpointer object,
  6576.             const gchar *first_property_name,
  6577.             ...) __attribute__((__sentinel__));
  6578. void g_object_get (gpointer object,
  6579.             const gchar *first_property_name,
  6580.             ...) __attribute__((__sentinel__));
  6581. gpointer g_object_connect (gpointer object,
  6582.             const gchar *signal_spec,
  6583.             ...) __attribute__((__sentinel__));
  6584. void g_object_disconnect (gpointer object,
  6585.             const gchar *signal_spec,
  6586.             ...) __attribute__((__sentinel__));
  6587. void g_object_set_valist (GObject *object,
  6588.             const gchar *first_property_name,
  6589.             va_list var_args);
  6590. void g_object_get_valist (GObject *object,
  6591.             const gchar *first_property_name,
  6592.             va_list var_args);
  6593. void g_object_set_property (GObject *object,
  6594.             const gchar *property_name,
  6595.             const GValue *value);
  6596. void g_object_get_property (GObject *object,
  6597.             const gchar *property_name,
  6598.             GValue *value);
  6599. void g_object_freeze_notify (GObject *object);
  6600. void g_object_notify (GObject *object,
  6601.             const gchar *property_name);
  6602. void g_object_thaw_notify (GObject *object);
  6603. gboolean g_object_is_floating (gpointer object);
  6604. gpointer g_object_ref_sink (gpointer object);
  6605. gpointer g_object_ref (gpointer object);
  6606. void g_object_unref (gpointer object);
  6607. void g_object_weak_ref (GObject *object,
  6608.             GWeakNotify notify,
  6609.             gpointer data);
  6610. void g_object_weak_unref (GObject *object,
  6611.             GWeakNotify notify,
  6612.             gpointer data);
  6613. void g_object_add_weak_pointer (GObject *object,
  6614.                                                gpointer *weak_pointer_location);
  6615. void g_object_remove_weak_pointer (GObject *object,
  6616.                                                gpointer *weak_pointer_location);
  6617.  
  6618. typedef void (*GToggleNotify) (gpointer data,
  6619.           GObject *object,
  6620.           gboolean is_last_ref);
  6621.  
  6622. void g_object_add_toggle_ref (GObject *object,
  6623.      GToggleNotify notify,
  6624.      gpointer data);
  6625. void g_object_remove_toggle_ref (GObject *object,
  6626.      GToggleNotify notify,
  6627.      gpointer data);
  6628.  
  6629. gpointer g_object_get_qdata (GObject *object,
  6630.             GQuark quark);
  6631. void g_object_set_qdata (GObject *object,
  6632.             GQuark quark,
  6633.             gpointer data);
  6634. void g_object_set_qdata_full (GObject *object,
  6635.             GQuark quark,
  6636.             gpointer data,
  6637.             GDestroyNotify destroy);
  6638. gpointer g_object_steal_qdata (GObject *object,
  6639.             GQuark quark);
  6640. gpointer g_object_get_data (GObject *object,
  6641.             const gchar *key);
  6642. void g_object_set_data (GObject *object,
  6643.             const gchar *key,
  6644.             gpointer data);
  6645. void g_object_set_data_full (GObject *object,
  6646.             const gchar *key,
  6647.             gpointer data,
  6648.             GDestroyNotify destroy);
  6649. gpointer g_object_steal_data (GObject *object,
  6650.             const gchar *key);
  6651. void g_object_watch_closure (GObject *object,
  6652.             GClosure *closure);
  6653. GClosure* g_cclosure_new_object (GCallback callback_func,
  6654.             GObject *object);
  6655. GClosure* g_cclosure_new_object_swap (GCallback callback_func,
  6656.             GObject *object);
  6657. GClosure* g_closure_new_object (guint sizeof_closure,
  6658.             GObject *object);
  6659. void g_value_set_object (GValue *value,
  6660.             gpointer v_object);
  6661. gpointer g_value_get_object (const GValue *value);
  6662. gpointer g_value_dup_object (const GValue *value);
  6663. gulong g_signal_connect_object (gpointer instance,
  6664.             const gchar *detailed_signal,
  6665.             GCallback c_handler,
  6666.             gpointer gobject,
  6667.             GConnectFlags connect_flags);
  6668.  
  6669.  
  6670. void g_object_force_floating (GObject *object);
  6671. void g_object_run_dispose (GObject *object);
  6672.  
  6673.  
  6674. void g_value_take_object (GValue *value,
  6675.             gpointer v_object);
  6676.  
  6677. void g_value_set_object_take_ownership (GValue *value,
  6678.             gpointer v_object);
  6679.  
  6680.  
  6681.  
  6682. gsize g_object_compat_control (gsize what,
  6683.             gpointer data);
  6684. # 284 "/usr/include/glib-2.0/gobject/gobject.h"
  6685.  
  6686. # 28 "/usr/include/glib-2.0/glib-object.h" 2
  6687. # 1 "/usr/include/glib-2.0/gobject/gparam.h" 1
  6688. # 29 "/usr/include/glib-2.0/glib-object.h" 2
  6689. # 1 "/usr/include/glib-2.0/gobject/gparamspecs.h" 1
  6690. # 28 "/usr/include/glib-2.0/gobject/gparamspecs.h"
  6691. # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
  6692. # 29 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
  6693. # 1 "/usr/include/glib-2.0/gobject/genums.h" 1
  6694. # 30 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
  6695. # 1 "/usr/include/glib-2.0/gobject/gboxed.h" 1
  6696. # 31 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
  6697. # 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
  6698. # 32 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
  6699.  
  6700.  
  6701. # 105 "/usr/include/glib-2.0/gobject/gparamspecs.h"
  6702. typedef struct _GParamSpecChar GParamSpecChar;
  6703. typedef struct _GParamSpecUChar GParamSpecUChar;
  6704. typedef struct _GParamSpecBoolean GParamSpecBoolean;
  6705. typedef struct _GParamSpecInt GParamSpecInt;
  6706. typedef struct _GParamSpecUInt GParamSpecUInt;
  6707. typedef struct _GParamSpecLong GParamSpecLong;
  6708. typedef struct _GParamSpecULong GParamSpecULong;
  6709. typedef struct _GParamSpecInt64 GParamSpecInt64;
  6710. typedef struct _GParamSpecUInt64 GParamSpecUInt64;
  6711. typedef struct _GParamSpecUnichar GParamSpecUnichar;
  6712. typedef struct _GParamSpecEnum GParamSpecEnum;
  6713. typedef struct _GParamSpecFlags GParamSpecFlags;
  6714. typedef struct _GParamSpecFloat GParamSpecFloat;
  6715. typedef struct _GParamSpecDouble GParamSpecDouble;
  6716. typedef struct _GParamSpecString GParamSpecString;
  6717. typedef struct _GParamSpecParam GParamSpecParam;
  6718. typedef struct _GParamSpecBoxed GParamSpecBoxed;
  6719. typedef struct _GParamSpecPointer GParamSpecPointer;
  6720. typedef struct _GParamSpecValueArray GParamSpecValueArray;
  6721. typedef struct _GParamSpecObject GParamSpecObject;
  6722. typedef struct _GParamSpecOverride GParamSpecOverride;
  6723. typedef struct _GParamSpecGType GParamSpecGType;
  6724.  
  6725. struct _GParamSpecChar
  6726. {
  6727.   GParamSpec parent_instance;
  6728.  
  6729.   gint8 minimum;
  6730.   gint8 maximum;
  6731.   gint8 default_value;
  6732. };
  6733. struct _GParamSpecUChar
  6734. {
  6735.   GParamSpec parent_instance;
  6736.  
  6737.   guint8 minimum;
  6738.   guint8 maximum;
  6739.   guint8 default_value;
  6740. };
  6741. struct _GParamSpecBoolean
  6742. {
  6743.   GParamSpec parent_instance;
  6744.  
  6745.   gboolean default_value;
  6746. };
  6747. struct _GParamSpecInt
  6748. {
  6749.   GParamSpec parent_instance;
  6750.  
  6751.   gint minimum;
  6752.   gint maximum;
  6753.   gint default_value;
  6754. };
  6755. struct _GParamSpecUInt
  6756. {
  6757.   GParamSpec parent_instance;
  6758.  
  6759.   guint minimum;
  6760.   guint maximum;
  6761.   guint default_value;
  6762. };
  6763. struct _GParamSpecLong
  6764. {
  6765.   GParamSpec parent_instance;
  6766.  
  6767.   glong minimum;
  6768.   glong maximum;
  6769.   glong default_value;
  6770. };
  6771. struct _GParamSpecULong
  6772. {
  6773.   GParamSpec parent_instance;
  6774.  
  6775.   gulong minimum;
  6776.   gulong maximum;
  6777.   gulong default_value;
  6778. };
  6779. struct _GParamSpecInt64
  6780. {
  6781.   GParamSpec parent_instance;
  6782.  
  6783.   gint64 minimum;
  6784.   gint64 maximum;
  6785.   gint64 default_value;
  6786. };
  6787. struct _GParamSpecUInt64
  6788. {
  6789.   GParamSpec parent_instance;
  6790.  
  6791.   guint64 minimum;
  6792.   guint64 maximum;
  6793.   guint64 default_value;
  6794. };
  6795. struct _GParamSpecUnichar
  6796. {
  6797.   GParamSpec parent_instance;
  6798.  
  6799.   gunichar default_value;
  6800. };
  6801. struct _GParamSpecEnum
  6802. {
  6803.   GParamSpec parent_instance;
  6804.  
  6805.   GEnumClass *enum_class;
  6806.   gint default_value;
  6807. };
  6808. struct _GParamSpecFlags
  6809. {
  6810.   GParamSpec parent_instance;
  6811.  
  6812.   GFlagsClass *flags_class;
  6813.   guint default_value;
  6814. };
  6815. struct _GParamSpecFloat
  6816. {
  6817.   GParamSpec parent_instance;
  6818.  
  6819.   gfloat minimum;
  6820.   gfloat maximum;
  6821.   gfloat default_value;
  6822.   gfloat epsilon;
  6823. };
  6824. struct _GParamSpecDouble
  6825. {
  6826.   GParamSpec parent_instance;
  6827.  
  6828.   gdouble minimum;
  6829.   gdouble maximum;
  6830.   gdouble default_value;
  6831.   gdouble epsilon;
  6832. };
  6833. struct _GParamSpecString
  6834. {
  6835.   GParamSpec parent_instance;
  6836.  
  6837.   gchar *default_value;
  6838.   gchar *cset_first;
  6839.   gchar *cset_nth;
  6840.   gchar substitutor;
  6841.   guint null_fold_if_empty : 1;
  6842.   guint ensure_non_null : 1;
  6843. };
  6844. struct _GParamSpecParam
  6845. {
  6846.   GParamSpec parent_instance;
  6847. };
  6848. struct _GParamSpecBoxed
  6849. {
  6850.   GParamSpec parent_instance;
  6851. };
  6852. struct _GParamSpecPointer
  6853. {
  6854.   GParamSpec parent_instance;
  6855. };
  6856. struct _GParamSpecValueArray
  6857. {
  6858.   GParamSpec parent_instance;
  6859.   GParamSpec *element_spec;
  6860.   guint fixed_n_elements;
  6861. };
  6862. struct _GParamSpecObject
  6863. {
  6864.   GParamSpec parent_instance;
  6865. };
  6866. struct _GParamSpecOverride
  6867. {
  6868.  
  6869.   GParamSpec parent_instance;
  6870.   GParamSpec *overridden;
  6871. };
  6872. struct _GParamSpecGType
  6873. {
  6874.   GParamSpec parent_instance;
  6875.   GType is_a_type;
  6876. };
  6877.  
  6878.  
  6879. GParamSpec* g_param_spec_char (const gchar *name,
  6880.        const gchar *nick,
  6881.        const gchar *blurb,
  6882.        gint8 minimum,
  6883.        gint8 maximum,
  6884.        gint8 default_value,
  6885.        GParamFlags flags);
  6886. GParamSpec* g_param_spec_uchar (const gchar *name,
  6887.        const gchar *nick,
  6888.        const gchar *blurb,
  6889.        guint8 minimum,
  6890.        guint8 maximum,
  6891.        guint8 default_value,
  6892.        GParamFlags flags);
  6893. GParamSpec* g_param_spec_boolean (const gchar *name,
  6894.        const gchar *nick,
  6895.        const gchar *blurb,
  6896.        gboolean default_value,
  6897.        GParamFlags flags);
  6898. GParamSpec* g_param_spec_int (const gchar *name,
  6899.        const gchar *nick,
  6900.        const gchar *blurb,
  6901.        gint minimum,
  6902.        gint maximum,
  6903.        gint default_value,
  6904.        GParamFlags flags);
  6905. GParamSpec* g_param_spec_uint (const gchar *name,
  6906.        const gchar *nick,
  6907.        const gchar *blurb,
  6908.        guint minimum,
  6909.        guint maximum,
  6910.        guint default_value,
  6911.        GParamFlags flags);
  6912. GParamSpec* g_param_spec_long (const gchar *name,
  6913.        const gchar *nick,
  6914.        const gchar *blurb,
  6915.        glong minimum,
  6916.        glong maximum,
  6917.        glong default_value,
  6918.        GParamFlags flags);
  6919. GParamSpec* g_param_spec_ulong (const gchar *name,
  6920.        const gchar *nick,
  6921.        const gchar *blurb,
  6922.        gulong minimum,
  6923.        gulong maximum,
  6924.        gulong default_value,
  6925.        GParamFlags flags);
  6926. GParamSpec* g_param_spec_int64 (const gchar *name,
  6927.        const gchar *nick,
  6928.        const gchar *blurb,
  6929.        gint64 minimum,
  6930.        gint64 maximum,
  6931.        gint64 default_value,
  6932.        GParamFlags flags);
  6933. GParamSpec* g_param_spec_uint64 (const gchar *name,
  6934.        const gchar *nick,
  6935.        const gchar *blurb,
  6936.        guint64 minimum,
  6937.        guint64 maximum,
  6938.        guint64 default_value,
  6939.        GParamFlags flags);
  6940. GParamSpec* g_param_spec_unichar (const gchar *name,
  6941.               const gchar *nick,
  6942.               const gchar *blurb,
  6943.               gunichar default_value,
  6944.               GParamFlags flags);
  6945. GParamSpec* g_param_spec_enum (const gchar *name,
  6946.        const gchar *nick,
  6947.        const gchar *blurb,
  6948.        GType enum_type,
  6949.        gint default_value,
  6950.        GParamFlags flags);
  6951. GParamSpec* g_param_spec_flags (const gchar *name,
  6952.        const gchar *nick,
  6953.        const gchar *blurb,
  6954.        GType flags_type,
  6955.        guint default_value,
  6956.        GParamFlags flags);
  6957. GParamSpec* g_param_spec_float (const gchar *name,
  6958.        const gchar *nick,
  6959.        const gchar *blurb,
  6960.        gfloat minimum,
  6961.        gfloat maximum,
  6962.        gfloat default_value,
  6963.        GParamFlags flags);
  6964. GParamSpec* g_param_spec_double (const gchar *name,
  6965.        const gchar *nick,
  6966.        const gchar *blurb,
  6967.        gdouble minimum,
  6968.        gdouble maximum,
  6969.        gdouble default_value,
  6970.        GParamFlags flags);
  6971. GParamSpec* g_param_spec_string (const gchar *name,
  6972.        const gchar *nick,
  6973.        const gchar *blurb,
  6974.        const gchar *default_value,
  6975.        GParamFlags flags);
  6976. GParamSpec* g_param_spec_param (const gchar *name,
  6977.        const gchar *nick,
  6978.        const gchar *blurb,
  6979.        GType param_type,
  6980.        GParamFlags flags);
  6981. GParamSpec* g_param_spec_boxed (const gchar *name,
  6982.        const gchar *nick,
  6983.        const gchar *blurb,
  6984.        GType boxed_type,
  6985.        GParamFlags flags);
  6986. GParamSpec* g_param_spec_pointer (const gchar *name,
  6987.        const gchar *nick,
  6988.        const gchar *blurb,
  6989.        GParamFlags flags);
  6990. GParamSpec* g_param_spec_value_array (const gchar *name,
  6991.        const gchar *nick,
  6992.        const gchar *blurb,
  6993.        GParamSpec *element_spec,
  6994.        GParamFlags flags);
  6995. GParamSpec* g_param_spec_object (const gchar *name,
  6996.        const gchar *nick,
  6997.        const gchar *blurb,
  6998.        GType object_type,
  6999.        GParamFlags flags);
  7000. GParamSpec* g_param_spec_override (const gchar *name,
  7001.        GParamSpec *overridden);
  7002. GParamSpec* g_param_spec_gtype (const gchar *name,
  7003.        const gchar *nick,
  7004.        const gchar *blurb,
  7005.        GType is_a_type,
  7006.        GParamFlags flags);
  7007. # 435 "/usr/include/glib-2.0/gobject/gparamspecs.h"
  7008. extern GType *g_param_spec_types;
  7009.  
  7010.  
  7011. # 30 "/usr/include/glib-2.0/glib-object.h" 2
  7012. # 1 "/usr/include/glib-2.0/gobject/gsignal.h" 1
  7013. # 31 "/usr/include/glib-2.0/glib-object.h" 2
  7014. # 1 "/usr/include/glib-2.0/gobject/gsourceclosure.h" 1
  7015. # 26 "/usr/include/glib-2.0/gobject/gsourceclosure.h"
  7016. # 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1
  7017. # 27 "/usr/include/glib-2.0/gobject/gsourceclosure.h" 2
  7018.  
  7019.  
  7020.  
  7021. void g_source_set_closure (GSource *source,
  7022.       GClosure *closure);
  7023.  
  7024. GType g_io_channel_get_type (void);
  7025. GType g_io_condition_get_type (void);
  7026.  
  7027.  
  7028.  
  7029.  
  7030.  
  7031. # 32 "/usr/include/glib-2.0/glib-object.h" 2
  7032. # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
  7033. # 33 "/usr/include/glib-2.0/glib-object.h" 2
  7034. # 1 "/usr/include/glib-2.0/gobject/gtypemodule.h" 1
  7035. # 26 "/usr/include/glib-2.0/gobject/gtypemodule.h"
  7036. # 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
  7037. # 27 "/usr/include/glib-2.0/gobject/gtypemodule.h" 2
  7038. # 1 "/usr/include/glib-2.0/gobject/genums.h" 1
  7039. # 28 "/usr/include/glib-2.0/gobject/gtypemodule.h" 2
  7040.  
  7041.  
  7042.  
  7043. typedef struct _GTypeModule GTypeModule;
  7044. typedef struct _GTypeModuleClass GTypeModuleClass;
  7045. # 41 "/usr/include/glib-2.0/gobject/gtypemodule.h"
  7046. struct _GTypeModule
  7047. {
  7048.   GObject parent_instance;
  7049.  
  7050.   guint use_count;
  7051.   GSList *type_infos;
  7052.   GSList *interface_infos;
  7053.  
  7054.  
  7055.   gchar *name;
  7056. };
  7057.  
  7058. struct _GTypeModuleClass
  7059. {
  7060.   GObjectClass parent_class;
  7061.  
  7062.  
  7063.   gboolean (* load) (GTypeModule *module);
  7064.   void (* unload) (GTypeModule *module);
  7065.  
  7066.  
  7067.  
  7068.   void (*reserved1) (void);
  7069.   void (*reserved2) (void);
  7070.   void (*reserved3) (void);
  7071.   void (*reserved4) (void);
  7072. };
  7073. # 110 "/usr/include/glib-2.0/gobject/gtypemodule.h"
  7074. GType g_type_module_get_type (void) __attribute__((__const__));
  7075. gboolean g_type_module_use (GTypeModule *module);
  7076. void g_type_module_unuse (GTypeModule *module);
  7077. void g_type_module_set_name (GTypeModule *module,
  7078.                                        const gchar *name);
  7079. GType g_type_module_register_type (GTypeModule *module,
  7080.                                        GType parent_type,
  7081.                                        const gchar *type_name,
  7082.                                        const GTypeInfo *type_info,
  7083.                                        GTypeFlags flags);
  7084. void g_type_module_add_interface (GTypeModule *module,
  7085.                                        GType instance_type,
  7086.                                        GType interface_type,
  7087.                                        const GInterfaceInfo *interface_info);
  7088. GType g_type_module_register_enum (GTypeModule *module,
  7089.                                        const gchar *name,
  7090.                                        const GEnumValue *const_static_values);
  7091. GType g_type_module_register_flags (GTypeModule *module,
  7092.                                        const gchar *name,
  7093.                                        const GFlagsValue *const_static_values);
  7094.  
  7095.  
  7096. # 34 "/usr/include/glib-2.0/glib-object.h" 2
  7097. # 1 "/usr/include/glib-2.0/gobject/gtypeplugin.h" 1
  7098. # 26 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
  7099. # 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
  7100. # 27 "/usr/include/glib-2.0/gobject/gtypeplugin.h" 2
  7101.  
  7102.  
  7103. # 40 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
  7104. typedef struct _GTypePluginClass GTypePluginClass;
  7105. typedef void (*GTypePluginUse) (GTypePlugin *plugin);
  7106. typedef void (*GTypePluginUnuse) (GTypePlugin *plugin);
  7107. typedef void (*GTypePluginCompleteTypeInfo) (GTypePlugin *plugin,
  7108.          GType g_type,
  7109.          GTypeInfo *info,
  7110.          GTypeValueTable *value_table);
  7111. typedef void (*GTypePluginCompleteInterfaceInfo) (GTypePlugin *plugin,
  7112.          GType instance_type,
  7113.          GType interface_type,
  7114.          GInterfaceInfo *info);
  7115. struct _GTypePluginClass
  7116. {
  7117.  
  7118.   GTypeInterface base_iface;
  7119.  
  7120.  
  7121.   GTypePluginUse use_plugin;
  7122.   GTypePluginUnuse unuse_plugin;
  7123.   GTypePluginCompleteTypeInfo complete_type_info;
  7124.   GTypePluginCompleteInterfaceInfo complete_interface_info;
  7125. };
  7126.  
  7127.  
  7128.  
  7129. GType g_type_plugin_get_type (void) __attribute__((__const__));
  7130. void g_type_plugin_use (GTypePlugin *plugin);
  7131. void g_type_plugin_unuse (GTypePlugin *plugin);
  7132. void g_type_plugin_complete_type_info (GTypePlugin *plugin,
  7133.        GType g_type,
  7134.        GTypeInfo *info,
  7135.        GTypeValueTable *value_table);
  7136. void g_type_plugin_complete_interface_info (GTypePlugin *plugin,
  7137.        GType instance_type,
  7138.        GType interface_type,
  7139.        GInterfaceInfo *info);
  7140.  
  7141.  
  7142. # 35 "/usr/include/glib-2.0/glib-object.h" 2
  7143. # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
  7144. # 36 "/usr/include/glib-2.0/glib-object.h" 2
  7145. # 1 "/usr/include/glib-2.0/gobject/gvaluearray.h" 1
  7146. # 28 "/usr/include/glib-2.0/gobject/gvaluearray.h"
  7147. # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
  7148. # 29 "/usr/include/glib-2.0/gobject/gvaluearray.h" 2
  7149.  
  7150.  
  7151.  
  7152.  
  7153.  
  7154.  
  7155. typedef struct _GValueArray GValueArray;
  7156. struct _GValueArray
  7157. {
  7158.   guint n_values;
  7159.   GValue *values;
  7160.  
  7161.  
  7162.   guint n_prealloced;
  7163. };
  7164.  
  7165.  
  7166.  
  7167. GValue* g_value_array_get_nth (GValueArray *value_array,
  7168.            guint index_);
  7169. GValueArray* g_value_array_new (guint n_prealloced);
  7170. void g_value_array_free (GValueArray *value_array);
  7171. GValueArray* g_value_array_copy (const GValueArray *value_array);
  7172. GValueArray* g_value_array_prepend (GValueArray *value_array,
  7173.            const GValue *value);
  7174. GValueArray* g_value_array_append (GValueArray *value_array,
  7175.            const GValue *value);
  7176. GValueArray* g_value_array_insert (GValueArray *value_array,
  7177.            guint index_,
  7178.            const GValue *value);
  7179. GValueArray* g_value_array_remove (GValueArray *value_array,
  7180.            guint index_);
  7181. GValueArray* g_value_array_sort (GValueArray *value_array,
  7182.            GCompareFunc compare_func);
  7183. GValueArray* g_value_array_sort_with_data (GValueArray *value_array,
  7184.            GCompareDataFunc compare_func,
  7185.            gpointer user_data);
  7186.  
  7187.  
  7188.  
  7189. # 37 "/usr/include/glib-2.0/glib-object.h" 2
  7190. # 1 "/usr/include/glib-2.0/gobject/gvaluetypes.h" 1
  7191. # 28 "/usr/include/glib-2.0/gobject/gvaluetypes.h"
  7192. # 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
  7193. # 29 "/usr/include/glib-2.0/gobject/gvaluetypes.h" 2
  7194.  
  7195.  
  7196. # 51 "/usr/include/glib-2.0/gobject/gvaluetypes.h"
  7197. void g_value_set_char (GValue *value,
  7198.        gchar v_char);
  7199. gchar g_value_get_char (const GValue *value);
  7200. void g_value_set_uchar (GValue *value,
  7201.        guchar v_uchar);
  7202. guchar g_value_get_uchar (const GValue *value);
  7203. void g_value_set_boolean (GValue *value,
  7204.        gboolean v_boolean);
  7205. gboolean g_value_get_boolean (const GValue *value);
  7206. void g_value_set_int (GValue *value,
  7207.        gint v_int);
  7208. gint g_value_get_int (const GValue *value);
  7209. void g_value_set_uint (GValue *value,
  7210.        guint v_uint);
  7211. guint g_value_get_uint (const GValue *value);
  7212. void g_value_set_long (GValue *value,
  7213.        glong v_long);
  7214. glong g_value_get_long (const GValue *value);
  7215. void g_value_set_ulong (GValue *value,
  7216.        gulong v_ulong);
  7217. gulong g_value_get_ulong (const GValue *value);
  7218. void g_value_set_int64 (GValue *value,
  7219.        gint64 v_int64);
  7220. gint64 g_value_get_int64 (const GValue *value);
  7221. void g_value_set_uint64 (GValue *value,
  7222.        guint64 v_uint64);
  7223. guint64 g_value_get_uint64 (const GValue *value);
  7224. void g_value_set_float (GValue *value,
  7225.        gfloat v_float);
  7226. gfloat g_value_get_float (const GValue *value);
  7227. void g_value_set_double (GValue *value,
  7228.        gdouble v_double);
  7229. gdouble g_value_get_double (const GValue *value);
  7230. void g_value_set_string (GValue *value,
  7231.        const gchar *v_string);
  7232. void g_value_set_static_string (GValue *value,
  7233.        const gchar *v_string);
  7234. const gchar* g_value_get_string (const GValue *value);
  7235. gchar* g_value_dup_string (const GValue *value);
  7236. void g_value_set_pointer (GValue *value,
  7237.        gpointer v_pointer);
  7238. gpointer g_value_get_pointer (const GValue *value);
  7239. GType g_gtype_get_type (void);
  7240. void g_value_set_gtype (GValue *value,
  7241.        GType v_gtype);
  7242. GType g_value_get_gtype (const GValue *value);
  7243.  
  7244.  
  7245.  
  7246. GType g_pointer_type_register_static (const gchar *name);
  7247.  
  7248.  
  7249. gchar* g_strdup_value_contents (const GValue *value);
  7250.  
  7251.  
  7252. void g_value_take_string (GValue *value,
  7253.        gchar *v_string);
  7254.  
  7255. void g_value_set_string_take_ownership (GValue *value,
  7256.        gchar *v_string);
  7257.  
  7258.  
  7259.  
  7260.  
  7261. typedef gchar* gchararray;
  7262.  
  7263.  
  7264.  
  7265. # 38 "/usr/include/glib-2.0/glib-object.h" 2