1 // /usr/libexec/gcc/sh4-unknown-linux-gnu/4.2.2/cc1 -quiet -I. -I. -I.. -I../gtk -I.. -I../gdk -I../gdk -I../gdk-pixbuf -I../gdk-pixbuf -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/atk-1.0 -MD .libs/gtknotebook.d -MF .deps/gtknotebook.Tpo -MP -MT gtknotebook.lo -MQ .libs/gtknotebook.o -D_REENTRANT -D_PTHREADS -DHAVE_CONFIG_H -DG_LOG_DOMAIN="Gtk" -DGTK_LIBDIR="/usr/lib" -DGTK_DATADIR="/usr/share" -DGTK_DATA_PREFIX="/usr" -DGTK_SYSCONFDIR="/etc" -DGTK_VERSION="2.12.7" -DGTK_BINARY_VERSION="2.10.0" -DGTK_HOST="sh4-unknown-linux-gnu" -DGTK_COMPILATION -DGTK_PRINT_BACKENDS="file,lpr" -DGTK_PRINT_PREVIEW_COMMAND="evince --unlink-tempfile --preview --print-settings %s %f" -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED -DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -DPIC gtknotebook.c -quiet -dumpbase gtknotebook.c -auxbase-strip .libs/gtknotebook.o -O2 -Wall -fPIC -o - -frandom-seed=0
9 # 1 "/usr/include/string.h" 1 3 4
10 # 26 "/usr/include/string.h" 3 4
11 # 1 "/usr/include/features.h" 1 3 4
12 # 330 "/usr/include/features.h" 3 4
13 # 1 "/usr/include/sys/cdefs.h" 1 3 4
14 # 348 "/usr/include/sys/cdefs.h" 3 4
15 # 1 "/usr/include/bits/wordsize.h" 1 3 4
16 # 349 "/usr/include/sys/cdefs.h" 2 3 4
17 # 331 "/usr/include/features.h" 2 3 4
18 # 354 "/usr/include/features.h" 3 4
19 # 1 "/usr/include/gnu/stubs.h" 1 3 4
20 # 355 "/usr/include/features.h" 2 3 4
21 # 27 "/usr/include/string.h" 2 3 4
28 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4
29 # 214 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 3 4
30 typedef unsigned int size_t;
31 # 34 "/usr/include/string.h" 2 3 4
36 extern void *memcpy (void *__restrict __dest,
37 __const void *__restrict __src, size_t __n)
38 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
41 extern void *memmove (void *__dest, __const void *__src, size_t __n)
42 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
49 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
51 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
57 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
60 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
61 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
64 extern void *memchr (__const void *__s, int __c, size_t __n)
65 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
67 # 82 "/usr/include/string.h" 3 4
70 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
71 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
73 extern char *strncpy (char *__restrict __dest,
74 __const char *__restrict __src, size_t __n)
75 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
78 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
79 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
81 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
82 size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
85 extern int strcmp (__const char *__s1, __const char *__s2)
86 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
88 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
89 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
92 extern int strcoll (__const char *__s1, __const char *__s2)
93 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
95 extern size_t strxfrm (char *__restrict __dest,
96 __const char *__restrict __src, size_t __n)
97 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
99 # 130 "/usr/include/string.h" 3 4
100 extern char *strdup (__const char *__s)
101 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
102 # 165 "/usr/include/string.h" 3 4
105 extern char *strchr (__const char *__s, int __c)
106 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
108 extern char *strrchr (__const char *__s, int __c)
109 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
111 # 181 "/usr/include/string.h" 3 4
115 extern size_t strcspn (__const char *__s, __const char *__reject)
116 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
119 extern size_t strspn (__const char *__s, __const char *__accept)
120 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
122 extern char *strpbrk (__const char *__s, __const char *__accept)
123 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
125 extern char *strstr (__const char *__haystack, __const char *__needle)
126 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
130 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
131 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
136 extern char *__strtok_r (char *__restrict __s,
137 __const char *__restrict __delim,
138 char **__restrict __save_ptr)
139 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
141 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
142 char **__restrict __save_ptr)
143 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
144 # 240 "/usr/include/string.h" 3 4
147 extern size_t strlen (__const char *__s)
148 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
150 # 254 "/usr/include/string.h" 3 4
153 extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
155 # 270 "/usr/include/string.h" 3 4
156 extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
157 # 294 "/usr/include/string.h" 3 4
158 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
162 extern void bcopy (__const void *__src, void *__dest, size_t __n)
163 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
166 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
169 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
170 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
173 extern char *index (__const char *__s, int __c)
174 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
177 extern char *rindex (__const char *__s, int __c)
178 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
182 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
183 # 331 "/usr/include/string.h" 3 4
184 extern int strcasecmp (__const char *__s1, __const char *__s2)
185 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
188 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
189 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
190 # 354 "/usr/include/string.h" 3 4
191 extern char *strsep (char **__restrict __stringp,
192 __const char *__restrict __delim)
193 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
194 # 420 "/usr/include/string.h" 3 4
195 # 1 "/usr/include/bits/string.h" 1 3 4
196 # 421 "/usr/include/string.h" 2 3 4
199 # 1 "/usr/include/bits/string2.h" 1 3 4
200 # 80 "/usr/include/bits/string2.h" 3 4
201 typedef struct { unsigned char __arr[2]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR2;
202 typedef struct { unsigned char __arr[3]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR3;
203 typedef struct { unsigned char __arr[4]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR4;
204 typedef struct { unsigned char __arr[5]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR5;
205 typedef struct { unsigned char __arr[6]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR6;
206 typedef struct { unsigned char __arr[7]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR7;
207 typedef struct { unsigned char __arr[8]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR8;
208 # 394 "/usr/include/bits/string2.h" 3 4
209 extern void *__rawmemchr (const void *__s, int __c);
210 # 969 "/usr/include/bits/string2.h" 3 4
211 extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
212 extern __inline size_t
213 __strcspn_c1 (__const char *__s, int __reject)
215 register size_t __result = 0;
216 while (__s[__result] != '\0' && __s[__result] != __reject)
221 extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
223 extern __inline size_t
224 __strcspn_c2 (__const char *__s, int __reject1, int __reject2)
226 register size_t __result = 0;
227 while (__s[__result] != '\0' && __s[__result] != __reject1
228 && __s[__result] != __reject2)
233 extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
234 int __reject2, int __reject3);
235 extern __inline size_t
236 __strcspn_c3 (__const char *__s, int __reject1, int __reject2,
239 register size_t __result = 0;
240 while (__s[__result] != '\0' && __s[__result] != __reject1
241 && __s[__result] != __reject2 && __s[__result] != __reject3)
245 # 1045 "/usr/include/bits/string2.h" 3 4
246 extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
247 extern __inline size_t
248 __strspn_c1 (__const char *__s, int __accept)
250 register size_t __result = 0;
252 while (__s[__result] == __accept)
257 extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
259 extern __inline size_t
260 __strspn_c2 (__const char *__s, int __accept1, int __accept2)
262 register size_t __result = 0;
264 while (__s[__result] == __accept1 || __s[__result] == __accept2)
269 extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
270 int __accept2, int __accept3);
271 extern __inline size_t
272 __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
274 register size_t __result = 0;
276 while (__s[__result] == __accept1 || __s[__result] == __accept2
277 || __s[__result] == __accept3)
281 # 1121 "/usr/include/bits/string2.h" 3 4
282 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
284 extern __inline char *
285 __strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
288 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
290 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
293 extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
294 int __accept2, int __accept3);
295 extern __inline char *
296 __strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
300 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
301 && *__s != __accept3)
303 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
305 # 1173 "/usr/include/bits/string2.h" 3 4
306 extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
307 extern __inline char *
308 __strtok_r_1c (char *__s, char __sep, char **__nextp)
311 if (__s == ((void *)0))
313 while (*__s == __sep)
315 __result = ((void *)0);
329 # 1205 "/usr/include/bits/string2.h" 3 4
330 extern char *__strsep_g (char **__stringp, __const char *__delim);
331 # 1223 "/usr/include/bits/string2.h" 3 4
332 extern __inline char *__strsep_1c (char **__s, char __reject);
333 extern __inline char *
334 __strsep_1c (char **__s, char __reject)
336 register char *__retval = *__s;
337 if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0))
342 extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
343 extern __inline char *
344 __strsep_2c (char **__s, char __reject1, char __reject2)
346 register char *__retval = *__s;
347 if (__retval != ((void *)0))
349 register char *__cp = __retval;
357 if (*__cp == __reject1 || *__cp == __reject2)
369 extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
371 extern __inline char *
372 __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
374 register char *__retval = *__s;
375 if (__retval != ((void *)0))
377 register char *__cp = __retval;
385 if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
396 # 1299 "/usr/include/bits/string2.h" 3 4
397 # 1 "/usr/include/stdlib.h" 1 3 4
398 # 33 "/usr/include/stdlib.h" 3 4
399 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4
400 # 34 "/usr/include/stdlib.h" 2 3 4
403 # 469 "/usr/include/stdlib.h" 3 4
406 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
408 extern void *calloc (size_t __nmemb, size_t __size)
409 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
411 # 883 "/usr/include/stdlib.h" 3 4
413 # 1300 "/usr/include/bits/string2.h" 2 3 4
418 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
419 # 1323 "/usr/include/bits/string2.h" 3 4
420 extern char *__strndup (__const char *__string, size_t __n)
421 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
422 # 424 "/usr/include/string.h" 2 3 4
423 # 432 "/usr/include/string.h" 3 4
425 # 30 "gtknotebook.c" 2
426 # 1 "gtknotebook.h" 1
430 # 1 "../gdk/gdkcairo.h" 1
431 # 23 "../gdk/gdkcairo.h"
432 # 1 "../gdk/gdkcolor.h" 1
433 # 30 "../gdk/gdkcolor.h"
434 # 1 "/usr/include/cairo/cairo.h" 1
435 # 41 "/usr/include/cairo/cairo.h"
436 # 1 "/usr/include/cairo/cairo-features.h" 1
437 # 42 "/usr/include/cairo/cairo.h" 2
438 # 1 "/usr/include/cairo/cairo-deprecated.h" 1
439 # 43 "/usr/include/cairo/cairo.h" 2
442 # 56 "/usr/include/cairo/cairo.h"
444 cairo_version (void);
447 cairo_version_string (void);
448 # 76 "/usr/include/cairo/cairo.h"
449 typedef int cairo_bool_t;
450 # 91 "/usr/include/cairo/cairo.h"
451 typedef struct _cairo cairo_t;
452 # 109 "/usr/include/cairo/cairo.h"
453 typedef struct _cairo_surface cairo_surface_t;
454 # 128 "/usr/include/cairo/cairo.h"
455 typedef struct _cairo_matrix {
456 double xx; double yx;
457 double xy; double yy;
458 double x0; double y0;
460 # 153 "/usr/include/cairo/cairo.h"
461 typedef struct _cairo_pattern cairo_pattern_t;
462 # 163 "/usr/include/cairo/cairo.h"
463 typedef void (*cairo_destroy_func_t) (void *data);
464 # 175 "/usr/include/cairo/cairo.h"
465 typedef struct _cairo_user_data_key {
467 } cairo_user_data_key_t;
468 # 213 "/usr/include/cairo/cairo.h"
469 typedef enum _cairo_status {
470 CAIRO_STATUS_SUCCESS = 0,
471 CAIRO_STATUS_NO_MEMORY,
472 CAIRO_STATUS_INVALID_RESTORE,
473 CAIRO_STATUS_INVALID_POP_GROUP,
474 CAIRO_STATUS_NO_CURRENT_POINT,
475 CAIRO_STATUS_INVALID_MATRIX,
476 CAIRO_STATUS_INVALID_STATUS,
477 CAIRO_STATUS_NULL_POINTER,
478 CAIRO_STATUS_INVALID_STRING,
479 CAIRO_STATUS_INVALID_PATH_DATA,
480 CAIRO_STATUS_READ_ERROR,
481 CAIRO_STATUS_WRITE_ERROR,
482 CAIRO_STATUS_SURFACE_FINISHED,
483 CAIRO_STATUS_SURFACE_TYPE_MISMATCH,
484 CAIRO_STATUS_PATTERN_TYPE_MISMATCH,
485 CAIRO_STATUS_INVALID_CONTENT,
486 CAIRO_STATUS_INVALID_FORMAT,
487 CAIRO_STATUS_INVALID_VISUAL,
488 CAIRO_STATUS_FILE_NOT_FOUND,
489 CAIRO_STATUS_INVALID_DASH,
490 CAIRO_STATUS_INVALID_DSC_COMMENT,
491 CAIRO_STATUS_INVALID_INDEX,
492 CAIRO_STATUS_CLIP_NOT_REPRESENTABLE
494 # 253 "/usr/include/cairo/cairo.h"
495 typedef enum _cairo_content {
496 CAIRO_CONTENT_COLOR = 0x1000,
497 CAIRO_CONTENT_ALPHA = 0x2000,
498 CAIRO_CONTENT_COLOR_ALPHA = 0x3000
500 # 275 "/usr/include/cairo/cairo.h"
501 typedef cairo_status_t (*cairo_write_func_t) (void *closure,
502 const unsigned char *data,
503 unsigned int length);
504 # 295 "/usr/include/cairo/cairo.h"
505 typedef cairo_status_t (*cairo_read_func_t) (void *closure,
507 unsigned int length);
511 cairo_create (cairo_surface_t *target);
514 cairo_reference (cairo_t *cr);
517 cairo_destroy (cairo_t *cr);
520 cairo_get_reference_count (cairo_t *cr);
523 cairo_get_user_data (cairo_t *cr,
524 const cairo_user_data_key_t *key);
527 cairo_set_user_data (cairo_t *cr,
528 const cairo_user_data_key_t *key,
530 cairo_destroy_func_t destroy);
533 cairo_save (cairo_t *cr);
536 cairo_restore (cairo_t *cr);
539 cairo_push_group (cairo_t *cr);
542 cairo_push_group_with_content (cairo_t *cr, cairo_content_t content);
545 cairo_pop_group (cairo_t *cr);
548 cairo_pop_group_to_source (cairo_t *cr);
552 typedef enum _cairo_operator {
553 CAIRO_OPERATOR_CLEAR,
555 CAIRO_OPERATOR_SOURCE,
562 CAIRO_OPERATOR_DEST_OVER,
563 CAIRO_OPERATOR_DEST_IN,
564 CAIRO_OPERATOR_DEST_OUT,
565 CAIRO_OPERATOR_DEST_ATOP,
569 CAIRO_OPERATOR_SATURATE
573 cairo_set_operator (cairo_t *cr, cairo_operator_t op);
576 cairo_set_source (cairo_t *cr, cairo_pattern_t *source);
579 cairo_set_source_rgb (cairo_t *cr, double red, double green, double blue);
582 cairo_set_source_rgba (cairo_t *cr,
583 double red, double green, double blue,
587 cairo_set_source_surface (cairo_t *cr,
588 cairo_surface_t *surface,
593 cairo_set_tolerance (cairo_t *cr, double tolerance);
594 # 398 "/usr/include/cairo/cairo.h"
595 typedef enum _cairo_antialias {
596 CAIRO_ANTIALIAS_DEFAULT,
597 CAIRO_ANTIALIAS_NONE,
598 CAIRO_ANTIALIAS_GRAY,
599 CAIRO_ANTIALIAS_SUBPIXEL
603 cairo_set_antialias (cairo_t *cr, cairo_antialias_t antialias);
604 # 431 "/usr/include/cairo/cairo.h"
605 typedef enum _cairo_fill_rule {
606 CAIRO_FILL_RULE_WINDING,
607 CAIRO_FILL_RULE_EVEN_ODD
611 cairo_set_fill_rule (cairo_t *cr, cairo_fill_rule_t fill_rule);
614 cairo_set_line_width (cairo_t *cr, double width);
615 # 450 "/usr/include/cairo/cairo.h"
616 typedef enum _cairo_line_cap {
618 CAIRO_LINE_CAP_ROUND,
619 CAIRO_LINE_CAP_SQUARE
623 cairo_set_line_cap (cairo_t *cr, cairo_line_cap_t line_cap);
624 # 470 "/usr/include/cairo/cairo.h"
625 typedef enum _cairo_line_join {
626 CAIRO_LINE_JOIN_MITER,
627 CAIRO_LINE_JOIN_ROUND,
628 CAIRO_LINE_JOIN_BEVEL
632 cairo_set_line_join (cairo_t *cr, cairo_line_join_t line_join);
635 cairo_set_dash (cairo_t *cr,
636 const double *dashes,
641 cairo_set_miter_limit (cairo_t *cr, double limit);
644 cairo_translate (cairo_t *cr, double tx, double ty);
647 cairo_scale (cairo_t *cr, double sx, double sy);
650 cairo_rotate (cairo_t *cr, double angle);
653 cairo_transform (cairo_t *cr,
654 const cairo_matrix_t *matrix);
657 cairo_set_matrix (cairo_t *cr,
658 const cairo_matrix_t *matrix);
661 cairo_identity_matrix (cairo_t *cr);
664 cairo_user_to_device (cairo_t *cr, double *x, double *y);
667 cairo_user_to_device_distance (cairo_t *cr, double *dx, double *dy);
670 cairo_device_to_user (cairo_t *cr, double *x, double *y);
673 cairo_device_to_user_distance (cairo_t *cr, double *dx, double *dy);
677 cairo_new_path (cairo_t *cr);
680 cairo_move_to (cairo_t *cr, double x, double y);
683 cairo_new_sub_path (cairo_t *cr);
686 cairo_line_to (cairo_t *cr, double x, double y);
689 cairo_curve_to (cairo_t *cr,
690 double x1, double y1,
691 double x2, double y2,
692 double x3, double y3);
695 cairo_arc (cairo_t *cr,
696 double xc, double yc,
698 double angle1, double angle2);
701 cairo_arc_negative (cairo_t *cr,
702 double xc, double yc,
704 double angle1, double angle2);
705 # 559 "/usr/include/cairo/cairo.h"
707 cairo_rel_move_to (cairo_t *cr, double dx, double dy);
710 cairo_rel_line_to (cairo_t *cr, double dx, double dy);
713 cairo_rel_curve_to (cairo_t *cr,
714 double dx1, double dy1,
715 double dx2, double dy2,
716 double dx3, double dy3);
719 cairo_rectangle (cairo_t *cr,
721 double width, double height);
729 cairo_close_path (cairo_t *cr);
733 cairo_paint (cairo_t *cr);
736 cairo_paint_with_alpha (cairo_t *cr,
740 cairo_mask (cairo_t *cr,
741 cairo_pattern_t *pattern);
744 cairo_mask_surface (cairo_t *cr,
745 cairo_surface_t *surface,
750 cairo_stroke (cairo_t *cr);
753 cairo_stroke_preserve (cairo_t *cr);
756 cairo_fill (cairo_t *cr);
759 cairo_fill_preserve (cairo_t *cr);
762 cairo_copy_page (cairo_t *cr);
765 cairo_show_page (cairo_t *cr);
769 cairo_in_stroke (cairo_t *cr, double x, double y);
772 cairo_in_fill (cairo_t *cr, double x, double y);
776 cairo_stroke_extents (cairo_t *cr,
777 double *x1, double *y1,
778 double *x2, double *y2);
781 cairo_fill_extents (cairo_t *cr,
782 double *x1, double *y1,
783 double *x2, double *y2);
787 cairo_reset_clip (cairo_t *cr);
790 cairo_clip (cairo_t *cr);
793 cairo_clip_preserve (cairo_t *cr);
796 cairo_clip_extents (cairo_t *cr,
797 double *x1, double *y1,
798 double *x2, double *y2);
799 # 664 "/usr/include/cairo/cairo.h"
800 typedef struct _cairo_rectangle {
801 double x, y, width, height;
803 # 679 "/usr/include/cairo/cairo.h"
804 typedef struct _cairo_rectangle_list {
805 cairo_status_t status;
806 cairo_rectangle_t *rectangles;
808 } cairo_rectangle_list_t;
810 cairo_rectangle_list_t *
811 cairo_copy_clip_rectangle_list (cairo_t *cr);
814 cairo_rectangle_list_destroy (cairo_rectangle_list_t *rectangle_list);
815 # 708 "/usr/include/cairo/cairo.h"
816 typedef struct _cairo_scaled_font cairo_scaled_font_t;
817 # 727 "/usr/include/cairo/cairo.h"
818 typedef struct _cairo_font_face cairo_font_face_t;
819 # 753 "/usr/include/cairo/cairo.h"
825 # 786 "/usr/include/cairo/cairo.h"
833 } cairo_text_extents_t;
834 # 836 "/usr/include/cairo/cairo.h"
839 double max_x_advance;
840 double max_y_advance;
841 } cairo_font_extents_t;
842 # 852 "/usr/include/cairo/cairo.h"
843 typedef enum _cairo_font_slant {
844 CAIRO_FONT_SLANT_NORMAL,
845 CAIRO_FONT_SLANT_ITALIC,
846 CAIRO_FONT_SLANT_OBLIQUE
847 } cairo_font_slant_t;
848 # 865 "/usr/include/cairo/cairo.h"
849 typedef enum _cairo_font_weight {
850 CAIRO_FONT_WEIGHT_NORMAL,
851 CAIRO_FONT_WEIGHT_BOLD
852 } cairo_font_weight_t;
853 # 887 "/usr/include/cairo/cairo.h"
854 typedef enum _cairo_subpixel_order {
855 CAIRO_SUBPIXEL_ORDER_DEFAULT,
856 CAIRO_SUBPIXEL_ORDER_RGB,
857 CAIRO_SUBPIXEL_ORDER_BGR,
858 CAIRO_SUBPIXEL_ORDER_VRGB,
859 CAIRO_SUBPIXEL_ORDER_VBGR
860 } cairo_subpixel_order_t;
861 # 917 "/usr/include/cairo/cairo.h"
862 typedef enum _cairo_hint_style {
863 CAIRO_HINT_STYLE_DEFAULT,
864 CAIRO_HINT_STYLE_NONE,
865 CAIRO_HINT_STYLE_SLIGHT,
866 CAIRO_HINT_STYLE_MEDIUM,
867 CAIRO_HINT_STYLE_FULL
868 } cairo_hint_style_t;
869 # 938 "/usr/include/cairo/cairo.h"
870 typedef enum _cairo_hint_metrics {
871 CAIRO_HINT_METRICS_DEFAULT,
872 CAIRO_HINT_METRICS_OFF,
873 CAIRO_HINT_METRICS_ON
874 } cairo_hint_metrics_t;
875 # 964 "/usr/include/cairo/cairo.h"
876 typedef struct _cairo_font_options cairo_font_options_t;
878 cairo_font_options_t *
879 cairo_font_options_create (void);
881 cairo_font_options_t *
882 cairo_font_options_copy (const cairo_font_options_t *original);
885 cairo_font_options_destroy (cairo_font_options_t *options);
888 cairo_font_options_status (cairo_font_options_t *options);
891 cairo_font_options_merge (cairo_font_options_t *options,
892 const cairo_font_options_t *other);
894 cairo_font_options_equal (const cairo_font_options_t *options,
895 const cairo_font_options_t *other);
898 cairo_font_options_hash (const cairo_font_options_t *options);
901 cairo_font_options_set_antialias (cairo_font_options_t *options,
902 cairo_antialias_t antialias);
904 cairo_font_options_get_antialias (const cairo_font_options_t *options);
907 cairo_font_options_set_subpixel_order (cairo_font_options_t *options,
908 cairo_subpixel_order_t subpixel_order);
909 cairo_subpixel_order_t
910 cairo_font_options_get_subpixel_order (const cairo_font_options_t *options);
913 cairo_font_options_set_hint_style (cairo_font_options_t *options,
914 cairo_hint_style_t hint_style);
916 cairo_font_options_get_hint_style (const cairo_font_options_t *options);
919 cairo_font_options_set_hint_metrics (cairo_font_options_t *options,
920 cairo_hint_metrics_t hint_metrics);
922 cairo_font_options_get_hint_metrics (const cairo_font_options_t *options);
928 cairo_select_font_face (cairo_t *cr,
930 cairo_font_slant_t slant,
931 cairo_font_weight_t weight);
934 cairo_set_font_size (cairo_t *cr, double size);
937 cairo_set_font_matrix (cairo_t *cr,
938 const cairo_matrix_t *matrix);
941 cairo_get_font_matrix (cairo_t *cr,
942 cairo_matrix_t *matrix);
945 cairo_set_font_options (cairo_t *cr,
946 const cairo_font_options_t *options);
949 cairo_get_font_options (cairo_t *cr,
950 cairo_font_options_t *options);
953 cairo_set_font_face (cairo_t *cr, cairo_font_face_t *font_face);
956 cairo_get_font_face (cairo_t *cr);
959 cairo_set_scaled_font (cairo_t *cr,
960 const cairo_scaled_font_t *scaled_font);
962 cairo_scaled_font_t *
963 cairo_get_scaled_font (cairo_t *cr);
966 cairo_show_text (cairo_t *cr, const char *utf8);
969 cairo_show_glyphs (cairo_t *cr, const cairo_glyph_t *glyphs, int num_glyphs);
972 cairo_text_path (cairo_t *cr, const char *utf8);
975 cairo_glyph_path (cairo_t *cr, const cairo_glyph_t *glyphs, int num_glyphs);
978 cairo_text_extents (cairo_t *cr,
980 cairo_text_extents_t *extents);
983 cairo_glyph_extents (cairo_t *cr,
984 const cairo_glyph_t *glyphs,
986 cairo_text_extents_t *extents);
989 cairo_font_extents (cairo_t *cr,
990 cairo_font_extents_t *extents);
995 cairo_font_face_reference (cairo_font_face_t *font_face);
998 cairo_font_face_destroy (cairo_font_face_t *font_face);
1001 cairo_font_face_get_reference_count (cairo_font_face_t *font_face);
1004 cairo_font_face_status (cairo_font_face_t *font_face);
1005 # 1130 "/usr/include/cairo/cairo.h"
1006 typedef enum _cairo_font_type {
1007 CAIRO_FONT_TYPE_TOY,
1009 CAIRO_FONT_TYPE_WIN32,
1010 CAIRO_FONT_TYPE_ATSUI
1011 } cairo_font_type_t;
1014 cairo_font_face_get_type (cairo_font_face_t *font_face);
1017 cairo_font_face_get_user_data (cairo_font_face_t *font_face,
1018 const cairo_user_data_key_t *key);
1021 cairo_font_face_set_user_data (cairo_font_face_t *font_face,
1022 const cairo_user_data_key_t *key,
1024 cairo_destroy_func_t destroy);
1028 cairo_scaled_font_t *
1029 cairo_scaled_font_create (cairo_font_face_t *font_face,
1030 const cairo_matrix_t *font_matrix,
1031 const cairo_matrix_t *ctm,
1032 const cairo_font_options_t *options);
1034 cairo_scaled_font_t *
1035 cairo_scaled_font_reference (cairo_scaled_font_t *scaled_font);
1038 cairo_scaled_font_destroy (cairo_scaled_font_t *scaled_font);
1041 cairo_scaled_font_get_reference_count (cairo_scaled_font_t *scaled_font);
1044 cairo_scaled_font_status (cairo_scaled_font_t *scaled_font);
1047 cairo_scaled_font_get_type (cairo_scaled_font_t *scaled_font);
1050 cairo_scaled_font_get_user_data (cairo_scaled_font_t *scaled_font,
1051 const cairo_user_data_key_t *key);
1054 cairo_scaled_font_set_user_data (cairo_scaled_font_t *scaled_font,
1055 const cairo_user_data_key_t *key,
1057 cairo_destroy_func_t destroy);
1060 cairo_scaled_font_extents (cairo_scaled_font_t *scaled_font,
1061 cairo_font_extents_t *extents);
1064 cairo_scaled_font_text_extents (cairo_scaled_font_t *scaled_font,
1066 cairo_text_extents_t *extents);
1069 cairo_scaled_font_glyph_extents (cairo_scaled_font_t *scaled_font,
1070 const cairo_glyph_t *glyphs,
1072 cairo_text_extents_t *extents);
1075 cairo_scaled_font_get_font_face (cairo_scaled_font_t *scaled_font);
1078 cairo_scaled_font_get_font_matrix (cairo_scaled_font_t *scaled_font,
1079 cairo_matrix_t *font_matrix);
1082 cairo_scaled_font_get_ctm (cairo_scaled_font_t *scaled_font,
1083 cairo_matrix_t *ctm);
1086 cairo_scaled_font_get_font_options (cairo_scaled_font_t *scaled_font,
1087 cairo_font_options_t *options);
1092 cairo_get_operator (cairo_t *cr);
1095 cairo_get_source (cairo_t *cr);
1098 cairo_get_tolerance (cairo_t *cr);
1101 cairo_get_antialias (cairo_t *cr);
1104 cairo_get_current_point (cairo_t *cr, double *x, double *y);
1107 cairo_get_fill_rule (cairo_t *cr);
1110 cairo_get_line_width (cairo_t *cr);
1113 cairo_get_line_cap (cairo_t *cr);
1116 cairo_get_line_join (cairo_t *cr);
1119 cairo_get_miter_limit (cairo_t *cr);
1122 cairo_get_dash_count (cairo_t *cr);
1125 cairo_get_dash (cairo_t *cr, double *dashes, double *offset);
1128 cairo_get_matrix (cairo_t *cr, cairo_matrix_t *matrix);
1131 cairo_get_target (cairo_t *cr);
1134 cairo_get_group_target (cairo_t *cr);
1135 # 1271 "/usr/include/cairo/cairo.h"
1136 typedef enum _cairo_path_data_type {
1139 CAIRO_PATH_CURVE_TO,
1140 CAIRO_PATH_CLOSE_PATH
1141 } cairo_path_data_type_t;
1142 # 1344 "/usr/include/cairo/cairo.h"
1143 typedef union _cairo_path_data_t cairo_path_data_t;
1144 union _cairo_path_data_t {
1146 cairo_path_data_type_t type;
1153 # 1374 "/usr/include/cairo/cairo.h"
1154 typedef struct cairo_path {
1155 cairo_status_t status;
1156 cairo_path_data_t *data;
1161 cairo_copy_path (cairo_t *cr);
1164 cairo_copy_path_flat (cairo_t *cr);
1167 cairo_append_path (cairo_t *cr,
1168 const cairo_path_t *path);
1171 cairo_path_destroy (cairo_path_t *path);
1176 cairo_status (cairo_t *cr);
1179 cairo_status_to_string (cairo_status_t status);
1184 cairo_surface_create_similar (cairo_surface_t *other,
1185 cairo_content_t content,
1190 cairo_surface_reference (cairo_surface_t *surface);
1193 cairo_surface_finish (cairo_surface_t *surface);
1196 cairo_surface_destroy (cairo_surface_t *surface);
1199 cairo_surface_get_reference_count (cairo_surface_t *surface);
1202 cairo_surface_status (cairo_surface_t *surface);
1203 # 1462 "/usr/include/cairo/cairo.h"
1204 typedef enum _cairo_surface_type {
1205 CAIRO_SURFACE_TYPE_IMAGE,
1206 CAIRO_SURFACE_TYPE_PDF,
1207 CAIRO_SURFACE_TYPE_PS,
1208 CAIRO_SURFACE_TYPE_XLIB,
1209 CAIRO_SURFACE_TYPE_XCB,
1210 CAIRO_SURFACE_TYPE_GLITZ,
1211 CAIRO_SURFACE_TYPE_QUARTZ,
1212 CAIRO_SURFACE_TYPE_WIN32,
1213 CAIRO_SURFACE_TYPE_BEOS,
1214 CAIRO_SURFACE_TYPE_DIRECTFB,
1215 CAIRO_SURFACE_TYPE_SVG,
1216 CAIRO_SURFACE_TYPE_OS2
1217 } cairo_surface_type_t;
1219 cairo_surface_type_t
1220 cairo_surface_get_type (cairo_surface_t *surface);
1223 cairo_surface_get_content (cairo_surface_t *surface);
1228 cairo_surface_write_to_png (cairo_surface_t *surface,
1229 const char *filename);
1232 cairo_surface_write_to_png_stream (cairo_surface_t *surface,
1233 cairo_write_func_t write_func,
1239 cairo_surface_get_user_data (cairo_surface_t *surface,
1240 const cairo_user_data_key_t *key);
1243 cairo_surface_set_user_data (cairo_surface_t *surface,
1244 const cairo_user_data_key_t *key,
1246 cairo_destroy_func_t destroy);
1249 cairo_surface_get_font_options (cairo_surface_t *surface,
1250 cairo_font_options_t *options);
1253 cairo_surface_flush (cairo_surface_t *surface);
1256 cairo_surface_mark_dirty (cairo_surface_t *surface);
1259 cairo_surface_mark_dirty_rectangle (cairo_surface_t *surface,
1266 cairo_surface_set_device_offset (cairo_surface_t *surface,
1271 cairo_surface_get_device_offset (cairo_surface_t *surface,
1276 cairo_surface_set_fallback_resolution (cairo_surface_t *surface,
1277 double x_pixels_per_inch,
1278 double y_pixels_per_inch);
1279 # 1567 "/usr/include/cairo/cairo.h"
1280 typedef enum _cairo_format {
1281 CAIRO_FORMAT_ARGB32,
1292 cairo_image_surface_create (cairo_format_t format,
1297 cairo_image_surface_create_for_data (unsigned char *data,
1298 cairo_format_t format,
1304 cairo_image_surface_get_data (cairo_surface_t *surface);
1307 cairo_image_surface_get_format (cairo_surface_t *surface);
1310 cairo_image_surface_get_width (cairo_surface_t *surface);
1313 cairo_image_surface_get_height (cairo_surface_t *surface);
1316 cairo_image_surface_get_stride (cairo_surface_t *surface);
1321 cairo_image_surface_create_from_png (const char *filename);
1324 cairo_image_surface_create_from_png_stream (cairo_read_func_t read_func,
1332 cairo_pattern_create_rgb (double red, double green, double blue);
1335 cairo_pattern_create_rgba (double red, double green, double blue,
1339 cairo_pattern_create_for_surface (cairo_surface_t *surface);
1342 cairo_pattern_create_linear (double x0, double y0,
1343 double x1, double y1);
1346 cairo_pattern_create_radial (double cx0, double cy0, double radius0,
1347 double cx1, double cy1, double radius1);
1350 cairo_pattern_reference (cairo_pattern_t *pattern);
1353 cairo_pattern_destroy (cairo_pattern_t *pattern);
1356 cairo_pattern_get_reference_count (cairo_pattern_t *pattern);
1359 cairo_pattern_status (cairo_pattern_t *pattern);
1362 cairo_pattern_get_user_data (cairo_pattern_t *pattern,
1363 const cairo_user_data_key_t *key);
1366 cairo_pattern_set_user_data (cairo_pattern_t *pattern,
1367 const cairo_user_data_key_t *key,
1369 cairo_destroy_func_t destroy);
1370 # 1688 "/usr/include/cairo/cairo.h"
1371 typedef enum _cairo_pattern_type {
1372 CAIRO_PATTERN_TYPE_SOLID,
1373 CAIRO_PATTERN_TYPE_SURFACE,
1374 CAIRO_PATTERN_TYPE_LINEAR,
1375 CAIRO_PATTERN_TYPE_RADIAL
1376 } cairo_pattern_type_t;
1378 cairo_pattern_type_t
1379 cairo_pattern_get_type (cairo_pattern_t *pattern);
1382 cairo_pattern_add_color_stop_rgb (cairo_pattern_t *pattern,
1384 double red, double green, double blue);
1387 cairo_pattern_add_color_stop_rgba (cairo_pattern_t *pattern,
1389 double red, double green, double blue,
1393 cairo_pattern_set_matrix (cairo_pattern_t *pattern,
1394 const cairo_matrix_t *matrix);
1397 cairo_pattern_get_matrix (cairo_pattern_t *pattern,
1398 cairo_matrix_t *matrix);
1399 # 1733 "/usr/include/cairo/cairo.h"
1400 typedef enum _cairo_extend {
1402 CAIRO_EXTEND_REPEAT,
1403 CAIRO_EXTEND_REFLECT,
1408 cairo_pattern_set_extend (cairo_pattern_t *pattern, cairo_extend_t extend);
1411 cairo_pattern_get_extend (cairo_pattern_t *pattern);
1413 typedef enum _cairo_filter {
1417 CAIRO_FILTER_NEAREST,
1418 CAIRO_FILTER_BILINEAR,
1419 CAIRO_FILTER_GAUSSIAN
1423 cairo_pattern_set_filter (cairo_pattern_t *pattern, cairo_filter_t filter);
1426 cairo_pattern_get_filter (cairo_pattern_t *pattern);
1429 cairo_pattern_get_rgba (cairo_pattern_t *pattern,
1430 double *red, double *green,
1431 double *blue, double *alpha);
1434 cairo_pattern_get_surface (cairo_pattern_t *pattern,
1435 cairo_surface_t **surface);
1439 cairo_pattern_get_color_stop_rgba (cairo_pattern_t *pattern,
1440 int index, double *offset,
1441 double *red, double *green,
1442 double *blue, double *alpha);
1445 cairo_pattern_get_color_stop_count (cairo_pattern_t *pattern,
1449 cairo_pattern_get_linear_points (cairo_pattern_t *pattern,
1450 double *x0, double *y0,
1451 double *x1, double *y1);
1454 cairo_pattern_get_radial_circles (cairo_pattern_t *pattern,
1455 double *x0, double *y0, double *r0,
1456 double *x1, double *y1, double *r1);
1461 cairo_matrix_init (cairo_matrix_t *matrix,
1462 double xx, double yx,
1463 double xy, double yy,
1464 double x0, double y0);
1467 cairo_matrix_init_identity (cairo_matrix_t *matrix);
1470 cairo_matrix_init_translate (cairo_matrix_t *matrix,
1471 double tx, double ty);
1474 cairo_matrix_init_scale (cairo_matrix_t *matrix,
1475 double sx, double sy);
1478 cairo_matrix_init_rotate (cairo_matrix_t *matrix,
1482 cairo_matrix_translate (cairo_matrix_t *matrix, double tx, double ty);
1485 cairo_matrix_scale (cairo_matrix_t *matrix, double sx, double sy);
1488 cairo_matrix_rotate (cairo_matrix_t *matrix, double radians);
1491 cairo_matrix_invert (cairo_matrix_t *matrix);
1494 cairo_matrix_multiply (cairo_matrix_t *result,
1495 const cairo_matrix_t *a,
1496 const cairo_matrix_t *b);
1499 cairo_matrix_transform_distance (const cairo_matrix_t *matrix,
1500 double *dx, double *dy);
1503 cairo_matrix_transform_point (const cairo_matrix_t *matrix,
1504 double *x, double *y);
1508 cairo_debug_reset_static_data (void);
1511 # 31 "../gdk/gdkcolor.h" 2
1512 # 1 "../gdk/gdktypes.h" 1
1513 # 32 "../gdk/gdktypes.h"
1514 # 1 "/usr/include/glib-2.0/glib.h" 1
1515 # 30 "/usr/include/glib-2.0/glib.h"
1516 # 1 "/usr/include/glib-2.0/glib/galloca.h" 1
1517 # 30 "/usr/include/glib-2.0/glib/galloca.h"
1518 # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
1519 # 30 "/usr/include/glib-2.0/glib/gtypes.h"
1520 # 1 "/usr/lib/glib-2.0/include/glibconfig.h" 1
1521 # 9 "/usr/lib/glib-2.0/include/glibconfig.h"
1522 # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
1523 # 36 "/usr/include/glib-2.0/glib/gmacros.h"
1524 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4
1525 # 152 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 3 4
1526 typedef int ptrdiff_t;
1527 # 326 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 3 4
1528 typedef long int wchar_t;
1529 # 37 "/usr/include/glib-2.0/glib/gmacros.h" 2
1530 # 10 "/usr/lib/glib-2.0/include/glibconfig.h" 2
1532 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 1 3 4
1533 # 11 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 3 4
1534 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/syslimits.h" 1 3 4
1541 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 1 3 4
1542 # 122 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 3 4
1543 # 1 "/usr/include/limits.h" 1 3 4
1544 # 145 "/usr/include/limits.h" 3 4
1545 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4
1546 # 153 "/usr/include/bits/posix1_lim.h" 3 4
1547 # 1 "/usr/include/bits/local_lim.h" 1 3 4
1548 # 36 "/usr/include/bits/local_lim.h" 3 4
1549 # 1 "/usr/include/linux/limits.h" 1 3 4
1550 # 37 "/usr/include/bits/local_lim.h" 2 3 4
1551 # 154 "/usr/include/bits/posix1_lim.h" 2 3 4
1552 # 146 "/usr/include/limits.h" 2 3 4
1556 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4
1557 # 150 "/usr/include/limits.h" 2 3 4
1558 # 123 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 2 3 4
1559 # 8 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/syslimits.h" 2 3 4
1560 # 12 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/limits.h" 2 3 4
1561 # 12 "/usr/lib/glib-2.0/include/glibconfig.h" 2
1562 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/float.h" 1 3 4
1563 # 13 "/usr/lib/glib-2.0/include/glibconfig.h" 2
1568 # 32 "/usr/lib/glib-2.0/include/glibconfig.h"
1569 typedef signed char gint8;
1570 typedef unsigned char guint8;
1571 typedef signed short gint16;
1572 typedef unsigned short guint16;
1576 typedef signed int gint32;
1577 typedef unsigned int guint32;
1583 __extension__ typedef signed long long gint64;
1584 __extension__ typedef unsigned long long guint64;
1585 # 59 "/usr/lib/glib-2.0/include/glibconfig.h"
1586 typedef signed int gssize;
1587 typedef unsigned int gsize;
1588 # 69 "/usr/lib/glib-2.0/include/glibconfig.h"
1589 typedef gint64 goffset;
1590 # 139 "/usr/lib/glib-2.0/include/glibconfig.h"
1591 typedef struct _GStaticMutex GStaticMutex;
1592 struct _GStaticMutex
1594 struct _GMutex *runtime_mutex;
1597 double dummy_double;
1598 void *dummy_pointer;
1602 # 158 "/usr/lib/glib-2.0/include/glibconfig.h"
1603 typedef union _GSystemThread GSystemThread;
1604 union _GSystemThread
1607 double dummy_double;
1608 void *dummy_pointer;
1611 # 200 "/usr/lib/glib-2.0/include/glibconfig.h"
1615 # 31 "/usr/include/glib-2.0/glib/gtypes.h" 2
1618 # 41 "/usr/include/glib-2.0/glib/gtypes.h"
1620 typedef short gshort;
1623 typedef gint gboolean;
1625 typedef unsigned char guchar;
1626 typedef unsigned short gushort;
1627 typedef unsigned long gulong;
1628 typedef unsigned int guint;
1630 typedef float gfloat;
1631 typedef double gdouble;
1632 # 72 "/usr/include/glib-2.0/glib/gtypes.h"
1633 typedef void* gpointer;
1634 typedef const void *gconstpointer;
1636 typedef gint (*GCompareFunc) (gconstpointer a,
1638 typedef gint (*GCompareDataFunc) (gconstpointer a,
1640 gpointer user_data);
1641 typedef gboolean (*GEqualFunc) (gconstpointer a,
1643 typedef void (*GDestroyNotify) (gpointer data);
1644 typedef void (*GFunc) (gpointer data,
1645 gpointer user_data);
1646 typedef guint (*GHashFunc) (gconstpointer key);
1647 typedef void (*GHFunc) (gpointer key,
1649 gpointer user_data);
1650 typedef void (*GFreeFunc) (gpointer data);
1651 typedef const gchar * (*GTranslateFunc) (const gchar *str,
1653 # 345 "/usr/include/glib-2.0/glib/gtypes.h"
1654 typedef union _GDoubleIEEE754 GDoubleIEEE754;
1655 typedef union _GFloatIEEE754 GFloatIEEE754;
1661 union _GFloatIEEE754
1665 guint mantissa : 23;
1666 guint biased_exponent : 8;
1670 union _GDoubleIEEE754
1674 guint mantissa_low : 32;
1675 guint mantissa_high : 20;
1676 guint biased_exponent : 11;
1680 # 395 "/usr/include/glib-2.0/glib/gtypes.h"
1681 typedef struct _GTimeVal GTimeVal;
1690 # 31 "/usr/include/glib-2.0/glib/galloca.h" 2
1691 # 31 "/usr/include/glib-2.0/glib.h" 2
1692 # 1 "/usr/include/glib-2.0/glib/garray.h" 1
1693 # 32 "/usr/include/glib-2.0/glib/garray.h"
1696 typedef struct _GArray GArray;
1697 typedef struct _GByteArray GByteArray;
1698 typedef struct _GPtrArray GPtrArray;
1717 # 66 "/usr/include/glib-2.0/glib/garray.h"
1718 GArray* g_array_new (gboolean zero_terminated,
1720 guint element_size);
1721 GArray* g_array_sized_new (gboolean zero_terminated,
1724 guint reserved_size);
1725 gchar* g_array_free (GArray *array,
1726 gboolean free_segment);
1727 GArray* g_array_append_vals (GArray *array,
1730 GArray* g_array_prepend_vals (GArray *array,
1733 GArray* g_array_insert_vals (GArray *array,
1737 GArray* g_array_set_size (GArray *array,
1739 GArray* g_array_remove_index (GArray *array,
1741 GArray* g_array_remove_index_fast (GArray *array,
1743 GArray* g_array_remove_range (GArray *array,
1746 void g_array_sort (GArray *array,
1747 GCompareFunc compare_func);
1748 void g_array_sort_with_data (GArray *array,
1749 GCompareDataFunc compare_func,
1750 gpointer user_data);
1757 GPtrArray* g_ptr_array_new (void);
1758 GPtrArray* g_ptr_array_sized_new (guint reserved_size);
1759 gpointer* g_ptr_array_free (GPtrArray *array,
1761 void g_ptr_array_set_size (GPtrArray *array,
1763 gpointer g_ptr_array_remove_index (GPtrArray *array,
1765 gpointer g_ptr_array_remove_index_fast (GPtrArray *array,
1767 gboolean g_ptr_array_remove (GPtrArray *array,
1769 gboolean g_ptr_array_remove_fast (GPtrArray *array,
1771 void g_ptr_array_remove_range (GPtrArray *array,
1774 void g_ptr_array_add (GPtrArray *array,
1776 void g_ptr_array_sort (GPtrArray *array,
1777 GCompareFunc compare_func);
1778 void g_ptr_array_sort_with_data (GPtrArray *array,
1779 GCompareDataFunc compare_func,
1780 gpointer user_data);
1781 void g_ptr_array_foreach (GPtrArray *array,
1783 gpointer user_data);
1790 GByteArray* g_byte_array_new (void);
1791 GByteArray* g_byte_array_sized_new (guint reserved_size);
1792 guint8* g_byte_array_free (GByteArray *array,
1793 gboolean free_segment);
1794 GByteArray* g_byte_array_append (GByteArray *array,
1797 GByteArray* g_byte_array_prepend (GByteArray *array,
1800 GByteArray* g_byte_array_set_size (GByteArray *array,
1802 GByteArray* g_byte_array_remove_index (GByteArray *array,
1804 GByteArray* g_byte_array_remove_index_fast (GByteArray *array,
1806 GByteArray* g_byte_array_remove_range (GByteArray *array,
1809 void g_byte_array_sort (GByteArray *array,
1810 GCompareFunc compare_func);
1811 void g_byte_array_sort_with_data (GByteArray *array,
1812 GCompareDataFunc compare_func,
1813 gpointer user_data);
1817 # 32 "/usr/include/glib-2.0/glib.h" 2
1818 # 1 "/usr/include/glib-2.0/glib/gasyncqueue.h" 1
1819 # 30 "/usr/include/glib-2.0/glib/gasyncqueue.h"
1820 # 1 "/usr/include/glib-2.0/glib/gthread.h" 1
1821 # 30 "/usr/include/glib-2.0/glib/gthread.h"
1822 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1
1823 # 24 "/usr/include/glib-2.0/glib/gerror.h"
1824 # 1 "/usr/include/glib-2.0/glib/gquark.h" 1
1825 # 32 "/usr/include/glib-2.0/glib/gquark.h"
1828 typedef guint32 GQuark;
1832 GQuark g_quark_try_string (const gchar *string);
1833 GQuark g_quark_from_static_string (const gchar *string);
1834 GQuark g_quark_from_string (const gchar *string);
1835 const gchar* g_quark_to_string (GQuark quark) __attribute__((__const__));
1837 const gchar* g_intern_string (const gchar *string);
1838 const gchar* g_intern_static_string (const gchar *string);
1842 # 25 "/usr/include/glib-2.0/glib/gerror.h" 2
1846 typedef struct _GError GError;
1855 GError* g_error_new (GQuark domain,
1857 const gchar *format,
1858 ...) __attribute__((__format__ (__printf__, 3, 4)));
1860 GError* g_error_new_literal (GQuark domain,
1862 const gchar *message);
1864 void g_error_free (GError *error);
1865 GError* g_error_copy (const GError *error);
1867 gboolean g_error_matches (const GError *error,
1874 void g_set_error (GError **err,
1877 const gchar *format,
1878 ...) __attribute__((__format__ (__printf__, 4, 5)));
1882 void g_propagate_error (GError **dest,
1886 void g_clear_error (GError **err);
1890 # 31 "/usr/include/glib-2.0/glib/gthread.h" 2
1892 # 1 "/usr/include/glib-2.0/glib/gutils.h" 1
1893 # 31 "/usr/include/glib-2.0/glib/gutils.h"
1894 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stdarg.h" 1 3 4
1895 # 43 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stdarg.h" 3 4
1896 typedef __builtin_va_list __gnuc_va_list;
1897 # 105 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stdarg.h" 3 4
1898 typedef __gnuc_va_list va_list;
1899 # 32 "/usr/include/glib-2.0/glib/gutils.h" 2
1902 # 133 "/usr/include/glib-2.0/glib/gutils.h"
1903 const gchar* g_get_user_name (void);
1904 const gchar* g_get_real_name (void);
1905 const gchar* g_get_home_dir (void);
1906 const gchar* g_get_tmp_dir (void);
1907 const gchar* g_get_host_name (void);
1908 gchar* g_get_prgname (void);
1909 void g_set_prgname (const gchar *prgname);
1910 const gchar* g_get_application_name (void);
1911 void g_set_application_name (const gchar *application_name);
1913 const gchar* g_get_user_data_dir (void);
1914 const gchar* g_get_user_config_dir (void);
1915 const gchar* g_get_user_cache_dir (void);
1916 const gchar* const * g_get_system_data_dirs (void);
1917 # 161 "/usr/include/glib-2.0/glib/gutils.h"
1918 const gchar* const * g_get_system_config_dirs (void);
1920 const gchar* const * g_get_language_names (void);
1921 # 187 "/usr/include/glib-2.0/glib/gutils.h"
1923 G_USER_DIRECTORY_DESKTOP,
1924 G_USER_DIRECTORY_DOCUMENTS,
1925 G_USER_DIRECTORY_DOWNLOAD,
1926 G_USER_DIRECTORY_MUSIC,
1927 G_USER_DIRECTORY_PICTURES,
1928 G_USER_DIRECTORY_PUBLIC_SHARE,
1929 G_USER_DIRECTORY_TEMPLATES,
1930 G_USER_DIRECTORY_VIDEOS,
1932 G_USER_N_DIRECTORIES
1935 const gchar* g_get_user_special_dir (GUserDirectory directory);
1937 typedef struct _GDebugKey GDebugKey;
1946 guint g_parse_debug_string (const gchar *string,
1947 const GDebugKey *keys,
1950 gint g_snprintf (gchar *string,
1952 gchar const *format,
1953 ...) __attribute__((__format__ (__printf__, 3, 4)));
1954 gint g_vsnprintf (gchar *string,
1956 gchar const *format,
1960 gboolean g_path_is_absolute (const gchar *file_name);
1963 const gchar* g_path_skip_root (const gchar *file_name);
1971 const gchar* g_basename (const gchar *file_name);
1972 # 246 "/usr/include/glib-2.0/glib/gutils.h"
1973 gchar* g_get_current_dir (void);
1974 gchar* g_path_get_basename (const gchar *file_name) __attribute__((__malloc__));
1975 gchar* g_path_get_dirname (const gchar *file_name) __attribute__((__malloc__));
1978 void g_nullify_pointer (gpointer *nullify_location);
1979 # 262 "/usr/include/glib-2.0/glib/gutils.h"
1980 const gchar* g_getenv (const gchar *variable);
1981 gboolean g_setenv (const gchar *variable,
1983 gboolean overwrite);
1984 void g_unsetenv (const gchar *variable);
1985 gchar** g_listenv (void);
1988 const gchar* _g_getenv_nomalloc (const gchar *variable,
1989 gchar buffer[1024]);
1995 typedef void (*GVoidFunc) (void);
1996 # 288 "/usr/include/glib-2.0/glib/gutils.h"
1997 void g_atexit (GVoidFunc func);
1998 # 302 "/usr/include/glib-2.0/glib/gutils.h"
1999 gchar* g_find_program_in_path (const gchar *program);
2003 extern __inline gint g_bit_nth_lsf (gulong mask,
2004 gint nth_bit) __attribute__((__const__));
2005 extern __inline gint g_bit_nth_msf (gulong mask,
2006 gint nth_bit) __attribute__((__const__));
2007 extern __inline guint g_bit_storage (gulong number) __attribute__((__const__));
2012 typedef struct _GTrashStack GTrashStack;
2018 extern __inline void g_trash_stack_push (GTrashStack **stack_p,
2020 extern __inline gpointer g_trash_stack_pop (GTrashStack **stack_p);
2021 extern __inline gpointer g_trash_stack_peek (GTrashStack **stack_p);
2022 extern __inline guint g_trash_stack_height (GTrashStack **stack_p);
2027 extern __inline gint
2028 g_bit_nth_lsf (gulong mask,
2031 if ((__builtin_expect (__extension__ ({ int _g_boolean_var_; if (nth_bit < -1) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 0)))
2033 while (nth_bit < ((4 * 8) - 1))
2036 if (mask & (1UL << nth_bit))
2041 extern __inline gint
2042 g_bit_nth_msf (gulong mask,
2045 if (nth_bit < 0 || (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (nth_bit > 4 * 8) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 0)))
2050 if (mask & (1UL << nth_bit))
2055 extern __inline guint
2056 g_bit_storage (gulong number)
2059 return (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (number) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ?
2060 ((4 * 8 - 1) ^ __builtin_clzl(number)) + 1 : 1;
2061 # 375 "/usr/include/glib-2.0/glib/gutils.h"
2063 extern __inline void
2064 g_trash_stack_push (GTrashStack **stack_p,
2067 GTrashStack *data = (GTrashStack *) data_p;
2069 data->next = *stack_p;
2072 extern __inline gpointer
2073 g_trash_stack_pop (GTrashStack **stack_p)
2080 *stack_p = data->next;
2084 data->next = ((void *)0);
2089 extern __inline gpointer
2090 g_trash_stack_peek (GTrashStack **stack_p)
2098 extern __inline guint
2099 g_trash_stack_height (GTrashStack **stack_p)
2104 for (data = *stack_p; data; data = data->next)
2115 extern const guint glib_major_version;
2116 extern const guint glib_minor_version;
2117 extern const guint glib_micro_version;
2118 extern const guint glib_interface_age;
2119 extern const guint glib_binary_age;
2121 const gchar * glib_check_version (guint required_major,
2122 guint required_minor,
2123 guint required_micro);
2132 # 33 "/usr/include/glib-2.0/glib/gthread.h" 2
2133 # 1 "/usr/include/glib-2.0/glib/gatomic.h" 1
2134 # 35 "/usr/include/glib-2.0/glib/gatomic.h"
2137 gint g_atomic_int_exchange_and_add (volatile gint *atomic,
2139 void g_atomic_int_add (volatile gint *atomic,
2141 gboolean g_atomic_int_compare_and_exchange (volatile gint *atomic,
2144 gboolean g_atomic_pointer_compare_and_exchange (volatile gpointer *atomic,
2148 gint g_atomic_int_get (volatile gint *atomic);
2149 void g_atomic_int_set (volatile gint *atomic,
2151 gpointer g_atomic_pointer_get (volatile gpointer *atomic);
2152 void g_atomic_pointer_set (volatile gpointer *atomic,
2154 # 66 "/usr/include/glib-2.0/glib/gatomic.h"
2156 # 34 "/usr/include/glib-2.0/glib/gthread.h" 2
2163 extern GQuark g_thread_error_quark (void);
2168 G_THREAD_ERROR_AGAIN
2171 typedef gpointer (*GThreadFunc) (gpointer data);
2175 G_THREAD_PRIORITY_LOW,
2176 G_THREAD_PRIORITY_NORMAL,
2177 G_THREAD_PRIORITY_HIGH,
2178 G_THREAD_PRIORITY_URGENT
2181 typedef struct _GThread GThread;
2188 GThreadPriority priority;
2191 typedef struct _GMutex GMutex;
2192 typedef struct _GCond GCond;
2193 typedef struct _GPrivate GPrivate;
2194 typedef struct _GStaticPrivate GStaticPrivate;
2196 typedef struct _GThreadFunctions GThreadFunctions;
2197 struct _GThreadFunctions
2199 GMutex* (*mutex_new) (void);
2200 void (*mutex_lock) (GMutex *mutex);
2201 gboolean (*mutex_trylock) (GMutex *mutex);
2202 void (*mutex_unlock) (GMutex *mutex);
2203 void (*mutex_free) (GMutex *mutex);
2204 GCond* (*cond_new) (void);
2205 void (*cond_signal) (GCond *cond);
2206 void (*cond_broadcast) (GCond *cond);
2207 void (*cond_wait) (GCond *cond,
2209 gboolean (*cond_timed_wait) (GCond *cond,
2211 GTimeVal *end_time);
2212 void (*cond_free) (GCond *cond);
2213 GPrivate* (*private_new) (GDestroyNotify destructor);
2214 gpointer (*private_get) (GPrivate *private_key);
2215 void (*private_set) (GPrivate *private_key,
2217 void (*thread_create) (GThreadFunc func,
2222 GThreadPriority priority,
2225 void (*thread_yield) (void);
2226 void (*thread_join) (gpointer thread);
2227 void (*thread_exit) (void);
2228 void (*thread_set_priority)(gpointer thread,
2229 GThreadPriority priority);
2230 void (*thread_self) (gpointer thread);
2231 gboolean (*thread_equal) (gpointer thread1,
2235 extern GThreadFunctions g_thread_functions_for_glib_use;
2236 extern gboolean g_thread_use_default_impl;
2237 extern gboolean g_threads_got_initialized;
2239 extern guint64 (*g_thread_gettime) (void);
2245 void g_thread_init (GThreadFunctions *vtable);
2246 # 131 "/usr/include/glib-2.0/glib/gthread.h"
2247 void g_thread_init_with_errorcheck_mutexes (GThreadFunctions* vtable);
2248 # 141 "/usr/include/glib-2.0/glib/gthread.h"
2249 GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex);
2250 # 212 "/usr/include/glib-2.0/glib/gthread.h"
2251 GThread* g_thread_create_full (GThreadFunc func,
2256 GThreadPriority priority,
2258 GThread* g_thread_self (void);
2259 void g_thread_exit (gpointer retval);
2260 gpointer g_thread_join (GThread *thread);
2262 void g_thread_set_priority (GThread *thread,
2263 GThreadPriority priority);
2264 # 237 "/usr/include/glib-2.0/glib/gthread.h"
2265 void g_static_mutex_init (GStaticMutex *mutex);
2266 void g_static_mutex_free (GStaticMutex *mutex);
2268 struct _GStaticPrivate
2274 void g_static_private_init (GStaticPrivate *private_key);
2275 gpointer g_static_private_get (GStaticPrivate *private_key);
2276 void g_static_private_set (GStaticPrivate *private_key,
2278 GDestroyNotify notify);
2279 void g_static_private_free (GStaticPrivate *private_key);
2281 typedef struct _GStaticRecMutex GStaticRecMutex;
2282 struct _GStaticRecMutex
2287 GSystemThread owner;
2291 void g_static_rec_mutex_init (GStaticRecMutex *mutex);
2292 void g_static_rec_mutex_lock (GStaticRecMutex *mutex);
2293 gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex);
2294 void g_static_rec_mutex_unlock (GStaticRecMutex *mutex);
2295 void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex,
2297 guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex);
2298 void g_static_rec_mutex_free (GStaticRecMutex *mutex);
2300 typedef struct _GStaticRWLock GStaticRWLock;
2301 struct _GStaticRWLock
2308 gboolean have_writer;
2310 guint want_to_write;
2315 void g_static_rw_lock_init (GStaticRWLock* lock);
2316 void g_static_rw_lock_reader_lock (GStaticRWLock* lock);
2317 gboolean g_static_rw_lock_reader_trylock (GStaticRWLock* lock);
2318 void g_static_rw_lock_reader_unlock (GStaticRWLock* lock);
2319 void g_static_rw_lock_writer_lock (GStaticRWLock* lock);
2320 gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock);
2321 void g_static_rw_lock_writer_unlock (GStaticRWLock* lock);
2322 void g_static_rw_lock_free (GStaticRWLock* lock);
2324 void g_thread_foreach (GFunc thread_func,
2325 gpointer user_data);
2329 G_ONCE_STATUS_NOTCALLED,
2330 G_ONCE_STATUS_PROGRESS,
2334 typedef struct _GOnce GOnce;
2337 volatile GOnceStatus status;
2338 volatile gpointer retval;
2343 gpointer g_once_impl (GOnce *once, GThreadFunc func, gpointer arg);
2344 # 327 "/usr/include/glib-2.0/glib/gthread.h"
2345 extern __inline gboolean g_once_init_enter (volatile gsize *value_location);
2346 gboolean g_once_init_enter_impl (volatile gsize *value_location);
2347 void g_once_init_leave (volatile gsize *value_location,
2348 gsize initialization_value);
2350 extern __inline gboolean
2351 g_once_init_enter (volatile gsize *value_location)
2353 if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (g_atomic_pointer_get ((void*volatile*) value_location) != ((void *)0)) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1))
2356 return g_once_init_enter_impl (value_location);
2358 # 351 "/usr/include/glib-2.0/glib/gthread.h"
2359 extern void glib_dummy_decl (void);
2360 # 394 "/usr/include/glib-2.0/glib/gthread.h"
2362 # 31 "/usr/include/glib-2.0/glib/gasyncqueue.h" 2
2366 typedef struct _GAsyncQueue GAsyncQueue;
2371 GAsyncQueue* g_async_queue_new (void);
2377 void g_async_queue_lock (GAsyncQueue *queue);
2378 void g_async_queue_unlock (GAsyncQueue *queue);
2381 GAsyncQueue* g_async_queue_ref (GAsyncQueue *queue);
2382 void g_async_queue_unref (GAsyncQueue *queue);
2386 void g_async_queue_ref_unlocked (GAsyncQueue *queue);
2387 void g_async_queue_unref_and_unlock (GAsyncQueue *queue);
2391 void g_async_queue_push (GAsyncQueue *queue,
2393 void g_async_queue_push_unlocked (GAsyncQueue *queue,
2396 void g_async_queue_push_sorted (GAsyncQueue *queue,
2398 GCompareDataFunc func,
2399 gpointer user_data);
2400 void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue,
2402 GCompareDataFunc func,
2403 gpointer user_data);
2408 gpointer g_async_queue_pop (GAsyncQueue *queue);
2409 gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue);
2412 gpointer g_async_queue_try_pop (GAsyncQueue *queue);
2413 gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue);
2420 gpointer g_async_queue_timed_pop (GAsyncQueue *queue,
2421 GTimeVal *end_time);
2422 gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue,
2423 GTimeVal *end_time);
2424 # 100 "/usr/include/glib-2.0/glib/gasyncqueue.h"
2425 gint g_async_queue_length (GAsyncQueue *queue);
2426 gint g_async_queue_length_unlocked (GAsyncQueue *queue);
2427 void g_async_queue_sort (GAsyncQueue *queue,
2428 GCompareDataFunc func,
2429 gpointer user_data);
2430 void g_async_queue_sort_unlocked (GAsyncQueue *queue,
2431 GCompareDataFunc func,
2432 gpointer user_data);
2435 GMutex* _g_async_queue_get_mutex (GAsyncQueue *queue);
2438 # 33 "/usr/include/glib-2.0/glib.h" 2
2440 # 1 "/usr/include/glib-2.0/glib/gbacktrace.h" 1
2441 # 32 "/usr/include/glib-2.0/glib/gbacktrace.h"
2443 # 43 "/usr/include/glib-2.0/glib/gbacktrace.h"
2444 void g_on_error_query (const gchar *prg_name);
2445 void g_on_error_stack_trace (const gchar *prg_name);
2446 # 59 "/usr/include/glib-2.0/glib/gbacktrace.h"
2448 # 35 "/usr/include/glib-2.0/glib.h" 2
2449 # 1 "/usr/include/glib-2.0/glib/gbase64.h" 1
2450 # 26 "/usr/include/glib-2.0/glib/gbase64.h"
2453 gsize g_base64_encode_step (const guchar *in,
2455 gboolean break_lines,
2459 gsize g_base64_encode_close (gboolean break_lines,
2463 gchar* g_base64_encode (const guchar *data,
2464 gsize len) __attribute__((__malloc__));
2465 gsize g_base64_decode_step (const gchar *in,
2470 guchar *g_base64_decode (const gchar *text,
2471 gsize *out_len) __attribute__((__malloc__));
2474 # 36 "/usr/include/glib-2.0/glib.h" 2
2475 # 1 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 1
2476 # 24 "/usr/include/glib-2.0/glib/gbookmarkfile.h"
2477 # 1 "/usr/include/time.h" 1 3 4
2478 # 31 "/usr/include/time.h" 3 4
2487 # 1 "/usr/lib/gcc/sh4-unknown-linux-gnu/4.2.2/include/stddef.h" 1 3 4
2488 # 40 "/usr/include/time.h" 2 3 4
2492 # 1 "/usr/include/bits/time.h" 1 3 4
2493 # 44 "/usr/include/time.h" 2 3 4
2494 # 57 "/usr/include/time.h" 3 4
2495 # 1 "/usr/include/bits/types.h" 1 3 4
2496 # 28 "/usr/include/bits/types.h" 3 4
2497 # 1 "/usr/include/bits/wordsize.h" 1 3 4
2498 # 29 "/usr/include/bits/types.h" 2 3 4
2501 typedef unsigned char __u_char;
2502 typedef unsigned short int __u_short;
2503 typedef unsigned int __u_int;
2504 typedef unsigned long int __u_long;
2507 typedef signed char __int8_t;
2508 typedef unsigned char __uint8_t;
2509 typedef signed short int __int16_t;
2510 typedef unsigned short int __uint16_t;
2511 typedef signed int __int32_t;
2512 typedef unsigned int __uint32_t;
2517 __extension__ typedef signed long long int __int64_t;
2518 __extension__ typedef unsigned long long int __uint64_t;
2526 __extension__ typedef long long int __quad_t;
2527 __extension__ typedef unsigned long long int __u_quad_t;
2528 # 131 "/usr/include/bits/types.h" 3 4
2529 # 1 "/usr/include/bits/typesizes.h" 1 3 4
2530 # 132 "/usr/include/bits/types.h" 2 3 4
2533 __extension__ typedef __u_quad_t __dev_t;
2534 __extension__ typedef unsigned int __uid_t;
2535 __extension__ typedef unsigned int __gid_t;
2536 __extension__ typedef unsigned long int __ino_t;
2537 __extension__ typedef __u_quad_t __ino64_t;
2538 __extension__ typedef unsigned int __mode_t;
2539 __extension__ typedef unsigned int __nlink_t;
2540 __extension__ typedef long int __off_t;
2541 __extension__ typedef __quad_t __off64_t;
2542 __extension__ typedef int __pid_t;
2543 __extension__ typedef struct { int __val[2]; } __fsid_t;
2544 __extension__ typedef long int __clock_t;
2545 __extension__ typedef unsigned long int __rlim_t;
2546 __extension__ typedef __u_quad_t __rlim64_t;
2547 __extension__ typedef unsigned int __id_t;
2548 __extension__ typedef long int __time_t;
2549 __extension__ typedef unsigned int __useconds_t;
2550 __extension__ typedef long int __suseconds_t;
2552 __extension__ typedef int __daddr_t;
2553 __extension__ typedef long int __swblk_t;
2554 __extension__ typedef int __key_t;
2557 __extension__ typedef int __clockid_t;
2560 __extension__ typedef void * __timer_t;
2563 __extension__ typedef long int __blksize_t;
2568 __extension__ typedef long int __blkcnt_t;
2569 __extension__ typedef __quad_t __blkcnt64_t;
2572 __extension__ typedef unsigned long int __fsblkcnt_t;
2573 __extension__ typedef __u_quad_t __fsblkcnt64_t;
2576 __extension__ typedef unsigned long int __fsfilcnt_t;
2577 __extension__ typedef __u_quad_t __fsfilcnt64_t;
2579 __extension__ typedef int __ssize_t;
2583 typedef __off64_t __loff_t;
2584 typedef __quad_t *__qaddr_t;
2585 typedef char *__caddr_t;
2588 __extension__ typedef int __intptr_t;
2591 __extension__ typedef unsigned int __socklen_t;
2592 # 58 "/usr/include/time.h" 2 3 4
2596 typedef __clock_t clock_t;
2600 # 75 "/usr/include/time.h" 3 4
2603 typedef __time_t time_t;
2607 # 93 "/usr/include/time.h" 3 4
2608 typedef __clockid_t clockid_t;
2609 # 105 "/usr/include/time.h" 3 4
2610 typedef __timer_t timer_t;
2611 # 121 "/usr/include/time.h" 3 4
2639 __const char *tm_zone;
2655 struct timespec it_interval;
2656 struct timespec it_value;
2666 typedef __pid_t pid_t;
2675 extern clock_t clock (void) __attribute__ ((__nothrow__));
2678 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
2681 extern double difftime (time_t __time1, time_t __time0)
2682 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2685 extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
2691 extern size_t strftime (char *__restrict __s, size_t __maxsize,
2692 __const char *__restrict __format,
2693 __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
2695 # 229 "/usr/include/time.h" 3 4
2699 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
2703 extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
2709 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
2710 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
2714 extern struct tm *localtime_r (__const time_t *__restrict __timer,
2715 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
2721 extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
2724 extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
2732 extern char *asctime_r (__const struct tm *__restrict __tp,
2733 char *__restrict __buf) __attribute__ ((__nothrow__));
2736 extern char *ctime_r (__const time_t *__restrict __timer,
2737 char *__restrict __buf) __attribute__ ((__nothrow__));
2742 extern char *__tzname[2];
2743 extern int __daylight;
2744 extern long int __timezone;
2749 extern char *tzname[2];
2753 extern void tzset (void) __attribute__ ((__nothrow__));
2757 extern int daylight;
2758 extern long int timezone;
2764 extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
2765 # 312 "/usr/include/time.h" 3 4
2766 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
2769 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
2772 extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2773 # 327 "/usr/include/time.h" 3 4
2774 extern int nanosleep (__const struct timespec *__requested_time,
2775 struct timespec *__remaining);
2779 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
2782 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
2785 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
2786 __attribute__ ((__nothrow__));
2793 extern int clock_nanosleep (clockid_t __clock_id, int __flags,
2794 __const struct timespec *__req,
2795 struct timespec *__rem);
2798 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
2803 extern int timer_create (clockid_t __clock_id,
2804 struct sigevent *__restrict __evp,
2805 timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
2808 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
2811 extern int timer_settime (timer_t __timerid, int __flags,
2812 __const struct itimerspec *__restrict __value,
2813 struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
2816 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
2817 __attribute__ ((__nothrow__));
2820 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
2821 # 416 "/usr/include/time.h" 3 4
2823 # 25 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 2
2833 G_BOOKMARK_FILE_ERROR_INVALID_URI,
2834 G_BOOKMARK_FILE_ERROR_INVALID_VALUE,
2835 G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED,
2836 G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND,
2837 G_BOOKMARK_FILE_ERROR_READ,
2838 G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING,
2839 G_BOOKMARK_FILE_ERROR_WRITE,
2840 G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND
2841 } GBookmarkFileError;
2843 GQuark g_bookmark_file_error_quark (void);
2848 typedef struct _GBookmarkFile GBookmarkFile;
2850 GBookmarkFile *g_bookmark_file_new (void);
2851 void g_bookmark_file_free (GBookmarkFile *bookmark);
2853 gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark,
2854 const gchar *filename,
2856 gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark,
2860 gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark,
2864 gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark,
2866 GError **error) __attribute__((__malloc__));
2867 gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark,
2868 const gchar *filename,
2871 void g_bookmark_file_set_title (GBookmarkFile *bookmark,
2873 const gchar *title);
2874 gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark,
2876 GError **error) __attribute__((__malloc__));
2877 void g_bookmark_file_set_description (GBookmarkFile *bookmark,
2879 const gchar *description);
2880 gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark,
2882 GError **error) __attribute__((__malloc__));
2883 void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark,
2885 const gchar *mime_type);
2886 gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark,
2888 GError **error) __attribute__((__malloc__));
2889 void g_bookmark_file_set_groups (GBookmarkFile *bookmark,
2891 const gchar **groups,
2893 void g_bookmark_file_add_group (GBookmarkFile *bookmark,
2895 const gchar *group);
2896 gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark,
2900 gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark,
2903 GError **error) __attribute__((__malloc__));
2904 void g_bookmark_file_add_application (GBookmarkFile *bookmark,
2908 gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark,
2912 gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark,
2915 GError **error) __attribute__((__malloc__));
2916 gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark,
2923 gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark,
2930 void g_bookmark_file_set_is_private (GBookmarkFile *bookmark,
2932 gboolean is_private);
2933 gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark,
2936 void g_bookmark_file_set_icon (GBookmarkFile *bookmark,
2939 const gchar *mime_type);
2940 gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark,
2945 void g_bookmark_file_set_added (GBookmarkFile *bookmark,
2948 time_t g_bookmark_file_get_added (GBookmarkFile *bookmark,
2951 void g_bookmark_file_set_modified (GBookmarkFile *bookmark,
2954 time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark,
2957 void g_bookmark_file_set_visited (GBookmarkFile *bookmark,
2960 time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark,
2963 gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark,
2965 gint g_bookmark_file_get_size (GBookmarkFile *bookmark);
2966 gchar ** g_bookmark_file_get_uris (GBookmarkFile *bookmark,
2967 gsize *length) __attribute__((__malloc__));
2968 gboolean g_bookmark_file_remove_group (GBookmarkFile *bookmark,
2972 gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark,
2976 gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark,
2979 gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark,
2980 const gchar *old_uri,
2981 const gchar *new_uri,
2985 # 37 "/usr/include/glib-2.0/glib.h" 2
2986 # 1 "/usr/include/glib-2.0/glib/gcache.h" 1
2987 # 30 "/usr/include/glib-2.0/glib/gcache.h"
2988 # 1 "/usr/include/glib-2.0/glib/glist.h" 1
2989 # 30 "/usr/include/glib-2.0/glib/glist.h"
2990 # 1 "/usr/include/glib-2.0/glib/gmem.h" 1
2991 # 30 "/usr/include/glib-2.0/glib/gmem.h"
2992 # 1 "/usr/include/glib-2.0/glib/gslice.h" 1
2993 # 28 "/usr/include/glib-2.0/glib/gslice.h"
2998 gpointer g_slice_alloc (gsize block_size) __attribute__((__malloc__));
2999 gpointer g_slice_alloc0 (gsize block_size) __attribute__((__malloc__));
3000 gpointer g_slice_copy (gsize block_size,
3001 gconstpointer mem_block) __attribute__((__malloc__));
3002 void g_slice_free1 (gsize block_size,
3003 gpointer mem_block);
3004 void g_slice_free_chain_with_offset (gsize block_size,
3007 # 70 "/usr/include/glib-2.0/glib/gslice.h"
3009 G_SLICE_CONFIG_ALWAYS_MALLOC = 1,
3010 G_SLICE_CONFIG_BYPASS_MAGAZINES,
3011 G_SLICE_CONFIG_WORKING_SET_MSECS,
3012 G_SLICE_CONFIG_COLOR_INCREMENT,
3013 G_SLICE_CONFIG_CHUNK_SIZES,
3014 G_SLICE_CONFIG_CONTENTION_COUNTER
3016 void g_slice_set_config (GSliceConfig ckey, gint64 value);
3017 gint64 g_slice_get_config (GSliceConfig ckey);
3018 gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values);
3021 # 31 "/usr/include/glib-2.0/glib/gmem.h" 2
3026 typedef struct _GMemVTable GMemVTable;
3027 # 47 "/usr/include/glib-2.0/glib/gmem.h"
3028 gpointer g_malloc (gulong n_bytes) __attribute__((__malloc__));
3029 gpointer g_malloc0 (gulong n_bytes) __attribute__((__malloc__));
3030 gpointer g_realloc (gpointer mem,
3031 gulong n_bytes) __attribute__((warn_unused_result));
3032 void g_free (gpointer mem);
3033 gpointer g_try_malloc (gulong n_bytes) __attribute__((__malloc__));
3034 gpointer g_try_malloc0 (gulong n_bytes) __attribute__((__malloc__));
3035 gpointer g_try_realloc (gpointer mem,
3036 gulong n_bytes) __attribute__((warn_unused_result));
3037 # 79 "/usr/include/glib-2.0/glib/gmem.h"
3040 gpointer (*malloc) (gsize n_bytes);
3041 gpointer (*realloc) (gpointer mem,
3043 void (*free) (gpointer mem);
3045 gpointer (*calloc) (gsize n_blocks,
3046 gsize n_block_bytes);
3047 gpointer (*try_malloc) (gsize n_bytes);
3048 gpointer (*try_realloc) (gpointer mem,
3051 void g_mem_set_vtable (GMemVTable *vtable);
3052 gboolean g_mem_is_system_malloc (void);
3054 extern gboolean g_mem_gc_friendly;
3058 extern GMemVTable *glib_mem_profiler_table;
3059 void g_mem_profile (void);
3064 typedef struct _GAllocator GAllocator;
3065 typedef struct _GMemChunk GMemChunk;
3066 # 124 "/usr/include/glib-2.0/glib/gmem.h"
3067 GMemChunk* g_mem_chunk_new (const gchar *name,
3071 void g_mem_chunk_destroy (GMemChunk *mem_chunk);
3072 gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk);
3073 gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk);
3074 void g_mem_chunk_free (GMemChunk *mem_chunk,
3076 void g_mem_chunk_clean (GMemChunk *mem_chunk);
3077 void g_mem_chunk_reset (GMemChunk *mem_chunk);
3078 void g_mem_chunk_print (GMemChunk *mem_chunk);
3079 void g_mem_chunk_info (void);
3080 void g_blow_chunks (void);
3081 GAllocator*g_allocator_new (const gchar *name,
3083 void g_allocator_free (GAllocator *allocator);
3090 # 31 "/usr/include/glib-2.0/glib/glist.h" 2
3094 typedef struct _GList GList;
3105 GList* g_list_alloc (void) __attribute__((warn_unused_result));
3106 void g_list_free (GList *list);
3107 void g_list_free_1 (GList *list);
3109 GList* g_list_append (GList *list,
3110 gpointer data) __attribute__((warn_unused_result));
3111 GList* g_list_prepend (GList *list,
3112 gpointer data) __attribute__((warn_unused_result));
3113 GList* g_list_insert (GList *list,
3115 gint position) __attribute__((warn_unused_result));
3116 GList* g_list_insert_sorted (GList *list,
3118 GCompareFunc func) __attribute__((warn_unused_result));
3119 GList* g_list_insert_sorted_with_data (GList *list,
3121 GCompareDataFunc func,
3122 gpointer user_data) __attribute__((warn_unused_result));
3123 GList* g_list_insert_before (GList *list,
3125 gpointer data) __attribute__((warn_unused_result));
3126 GList* g_list_concat (GList *list1,
3127 GList *list2) __attribute__((warn_unused_result));
3128 GList* g_list_remove (GList *list,
3129 gconstpointer data) __attribute__((warn_unused_result));
3130 GList* g_list_remove_all (GList *list,
3131 gconstpointer data) __attribute__((warn_unused_result));
3132 GList* g_list_remove_link (GList *list,
3133 GList *llink) __attribute__((warn_unused_result));
3134 GList* g_list_delete_link (GList *list,
3135 GList *link_) __attribute__((warn_unused_result));
3136 GList* g_list_reverse (GList *list) __attribute__((warn_unused_result));
3137 GList* g_list_copy (GList *list) __attribute__((warn_unused_result));
3138 GList* g_list_nth (GList *list,
3140 GList* g_list_nth_prev (GList *list,
3142 GList* g_list_find (GList *list,
3143 gconstpointer data);
3144 GList* g_list_find_custom (GList *list,
3147 gint g_list_position (GList *list,
3149 gint g_list_index (GList *list,
3150 gconstpointer data);
3151 GList* g_list_last (GList *list);
3152 GList* g_list_first (GList *list);
3153 guint g_list_length (GList *list);
3154 void g_list_foreach (GList *list,
3156 gpointer user_data);
3157 GList* g_list_sort (GList *list,
3158 GCompareFunc compare_func) __attribute__((warn_unused_result));
3159 GList* g_list_sort_with_data (GList *list,
3160 GCompareDataFunc compare_func,
3161 gpointer user_data) __attribute__((warn_unused_result));
3162 gpointer g_list_nth_data (GList *list,
3170 void g_list_push_allocator (gpointer allocator);
3171 void g_list_pop_allocator (void);
3174 # 31 "/usr/include/glib-2.0/glib/gcache.h" 2
3178 typedef struct _GCache GCache;
3180 typedef gpointer (*GCacheNewFunc) (gpointer key);
3181 typedef gpointer (*GCacheDupFunc) (gpointer value);
3182 typedef void (*GCacheDestroyFunc) (gpointer value);
3186 GCache* g_cache_new (GCacheNewFunc value_new_func,
3187 GCacheDestroyFunc value_destroy_func,
3188 GCacheDupFunc key_dup_func,
3189 GCacheDestroyFunc key_destroy_func,
3190 GHashFunc hash_key_func,
3191 GHashFunc hash_value_func,
3192 GEqualFunc key_equal_func);
3193 void g_cache_destroy (GCache *cache);
3194 gpointer g_cache_insert (GCache *cache,
3196 void g_cache_remove (GCache *cache,
3197 gconstpointer value);
3198 void g_cache_key_foreach (GCache *cache,
3200 gpointer user_data);
3202 void g_cache_value_foreach (GCache *cache,
3204 gpointer user_data);
3208 # 38 "/usr/include/glib-2.0/glib.h" 2
3209 # 1 "/usr/include/glib-2.0/glib/gcompletion.h" 1
3210 # 32 "/usr/include/glib-2.0/glib/gcompletion.h"
3213 typedef struct _GCompletion GCompletion;
3215 typedef gchar* (*GCompletionFunc) (gpointer);
3220 typedef gint (*GCompletionStrncmpFunc) (const gchar *s1,
3227 GCompletionFunc func;
3231 GCompletionStrncmpFunc strncmp_func;
3234 GCompletion* g_completion_new (GCompletionFunc func);
3235 void g_completion_add_items (GCompletion* cmp,
3237 void g_completion_remove_items (GCompletion* cmp,
3239 void g_completion_clear_items (GCompletion* cmp);
3240 GList* g_completion_complete (GCompletion* cmp,
3241 const gchar* prefix,
3242 gchar** new_prefix);
3243 GList* g_completion_complete_utf8 (GCompletion *cmp,
3244 const gchar* prefix,
3245 gchar** new_prefix);
3246 void g_completion_set_compare (GCompletion *cmp,
3247 GCompletionStrncmpFunc strncmp_func);
3248 void g_completion_free (GCompletion* cmp);
3251 # 39 "/usr/include/glib-2.0/glib.h" 2
3252 # 1 "/usr/include/glib-2.0/glib/gconvert.h" 1
3253 # 32 "/usr/include/glib-2.0/glib/gconvert.h"
3258 G_CONVERT_ERROR_NO_CONVERSION,
3259 G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
3260 G_CONVERT_ERROR_FAILED,
3261 G_CONVERT_ERROR_PARTIAL_INPUT,
3262 G_CONVERT_ERROR_BAD_URI,
3263 G_CONVERT_ERROR_NOT_ABSOLUTE_PATH
3267 GQuark g_convert_error_quark (void);
3271 typedef struct _GIConv *GIConv;
3273 GIConv g_iconv_open (const gchar *to_codeset,
3274 const gchar *from_codeset);
3275 gsize g_iconv (GIConv converter,
3277 gsize *inbytes_left,
3279 gsize *outbytes_left);
3280 gint g_iconv_close (GIConv converter);
3283 gchar* g_convert (const gchar *str,
3285 const gchar *to_codeset,
3286 const gchar *from_codeset,
3288 gsize *bytes_written,
3289 GError **error) __attribute__((__malloc__));
3290 gchar* g_convert_with_iconv (const gchar *str,
3294 gsize *bytes_written,
3295 GError **error) __attribute__((__malloc__));
3296 gchar* g_convert_with_fallback (const gchar *str,
3298 const gchar *to_codeset,
3299 const gchar *from_codeset,
3302 gsize *bytes_written,
3303 GError **error) __attribute__((__malloc__));
3308 gchar* g_locale_to_utf8 (const gchar *opsysstring,
3311 gsize *bytes_written,
3312 GError **error) __attribute__((__malloc__));
3313 gchar* g_locale_from_utf8 (const gchar *utf8string,
3316 gsize *bytes_written,
3317 GError **error) __attribute__((__malloc__));
3318 # 107 "/usr/include/glib-2.0/glib/gconvert.h"
3319 gchar* g_filename_to_utf8 (const gchar *opsysstring,
3322 gsize *bytes_written,
3323 GError **error) __attribute__((__malloc__));
3324 gchar* g_filename_from_utf8 (const gchar *utf8string,
3327 gsize *bytes_written,
3328 GError **error) __attribute__((__malloc__));
3330 gchar *g_filename_from_uri (const gchar *uri,
3332 GError **error) __attribute__((__malloc__));
3334 gchar *g_filename_to_uri (const gchar *filename,
3335 const gchar *hostname,
3336 GError **error) __attribute__((__malloc__));
3337 gchar *g_filename_display_name (const gchar *filename) __attribute__((__malloc__));
3338 gboolean g_get_filename_charsets (const gchar ***charsets);
3340 gchar *g_filename_display_basename (const gchar *filename) __attribute__((__malloc__));
3342 gchar **g_uri_list_extract_uris (const gchar *uri_list) __attribute__((__malloc__));
3345 # 40 "/usr/include/glib-2.0/glib.h" 2
3346 # 1 "/usr/include/glib-2.0/glib/gdataset.h" 1
3347 # 32 "/usr/include/glib-2.0/glib/gdataset.h"
3350 typedef struct _GData GData;
3352 typedef void (*GDataForeachFunc) (GQuark key_id,
3354 gpointer user_data);
3358 void g_datalist_init (GData **datalist);
3359 void g_datalist_clear (GData **datalist);
3360 gpointer g_datalist_id_get_data (GData **datalist,
3362 void g_datalist_id_set_data_full (GData **datalist,
3365 GDestroyNotify destroy_func);
3366 gpointer g_datalist_id_remove_no_notify (GData **datalist,
3368 void g_datalist_foreach (GData **datalist,
3369 GDataForeachFunc func,
3370 gpointer user_data);
3371 # 65 "/usr/include/glib-2.0/glib/gdataset.h"
3372 void g_datalist_set_flags (GData **datalist,
3374 void g_datalist_unset_flags (GData **datalist,
3376 guint g_datalist_get_flags (GData **datalist);
3377 # 89 "/usr/include/glib-2.0/glib/gdataset.h"
3378 void g_dataset_destroy (gconstpointer dataset_location);
3379 gpointer g_dataset_id_get_data (gconstpointer dataset_location,
3381 void g_dataset_id_set_data_full (gconstpointer dataset_location,
3384 GDestroyNotify destroy_func);
3385 gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location,
3387 void g_dataset_foreach (gconstpointer dataset_location,
3388 GDataForeachFunc func,
3389 gpointer user_data);
3390 # 116 "/usr/include/glib-2.0/glib/gdataset.h"
3392 # 41 "/usr/include/glib-2.0/glib.h" 2
3393 # 1 "/usr/include/glib-2.0/glib/gdate.h" 1
3394 # 35 "/usr/include/glib-2.0/glib/gdate.h"
3396 # 46 "/usr/include/glib-2.0/glib/gdate.h"
3397 typedef gint32 GTime;
3398 typedef guint16 GDateYear;
3399 typedef guint8 GDateDay;
3400 typedef struct _GDate GDate;
3413 G_DATE_BAD_WEEKDAY = 0,
3416 G_DATE_WEDNESDAY = 3,
3417 G_DATE_THURSDAY = 4,
3419 G_DATE_SATURDAY = 6,
3424 G_DATE_BAD_MONTH = 0,
3426 G_DATE_FEBRUARY = 2,
3433 G_DATE_SEPTEMBER = 9,
3434 G_DATE_OCTOBER = 10,
3435 G_DATE_NOVEMBER = 11,
3436 G_DATE_DECEMBER = 12
3438 # 97 "/usr/include/glib-2.0/glib/gdate.h"
3441 guint julian_days : 32;
3460 GDate* g_date_new (void);
3461 GDate* g_date_new_dmy (GDateDay day,
3464 GDate* g_date_new_julian (guint32 julian_day);
3465 void g_date_free (GDate *date);
3472 gboolean g_date_valid (const GDate *date);
3473 gboolean g_date_valid_day (GDateDay day) __attribute__((__const__));
3474 gboolean g_date_valid_month (GDateMonth month) __attribute__((__const__));
3475 gboolean g_date_valid_year (GDateYear year) __attribute__((__const__));
3476 gboolean g_date_valid_weekday (GDateWeekday weekday) __attribute__((__const__));
3477 gboolean g_date_valid_julian (guint32 julian_date) __attribute__((__const__));
3478 gboolean g_date_valid_dmy (GDateDay day,
3480 GDateYear year) __attribute__((__const__));
3482 GDateWeekday g_date_get_weekday (const GDate *date);
3483 GDateMonth g_date_get_month (const GDate *date);
3484 GDateYear g_date_get_year (const GDate *date);
3485 GDateDay g_date_get_day (const GDate *date);
3486 guint32 g_date_get_julian (const GDate *date);
3487 guint g_date_get_day_of_year (const GDate *date);
3494 guint g_date_get_monday_week_of_year (const GDate *date);
3495 guint g_date_get_sunday_week_of_year (const GDate *date);
3496 guint g_date_get_iso8601_week_of_year (const GDate *date);
3502 void g_date_clear (GDate *date,
3509 void g_date_set_parse (GDate *date,
3511 void g_date_set_time_t (GDate *date,
3513 void g_date_set_time_val (GDate *date,
3516 void g_date_set_time (GDate *date,
3519 void g_date_set_month (GDate *date,
3521 void g_date_set_day (GDate *date,
3523 void g_date_set_year (GDate *date,
3525 void g_date_set_dmy (GDate *date,
3529 void g_date_set_julian (GDate *date,
3530 guint32 julian_date);
3531 gboolean g_date_is_first_of_month (const GDate *date);
3532 gboolean g_date_is_last_of_month (const GDate *date);
3535 void g_date_add_days (GDate *date,
3537 void g_date_subtract_days (GDate *date,
3541 void g_date_add_months (GDate *date,
3543 void g_date_subtract_months (GDate *date,
3547 void g_date_add_years (GDate *date,
3549 void g_date_subtract_years (GDate *date,
3551 gboolean g_date_is_leap_year (GDateYear year) __attribute__((__const__));
3552 guint8 g_date_get_days_in_month (GDateMonth month,
3553 GDateYear year) __attribute__((__const__));
3554 guint8 g_date_get_monday_weeks_in_year (GDateYear year) __attribute__((__const__));
3555 guint8 g_date_get_sunday_weeks_in_year (GDateYear year) __attribute__((__const__));
3559 gint g_date_days_between (const GDate *date1,
3560 const GDate *date2);
3563 gint g_date_compare (const GDate *lhs,
3565 void g_date_to_struct_tm (const GDate *date,
3568 void g_date_clamp (GDate *date,
3569 const GDate *min_date,
3570 const GDate *max_date);
3573 void g_date_order (GDate *date1, GDate *date2);
3578 gsize g_date_strftime (gchar *s,
3580 const gchar *format,
3582 # 257 "/usr/include/glib-2.0/glib/gdate.h"
3584 # 42 "/usr/include/glib-2.0/glib.h" 2
3585 # 1 "/usr/include/glib-2.0/glib/gdir.h" 1
3586 # 28 "/usr/include/glib-2.0/glib/gdir.h"
3589 typedef struct _GDir GDir;
3597 GDir * g_dir_open (const gchar *path,
3600 const gchar *g_dir_read_name (GDir *dir);
3601 void g_dir_rewind (GDir *dir);
3602 void g_dir_close (GDir *dir);
3605 # 43 "/usr/include/glib-2.0/glib.h" 2
3607 # 1 "/usr/include/glib-2.0/glib/gfileutils.h" 1
3608 # 26 "/usr/include/glib-2.0/glib/gfileutils.h"
3618 G_FILE_ERROR_NAMETOOLONG,
3620 G_FILE_ERROR_NOTDIR,
3624 G_FILE_ERROR_TXTBSY,
3648 G_FILE_TEST_IS_REGULAR = 1 << 0,
3649 G_FILE_TEST_IS_SYMLINK = 1 << 1,
3650 G_FILE_TEST_IS_DIR = 1 << 2,
3651 G_FILE_TEST_IS_EXECUTABLE = 1 << 3,
3652 G_FILE_TEST_EXISTS = 1 << 4
3655 GQuark g_file_error_quark (void);
3657 GFileError g_file_error_from_errno (gint err_no);
3658 # 83 "/usr/include/glib-2.0/glib/gfileutils.h"
3659 gboolean g_file_test (const gchar *filename,
3661 gboolean g_file_get_contents (const gchar *filename,
3665 gboolean g_file_set_contents (const gchar *filename,
3666 const gchar *contents,
3669 gchar *g_file_read_link (const gchar *filename,
3673 gint g_mkstemp (gchar *tmpl);
3676 gint g_file_open_tmp (const gchar *tmpl,
3680 gchar *g_build_path (const gchar *separator,
3681 const gchar *first_element,
3682 ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
3683 gchar *g_build_pathv (const gchar *separator,
3684 gchar **args) __attribute__((__malloc__));
3686 gchar *g_build_filename (const gchar *first_element,
3687 ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
3688 gchar *g_build_filenamev (gchar **args) __attribute__((__malloc__));
3690 int g_mkdir_with_parents (const gchar *pathname,
3694 # 45 "/usr/include/glib-2.0/glib.h" 2
3695 # 1 "/usr/include/glib-2.0/glib/ghash.h" 1
3696 # 33 "/usr/include/glib-2.0/glib/ghash.h"
3699 typedef struct _GHashTable GHashTable;
3701 typedef gboolean (*GHRFunc) (gpointer key,
3703 gpointer user_data);
3707 GHashTable* g_hash_table_new (GHashFunc hash_func,
3708 GEqualFunc key_equal_func);
3709 GHashTable* g_hash_table_new_full (GHashFunc hash_func,
3710 GEqualFunc key_equal_func,
3711 GDestroyNotify key_destroy_func,
3712 GDestroyNotify value_destroy_func);
3713 void g_hash_table_destroy (GHashTable *hash_table);
3714 void g_hash_table_insert (GHashTable *hash_table,
3717 void g_hash_table_replace (GHashTable *hash_table,
3720 gboolean g_hash_table_remove (GHashTable *hash_table,
3722 void g_hash_table_remove_all (GHashTable *hash_table);
3723 gboolean g_hash_table_steal (GHashTable *hash_table,
3725 void g_hash_table_steal_all (GHashTable *hash_table);
3726 gpointer g_hash_table_lookup (GHashTable *hash_table,
3728 gboolean g_hash_table_lookup_extended (GHashTable *hash_table,
3729 gconstpointer lookup_key,
3732 void g_hash_table_foreach (GHashTable *hash_table,
3734 gpointer user_data);
3735 gpointer g_hash_table_find (GHashTable *hash_table,
3737 gpointer user_data);
3738 guint g_hash_table_foreach_remove (GHashTable *hash_table,
3740 gpointer user_data);
3741 guint g_hash_table_foreach_steal (GHashTable *hash_table,
3743 gpointer user_data);
3744 guint g_hash_table_size (GHashTable *hash_table);
3745 GList * g_hash_table_get_keys (GHashTable *hash_table);
3746 GList * g_hash_table_get_values (GHashTable *hash_table);
3749 GHashTable* g_hash_table_ref (GHashTable *hash_table);
3750 void g_hash_table_unref (GHashTable *hash_table);
3751 # 99 "/usr/include/glib-2.0/glib/ghash.h"
3752 gboolean g_str_equal (gconstpointer v1,
3754 guint g_str_hash (gconstpointer v);
3756 gboolean g_int_equal (gconstpointer v1,
3758 guint g_int_hash (gconstpointer v);
3766 guint g_direct_hash (gconstpointer v) __attribute__((__const__));
3767 gboolean g_direct_equal (gconstpointer v1,
3768 gconstpointer v2) __attribute__((__const__));
3771 # 46 "/usr/include/glib-2.0/glib.h" 2
3772 # 1 "/usr/include/glib-2.0/glib/ghook.h" 1
3773 # 32 "/usr/include/glib-2.0/glib/ghook.h"
3778 typedef struct _GHook GHook;
3779 typedef struct _GHookList GHookList;
3781 typedef gint (*GHookCompareFunc) (GHook *new_hook,
3783 typedef gboolean (*GHookFindFunc) (GHook *hook,
3785 typedef void (*GHookMarshaller) (GHook *hook,
3786 gpointer marshal_data);
3787 typedef gboolean (*GHookCheckMarshaller) (GHook *hook,
3788 gpointer marshal_data);
3789 typedef void (*GHookFunc) (gpointer data);
3790 typedef gboolean (*GHookCheckFunc) (gpointer data);
3791 typedef void (*GHookFinalizeFunc) (GHookList *hook_list,
3795 G_HOOK_FLAG_ACTIVE = 1 << 0,
3796 G_HOOK_FLAG_IN_CALL = 1 << 1,
3797 G_HOOK_FLAG_MASK = 0x0f
3806 guint hook_size : 16;
3810 GHookFinalizeFunc finalize_hook;
3822 GDestroyNotify destroy;
3824 # 102 "/usr/include/glib-2.0/glib/ghook.h"
3825 void g_hook_list_init (GHookList *hook_list,
3827 void g_hook_list_clear (GHookList *hook_list);
3828 GHook* g_hook_alloc (GHookList *hook_list);
3829 void g_hook_free (GHookList *hook_list,
3831 GHook * g_hook_ref (GHookList *hook_list,
3833 void g_hook_unref (GHookList *hook_list,
3835 gboolean g_hook_destroy (GHookList *hook_list,
3837 void g_hook_destroy_link (GHookList *hook_list,
3839 void g_hook_prepend (GHookList *hook_list,
3841 void g_hook_insert_before (GHookList *hook_list,
3844 void g_hook_insert_sorted (GHookList *hook_list,
3846 GHookCompareFunc func);
3847 GHook* g_hook_get (GHookList *hook_list,
3849 GHook* g_hook_find (GHookList *hook_list,
3850 gboolean need_valids,
3853 GHook* g_hook_find_data (GHookList *hook_list,
3854 gboolean need_valids,
3856 GHook* g_hook_find_func (GHookList *hook_list,
3857 gboolean need_valids,
3859 GHook* g_hook_find_func_data (GHookList *hook_list,
3860 gboolean need_valids,
3864 GHook* g_hook_first_valid (GHookList *hook_list,
3865 gboolean may_be_in_call);
3869 GHook* g_hook_next_valid (GHookList *hook_list,
3871 gboolean may_be_in_call);
3873 gint g_hook_compare_ids (GHook *new_hook,
3880 void g_hook_list_invoke (GHookList *hook_list,
3881 gboolean may_recurse);
3885 void g_hook_list_invoke_check (GHookList *hook_list,
3886 gboolean may_recurse);
3889 void g_hook_list_marshal (GHookList *hook_list,
3890 gboolean may_recurse,
3891 GHookMarshaller marshaller,
3892 gpointer marshal_data);
3893 void g_hook_list_marshal_check (GHookList *hook_list,
3894 gboolean may_recurse,
3895 GHookCheckMarshaller marshaller,
3896 gpointer marshal_data);
3899 # 47 "/usr/include/glib-2.0/glib.h" 2
3900 # 1 "/usr/include/glib-2.0/glib/giochannel.h" 1
3901 # 31 "/usr/include/glib-2.0/glib/giochannel.h"
3902 # 1 "/usr/include/glib-2.0/glib/gmain.h" 1
3903 # 23 "/usr/include/glib-2.0/glib/gmain.h"
3904 # 1 "/usr/include/glib-2.0/glib/gslist.h" 1
3905 # 32 "/usr/include/glib-2.0/glib/gslist.h"
3908 typedef struct _GSList GSList;
3918 GSList* g_slist_alloc (void) __attribute__((warn_unused_result));
3919 void g_slist_free (GSList *list);
3920 void g_slist_free_1 (GSList *list);
3922 GSList* g_slist_append (GSList *list,
3923 gpointer data) __attribute__((warn_unused_result));
3924 GSList* g_slist_prepend (GSList *list,
3925 gpointer data) __attribute__((warn_unused_result));
3926 GSList* g_slist_insert (GSList *list,
3928 gint position) __attribute__((warn_unused_result));
3929 GSList* g_slist_insert_sorted (GSList *list,
3931 GCompareFunc func) __attribute__((warn_unused_result));
3932 GSList* g_slist_insert_sorted_with_data (GSList *list,
3934 GCompareDataFunc func,
3935 gpointer user_data) __attribute__((warn_unused_result));
3936 GSList* g_slist_insert_before (GSList *slist,
3938 gpointer data) __attribute__((warn_unused_result));
3939 GSList* g_slist_concat (GSList *list1,
3940 GSList *list2) __attribute__((warn_unused_result));
3941 GSList* g_slist_remove (GSList *list,
3942 gconstpointer data) __attribute__((warn_unused_result));
3943 GSList* g_slist_remove_all (GSList *list,
3944 gconstpointer data) __attribute__((warn_unused_result));
3945 GSList* g_slist_remove_link (GSList *list,
3946 GSList *link_) __attribute__((warn_unused_result));
3947 GSList* g_slist_delete_link (GSList *list,
3948 GSList *link_) __attribute__((warn_unused_result));
3949 GSList* g_slist_reverse (GSList *list) __attribute__((warn_unused_result));
3950 GSList* g_slist_copy (GSList *list) __attribute__((warn_unused_result));
3951 GSList* g_slist_nth (GSList *list,
3953 GSList* g_slist_find (GSList *list,
3954 gconstpointer data);
3955 GSList* g_slist_find_custom (GSList *list,
3958 gint g_slist_position (GSList *list,
3960 gint g_slist_index (GSList *list,
3961 gconstpointer data);
3962 GSList* g_slist_last (GSList *list);
3963 guint g_slist_length (GSList *list);
3964 void g_slist_foreach (GSList *list,
3966 gpointer user_data);
3967 GSList* g_slist_sort (GSList *list,
3968 GCompareFunc compare_func) __attribute__((warn_unused_result));
3969 GSList* g_slist_sort_with_data (GSList *list,
3970 GCompareDataFunc compare_func,
3971 gpointer user_data) __attribute__((warn_unused_result));
3972 gpointer g_slist_nth_data (GSList *list,
3978 void g_slist_push_allocator (gpointer dummy);
3979 void g_slist_pop_allocator (void);
3982 # 24 "/usr/include/glib-2.0/glib/gmain.h" 2
3987 typedef struct _GMainContext GMainContext;
3988 typedef struct _GMainLoop GMainLoop;
3989 typedef struct _GSource GSource;
3990 typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
3991 typedef struct _GSourceFuncs GSourceFuncs;
3993 typedef gboolean (*GSourceFunc) (gpointer data);
3994 typedef void (*GChildWatchFunc) (GPid pid,
4000 gpointer callback_data;
4001 GSourceCallbackFuncs *callback_funcs;
4003 GSourceFuncs *source_funcs;
4006 GMainContext *context;
4021 struct _GSourceCallbackFuncs
4023 void (*ref) (gpointer cb_data);
4024 void (*unref) (gpointer cb_data);
4025 void (*get) (gpointer cb_data,
4031 typedef void (*GSourceDummyMarshal) (void);
4033 struct _GSourceFuncs
4035 gboolean (*prepare) (GSource *source,
4037 gboolean (*check) (GSource *source);
4038 gboolean (*dispatch) (GSource *source,
4039 GSourceFunc callback,
4040 gpointer user_data);
4041 void (*finalize) (GSource *source);
4044 GSourceFunc closure_callback;
4045 GSourceDummyMarshal closure_marshal;
4047 # 116 "/usr/include/glib-2.0/glib/gmain.h"
4048 typedef struct _GPollFD GPollFD;
4049 typedef gint (*GPollFunc) (GPollFD *ufds,
4063 # 142 "/usr/include/glib-2.0/glib/gmain.h"
4064 GMainContext *g_main_context_new (void);
4065 GMainContext *g_main_context_ref (GMainContext *context);
4066 void g_main_context_unref (GMainContext *context);
4067 GMainContext *g_main_context_default (void);
4069 gboolean g_main_context_iteration (GMainContext *context,
4070 gboolean may_block);
4071 gboolean g_main_context_pending (GMainContext *context);
4075 GSource *g_main_context_find_source_by_id (GMainContext *context,
4077 GSource *g_main_context_find_source_by_user_data (GMainContext *context,
4078 gpointer user_data);
4079 GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context,
4080 GSourceFuncs *funcs,
4081 gpointer user_data);
4085 void g_main_context_wakeup (GMainContext *context);
4086 gboolean g_main_context_acquire (GMainContext *context);
4087 void g_main_context_release (GMainContext *context);
4088 gboolean g_main_context_is_owner (GMainContext *context);
4089 gboolean g_main_context_wait (GMainContext *context,
4093 gboolean g_main_context_prepare (GMainContext *context,
4095 gint g_main_context_query (GMainContext *context,
4100 gint g_main_context_check (GMainContext *context,
4104 void g_main_context_dispatch (GMainContext *context);
4106 void g_main_context_set_poll_func (GMainContext *context,
4108 GPollFunc g_main_context_get_poll_func (GMainContext *context);
4112 void g_main_context_add_poll (GMainContext *context,
4115 void g_main_context_remove_poll (GMainContext *context,
4118 gint g_main_depth (void);
4119 GSource *g_main_current_source (void);
4124 GMainLoop *g_main_loop_new (GMainContext *context,
4125 gboolean is_running);
4126 void g_main_loop_run (GMainLoop *loop);
4127 void g_main_loop_quit (GMainLoop *loop);
4128 GMainLoop *g_main_loop_ref (GMainLoop *loop);
4129 void g_main_loop_unref (GMainLoop *loop);
4130 gboolean g_main_loop_is_running (GMainLoop *loop);
4131 GMainContext *g_main_loop_get_context (GMainLoop *loop);
4135 GSource *g_source_new (GSourceFuncs *source_funcs,
4137 GSource *g_source_ref (GSource *source);
4138 void g_source_unref (GSource *source);
4140 guint g_source_attach (GSource *source,
4141 GMainContext *context);
4142 void g_source_destroy (GSource *source);
4144 void g_source_set_priority (GSource *source,
4146 gint g_source_get_priority (GSource *source);
4147 void g_source_set_can_recurse (GSource *source,
4148 gboolean can_recurse);
4149 gboolean g_source_get_can_recurse (GSource *source);
4150 guint g_source_get_id (GSource *source);
4152 GMainContext *g_source_get_context (GSource *source);
4154 void g_source_set_callback (GSource *source,
4157 GDestroyNotify notify);
4159 void g_source_set_funcs (GSource *source,
4160 GSourceFuncs *funcs);
4161 gboolean g_source_is_destroyed (GSource *source);
4164 void g_source_set_callback_indirect (GSource *source,
4165 gpointer callback_data,
4166 GSourceCallbackFuncs *callback_funcs);
4168 void g_source_add_poll (GSource *source,
4170 void g_source_remove_poll (GSource *source,
4173 void g_source_get_current_time (GSource *source,
4182 GSource *g_idle_source_new (void);
4183 GSource *g_child_watch_source_new (GPid pid);
4184 GSource *g_timeout_source_new (guint interval);
4185 GSource *g_timeout_source_new_seconds (guint interval);
4189 void g_get_current_time (GTimeVal *result);
4190 # 292 "/usr/include/glib-2.0/glib/gmain.h"
4191 gboolean g_source_remove (guint tag);
4192 gboolean g_source_remove_by_user_data (gpointer user_data);
4193 gboolean g_source_remove_by_funcs_user_data (GSourceFuncs *funcs,
4194 gpointer user_data);
4197 guint g_timeout_add_full (gint priority,
4199 GSourceFunc function,
4201 GDestroyNotify notify);
4202 guint g_timeout_add (guint interval,
4203 GSourceFunc function,
4205 guint g_timeout_add_seconds_full (gint priority,
4207 GSourceFunc function,
4209 GDestroyNotify notify);
4210 guint g_timeout_add_seconds (guint interval,
4211 GSourceFunc function,
4213 guint g_child_watch_add_full (gint priority,
4215 GChildWatchFunc function,
4217 GDestroyNotify notify);
4218 guint g_child_watch_add (GPid pid,
4219 GChildWatchFunc function,
4221 guint g_idle_add (GSourceFunc function,
4223 guint g_idle_add_full (gint priority,
4224 GSourceFunc function,
4226 GDestroyNotify notify);
4227 gboolean g_idle_remove_by_data (gpointer data);
4230 extern GSourceFuncs g_timeout_funcs;
4231 extern GSourceFuncs g_child_watch_funcs;
4232 extern GSourceFuncs g_idle_funcs;
4235 # 32 "/usr/include/glib-2.0/glib/giochannel.h" 2
4236 # 1 "/usr/include/glib-2.0/glib/gstring.h" 1
4237 # 31 "/usr/include/glib-2.0/glib/gstring.h"
4238 # 1 "/usr/include/glib-2.0/glib/gunicode.h" 1
4239 # 28 "/usr/include/glib-2.0/glib/gunicode.h"
4242 typedef guint32 gunichar;
4243 typedef guint16 gunichar2;
4252 G_UNICODE_UNASSIGNED,
4253 G_UNICODE_PRIVATE_USE,
4254 G_UNICODE_SURROGATE,
4255 G_UNICODE_LOWERCASE_LETTER,
4256 G_UNICODE_MODIFIER_LETTER,
4257 G_UNICODE_OTHER_LETTER,
4258 G_UNICODE_TITLECASE_LETTER,
4259 G_UNICODE_UPPERCASE_LETTER,
4260 G_UNICODE_COMBINING_MARK,
4261 G_UNICODE_ENCLOSING_MARK,
4262 G_UNICODE_NON_SPACING_MARK,
4263 G_UNICODE_DECIMAL_NUMBER,
4264 G_UNICODE_LETTER_NUMBER,
4265 G_UNICODE_OTHER_NUMBER,
4266 G_UNICODE_CONNECT_PUNCTUATION,
4267 G_UNICODE_DASH_PUNCTUATION,
4268 G_UNICODE_CLOSE_PUNCTUATION,
4269 G_UNICODE_FINAL_PUNCTUATION,
4270 G_UNICODE_INITIAL_PUNCTUATION,
4271 G_UNICODE_OTHER_PUNCTUATION,
4272 G_UNICODE_OPEN_PUNCTUATION,
4273 G_UNICODE_CURRENCY_SYMBOL,
4274 G_UNICODE_MODIFIER_SYMBOL,
4275 G_UNICODE_MATH_SYMBOL,
4276 G_UNICODE_OTHER_SYMBOL,
4277 G_UNICODE_LINE_SEPARATOR,
4278 G_UNICODE_PARAGRAPH_SEPARATOR,
4279 G_UNICODE_SPACE_SEPARATOR
4289 G_UNICODE_BREAK_MANDATORY,
4290 G_UNICODE_BREAK_CARRIAGE_RETURN,
4291 G_UNICODE_BREAK_LINE_FEED,
4292 G_UNICODE_BREAK_COMBINING_MARK,
4293 G_UNICODE_BREAK_SURROGATE,
4294 G_UNICODE_BREAK_ZERO_WIDTH_SPACE,
4295 G_UNICODE_BREAK_INSEPARABLE,
4296 G_UNICODE_BREAK_NON_BREAKING_GLUE,
4297 G_UNICODE_BREAK_CONTINGENT,
4298 G_UNICODE_BREAK_SPACE,
4299 G_UNICODE_BREAK_AFTER,
4300 G_UNICODE_BREAK_BEFORE,
4301 G_UNICODE_BREAK_BEFORE_AND_AFTER,
4302 G_UNICODE_BREAK_HYPHEN,
4303 G_UNICODE_BREAK_NON_STARTER,
4304 G_UNICODE_BREAK_OPEN_PUNCTUATION,
4305 G_UNICODE_BREAK_CLOSE_PUNCTUATION,
4306 G_UNICODE_BREAK_QUOTATION,
4307 G_UNICODE_BREAK_EXCLAMATION,
4308 G_UNICODE_BREAK_IDEOGRAPHIC,
4309 G_UNICODE_BREAK_NUMERIC,
4310 G_UNICODE_BREAK_INFIX_SEPARATOR,
4311 G_UNICODE_BREAK_SYMBOL,
4312 G_UNICODE_BREAK_ALPHABETIC,
4313 G_UNICODE_BREAK_PREFIX,
4314 G_UNICODE_BREAK_POSTFIX,
4315 G_UNICODE_BREAK_COMPLEX_CONTEXT,
4316 G_UNICODE_BREAK_AMBIGUOUS,
4317 G_UNICODE_BREAK_UNKNOWN,
4318 G_UNICODE_BREAK_NEXT_LINE,
4319 G_UNICODE_BREAK_WORD_JOINER,
4320 G_UNICODE_BREAK_HANGUL_L_JAMO,
4321 G_UNICODE_BREAK_HANGUL_V_JAMO,
4322 G_UNICODE_BREAK_HANGUL_T_JAMO,
4323 G_UNICODE_BREAK_HANGUL_LV_SYLLABLE,
4324 G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE
4325 } GUnicodeBreakType;
4329 G_UNICODE_SCRIPT_INVALID_CODE = -1,
4330 G_UNICODE_SCRIPT_COMMON = 0,
4331 G_UNICODE_SCRIPT_INHERITED,
4332 G_UNICODE_SCRIPT_ARABIC,
4333 G_UNICODE_SCRIPT_ARMENIAN,
4334 G_UNICODE_SCRIPT_BENGALI,
4335 G_UNICODE_SCRIPT_BOPOMOFO,
4336 G_UNICODE_SCRIPT_CHEROKEE,
4337 G_UNICODE_SCRIPT_COPTIC,
4338 G_UNICODE_SCRIPT_CYRILLIC,
4339 G_UNICODE_SCRIPT_DESERET,
4340 G_UNICODE_SCRIPT_DEVANAGARI,
4341 G_UNICODE_SCRIPT_ETHIOPIC,
4342 G_UNICODE_SCRIPT_GEORGIAN,
4343 G_UNICODE_SCRIPT_GOTHIC,
4344 G_UNICODE_SCRIPT_GREEK,
4345 G_UNICODE_SCRIPT_GUJARATI,
4346 G_UNICODE_SCRIPT_GURMUKHI,
4347 G_UNICODE_SCRIPT_HAN,
4348 G_UNICODE_SCRIPT_HANGUL,
4349 G_UNICODE_SCRIPT_HEBREW,
4350 G_UNICODE_SCRIPT_HIRAGANA,
4351 G_UNICODE_SCRIPT_KANNADA,
4352 G_UNICODE_SCRIPT_KATAKANA,
4353 G_UNICODE_SCRIPT_KHMER,
4354 G_UNICODE_SCRIPT_LAO,
4355 G_UNICODE_SCRIPT_LATIN,
4356 G_UNICODE_SCRIPT_MALAYALAM,
4357 G_UNICODE_SCRIPT_MONGOLIAN,
4358 G_UNICODE_SCRIPT_MYANMAR,
4359 G_UNICODE_SCRIPT_OGHAM,
4360 G_UNICODE_SCRIPT_OLD_ITALIC,
4361 G_UNICODE_SCRIPT_ORIYA,
4362 G_UNICODE_SCRIPT_RUNIC,
4363 G_UNICODE_SCRIPT_SINHALA,
4364 G_UNICODE_SCRIPT_SYRIAC,
4365 G_UNICODE_SCRIPT_TAMIL,
4366 G_UNICODE_SCRIPT_TELUGU,
4367 G_UNICODE_SCRIPT_THAANA,
4368 G_UNICODE_SCRIPT_THAI,
4369 G_UNICODE_SCRIPT_TIBETAN,
4370 G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL,
4371 G_UNICODE_SCRIPT_YI,
4372 G_UNICODE_SCRIPT_TAGALOG,
4373 G_UNICODE_SCRIPT_HANUNOO,
4374 G_UNICODE_SCRIPT_BUHID,
4375 G_UNICODE_SCRIPT_TAGBANWA,
4378 G_UNICODE_SCRIPT_BRAILLE,
4379 G_UNICODE_SCRIPT_CYPRIOT,
4380 G_UNICODE_SCRIPT_LIMBU,
4381 G_UNICODE_SCRIPT_OSMANYA,
4382 G_UNICODE_SCRIPT_SHAVIAN,
4383 G_UNICODE_SCRIPT_LINEAR_B,
4384 G_UNICODE_SCRIPT_TAI_LE,
4385 G_UNICODE_SCRIPT_UGARITIC,
4388 G_UNICODE_SCRIPT_NEW_TAI_LUE,
4389 G_UNICODE_SCRIPT_BUGINESE,
4390 G_UNICODE_SCRIPT_GLAGOLITIC,
4391 G_UNICODE_SCRIPT_TIFINAGH,
4392 G_UNICODE_SCRIPT_SYLOTI_NAGRI,
4393 G_UNICODE_SCRIPT_OLD_PERSIAN,
4394 G_UNICODE_SCRIPT_KHAROSHTHI,
4397 G_UNICODE_SCRIPT_UNKNOWN,
4398 G_UNICODE_SCRIPT_BALINESE,
4399 G_UNICODE_SCRIPT_CUNEIFORM,
4400 G_UNICODE_SCRIPT_PHOENICIAN,
4401 G_UNICODE_SCRIPT_PHAGS_PA,
4402 G_UNICODE_SCRIPT_NKO
4411 gboolean g_get_charset (const char **charset);
4415 gboolean g_unichar_isalnum (gunichar c) __attribute__((__const__));
4416 gboolean g_unichar_isalpha (gunichar c) __attribute__((__const__));
4417 gboolean g_unichar_iscntrl (gunichar c) __attribute__((__const__));
4418 gboolean g_unichar_isdigit (gunichar c) __attribute__((__const__));
4419 gboolean g_unichar_isgraph (gunichar c) __attribute__((__const__));
4420 gboolean g_unichar_islower (gunichar c) __attribute__((__const__));
4421 gboolean g_unichar_isprint (gunichar c) __attribute__((__const__));
4422 gboolean g_unichar_ispunct (gunichar c) __attribute__((__const__));
4423 gboolean g_unichar_isspace (gunichar c) __attribute__((__const__));
4424 gboolean g_unichar_isupper (gunichar c) __attribute__((__const__));
4425 gboolean g_unichar_isxdigit (gunichar c) __attribute__((__const__));
4426 gboolean g_unichar_istitle (gunichar c) __attribute__((__const__));
4427 gboolean g_unichar_isdefined (gunichar c) __attribute__((__const__));
4428 gboolean g_unichar_iswide (gunichar c) __attribute__((__const__));
4429 gboolean g_unichar_iswide_cjk(gunichar c) __attribute__((__const__));
4430 gboolean g_unichar_iszerowidth(gunichar c) __attribute__((__const__));
4431 gboolean g_unichar_ismark (gunichar c) __attribute__((__const__));
4435 gunichar g_unichar_toupper (gunichar c) __attribute__((__const__));
4436 gunichar g_unichar_tolower (gunichar c) __attribute__((__const__));
4437 gunichar g_unichar_totitle (gunichar c) __attribute__((__const__));
4441 gint g_unichar_digit_value (gunichar c) __attribute__((__const__));
4443 gint g_unichar_xdigit_value (gunichar c) __attribute__((__const__));
4446 GUnicodeType g_unichar_type (gunichar c) __attribute__((__const__));
4449 GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__((__const__));
4452 gint g_unichar_combining_class (gunichar uc) __attribute__((__const__));
4458 void g_unicode_canonical_ordering (gunichar *string,
4464 gunichar *g_unicode_canonical_decomposition (gunichar ch,
4465 gsize *result_len) __attribute__((__malloc__));
4469 extern const gchar * const g_utf8_skip;
4473 gunichar g_utf8_get_char (const gchar *p) __attribute__((__pure__));
4474 gunichar g_utf8_get_char_validated (const gchar *p,
4475 gssize max_len) __attribute__((__pure__));
4477 gchar* g_utf8_offset_to_pointer (const gchar *str,
4478 glong offset) __attribute__((__pure__));
4479 glong g_utf8_pointer_to_offset (const gchar *str,
4480 const gchar *pos) __attribute__((__pure__));
4481 gchar* g_utf8_prev_char (const gchar *p) __attribute__((__pure__));
4482 gchar* g_utf8_find_next_char (const gchar *p,
4483 const gchar *end) __attribute__((__pure__));
4484 gchar* g_utf8_find_prev_char (const gchar *str,
4485 const gchar *p) __attribute__((__pure__));
4487 glong g_utf8_strlen (const gchar *p,
4488 gssize max) __attribute__((__pure__));
4491 gchar* g_utf8_strncpy (gchar *dest,
4497 gchar* g_utf8_strchr (const gchar *p,
4500 gchar* g_utf8_strrchr (const gchar *p,
4503 gchar* g_utf8_strreverse (const gchar *str,
4506 gunichar2 *g_utf8_to_utf16 (const gchar *str,
4509 glong *items_written,
4510 GError **error) __attribute__((__malloc__));
4511 gunichar * g_utf8_to_ucs4 (const gchar *str,
4514 glong *items_written,
4515 GError **error) __attribute__((__malloc__));
4516 gunichar * g_utf8_to_ucs4_fast (const gchar *str,
4518 glong *items_written) __attribute__((__malloc__));
4519 gunichar * g_utf16_to_ucs4 (const gunichar2 *str,
4522 glong *items_written,
4523 GError **error) __attribute__((__malloc__));
4524 gchar* g_utf16_to_utf8 (const gunichar2 *str,
4527 glong *items_written,
4528 GError **error) __attribute__((__malloc__));
4529 gunichar2 *g_ucs4_to_utf16 (const gunichar *str,
4532 glong *items_written,
4533 GError **error) __attribute__((__malloc__));
4534 gchar* g_ucs4_to_utf8 (const gunichar *str,
4537 glong *items_written,
4538 GError **error) __attribute__((__malloc__));
4544 gint g_unichar_to_utf8 (gunichar c,
4551 gboolean g_utf8_validate (const gchar *str,
4556 gboolean g_unichar_validate (gunichar ch) __attribute__((__const__));
4558 gchar *g_utf8_strup (const gchar *str,
4559 gssize len) __attribute__((__malloc__));
4560 gchar *g_utf8_strdown (const gchar *str,
4561 gssize len) __attribute__((__malloc__));
4562 gchar *g_utf8_casefold (const gchar *str,
4563 gssize len) __attribute__((__malloc__));
4566 G_NORMALIZE_DEFAULT,
4567 G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT,
4568 G_NORMALIZE_DEFAULT_COMPOSE,
4569 G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE,
4571 G_NORMALIZE_NFKD = G_NORMALIZE_ALL,
4572 G_NORMALIZE_ALL_COMPOSE,
4573 G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE
4576 gchar *g_utf8_normalize (const gchar *str,
4578 GNormalizeMode mode) __attribute__((__malloc__));
4580 gint g_utf8_collate (const gchar *str1,
4581 const gchar *str2) __attribute__((__pure__));
4582 gchar *g_utf8_collate_key (const gchar *str,
4583 gssize len) __attribute__((__malloc__));
4584 gchar *g_utf8_collate_key_for_filename (const gchar *str,
4585 gssize len) __attribute__((__malloc__));
4587 gboolean g_unichar_get_mirror_char (gunichar ch,
4588 gunichar *mirrored_ch);
4590 GUnicodeScript g_unichar_get_script (gunichar ch) __attribute__((__const__));
4595 gchar *_g_utf8_make_valid (const gchar *name);
4599 # 32 "/usr/include/glib-2.0/glib/gstring.h" 2
4604 typedef struct _GString GString;
4605 typedef struct _GStringChunk GStringChunk;
4611 gsize allocated_len;
4616 GStringChunk* g_string_chunk_new (gsize size);
4617 void g_string_chunk_free (GStringChunk *chunk);
4618 void g_string_chunk_clear (GStringChunk *chunk);
4619 gchar* g_string_chunk_insert (GStringChunk *chunk,
4620 const gchar *string);
4621 gchar* g_string_chunk_insert_len (GStringChunk *chunk,
4622 const gchar *string,
4624 gchar* g_string_chunk_insert_const (GStringChunk *chunk,
4625 const gchar *string);
4630 GString* g_string_new (const gchar *init);
4631 GString* g_string_new_len (const gchar *init,
4633 GString* g_string_sized_new (gsize dfl_size);
4634 gchar* g_string_free (GString *string,
4635 gboolean free_segment);
4636 gboolean g_string_equal (const GString *v,