2
# 1 "/data/projects/gnome-keyring/ui/tests//"
6
# 24 "unit-test-util.c"
8
# 1 "../../testing/testing.h" 1
9
# 31 "../../testing/testing.h"
10
# 1 "../../config.h" 1
11
# 32 "../../testing/testing.h" 2
13
# 1 "/usr/include/glib-2.0/glib.h" 1
14
# 32 "/usr/include/glib-2.0/glib.h"
15
# 1 "/usr/include/glib-2.0/glib/galloca.h" 1
16
# 34 "/usr/include/glib-2.0/glib/galloca.h"
17
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
18
# 34 "/usr/include/glib-2.0/glib/gtypes.h"
19
# 1 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h" 1
20
# 9 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
21
# 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
22
# 40 "/usr/include/glib-2.0/glib/gmacros.h"
23
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
24
# 149 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 3 4
25
typedef int ptrdiff_t;
26
# 211 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 3 4
27
typedef unsigned int size_t;
28
# 323 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 3 4
30
# 41 "/usr/include/glib-2.0/glib/gmacros.h" 2
31
# 10 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h" 2
33
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/limits.h" 1 3 4
34
# 34 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/limits.h" 3 4
35
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/syslimits.h" 1 3 4
42
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/limits.h" 1 3 4
43
# 169 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/limits.h" 3 4
44
# 1 "/usr/include/limits.h" 1 3 4
45
# 27 "/usr/include/limits.h" 3 4
46
# 1 "/usr/include/features.h" 1 3 4
47
# 323 "/usr/include/features.h" 3 4
48
# 1 "/usr/include/bits/predefs.h" 1 3 4
49
# 324 "/usr/include/features.h" 2 3 4
50
# 356 "/usr/include/features.h" 3 4
51
# 1 "/usr/include/sys/cdefs.h" 1 3 4
52
# 353 "/usr/include/sys/cdefs.h" 3 4
53
# 1 "/usr/include/bits/wordsize.h" 1 3 4
54
# 354 "/usr/include/sys/cdefs.h" 2 3 4
55
# 357 "/usr/include/features.h" 2 3 4
56
# 388 "/usr/include/features.h" 3 4
57
# 1 "/usr/include/gnu/stubs.h" 1 3 4
61
# 1 "/usr/include/bits/wordsize.h" 1 3 4
62
# 5 "/usr/include/gnu/stubs.h" 2 3 4
65
# 1 "/usr/include/gnu/stubs-32.h" 1 3 4
66
# 8 "/usr/include/gnu/stubs.h" 2 3 4
67
# 389 "/usr/include/features.h" 2 3 4
68
# 28 "/usr/include/limits.h" 2 3 4
69
# 145 "/usr/include/limits.h" 3 4
70
# 1 "/usr/include/bits/posix1_lim.h" 1 3 4
71
# 157 "/usr/include/bits/posix1_lim.h" 3 4
72
# 1 "/usr/include/bits/local_lim.h" 1 3 4
73
# 39 "/usr/include/bits/local_lim.h" 3 4
74
# 1 "/usr/include/linux/limits.h" 1 3 4
75
# 40 "/usr/include/bits/local_lim.h" 2 3 4
76
# 158 "/usr/include/bits/posix1_lim.h" 2 3 4
77
# 146 "/usr/include/limits.h" 2 3 4
81
# 1 "/usr/include/bits/posix2_lim.h" 1 3 4
82
# 150 "/usr/include/limits.h" 2 3 4
86
# 1 "/usr/include/bits/xopen_lim.h" 1 3 4
87
# 34 "/usr/include/bits/xopen_lim.h" 3 4
88
# 1 "/usr/include/bits/stdio_lim.h" 1 3 4
89
# 35 "/usr/include/bits/xopen_lim.h" 2 3 4
90
# 154 "/usr/include/limits.h" 2 3 4
91
# 170 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/limits.h" 2 3 4
92
# 8 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/syslimits.h" 2 3 4
93
# 35 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/limits.h" 2 3 4
94
# 12 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h" 2
95
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/float.h" 1 3 4
96
# 13 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h" 2
97
# 22 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
99
# 38 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
100
typedef signed char gint8;
101
typedef unsigned char guint8;
102
typedef signed short gint16;
103
typedef unsigned short guint16;
107
typedef signed int gint32;
108
typedef unsigned int guint32;
114
__extension__ typedef signed long long gint64;
115
__extension__ typedef unsigned long long guint64;
116
# 65 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
117
typedef signed int gssize;
118
typedef unsigned int gsize;
119
# 75 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
120
typedef gint64 goffset;
121
# 90 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
122
typedef signed int gintptr;
123
typedef unsigned int guintptr;
124
# 159 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
125
typedef struct _GStaticMutex GStaticMutex;
128
struct _GMutex *runtime_mutex;
136
# 178 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
137
typedef union _GSystemThread GSystemThread;
145
# 231 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
147
# 241 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
149
# 35 "/usr/include/glib-2.0/glib/gtypes.h" 2
150
# 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
151
# 36 "/usr/include/glib-2.0/glib/gtypes.h" 2
152
# 1 "/usr/include/time.h" 1 3 4
153
# 30 "/usr/include/time.h" 3 4
162
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
163
# 39 "/usr/include/time.h" 2 3 4
167
# 1 "/usr/include/bits/time.h" 1 3 4
168
# 43 "/usr/include/time.h" 2 3 4
169
# 56 "/usr/include/time.h" 3 4
170
# 1 "/usr/include/bits/types.h" 1 3 4
171
# 28 "/usr/include/bits/types.h" 3 4
172
# 1 "/usr/include/bits/wordsize.h" 1 3 4
173
# 29 "/usr/include/bits/types.h" 2 3 4
176
typedef unsigned char __u_char;
177
typedef unsigned short int __u_short;
178
typedef unsigned int __u_int;
179
typedef unsigned long int __u_long;
182
typedef signed char __int8_t;
183
typedef unsigned char __uint8_t;
184
typedef signed short int __int16_t;
185
typedef unsigned short int __uint16_t;
186
typedef signed int __int32_t;
187
typedef unsigned int __uint32_t;
192
__extension__ typedef signed long long int __int64_t;
193
__extension__ typedef unsigned long long int __uint64_t;
201
__extension__ typedef long long int __quad_t;
202
__extension__ typedef unsigned long long int __u_quad_t;
203
# 131 "/usr/include/bits/types.h" 3 4
204
# 1 "/usr/include/bits/typesizes.h" 1 3 4
205
# 132 "/usr/include/bits/types.h" 2 3 4
208
__extension__ typedef __u_quad_t __dev_t;
209
__extension__ typedef unsigned int __uid_t;
210
__extension__ typedef unsigned int __gid_t;
211
__extension__ typedef unsigned long int __ino_t;
212
__extension__ typedef __u_quad_t __ino64_t;
213
__extension__ typedef unsigned int __mode_t;
214
__extension__ typedef unsigned int __nlink_t;
215
__extension__ typedef long int __off_t;
216
__extension__ typedef __quad_t __off64_t;
217
__extension__ typedef int __pid_t;
218
__extension__ typedef struct { int __val[2]; } __fsid_t;
219
__extension__ typedef long int __clock_t;
220
__extension__ typedef unsigned long int __rlim_t;
221
__extension__ typedef __u_quad_t __rlim64_t;
222
__extension__ typedef unsigned int __id_t;
223
__extension__ typedef long int __time_t;
224
__extension__ typedef unsigned int __useconds_t;
225
__extension__ typedef long int __suseconds_t;
227
__extension__ typedef int __daddr_t;
228
__extension__ typedef long int __swblk_t;
229
__extension__ typedef int __key_t;
232
__extension__ typedef int __clockid_t;
235
__extension__ typedef void * __timer_t;
238
__extension__ typedef long int __blksize_t;
243
__extension__ typedef long int __blkcnt_t;
244
__extension__ typedef __quad_t __blkcnt64_t;
247
__extension__ typedef unsigned long int __fsblkcnt_t;
248
__extension__ typedef __u_quad_t __fsblkcnt64_t;
251
__extension__ typedef unsigned long int __fsfilcnt_t;
252
__extension__ typedef __u_quad_t __fsfilcnt64_t;
254
__extension__ typedef int __ssize_t;
258
typedef __off64_t __loff_t;
259
typedef __quad_t *__qaddr_t;
260
typedef char *__caddr_t;
263
__extension__ typedef int __intptr_t;
266
__extension__ typedef unsigned int __socklen_t;
267
# 57 "/usr/include/time.h" 2 3 4
271
typedef __clock_t clock_t;
275
# 74 "/usr/include/time.h" 3 4
278
typedef __time_t time_t;
282
# 92 "/usr/include/time.h" 3 4
283
typedef __clockid_t clockid_t;
284
# 104 "/usr/include/time.h" 3 4
285
typedef __timer_t timer_t;
286
# 120 "/usr/include/time.h" 3 4
314
__const char *tm_zone;
330
struct timespec it_interval;
331
struct timespec it_value;
341
typedef __pid_t pid_t;
350
extern clock_t clock (void) __attribute__ ((__nothrow__));
353
extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
356
extern double difftime (time_t __time1, time_t __time0)
357
__attribute__ ((__nothrow__)) __attribute__ ((__const__));
360
extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
366
extern size_t strftime (char *__restrict __s, size_t __maxsize,
367
__const char *__restrict __format,
368
__const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
374
extern char *strptime (__const char *__restrict __s,
375
__const char *__restrict __fmt, struct tm *__tp)
376
__attribute__ ((__nothrow__));
382
# 1 "/usr/include/xlocale.h" 1 3 4
383
# 28 "/usr/include/xlocale.h" 3 4
384
typedef struct __locale_struct
387
struct __locale_data *__locales[13];
390
const unsigned short int *__ctype_b;
391
const int *__ctype_tolower;
392
const int *__ctype_toupper;
395
const char *__names[13];
399
typedef __locale_t locale_t;
400
# 216 "/usr/include/time.h" 2 3 4
402
extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
403
__const char *__restrict __format,
404
__const struct tm *__restrict __tp,
405
__locale_t __loc) __attribute__ ((__nothrow__));
409
extern char *strptime_l (__const char *__restrict __s,
410
__const char *__restrict __fmt, struct tm *__tp,
411
__locale_t __loc) __attribute__ ((__nothrow__));
418
extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
422
extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
428
extern struct tm *gmtime_r (__const time_t *__restrict __timer,
429
struct tm *__restrict __tp) __attribute__ ((__nothrow__));
433
extern struct tm *localtime_r (__const time_t *__restrict __timer,
434
struct tm *__restrict __tp) __attribute__ ((__nothrow__));
440
extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
443
extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
451
extern char *asctime_r (__const struct tm *__restrict __tp,
452
char *__restrict __buf) __attribute__ ((__nothrow__));
455
extern char *ctime_r (__const time_t *__restrict __timer,
456
char *__restrict __buf) __attribute__ ((__nothrow__));
461
extern char *__tzname[2];
462
extern int __daylight;
463
extern long int __timezone;
468
extern char *tzname[2];
472
extern void tzset (void) __attribute__ ((__nothrow__));
477
extern long int timezone;
483
extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
484
# 313 "/usr/include/time.h" 3 4
485
extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
488
extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
491
extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
492
# 328 "/usr/include/time.h" 3 4
493
extern int nanosleep (__const struct timespec *__requested_time,
494
struct timespec *__remaining);
498
extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
501
extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
504
extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
505
__attribute__ ((__nothrow__));
512
extern int clock_nanosleep (clockid_t __clock_id, int __flags,
513
__const struct timespec *__req,
514
struct timespec *__rem);
517
extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
522
extern int timer_create (clockid_t __clock_id,
523
struct sigevent *__restrict __evp,
524
timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
527
extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
530
extern int timer_settime (timer_t __timerid, int __flags,
531
__const struct itimerspec *__restrict __value,
532
struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
535
extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
536
__attribute__ ((__nothrow__));
539
extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
540
# 390 "/usr/include/time.h" 3 4
541
extern int getdate_err;
542
# 399 "/usr/include/time.h" 3 4
543
extern struct tm *getdate (__const char *__string);
544
# 413 "/usr/include/time.h" 3 4
545
extern int getdate_r (__const char *__restrict __string,
546
struct tm *__restrict __resbufp);
550
# 37 "/usr/include/glib-2.0/glib/gtypes.h" 2
553
# 47 "/usr/include/glib-2.0/glib/gtypes.h"
555
typedef short gshort;
558
typedef gint gboolean;
560
typedef unsigned char guchar;
561
typedef unsigned short gushort;
562
typedef unsigned long gulong;
563
typedef unsigned int guint;
565
typedef float gfloat;
566
typedef double gdouble;
567
# 78 "/usr/include/glib-2.0/glib/gtypes.h"
568
typedef void* gpointer;
569
typedef const void *gconstpointer;
571
typedef gint (*GCompareFunc) (gconstpointer a,
573
typedef gint (*GCompareDataFunc) (gconstpointer a,
576
typedef gboolean (*GEqualFunc) (gconstpointer a,
578
typedef void (*GDestroyNotify) (gpointer data);
579
typedef void (*GFunc) (gpointer data,
581
typedef guint (*GHashFunc) (gconstpointer key);
582
typedef void (*GHFunc) (gpointer key,
585
typedef void (*GFreeFunc) (gpointer data);
586
# 109 "/usr/include/glib-2.0/glib/gtypes.h"
587
typedef const gchar * (*GTranslateFunc) (const gchar *str,
589
# 369 "/usr/include/glib-2.0/glib/gtypes.h"
590
typedef union _GDoubleIEEE754 GDoubleIEEE754;
591
typedef union _GFloatIEEE754 GFloatIEEE754;
602
guint biased_exponent : 8;
606
union _GDoubleIEEE754
610
guint mantissa_low : 32;
611
guint mantissa_high : 20;
612
guint biased_exponent : 11;
616
# 419 "/usr/include/glib-2.0/glib/gtypes.h"
617
typedef struct _GTimeVal GTimeVal;
626
# 35 "/usr/include/glib-2.0/glib/galloca.h" 2
627
# 33 "/usr/include/glib-2.0/glib.h" 2
628
# 1 "/usr/include/glib-2.0/glib/garray.h" 1
629
# 34 "/usr/include/glib-2.0/glib/garray.h"
630
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
631
# 35 "/usr/include/glib-2.0/glib/garray.h" 2
635
typedef struct _GArray GArray;
636
typedef struct _GByteArray GByteArray;
637
typedef struct _GPtrArray GPtrArray;
656
# 70 "/usr/include/glib-2.0/glib/garray.h"
657
GArray* g_array_new (gboolean zero_terminated,
660
GArray* g_array_sized_new (gboolean zero_terminated,
663
guint reserved_size);
664
gchar* g_array_free (GArray *array,
665
gboolean free_segment);
666
GArray *g_array_ref (GArray *array);
667
void g_array_unref (GArray *array);
668
guint g_array_get_element_size (GArray *array);
669
GArray* g_array_append_vals (GArray *array,
672
GArray* g_array_prepend_vals (GArray *array,
675
GArray* g_array_insert_vals (GArray *array,
679
GArray* g_array_set_size (GArray *array,
681
GArray* g_array_remove_index (GArray *array,
683
GArray* g_array_remove_index_fast (GArray *array,
685
GArray* g_array_remove_range (GArray *array,
688
void g_array_sort (GArray *array,
689
GCompareFunc compare_func);
690
void g_array_sort_with_data (GArray *array,
691
GCompareDataFunc compare_func,
699
GPtrArray* g_ptr_array_new (void);
700
GPtrArray* g_ptr_array_new_with_free_func (GDestroyNotify element_free_func);
701
GPtrArray* g_ptr_array_sized_new (guint reserved_size);
702
gpointer* g_ptr_array_free (GPtrArray *array,
704
GPtrArray* g_ptr_array_ref (GPtrArray *array);
705
void g_ptr_array_unref (GPtrArray *array);
706
void g_ptr_array_set_free_func (GPtrArray *array,
707
GDestroyNotify element_free_func);
708
void g_ptr_array_set_size (GPtrArray *array,
710
gpointer g_ptr_array_remove_index (GPtrArray *array,
712
gpointer g_ptr_array_remove_index_fast (GPtrArray *array,
714
gboolean g_ptr_array_remove (GPtrArray *array,
716
gboolean g_ptr_array_remove_fast (GPtrArray *array,
718
void g_ptr_array_remove_range (GPtrArray *array,
721
void g_ptr_array_add (GPtrArray *array,
723
void g_ptr_array_sort (GPtrArray *array,
724
GCompareFunc compare_func);
725
void g_ptr_array_sort_with_data (GPtrArray *array,
726
GCompareDataFunc compare_func,
728
void g_ptr_array_foreach (GPtrArray *array,
737
GByteArray* g_byte_array_new (void);
738
GByteArray* g_byte_array_sized_new (guint reserved_size);
739
guint8* g_byte_array_free (GByteArray *array,
740
gboolean free_segment);
741
GByteArray *g_byte_array_ref (GByteArray *array);
742
void g_byte_array_unref (GByteArray *array);
743
GByteArray* g_byte_array_append (GByteArray *array,
746
GByteArray* g_byte_array_prepend (GByteArray *array,
749
GByteArray* g_byte_array_set_size (GByteArray *array,
751
GByteArray* g_byte_array_remove_index (GByteArray *array,
753
GByteArray* g_byte_array_remove_index_fast (GByteArray *array,
755
GByteArray* g_byte_array_remove_range (GByteArray *array,
758
void g_byte_array_sort (GByteArray *array,
759
GCompareFunc compare_func);
760
void g_byte_array_sort_with_data (GByteArray *array,
761
GCompareDataFunc compare_func,
765
# 34 "/usr/include/glib-2.0/glib.h" 2
766
# 1 "/usr/include/glib-2.0/glib/gasyncqueue.h" 1
767
# 34 "/usr/include/glib-2.0/glib/gasyncqueue.h"
768
# 1 "/usr/include/glib-2.0/glib/gthread.h" 1
769
# 34 "/usr/include/glib-2.0/glib/gthread.h"
770
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
771
# 28 "/usr/include/glib-2.0/glib/gerror.h"
772
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stdarg.h" 1 3 4
773
# 40 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stdarg.h" 3 4
774
typedef __builtin_va_list __gnuc_va_list;
775
# 102 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stdarg.h" 3 4
776
typedef __gnuc_va_list va_list;
777
# 29 "/usr/include/glib-2.0/glib/gerror.h" 2
779
# 1 "/usr/include/glib-2.0/glib/gquark.h" 1
780
# 34 "/usr/include/glib-2.0/glib/gquark.h"
781
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
782
# 35 "/usr/include/glib-2.0/glib/gquark.h" 2
786
typedef guint32 GQuark;
790
GQuark g_quark_try_string (const gchar *string);
791
GQuark g_quark_from_static_string (const gchar *string);
792
GQuark g_quark_from_string (const gchar *string);
793
const gchar* g_quark_to_string (GQuark quark) __attribute__((__const__));
795
const gchar* g_intern_string (const gchar *string);
796
const gchar* g_intern_static_string (const gchar *string);
799
# 31 "/usr/include/glib-2.0/glib/gerror.h" 2
803
typedef struct _GError GError;
812
GError* g_error_new (GQuark domain,
815
...) __attribute__((__format__ (__printf__, 3, 4)));
817
GError* g_error_new_literal (GQuark domain,
819
const gchar *message);
820
GError* g_error_new_valist (GQuark domain,
825
void g_error_free (GError *error);
826
GError* g_error_copy (const GError *error);
828
gboolean g_error_matches (const GError *error,
835
void g_set_error (GError **err,
839
...) __attribute__((__format__ (__printf__, 4, 5)));
841
void g_set_error_literal (GError **err,
844
const gchar *message);
848
void g_propagate_error (GError **dest,
852
void g_clear_error (GError **err);
855
void g_prefix_error (GError **err,
857
...) __attribute__((__format__ (__printf__, 2, 3)));
860
void g_propagate_prefixed_error (GError **dest,
863
...) __attribute__((__format__ (__printf__, 3, 4)));
866
# 35 "/usr/include/glib-2.0/glib/gthread.h" 2
867
# 1 "/usr/include/glib-2.0/glib/gutils.h" 1
868
# 34 "/usr/include/glib-2.0/glib/gutils.h"
869
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
870
# 35 "/usr/include/glib-2.0/glib/gutils.h" 2
874
# 120 "/usr/include/glib-2.0/glib/gutils.h"
875
const gchar* g_get_user_name (void);
876
const gchar* g_get_real_name (void);
877
const gchar* g_get_home_dir (void);
878
const gchar* g_get_tmp_dir (void);
879
const gchar* g_get_host_name (void);
880
gchar* g_get_prgname (void);
881
void g_set_prgname (const gchar *prgname);
882
const gchar* g_get_application_name (void);
883
void g_set_application_name (const gchar *application_name);
885
void g_reload_user_special_dirs_cache (void);
886
const gchar* g_get_user_data_dir (void);
887
const gchar* g_get_user_config_dir (void);
888
const gchar* g_get_user_cache_dir (void);
889
const gchar* const * g_get_system_data_dirs (void);
890
# 154 "/usr/include/glib-2.0/glib/gutils.h"
891
const gchar* const * g_get_system_config_dirs (void);
893
const gchar * g_get_user_runtime_dir (void);
895
const gchar* const * g_get_language_names (void);
897
gchar **g_get_locale_variants (const gchar *locale);
898
# 184 "/usr/include/glib-2.0/glib/gutils.h"
900
G_USER_DIRECTORY_DESKTOP,
901
G_USER_DIRECTORY_DOCUMENTS,
902
G_USER_DIRECTORY_DOWNLOAD,
903
G_USER_DIRECTORY_MUSIC,
904
G_USER_DIRECTORY_PICTURES,
905
G_USER_DIRECTORY_PUBLIC_SHARE,
906
G_USER_DIRECTORY_TEMPLATES,
907
G_USER_DIRECTORY_VIDEOS,
912
const gchar* g_get_user_special_dir (GUserDirectory directory);
914
typedef struct _GDebugKey GDebugKey;
923
guint g_parse_debug_string (const gchar *string,
924
const GDebugKey *keys,
927
gint g_snprintf (gchar *string,
930
...) __attribute__((__format__ (__printf__, 3, 4)));
931
gint g_vsnprintf (gchar *string,
937
gboolean g_path_is_absolute (const gchar *file_name);
940
const gchar* g_path_skip_root (const gchar *file_name);
948
const gchar* g_basename (const gchar *file_name);
949
# 243 "/usr/include/glib-2.0/glib/gutils.h"
950
gchar* g_get_current_dir (void);
951
gchar* g_path_get_basename (const gchar *file_name) __attribute__((__malloc__));
952
gchar* g_path_get_dirname (const gchar *file_name) __attribute__((__malloc__));
955
void g_nullify_pointer (gpointer *nullify_location);
956
# 259 "/usr/include/glib-2.0/glib/gutils.h"
957
const gchar* g_getenv (const gchar *variable);
958
gboolean g_setenv (const gchar *variable,
961
void g_unsetenv (const gchar *variable);
962
gchar** g_listenv (void);
963
gchar** g_get_environ (void);
966
const gchar* _g_getenv_nomalloc (const gchar *variable,
973
typedef void (*GVoidFunc) (void);
974
# 286 "/usr/include/glib-2.0/glib/gutils.h"
975
void g_atexit (GVoidFunc func);
976
# 302 "/usr/include/glib-2.0/glib/gutils.h"
977
gchar* g_find_program_in_path (const gchar *program);
981
static __inline __attribute__ ((unused)) gint g_bit_nth_lsf (gulong mask,
982
gint nth_bit) __attribute__((__const__));
983
static __inline __attribute__ ((unused)) gint g_bit_nth_msf (gulong mask,
984
gint nth_bit) __attribute__((__const__));
985
static __inline __attribute__ ((unused)) guint g_bit_storage (gulong number) __attribute__((__const__));
990
typedef struct _GTrashStack GTrashStack;
996
static __inline __attribute__ ((unused)) void g_trash_stack_push (GTrashStack **stack_p,
998
static __inline __attribute__ ((unused)) gpointer g_trash_stack_pop (GTrashStack **stack_p);
999
static __inline __attribute__ ((unused)) gpointer g_trash_stack_peek (GTrashStack **stack_p);
1000
static __inline __attribute__ ((unused)) guint g_trash_stack_height (GTrashStack **stack_p);
1005
static __inline __attribute__ ((unused)) gint
1006
g_bit_nth_lsf (gulong mask,
1009
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)))
1011
while (nth_bit < ((4 * 8) - 1))
1014
if (mask & (1UL << nth_bit))
1019
static __inline __attribute__ ((unused)) gint
1020
g_bit_nth_msf (gulong mask,
1023
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)))
1028
if (mask & (1UL << nth_bit))
1033
static __inline __attribute__ ((unused)) guint
1034
g_bit_storage (gulong number)
1037
return (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (number) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ?
1038
((4 * 8U - 1) ^ __builtin_clzl(number)) + 1 : 1;
1039
# 375 "/usr/include/glib-2.0/glib/gutils.h"
1041
static __inline __attribute__ ((unused)) void
1042
g_trash_stack_push (GTrashStack **stack_p,
1045
GTrashStack *data = (GTrashStack *) data_p;
1047
data->next = *stack_p;
1050
static __inline __attribute__ ((unused)) gpointer
1051
g_trash_stack_pop (GTrashStack **stack_p)
1058
*stack_p = data->next;
1062
data->next = ((void *)0);
1067
static __inline __attribute__ ((unused)) gpointer
1068
g_trash_stack_peek (GTrashStack **stack_p)
1076
static __inline __attribute__ ((unused)) guint
1077
g_trash_stack_height (GTrashStack **stack_p)
1082
for (data = *stack_p; data; data = data->next)
1093
extern const guint glib_major_version;
1094
extern const guint glib_minor_version;
1095
extern const guint glib_micro_version;
1096
extern const guint glib_interface_age;
1097
extern const guint glib_binary_age;
1099
const gchar * glib_check_version (guint required_major,
1100
guint required_minor,
1101
guint required_micro);
1110
# 36 "/usr/include/glib-2.0/glib/gthread.h" 2
1111
# 1 "/usr/include/glib-2.0/glib/gatomic.h" 1
1112
# 37 "/usr/include/glib-2.0/glib/gatomic.h"
1113
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
1114
# 38 "/usr/include/glib-2.0/glib/gatomic.h" 2
1118
gint g_atomic_int_exchange_and_add (volatile gint __attribute__((may_alias)) *atomic,
1120
void g_atomic_int_add (volatile gint __attribute__((may_alias)) *atomic,
1122
gboolean g_atomic_int_compare_and_exchange (volatile gint __attribute__((may_alias)) *atomic,
1125
gboolean g_atomic_pointer_compare_and_exchange (volatile gpointer __attribute__((may_alias)) *atomic,
1129
gint g_atomic_int_get (volatile gint __attribute__((may_alias)) *atomic);
1130
void g_atomic_int_set (volatile gint __attribute__((may_alias)) *atomic,
1132
gpointer g_atomic_pointer_get (volatile gpointer __attribute__((may_alias)) *atomic);
1133
void g_atomic_pointer_set (volatile gpointer __attribute__((may_alias)) *atomic,
1135
# 103 "/usr/include/glib-2.0/glib/gatomic.h"
1137
# 37 "/usr/include/glib-2.0/glib/gthread.h" 2
1144
extern GQuark g_thread_error_quark (void);
1149
G_THREAD_ERROR_AGAIN
1152
typedef gpointer (*GThreadFunc) (gpointer data);
1156
G_THREAD_PRIORITY_LOW,
1157
G_THREAD_PRIORITY_NORMAL,
1158
G_THREAD_PRIORITY_HIGH,
1159
G_THREAD_PRIORITY_URGENT
1162
typedef struct _GThread GThread;
1169
GThreadPriority priority;
1172
typedef struct _GMutex GMutex;
1173
typedef struct _GCond GCond;
1174
typedef struct _GPrivate GPrivate;
1175
typedef struct _GStaticPrivate GStaticPrivate;
1177
typedef struct _GThreadFunctions GThreadFunctions;
1178
struct _GThreadFunctions
1180
GMutex* (*mutex_new) (void);
1181
void (*mutex_lock) (GMutex *mutex);
1182
gboolean (*mutex_trylock) (GMutex *mutex);
1183
void (*mutex_unlock) (GMutex *mutex);
1184
void (*mutex_free) (GMutex *mutex);
1185
GCond* (*cond_new) (void);
1186
void (*cond_signal) (GCond *cond);
1187
void (*cond_broadcast) (GCond *cond);
1188
void (*cond_wait) (GCond *cond,
1190
gboolean (*cond_timed_wait) (GCond *cond,
1192
GTimeVal *end_time);
1193
void (*cond_free) (GCond *cond);
1194
GPrivate* (*private_new) (GDestroyNotify destructor);
1195
gpointer (*private_get) (GPrivate *private_key);
1196
void (*private_set) (GPrivate *private_key,
1198
void (*thread_create) (GThreadFunc func,
1203
GThreadPriority priority,
1206
void (*thread_yield) (void);
1207
void (*thread_join) (gpointer thread);
1208
void (*thread_exit) (void);
1209
void (*thread_set_priority)(gpointer thread,
1210
GThreadPriority priority);
1211
void (*thread_self) (gpointer thread);
1212
gboolean (*thread_equal) (gpointer thread1,
1216
extern GThreadFunctions g_thread_functions_for_glib_use;
1217
extern gboolean g_thread_use_default_impl;
1218
extern gboolean g_threads_got_initialized;
1220
extern guint64 (*g_thread_gettime) (void);
1226
void g_thread_init (GThreadFunctions *vtable);
1227
# 134 "/usr/include/glib-2.0/glib/gthread.h"
1228
void g_thread_init_with_errorcheck_mutexes (GThreadFunctions* vtable);
1233
gboolean g_thread_get_initialized (void);
1234
# 149 "/usr/include/glib-2.0/glib/gthread.h"
1235
GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex);
1236
# 224 "/usr/include/glib-2.0/glib/gthread.h"
1237
GThread* g_thread_create_full (GThreadFunc func,
1242
GThreadPriority priority,
1244
GThread* g_thread_self (void);
1245
void g_thread_exit (gpointer retval);
1246
gpointer g_thread_join (GThread *thread);
1248
void g_thread_set_priority (GThread *thread,
1249
GThreadPriority priority);
1250
# 249 "/usr/include/glib-2.0/glib/gthread.h"
1251
void g_static_mutex_init (GStaticMutex *mutex);
1252
void g_static_mutex_free (GStaticMutex *mutex);
1254
struct _GStaticPrivate
1260
void g_static_private_init (GStaticPrivate *private_key);
1261
gpointer g_static_private_get (GStaticPrivate *private_key);
1262
void g_static_private_set (GStaticPrivate *private_key,
1264
GDestroyNotify notify);
1265
void g_static_private_free (GStaticPrivate *private_key);
1267
typedef struct _GStaticRecMutex GStaticRecMutex;
1268
struct _GStaticRecMutex
1273
GSystemThread owner;
1277
void g_static_rec_mutex_init (GStaticRecMutex *mutex);
1278
void g_static_rec_mutex_lock (GStaticRecMutex *mutex);
1279
gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex);
1280
void g_static_rec_mutex_unlock (GStaticRecMutex *mutex);
1281
void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex,
1283
guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex);
1284
void g_static_rec_mutex_free (GStaticRecMutex *mutex);
1286
typedef struct _GStaticRWLock GStaticRWLock;
1287
struct _GStaticRWLock
1294
gboolean have_writer;
1296
guint want_to_write;
1301
void g_static_rw_lock_init (GStaticRWLock* lock);
1302
void g_static_rw_lock_reader_lock (GStaticRWLock* lock);
1303
gboolean g_static_rw_lock_reader_trylock (GStaticRWLock* lock);
1304
void g_static_rw_lock_reader_unlock (GStaticRWLock* lock);
1305
void g_static_rw_lock_writer_lock (GStaticRWLock* lock);
1306
gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock);
1307
void g_static_rw_lock_writer_unlock (GStaticRWLock* lock);
1308
void g_static_rw_lock_free (GStaticRWLock* lock);
1310
void g_thread_foreach (GFunc thread_func,
1311
gpointer user_data);
1315
G_ONCE_STATUS_NOTCALLED,
1316
G_ONCE_STATUS_PROGRESS,
1320
typedef struct _GOnce GOnce;
1323
volatile GOnceStatus status;
1324
volatile gpointer retval;
1329
gpointer g_once_impl (GOnce *once, GThreadFunc func, gpointer arg);
1330
# 339 "/usr/include/glib-2.0/glib/gthread.h"
1331
static __inline __attribute__ ((unused)) gboolean g_once_init_enter (volatile gsize *value_location);
1332
gboolean g_once_init_enter_impl (volatile gsize *value_location);
1333
void g_once_init_leave (volatile gsize *value_location,
1334
gsize initialization_value);
1336
static __inline __attribute__ ((unused)) gboolean
1337
g_once_init_enter (volatile gsize *value_location)
1339
if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if ((gpointer) ((void) sizeof (gchar [sizeof (*(value_location)) == sizeof (gpointer) ? 1 : -1]), (g_atomic_pointer_get) ((volatile gpointer __attribute__((may_alias)) *) (volatile void *) (value_location))) != ((void *)0)) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1))
1342
return g_once_init_enter_impl (value_location);
1344
# 363 "/usr/include/glib-2.0/glib/gthread.h"
1345
extern void glib_dummy_decl (void);
1346
# 405 "/usr/include/glib-2.0/glib/gthread.h"
1348
# 35 "/usr/include/glib-2.0/glib/gasyncqueue.h" 2
1352
typedef struct _GAsyncQueue GAsyncQueue;
1357
GAsyncQueue* g_async_queue_new (void);
1359
GAsyncQueue* g_async_queue_new_full (GDestroyNotify item_free_func);
1365
void g_async_queue_lock (GAsyncQueue *queue);
1366
void g_async_queue_unlock (GAsyncQueue *queue);
1369
GAsyncQueue* g_async_queue_ref (GAsyncQueue *queue);
1370
void g_async_queue_unref (GAsyncQueue *queue);
1374
void g_async_queue_ref_unlocked (GAsyncQueue *queue);
1375
void g_async_queue_unref_and_unlock (GAsyncQueue *queue);
1379
void g_async_queue_push (GAsyncQueue *queue,
1381
void g_async_queue_push_unlocked (GAsyncQueue *queue,
1384
void g_async_queue_push_sorted (GAsyncQueue *queue,
1386
GCompareDataFunc func,
1387
gpointer user_data);
1388
void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue,
1390
GCompareDataFunc func,
1391
gpointer user_data);
1396
gpointer g_async_queue_pop (GAsyncQueue *queue);
1397
gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue);
1400
gpointer g_async_queue_try_pop (GAsyncQueue *queue);
1401
gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue);
1408
gpointer g_async_queue_timed_pop (GAsyncQueue *queue,
1409
GTimeVal *end_time);
1410
gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue,
1411
GTimeVal *end_time);
1412
# 106 "/usr/include/glib-2.0/glib/gasyncqueue.h"
1413
gint g_async_queue_length (GAsyncQueue *queue);
1414
gint g_async_queue_length_unlocked (GAsyncQueue *queue);
1415
void g_async_queue_sort (GAsyncQueue *queue,
1416
GCompareDataFunc func,
1417
gpointer user_data);
1418
void g_async_queue_sort_unlocked (GAsyncQueue *queue,
1419
GCompareDataFunc func,
1420
gpointer user_data);
1423
GMutex* _g_async_queue_get_mutex (GAsyncQueue *queue);
1426
# 35 "/usr/include/glib-2.0/glib.h" 2
1427
# 1 "/usr/include/glib-2.0/glib/gatomic.h" 1
1428
# 36 "/usr/include/glib-2.0/glib.h" 2
1429
# 1 "/usr/include/glib-2.0/glib/gbacktrace.h" 1
1430
# 34 "/usr/include/glib-2.0/glib/gbacktrace.h"
1431
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
1432
# 35 "/usr/include/glib-2.0/glib/gbacktrace.h" 2
1433
# 1 "/usr/include/signal.h" 1 3 4
1434
# 31 "/usr/include/signal.h" 3 4
1437
# 1 "/usr/include/bits/sigset.h" 1 3 4
1438
# 24 "/usr/include/bits/sigset.h" 3 4
1439
typedef int __sig_atomic_t;
1446
unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1448
# 104 "/usr/include/bits/sigset.h" 3 4
1449
extern int __sigismember (__const __sigset_t *, int);
1450
extern int __sigaddset (__sigset_t *, int);
1451
extern int __sigdelset (__sigset_t *, int);
1452
# 118 "/usr/include/bits/sigset.h" 3 4
1453
extern __inline int __sigismember (__const __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return (__set->__val[__word] & __mask) ? 1 : 0; }
1454
extern __inline int __sigaddset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] |= __mask), 0); }
1455
extern __inline int __sigdelset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] &= ~__mask), 0); }
1456
# 34 "/usr/include/signal.h" 2 3 4
1464
typedef __sig_atomic_t sig_atomic_t;
1473
typedef __sigset_t sigset_t;
1481
# 1 "/usr/include/bits/signum.h" 1 3 4
1482
# 59 "/usr/include/signal.h" 2 3 4
1483
# 68 "/usr/include/signal.h" 3 4
1484
typedef __uid_t uid_t;
1485
# 79 "/usr/include/signal.h" 3 4
1486
# 1 "/usr/include/bits/siginfo.h" 1 3 4
1487
# 25 "/usr/include/bits/siginfo.h" 3 4
1488
# 1 "/usr/include/bits/wordsize.h" 1 3 4
1489
# 26 "/usr/include/bits/siginfo.h" 2 3 4
1497
typedef union sigval
1502
# 51 "/usr/include/bits/siginfo.h" 3 4
1503
typedef struct siginfo
1512
int _pad[((128 / sizeof (int)) - 3)];
1561
# 129 "/usr/include/bits/siginfo.h" 3 4
1689
# 273 "/usr/include/bits/siginfo.h" 3 4
1690
typedef struct sigevent
1692
sigval_t sigev_value;
1698
int _pad[((64 / sizeof (int)) - 3)];
1706
void (*_function) (sigval_t);
1729
# 80 "/usr/include/signal.h" 2 3 4
1734
typedef void (*__sighandler_t) (int);
1739
extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
1740
__attribute__ ((__nothrow__));
1742
extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler)
1743
__attribute__ ((__nothrow__));
1751
extern __sighandler_t signal (int __sig, __sighandler_t __handler)
1752
__attribute__ ((__nothrow__));
1753
# 113 "/usr/include/signal.h" 3 4
1759
extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler)
1760
__attribute__ ((__nothrow__));
1767
extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__));
1774
extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__));
1779
extern int raise (int __sig) __attribute__ ((__nothrow__));
1784
extern __sighandler_t ssignal (int __sig, __sighandler_t __handler)
1785
__attribute__ ((__nothrow__));
1786
extern int gsignal (int __sig) __attribute__ ((__nothrow__));
1791
extern void psignal (int __sig, __const char *__s);
1796
extern void psiginfo (__const siginfo_t *__pinfo, __const char *__s);
1797
# 168 "/usr/include/signal.h" 3 4
1798
extern int __sigpause (int __sig_or_mask, int __is_sig);
1799
# 177 "/usr/include/signal.h" 3 4
1800
extern int sigpause (int __sig) __asm__ ("__xpg_sigpause");
1801
# 196 "/usr/include/signal.h" 3 4
1802
extern int sigblock (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
1805
extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
1808
extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
1809
# 211 "/usr/include/signal.h" 3 4
1810
typedef __sighandler_t sighandler_t;
1815
typedef __sighandler_t sig_t;
1821
extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1824
extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1827
extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1830
extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1833
extern int sigismember (__const sigset_t *__set, int __signo)
1834
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1838
extern int sigisemptyset (__const sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1841
extern int sigandset (sigset_t *__set, __const sigset_t *__left,
1842
__const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
1845
extern int sigorset (sigset_t *__set, __const sigset_t *__left,
1846
__const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
1851
# 1 "/usr/include/bits/sigaction.h" 1 3 4
1852
# 25 "/usr/include/bits/sigaction.h" 3 4
1860
__sighandler_t sa_handler;
1862
void (*sa_sigaction) (int, siginfo_t *, void *);
1864
__sigaction_handler;
1878
void (*sa_restorer) (void);
1880
# 253 "/usr/include/signal.h" 2 3 4
1883
extern int sigprocmask (int __how, __const sigset_t *__restrict __set,
1884
sigset_t *__restrict __oset) __attribute__ ((__nothrow__));
1891
extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1)));
1894
extern int sigaction (int __sig, __const struct sigaction *__restrict __act,
1895
struct sigaction *__restrict __oact) __attribute__ ((__nothrow__));
1898
extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1905
extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig)
1906
__attribute__ ((__nonnull__ (1, 2)));
1913
extern int sigwaitinfo (__const sigset_t *__restrict __set,
1914
siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1)));
1921
extern int sigtimedwait (__const sigset_t *__restrict __set,
1922
siginfo_t *__restrict __info,
1923
__const struct timespec *__restrict __timeout)
1924
__attribute__ ((__nonnull__ (1)));
1928
extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val)
1929
__attribute__ ((__nothrow__));
1930
# 310 "/usr/include/signal.h" 3 4
1931
extern __const char *__const _sys_siglist[65];
1932
extern __const char *__const sys_siglist[65];
1937
__sighandler_t sv_handler;
1943
# 334 "/usr/include/signal.h" 3 4
1944
extern int sigvec (int __sig, __const struct sigvec *__vec,
1945
struct sigvec *__ovec) __attribute__ ((__nothrow__));
1949
# 1 "/usr/include/bits/sigcontext.h" 1 3 4
1950
# 26 "/usr/include/bits/sigcontext.h" 3 4
1951
# 1 "/usr/include/bits/wordsize.h" 1 3 4
1952
# 27 "/usr/include/bits/sigcontext.h" 2 3 4
1956
unsigned short significand[4];
1957
unsigned short exponent;
1962
unsigned short significand[4];
1963
unsigned short exponent;
1964
unsigned short padding[3];
1969
__uint32_t element[4];
1986
struct _fpreg _st[8];
1987
unsigned short status;
1988
unsigned short magic;
1991
__uint32_t _fxsr_env[6];
1993
__uint32_t reserved;
1994
struct _fpxreg _fxsr_st[8];
1995
struct _xmmreg _xmm[8];
1996
__uint32_t padding[56];
1998
# 81 "/usr/include/bits/sigcontext.h" 3 4
2001
unsigned short gs, __gsh;
2002
unsigned short fs, __fsh;
2003
unsigned short es, __esh;
2004
unsigned short ds, __dsh;
2013
unsigned long trapno;
2016
unsigned short cs, __csh;
2017
unsigned long eflags;
2018
unsigned long esp_at_signal;
2019
unsigned short ss, __ssh;
2020
struct _fpstate * fpstate;
2021
unsigned long oldmask;
2024
# 340 "/usr/include/signal.h" 2 3 4
2027
extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__));
2034
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
2035
# 350 "/usr/include/signal.h" 2 3 4
2040
extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__));
2042
# 1 "/usr/include/bits/sigstack.h" 1 3 4
2043
# 26 "/usr/include/bits/sigstack.h" 3 4
2059
# 50 "/usr/include/bits/sigstack.h" 3 4
2060
typedef struct sigaltstack
2066
# 357 "/usr/include/signal.h" 2 3 4
2069
# 1 "/usr/include/sys/ucontext.h" 1 3 4
2070
# 23 "/usr/include/sys/ucontext.h" 3 4
2071
# 1 "/usr/include/signal.h" 1 3 4
2072
# 24 "/usr/include/sys/ucontext.h" 2 3 4
2073
# 1 "/usr/include/bits/wordsize.h" 1 3 4
2074
# 25 "/usr/include/sys/ucontext.h" 2 3 4
2075
# 148 "/usr/include/sys/ucontext.h" 3 4
2082
typedef greg_t gregset_t[19];
2132
unsigned short int significand[4];
2133
unsigned short int exponent;
2136
struct _libc_fpstate
2138
unsigned long int cw;
2139
unsigned long int sw;
2140
unsigned long int tag;
2141
unsigned long int ipoff;
2142
unsigned long int cssel;
2143
unsigned long int dataoff;
2144
unsigned long int datasel;
2145
struct _libc_fpreg _st[8];
2146
unsigned long int status;
2150
typedef struct _libc_fpstate *fpregset_t;
2159
unsigned long int oldmask;
2160
unsigned long int cr2;
2164
typedef struct ucontext
2166
unsigned long int uc_flags;
2167
struct ucontext *uc_link;
2169
mcontext_t uc_mcontext;
2170
__sigset_t uc_sigmask;
2171
struct _libc_fpstate __fpregs_mem;
2173
# 360 "/usr/include/signal.h" 2 3 4
2179
extern int sigstack (struct sigstack *__ss, struct sigstack *__oss)
2180
__attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
2184
extern int sigaltstack (__const struct sigaltstack *__restrict __ss,
2185
struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__));
2193
extern int sighold (int __sig) __attribute__ ((__nothrow__));
2196
extern int sigrelse (int __sig) __attribute__ ((__nothrow__));
2199
extern int sigignore (int __sig) __attribute__ ((__nothrow__));
2202
extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__));
2208
# 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
2209
# 23 "/usr/include/bits/pthreadtypes.h" 3 4
2210
# 1 "/usr/include/bits/wordsize.h" 1 3 4
2211
# 24 "/usr/include/bits/pthreadtypes.h" 2 3 4
2212
# 50 "/usr/include/bits/pthreadtypes.h" 3 4
2213
typedef unsigned long int pthread_t;
2221
# 67 "/usr/include/bits/pthreadtypes.h" 3 4
2222
typedef struct __pthread_internal_slist
2224
struct __pthread_internal_slist *__next;
2225
} __pthread_slist_t;
2233
struct __pthread_mutex_s
2236
unsigned int __count;
2249
unsigned int __nusers;
2253
__pthread_slist_t __list;
2265
} pthread_mutexattr_t;
2275
unsigned int __futex;
2276
__extension__ unsigned long long int __total_seq;
2277
__extension__ unsigned long long int __wakeup_seq;
2278
__extension__ unsigned long long int __woken_seq;
2280
unsigned int __nwaiters;
2281
unsigned int __broadcast_seq;
2284
__extension__ long long int __align;
2291
} pthread_condattr_t;
2295
typedef unsigned int pthread_key_t;
2299
typedef int pthread_once_t;
2307
# 170 "/usr/include/bits/pthreadtypes.h" 3 4
2311
unsigned int __nr_readers;
2312
unsigned int __readers_wakeup;
2313
unsigned int __writer_wakeup;
2314
unsigned int __nr_readers_queued;
2315
unsigned int __nr_writers_queued;
2318
unsigned char __flags;
2319
unsigned char __shared;
2320
unsigned char __pad1;
2321
unsigned char __pad2;
2333
} pthread_rwlockattr_t;
2339
typedef volatile int pthread_spinlock_t;
2348
} pthread_barrier_t;
2354
} pthread_barrierattr_t;
2355
# 395 "/usr/include/signal.h" 2 3 4
2356
# 1 "/usr/include/bits/sigthread.h" 1 3 4
2357
# 31 "/usr/include/bits/sigthread.h" 3 4
2358
extern int pthread_sigmask (int __how,
2359
__const __sigset_t *__restrict __newmask,
2360
__sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__));
2363
extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__));
2367
extern int pthread_sigqueue (pthread_t __threadid, int __signo,
2368
const union sigval __value) __attribute__ ((__nothrow__));
2369
# 396 "/usr/include/signal.h" 2 3 4
2376
extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__));
2378
extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__));
2383
# 36 "/usr/include/glib-2.0/glib/gbacktrace.h" 2
2386
# 48 "/usr/include/glib-2.0/glib/gbacktrace.h"
2387
void g_on_error_query (const gchar *prg_name);
2388
void g_on_error_stack_trace (const gchar *prg_name);
2389
# 66 "/usr/include/glib-2.0/glib/gbacktrace.h"
2391
# 37 "/usr/include/glib-2.0/glib.h" 2
2392
# 1 "/usr/include/glib-2.0/glib/gbase64.h" 1
2393
# 28 "/usr/include/glib-2.0/glib/gbase64.h"
2394
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
2395
# 29 "/usr/include/glib-2.0/glib/gbase64.h" 2
2399
gsize g_base64_encode_step (const guchar *in,
2401
gboolean break_lines,
2405
gsize g_base64_encode_close (gboolean break_lines,
2409
gchar* g_base64_encode (const guchar *data,
2410
gsize len) __attribute__((__malloc__));
2411
gsize g_base64_decode_step (const gchar *in,
2416
guchar *g_base64_decode (const gchar *text,
2417
gsize *out_len) __attribute__((__malloc__));
2418
guchar *g_base64_decode_inplace (gchar *text,
2423
# 38 "/usr/include/glib-2.0/glib.h" 2
2424
# 1 "/usr/include/glib-2.0/glib/gbitlock.h" 1
2425
# 26 "/usr/include/glib-2.0/glib/gbitlock.h"
2426
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
2427
# 27 "/usr/include/glib-2.0/glib/gbitlock.h" 2
2435
void g_bit_lock (volatile gint *address,
2437
gboolean g_bit_trylock (volatile gint *address,
2439
void g_bit_unlock (volatile gint *address,
2443
# 39 "/usr/include/glib-2.0/glib.h" 2
2444
# 1 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 1
2445
# 27 "/usr/include/glib-2.0/glib/gbookmarkfile.h"
2446
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
2447
# 28 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 2
2451
# 57 "/usr/include/glib-2.0/glib/gbookmarkfile.h"
2454
G_BOOKMARK_FILE_ERROR_INVALID_URI,
2455
G_BOOKMARK_FILE_ERROR_INVALID_VALUE,
2456
G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED,
2457
G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND,
2458
G_BOOKMARK_FILE_ERROR_READ,
2459
G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING,
2460
G_BOOKMARK_FILE_ERROR_WRITE,
2461
G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND
2462
} GBookmarkFileError;
2464
GQuark g_bookmark_file_error_quark (void);
2472
typedef struct _GBookmarkFile GBookmarkFile;
2474
GBookmarkFile *g_bookmark_file_new (void);
2475
void g_bookmark_file_free (GBookmarkFile *bookmark);
2477
gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark,
2478
const gchar *filename,
2480
gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark,
2484
gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark,
2488
gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark,
2490
GError **error) __attribute__((__malloc__));
2491
gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark,
2492
const gchar *filename,
2495
void g_bookmark_file_set_title (GBookmarkFile *bookmark,
2497
const gchar *title);
2498
gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark,
2500
GError **error) __attribute__((__malloc__));
2501
void g_bookmark_file_set_description (GBookmarkFile *bookmark,
2503
const gchar *description);
2504
gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark,
2506
GError **error) __attribute__((__malloc__));
2507
void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark,
2509
const gchar *mime_type);
2510
gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark,
2512
GError **error) __attribute__((__malloc__));
2513
void g_bookmark_file_set_groups (GBookmarkFile *bookmark,
2515
const gchar **groups,
2517
void g_bookmark_file_add_group (GBookmarkFile *bookmark,
2519
const gchar *group);
2520
gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark,
2524
gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark,
2527
GError **error) __attribute__((__malloc__));
2528
void g_bookmark_file_add_application (GBookmarkFile *bookmark,
2532
gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark,
2536
gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark,
2539
GError **error) __attribute__((__malloc__));
2540
gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark,
2547
gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark,
2554
void g_bookmark_file_set_is_private (GBookmarkFile *bookmark,
2556
gboolean is_private);
2557
gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark,
2560
void g_bookmark_file_set_icon (GBookmarkFile *bookmark,
2563
const gchar *mime_type);
2564
gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark,
2569
void g_bookmark_file_set_added (GBookmarkFile *bookmark,
2572
time_t g_bookmark_file_get_added (GBookmarkFile *bookmark,
2575
void g_bookmark_file_set_modified (GBookmarkFile *bookmark,
2578
time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark,
2581
void g_bookmark_file_set_visited (GBookmarkFile *bookmark,
2584
time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark,
2587
gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark,
2589
gint g_bookmark_file_get_size (GBookmarkFile *bookmark);
2590
gchar ** g_bookmark_file_get_uris (GBookmarkFile *bookmark,
2591
gsize *length) __attribute__((__malloc__));
2592
gboolean g_bookmark_file_remove_group (GBookmarkFile *bookmark,
2596
gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark,
2600
gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark,
2603
gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark,
2604
const gchar *old_uri,
2605
const gchar *new_uri,
2609
# 40 "/usr/include/glib-2.0/glib.h" 2
2610
# 1 "/usr/include/glib-2.0/glib/gcache.h" 1
2611
# 34 "/usr/include/glib-2.0/glib/gcache.h"
2612
# 1 "/usr/include/glib-2.0/glib/glist.h" 1
2613
# 34 "/usr/include/glib-2.0/glib/glist.h"
2614
# 1 "/usr/include/glib-2.0/glib/gmem.h" 1
2615
# 34 "/usr/include/glib-2.0/glib/gmem.h"
2616
# 1 "/usr/include/glib-2.0/glib/gslice.h" 1
2617
# 27 "/usr/include/glib-2.0/glib/gslice.h"
2618
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
2619
# 28 "/usr/include/glib-2.0/glib/gslice.h" 2
2625
gpointer g_slice_alloc (gsize block_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2626
gpointer g_slice_alloc0 (gsize block_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2627
gpointer g_slice_copy (gsize block_size,
2628
gconstpointer mem_block) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2629
void g_slice_free1 (gsize block_size,
2630
gpointer mem_block);
2631
void g_slice_free_chain_with_offset (gsize block_size,
2634
# 72 "/usr/include/glib-2.0/glib/gslice.h"
2636
G_SLICE_CONFIG_ALWAYS_MALLOC = 1,
2637
G_SLICE_CONFIG_BYPASS_MAGAZINES,
2638
G_SLICE_CONFIG_WORKING_SET_MSECS,
2639
G_SLICE_CONFIG_COLOR_INCREMENT,
2640
G_SLICE_CONFIG_CHUNK_SIZES,
2641
G_SLICE_CONFIG_CONTENTION_COUNTER
2643
void g_slice_set_config (GSliceConfig ckey, gint64 value);
2644
gint64 g_slice_get_config (GSliceConfig ckey);
2645
gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values);
2648
# 35 "/usr/include/glib-2.0/glib/gmem.h" 2
2649
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
2650
# 36 "/usr/include/glib-2.0/glib/gmem.h" 2
2653
# 52 "/usr/include/glib-2.0/glib/gmem.h"
2654
typedef struct _GMemVTable GMemVTable;
2655
# 71 "/usr/include/glib-2.0/glib/gmem.h"
2656
void g_free (gpointer mem);
2658
gpointer g_malloc (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2659
gpointer g_malloc0 (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2660
gpointer g_realloc (gpointer mem,
2661
gsize n_bytes) __attribute__((warn_unused_result));
2662
gpointer g_try_malloc (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2663
gpointer g_try_malloc0 (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2664
gpointer g_try_realloc (gpointer mem,
2665
gsize n_bytes) __attribute__((warn_unused_result));
2667
gpointer g_malloc_n (gsize n_blocks,
2668
gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
2669
gpointer g_malloc0_n (gsize n_blocks,
2670
gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
2671
gpointer g_realloc_n (gpointer mem,
2673
gsize n_block_bytes) __attribute__((warn_unused_result));
2674
gpointer g_try_malloc_n (gsize n_blocks,
2675
gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
2676
gpointer g_try_malloc0_n (gsize n_blocks,
2677
gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
2678
gpointer g_try_realloc_n (gpointer mem,
2680
gsize n_block_bytes) __attribute__((warn_unused_result));
2681
# 241 "/usr/include/glib-2.0/glib/gmem.h"
2682
struct _GMemVTable {
2683
gpointer (*malloc) (gsize n_bytes);
2684
gpointer (*realloc) (gpointer mem,
2686
void (*free) (gpointer mem);
2688
gpointer (*calloc) (gsize n_blocks,
2689
gsize n_block_bytes);
2690
gpointer (*try_malloc) (gsize n_bytes);
2691
gpointer (*try_realloc) (gpointer mem,
2694
void g_mem_set_vtable (GMemVTable *vtable);
2695
gboolean g_mem_is_system_malloc (void);
2697
extern gboolean g_mem_gc_friendly;
2701
extern GMemVTable *glib_mem_profiler_table;
2702
void g_mem_profile (void);
2707
typedef struct _GAllocator GAllocator;
2708
typedef struct _GMemChunk GMemChunk;
2709
# 285 "/usr/include/glib-2.0/glib/gmem.h"
2710
GMemChunk* g_mem_chunk_new (const gchar *name,
2714
void g_mem_chunk_destroy (GMemChunk *mem_chunk);
2715
gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk);
2716
gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk);
2717
void g_mem_chunk_free (GMemChunk *mem_chunk,
2719
void g_mem_chunk_clean (GMemChunk *mem_chunk);
2720
void g_mem_chunk_reset (GMemChunk *mem_chunk);
2721
void g_mem_chunk_print (GMemChunk *mem_chunk);
2722
void g_mem_chunk_info (void);
2723
void g_blow_chunks (void);
2724
GAllocator*g_allocator_new (const gchar *name,
2726
void g_allocator_free (GAllocator *allocator);
2733
# 35 "/usr/include/glib-2.0/glib/glist.h" 2
2737
typedef struct _GList GList;
2748
GList* g_list_alloc (void) __attribute__((warn_unused_result));
2749
void g_list_free (GList *list);
2750
void g_list_free_1 (GList *list);
2752
void g_list_free_full (GList *list,
2753
GDestroyNotify free_func);
2754
GList* g_list_append (GList *list,
2755
gpointer data) __attribute__((warn_unused_result));
2756
GList* g_list_prepend (GList *list,
2757
gpointer data) __attribute__((warn_unused_result));
2758
GList* g_list_insert (GList *list,
2760
gint position) __attribute__((warn_unused_result));
2761
GList* g_list_insert_sorted (GList *list,
2763
GCompareFunc func) __attribute__((warn_unused_result));
2764
GList* g_list_insert_sorted_with_data (GList *list,
2766
GCompareDataFunc func,
2767
gpointer user_data) __attribute__((warn_unused_result));
2768
GList* g_list_insert_before (GList *list,
2770
gpointer data) __attribute__((warn_unused_result));
2771
GList* g_list_concat (GList *list1,
2772
GList *list2) __attribute__((warn_unused_result));
2773
GList* g_list_remove (GList *list,
2774
gconstpointer data) __attribute__((warn_unused_result));
2775
GList* g_list_remove_all (GList *list,
2776
gconstpointer data) __attribute__((warn_unused_result));
2777
GList* g_list_remove_link (GList *list,
2778
GList *llink) __attribute__((warn_unused_result));
2779
GList* g_list_delete_link (GList *list,
2780
GList *link_) __attribute__((warn_unused_result));
2781
GList* g_list_reverse (GList *list) __attribute__((warn_unused_result));
2782
GList* g_list_copy (GList *list) __attribute__((warn_unused_result));
2783
GList* g_list_nth (GList *list,
2785
GList* g_list_nth_prev (GList *list,
2787
GList* g_list_find (GList *list,
2788
gconstpointer data);
2789
GList* g_list_find_custom (GList *list,
2792
gint g_list_position (GList *list,
2794
gint g_list_index (GList *list,
2795
gconstpointer data);
2796
GList* g_list_last (GList *list);
2797
GList* g_list_first (GList *list);
2798
guint g_list_length (GList *list);
2799
void g_list_foreach (GList *list,
2801
gpointer user_data);
2802
GList* g_list_sort (GList *list,
2803
GCompareFunc compare_func) __attribute__((warn_unused_result));
2804
GList* g_list_sort_with_data (GList *list,
2805
GCompareDataFunc compare_func,
2806
gpointer user_data) __attribute__((warn_unused_result));
2807
gpointer g_list_nth_data (GList *list,
2815
void g_list_push_allocator (gpointer allocator);
2816
void g_list_pop_allocator (void);
2820
# 35 "/usr/include/glib-2.0/glib/gcache.h" 2
2824
typedef struct _GCache GCache;
2826
typedef gpointer (*GCacheNewFunc) (gpointer key);
2827
typedef gpointer (*GCacheDupFunc) (gpointer value);
2828
typedef void (*GCacheDestroyFunc) (gpointer value);
2832
GCache* g_cache_new (GCacheNewFunc value_new_func,
2833
GCacheDestroyFunc value_destroy_func,
2834
GCacheDupFunc key_dup_func,
2835
GCacheDestroyFunc key_destroy_func,
2836
GHashFunc hash_key_func,
2837
GHashFunc hash_value_func,
2838
GEqualFunc key_equal_func);
2839
void g_cache_destroy (GCache *cache);
2840
gpointer g_cache_insert (GCache *cache,
2842
void g_cache_remove (GCache *cache,
2843
gconstpointer value);
2844
void g_cache_key_foreach (GCache *cache,
2846
gpointer user_data);
2848
void g_cache_value_foreach (GCache *cache,
2850
gpointer user_data);
2854
# 41 "/usr/include/glib-2.0/glib.h" 2
2855
# 1 "/usr/include/glib-2.0/glib/gchecksum.h" 1
2856
# 28 "/usr/include/glib-2.0/glib/gchecksum.h"
2857
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
2858
# 29 "/usr/include/glib-2.0/glib/gchecksum.h" 2
2861
# 46 "/usr/include/glib-2.0/glib/gchecksum.h"
2867
# 61 "/usr/include/glib-2.0/glib/gchecksum.h"
2868
typedef struct _GChecksum GChecksum;
2870
gssize g_checksum_type_get_length (GChecksumType checksum_type);
2872
GChecksum * g_checksum_new (GChecksumType checksum_type);
2873
void g_checksum_reset (GChecksum *checksum);
2874
GChecksum * g_checksum_copy (const GChecksum *checksum);
2875
void g_checksum_free (GChecksum *checksum);
2876
void g_checksum_update (GChecksum *checksum,
2879
const gchar *g_checksum_get_string (GChecksum *checksum);
2880
void g_checksum_get_digest (GChecksum *checksum,
2884
gchar *g_compute_checksum_for_data (GChecksumType checksum_type,
2887
gchar *g_compute_checksum_for_string (GChecksumType checksum_type,
2892
# 42 "/usr/include/glib-2.0/glib.h" 2
2893
# 1 "/usr/include/glib-2.0/glib/gcompletion.h" 1
2894
# 34 "/usr/include/glib-2.0/glib/gcompletion.h"
2895
# 1 "/usr/include/glib-2.0/glib/glist.h" 1
2896
# 35 "/usr/include/glib-2.0/glib/gcompletion.h" 2
2900
typedef struct _GCompletion GCompletion;
2902
typedef gchar* (*GCompletionFunc) (gpointer);
2907
typedef gint (*GCompletionStrncmpFunc) (const gchar *s1,
2914
GCompletionFunc func;
2918
GCompletionStrncmpFunc strncmp_func;
2923
GCompletion* g_completion_new (GCompletionFunc func);
2924
void g_completion_add_items (GCompletion* cmp,
2926
void g_completion_remove_items (GCompletion* cmp,
2928
void g_completion_clear_items (GCompletion* cmp);
2929
GList* g_completion_complete (GCompletion* cmp,
2930
const gchar* prefix,
2931
gchar** new_prefix);
2932
GList* g_completion_complete_utf8 (GCompletion *cmp,
2933
const gchar* prefix,
2934
gchar** new_prefix);
2935
void g_completion_set_compare (GCompletion *cmp,
2936
GCompletionStrncmpFunc strncmp_func);
2937
void g_completion_free (GCompletion* cmp);
2942
# 43 "/usr/include/glib-2.0/glib.h" 2
2943
# 1 "/usr/include/glib-2.0/glib/gconvert.h" 1
2944
# 34 "/usr/include/glib-2.0/glib/gconvert.h"
2945
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
2946
# 35 "/usr/include/glib-2.0/glib/gconvert.h" 2
2949
# 50 "/usr/include/glib-2.0/glib/gconvert.h"
2952
G_CONVERT_ERROR_NO_CONVERSION,
2953
G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
2954
G_CONVERT_ERROR_FAILED,
2955
G_CONVERT_ERROR_PARTIAL_INPUT,
2956
G_CONVERT_ERROR_BAD_URI,
2957
G_CONVERT_ERROR_NOT_ABSOLUTE_PATH
2959
# 68 "/usr/include/glib-2.0/glib/gconvert.h"
2960
GQuark g_convert_error_quark (void);
2961
# 77 "/usr/include/glib-2.0/glib/gconvert.h"
2962
typedef struct _GIConv *GIConv;
2964
GIConv g_iconv_open (const gchar *to_codeset,
2965
const gchar *from_codeset);
2966
gsize g_iconv (GIConv converter,
2968
gsize *inbytes_left,
2970
gsize *outbytes_left);
2971
gint g_iconv_close (GIConv converter);
2974
gchar* g_convert (const gchar *str,
2976
const gchar *to_codeset,
2977
const gchar *from_codeset,
2979
gsize *bytes_written,
2980
GError **error) __attribute__((__malloc__));
2981
gchar* g_convert_with_iconv (const gchar *str,
2985
gsize *bytes_written,
2986
GError **error) __attribute__((__malloc__));
2987
gchar* g_convert_with_fallback (const gchar *str,
2989
const gchar *to_codeset,
2990
const gchar *from_codeset,
2991
const gchar *fallback,
2993
gsize *bytes_written,
2994
GError **error) __attribute__((__malloc__));
2999
gchar* g_locale_to_utf8 (const gchar *opsysstring,
3002
gsize *bytes_written,
3003
GError **error) __attribute__((__malloc__));
3004
gchar* g_locale_from_utf8 (const gchar *utf8string,
3007
gsize *bytes_written,
3008
GError **error) __attribute__((__malloc__));
3009
# 135 "/usr/include/glib-2.0/glib/gconvert.h"
3010
gchar* g_filename_to_utf8 (const gchar *opsysstring,
3013
gsize *bytes_written,
3014
GError **error) __attribute__((__malloc__));
3015
gchar* g_filename_from_utf8 (const gchar *utf8string,
3018
gsize *bytes_written,
3019
GError **error) __attribute__((__malloc__));
3021
gchar *g_filename_from_uri (const gchar *uri,
3023
GError **error) __attribute__((__malloc__));
3025
gchar *g_filename_to_uri (const gchar *filename,
3026
const gchar *hostname,
3027
GError **error) __attribute__((__malloc__));
3028
gchar *g_filename_display_name (const gchar *filename) __attribute__((__malloc__));
3029
gboolean g_get_filename_charsets (const gchar ***charsets);
3031
gchar *g_filename_display_basename (const gchar *filename) __attribute__((__malloc__));
3033
gchar **g_uri_list_extract_uris (const gchar *uri_list) __attribute__((__malloc__));
3036
# 44 "/usr/include/glib-2.0/glib.h" 2
3037
# 1 "/usr/include/glib-2.0/glib/gdataset.h" 1
3038
# 34 "/usr/include/glib-2.0/glib/gdataset.h"
3039
# 1 "/usr/include/glib-2.0/glib/gquark.h" 1
3040
# 35 "/usr/include/glib-2.0/glib/gdataset.h" 2
3044
typedef struct _GData GData;
3046
typedef void (*GDataForeachFunc) (GQuark key_id,
3048
gpointer user_data);
3052
void g_datalist_init (GData **datalist);
3053
void g_datalist_clear (GData **datalist);
3054
gpointer g_datalist_id_get_data (GData **datalist,
3056
void g_datalist_id_set_data_full (GData **datalist,
3059
GDestroyNotify destroy_func);
3060
gpointer g_datalist_id_remove_no_notify (GData **datalist,
3062
void g_datalist_foreach (GData **datalist,
3063
GDataForeachFunc func,
3064
gpointer user_data);
3065
# 69 "/usr/include/glib-2.0/glib/gdataset.h"
3066
void g_datalist_set_flags (GData **datalist,
3068
void g_datalist_unset_flags (GData **datalist,
3070
guint g_datalist_get_flags (GData **datalist);
3071
# 93 "/usr/include/glib-2.0/glib/gdataset.h"
3072
void g_dataset_destroy (gconstpointer dataset_location);
3073
gpointer g_dataset_id_get_data (gconstpointer dataset_location,
3075
void g_dataset_id_set_data_full (gconstpointer dataset_location,
3078
GDestroyNotify destroy_func);
3079
gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location,
3081
void g_dataset_foreach (gconstpointer dataset_location,
3082
GDataForeachFunc func,
3083
gpointer user_data);
3084
# 120 "/usr/include/glib-2.0/glib/gdataset.h"
3086
# 45 "/usr/include/glib-2.0/glib.h" 2
3087
# 1 "/usr/include/glib-2.0/glib/gdate.h" 1
3088
# 36 "/usr/include/glib-2.0/glib/gdate.h"
3089
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
3090
# 37 "/usr/include/glib-2.0/glib/gdate.h" 2
3091
# 1 "/usr/include/glib-2.0/glib/gquark.h" 1
3092
# 38 "/usr/include/glib-2.0/glib/gdate.h" 2
3095
# 50 "/usr/include/glib-2.0/glib/gdate.h"
3096
typedef gint32 GTime;
3097
typedef guint16 GDateYear;
3098
typedef guint8 GDateDay;
3099
typedef struct _GDate GDate;
3112
G_DATE_BAD_WEEKDAY = 0,
3115
G_DATE_WEDNESDAY = 3,
3116
G_DATE_THURSDAY = 4,
3118
G_DATE_SATURDAY = 6,
3123
G_DATE_BAD_MONTH = 0,
3125
G_DATE_FEBRUARY = 2,
3132
G_DATE_SEPTEMBER = 9,
3133
G_DATE_OCTOBER = 10,
3134
G_DATE_NOVEMBER = 11,
3135
G_DATE_DECEMBER = 12
3137
# 101 "/usr/include/glib-2.0/glib/gdate.h"
3140
guint julian_days : 32;
3159
GDate* g_date_new (void);
3160
GDate* g_date_new_dmy (GDateDay day,
3163
GDate* g_date_new_julian (guint32 julian_day);
3164
void g_date_free (GDate *date);
3171
gboolean g_date_valid (const GDate *date);
3172
gboolean g_date_valid_day (GDateDay day) __attribute__((__const__));
3173
gboolean g_date_valid_month (GDateMonth month) __attribute__((__const__));
3174
gboolean g_date_valid_year (GDateYear year) __attribute__((__const__));
3175
gboolean g_date_valid_weekday (GDateWeekday weekday) __attribute__((__const__));
3176
gboolean g_date_valid_julian (guint32 julian_date) __attribute__((__const__));
3177
gboolean g_date_valid_dmy (GDateDay day,
3179
GDateYear year) __attribute__((__const__));
3181
GDateWeekday g_date_get_weekday (const GDate *date);
3182
GDateMonth g_date_get_month (const GDate *date);
3183
GDateYear g_date_get_year (const GDate *date);
3184
GDateDay g_date_get_day (const GDate *date);
3185
guint32 g_date_get_julian (const GDate *date);
3186
guint g_date_get_day_of_year (const GDate *date);
3193
guint g_date_get_monday_week_of_year (const GDate *date);
3194
guint g_date_get_sunday_week_of_year (const GDate *date);
3195
guint g_date_get_iso8601_week_of_year (const GDate *date);
3201
void g_date_clear (GDate *date,
3208
void g_date_set_parse (GDate *date,
3210
void g_date_set_time_t (GDate *date,
3212
void g_date_set_time_val (GDate *date,
3215
void g_date_set_time (GDate *date,
3218
void g_date_set_month (GDate *date,
3220
void g_date_set_day (GDate *date,
3222
void g_date_set_year (GDate *date,
3224
void g_date_set_dmy (GDate *date,
3228
void g_date_set_julian (GDate *date,
3229
guint32 julian_date);
3230
gboolean g_date_is_first_of_month (const GDate *date);
3231
gboolean g_date_is_last_of_month (const GDate *date);
3234
void g_date_add_days (GDate *date,
3236
void g_date_subtract_days (GDate *date,
3240
void g_date_add_months (GDate *date,
3242
void g_date_subtract_months (GDate *date,
3246
void g_date_add_years (GDate *date,
3248
void g_date_subtract_years (GDate *date,
3250
gboolean g_date_is_leap_year (GDateYear year) __attribute__((__const__));
3251
guint8 g_date_get_days_in_month (GDateMonth month,
3252
GDateYear year) __attribute__((__const__));
3253
guint8 g_date_get_monday_weeks_in_year (GDateYear year) __attribute__((__const__));
3254
guint8 g_date_get_sunday_weeks_in_year (GDateYear year) __attribute__((__const__));
3258
gint g_date_days_between (const GDate *date1,
3259
const GDate *date2);
3262
gint g_date_compare (const GDate *lhs,
3264
void g_date_to_struct_tm (const GDate *date,
3267
void g_date_clamp (GDate *date,
3268
const GDate *min_date,
3269
const GDate *max_date);
3272
void g_date_order (GDate *date1, GDate *date2);
3277
gsize g_date_strftime (gchar *s,
3279
const gchar *format,
3281
# 261 "/usr/include/glib-2.0/glib/gdate.h"
3283
# 46 "/usr/include/glib-2.0/glib.h" 2
3284
# 1 "/usr/include/glib-2.0/glib/gdatetime.h" 1
3285
# 33 "/usr/include/glib-2.0/glib/gdatetime.h"
3286
# 1 "/usr/include/glib-2.0/glib/gtimezone.h" 1
3287
# 29 "/usr/include/glib-2.0/glib/gtimezone.h"
3288
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
3289
# 30 "/usr/include/glib-2.0/glib/gtimezone.h" 2
3293
typedef struct _GTimeZone GTimeZone;
3294
# 50 "/usr/include/glib-2.0/glib/gtimezone.h"
3297
G_TIME_TYPE_STANDARD,
3298
G_TIME_TYPE_DAYLIGHT,
3299
G_TIME_TYPE_UNIVERSAL
3302
GTimeZone * g_time_zone_new (const gchar *identifier);
3303
GTimeZone * g_time_zone_new_utc (void);
3304
GTimeZone * g_time_zone_new_local (void);
3306
GTimeZone * g_time_zone_ref (GTimeZone *tz);
3307
void g_time_zone_unref (GTimeZone *tz);
3309
gint g_time_zone_find_interval (GTimeZone *tz,
3313
gint g_time_zone_adjust_time (GTimeZone *tz,
3317
const gchar * g_time_zone_get_abbreviation (GTimeZone *tz,
3319
gint32 g_time_zone_get_offset (GTimeZone *tz,
3321
gboolean g_time_zone_is_dst (GTimeZone *tz,
3325
# 34 "/usr/include/glib-2.0/glib/gdatetime.h" 2
3328
# 89 "/usr/include/glib-2.0/glib/gdatetime.h"
3329
typedef gint64 GTimeSpan;
3330
# 99 "/usr/include/glib-2.0/glib/gdatetime.h"
3331
typedef struct _GDateTime GDateTime;
3333
void g_date_time_unref (GDateTime *datetime);
3334
GDateTime * g_date_time_ref (GDateTime *datetime);
3336
GDateTime * g_date_time_new_now (GTimeZone *tz);
3337
GDateTime * g_date_time_new_now_local (void);
3338
GDateTime * g_date_time_new_now_utc (void);
3340
GDateTime * g_date_time_new_from_unix_local (gint64 t);
3341
GDateTime * g_date_time_new_from_unix_utc (gint64 t);
3343
GDateTime * g_date_time_new_from_timeval_local (const GTimeVal *tv);
3344
GDateTime * g_date_time_new_from_timeval_utc (const GTimeVal *tv);
3346
GDateTime * g_date_time_new (GTimeZone *tz,
3353
GDateTime * g_date_time_new_local (gint year,
3359
GDateTime * g_date_time_new_utc (gint year,
3366
__attribute__((warn_unused_result))
3367
GDateTime * g_date_time_add (GDateTime *datetime,
3368
GTimeSpan timespan);
3370
__attribute__((warn_unused_result))
3371
GDateTime * g_date_time_add_years (GDateTime *datetime,
3373
__attribute__((warn_unused_result))
3374
GDateTime * g_date_time_add_months (GDateTime *datetime,
3376
__attribute__((warn_unused_result))
3377
GDateTime * g_date_time_add_weeks (GDateTime *datetime,
3379
__attribute__((warn_unused_result))
3380
GDateTime * g_date_time_add_days (GDateTime *datetime,
3383
__attribute__((warn_unused_result))
3384
GDateTime * g_date_time_add_hours (GDateTime *datetime,
3386
__attribute__((warn_unused_result))
3387
GDateTime * g_date_time_add_minutes (GDateTime *datetime,
3389
__attribute__((warn_unused_result))
3390
GDateTime * g_date_time_add_seconds (GDateTime *datetime,
3393
__attribute__((warn_unused_result))
3394
GDateTime * g_date_time_add_full (GDateTime *datetime,
3402
gint g_date_time_compare (gconstpointer dt1,
3404
GTimeSpan g_date_time_difference (GDateTime *end,
3406
guint g_date_time_hash (gconstpointer datetime);
3407
gboolean g_date_time_equal (gconstpointer dt1,
3410
void g_date_time_get_ymd (GDateTime *datetime,
3415
gint g_date_time_get_year (GDateTime *datetime);
3416
gint g_date_time_get_month (GDateTime *datetime);
3417
gint g_date_time_get_day_of_month (GDateTime *datetime);
3419
gint g_date_time_get_week_numbering_year (GDateTime *datetime);
3420
gint g_date_time_get_week_of_year (GDateTime *datetime);
3421
gint g_date_time_get_day_of_week (GDateTime *datetime);
3423
gint g_date_time_get_day_of_year (GDateTime *datetime);
3425
gint g_date_time_get_hour (GDateTime *datetime);
3426
gint g_date_time_get_minute (GDateTime *datetime);
3427
gint g_date_time_get_second (GDateTime *datetime);
3428
gint g_date_time_get_microsecond (GDateTime *datetime);
3429
gdouble g_date_time_get_seconds (GDateTime *datetime);
3431
gint64 g_date_time_to_unix (GDateTime *datetime);
3432
gboolean g_date_time_to_timeval (GDateTime *datetime,
3435
GTimeSpan g_date_time_get_utc_offset (GDateTime *datetime);
3436
const gchar * g_date_time_get_timezone_abbreviation (GDateTime *datetime);
3437
gboolean g_date_time_is_daylight_savings (GDateTime *datetime);
3439
GDateTime * g_date_time_to_timezone (GDateTime *datetime,
3441
GDateTime * g_date_time_to_local (GDateTime *datetime);
3442
GDateTime * g_date_time_to_utc (GDateTime *datetime);
3444
gchar * g_date_time_format (GDateTime *datetime,
3445
const gchar *format) __attribute__((__malloc__));
3448
# 47 "/usr/include/glib-2.0/glib.h" 2
3449
# 1 "/usr/include/glib-2.0/glib/gdir.h" 1
3450
# 31 "/usr/include/glib-2.0/glib/gdir.h"
3451
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
3452
# 32 "/usr/include/glib-2.0/glib/gdir.h" 2
3456
typedef struct _GDir GDir;
3464
GDir * g_dir_open (const gchar *path,
3467
const gchar *g_dir_read_name (GDir *dir);
3468
void g_dir_rewind (GDir *dir);
3469
void g_dir_close (GDir *dir);
3472
# 48 "/usr/include/glib-2.0/glib.h" 2
3473
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
3474
# 49 "/usr/include/glib-2.0/glib.h" 2
3475
# 1 "/usr/include/glib-2.0/glib/gfileutils.h" 1
3476
# 28 "/usr/include/glib-2.0/glib/gfileutils.h"
3477
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
3478
# 29 "/usr/include/glib-2.0/glib/gfileutils.h" 2
3489
G_FILE_ERROR_NAMETOOLONG,
3491
G_FILE_ERROR_NOTDIR,
3495
G_FILE_ERROR_TXTBSY,
3519
G_FILE_TEST_IS_REGULAR = 1 << 0,
3520
G_FILE_TEST_IS_SYMLINK = 1 << 1,
3521
G_FILE_TEST_IS_DIR = 1 << 2,
3522
G_FILE_TEST_IS_EXECUTABLE = 1 << 3,
3523
G_FILE_TEST_EXISTS = 1 << 4
3526
GQuark g_file_error_quark (void);
3528
GFileError g_file_error_from_errno (gint err_no);
3529
# 87 "/usr/include/glib-2.0/glib/gfileutils.h"
3530
gboolean g_file_test (const gchar *filename,
3532
gboolean g_file_get_contents (const gchar *filename,
3536
gboolean g_file_set_contents (const gchar *filename,
3537
const gchar *contents,
3540
gchar *g_file_read_link (const gchar *filename,
3544
gint g_mkstemp (gchar *tmpl);
3545
gint g_mkstemp_full (gchar *tmpl,
3550
gint g_file_open_tmp (const gchar *tmpl,
3554
char *g_format_size_for_display (goffset size);
3556
gchar *g_build_path (const gchar *separator,
3557
const gchar *first_element,
3558
...) __attribute__((__malloc__)) __attribute__((__sentinel__));
3559
gchar *g_build_pathv (const gchar *separator,
3560
gchar **args) __attribute__((__malloc__));
3562
gchar *g_build_filename (const gchar *first_element,
3563
...) __attribute__((__malloc__)) __attribute__((__sentinel__));
3564
gchar *g_build_filenamev (gchar **args) __attribute__((__malloc__));
3566
int g_mkdir_with_parents (const gchar *pathname,
3570
# 50 "/usr/include/glib-2.0/glib.h" 2
3571
# 1 "/usr/include/glib-2.0/glib/ghash.h" 1
3572
# 34 "/usr/include/glib-2.0/glib/ghash.h"
3573
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
3574
# 35 "/usr/include/glib-2.0/glib/ghash.h" 2
3575
# 1 "/usr/include/glib-2.0/glib/glist.h" 1
3576
# 36 "/usr/include/glib-2.0/glib/ghash.h" 2
3580
typedef struct _GHashTable GHashTable;
3582
typedef gboolean (*GHRFunc) (gpointer key,
3584
gpointer user_data);
3586
typedef struct _GHashTableIter GHashTableIter;
3588
struct _GHashTableIter
3601
GHashTable* g_hash_table_new (GHashFunc hash_func,
3602
GEqualFunc key_equal_func);
3603
GHashTable* g_hash_table_new_full (GHashFunc hash_func,
3604
GEqualFunc key_equal_func,
3605
GDestroyNotify key_destroy_func,
3606
GDestroyNotify value_destroy_func);
3607
void g_hash_table_destroy (GHashTable *hash_table);
3608
void g_hash_table_insert (GHashTable *hash_table,
3611
void g_hash_table_replace (GHashTable *hash_table,
3614
gboolean g_hash_table_remove (GHashTable *hash_table,
3616
void g_hash_table_remove_all (GHashTable *hash_table);
3617
gboolean g_hash_table_steal (GHashTable *hash_table,
3619
void g_hash_table_steal_all (GHashTable *hash_table);
3620
gpointer g_hash_table_lookup (GHashTable *hash_table,
3622
gboolean g_hash_table_lookup_extended (GHashTable *hash_table,
3623
gconstpointer lookup_key,
3626
void g_hash_table_foreach (GHashTable *hash_table,
3628
gpointer user_data);
3629
gpointer g_hash_table_find (GHashTable *hash_table,
3631
gpointer user_data);
3632
guint g_hash_table_foreach_remove (GHashTable *hash_table,
3634
gpointer user_data);
3635
guint g_hash_table_foreach_steal (GHashTable *hash_table,
3637
gpointer user_data);
3638
guint g_hash_table_size (GHashTable *hash_table);
3639
GList * g_hash_table_get_keys (GHashTable *hash_table);
3640
GList * g_hash_table_get_values (GHashTable *hash_table);
3642
void g_hash_table_iter_init (GHashTableIter *iter,
3643
GHashTable *hash_table);
3644
gboolean g_hash_table_iter_next (GHashTableIter *iter,
3647
GHashTable* g_hash_table_iter_get_hash_table (GHashTableIter *iter);
3648
void g_hash_table_iter_remove (GHashTableIter *iter);
3649
void g_hash_table_iter_steal (GHashTableIter *iter);
3652
GHashTable* g_hash_table_ref (GHashTable *hash_table);
3653
void g_hash_table_unref (GHashTable *hash_table);
3654
# 138 "/usr/include/glib-2.0/glib/ghash.h"
3655
gboolean g_str_equal (gconstpointer v1,
3657
guint g_str_hash (gconstpointer v);
3659
gboolean g_int_equal (gconstpointer v1,
3661
guint g_int_hash (gconstpointer v);
3663
gboolean g_int64_equal (gconstpointer v1,
3665
guint g_int64_hash (gconstpointer v);
3667
gboolean g_double_equal (gconstpointer v1,
3669
guint g_double_hash (gconstpointer v);
3677
guint g_direct_hash (gconstpointer v) __attribute__((__const__));
3678
gboolean g_direct_equal (gconstpointer v1,
3679
gconstpointer v2) __attribute__((__const__));
3682
# 51 "/usr/include/glib-2.0/glib.h" 2
3683
# 1 "/usr/include/glib-2.0/glib/ghook.h" 1
3684
# 34 "/usr/include/glib-2.0/glib/ghook.h"
3685
# 1 "/usr/include/glib-2.0/glib/gmem.h" 1
3686
# 35 "/usr/include/glib-2.0/glib/ghook.h" 2
3692
typedef struct _GHook GHook;
3693
typedef struct _GHookList GHookList;
3695
typedef gint (*GHookCompareFunc) (GHook *new_hook,
3697
typedef gboolean (*GHookFindFunc) (GHook *hook,
3699
typedef void (*GHookMarshaller) (GHook *hook,
3700
gpointer marshal_data);
3701
typedef gboolean (*GHookCheckMarshaller) (GHook *hook,
3702
gpointer marshal_data);
3703
typedef void (*GHookFunc) (gpointer data);
3704
typedef gboolean (*GHookCheckFunc) (gpointer data);
3705
typedef void (*GHookFinalizeFunc) (GHookList *hook_list,
3709
G_HOOK_FLAG_ACTIVE = 1 << 0,
3710
G_HOOK_FLAG_IN_CALL = 1 << 1,
3711
G_HOOK_FLAG_MASK = 0x0f
3720
guint hook_size : 16;
3724
GHookFinalizeFunc finalize_hook;
3736
GDestroyNotify destroy;
3738
# 106 "/usr/include/glib-2.0/glib/ghook.h"
3739
void g_hook_list_init (GHookList *hook_list,
3741
void g_hook_list_clear (GHookList *hook_list);
3742
GHook* g_hook_alloc (GHookList *hook_list);
3743
void g_hook_free (GHookList *hook_list,
3745
GHook * g_hook_ref (GHookList *hook_list,
3747
void g_hook_unref (GHookList *hook_list,
3749
gboolean g_hook_destroy (GHookList *hook_list,
3751
void g_hook_destroy_link (GHookList *hook_list,
3753
void g_hook_prepend (GHookList *hook_list,
3755
void g_hook_insert_before (GHookList *hook_list,
3758
void g_hook_insert_sorted (GHookList *hook_list,
3760
GHookCompareFunc func);
3761
GHook* g_hook_get (GHookList *hook_list,
3763
GHook* g_hook_find (GHookList *hook_list,
3764
gboolean need_valids,
3767
GHook* g_hook_find_data (GHookList *hook_list,
3768
gboolean need_valids,
3770
GHook* g_hook_find_func (GHookList *hook_list,
3771
gboolean need_valids,
3773
GHook* g_hook_find_func_data (GHookList *hook_list,
3774
gboolean need_valids,
3778
GHook* g_hook_first_valid (GHookList *hook_list,
3779
gboolean may_be_in_call);
3783
GHook* g_hook_next_valid (GHookList *hook_list,
3785
gboolean may_be_in_call);
3787
gint g_hook_compare_ids (GHook *new_hook,
3794
void g_hook_list_invoke (GHookList *hook_list,
3795
gboolean may_recurse);
3799
void g_hook_list_invoke_check (GHookList *hook_list,
3800
gboolean may_recurse);
3803
void g_hook_list_marshal (GHookList *hook_list,
3804
gboolean may_recurse,
3805
GHookMarshaller marshaller,
3806
gpointer marshal_data);
3807
void g_hook_list_marshal_check (GHookList *hook_list,
3808
gboolean may_recurse,
3809
GHookCheckMarshaller marshaller,
3810
gpointer marshal_data);
3813
# 52 "/usr/include/glib-2.0/glib.h" 2
3814
# 1 "/usr/include/glib-2.0/glib/ghostutils.h" 1
3815
# 27 "/usr/include/glib-2.0/glib/ghostutils.h"
3816
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
3817
# 28 "/usr/include/glib-2.0/glib/ghostutils.h" 2
3821
gboolean g_hostname_is_non_ascii (const gchar *hostname);
3822
gboolean g_hostname_is_ascii_encoded (const gchar *hostname);
3823
gboolean g_hostname_is_ip_address (const gchar *hostname);
3825
gchar *g_hostname_to_ascii (const gchar *hostname);
3826
gchar *g_hostname_to_unicode (const gchar *hostname);
3829
# 53 "/usr/include/glib-2.0/glib.h" 2
3830
# 1 "/usr/include/glib-2.0/glib/giochannel.h" 1
3831
# 34 "/usr/include/glib-2.0/glib/giochannel.h"
3832
# 1 "/usr/include/glib-2.0/glib/gconvert.h" 1
3833
# 35 "/usr/include/glib-2.0/glib/giochannel.h" 2
3834
# 1 "/usr/include/glib-2.0/glib/gmain.h" 1
3835
# 27 "/usr/include/glib-2.0/glib/gmain.h"
3836
# 1 "/usr/include/glib-2.0/glib/gpoll.h" 1
3837
# 27 "/usr/include/glib-2.0/glib/gpoll.h"
3838
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
3839
# 28 "/usr/include/glib-2.0/glib/gpoll.h" 2
3842
# 61 "/usr/include/glib-2.0/glib/gpoll.h"
3843
typedef struct _GPollFD GPollFD;
3844
# 76 "/usr/include/glib-2.0/glib/gpoll.h"
3845
typedef gint (*GPollFunc) (GPollFD *ufds,
3848
# 90 "/usr/include/glib-2.0/glib/gpoll.h"
3859
# 111 "/usr/include/glib-2.0/glib/gpoll.h"
3860
gint g_poll (GPollFD *fds,
3865
# 28 "/usr/include/glib-2.0/glib/gmain.h" 2
3866
# 1 "/usr/include/glib-2.0/glib/gslist.h" 1
3867
# 34 "/usr/include/glib-2.0/glib/gslist.h"
3868
# 1 "/usr/include/glib-2.0/glib/gmem.h" 1
3869
# 35 "/usr/include/glib-2.0/glib/gslist.h" 2
3873
typedef struct _GSList GSList;
3883
GSList* g_slist_alloc (void) __attribute__((warn_unused_result));
3884
void g_slist_free (GSList *list);
3885
void g_slist_free_1 (GSList *list);
3887
void g_slist_free_full (GSList *list,
3888
GDestroyNotify free_func);
3889
GSList* g_slist_append (GSList *list,
3890
gpointer data) __attribute__((warn_unused_result));
3891
GSList* g_slist_prepend (GSList *list,
3892
gpointer data) __attribute__((warn_unused_result));
3893
GSList* g_slist_insert (GSList *list,
3895
gint position) __attribute__((warn_unused_result));
3896
GSList* g_slist_insert_sorted (GSList *list,
3898
GCompareFunc func) __attribute__((warn_unused_result));
3899
GSList* g_slist_insert_sorted_with_data (GSList *list,
3901
GCompareDataFunc func,
3902
gpointer user_data) __attribute__((warn_unused_result));
3903
GSList* g_slist_insert_before (GSList *slist,
3905
gpointer data) __attribute__((warn_unused_result));
3906
GSList* g_slist_concat (GSList *list1,
3907
GSList *list2) __attribute__((warn_unused_result));
3908
GSList* g_slist_remove (GSList *list,
3909
gconstpointer data) __attribute__((warn_unused_result));
3910
GSList* g_slist_remove_all (GSList *list,
3911
gconstpointer data) __attribute__((warn_unused_result));
3912
GSList* g_slist_remove_link (GSList *list,
3913
GSList *link_) __attribute__((warn_unused_result));
3914
GSList* g_slist_delete_link (GSList *list,
3915
GSList *link_) __attribute__((warn_unused_result));
3916
GSList* g_slist_reverse (GSList *list) __attribute__((warn_unused_result));
3917
GSList* g_slist_copy (GSList *list) __attribute__((warn_unused_result));
3918
GSList* g_slist_nth (GSList *list,
3920
GSList* g_slist_find (GSList *list,
3921
gconstpointer data);
3922
GSList* g_slist_find_custom (GSList *list,
3925
gint g_slist_position (GSList *list,
3927
gint g_slist_index (GSList *list,
3928
gconstpointer data);
3929
GSList* g_slist_last (GSList *list);
3930
guint g_slist_length (GSList *list);
3931
void g_slist_foreach (GSList *list,
3933
gpointer user_data);
3934
GSList* g_slist_sort (GSList *list,
3935
GCompareFunc compare_func) __attribute__((warn_unused_result));
3936
GSList* g_slist_sort_with_data (GSList *list,
3937
GCompareDataFunc compare_func,
3938
gpointer user_data) __attribute__((warn_unused_result));
3939
gpointer g_slist_nth_data (GSList *list,
3945
void g_slist_push_allocator (gpointer dummy);
3946
void g_slist_pop_allocator (void);
3950
# 29 "/usr/include/glib-2.0/glib/gmain.h" 2
3951
# 1 "/usr/include/glib-2.0/glib/gthread.h" 1
3952
# 30 "/usr/include/glib-2.0/glib/gmain.h" 2
3962
typedef struct _GMainContext GMainContext;
3970
typedef struct _GMainLoop GMainLoop;
3978
typedef struct _GSource GSource;
3979
typedef struct _GSourcePrivate GSourcePrivate;
3980
# 68 "/usr/include/glib-2.0/glib/gmain.h"
3981
typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
3982
# 115 "/usr/include/glib-2.0/glib/gmain.h"
3983
typedef struct _GSourceFuncs GSourceFuncs;
3984
# 126 "/usr/include/glib-2.0/glib/gmain.h"
3985
typedef gboolean (*GSourceFunc) (gpointer data);
3986
# 137 "/usr/include/glib-2.0/glib/gmain.h"
3987
typedef void (*GChildWatchFunc) (GPid pid,
3993
gpointer callback_data;
3994
GSourceCallbackFuncs *callback_funcs;
3996
GSourceFuncs *source_funcs;
3999
GMainContext *context;
4012
GSourcePrivate *priv;
4015
struct _GSourceCallbackFuncs
4017
void (*ref) (gpointer cb_data);
4018
void (*unref) (gpointer cb_data);
4019
void (*get) (gpointer cb_data,
4025
typedef void (*GSourceDummyMarshal) (void);
4027
struct _GSourceFuncs
4029
gboolean (*prepare) (GSource *source,
4031
gboolean (*check) (GSource *source);
4032
gboolean (*dispatch) (GSource *source,
4033
GSourceFunc callback,
4034
gpointer user_data);
4035
void (*finalize) (GSource *source);
4038
GSourceFunc closure_callback;
4039
GSourceDummyMarshal closure_marshal;
4041
# 247 "/usr/include/glib-2.0/glib/gmain.h"
4042
GMainContext *g_main_context_new (void);
4043
GMainContext *g_main_context_ref (GMainContext *context);
4044
void g_main_context_unref (GMainContext *context);
4045
GMainContext *g_main_context_default (void);
4047
gboolean g_main_context_iteration (GMainContext *context,
4048
gboolean may_block);
4049
gboolean g_main_context_pending (GMainContext *context);
4053
GSource *g_main_context_find_source_by_id (GMainContext *context,
4055
GSource *g_main_context_find_source_by_user_data (GMainContext *context,
4056
gpointer user_data);
4057
GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context,
4058
GSourceFuncs *funcs,
4059
gpointer user_data);
4063
void g_main_context_wakeup (GMainContext *context);
4064
gboolean g_main_context_acquire (GMainContext *context);
4065
void g_main_context_release (GMainContext *context);
4066
gboolean g_main_context_is_owner (GMainContext *context);
4067
gboolean g_main_context_wait (GMainContext *context,
4071
gboolean g_main_context_prepare (GMainContext *context,
4073
gint g_main_context_query (GMainContext *context,
4078
gint g_main_context_check (GMainContext *context,
4082
void g_main_context_dispatch (GMainContext *context);
4084
void g_main_context_set_poll_func (GMainContext *context,
4086
GPollFunc g_main_context_get_poll_func (GMainContext *context);
4090
void g_main_context_add_poll (GMainContext *context,
4093
void g_main_context_remove_poll (GMainContext *context,
4096
gint g_main_depth (void);
4097
GSource *g_main_current_source (void);
4101
void g_main_context_push_thread_default (GMainContext *context);
4102
void g_main_context_pop_thread_default (GMainContext *context);
4103
GMainContext *g_main_context_get_thread_default (void);
4107
GMainLoop *g_main_loop_new (GMainContext *context,
4108
gboolean is_running);
4109
void g_main_loop_run (GMainLoop *loop);
4110
void g_main_loop_quit (GMainLoop *loop);
4111
GMainLoop *g_main_loop_ref (GMainLoop *loop);
4112
void g_main_loop_unref (GMainLoop *loop);
4113
gboolean g_main_loop_is_running (GMainLoop *loop);
4114
GMainContext *g_main_loop_get_context (GMainLoop *loop);
4118
GSource *g_source_new (GSourceFuncs *source_funcs,
4120
GSource *g_source_ref (GSource *source);
4121
void g_source_unref (GSource *source);
4123
guint g_source_attach (GSource *source,
4124
GMainContext *context);
4125
void g_source_destroy (GSource *source);
4127
void g_source_set_priority (GSource *source,
4129
gint g_source_get_priority (GSource *source);
4130
void g_source_set_can_recurse (GSource *source,
4131
gboolean can_recurse);
4132
gboolean g_source_get_can_recurse (GSource *source);
4133
guint g_source_get_id (GSource *source);
4135
GMainContext *g_source_get_context (GSource *source);
4137
void g_source_set_callback (GSource *source,
4140
GDestroyNotify notify);
4142
void g_source_set_funcs (GSource *source,
4143
GSourceFuncs *funcs);
4144
gboolean g_source_is_destroyed (GSource *source);
4146
void g_source_set_name (GSource *source,
4148
const char* g_source_get_name (GSource *source);
4149
void g_source_set_name_by_id (guint tag,
4154
void g_source_set_callback_indirect (GSource *source,
4155
gpointer callback_data,
4156
GSourceCallbackFuncs *callback_funcs);
4158
void g_source_add_poll (GSource *source,
4160
void g_source_remove_poll (GSource *source,
4163
void g_source_add_child_source (GSource *source,
4164
GSource *child_source);
4165
void g_source_remove_child_source (GSource *source,
4166
GSource *child_source);
4169
void g_source_get_current_time (GSource *source,
4172
gint64 g_source_get_time (GSource *source);
4180
GSource *g_idle_source_new (void);
4181
GSource *g_child_watch_source_new (GPid pid);
4182
GSource *g_timeout_source_new (guint interval);
4183
GSource *g_timeout_source_new_seconds (guint interval);
4187
void g_get_current_time (GTimeVal *result);
4188
gint64 g_get_monotonic_time (void);
4189
gint64 g_get_real_time (void);
4190
# 498 "/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);
4229
void g_main_context_invoke_full (GMainContext *context,
4231
GSourceFunc function,
4233
GDestroyNotify notify);
4234
void g_main_context_invoke (GMainContext *context,
4235
GSourceFunc function,
4239
extern GSourceFuncs g_timeout_funcs;
4240
extern GSourceFuncs g_child_watch_funcs;
4241
extern GSourceFuncs g_idle_funcs;
4244
# 36 "/usr/include/glib-2.0/glib/giochannel.h" 2
4245
# 1 "/usr/include/glib-2.0/glib/gstring.h" 1
4246
# 34 "/usr/include/glib-2.0/glib/gstring.h"
4247
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
4248
# 35 "/usr/include/glib-2.0/glib/gstring.h" 2
4249
# 1 "/usr/include/glib-2.0/glib/gunicode.h" 1
4250
# 29 "/usr/include/glib-2.0/glib/gunicode.h"
4251
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
4252
# 30 "/usr/include/glib-2.0/glib/gunicode.h" 2
4253
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
4254
# 31 "/usr/include/glib-2.0/glib/gunicode.h" 2
4258
typedef guint32 gunichar;
4259
typedef guint16 gunichar2;
4268
G_UNICODE_UNASSIGNED,
4269
G_UNICODE_PRIVATE_USE,
4270
G_UNICODE_SURROGATE,
4271
G_UNICODE_LOWERCASE_LETTER,
4272
G_UNICODE_MODIFIER_LETTER,
4273
G_UNICODE_OTHER_LETTER,
4274
G_UNICODE_TITLECASE_LETTER,
4275
G_UNICODE_UPPERCASE_LETTER,
4276
G_UNICODE_COMBINING_MARK,
4277
G_UNICODE_ENCLOSING_MARK,
4278
G_UNICODE_NON_SPACING_MARK,
4279
G_UNICODE_DECIMAL_NUMBER,
4280
G_UNICODE_LETTER_NUMBER,
4281
G_UNICODE_OTHER_NUMBER,
4282
G_UNICODE_CONNECT_PUNCTUATION,
4283
G_UNICODE_DASH_PUNCTUATION,
4284
G_UNICODE_CLOSE_PUNCTUATION,
4285
G_UNICODE_FINAL_PUNCTUATION,
4286
G_UNICODE_INITIAL_PUNCTUATION,
4287
G_UNICODE_OTHER_PUNCTUATION,
4288
G_UNICODE_OPEN_PUNCTUATION,
4289
G_UNICODE_CURRENCY_SYMBOL,
4290
G_UNICODE_MODIFIER_SYMBOL,
4291
G_UNICODE_MATH_SYMBOL,
4292
G_UNICODE_OTHER_SYMBOL,
4293
G_UNICODE_LINE_SEPARATOR,
4294
G_UNICODE_PARAGRAPH_SEPARATOR,
4295
G_UNICODE_SPACE_SEPARATOR
4305
G_UNICODE_BREAK_MANDATORY,
4306
G_UNICODE_BREAK_CARRIAGE_RETURN,
4307
G_UNICODE_BREAK_LINE_FEED,
4308
G_UNICODE_BREAK_COMBINING_MARK,
4309
G_UNICODE_BREAK_SURROGATE,
4310
G_UNICODE_BREAK_ZERO_WIDTH_SPACE,
4311
G_UNICODE_BREAK_INSEPARABLE,
4312
G_UNICODE_BREAK_NON_BREAKING_GLUE,
4313
G_UNICODE_BREAK_CONTINGENT,
4314
G_UNICODE_BREAK_SPACE,
4315
G_UNICODE_BREAK_AFTER,
4316
G_UNICODE_BREAK_BEFORE,
4317
G_UNICODE_BREAK_BEFORE_AND_AFTER,
4318
G_UNICODE_BREAK_HYPHEN,
4319
G_UNICODE_BREAK_NON_STARTER,
4320
G_UNICODE_BREAK_OPEN_PUNCTUATION,
4321
G_UNICODE_BREAK_CLOSE_PUNCTUATION,
4322
G_UNICODE_BREAK_QUOTATION,
4323
G_UNICODE_BREAK_EXCLAMATION,
4324
G_UNICODE_BREAK_IDEOGRAPHIC,
4325
G_UNICODE_BREAK_NUMERIC,
4326
G_UNICODE_BREAK_INFIX_SEPARATOR,
4327
G_UNICODE_BREAK_SYMBOL,
4328
G_UNICODE_BREAK_ALPHABETIC,
4329
G_UNICODE_BREAK_PREFIX,
4330
G_UNICODE_BREAK_POSTFIX,
4331
G_UNICODE_BREAK_COMPLEX_CONTEXT,
4332
G_UNICODE_BREAK_AMBIGUOUS,
4333
G_UNICODE_BREAK_UNKNOWN,
4334
G_UNICODE_BREAK_NEXT_LINE,
4335
G_UNICODE_BREAK_WORD_JOINER,
4336
G_UNICODE_BREAK_HANGUL_L_JAMO,
4337
G_UNICODE_BREAK_HANGUL_V_JAMO,
4338
G_UNICODE_BREAK_HANGUL_T_JAMO,
4339
G_UNICODE_BREAK_HANGUL_LV_SYLLABLE,
4340
G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE,
4341
G_UNICODE_BREAK_CLOSE_PARANTHESIS
4342
} GUnicodeBreakType;
4346
G_UNICODE_SCRIPT_INVALID_CODE = -1,
4347
G_UNICODE_SCRIPT_COMMON = 0,
4348
G_UNICODE_SCRIPT_INHERITED,
4349
G_UNICODE_SCRIPT_ARABIC,
4350
G_UNICODE_SCRIPT_ARMENIAN,
4351
G_UNICODE_SCRIPT_BENGALI,
4352
G_UNICODE_SCRIPT_BOPOMOFO,
4353
G_UNICODE_SCRIPT_CHEROKEE,
4354
G_UNICODE_SCRIPT_COPTIC,
4355
G_UNICODE_SCRIPT_CYRILLIC,
4356
G_UNICODE_SCRIPT_DESERET,
4357
G_UNICODE_SCRIPT_DEVANAGARI,
4358
G_UNICODE_SCRIPT_ETHIOPIC,
4359
G_UNICODE_SCRIPT_GEORGIAN,
4360
G_UNICODE_SCRIPT_GOTHIC,
4361
G_UNICODE_SCRIPT_GREEK,
4362
G_UNICODE_SCRIPT_GUJARATI,
4363
G_UNICODE_SCRIPT_GURMUKHI,
4364
G_UNICODE_SCRIPT_HAN,
4365
G_UNICODE_SCRIPT_HANGUL,
4366
G_UNICODE_SCRIPT_HEBREW,
4367
G_UNICODE_SCRIPT_HIRAGANA,
4368
G_UNICODE_SCRIPT_KANNADA,
4369
G_UNICODE_SCRIPT_KATAKANA,
4370
G_UNICODE_SCRIPT_KHMER,
4371
G_UNICODE_SCRIPT_LAO,
4372
G_UNICODE_SCRIPT_LATIN,
4373
G_UNICODE_SCRIPT_MALAYALAM,
4374
G_UNICODE_SCRIPT_MONGOLIAN,
4375
G_UNICODE_SCRIPT_MYANMAR,
4376
G_UNICODE_SCRIPT_OGHAM,
4377
G_UNICODE_SCRIPT_OLD_ITALIC,
4378
G_UNICODE_SCRIPT_ORIYA,
4379
G_UNICODE_SCRIPT_RUNIC,
4380
G_UNICODE_SCRIPT_SINHALA,
4381
G_UNICODE_SCRIPT_SYRIAC,
4382
G_UNICODE_SCRIPT_TAMIL,
4383
G_UNICODE_SCRIPT_TELUGU,
4384
G_UNICODE_SCRIPT_THAANA,
4385
G_UNICODE_SCRIPT_THAI,
4386
G_UNICODE_SCRIPT_TIBETAN,
4387
G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL,
4388
G_UNICODE_SCRIPT_YI,
4389
G_UNICODE_SCRIPT_TAGALOG,
4390
G_UNICODE_SCRIPT_HANUNOO,
4391
G_UNICODE_SCRIPT_BUHID,
4392
G_UNICODE_SCRIPT_TAGBANWA,
4395
G_UNICODE_SCRIPT_BRAILLE,
4396
G_UNICODE_SCRIPT_CYPRIOT,
4397
G_UNICODE_SCRIPT_LIMBU,
4398
G_UNICODE_SCRIPT_OSMANYA,
4399
G_UNICODE_SCRIPT_SHAVIAN,
4400
G_UNICODE_SCRIPT_LINEAR_B,
4401
G_UNICODE_SCRIPT_TAI_LE,
4402
G_UNICODE_SCRIPT_UGARITIC,
4405
G_UNICODE_SCRIPT_NEW_TAI_LUE,
4406
G_UNICODE_SCRIPT_BUGINESE,
4407
G_UNICODE_SCRIPT_GLAGOLITIC,
4408
G_UNICODE_SCRIPT_TIFINAGH,
4409
G_UNICODE_SCRIPT_SYLOTI_NAGRI,
4410
G_UNICODE_SCRIPT_OLD_PERSIAN,
4411
G_UNICODE_SCRIPT_KHAROSHTHI,
4414
G_UNICODE_SCRIPT_UNKNOWN,
4415
G_UNICODE_SCRIPT_BALINESE,
4416
G_UNICODE_SCRIPT_CUNEIFORM,
4417
G_UNICODE_SCRIPT_PHOENICIAN,
4418
G_UNICODE_SCRIPT_PHAGS_PA,
4419
G_UNICODE_SCRIPT_NKO,
4422
G_UNICODE_SCRIPT_KAYAH_LI,
4423
G_UNICODE_SCRIPT_LEPCHA,
4424
G_UNICODE_SCRIPT_REJANG,
4425
G_UNICODE_SCRIPT_SUNDANESE,
4426
G_UNICODE_SCRIPT_SAURASHTRA,
4427
G_UNICODE_SCRIPT_CHAM,
4428
G_UNICODE_SCRIPT_OL_CHIKI,
4429
G_UNICODE_SCRIPT_VAI,
4430
G_UNICODE_SCRIPT_CARIAN,
4431
G_UNICODE_SCRIPT_LYCIAN,
4432
G_UNICODE_SCRIPT_LYDIAN,
4435
G_UNICODE_SCRIPT_AVESTAN,
4436
G_UNICODE_SCRIPT_BAMUM,
4437
G_UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS,
4438
G_UNICODE_SCRIPT_IMPERIAL_ARAMAIC,
4439
G_UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI,
4440
G_UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN,
4441
G_UNICODE_SCRIPT_JAVANESE,
4442
G_UNICODE_SCRIPT_KAITHI,
4443
G_UNICODE_SCRIPT_LISU,
4444
G_UNICODE_SCRIPT_MEETEI_MAYEK,
4445
G_UNICODE_SCRIPT_OLD_SOUTH_ARABIAN,
4446
G_UNICODE_SCRIPT_OLD_TURKIC,
4447
G_UNICODE_SCRIPT_SAMARITAN,
4448
G_UNICODE_SCRIPT_TAI_THAM,
4449
G_UNICODE_SCRIPT_TAI_VIET,
4452
G_UNICODE_SCRIPT_BATAK,
4453
G_UNICODE_SCRIPT_BRAHMI,
4454
G_UNICODE_SCRIPT_MANDAIC
4463
gboolean g_get_charset (const char **charset);
4467
gboolean g_unichar_isalnum (gunichar c) __attribute__((__const__));
4468
gboolean g_unichar_isalpha (gunichar c) __attribute__((__const__));
4469
gboolean g_unichar_iscntrl (gunichar c) __attribute__((__const__));
4470
gboolean g_unichar_isdigit (gunichar c) __attribute__((__const__));
4471
gboolean g_unichar_isgraph (gunichar c) __attribute__((__const__));
4472
gboolean g_unichar_islower (gunichar c) __attribute__((__const__));
4473
gboolean g_unichar_isprint (gunichar c) __attribute__((__const__));
4474
gboolean g_unichar_ispunct (gunichar c) __attribute__((__const__));
4475
gboolean g_unichar_isspace (gunichar c) __attribute__((__const__));
4476
gboolean g_unichar_isupper (gunichar c) __attribute__((__const__));
4477
gboolean g_unichar_isxdigit (gunichar c) __attribute__((__const__));
4478
gboolean g_unichar_istitle (gunichar c) __attribute__((__const__));
4479
gboolean g_unichar_isdefined (gunichar c) __attribute__((__const__));
4480
gboolean g_unichar_iswide (gunichar c) __attribute__((__const__));
4481
gboolean g_unichar_iswide_cjk(gunichar c) __attribute__((__const__));
4482
gboolean g_unichar_iszerowidth(gunichar c) __attribute__((__const__));
4483
gboolean g_unichar_ismark (gunichar c) __attribute__((__const__));
4487
gunichar g_unichar_toupper (gunichar c) __attribute__((__const__));
4488
gunichar g_unichar_tolower (gunichar c) __attribute__((__const__));
4489
gunichar g_unichar_totitle (gunichar c) __attribute__((__const__));
4493
gint g_unichar_digit_value (gunichar c) __attribute__((__const__));
4495
gint g_unichar_xdigit_value (gunichar c) __attribute__((__const__));
4498
GUnicodeType g_unichar_type (gunichar c) __attribute__((__const__));
4501
GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__((__const__));
4504
gint g_unichar_combining_class (gunichar uc) __attribute__((__const__));
4510
void g_unicode_canonical_ordering (gunichar *string,
4516
gunichar *g_unicode_canonical_decomposition (gunichar ch,
4517
gsize *result_len) __attribute__((__malloc__));
4521
extern const gchar * const g_utf8_skip;
4525
gunichar g_utf8_get_char (const gchar *p) __attribute__((__pure__));
4526
gunichar g_utf8_get_char_validated (const gchar *p,
4527
gssize max_len) __attribute__((__pure__));
4529
gchar* g_utf8_offset_to_pointer (const gchar *str,
4530
glong offset) __attribute__((__pure__));
4531
glong g_utf8_pointer_to_offset (const gchar *str,
4532
const gchar *pos) __attribute__((__pure__));
4533
gchar* g_utf8_prev_char (const gchar *p) __attribute__((__pure__));
4534
gchar* g_utf8_find_next_char (const gchar *p,
4535
const gchar *end) __attribute__((__pure__));
4536
gchar* g_utf8_find_prev_char (const gchar *str,
4537
const gchar *p) __attribute__((__pure__));
4539
glong g_utf8_strlen (const gchar *p,
4540
gssize max) __attribute__((__pure__));
4543
gchar* g_utf8_strncpy (gchar *dest,
4549
gchar* g_utf8_strchr (const gchar *p,
4552
gchar* g_utf8_strrchr (const gchar *p,
4555
gchar* g_utf8_strreverse (const gchar *str,
4558
gunichar2 *g_utf8_to_utf16 (const gchar *str,
4561
glong *items_written,
4562
GError **error) __attribute__((__malloc__));
4563
gunichar * g_utf8_to_ucs4 (const gchar *str,
4566
glong *items_written,
4567
GError **error) __attribute__((__malloc__));
4568
gunichar * g_utf8_to_ucs4_fast (const gchar *str,
4570
glong *items_written) __attribute__((__malloc__));
4571
gunichar * g_utf16_to_ucs4 (const gunichar2 *str,
4574
glong *items_written,
4575
GError **error) __attribute__((__malloc__));
4576
gchar* g_utf16_to_utf8 (const gunichar2 *str,
4579
glong *items_written,
4580
GError **error) __attribute__((__malloc__));
4581
gunichar2 *g_ucs4_to_utf16 (const gunichar *str,
4584
glong *items_written,
4585
GError **error) __attribute__((__malloc__));
4586
gchar* g_ucs4_to_utf8 (const gunichar *str,
4589
glong *items_written,
4590
GError **error) __attribute__((__malloc__));
4596
gint g_unichar_to_utf8 (gunichar c,
4603
gboolean g_utf8_validate (const gchar *str,
4608
gboolean g_unichar_validate (gunichar ch) __attribute__((__const__));
4610
gchar *g_utf8_strup (const gchar *str,
4611
gssize len) __attribute__((__malloc__));
4612
gchar *g_utf8_strdown (const gchar *str,
4613
gssize len) __attribute__((__malloc__));
4614
gchar *g_utf8_casefold (const gchar *str,
4615
gssize len) __attribute__((__malloc__));
4618
G_NORMALIZE_DEFAULT,
4619
G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT,
4620
G_NORMALIZE_DEFAULT_COMPOSE,
4621
G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE,
4623
G_NORMALIZE_NFKD = G_NORMALIZE_ALL,
4624
G_NORMALIZE_ALL_COMPOSE,
4625
G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE
4628
gchar *g_utf8_normalize (const gchar *str,
4630
GNormalizeMode mode) __attribute__((__malloc__));
4632
gint g_utf8_collate (const gchar *str1,
4633
const gchar *str2) __attribute__((__pure__));
4634
gchar *g_utf8_collate_key (const gchar *str,
4635
gssize len) __attribute__((__malloc__));
4636
gchar *g_utf8_collate_key_for_filename (const gchar *str,
4637
gssize len) __attribute__((__malloc__));
4639
gboolean g_unichar_get_mirror_char (gunichar ch,
4640
gunichar *mirrored_ch);
4642
GUnicodeScript g_unichar_get_script (gunichar ch) __attribute__((__const__));
4647
gchar *_g_utf8_make_valid (const gchar *name);
4650
# 36 "/usr/include/glib-2.0/glib/gstring.h" 2
4651
# 1 "/usr/include/glib-2.0/glib/gutils.h" 1
4652
# 37 "/usr/include/glib-2.0/glib/gstring.h" 2
4656
typedef struct _GString GString;
4657
typedef struct _GStringChunk GStringChunk;
4663
gsize allocated_len;
4668
GStringChunk* g_string_chunk_new (gsize size);
4669
void g_string_chunk_free (GStringChunk *chunk);
4670
void g_string_chunk_clear (GStringChunk *chunk);
4671
gchar* g_string_chunk_insert (GStringChunk *chunk,
4672
const gchar *string);
4673
gchar* g_string_chunk_insert_len (GStringChunk *chunk,
4674
const gchar *string,
4676
gchar* g_string_chunk_insert_const (GStringChunk *chunk,
4677
const gchar *string);
4682
GString* g_string_new (const gchar *init);
4683
GString* g_string_new_len (const gchar *init,
4685
GString* g_string_sized_new (gsize dfl_size);
4686
gchar* g_string_free (GString *string,
4687
gboolean free_segment);
4688
gboolean g_string_equal (const GString *v,
4690
guint g_string_hash (const GString *str);
4691
GString* g_string_assign (GString *string,
4693
GString* g_string_truncate (GString *string,
4695
GString* g_string_set_size (GString *string,
4697
GString* g_string_insert_len (GString *string,
4701
GString* g_string_append (GString *string,
4703
GString* g_string_append_len (GString *string,
4706
GString* g_string_append_c (GString *string,
4708
GString* g_string_append_unichar (GString *string,
4710
GString* g_string_prepend (GString *string,
4712
GString* g_string_prepend_c (GString *string,
4714
GString* g_string_prepend_unichar (GString *string,
4716
GString* g_string_prepend_len (GString *string,
4719
GString* g_string_insert (GString *string,
4722
GString* g_string_insert_c (GString *string,
4725
GString* g_string_insert_unichar (GString *string,
4728
GString* g_string_overwrite (GString *string,
4731
GString* g_string_overwrite_len (GString *string,
4735
GString* g_string_erase (GString *string,
4738
GString* g_string_ascii_down (GString *string);
4739
GString* g_string_ascii_up (GString *string);
4740
void g_string_vprintf (GString *string,
4741
const gchar *format,
4743
void g_string_printf (GString *string,
4744
const gchar *format,
4745
...) __attribute__((__format__ (__printf__, 2, 3)));
4746
void g_string_append_vprintf (GString *string,
4747
const gchar *format,
4749
void g_string_append_printf (GString *string,
4750
const gchar *format,
4751
...) __attribute__((__format__ (__printf__, 2, 3)));
4752
GString * g_string_append_uri_escaped(GString *string,
4753
const char *unescaped,
4754
const char *reserved_chars_allowed,
4755
gboolean allow_utf8);
4759
static inline GString*
4760
g_string_append_c_inline (GString *gstring,
4763
if (gstring->len + 1 < gstring->allocated_len)
4765
gstring->str[gstring->len++] = c;
4766
gstring->str[gstring->len] = 0;
4769
g_string_insert_c (gstring, -1, c);
4772
# 167 "/usr/include/glib-2.0/glib/gstring.h"
4773
GString* g_string_down (GString *string);
4774
GString* g_string_up (GString *string);
4783
# 37 "/usr/include/glib-2.0/glib/giochannel.h" 2
4790
typedef struct _GIOChannel GIOChannel;
4791
typedef struct _GIOFuncs GIOFuncs;
4806
G_IO_CHANNEL_ERROR_FBIG,
4807
G_IO_CHANNEL_ERROR_INVAL,
4808
G_IO_CHANNEL_ERROR_IO,
4809
G_IO_CHANNEL_ERROR_ISDIR,
4810
G_IO_CHANNEL_ERROR_NOSPC,
4811
G_IO_CHANNEL_ERROR_NXIO,
4812
G_IO_CHANNEL_ERROR_OVERFLOW,
4813
G_IO_CHANNEL_ERROR_PIPE,
4815
G_IO_CHANNEL_ERROR_FAILED
4845
G_IO_FLAG_APPEND = 1 << 0,
4846
G_IO_FLAG_NONBLOCK = 1 << 1,
4847
G_IO_FLAG_IS_READABLE = 1 << 2,
4848
G_IO_FLAG_IS_WRITEABLE = 1 << 3,
4849
G_IO_FLAG_IS_SEEKABLE = 1 << 4,
4850
G_IO_FLAG_MASK = (1 << 5) - 1,
4851
G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK,
4852
G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK
4865
guint line_term_len;
4869
GString *encoded_read_buf;
4871
gchar partial_write_buf[6];
4875
guint use_buffer : 1;
4876
guint do_encode : 1;
4877
guint close_on_unref : 1;
4878
guint is_readable : 1;
4879
guint is_writeable : 1;
4880
guint is_seekable : 1;
4886
typedef gboolean (*GIOFunc) (GIOChannel *source,
4887
GIOCondition condition,
4891
GIOStatus (*io_read) (GIOChannel *channel,
4896
GIOStatus (*io_write) (GIOChannel *channel,
4899
gsize *bytes_written,
4901
GIOStatus (*io_seek) (GIOChannel *channel,
4905
GIOStatus (*io_close) (GIOChannel *channel,
4907
GSource* (*io_create_watch) (GIOChannel *channel,
4908
GIOCondition condition);
4909
void (*io_free) (GIOChannel *channel);
4910
GIOStatus (*io_set_flags) (GIOChannel *channel,
4913
GIOFlags (*io_get_flags) (GIOChannel *channel);
4916
void g_io_channel_init (GIOChannel *channel);
4917
GIOChannel *g_io_channel_ref (GIOChannel *channel);
4918
void g_io_channel_unref (GIOChannel *channel);
4921
GIOError g_io_channel_read (GIOChannel *channel,
4925
GIOError g_io_channel_write (GIOChannel *channel,
4928
gsize *bytes_written);
4929
GIOError g_io_channel_seek (GIOChannel *channel,
4932
void g_io_channel_close (GIOChannel *channel);
4935
GIOStatus g_io_channel_shutdown (GIOChannel *channel,
4938
guint g_io_add_watch_full (GIOChannel *channel,
4940
GIOCondition condition,
4943
GDestroyNotify notify);
4944
GSource * g_io_create_watch (GIOChannel *channel,
4945
GIOCondition condition);
4946
guint g_io_add_watch (GIOChannel *channel,
4947
GIOCondition condition,
4949
gpointer user_data);
4954
void g_io_channel_set_buffer_size (GIOChannel *channel,
4956
gsize g_io_channel_get_buffer_size (GIOChannel *channel);
4957
GIOCondition g_io_channel_get_buffer_condition (GIOChannel *channel);
4958
GIOStatus g_io_channel_set_flags (GIOChannel *channel,
4961
GIOFlags g_io_channel_get_flags (GIOChannel *channel);
4962
void g_io_channel_set_line_term (GIOChannel *channel,
4963
const gchar *line_term,
4965
const gchar* g_io_channel_get_line_term (GIOChannel *channel,
4967
void g_io_channel_set_buffered (GIOChannel *channel,
4969
gboolean g_io_channel_get_buffered (GIOChannel *channel);
4970
GIOStatus g_io_channel_set_encoding (GIOChannel *channel,
4971
const gchar *encoding,
4973
const gchar* g_io_channel_get_encoding (GIOChannel *channel);
4974
void g_io_channel_set_close_on_unref (GIOChannel *channel,
4976
gboolean g_io_channel_get_close_on_unref (GIOChannel *channel);
4979
GIOStatus g_io_channel_flush (GIOChannel *channel,
4981
GIOStatus g_io_channel_read_line (GIOChannel *channel,
4984
gsize *terminator_pos,
4986
GIOStatus g_io_channel_read_line_string (GIOChannel *channel,
4988
gsize *terminator_pos,
4990
GIOStatus g_io_channel_read_to_end (GIOChannel *channel,
4994
GIOStatus g_io_channel_read_chars (GIOChannel *channel,
4999
GIOStatus g_io_channel_read_unichar (GIOChannel *channel,
5002
GIOStatus g_io_channel_write_chars (GIOChannel *channel,
5005
gsize *bytes_written,
5007
GIOStatus g_io_channel_write_unichar (GIOChannel *channel,
5010
GIOStatus g_io_channel_seek_position (GIOChannel *channel,
5018
GIOChannel* g_io_channel_new_file (const gchar *filename,
5024
GQuark g_io_channel_error_quark (void);
5025
GIOChannelError g_io_channel_error_from_errno (gint en);
5026
# 298 "/usr/include/glib-2.0/glib/giochannel.h"
5027
GIOChannel* g_io_channel_unix_new (int fd);
5028
gint g_io_channel_unix_get_fd (GIOChannel *channel);
5032
extern GSourceFuncs g_io_watch_funcs;
5033
# 364 "/usr/include/glib-2.0/glib/giochannel.h"
5035
# 54 "/usr/include/glib-2.0/glib.h" 2
5036
# 1 "/usr/include/glib-2.0/glib/gkeyfile.h" 1
5037
# 30 "/usr/include/glib-2.0/glib/gkeyfile.h"
5038
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
5039
# 31 "/usr/include/glib-2.0/glib/gkeyfile.h" 2
5045
G_KEY_FILE_ERROR_UNKNOWN_ENCODING,
5046
G_KEY_FILE_ERROR_PARSE,
5047
G_KEY_FILE_ERROR_NOT_FOUND,
5048
G_KEY_FILE_ERROR_KEY_NOT_FOUND,
5049
G_KEY_FILE_ERROR_GROUP_NOT_FOUND,
5050
G_KEY_FILE_ERROR_INVALID_VALUE
5055
GQuark g_key_file_error_quark (void);
5057
typedef struct _GKeyFile GKeyFile;
5061
G_KEY_FILE_NONE = 0,
5062
G_KEY_FILE_KEEP_COMMENTS = 1 << 0,
5063
G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1
5066
GKeyFile *g_key_file_new (void);
5067
void g_key_file_free (GKeyFile *key_file);
5068
void g_key_file_set_list_separator (GKeyFile *key_file,
5070
gboolean g_key_file_load_from_file (GKeyFile *key_file,
5072
GKeyFileFlags flags,
5074
gboolean g_key_file_load_from_data (GKeyFile *key_file,
5077
GKeyFileFlags flags,
5079
gboolean g_key_file_load_from_dirs (GKeyFile *key_file,
5081
const gchar **search_dirs,
5083
GKeyFileFlags flags,
5085
gboolean g_key_file_load_from_data_dirs (GKeyFile *key_file,
5088
GKeyFileFlags flags,
5090
gchar *g_key_file_to_data (GKeyFile *key_file,
5092
GError **error) __attribute__((__malloc__));
5093
gchar *g_key_file_get_start_group (GKeyFile *key_file) __attribute__((__malloc__));
5094
gchar **g_key_file_get_groups (GKeyFile *key_file,
5095
gsize *length) __attribute__((__malloc__));
5096
gchar **g_key_file_get_keys (GKeyFile *key_file,
5097
const gchar *group_name,
5099
GError **error) __attribute__((__malloc__));
5100
gboolean g_key_file_has_group (GKeyFile *key_file,
5101
const gchar *group_name);
5102
gboolean g_key_file_has_key (GKeyFile *key_file,
5103
const gchar *group_name,
5106
gchar *g_key_file_get_value (GKeyFile *key_file,
5107
const gchar *group_name,
5109
GError **error) __attribute__((__malloc__));
5110
void g_key_file_set_value (GKeyFile *key_file,
5111
const gchar *group_name,
5113
const gchar *value);
5114
gchar *g_key_file_get_string (GKeyFile *key_file,
5115
const gchar *group_name,
5117
GError **error) __attribute__((__malloc__));
5118
void g_key_file_set_string (GKeyFile *key_file,
5119
const gchar *group_name,
5121
const gchar *string);
5122
gchar *g_key_file_get_locale_string (GKeyFile *key_file,
5123
const gchar *group_name,
5125
const gchar *locale,
5126
GError **error) __attribute__((__malloc__));
5127
void g_key_file_set_locale_string (GKeyFile *key_file,
5128
const gchar *group_name,
5130
const gchar *locale,
5131
const gchar *string);
5132
gboolean g_key_file_get_boolean (GKeyFile *key_file,
5133
const gchar *group_name,
5136
void g_key_file_set_boolean (GKeyFile *key_file,
5137
const gchar *group_name,
5140
gint g_key_file_get_integer (GKeyFile *key_file,
5141
const gchar *group_name,
5144
void g_key_file_set_integer (GKeyFile *key_file,
5145
const gchar *group_name,
5148
gint64 g_key_file_get_int64 (GKeyFile *key_file,
5149
const gchar *group_name,
5152
void g_key_file_set_int64 (GKeyFile *key_file,
5153
const gchar *group_name,
5156
guint64 g_key_file_get_uint64 (GKeyFile *key_file,
5157
const gchar *group_name,
5160
void g_key_file_set_uint64 (GKeyFile *key_file,
5161
const gchar *group_name,
5164
gdouble g_key_file_get_double (GKeyFile *key_file,
5165
const gchar *group_name,
5168
void g_key_file_set_double (GKeyFile *key_file,
5169
const gchar *group_name,
5172
gchar **g_key_file_get_string_list (GKeyFile *key_file,
5173
const gchar *group_name,
5176
GError **error) __attribute__((__malloc__));
5177
void g_key_file_set_string_list (GKeyFile *key_file,
5178
const gchar *group_name,
5180
const gchar * const list[],
5182
gchar **g_key_file_get_locale_string_list (GKeyFile *key_file,
5183
const gchar *group_name,
5185
const gchar *locale,
5187
GError **error) __attribute__((__malloc__));
5188
void g_key_file_set_locale_string_list (GKeyFile *key_file,
5189
const gchar *group_name,
5191
const gchar *locale,
5192
const gchar * const list[],
5194
gboolean *g_key_file_get_boolean_list (GKeyFile *key_file,
5195
const gchar *group_name,
5198
GError **error) __attribute__((__malloc__));
5199
void g_key_file_set_boolean_list (GKeyFile *key_file,
5200
const gchar *group_name,
5204
gint *g_key_file_get_integer_list (GKeyFile *key_file,
5205
const gchar *group_name,
5208
GError **error) __attribute__((__malloc__));
5209
void g_key_file_set_double_list (GKeyFile *key_file,
5210
const gchar *group_name,
5214
gdouble *g_key_file_get_double_list (GKeyFile *key_file,
5215
const gchar *group_name,
5218
GError **error) __attribute__((__malloc__));
5219
void g_key_file_set_integer_list (GKeyFile *key_file,
5220
const gchar *group_name,
5224
gboolean g_key_file_set_comment (GKeyFile *key_file,
5225
const gchar *group_name,
5227
const gchar *comment,
5229
gchar *g_key_file_get_comment (GKeyFile *key_file,
5230
const gchar *group_name,
5232
GError **error) __attribute__((__malloc__));
5234
gboolean g_key_file_remove_comment (GKeyFile *key_file,
5235
const gchar *group_name,
5238
gboolean g_key_file_remove_key (GKeyFile *key_file,
5239
const gchar *group_name,
5242
gboolean g_key_file_remove_group (GKeyFile *key_file,
5243
const gchar *group_name,
5245
# 266 "/usr/include/glib-2.0/glib/gkeyfile.h"
5247
# 55 "/usr/include/glib-2.0/glib.h" 2
5248
# 1 "/usr/include/glib-2.0/glib/glist.h" 1
5249
# 56 "/usr/include/glib-2.0/glib.h" 2
5250
# 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
5251
# 57 "/usr/include/glib-2.0/glib.h" 2
5252
# 1 "/usr/include/glib-2.0/glib/gmain.h" 1
5253
# 58 "/usr/include/glib-2.0/glib.h" 2
5254
# 1 "/usr/include/glib-2.0/glib/gmappedfile.h" 1
5255
# 29 "/usr/include/glib-2.0/glib/gmappedfile.h"
5256
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
5257
# 30 "/usr/include/glib-2.0/glib/gmappedfile.h" 2
5261
typedef struct _GMappedFile GMappedFile;
5263
GMappedFile *g_mapped_file_new (const gchar *filename,
5265
GError **error) __attribute__((__malloc__));
5266
gsize g_mapped_file_get_length (GMappedFile *file);
5267
gchar *g_mapped_file_get_contents (GMappedFile *file);
5268
GMappedFile *g_mapped_file_ref (GMappedFile *file);
5269
void g_mapped_file_unref (GMappedFile *file);
5272
void g_mapped_file_free (GMappedFile *file);
5276
# 59 "/usr/include/glib-2.0/glib.h" 2
5277
# 1 "/usr/include/glib-2.0/glib/gmarkup.h" 1
5278
# 30 "/usr/include/glib-2.0/glib/gmarkup.h"
5279
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
5280
# 31 "/usr/include/glib-2.0/glib/gmarkup.h" 2
5281
# 1 "/usr/include/glib-2.0/glib/gslist.h" 1
5282
# 32 "/usr/include/glib-2.0/glib/gmarkup.h" 2
5285
# 51 "/usr/include/glib-2.0/glib/gmarkup.h"
5288
G_MARKUP_ERROR_BAD_UTF8,
5289
G_MARKUP_ERROR_EMPTY,
5290
G_MARKUP_ERROR_PARSE,
5294
G_MARKUP_ERROR_UNKNOWN_ELEMENT,
5295
G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE,
5296
G_MARKUP_ERROR_INVALID_CONTENT,
5297
G_MARKUP_ERROR_MISSING_ATTRIBUTE
5299
# 74 "/usr/include/glib-2.0/glib/gmarkup.h"
5300
GQuark g_markup_error_quark (void);
5301
# 92 "/usr/include/glib-2.0/glib/gmarkup.h"
5304
G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0,
5305
G_MARKUP_TREAT_CDATA_AS_TEXT = 1 << 1,
5306
G_MARKUP_PREFIX_ERROR_POSITION = 1 << 2
5307
} GMarkupParseFlags;
5308
# 108 "/usr/include/glib-2.0/glib/gmarkup.h"
5309
typedef struct _GMarkupParseContext GMarkupParseContext;
5310
typedef struct _GMarkupParser GMarkupParser;
5311
# 138 "/usr/include/glib-2.0/glib/gmarkup.h"
5312
struct _GMarkupParser
5315
void (*start_element) (GMarkupParseContext *context,
5316
const gchar *element_name,
5317
const gchar **attribute_names,
5318
const gchar **attribute_values,
5323
void (*end_element) (GMarkupParseContext *context,
5324
const gchar *element_name,
5330
void (*text) (GMarkupParseContext *context,
5341
void (*passthrough) (GMarkupParseContext *context,
5342
const gchar *passthrough_text,
5350
void (*error) (GMarkupParseContext *context,
5352
gpointer user_data);
5355
GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser,
5356
GMarkupParseFlags flags,
5358
GDestroyNotify user_data_dnotify);
5359
void g_markup_parse_context_free (GMarkupParseContext *context);
5360
gboolean g_markup_parse_context_parse (GMarkupParseContext *context,
5364
void g_markup_parse_context_push (GMarkupParseContext *context,
5365
const GMarkupParser *parser,
5366
gpointer user_data);
5367
gpointer g_markup_parse_context_pop (GMarkupParseContext *context);
5369
gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context,
5371
const gchar *g_markup_parse_context_get_element (GMarkupParseContext *context);
5372
const GSList *g_markup_parse_context_get_element_stack (GMarkupParseContext *context);
5375
void g_markup_parse_context_get_position (GMarkupParseContext *context,
5378
gpointer g_markup_parse_context_get_user_data (GMarkupParseContext *context);
5381
gchar* g_markup_escape_text (const gchar *text,
5384
gchar *g_markup_printf_escaped (const char *format,
5385
...) __attribute__((__format__ (__printf__, 1, 2)));
5386
gchar *g_markup_vprintf_escaped (const char *format,
5391
G_MARKUP_COLLECT_INVALID,
5392
G_MARKUP_COLLECT_STRING,
5393
G_MARKUP_COLLECT_STRDUP,
5394
G_MARKUP_COLLECT_BOOLEAN,
5395
G_MARKUP_COLLECT_TRISTATE,
5397
G_MARKUP_COLLECT_OPTIONAL = (1 << 16)
5398
} GMarkupCollectType;
5402
gboolean g_markup_collect_attributes (const gchar *element_name,
5403
const gchar **attribute_names,
5404
const gchar **attribute_values,
5406
GMarkupCollectType first_type,
5407
const gchar *first_attr,
5411
# 60 "/usr/include/glib-2.0/glib.h" 2
5412
# 1 "/usr/include/glib-2.0/glib/gmem.h" 1
5413
# 61 "/usr/include/glib-2.0/glib.h" 2
5414
# 1 "/usr/include/glib-2.0/glib/gmessages.h" 1
5415
# 35 "/usr/include/glib-2.0/glib/gmessages.h"
5416
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
5417
# 36 "/usr/include/glib-2.0/glib/gmessages.h" 2
5418
# 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
5419
# 37 "/usr/include/glib-2.0/glib/gmessages.h" 2
5425
# 42 "/usr/include/glib-2.0/glib/gmessages.h" 3
5432
gsize g_printf_string_upper_bound (const gchar* format,
5434
# 58 "/usr/include/glib-2.0/glib/gmessages.h" 3
5438
G_LOG_FLAG_RECURSION = 1 << 0,
5439
G_LOG_FLAG_FATAL = 1 << 1,
5442
G_LOG_LEVEL_ERROR = 1 << 2,
5443
G_LOG_LEVEL_CRITICAL = 1 << 3,
5444
G_LOG_LEVEL_WARNING = 1 << 4,
5445
G_LOG_LEVEL_MESSAGE = 1 << 5,
5446
G_LOG_LEVEL_INFO = 1 << 6,
5447
G_LOG_LEVEL_DEBUG = 1 << 7,
5449
G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL)
5455
typedef void (*GLogFunc) (const gchar *log_domain,
5456
GLogLevelFlags log_level,
5457
const gchar *message,
5458
gpointer user_data);
5462
guint g_log_set_handler (const gchar *log_domain,
5463
GLogLevelFlags log_levels,
5465
gpointer user_data);
5466
void g_log_remove_handler (const gchar *log_domain,
5468
void g_log_default_handler (const gchar *log_domain,
5469
GLogLevelFlags log_level,
5470
const gchar *message,
5471
gpointer unused_data);
5472
GLogFunc g_log_set_default_handler (GLogFunc log_func,
5473
gpointer user_data);
5474
void g_log (const gchar *log_domain,
5475
GLogLevelFlags log_level,
5476
const gchar *format,
5477
...) __attribute__((__format__ (__printf__, 3, 4)));
5478
void g_logv (const gchar *log_domain,
5479
GLogLevelFlags log_level,
5480
const gchar *format,
5482
GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain,
5483
GLogLevelFlags fatal_mask);
5484
GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
5487
__attribute__((visibility("hidden"))) void _g_log_fallback_handler (const gchar *log_domain,
5488
GLogLevelFlags log_level,
5489
const gchar *message,
5490
gpointer unused_data);
5493
void g_return_if_fail_warning (const char *log_domain,
5494
const char *pretty_function,
5495
const char *expression);
5496
void g_warn_message (const char *domain,
5500
const char *warnexpr);
5502
void g_assert_warning (const char *log_domain,
5505
const char *pretty_function,
5506
const char *expression) __attribute__((__noreturn__));
5507
# 229 "/usr/include/glib-2.0/glib/gmessages.h" 3
5508
typedef void (*GPrintFunc) (const gchar *string);
5509
void g_print (const gchar *format,
5510
...) __attribute__((__format__ (__printf__, 1, 2)));
5511
GPrintFunc g_set_print_handler (GPrintFunc func);
5512
void g_printerr (const gchar *format,
5513
...) __attribute__((__format__ (__printf__, 1, 2)));
5514
GPrintFunc g_set_printerr_handler (GPrintFunc func);
5515
# 341 "/usr/include/glib-2.0/glib/gmessages.h" 3
5517
# 62 "/usr/include/glib-2.0/glib.h" 2
5518
# 1 "/usr/include/glib-2.0/glib/gnode.h" 1
5519
# 34 "/usr/include/glib-2.0/glib/gnode.h"
5520
# 1 "/usr/include/glib-2.0/glib/gmem.h" 1
5521
# 35 "/usr/include/glib-2.0/glib/gnode.h" 2
5525
typedef struct _GNode GNode;
5530
G_TRAVERSE_LEAVES = 1 << 0,
5531
G_TRAVERSE_NON_LEAVES = 1 << 1,
5532
G_TRAVERSE_ALL = G_TRAVERSE_LEAVES | G_TRAVERSE_NON_LEAVES,
5533
G_TRAVERSE_MASK = 0x03,
5534
G_TRAVERSE_LEAFS = G_TRAVERSE_LEAVES,
5535
G_TRAVERSE_NON_LEAFS = G_TRAVERSE_NON_LEAVES
5547
typedef gboolean (*GNodeTraverseFunc) (GNode *node,
5549
typedef void (*GNodeForeachFunc) (GNode *node,
5551
# 77 "/usr/include/glib-2.0/glib/gnode.h"
5552
typedef gpointer (*GCopyFunc) (gconstpointer src,
5565
# 115 "/usr/include/glib-2.0/glib/gnode.h"
5566
GNode* g_node_new (gpointer data);
5567
void g_node_destroy (GNode *root);
5568
void g_node_unlink (GNode *node);
5569
GNode* g_node_copy_deep (GNode *node,
5570
GCopyFunc copy_func,
5572
GNode* g_node_copy (GNode *node);
5573
GNode* g_node_insert (GNode *parent,
5576
GNode* g_node_insert_before (GNode *parent,
5579
GNode* g_node_insert_after (GNode *parent,
5582
GNode* g_node_prepend (GNode *parent,
5584
guint g_node_n_nodes (GNode *root,
5585
GTraverseFlags flags);
5586
GNode* g_node_get_root (GNode *node);
5587
gboolean g_node_is_ancestor (GNode *node,
5589
guint g_node_depth (GNode *node);
5590
GNode* g_node_find (GNode *root,
5591
GTraverseType order,
5592
GTraverseFlags flags,
5594
# 213 "/usr/include/glib-2.0/glib/gnode.h"
5595
void g_node_traverse (GNode *root,
5596
GTraverseType order,
5597
GTraverseFlags flags,
5599
GNodeTraverseFunc func,
5607
guint g_node_max_height (GNode *root);
5609
void g_node_children_foreach (GNode *node,
5610
GTraverseFlags flags,
5611
GNodeForeachFunc func,
5613
void g_node_reverse_children (GNode *node);
5614
guint g_node_n_children (GNode *node);
5615
GNode* g_node_nth_child (GNode *node,
5617
GNode* g_node_last_child (GNode *node);
5618
GNode* g_node_find_child (GNode *node,
5619
GTraverseFlags flags,
5621
gint g_node_child_position (GNode *node,
5623
gint g_node_child_index (GNode *node,
5626
GNode* g_node_first_sibling (GNode *node);
5627
GNode* g_node_last_sibling (GNode *node);
5628
# 284 "/usr/include/glib-2.0/glib/gnode.h"
5629
void g_node_push_allocator (gpointer dummy);
5630
void g_node_pop_allocator (void);
5634
# 63 "/usr/include/glib-2.0/glib.h" 2
5635
# 1 "/usr/include/glib-2.0/glib/goption.h" 1
5636
# 28 "/usr/include/glib-2.0/glib/goption.h"
5637
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
5638
# 29 "/usr/include/glib-2.0/glib/goption.h" 2
5639
# 1 "/usr/include/glib-2.0/glib/gquark.h" 1
5640
# 30 "/usr/include/glib-2.0/glib/goption.h" 2
5643
# 40 "/usr/include/glib-2.0/glib/goption.h"
5644
typedef struct _GOptionContext GOptionContext;
5645
# 53 "/usr/include/glib-2.0/glib/goption.h"
5646
typedef struct _GOptionGroup GOptionGroup;
5647
typedef struct _GOptionEntry GOptionEntry;
5648
# 82 "/usr/include/glib-2.0/glib/goption.h"
5651
G_OPTION_FLAG_HIDDEN = 1 << 0,
5652
G_OPTION_FLAG_IN_MAIN = 1 << 1,
5653
G_OPTION_FLAG_REVERSE = 1 << 2,
5654
G_OPTION_FLAG_NO_ARG = 1 << 3,
5655
G_OPTION_FLAG_FILENAME = 1 << 4,
5656
G_OPTION_FLAG_OPTIONAL_ARG = 1 << 5,
5657
G_OPTION_FLAG_NOALIAS = 1 << 6
5659
# 118 "/usr/include/glib-2.0/glib/goption.h"
5663
G_OPTION_ARG_STRING,
5665
G_OPTION_ARG_CALLBACK,
5666
G_OPTION_ARG_FILENAME,
5667
G_OPTION_ARG_STRING_ARRAY,
5668
G_OPTION_ARG_FILENAME_ARRAY,
5669
G_OPTION_ARG_DOUBLE,
5672
# 148 "/usr/include/glib-2.0/glib/goption.h"
5673
typedef gboolean (*GOptionArgFunc) (const gchar *option_name,
5677
# 166 "/usr/include/glib-2.0/glib/goption.h"
5678
typedef gboolean (*GOptionParseFunc) (GOptionContext *context,
5679
GOptionGroup *group,
5682
# 181 "/usr/include/glib-2.0/glib/goption.h"
5683
typedef void (*GOptionErrorFunc) (GOptionContext *context,
5684
GOptionGroup *group,
5687
# 205 "/usr/include/glib-2.0/glib/goption.h"
5690
G_OPTION_ERROR_UNKNOWN_OPTION,
5691
G_OPTION_ERROR_BAD_VALUE,
5692
G_OPTION_ERROR_FAILED
5695
GQuark g_option_error_quark (void);
5696
# 279 "/usr/include/glib-2.0/glib/goption.h"
5697
struct _GOptionEntry
5699
const gchar *long_name;
5706
const gchar *description;
5707
const gchar *arg_description;
5709
# 310 "/usr/include/glib-2.0/glib/goption.h"
5710
GOptionContext *g_option_context_new (const gchar *parameter_string);
5711
void g_option_context_set_summary (GOptionContext *context,
5712
const gchar *summary);
5713
const gchar *g_option_context_get_summary (GOptionContext *context);
5714
void g_option_context_set_description (GOptionContext *context,
5715
const gchar *description);
5716
const gchar *g_option_context_get_description (GOptionContext *context);
5717
void g_option_context_free (GOptionContext *context);
5718
void g_option_context_set_help_enabled (GOptionContext *context,
5719
gboolean help_enabled);
5720
gboolean g_option_context_get_help_enabled (GOptionContext *context);
5721
void g_option_context_set_ignore_unknown_options (GOptionContext *context,
5722
gboolean ignore_unknown);
5723
gboolean g_option_context_get_ignore_unknown_options (GOptionContext *context);
5725
void g_option_context_add_main_entries (GOptionContext *context,
5726
const GOptionEntry *entries,
5727
const gchar *translation_domain);
5728
gboolean g_option_context_parse (GOptionContext *context,
5732
void g_option_context_set_translate_func (GOptionContext *context,
5733
GTranslateFunc func,
5735
GDestroyNotify destroy_notify);
5736
void g_option_context_set_translation_domain (GOptionContext *context,
5737
const gchar *domain);
5739
void g_option_context_add_group (GOptionContext *context,
5740
GOptionGroup *group);
5741
void g_option_context_set_main_group (GOptionContext *context,
5742
GOptionGroup *group);
5743
GOptionGroup *g_option_context_get_main_group (GOptionContext *context);
5744
gchar *g_option_context_get_help (GOptionContext *context,
5746
GOptionGroup *group);
5748
GOptionGroup *g_option_group_new (const gchar *name,
5749
const gchar *description,
5750
const gchar *help_description,
5752
GDestroyNotify destroy);
5753
void g_option_group_set_parse_hooks (GOptionGroup *group,
5754
GOptionParseFunc pre_parse_func,
5755
GOptionParseFunc post_parse_func);
5756
void g_option_group_set_error_hook (GOptionGroup *group,
5757
GOptionErrorFunc error_func);
5758
void g_option_group_free (GOptionGroup *group);
5759
void g_option_group_add_entries (GOptionGroup *group,
5760
const GOptionEntry *entries);
5761
void g_option_group_set_translate_func (GOptionGroup *group,
5762
GTranslateFunc func,
5764
GDestroyNotify destroy_notify);
5765
void g_option_group_set_translation_domain (GOptionGroup *group,
5766
const gchar *domain);
5769
# 64 "/usr/include/glib-2.0/glib.h" 2
5770
# 1 "/usr/include/glib-2.0/glib/gpattern.h" 1
5771
# 27 "/usr/include/glib-2.0/glib/gpattern.h"
5772
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
5773
# 28 "/usr/include/glib-2.0/glib/gpattern.h" 2
5778
typedef struct _GPatternSpec GPatternSpec;
5780
GPatternSpec* g_pattern_spec_new (const gchar *pattern);
5781
void g_pattern_spec_free (GPatternSpec *pspec);
5782
gboolean g_pattern_spec_equal (GPatternSpec *pspec1,
5783
GPatternSpec *pspec2);
5784
gboolean g_pattern_match (GPatternSpec *pspec,
5785
guint string_length,
5786
const gchar *string,
5787
const gchar *string_reversed);
5788
gboolean g_pattern_match_string (GPatternSpec *pspec,
5789
const gchar *string);
5790
gboolean g_pattern_match_simple (const gchar *pattern,
5791
const gchar *string);
5794
# 65 "/usr/include/glib-2.0/glib.h" 2
5795
# 1 "/usr/include/glib-2.0/glib/gpoll.h" 1
5796
# 66 "/usr/include/glib-2.0/glib.h" 2
5797
# 1 "/usr/include/glib-2.0/glib/gprimes.h" 1
5798
# 34 "/usr/include/glib-2.0/glib/gprimes.h"
5799
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
5800
# 35 "/usr/include/glib-2.0/glib/gprimes.h" 2
5803
# 47 "/usr/include/glib-2.0/glib/gprimes.h"
5804
guint g_spaced_primes_closest (guint num) __attribute__((__const__));
5807
# 67 "/usr/include/glib-2.0/glib.h" 2
5808
# 1 "/usr/include/glib-2.0/glib/gqsort.h" 1
5809
# 34 "/usr/include/glib-2.0/glib/gqsort.h"
5810
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
5811
# 35 "/usr/include/glib-2.0/glib/gqsort.h" 2
5815
void g_qsort_with_data (gconstpointer pbase,
5818
GCompareDataFunc compare_func,
5819
gpointer user_data);
5822
# 68 "/usr/include/glib-2.0/glib.h" 2
5823
# 1 "/usr/include/glib-2.0/glib/gquark.h" 1
5824
# 69 "/usr/include/glib-2.0/glib.h" 2
5825
# 1 "/usr/include/glib-2.0/glib/gqueue.h" 1
5826
# 34 "/usr/include/glib-2.0/glib/gqueue.h"
5827
# 1 "/usr/include/glib-2.0/glib/glist.h" 1
5828
# 35 "/usr/include/glib-2.0/glib/gqueue.h" 2
5832
typedef struct _GQueue GQueue;
5845
GQueue* g_queue_new (void);
5846
void g_queue_free (GQueue *queue);
5847
void g_queue_init (GQueue *queue);
5848
void g_queue_clear (GQueue *queue);
5849
gboolean g_queue_is_empty (GQueue *queue);
5850
guint g_queue_get_length (GQueue *queue);
5851
void g_queue_reverse (GQueue *queue);
5852
GQueue * g_queue_copy (GQueue *queue);
5853
void g_queue_foreach (GQueue *queue,
5855
gpointer user_data);
5856
GList * g_queue_find (GQueue *queue,
5857
gconstpointer data);
5858
GList * g_queue_find_custom (GQueue *queue,
5861
void g_queue_sort (GQueue *queue,
5862
GCompareDataFunc compare_func,
5863
gpointer user_data);
5865
void g_queue_push_head (GQueue *queue,
5867
void g_queue_push_tail (GQueue *queue,
5869
void g_queue_push_nth (GQueue *queue,
5872
gpointer g_queue_pop_head (GQueue *queue);
5873
gpointer g_queue_pop_tail (GQueue *queue);
5874
gpointer g_queue_pop_nth (GQueue *queue,
5876
gpointer g_queue_peek_head (GQueue *queue);
5877
gpointer g_queue_peek_tail (GQueue *queue);
5878
gpointer g_queue_peek_nth (GQueue *queue,
5880
gint g_queue_index (GQueue *queue,
5881
gconstpointer data);
5882
void g_queue_remove (GQueue *queue,
5883
gconstpointer data);
5884
void g_queue_remove_all (GQueue *queue,
5885
gconstpointer data);
5886
void g_queue_insert_before (GQueue *queue,
5889
void g_queue_insert_after (GQueue *queue,
5892
void g_queue_insert_sorted (GQueue *queue,
5894
GCompareDataFunc func,
5895
gpointer user_data);
5897
void g_queue_push_head_link (GQueue *queue,
5899
void g_queue_push_tail_link (GQueue *queue,
5901
void g_queue_push_nth_link (GQueue *queue,
5904
GList* g_queue_pop_head_link (GQueue *queue);
5905
GList* g_queue_pop_tail_link (GQueue *queue);
5906
GList* g_queue_pop_nth_link (GQueue *queue,
5908
GList* g_queue_peek_head_link (GQueue *queue);
5909
GList* g_queue_peek_tail_link (GQueue *queue);
5910
GList* g_queue_peek_nth_link (GQueue *queue,
5912
gint g_queue_link_index (GQueue *queue,
5914
void g_queue_unlink (GQueue *queue,
5916
void g_queue_delete_link (GQueue *queue,
5920
# 70 "/usr/include/glib-2.0/glib.h" 2
5921
# 1 "/usr/include/glib-2.0/glib/grand.h" 1
5922
# 34 "/usr/include/glib-2.0/glib/grand.h"
5923
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
5924
# 35 "/usr/include/glib-2.0/glib/grand.h" 2
5928
typedef struct _GRand GRand;
5929
# 49 "/usr/include/glib-2.0/glib/grand.h"
5930
GRand* g_rand_new_with_seed (guint32 seed);
5931
GRand* g_rand_new_with_seed_array (const guint32 *seed,
5933
GRand* g_rand_new (void);
5934
void g_rand_free (GRand *rand_);
5935
GRand* g_rand_copy (GRand *rand_);
5936
void g_rand_set_seed (GRand *rand_,
5938
void g_rand_set_seed_array (GRand *rand_,
5939
const guint32 *seed,
5944
guint32 g_rand_int (GRand *rand_);
5945
gint32 g_rand_int_range (GRand *rand_,
5948
gdouble g_rand_double (GRand *rand_);
5949
gdouble g_rand_double_range (GRand *rand_,
5952
void g_random_set_seed (guint32 seed);
5956
guint32 g_random_int (void);
5957
gint32 g_random_int_range (gint32 begin,
5959
gdouble g_random_double (void);
5960
gdouble g_random_double_range (gdouble begin,
5965
# 71 "/usr/include/glib-2.0/glib.h" 2
5966
# 1 "/usr/include/glib-2.0/glib/grel.h" 1
5967
# 34 "/usr/include/glib-2.0/glib/grel.h"
5968
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
5969
# 35 "/usr/include/glib-2.0/glib/grel.h" 2
5973
typedef struct _GRelation GRelation;
5974
typedef struct _GTuples GTuples;
5980
# 71 "/usr/include/glib-2.0/glib/grel.h"
5981
GRelation* g_relation_new (gint fields);
5982
void g_relation_destroy (GRelation *relation);
5983
void g_relation_index (GRelation *relation,
5985
GHashFunc hash_func,
5986
GEqualFunc key_equal_func);
5987
void g_relation_insert (GRelation *relation,
5989
gint g_relation_delete (GRelation *relation,
5992
GTuples* g_relation_select (GRelation *relation,
5995
gint g_relation_count (GRelation *relation,
5998
gboolean g_relation_exists (GRelation *relation,
6000
void g_relation_print (GRelation *relation);
6002
void g_tuples_destroy (GTuples *tuples);
6003
gpointer g_tuples_index (GTuples *tuples,
6010
# 72 "/usr/include/glib-2.0/glib.h" 2
6011
# 1 "/usr/include/glib-2.0/glib/gregex.h" 1
6012
# 29 "/usr/include/glib-2.0/glib/gregex.h"
6013
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
6014
# 30 "/usr/include/glib-2.0/glib/gregex.h" 2
6015
# 1 "/usr/include/glib-2.0/glib/gstring.h" 1
6016
# 31 "/usr/include/glib-2.0/glib/gregex.h" 2
6019
# 117 "/usr/include/glib-2.0/glib/gregex.h"
6022
G_REGEX_ERROR_COMPILE,
6023
G_REGEX_ERROR_OPTIMIZE,
6024
G_REGEX_ERROR_REPLACE,
6025
G_REGEX_ERROR_MATCH,
6026
G_REGEX_ERROR_INTERNAL,
6029
G_REGEX_ERROR_STRAY_BACKSLASH = 101,
6030
G_REGEX_ERROR_MISSING_CONTROL_CHAR = 102,
6031
G_REGEX_ERROR_UNRECOGNIZED_ESCAPE = 103,
6032
G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER = 104,
6033
G_REGEX_ERROR_QUANTIFIER_TOO_BIG = 105,
6034
G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS = 106,
6035
G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS = 107,
6036
G_REGEX_ERROR_RANGE_OUT_OF_ORDER = 108,
6037
G_REGEX_ERROR_NOTHING_TO_REPEAT = 109,
6038
G_REGEX_ERROR_UNRECOGNIZED_CHARACTER = 112,
6039
G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS = 113,
6040
G_REGEX_ERROR_UNMATCHED_PARENTHESIS = 114,
6041
G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE = 115,
6042
G_REGEX_ERROR_UNTERMINATED_COMMENT = 118,
6043
G_REGEX_ERROR_EXPRESSION_TOO_LARGE = 120,
6044
G_REGEX_ERROR_MEMORY_ERROR = 121,
6045
G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND = 125,
6046
G_REGEX_ERROR_MALFORMED_CONDITION = 126,
6047
G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES = 127,
6048
G_REGEX_ERROR_ASSERTION_EXPECTED = 128,
6049
G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME = 130,
6050
G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED = 131,
6051
G_REGEX_ERROR_HEX_CODE_TOO_LARGE = 134,
6052
G_REGEX_ERROR_INVALID_CONDITION = 135,
6053
G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND = 136,
6054
G_REGEX_ERROR_INFINITE_LOOP = 140,
6055
G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR = 142,
6056
G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME = 143,
6057
G_REGEX_ERROR_MALFORMED_PROPERTY = 146,
6058
G_REGEX_ERROR_UNKNOWN_PROPERTY = 147,
6059
G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG = 148,
6060
G_REGEX_ERROR_TOO_MANY_SUBPATTERNS = 149,
6061
G_REGEX_ERROR_INVALID_OCTAL_VALUE = 151,
6062
G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE = 154,
6063
G_REGEX_ERROR_DEFINE_REPETION = 155,
6064
G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS = 156,
6065
G_REGEX_ERROR_MISSING_BACK_REFERENCE = 157
6067
# 176 "/usr/include/glib-2.0/glib/gregex.h"
6068
GQuark g_regex_error_quark (void);
6069
# 243 "/usr/include/glib-2.0/glib/gregex.h"
6072
G_REGEX_CASELESS = 1 << 0,
6073
G_REGEX_MULTILINE = 1 << 1,
6074
G_REGEX_DOTALL = 1 << 2,
6075
G_REGEX_EXTENDED = 1 << 3,
6076
G_REGEX_ANCHORED = 1 << 4,
6077
G_REGEX_DOLLAR_ENDONLY = 1 << 5,
6078
G_REGEX_UNGREEDY = 1 << 9,
6079
G_REGEX_RAW = 1 << 11,
6080
G_REGEX_NO_AUTO_CAPTURE = 1 << 12,
6081
G_REGEX_OPTIMIZE = 1 << 13,
6082
G_REGEX_DUPNAMES = 1 << 19,
6083
G_REGEX_NEWLINE_CR = 1 << 20,
6084
G_REGEX_NEWLINE_LF = 1 << 21,
6085
G_REGEX_NEWLINE_CRLF = G_REGEX_NEWLINE_CR | G_REGEX_NEWLINE_LF
6086
} GRegexCompileFlags;
6087
# 306 "/usr/include/glib-2.0/glib/gregex.h"
6090
G_REGEX_MATCH_ANCHORED = 1 << 4,
6091
G_REGEX_MATCH_NOTBOL = 1 << 7,
6092
G_REGEX_MATCH_NOTEOL = 1 << 8,
6093
G_REGEX_MATCH_NOTEMPTY = 1 << 10,
6094
G_REGEX_MATCH_PARTIAL = 1 << 15,
6095
G_REGEX_MATCH_NEWLINE_CR = 1 << 20,
6096
G_REGEX_MATCH_NEWLINE_LF = 1 << 21,
6097
G_REGEX_MATCH_NEWLINE_CRLF = G_REGEX_MATCH_NEWLINE_CR | G_REGEX_MATCH_NEWLINE_LF,
6098
G_REGEX_MATCH_NEWLINE_ANY = 1 << 22
6100
# 327 "/usr/include/glib-2.0/glib/gregex.h"
6101
typedef struct _GRegex GRegex;
6104
typedef struct _GMatchInfo GMatchInfo;
6105
# 349 "/usr/include/glib-2.0/glib/gregex.h"
6106
typedef gboolean (*GRegexEvalCallback) (const GMatchInfo *match_info,
6108
gpointer user_data);
6111
GRegex *g_regex_new (const gchar *pattern,
6112
GRegexCompileFlags compile_options,
6113
GRegexMatchFlags match_options,
6115
GRegex *g_regex_ref (GRegex *regex);
6116
void g_regex_unref (GRegex *regex);
6117
const gchar *g_regex_get_pattern (const GRegex *regex);
6118
gint g_regex_get_max_backref (const GRegex *regex);
6119
gint g_regex_get_capture_count (const GRegex *regex);
6120
gint g_regex_get_string_number (const GRegex *regex,
6122
gchar *g_regex_escape_string (const gchar *string,
6125
GRegexCompileFlags g_regex_get_compile_flags (const GRegex *regex);
6126
GRegexMatchFlags g_regex_get_match_flags (const GRegex *regex);
6129
gboolean g_regex_match_simple (const gchar *pattern,
6130
const gchar *string,
6131
GRegexCompileFlags compile_options,
6132
GRegexMatchFlags match_options);
6133
gboolean g_regex_match (const GRegex *regex,
6134
const gchar *string,
6135
GRegexMatchFlags match_options,
6136
GMatchInfo **match_info);
6137
gboolean g_regex_match_full (const GRegex *regex,
6138
const gchar *string,
6140
gint start_position,
6141
GRegexMatchFlags match_options,
6142
GMatchInfo **match_info,
6144
gboolean g_regex_match_all (const GRegex *regex,
6145
const gchar *string,
6146
GRegexMatchFlags match_options,
6147
GMatchInfo **match_info);
6148
gboolean g_regex_match_all_full (const GRegex *regex,
6149
const gchar *string,
6151
gint start_position,
6152
GRegexMatchFlags match_options,
6153
GMatchInfo **match_info,
6157
gchar **g_regex_split_simple (const gchar *pattern,
6158
const gchar *string,
6159
GRegexCompileFlags compile_options,
6160
GRegexMatchFlags match_options);
6161
gchar **g_regex_split (const GRegex *regex,
6162
const gchar *string,
6163
GRegexMatchFlags match_options);
6164
gchar **g_regex_split_full (const GRegex *regex,
6165
const gchar *string,
6167
gint start_position,
6168
GRegexMatchFlags match_options,
6173
gchar *g_regex_replace (const GRegex *regex,
6174
const gchar *string,
6176
gint start_position,
6177
const gchar *replacement,
6178
GRegexMatchFlags match_options,
6180
gchar *g_regex_replace_literal (const GRegex *regex,
6181
const gchar *string,
6183
gint start_position,
6184
const gchar *replacement,
6185
GRegexMatchFlags match_options,
6187
gchar *g_regex_replace_eval (const GRegex *regex,
6188
const gchar *string,
6190
gint start_position,
6191
GRegexMatchFlags match_options,
6192
GRegexEvalCallback eval,
6195
gboolean g_regex_check_replacement (const gchar *replacement,
6196
gboolean *has_references,
6200
GRegex *g_match_info_get_regex (const GMatchInfo *match_info);
6201
const gchar *g_match_info_get_string (const GMatchInfo *match_info);
6203
void g_match_info_free (GMatchInfo *match_info);
6204
gboolean g_match_info_next (GMatchInfo *match_info,
6206
gboolean g_match_info_matches (const GMatchInfo *match_info);
6207
gint g_match_info_get_match_count (const GMatchInfo *match_info);
6208
gboolean g_match_info_is_partial_match (const GMatchInfo *match_info);
6209
gchar *g_match_info_expand_references(const GMatchInfo *match_info,
6210
const gchar *string_to_expand,
6212
gchar *g_match_info_fetch (const GMatchInfo *match_info,
6214
gboolean g_match_info_fetch_pos (const GMatchInfo *match_info,
6218
gchar *g_match_info_fetch_named (const GMatchInfo *match_info,
6220
gboolean g_match_info_fetch_named_pos (const GMatchInfo *match_info,
6224
gchar **g_match_info_fetch_all (const GMatchInfo *match_info);
6227
# 73 "/usr/include/glib-2.0/glib.h" 2
6228
# 1 "/usr/include/glib-2.0/glib/gscanner.h" 1
6229
# 34 "/usr/include/glib-2.0/glib/gscanner.h"
6230
# 1 "/usr/include/glib-2.0/glib/gdataset.h" 1
6231
# 35 "/usr/include/glib-2.0/glib/gscanner.h" 2
6232
# 1 "/usr/include/glib-2.0/glib/ghash.h" 1
6233
# 36 "/usr/include/glib-2.0/glib/gscanner.h" 2
6237
typedef struct _GScanner GScanner;
6238
typedef struct _GScannerConfig GScannerConfig;
6239
typedef union _GTokenValue GTokenValue;
6241
typedef void (*GScannerMsgFunc) (GScanner *scanner,
6244
# 64 "/usr/include/glib-2.0/glib/gscanner.h"
6249
G_ERR_UNEXP_EOF_IN_STRING,
6250
G_ERR_UNEXP_EOF_IN_COMMENT,
6251
G_ERR_NON_DIGIT_IN_CONST,
6254
G_ERR_FLOAT_MALFORMED
6262
G_TOKEN_LEFT_PAREN = '(',
6263
G_TOKEN_RIGHT_PAREN = ')',
6264
G_TOKEN_LEFT_CURLY = '{',
6265
G_TOKEN_RIGHT_CURLY = '}',
6266
G_TOKEN_LEFT_BRACE = '[',
6267
G_TOKEN_RIGHT_BRACE = ']',
6268
G_TOKEN_EQUAL_SIGN = '=',
6269
G_TOKEN_COMMA = ',',
6285
G_TOKEN_IDENTIFIER_NULL,
6287
G_TOKEN_COMMENT_SINGLE,
6288
G_TOKEN_COMMENT_MULTI,
6295
gchar *v_identifier;
6308
struct _GScannerConfig
6312
gchar *cset_skip_characters;
6313
gchar *cset_identifier_first;
6314
gchar *cset_identifier_nth;
6315
gchar *cpair_comment_single;
6319
guint case_sensitive : 1;
6324
guint skip_comment_multi : 1;
6325
guint skip_comment_single : 1;
6326
guint scan_comment_multi : 1;
6327
guint scan_identifier : 1;
6328
guint scan_identifier_1char : 1;
6329
guint scan_identifier_NULL : 1;
6330
guint scan_symbols : 1;
6331
guint scan_binary : 1;
6332
guint scan_octal : 1;
6333
guint scan_float : 1;
6335
guint scan_hex_dollar : 1;
6336
guint scan_string_sq : 1;
6337
guint scan_string_dq : 1;
6338
guint numbers_2_int : 1;
6339
guint int_2_float : 1;
6340
guint identifier_2_string : 1;
6341
guint char_2_token : 1;
6342
guint symbol_2_token : 1;
6343
guint scope_0_fallback : 1;
6344
guint store_int64 : 1;
6345
guint padding_dummy;
6352
guint max_parse_errors;
6358
const gchar *input_name;
6364
GScannerConfig *config;
6373
GTokenType next_token;
6374
GTokenValue next_value;
6376
guint next_position;
6379
GHashTable *symbol_table;
6382
const gchar *text_end;
6387
GScannerMsgFunc msg_handler;
6390
GScanner* g_scanner_new (const GScannerConfig *config_templ);
6391
void g_scanner_destroy (GScanner *scanner);
6392
void g_scanner_input_file (GScanner *scanner,
6394
void g_scanner_sync_file_offset (GScanner *scanner);
6395
void g_scanner_input_text (GScanner *scanner,
6398
GTokenType g_scanner_get_next_token (GScanner *scanner);
6399
GTokenType g_scanner_peek_next_token (GScanner *scanner);
6400
GTokenType g_scanner_cur_token (GScanner *scanner);
6401
GTokenValue g_scanner_cur_value (GScanner *scanner);
6402
guint g_scanner_cur_line (GScanner *scanner);
6403
guint g_scanner_cur_position (GScanner *scanner);
6404
gboolean g_scanner_eof (GScanner *scanner);
6405
guint g_scanner_set_scope (GScanner *scanner,
6407
void g_scanner_scope_add_symbol (GScanner *scanner,
6409
const gchar *symbol,
6411
void g_scanner_scope_remove_symbol (GScanner *scanner,
6413
const gchar *symbol);
6414
gpointer g_scanner_scope_lookup_symbol (GScanner *scanner,
6416
const gchar *symbol);
6417
void g_scanner_scope_foreach_symbol (GScanner *scanner,
6420
gpointer user_data);
6421
gpointer g_scanner_lookup_symbol (GScanner *scanner,
6422
const gchar *symbol);
6423
void g_scanner_unexp_token (GScanner *scanner,
6424
GTokenType expected_token,
6425
const gchar *identifier_spec,
6426
const gchar *symbol_spec,
6427
const gchar *symbol_name,
6428
const gchar *message,
6430
void g_scanner_error (GScanner *scanner,
6431
const gchar *format,
6432
...) __attribute__((__format__ (__printf__, 2, 3)));
6433
void g_scanner_warn (GScanner *scanner,
6434
const gchar *format,
6435
...) __attribute__((__format__ (__printf__, 2, 3)));
6436
# 276 "/usr/include/glib-2.0/glib/gscanner.h"
6438
# 74 "/usr/include/glib-2.0/glib.h" 2
6439
# 1 "/usr/include/glib-2.0/glib/gsequence.h" 1
6440
# 28 "/usr/include/glib-2.0/glib/gsequence.h"
6441
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
6442
# 29 "/usr/include/glib-2.0/glib/gsequence.h" 2
6446
typedef struct _GSequence GSequence;
6447
typedef struct _GSequenceNode GSequenceIter;
6449
typedef gint (* GSequenceIterCompareFunc) (GSequenceIter *a,
6455
GSequence * g_sequence_new (GDestroyNotify data_destroy);
6456
void g_sequence_free (GSequence *seq);
6457
gint g_sequence_get_length (GSequence *seq);
6458
void g_sequence_foreach (GSequence *seq,
6460
gpointer user_data);
6461
void g_sequence_foreach_range (GSequenceIter *begin,
6464
gpointer user_data);
6465
void g_sequence_sort (GSequence *seq,
6466
GCompareDataFunc cmp_func,
6468
void g_sequence_sort_iter (GSequence *seq,
6469
GSequenceIterCompareFunc cmp_func,
6474
GSequenceIter *g_sequence_get_begin_iter (GSequence *seq);
6475
GSequenceIter *g_sequence_get_end_iter (GSequence *seq);
6476
GSequenceIter *g_sequence_get_iter_at_pos (GSequence *seq,
6478
GSequenceIter *g_sequence_append (GSequence *seq,
6480
GSequenceIter *g_sequence_prepend (GSequence *seq,
6482
GSequenceIter *g_sequence_insert_before (GSequenceIter *iter,
6484
void g_sequence_move (GSequenceIter *src,
6485
GSequenceIter *dest);
6486
void g_sequence_swap (GSequenceIter *a,
6488
GSequenceIter *g_sequence_insert_sorted (GSequence *seq,
6490
GCompareDataFunc cmp_func,
6492
GSequenceIter *g_sequence_insert_sorted_iter (GSequence *seq,
6494
GSequenceIterCompareFunc iter_cmp,
6496
void g_sequence_sort_changed (GSequenceIter *iter,
6497
GCompareDataFunc cmp_func,
6499
void g_sequence_sort_changed_iter (GSequenceIter *iter,
6500
GSequenceIterCompareFunc iter_cmp,
6502
void g_sequence_remove (GSequenceIter *iter);
6503
void g_sequence_remove_range (GSequenceIter *begin,
6504
GSequenceIter *end);
6505
void g_sequence_move_range (GSequenceIter *dest,
6506
GSequenceIter *begin,
6507
GSequenceIter *end);
6508
GSequenceIter *g_sequence_search (GSequence *seq,
6510
GCompareDataFunc cmp_func,
6512
GSequenceIter *g_sequence_search_iter (GSequence *seq,
6514
GSequenceIterCompareFunc iter_cmp,
6516
GSequenceIter *g_sequence_lookup (GSequence *seq,
6518
GCompareDataFunc cmp_func,
6520
GSequenceIter *g_sequence_lookup_iter (GSequence *seq,
6522
GSequenceIterCompareFunc iter_cmp,
6527
gpointer g_sequence_get (GSequenceIter *iter);
6528
void g_sequence_set (GSequenceIter *iter,
6532
gboolean g_sequence_iter_is_begin (GSequenceIter *iter);
6533
gboolean g_sequence_iter_is_end (GSequenceIter *iter);
6534
GSequenceIter *g_sequence_iter_next (GSequenceIter *iter);
6535
GSequenceIter *g_sequence_iter_prev (GSequenceIter *iter);
6536
gint g_sequence_iter_get_position (GSequenceIter *iter);
6537
GSequenceIter *g_sequence_iter_move (GSequenceIter *iter,
6539
GSequence * g_sequence_iter_get_sequence (GSequenceIter *iter);
6543
gint g_sequence_iter_compare (GSequenceIter *a,
6545
GSequenceIter *g_sequence_range_get_midpoint (GSequenceIter *begin,
6546
GSequenceIter *end);
6549
# 75 "/usr/include/glib-2.0/glib.h" 2
6550
# 1 "/usr/include/glib-2.0/glib/gshell.h" 1
6551
# 28 "/usr/include/glib-2.0/glib/gshell.h"
6552
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
6553
# 29 "/usr/include/glib-2.0/glib/gshell.h" 2
6562
G_SHELL_ERROR_BAD_QUOTING,
6564
G_SHELL_ERROR_EMPTY_STRING,
6565
G_SHELL_ERROR_FAILED
6568
GQuark g_shell_error_quark (void);
6570
gchar* g_shell_quote (const gchar *unquoted_string);
6571
gchar* g_shell_unquote (const gchar *quoted_string,
6573
gboolean g_shell_parse_argv (const gchar *command_line,
6579
# 76 "/usr/include/glib-2.0/glib.h" 2
6580
# 1 "/usr/include/glib-2.0/glib/gslice.h" 1
6581
# 77 "/usr/include/glib-2.0/glib.h" 2
6582
# 1 "/usr/include/glib-2.0/glib/gslist.h" 1
6583
# 78 "/usr/include/glib-2.0/glib.h" 2
6584
# 1 "/usr/include/glib-2.0/glib/gspawn.h" 1
6585
# 28 "/usr/include/glib-2.0/glib/gspawn.h"
6586
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
6587
# 29 "/usr/include/glib-2.0/glib/gspawn.h" 2
6598
G_SPAWN_ERROR_CHDIR,
6599
G_SPAWN_ERROR_ACCES,
6602
G_SPAWN_ERROR_NOEXEC,
6603
G_SPAWN_ERROR_NAMETOOLONG,
6604
G_SPAWN_ERROR_NOENT,
6605
G_SPAWN_ERROR_NOMEM,
6606
G_SPAWN_ERROR_NOTDIR,
6608
G_SPAWN_ERROR_TXTBUSY,
6610
G_SPAWN_ERROR_NFILE,
6611
G_SPAWN_ERROR_MFILE,
6612
G_SPAWN_ERROR_INVAL,
6613
G_SPAWN_ERROR_ISDIR,
6614
G_SPAWN_ERROR_LIBBAD,
6615
G_SPAWN_ERROR_FAILED
6620
typedef void (* GSpawnChildSetupFunc) (gpointer user_data);
6624
G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0,
6625
G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1,
6627
G_SPAWN_SEARCH_PATH = 1 << 2,
6629
G_SPAWN_STDOUT_TO_DEV_NULL = 1 << 3,
6630
G_SPAWN_STDERR_TO_DEV_NULL = 1 << 4,
6631
G_SPAWN_CHILD_INHERITS_STDIN = 1 << 5,
6632
G_SPAWN_FILE_AND_ARGV_ZERO = 1 << 6
6635
GQuark g_spawn_error_quark (void);
6636
# 86 "/usr/include/glib-2.0/glib/gspawn.h"
6637
gboolean g_spawn_async (const gchar *working_directory,
6641
GSpawnChildSetupFunc child_setup,
6650
gboolean g_spawn_async_with_pipes (const gchar *working_directory,
6654
GSpawnChildSetupFunc child_setup,
6657
gint *standard_input,
6658
gint *standard_output,
6659
gint *standard_error,
6667
gboolean g_spawn_sync (const gchar *working_directory,
6671
GSpawnChildSetupFunc child_setup,
6673
gchar **standard_output,
6674
gchar **standard_error,
6678
gboolean g_spawn_command_line_sync (const gchar *command_line,
6679
gchar **standard_output,
6680
gchar **standard_error,
6683
gboolean g_spawn_command_line_async (const gchar *command_line,
6686
void g_spawn_close_pid (GPid pid);
6689
# 79 "/usr/include/glib-2.0/glib.h" 2
6690
# 1 "/usr/include/glib-2.0/glib/gstrfuncs.h" 1
6691
# 35 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6692
# 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
6693
# 36 "/usr/include/glib-2.0/glib/gstrfuncs.h" 2
6694
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
6695
# 37 "/usr/include/glib-2.0/glib/gstrfuncs.h" 2
6701
G_ASCII_ALNUM = 1 << 0,
6702
G_ASCII_ALPHA = 1 << 1,
6703
G_ASCII_CNTRL = 1 << 2,
6704
G_ASCII_DIGIT = 1 << 3,
6705
G_ASCII_GRAPH = 1 << 4,
6706
G_ASCII_LOWER = 1 << 5,
6707
G_ASCII_PRINT = 1 << 6,
6708
G_ASCII_PUNCT = 1 << 7,
6709
G_ASCII_SPACE = 1 << 8,
6710
G_ASCII_UPPER = 1 << 9,
6711
G_ASCII_XDIGIT = 1 << 10
6714
extern const guint16 * const g_ascii_table;
6715
# 90 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6716
gchar g_ascii_tolower (gchar c) __attribute__((__const__));
6717
gchar g_ascii_toupper (gchar c) __attribute__((__const__));
6719
gint g_ascii_digit_value (gchar c) __attribute__((__const__));
6720
gint g_ascii_xdigit_value (gchar c) __attribute__((__const__));
6726
gchar* g_strdelimit (gchar *string,
6727
const gchar *delimiters,
6728
gchar new_delimiter);
6729
gchar* g_strcanon (gchar *string,
6730
const gchar *valid_chars,
6732
const gchar* g_strerror (gint errnum) __attribute__((__const__));
6733
const gchar* g_strsignal (gint signum) __attribute__((__const__));
6734
gchar* g_strreverse (gchar *string);
6735
gsize g_strlcpy (gchar *dest,
6738
gsize g_strlcat (gchar *dest,
6741
gchar * g_strstr_len (const gchar *haystack,
6742
gssize haystack_len,
6743
const gchar *needle);
6744
gchar * g_strrstr (const gchar *haystack,
6745
const gchar *needle);
6746
gchar * g_strrstr_len (const gchar *haystack,
6747
gssize haystack_len,
6748
const gchar *needle);
6750
gboolean g_str_has_suffix (const gchar *str,
6751
const gchar *suffix);
6752
gboolean g_str_has_prefix (const gchar *str,
6753
const gchar *prefix);
6757
gdouble g_strtod (const gchar *nptr,
6759
gdouble g_ascii_strtod (const gchar *nptr,
6761
guint64 g_ascii_strtoull (const gchar *nptr,
6764
gint64 g_ascii_strtoll (const gchar *nptr,
6771
gchar * g_ascii_dtostr (gchar *buffer,
6774
gchar * g_ascii_formatd (gchar *buffer,
6776
const gchar *format,
6780
gchar* g_strchug (gchar *string);
6782
gchar* g_strchomp (gchar *string);
6786
gint g_ascii_strcasecmp (const gchar *s1,
6788
gint g_ascii_strncasecmp (const gchar *s1,
6791
gchar* g_ascii_strdown (const gchar *str,
6792
gssize len) __attribute__((__malloc__));
6793
gchar* g_ascii_strup (const gchar *str,
6794
gssize len) __attribute__((__malloc__));
6795
# 177 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6796
gint g_strcasecmp (const gchar *s1,
6798
gint g_strncasecmp (const gchar *s1,
6801
gchar* g_strdown (gchar *string);
6802
gchar* g_strup (gchar *string);
6809
gchar* g_strdup (const gchar *str) __attribute__((__malloc__));
6810
gchar* g_strdup_printf (const gchar *format,
6811
...) __attribute__((__format__ (__printf__, 1, 2))) __attribute__((__malloc__));
6812
gchar* g_strdup_vprintf (const gchar *format,
6813
va_list args) __attribute__((__malloc__));
6814
gchar* g_strndup (const gchar *str,
6815
gsize n) __attribute__((__malloc__));
6816
gchar* g_strnfill (gsize length,
6817
gchar fill_char) __attribute__((__malloc__));
6818
gchar* g_strconcat (const gchar *string1,
6819
...) __attribute__((__malloc__)) __attribute__((__sentinel__));
6820
gchar* g_strjoin (const gchar *separator,
6821
...) __attribute__((__malloc__)) __attribute__((__sentinel__));
6827
gchar* g_strcompress (const gchar *source) __attribute__((__malloc__));
6828
# 218 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6829
gchar* g_strescape (const gchar *source,
6830
const gchar *exceptions) __attribute__((__malloc__));
6832
gpointer g_memdup (gconstpointer mem,
6833
guint byte_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(2)));
6834
# 233 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6835
gchar** g_strsplit (const gchar *string,
6836
const gchar *delimiter,
6837
gint max_tokens) __attribute__((__malloc__));
6838
gchar ** g_strsplit_set (const gchar *string,
6839
const gchar *delimiters,
6840
gint max_tokens) __attribute__((__malloc__));
6841
gchar* g_strjoinv (const gchar *separator,
6842
gchar **str_array) __attribute__((__malloc__));
6843
void g_strfreev (gchar **str_array);
6844
gchar** g_strdupv (gchar **str_array) __attribute__((__malloc__));
6845
guint g_strv_length (gchar **str_array);
6847
gchar* g_stpcpy (gchar *dest,
6850
const gchar *g_strip_context (const gchar *msgid,
6851
const gchar *msgval) __attribute__((__format_arg__ (1)));
6853
const gchar *g_dgettext (const gchar *domain,
6854
const gchar *msgid) __attribute__((__format_arg__ (2)));
6855
const gchar *g_dcgettext (const gchar *domain,
6857
int category) __attribute__((__format_arg__ (2)));
6858
const gchar *g_dngettext (const gchar *domain,
6860
const gchar *msgid_plural,
6861
gulong n) __attribute__((__format_arg__ (3)));
6862
const gchar *g_dpgettext (const gchar *domain,
6863
const gchar *msgctxtid,
6864
gsize msgidoffset) __attribute__((__format_arg__ (2)));
6865
const gchar *g_dpgettext2 (const gchar *domain,
6866
const gchar *context,
6867
const gchar *msgid) __attribute__((__format_arg__ (3)));
6870
# 80 "/usr/include/glib-2.0/glib.h" 2
6871
# 1 "/usr/include/glib-2.0/glib/gstring.h" 1
6872
# 81 "/usr/include/glib-2.0/glib.h" 2
6873
# 1 "/usr/include/glib-2.0/glib/gtestutils.h" 1
6874
# 28 "/usr/include/glib-2.0/glib/gtestutils.h"
6875
# 1 "/usr/include/glib-2.0/glib/gmessages.h" 1
6876
# 29 "/usr/include/glib-2.0/glib/gtestutils.h" 2
6877
# 1 "/usr/include/glib-2.0/glib/gstring.h" 1
6878
# 30 "/usr/include/glib-2.0/glib/gtestutils.h" 2
6879
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
6880
# 31 "/usr/include/glib-2.0/glib/gtestutils.h" 2
6881
# 1 "/usr/include/glib-2.0/glib/gslist.h" 1
6882
# 32 "/usr/include/glib-2.0/glib/gtestutils.h" 2
6886
typedef struct GTestCase GTestCase;
6887
typedef struct GTestSuite GTestSuite;
6888
typedef void (*GTestFunc) (void);
6889
typedef void (*GTestDataFunc) (gconstpointer user_data);
6890
typedef void (*GTestFixtureFunc) (gpointer fixture,
6891
gconstpointer user_data);
6892
# 79 "/usr/include/glib-2.0/glib/gtestutils.h"
6893
int g_strcmp0 (const char *str1,
6897
void g_test_minimized_result (double minimized_quantity,
6899
...) __attribute__((__format__ (__printf__, 2, 3)));
6900
void g_test_maximized_result (double maximized_quantity,
6902
...) __attribute__((__format__ (__printf__, 2, 3)));
6905
void g_test_init (int *argc,
6908
# 102 "/usr/include/glib-2.0/glib/gtestutils.h"
6909
int g_test_run (void);
6911
void g_test_add_func (const char *testpath,
6912
GTestFunc test_func);
6914
void g_test_add_data_func (const char *testpath,
6915
gconstpointer test_data,
6916
GTestDataFunc test_func);
6917
# 125 "/usr/include/glib-2.0/glib/gtestutils.h"
6918
void g_test_message (const char *format,
6919
...) __attribute__((__format__ (__printf__, 1, 2)));
6920
void g_test_bug_base (const char *uri_pattern);
6921
void g_test_bug (const char *bug_uri_snippet);
6923
void g_test_timer_start (void);
6924
double g_test_timer_elapsed (void);
6925
double g_test_timer_last (void);
6928
void g_test_queue_free (gpointer gfree_pointer);
6929
void g_test_queue_destroy (GDestroyNotify destroy_func,
6930
gpointer destroy_data);
6935
G_TEST_TRAP_SILENCE_STDOUT = 1 << 7,
6936
G_TEST_TRAP_SILENCE_STDERR = 1 << 8,
6937
G_TEST_TRAP_INHERIT_STDIN = 1 << 9
6939
gboolean g_test_trap_fork (guint64 usec_timeout,
6940
GTestTrapFlags test_trap_flags);
6941
gboolean g_test_trap_has_passed (void);
6942
gboolean g_test_trap_reached_timeout (void);
6943
# 159 "/usr/include/glib-2.0/glib/gtestutils.h"
6944
gint32 g_test_rand_int (void);
6945
gint32 g_test_rand_int_range (gint32 begin,
6947
double g_test_rand_double (void);
6948
double g_test_rand_double_range (double range_start,
6952
GTestCase* g_test_create_case (const char *test_name,
6954
gconstpointer test_data,
6955
GTestFixtureFunc data_setup,
6956
GTestFixtureFunc data_test,
6957
GTestFixtureFunc data_teardown);
6958
GTestSuite* g_test_create_suite (const char *suite_name);
6959
GTestSuite* g_test_get_root (void);
6960
void g_test_suite_add (GTestSuite *suite,
6961
GTestCase *test_case);
6962
void g_test_suite_add_suite (GTestSuite *suite,
6963
GTestSuite *nestedsuite);
6964
int g_test_run_suite (GTestSuite *suite);
6967
void g_test_trap_assertions (const char *domain,
6971
guint64 assertion_flags,
6972
const char *pattern);
6973
void g_assertion_message (const char *domain,
6977
const char *message) __attribute__((__noreturn__));
6978
void g_assertion_message_expr (const char *domain,
6982
const char *expr) __attribute__((__noreturn__));
6983
void g_assertion_message_cmpstr (const char *domain,
6990
const char *arg2) __attribute__((__noreturn__));
6991
void g_assertion_message_cmpnum (const char *domain,
6999
char numtype) __attribute__((__noreturn__));
7000
void g_assertion_message_error (const char *domain,
7005
const GError *error,
7006
GQuark error_domain,
7007
int error_code) __attribute__((__noreturn__));
7008
void g_test_add_vtable (const char *testpath,
7010
gconstpointer test_data,
7011
GTestFixtureFunc data_setup,
7012
GTestFixtureFunc data_test,
7013
GTestFixtureFunc data_teardown);
7015
gboolean test_initialized;
7016
gboolean test_quick;
7018
gboolean test_verbose;
7019
gboolean test_quiet;
7021
extern const GTestConfig * const g_test_config_vars;
7027
G_TEST_LOG_START_BINARY,
7028
G_TEST_LOG_LIST_CASE,
7029
G_TEST_LOG_SKIP_CASE,
7030
G_TEST_LOG_START_CASE,
7031
G_TEST_LOG_STOP_CASE,
7032
G_TEST_LOG_MIN_RESULT,
7033
G_TEST_LOG_MAX_RESULT,
7038
GTestLogType log_type;
7050
const char* g_test_log_type_name (GTestLogType log_type);
7051
GTestLogBuffer* g_test_log_buffer_new (void);
7052
void g_test_log_buffer_free (GTestLogBuffer *tbuffer);
7053
void g_test_log_buffer_push (GTestLogBuffer *tbuffer,
7055
const guint8 *bytes);
7056
GTestLogMsg* g_test_log_buffer_pop (GTestLogBuffer *tbuffer);
7057
void g_test_log_msg_free (GTestLogMsg *tmsg);
7058
# 287 "/usr/include/glib-2.0/glib/gtestutils.h"
7059
typedef gboolean (*GTestLogFatalFunc) (const gchar *log_domain,
7060
GLogLevelFlags log_level,
7061
const gchar *message,
7062
gpointer user_data);
7064
g_test_log_set_fatal_handler (GTestLogFatalFunc log_func,
7065
gpointer user_data);
7068
# 82 "/usr/include/glib-2.0/glib.h" 2
7069
# 1 "/usr/include/glib-2.0/glib/gthread.h" 1
7070
# 83 "/usr/include/glib-2.0/glib.h" 2
7071
# 1 "/usr/include/glib-2.0/glib/gthreadpool.h" 1
7072
# 34 "/usr/include/glib-2.0/glib/gthreadpool.h"
7073
# 1 "/usr/include/glib-2.0/glib/gthread.h" 1
7074
# 35 "/usr/include/glib-2.0/glib/gthreadpool.h" 2
7078
typedef struct _GThreadPool GThreadPool;
7097
GThreadPool* g_thread_pool_new (GFunc func,
7107
void g_thread_pool_push (GThreadPool *pool,
7114
void g_thread_pool_set_max_threads (GThreadPool *pool,
7117
gint g_thread_pool_get_max_threads (GThreadPool *pool);
7121
guint g_thread_pool_get_num_threads (GThreadPool *pool);
7124
guint g_thread_pool_unprocessed (GThreadPool *pool);
7130
void g_thread_pool_free (GThreadPool *pool,
7136
void g_thread_pool_set_max_unused_threads (gint max_threads);
7137
gint g_thread_pool_get_max_unused_threads (void);
7138
guint g_thread_pool_get_num_unused_threads (void);
7141
void g_thread_pool_stop_unused_threads (void);
7144
void g_thread_pool_set_sort_function (GThreadPool *pool,
7145
GCompareDataFunc func,
7146
gpointer user_data);
7149
void g_thread_pool_set_max_idle_time (guint interval);
7150
guint g_thread_pool_get_max_idle_time (void);
7153
# 84 "/usr/include/glib-2.0/glib.h" 2
7154
# 1 "/usr/include/glib-2.0/glib/gtimer.h" 1
7155
# 34 "/usr/include/glib-2.0/glib/gtimer.h"
7156
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7157
# 35 "/usr/include/glib-2.0/glib/gtimer.h" 2
7165
typedef struct _GTimer GTimer;
7169
GTimer* g_timer_new (void);
7170
void g_timer_destroy (GTimer *timer);
7171
void g_timer_start (GTimer *timer);
7172
void g_timer_stop (GTimer *timer);
7173
void g_timer_reset (GTimer *timer);
7174
void g_timer_continue (GTimer *timer);
7175
gdouble g_timer_elapsed (GTimer *timer,
7176
gulong *microseconds);
7178
void g_usleep (gulong microseconds);
7180
void g_time_val_add (GTimeVal *time_,
7181
glong microseconds);
7182
gboolean g_time_val_from_iso8601 (const gchar *iso_date,
7184
gchar* g_time_val_to_iso8601 (GTimeVal *time_) __attribute__((__malloc__));
7187
# 85 "/usr/include/glib-2.0/glib.h" 2
7188
# 1 "/usr/include/glib-2.0/glib/gtimezone.h" 1
7189
# 86 "/usr/include/glib-2.0/glib.h" 2
7190
# 1 "/usr/include/glib-2.0/glib/gtree.h" 1
7191
# 34 "/usr/include/glib-2.0/glib/gtree.h"
7192
# 1 "/usr/include/glib-2.0/glib/gnode.h" 1
7193
# 35 "/usr/include/glib-2.0/glib/gtree.h" 2
7197
typedef struct _GTree GTree;
7199
typedef gboolean (*GTraverseFunc) (gpointer key,
7205
GTree* g_tree_new (GCompareFunc key_compare_func);
7206
GTree* g_tree_new_with_data (GCompareDataFunc key_compare_func,
7207
gpointer key_compare_data);
7208
GTree* g_tree_new_full (GCompareDataFunc key_compare_func,
7209
gpointer key_compare_data,
7210
GDestroyNotify key_destroy_func,
7211
GDestroyNotify value_destroy_func);
7212
GTree* g_tree_ref (GTree *tree);
7213
void g_tree_unref (GTree *tree);
7214
void g_tree_destroy (GTree *tree);
7215
void g_tree_insert (GTree *tree,
7218
void g_tree_replace (GTree *tree,
7221
gboolean g_tree_remove (GTree *tree,
7223
gboolean g_tree_steal (GTree *tree,
7225
gpointer g_tree_lookup (GTree *tree,
7227
gboolean g_tree_lookup_extended (GTree *tree,
7228
gconstpointer lookup_key,
7231
void g_tree_foreach (GTree *tree,
7233
gpointer user_data);
7236
void g_tree_traverse (GTree *tree,
7237
GTraverseFunc traverse_func,
7238
GTraverseType traverse_type,
7239
gpointer user_data);
7242
gpointer g_tree_search (GTree *tree,
7243
GCompareFunc search_func,
7244
gconstpointer user_data);
7245
gint g_tree_height (GTree *tree);
7246
gint g_tree_nnodes (GTree *tree);
7249
# 87 "/usr/include/glib-2.0/glib.h" 2
7250
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7251
# 88 "/usr/include/glib-2.0/glib.h" 2
7252
# 1 "/usr/include/glib-2.0/glib/gunicode.h" 1
7253
# 89 "/usr/include/glib-2.0/glib.h" 2
7254
# 1 "/usr/include/glib-2.0/glib/gurifuncs.h" 1
7255
# 30 "/usr/include/glib-2.0/glib/gurifuncs.h"
7256
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7257
# 31 "/usr/include/glib-2.0/glib/gurifuncs.h" 2
7260
# 69 "/usr/include/glib-2.0/glib/gurifuncs.h"
7261
char * g_uri_unescape_string (const char *escaped_string,
7262
const char *illegal_characters);
7263
char * g_uri_unescape_segment (const char *escaped_string,
7264
const char *escaped_string_end,
7265
const char *illegal_characters);
7266
char * g_uri_parse_scheme (const char *uri);
7267
char * g_uri_escape_string (const char *unescaped,
7268
const char *reserved_chars_allowed,
7269
gboolean allow_utf8);
7272
# 90 "/usr/include/glib-2.0/glib.h" 2
7273
# 1 "/usr/include/glib-2.0/glib/gutils.h" 1
7274
# 91 "/usr/include/glib-2.0/glib.h" 2
7275
# 1 "/usr/include/glib-2.0/glib/gvarianttype.h" 1
7276
# 30 "/usr/include/glib-2.0/glib/gvarianttype.h"
7277
# 1 "/usr/include/glib-2.0/glib/gmessages.h" 1
7278
# 31 "/usr/include/glib-2.0/glib/gvarianttype.h" 2
7279
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7280
# 32 "/usr/include/glib-2.0/glib/gvarianttype.h" 2
7283
# 44 "/usr/include/glib-2.0/glib/gvarianttype.h"
7284
typedef struct _GVariantType GVariantType;
7285
# 279 "/usr/include/glib-2.0/glib/gvarianttype.h"
7286
gboolean g_variant_type_string_is_valid (const gchar *type_string);
7287
gboolean g_variant_type_string_scan (const gchar *string,
7289
const gchar **endptr);
7292
void g_variant_type_free (GVariantType *type);
7293
GVariantType * g_variant_type_copy (const GVariantType *type);
7294
GVariantType * g_variant_type_new (const gchar *type_string);
7297
gsize g_variant_type_get_string_length (const GVariantType *type);
7298
const gchar * g_variant_type_peek_string (const GVariantType *type);
7299
gchar * g_variant_type_dup_string (const GVariantType *type);
7302
gboolean g_variant_type_is_definite (const GVariantType *type);
7303
gboolean g_variant_type_is_container (const GVariantType *type);
7304
gboolean g_variant_type_is_basic (const GVariantType *type);
7305
gboolean g_variant_type_is_maybe (const GVariantType *type);
7306
gboolean g_variant_type_is_array (const GVariantType *type);
7307
gboolean g_variant_type_is_tuple (const GVariantType *type);
7308
gboolean g_variant_type_is_dict_entry (const GVariantType *type);
7309
gboolean g_variant_type_is_variant (const GVariantType *type);
7312
guint g_variant_type_hash (gconstpointer type);
7313
gboolean g_variant_type_equal (gconstpointer type1,
7314
gconstpointer type2);
7317
gboolean g_variant_type_is_subtype_of (const GVariantType *type,
7318
const GVariantType *supertype);
7321
const GVariantType * g_variant_type_element (const GVariantType *type);
7322
const GVariantType * g_variant_type_first (const GVariantType *type);
7323
const GVariantType * g_variant_type_next (const GVariantType *type);
7324
gsize g_variant_type_n_items (const GVariantType *type);
7325
const GVariantType * g_variant_type_key (const GVariantType *type);
7326
const GVariantType * g_variant_type_value (const GVariantType *type);
7329
GVariantType * g_variant_type_new_array (const GVariantType *element);
7330
GVariantType * g_variant_type_new_maybe (const GVariantType *element);
7331
GVariantType * g_variant_type_new_tuple (const GVariantType * const *items,
7333
GVariantType * g_variant_type_new_dict_entry (const GVariantType *key,
7334
const GVariantType *value);
7337
const GVariantType * g_variant_type_checked_ (const gchar *);
7340
# 92 "/usr/include/glib-2.0/glib.h" 2
7341
# 1 "/usr/include/glib-2.0/glib/gvariant.h" 1
7342
# 30 "/usr/include/glib-2.0/glib/gvariant.h"
7343
# 1 "/usr/include/glib-2.0/glib/gvarianttype.h" 1
7344
# 31 "/usr/include/glib-2.0/glib/gvariant.h" 2
7345
# 1 "/usr/include/glib-2.0/glib/gstring.h" 1
7346
# 32 "/usr/include/glib-2.0/glib/gvariant.h" 2
7350
typedef struct _GVariant GVariant;
7354
G_VARIANT_CLASS_BOOLEAN = 'b',
7355
G_VARIANT_CLASS_BYTE = 'y',
7356
G_VARIANT_CLASS_INT16 = 'n',
7357
G_VARIANT_CLASS_UINT16 = 'q',
7358
G_VARIANT_CLASS_INT32 = 'i',
7359
G_VARIANT_CLASS_UINT32 = 'u',
7360
G_VARIANT_CLASS_INT64 = 'x',
7361
G_VARIANT_CLASS_UINT64 = 't',
7362
G_VARIANT_CLASS_HANDLE = 'h',
7363
G_VARIANT_CLASS_DOUBLE = 'd',
7364
G_VARIANT_CLASS_STRING = 's',
7365
G_VARIANT_CLASS_OBJECT_PATH = 'o',
7366
G_VARIANT_CLASS_SIGNATURE = 'g',
7367
G_VARIANT_CLASS_VARIANT = 'v',
7368
G_VARIANT_CLASS_MAYBE = 'm',
7369
G_VARIANT_CLASS_ARRAY = 'a',
7370
G_VARIANT_CLASS_TUPLE = '(',
7371
G_VARIANT_CLASS_DICT_ENTRY = '{'
7374
void g_variant_unref (GVariant *value);
7375
GVariant * g_variant_ref (GVariant *value);
7376
GVariant * g_variant_ref_sink (GVariant *value);
7377
gboolean g_variant_is_floating (GVariant *value);
7379
const GVariantType * g_variant_get_type (GVariant *value);
7380
const gchar * g_variant_get_type_string (GVariant *value);
7381
gboolean g_variant_is_of_type (GVariant *value,
7382
const GVariantType *type);
7383
gboolean g_variant_is_container (GVariant *value);
7384
GVariantClass g_variant_classify (GVariant *value);
7385
GVariant * g_variant_new_boolean (gboolean value);
7386
GVariant * g_variant_new_byte (guchar value);
7387
GVariant * g_variant_new_int16 (gint16 value);
7388
GVariant * g_variant_new_uint16 (guint16 value);
7389
GVariant * g_variant_new_int32 (gint32 value);
7390
GVariant * g_variant_new_uint32 (guint32 value);
7391
GVariant * g_variant_new_int64 (gint64 value);
7392
GVariant * g_variant_new_uint64 (guint64 value);
7393
GVariant * g_variant_new_handle (gint32 value);
7394
GVariant * g_variant_new_double (gdouble value);
7395
GVariant * g_variant_new_string (const gchar *string);
7396
GVariant * g_variant_new_object_path (const gchar *object_path);
7397
gboolean g_variant_is_object_path (const gchar *string);
7398
GVariant * g_variant_new_signature (const gchar *signature);
7399
gboolean g_variant_is_signature (const gchar *string);
7400
GVariant * g_variant_new_variant (GVariant *value);
7401
GVariant * g_variant_new_strv (const gchar * const *strv,
7403
GVariant * g_variant_new_bytestring (const gchar *string);
7404
GVariant * g_variant_new_bytestring_array (const gchar * const *strv,
7407
gboolean g_variant_get_boolean (GVariant *value);
7408
guchar g_variant_get_byte (GVariant *value);
7409
gint16 g_variant_get_int16 (GVariant *value);
7410
guint16 g_variant_get_uint16 (GVariant *value);
7411
gint32 g_variant_get_int32 (GVariant *value);
7412
guint32 g_variant_get_uint32 (GVariant *value);
7413
gint64 g_variant_get_int64 (GVariant *value);
7414
guint64 g_variant_get_uint64 (GVariant *value);
7415
gint32 g_variant_get_handle (GVariant *value);
7416
gdouble g_variant_get_double (GVariant *value);
7417
GVariant * g_variant_get_variant (GVariant *value);
7418
const gchar * g_variant_get_string (GVariant *value,
7420
gchar * g_variant_dup_string (GVariant *value,
7422
const gchar ** g_variant_get_strv (GVariant *value,
7424
gchar ** g_variant_dup_strv (GVariant *value,
7426
const gchar * g_variant_get_bytestring (GVariant *value);
7427
gchar * g_variant_dup_bytestring (GVariant *value,
7429
const gchar ** g_variant_get_bytestring_array (GVariant *value,
7431
gchar ** g_variant_dup_bytestring_array (GVariant *value,
7434
GVariant * g_variant_new_maybe (const GVariantType *child_type,
7436
GVariant * g_variant_new_array (const GVariantType *child_type,
7437
GVariant * const *children,
7439
GVariant * g_variant_new_tuple (GVariant * const *children,
7441
GVariant * g_variant_new_dict_entry (GVariant *key,
7444
GVariant * g_variant_get_maybe (GVariant *value);
7445
gsize g_variant_n_children (GVariant *value);
7446
void g_variant_get_child (GVariant *value,
7448
const gchar *format_string,
7450
GVariant * g_variant_get_child_value (GVariant *value,
7452
gboolean g_variant_lookup (GVariant *dictionary,
7454
const gchar *format_string,
7456
GVariant * g_variant_lookup_value (GVariant *dictionary,
7458
const GVariantType *expected_type);
7459
gconstpointer g_variant_get_fixed_array (GVariant *value,
7461
gsize element_size);
7463
gsize g_variant_get_size (GVariant *value);
7464
gconstpointer g_variant_get_data (GVariant *value);
7465
void g_variant_store (GVariant *value,
7468
gchar * g_variant_print (GVariant *value,
7469
gboolean type_annotate);
7470
GString * g_variant_print_string (GVariant *value,
7472
gboolean type_annotate);
7474
guint g_variant_hash (gconstpointer value);
7475
gboolean g_variant_equal (gconstpointer one,
7478
GVariant * g_variant_get_normal_form (GVariant *value);
7479
gboolean g_variant_is_normal_form (GVariant *value);
7480
GVariant * g_variant_byteswap (GVariant *value);
7481
GVariant * g_variant_new_from_data (const GVariantType *type,
7485
GDestroyNotify notify,
7486
gpointer user_data);
7488
typedef struct _GVariantIter GVariantIter;
7489
struct _GVariantIter {
7494
GVariantIter * g_variant_iter_new (GVariant *value);
7495
gsize g_variant_iter_init (GVariantIter *iter,
7497
GVariantIter * g_variant_iter_copy (GVariantIter *iter);
7498
gsize g_variant_iter_n_children (GVariantIter *iter);
7499
void g_variant_iter_free (GVariantIter *iter);
7500
GVariant * g_variant_iter_next_value (GVariantIter *iter);
7501
gboolean g_variant_iter_next (GVariantIter *iter,
7502
const gchar *format_string,
7504
gboolean g_variant_iter_loop (GVariantIter *iter,
7505
const gchar *format_string,
7509
typedef struct _GVariantBuilder GVariantBuilder;
7510
struct _GVariantBuilder {
7517
G_VARIANT_PARSE_ERROR_FAILED,
7518
G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED,
7519
G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE,
7520
G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED,
7521
G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END,
7522
G_VARIANT_PARSE_ERROR_INVALID_CHARACTER,
7523
G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING,
7524
G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH,
7525
G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE,
7526
G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING,
7527
G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE,
7528
G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE,
7529
G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG,
7530
G_VARIANT_PARSE_ERROR_TYPE_ERROR,
7531
G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN,
7532
G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD,
7533
G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT,
7534
G_VARIANT_PARSE_ERROR_VALUE_EXPECTED
7535
} GVariantParseError;
7538
GQuark g_variant_parser_get_error_quark (void);
7540
GVariantBuilder * g_variant_builder_new (const GVariantType *type);
7541
void g_variant_builder_unref (GVariantBuilder *builder);
7542
GVariantBuilder * g_variant_builder_ref (GVariantBuilder *builder);
7543
void g_variant_builder_init (GVariantBuilder *builder,
7544
const GVariantType *type);
7545
GVariant * g_variant_builder_end (GVariantBuilder *builder);
7546
void g_variant_builder_clear (GVariantBuilder *builder);
7547
void g_variant_builder_open (GVariantBuilder *builder,
7548
const GVariantType *type);
7549
void g_variant_builder_close (GVariantBuilder *builder);
7550
void g_variant_builder_add_value (GVariantBuilder *builder,
7552
void g_variant_builder_add (GVariantBuilder *builder,
7553
const gchar *format_string,
7555
void g_variant_builder_add_parsed (GVariantBuilder *builder,
7556
const gchar *format,
7559
GVariant * g_variant_new (const gchar *format_string,
7561
void g_variant_get (GVariant *value,
7562
const gchar *format_string,
7564
GVariant * g_variant_new_va (const gchar *format_string,
7565
const gchar **endptr,
7567
void g_variant_get_va (GVariant *value,
7568
const gchar *format_string,
7569
const gchar **endptr,
7573
GVariant * g_variant_parse (const GVariantType *type,
7576
const gchar **endptr,
7578
GVariant * g_variant_new_parsed (const gchar *format,
7580
GVariant * g_variant_new_parsed_va (const gchar *format,
7583
gint g_variant_compare (gconstpointer one,
7586
# 93 "/usr/include/glib-2.0/glib.h" 2
7587
# 34 "../../testing/testing.h" 2
7588
# 1 "/usr/include/glib-2.0/glib-object.h" 1
7589
# 25 "/usr/include/glib-2.0/glib-object.h"
7590
# 1 "/usr/include/glib-2.0/gobject/gbinding.h" 1
7591
# 31 "/usr/include/glib-2.0/gobject/gbinding.h"
7592
# 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
7593
# 26 "/usr/include/glib-2.0/gobject/gobject.h"
7594
# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
7595
# 28 "/usr/include/glib-2.0/gobject/gtype.h"
7597
# 385 "/usr/include/glib-2.0/gobject/gtype.h"
7598
typedef gsize GType;
7602
typedef struct _GValue GValue;
7603
typedef union _GTypeCValue GTypeCValue;
7604
typedef struct _GTypePlugin GTypePlugin;
7605
typedef struct _GTypeClass GTypeClass;
7606
typedef struct _GTypeInterface GTypeInterface;
7607
typedef struct _GTypeInstance GTypeInstance;
7608
typedef struct _GTypeInfo GTypeInfo;
7609
typedef struct _GTypeFundamentalInfo GTypeFundamentalInfo;
7610
typedef struct _GInterfaceInfo GInterfaceInfo;
7611
typedef struct _GTypeValueTable GTypeValueTable;
7612
typedef struct _GTypeQuery GTypeQuery;
7613
# 409 "/usr/include/glib-2.0/gobject/gtype.h"
7624
struct _GTypeInstance
7627
GTypeClass *g_class;
7634
struct _GTypeInterface
7638
GType g_instance_type;
7640
# 445 "/usr/include/glib-2.0/gobject/gtype.h"
7644
const gchar *type_name;
7646
guint instance_size;
7648
# 657 "/usr/include/glib-2.0/gobject/gtype.h"
7651
G_TYPE_DEBUG_NONE = 0,
7652
G_TYPE_DEBUG_OBJECTS = 1 << 0,
7653
G_TYPE_DEBUG_SIGNALS = 1 << 1,
7654
G_TYPE_DEBUG_MASK = 0x03
7659
void g_type_init (void);
7660
void g_type_init_with_debug_flags (GTypeDebugFlags debug_flags);
7661
const gchar* g_type_name (GType type);
7662
GQuark g_type_qname (GType type);
7663
GType g_type_from_name (const gchar *name);
7664
GType g_type_parent (GType type);
7665
guint g_type_depth (GType type);
7666
GType g_type_next_base (GType leaf_type,
7668
gboolean g_type_is_a (GType type,
7670
gpointer g_type_class_ref (GType type);
7671
gpointer g_type_class_peek (GType type);
7672
gpointer g_type_class_peek_static (GType type);
7673
void g_type_class_unref (gpointer g_class);
7674
gpointer g_type_class_peek_parent (gpointer g_class);
7675
gpointer g_type_interface_peek (gpointer instance_class,
7677
gpointer g_type_interface_peek_parent (gpointer g_iface);
7679
gpointer g_type_default_interface_ref (GType g_type);
7680
gpointer g_type_default_interface_peek (GType g_type);
7681
void g_type_default_interface_unref (gpointer g_iface);
7684
GType* g_type_children (GType type,
7686
GType* g_type_interfaces (GType type,
7687
guint *n_interfaces);
7690
void g_type_set_qdata (GType type,
7693
gpointer g_type_get_qdata (GType type,
7695
void g_type_query (GType type,
7697
# 721 "/usr/include/glib-2.0/gobject/gtype.h"
7698
typedef void (*GBaseInitFunc) (gpointer g_class);
7699
# 732 "/usr/include/glib-2.0/gobject/gtype.h"
7700
typedef void (*GBaseFinalizeFunc) (gpointer g_class);
7701
# 837 "/usr/include/glib-2.0/gobject/gtype.h"
7702
typedef void (*GClassInitFunc) (gpointer g_class,
7703
gpointer class_data);
7704
# 852 "/usr/include/glib-2.0/gobject/gtype.h"
7705
typedef void (*GClassFinalizeFunc) (gpointer g_class,
7706
gpointer class_data);
7707
# 867 "/usr/include/glib-2.0/gobject/gtype.h"
7708
typedef void (*GInstanceInitFunc) (GTypeInstance *instance,
7710
# 878 "/usr/include/glib-2.0/gobject/gtype.h"
7711
typedef void (*GInterfaceInitFunc) (gpointer g_iface,
7712
gpointer iface_data);
7713
# 889 "/usr/include/glib-2.0/gobject/gtype.h"
7714
typedef void (*GInterfaceFinalizeFunc) (gpointer g_iface,
7715
gpointer iface_data);
7716
# 909 "/usr/include/glib-2.0/gobject/gtype.h"
7717
typedef gboolean (*GTypeClassCacheFunc) (gpointer cache_data,
7718
GTypeClass *g_class);
7719
# 921 "/usr/include/glib-2.0/gobject/gtype.h"
7720
typedef void (*GTypeInterfaceCheckFunc) (gpointer check_data,
7722
# 933 "/usr/include/glib-2.0/gobject/gtype.h"
7725
G_TYPE_FLAG_CLASSED = (1 << 0),
7726
G_TYPE_FLAG_INSTANTIATABLE = (1 << 1),
7727
G_TYPE_FLAG_DERIVABLE = (1 << 2),
7728
G_TYPE_FLAG_DEEP_DERIVABLE = (1 << 3)
7729
} GTypeFundamentalFlags;
7730
# 950 "/usr/include/glib-2.0/gobject/gtype.h"
7733
G_TYPE_FLAG_ABSTRACT = (1 << 4),
7734
G_TYPE_FLAG_VALUE_ABSTRACT = (1 << 5)
7736
# 985 "/usr/include/glib-2.0/gobject/gtype.h"
7742
GBaseInitFunc base_init;
7743
GBaseFinalizeFunc base_finalize;
7746
GClassInitFunc class_init;
7747
GClassFinalizeFunc class_finalize;
7748
gconstpointer class_data;
7751
guint16 instance_size;
7752
guint16 n_preallocs;
7753
GInstanceInitFunc instance_init;
7756
const GTypeValueTable *value_table;
7765
struct _GTypeFundamentalInfo
7767
GTypeFundamentalFlags type_flags;
7769
# 1026 "/usr/include/glib-2.0/gobject/gtype.h"
7770
struct _GInterfaceInfo
7772
GInterfaceInitFunc interface_init;
7773
GInterfaceFinalizeFunc interface_finalize;
7774
gpointer interface_data;
7776
# 1200 "/usr/include/glib-2.0/gobject/gtype.h"
7777
struct _GTypeValueTable
7779
void (*value_init) (GValue *value);
7780
void (*value_free) (GValue *value);
7781
void (*value_copy) (const GValue *src_value,
7782
GValue *dest_value);
7784
gpointer (*value_peek_pointer) (const GValue *value);
7785
gchar *collect_format;
7786
gchar* (*collect_value) (GValue *value,
7787
guint n_collect_values,
7788
GTypeCValue *collect_values,
7789
guint collect_flags);
7790
gchar *lcopy_format;
7791
gchar* (*lcopy_value) (const GValue *value,
7792
guint n_collect_values,
7793
GTypeCValue *collect_values,
7794
guint collect_flags);
7796
GType g_type_register_static (GType parent_type,
7797
const gchar *type_name,
7798
const GTypeInfo *info,
7800
GType g_type_register_static_simple (GType parent_type,
7801
const gchar *type_name,
7803
GClassInitFunc class_init,
7804
guint instance_size,
7805
GInstanceInitFunc instance_init,
7808
GType g_type_register_dynamic (GType parent_type,
7809
const gchar *type_name,
7810
GTypePlugin *plugin,
7812
GType g_type_register_fundamental (GType type_id,
7813
const gchar *type_name,
7814
const GTypeInfo *info,
7815
const GTypeFundamentalInfo *finfo,
7817
void g_type_add_interface_static (GType instance_type,
7818
GType interface_type,
7819
const GInterfaceInfo *info);
7820
void g_type_add_interface_dynamic (GType instance_type,
7821
GType interface_type,
7822
GTypePlugin *plugin);
7823
void g_type_interface_add_prerequisite (GType interface_type,
7824
GType prerequisite_type);
7825
GType*g_type_interface_prerequisites (GType interface_type,
7826
guint *n_prerequisites);
7827
void g_type_class_add_private (gpointer g_class,
7828
gsize private_size);
7829
gpointer g_type_instance_get_private (GTypeInstance *instance,
7830
GType private_type);
7832
void g_type_add_class_private (GType class_type,
7833
gsize private_size);
7834
gpointer g_type_class_get_private (GTypeClass *klass,
7835
GType private_type);
7836
# 1619 "/usr/include/glib-2.0/gobject/gtype.h"
7837
GTypePlugin* g_type_get_plugin (GType type);
7838
GTypePlugin* g_type_interface_get_plugin (GType instance_type,
7839
GType interface_type);
7840
GType g_type_fundamental_next (void);
7841
GType g_type_fundamental (GType type_id);
7842
GTypeInstance* g_type_create_instance (GType type);
7843
void g_type_free_instance (GTypeInstance *instance);
7845
void g_type_add_class_cache_func (gpointer cache_data,
7846
GTypeClassCacheFunc cache_func);
7847
void g_type_remove_class_cache_func (gpointer cache_data,
7848
GTypeClassCacheFunc cache_func);
7849
void g_type_class_unref_uncached (gpointer g_class);
7851
void g_type_add_interface_check (gpointer check_data,
7852
GTypeInterfaceCheckFunc check_func);
7853
void g_type_remove_interface_check (gpointer check_data,
7854
GTypeInterfaceCheckFunc check_func);
7856
GTypeValueTable* g_type_value_table_peek (GType type);
7860
gboolean g_type_check_instance (GTypeInstance *instance) __attribute__((__pure__));
7861
GTypeInstance* g_type_check_instance_cast (GTypeInstance *instance,
7863
gboolean g_type_check_instance_is_a (GTypeInstance *instance,
7864
GType iface_type) __attribute__((__pure__));
7865
GTypeClass* g_type_check_class_cast (GTypeClass *g_class,
7867
gboolean g_type_check_class_is_a (GTypeClass *g_class,
7868
GType is_a_type) __attribute__((__pure__));
7869
gboolean g_type_check_is_value_type (GType type) __attribute__((__const__));
7870
gboolean g_type_check_value (GValue *value) __attribute__((__pure__));
7871
gboolean g_type_check_value_holds (GValue *value,
7872
GType type) __attribute__((__pure__));
7873
gboolean g_type_test_flags (GType type,
7874
guint flags) __attribute__((__const__));
7878
const gchar* g_type_name_from_instance (GTypeInstance *instance);
7879
const gchar* g_type_name_from_class (GTypeClass *g_class);
7883
__attribute__((visibility("hidden"))) void g_value_c_init (void);
7884
__attribute__((visibility("hidden"))) void g_value_types_init (void);
7885
__attribute__((visibility("hidden"))) void g_enum_types_init (void);
7886
__attribute__((visibility("hidden"))) void g_param_type_init (void);
7887
__attribute__((visibility("hidden"))) void g_boxed_type_init (void);
7888
__attribute__((visibility("hidden"))) void g_object_type_init (void);
7889
__attribute__((visibility("hidden"))) void g_param_spec_types_init (void);
7890
__attribute__((visibility("hidden"))) void g_value_transforms_init (void);
7891
__attribute__((visibility("hidden"))) void g_signal_init (void);
7892
# 1732 "/usr/include/glib-2.0/gobject/gtype.h"
7893
extern GTypeDebugFlags _g_type_debug_flags;
7896
# 27 "/usr/include/glib-2.0/gobject/gobject.h" 2
7897
# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
7898
# 28 "/usr/include/glib-2.0/gobject/gvalue.h"
7899
# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
7900
# 29 "/usr/include/glib-2.0/gobject/gvalue.h" 2
7903
# 94 "/usr/include/glib-2.0/gobject/gvalue.h"
7904
typedef void (*GValueTransform) (const GValue *src_value,
7905
GValue *dest_value);
7906
# 108 "/usr/include/glib-2.0/gobject/gvalue.h"
7928
GValue* g_value_init (GValue *value,
7930
void g_value_copy (const GValue *src_value,
7931
GValue *dest_value);
7932
GValue* g_value_reset (GValue *value);
7933
void g_value_unset (GValue *value);
7934
void g_value_set_instance (GValue *value,
7939
gboolean g_value_fits_pointer (const GValue *value);
7940
gpointer g_value_peek_pointer (const GValue *value);
7944
gboolean g_value_type_compatible (GType src_type,
7946
gboolean g_value_type_transformable (GType src_type,
7948
gboolean g_value_transform (const GValue *src_value,
7949
GValue *dest_value);
7950
void g_value_register_transform_func (GType src_type,
7952
GValueTransform transform_func);
7953
# 165 "/usr/include/glib-2.0/gobject/gvalue.h"
7955
# 28 "/usr/include/glib-2.0/gobject/gobject.h" 2
7956
# 1 "/usr/include/glib-2.0/gobject/gparam.h" 1
7957
# 28 "/usr/include/glib-2.0/gobject/gparam.h"
7958
# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
7959
# 29 "/usr/include/glib-2.0/gobject/gparam.h" 2
7962
# 143 "/usr/include/glib-2.0/gobject/gparam.h"
7965
G_PARAM_READABLE = 1 << 0,
7966
G_PARAM_WRITABLE = 1 << 1,
7967
G_PARAM_CONSTRUCT = 1 << 2,
7968
G_PARAM_CONSTRUCT_ONLY = 1 << 3,
7969
G_PARAM_LAX_VALIDATION = 1 << 4,
7970
G_PARAM_STATIC_NAME = 1 << 5,
7972
G_PARAM_PRIVATE = G_PARAM_STATIC_NAME,
7974
G_PARAM_STATIC_NICK = 1 << 6,
7975
G_PARAM_STATIC_BLURB = 1 << 7,
7977
G_PARAM_DEPRECATED = 1 << 31
7979
# 189 "/usr/include/glib-2.0/gobject/gparam.h"
7980
typedef struct _GParamSpec GParamSpec;
7981
typedef struct _GParamSpecClass GParamSpecClass;
7982
typedef struct _GParameter GParameter;
7983
typedef struct _GParamSpecPool GParamSpecPool;
7984
# 204 "/usr/include/glib-2.0/gobject/gparam.h"
7987
GTypeInstance g_type_instance;
8001
# 239 "/usr/include/glib-2.0/gobject/gparam.h"
8002
struct _GParamSpecClass
8004
GTypeClass g_type_class;
8008
void (*finalize) (GParamSpec *pspec);
8011
void (*value_set_default) (GParamSpec *pspec,
8013
gboolean (*value_validate) (GParamSpec *pspec,
8015
gint (*values_cmp) (GParamSpec *pspec,
8016
const GValue *value1,
8017
const GValue *value2);
8021
# 266 "/usr/include/glib-2.0/gobject/gparam.h"
8030
GParamSpec* g_param_spec_ref (GParamSpec *pspec);
8031
void g_param_spec_unref (GParamSpec *pspec);
8032
void g_param_spec_sink (GParamSpec *pspec);
8033
GParamSpec* g_param_spec_ref_sink (GParamSpec *pspec);
8034
gpointer g_param_spec_get_qdata (GParamSpec *pspec,
8036
void g_param_spec_set_qdata (GParamSpec *pspec,
8039
void g_param_spec_set_qdata_full (GParamSpec *pspec,
8042
GDestroyNotify destroy);
8043
gpointer g_param_spec_steal_qdata (GParamSpec *pspec,
8045
GParamSpec* g_param_spec_get_redirect_target (GParamSpec *pspec);
8047
void g_param_value_set_default (GParamSpec *pspec,
8049
gboolean g_param_value_defaults (GParamSpec *pspec,
8051
gboolean g_param_value_validate (GParamSpec *pspec,
8053
gboolean g_param_value_convert (GParamSpec *pspec,
8054
const GValue *src_value,
8056
gboolean strict_validation);
8057
gint g_param_values_cmp (GParamSpec *pspec,
8058
const GValue *value1,
8059
const GValue *value2);
8060
const gchar* g_param_spec_get_name (GParamSpec *pspec);
8061
const gchar* g_param_spec_get_nick (GParamSpec *pspec);
8062
const gchar* g_param_spec_get_blurb (GParamSpec *pspec);
8063
void g_value_set_param (GValue *value,
8065
GParamSpec* g_value_get_param (const GValue *value);
8066
GParamSpec* g_value_dup_param (const GValue *value);
8069
void g_value_take_param (GValue *value,
8072
void g_value_set_param_take_ownership (GValue *value,
8077
typedef struct _GParamSpecTypeInfo GParamSpecTypeInfo;
8078
# 346 "/usr/include/glib-2.0/gobject/gparam.h"
8079
struct _GParamSpecTypeInfo
8082
guint16 instance_size;
8083
guint16 n_preallocs;
8084
void (*instance_init) (GParamSpec *pspec);
8088
void (*finalize) (GParamSpec *pspec);
8089
void (*value_set_default) (GParamSpec *pspec,
8091
gboolean (*value_validate) (GParamSpec *pspec,
8093
gint (*values_cmp) (GParamSpec *pspec,
8094
const GValue *value1,
8095
const GValue *value2);
8097
GType g_param_type_register_static (const gchar *name,
8098
const GParamSpecTypeInfo *pspec_info);
8101
GType _g_param_type_register_static_constant (const gchar *name,
8102
const GParamSpecTypeInfo *pspec_info,
8107
gpointer g_param_spec_internal (GType param_type,
8112
GParamSpecPool* g_param_spec_pool_new (gboolean type_prefixing);
8113
void g_param_spec_pool_insert (GParamSpecPool *pool,
8116
void g_param_spec_pool_remove (GParamSpecPool *pool,
8118
GParamSpec* g_param_spec_pool_lookup (GParamSpecPool *pool,
8119
const gchar *param_name,
8121
gboolean walk_ancestors);
8122
GList* g_param_spec_pool_list_owned (GParamSpecPool *pool,
8124
GParamSpec** g_param_spec_pool_list (GParamSpecPool *pool,
8127
# 413 "/usr/include/glib-2.0/gobject/gparam.h"
8129
# 29 "/usr/include/glib-2.0/gobject/gobject.h" 2
8130
# 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1
8131
# 27 "/usr/include/glib-2.0/gobject/gclosure.h"
8132
# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
8133
# 28 "/usr/include/glib-2.0/gobject/gclosure.h" 2
8136
# 76 "/usr/include/glib-2.0/gobject/gclosure.h"
8137
typedef struct _GClosure GClosure;
8138
typedef struct _GClosureNotifyData GClosureNotifyData;
8139
# 88 "/usr/include/glib-2.0/gobject/gclosure.h"
8140
typedef void (*GCallback) (void);
8141
# 97 "/usr/include/glib-2.0/gobject/gclosure.h"
8142
typedef void (*GClosureNotify) (gpointer data,
8144
# 114 "/usr/include/glib-2.0/gobject/gclosure.h"
8145
typedef void (*GClosureMarshal) (GClosure *closure,
8146
GValue *return_value,
8147
guint n_param_values,
8148
const GValue *param_values,
8149
gpointer invocation_hint,
8150
gpointer marshal_data);
8158
typedef struct _GCClosure GCClosure;
8162
struct _GClosureNotifyData
8165
GClosureNotify notify;
8167
# 145 "/usr/include/glib-2.0/gobject/gclosure.h"
8171
volatile guint ref_count : 15;
8172
volatile guint meta_marshal : 1;
8173
volatile guint n_guards : 1;
8174
volatile guint n_fnotifiers : 2;
8175
volatile guint n_inotifiers : 8;
8176
volatile guint in_inotify : 1;
8177
volatile guint floating : 1;
8179
volatile guint derivative_flag : 1;
8181
volatile guint in_marshal : 1;
8182
volatile guint is_invalid : 1;
8184
void (*marshal) (GClosure *closure,
8185
GValue *return_value,
8186
guint n_param_values,
8187
const GValue *param_values,
8188
gpointer invocation_hint,
8189
gpointer marshal_data);
8192
GClosureNotifyData *notifiers;
8193
# 181 "/usr/include/glib-2.0/gobject/gclosure.h"
8205
GClosure* g_cclosure_new (GCallback callback_func,
8207
GClosureNotify destroy_data);
8208
GClosure* g_cclosure_new_swap (GCallback callback_func,
8210
GClosureNotify destroy_data);
8211
GClosure* g_signal_type_cclosure_new (GType itype,
8212
guint struct_offset);
8216
GClosure* g_closure_ref (GClosure *closure);
8217
void g_closure_sink (GClosure *closure);
8218
void g_closure_unref (GClosure *closure);
8220
GClosure* g_closure_new_simple (guint sizeof_closure,
8222
void g_closure_add_finalize_notifier (GClosure *closure,
8223
gpointer notify_data,
8224
GClosureNotify notify_func);
8225
void g_closure_remove_finalize_notifier (GClosure *closure,
8226
gpointer notify_data,
8227
GClosureNotify notify_func);
8228
void g_closure_add_invalidate_notifier (GClosure *closure,
8229
gpointer notify_data,
8230
GClosureNotify notify_func);
8231
void g_closure_remove_invalidate_notifier (GClosure *closure,
8232
gpointer notify_data,
8233
GClosureNotify notify_func);
8234
void g_closure_add_marshal_guards (GClosure *closure,
8235
gpointer pre_marshal_data,
8236
GClosureNotify pre_marshal_notify,
8237
gpointer post_marshal_data,
8238
GClosureNotify post_marshal_notify);
8239
void g_closure_set_marshal (GClosure *closure,
8240
GClosureMarshal marshal);
8241
void g_closure_set_meta_marshal (GClosure *closure,
8242
gpointer marshal_data,
8243
GClosureMarshal meta_marshal);
8244
void g_closure_invalidate (GClosure *closure);
8245
void g_closure_invoke (GClosure *closure,
8246
GValue *return_value,
8247
guint n_param_values,
8248
const GValue *param_values,
8249
gpointer invocation_hint);
8250
# 249 "/usr/include/glib-2.0/gobject/gclosure.h"
8252
# 30 "/usr/include/glib-2.0/gobject/gobject.h" 2
8253
# 1 "/usr/include/glib-2.0/gobject/gsignal.h" 1
8254
# 26 "/usr/include/glib-2.0/gobject/gsignal.h"
8255
# 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1
8256
# 27 "/usr/include/glib-2.0/gobject/gsignal.h" 2
8257
# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
8258
# 28 "/usr/include/glib-2.0/gobject/gsignal.h" 2
8259
# 1 "/usr/include/glib-2.0/gobject/gparam.h" 1
8260
# 29 "/usr/include/glib-2.0/gobject/gsignal.h" 2
8261
# 1 "/usr/include/glib-2.0/gobject/gmarshal.h" 1
8268
extern void g_cclosure_marshal_VOID__VOID (GClosure *closure,
8269
GValue *return_value,
8270
guint n_param_values,
8271
const GValue *param_values,
8272
gpointer invocation_hint,
8273
gpointer marshal_data);
8276
extern void g_cclosure_marshal_VOID__BOOLEAN (GClosure *closure,
8277
GValue *return_value,
8278
guint n_param_values,
8279
const GValue *param_values,
8280
gpointer invocation_hint,
8281
gpointer marshal_data);
8284
extern void g_cclosure_marshal_VOID__CHAR (GClosure *closure,
8285
GValue *return_value,
8286
guint n_param_values,
8287
const GValue *param_values,
8288
gpointer invocation_hint,
8289
gpointer marshal_data);
8292
extern void g_cclosure_marshal_VOID__UCHAR (GClosure *closure,
8293
GValue *return_value,
8294
guint n_param_values,
8295
const GValue *param_values,
8296
gpointer invocation_hint,
8297
gpointer marshal_data);
8300
extern void g_cclosure_marshal_VOID__INT (GClosure *closure,
8301
GValue *return_value,
8302
guint n_param_values,
8303
const GValue *param_values,
8304
gpointer invocation_hint,
8305
gpointer marshal_data);
8308
extern void g_cclosure_marshal_VOID__UINT (GClosure *closure,
8309
GValue *return_value,
8310
guint n_param_values,
8311
const GValue *param_values,
8312
gpointer invocation_hint,
8313
gpointer marshal_data);
8316
extern void g_cclosure_marshal_VOID__LONG (GClosure *closure,
8317
GValue *return_value,
8318
guint n_param_values,
8319
const GValue *param_values,
8320
gpointer invocation_hint,
8321
gpointer marshal_data);
8324
extern void g_cclosure_marshal_VOID__ULONG (GClosure *closure,
8325
GValue *return_value,
8326
guint n_param_values,
8327
const GValue *param_values,
8328
gpointer invocation_hint,
8329
gpointer marshal_data);
8332
extern void g_cclosure_marshal_VOID__ENUM (GClosure *closure,
8333
GValue *return_value,
8334
guint n_param_values,
8335
const GValue *param_values,
8336
gpointer invocation_hint,
8337
gpointer marshal_data);
8340
extern void g_cclosure_marshal_VOID__FLAGS (GClosure *closure,
8341
GValue *return_value,
8342
guint n_param_values,
8343
const GValue *param_values,
8344
gpointer invocation_hint,
8345
gpointer marshal_data);
8348
extern void g_cclosure_marshal_VOID__FLOAT (GClosure *closure,
8349
GValue *return_value,
8350
guint n_param_values,
8351
const GValue *param_values,
8352
gpointer invocation_hint,
8353
gpointer marshal_data);
8356
extern void g_cclosure_marshal_VOID__DOUBLE (GClosure *closure,
8357
GValue *return_value,
8358
guint n_param_values,
8359
const GValue *param_values,
8360
gpointer invocation_hint,
8361
gpointer marshal_data);
8364
extern void g_cclosure_marshal_VOID__STRING (GClosure *closure,
8365
GValue *return_value,
8366
guint n_param_values,
8367
const GValue *param_values,
8368
gpointer invocation_hint,
8369
gpointer marshal_data);
8372
extern void g_cclosure_marshal_VOID__PARAM (GClosure *closure,
8373
GValue *return_value,
8374
guint n_param_values,
8375
const GValue *param_values,
8376
gpointer invocation_hint,
8377
gpointer marshal_data);
8380
extern void g_cclosure_marshal_VOID__BOXED (GClosure *closure,
8381
GValue *return_value,
8382
guint n_param_values,
8383
const GValue *param_values,
8384
gpointer invocation_hint,
8385
gpointer marshal_data);
8388
extern void g_cclosure_marshal_VOID__POINTER (GClosure *closure,
8389
GValue *return_value,
8390
guint n_param_values,
8391
const GValue *param_values,
8392
gpointer invocation_hint,
8393
gpointer marshal_data);
8396
extern void g_cclosure_marshal_VOID__OBJECT (GClosure *closure,
8397
GValue *return_value,
8398
guint n_param_values,
8399
const GValue *param_values,
8400
gpointer invocation_hint,
8401
gpointer marshal_data);
8404
extern void g_cclosure_marshal_VOID__VARIANT (GClosure *closure,
8405
GValue *return_value,
8406
guint n_param_values,
8407
const GValue *param_values,
8408
gpointer invocation_hint,
8409
gpointer marshal_data);
8412
extern void g_cclosure_marshal_VOID__UINT_POINTER (GClosure *closure,
8413
GValue *return_value,
8414
guint n_param_values,
8415
const GValue *param_values,
8416
gpointer invocation_hint,
8417
gpointer marshal_data);
8420
extern void g_cclosure_marshal_BOOLEAN__FLAGS (GClosure *closure,
8421
GValue *return_value,
8422
guint n_param_values,
8423
const GValue *param_values,
8424
gpointer invocation_hint,
8425
gpointer marshal_data);
8429
extern void g_cclosure_marshal_STRING__OBJECT_POINTER (GClosure *closure,
8430
GValue *return_value,
8431
guint n_param_values,
8432
const GValue *param_values,
8433
gpointer invocation_hint,
8434
gpointer marshal_data);
8437
extern void g_cclosure_marshal_BOOLEAN__BOXED_BOXED (GClosure *closure,
8438
GValue *return_value,
8439
guint n_param_values,
8440
const GValue *param_values,
8441
gpointer invocation_hint,
8442
gpointer marshal_data);
8446
# 30 "/usr/include/glib-2.0/gobject/gsignal.h" 2
8451
typedef struct _GSignalQuery GSignalQuery;
8452
typedef struct _GSignalInvocationHint GSignalInvocationHint;
8453
# 45 "/usr/include/glib-2.0/gobject/gsignal.h"
8454
typedef GClosureMarshal GSignalCMarshaller;
8455
# 64 "/usr/include/glib-2.0/gobject/gsignal.h"
8456
typedef gboolean (*GSignalEmissionHook) (GSignalInvocationHint *ihint,
8457
guint n_param_values,
8458
const GValue *param_values,
8460
# 87 "/usr/include/glib-2.0/gobject/gsignal.h"
8461
typedef gboolean (*GSignalAccumulator) (GSignalInvocationHint *ihint,
8462
GValue *return_accu,
8463
const GValue *handler_return,
8465
# 116 "/usr/include/glib-2.0/gobject/gsignal.h"
8468
G_SIGNAL_RUN_FIRST = 1 << 0,
8469
G_SIGNAL_RUN_LAST = 1 << 1,
8470
G_SIGNAL_RUN_CLEANUP = 1 << 2,
8471
G_SIGNAL_NO_RECURSE = 1 << 3,
8472
G_SIGNAL_DETAILED = 1 << 4,
8473
G_SIGNAL_ACTION = 1 << 5,
8474
G_SIGNAL_NO_HOOKS = 1 << 6
8476
# 142 "/usr/include/glib-2.0/gobject/gsignal.h"
8479
G_CONNECT_AFTER = 1 << 0,
8480
G_CONNECT_SWAPPED = 1 << 1
8482
# 160 "/usr/include/glib-2.0/gobject/gsignal.h"
8485
G_SIGNAL_MATCH_ID = 1 << 0,
8486
G_SIGNAL_MATCH_DETAIL = 1 << 1,
8487
G_SIGNAL_MATCH_CLOSURE = 1 << 2,
8488
G_SIGNAL_MATCH_FUNC = 1 << 3,
8489
G_SIGNAL_MATCH_DATA = 1 << 4,
8490
G_SIGNAL_MATCH_UNBLOCKED = 1 << 5
8492
# 211 "/usr/include/glib-2.0/gobject/gsignal.h"
8493
struct _GSignalInvocationHint
8497
GSignalFlags run_type;
8499
# 237 "/usr/include/glib-2.0/gobject/gsignal.h"
8500
struct _GSignalQuery
8503
const gchar *signal_name;
8505
GSignalFlags signal_flags;
8508
const GType *param_types;
8513
guint g_signal_newv (const gchar *signal_name,
8515
GSignalFlags signal_flags,
8516
GClosure *class_closure,
8517
GSignalAccumulator accumulator,
8519
GSignalCMarshaller c_marshaller,
8522
GType *param_types);
8523
guint g_signal_new_valist (const gchar *signal_name,
8525
GSignalFlags signal_flags,
8526
GClosure *class_closure,
8527
GSignalAccumulator accumulator,
8529
GSignalCMarshaller c_marshaller,
8533
guint g_signal_new (const gchar *signal_name,
8535
GSignalFlags signal_flags,
8537
GSignalAccumulator accumulator,
8539
GSignalCMarshaller c_marshaller,
8543
guint g_signal_new_class_handler (const gchar *signal_name,
8545
GSignalFlags signal_flags,
8546
GCallback class_handler,
8547
GSignalAccumulator accumulator,
8549
GSignalCMarshaller c_marshaller,
8554
void g_signal_emitv (const GValue *instance_and_params,
8557
GValue *return_value);
8558
void g_signal_emit_valist (gpointer instance,
8562
void g_signal_emit (gpointer instance,
8566
void g_signal_emit_by_name (gpointer instance,
8567
const gchar *detailed_signal,
8569
guint g_signal_lookup (const gchar *name,
8571
const gchar* g_signal_name (guint signal_id);
8572
void g_signal_query (guint signal_id,
8573
GSignalQuery *query);
8574
guint* g_signal_list_ids (GType itype,
8576
gboolean g_signal_parse_name (const gchar *detailed_signal,
8580
gboolean force_detail_quark);
8581
GSignalInvocationHint* g_signal_get_invocation_hint (gpointer instance);
8585
void g_signal_stop_emission (gpointer instance,
8588
void g_signal_stop_emission_by_name (gpointer instance,
8589
const gchar *detailed_signal);
8590
gulong g_signal_add_emission_hook (guint signal_id,
8592
GSignalEmissionHook hook_func,
8594
GDestroyNotify data_destroy);
8595
void g_signal_remove_emission_hook (guint signal_id,
8600
gboolean g_signal_has_handler_pending (gpointer instance,
8603
gboolean may_be_blocked);
8604
gulong g_signal_connect_closure_by_id (gpointer instance,
8609
gulong g_signal_connect_closure (gpointer instance,
8610
const gchar *detailed_signal,
8613
gulong g_signal_connect_data (gpointer instance,
8614
const gchar *detailed_signal,
8615
GCallback c_handler,
8617
GClosureNotify destroy_data,
8618
GConnectFlags connect_flags);
8619
void g_signal_handler_block (gpointer instance,
8621
void g_signal_handler_unblock (gpointer instance,
8623
void g_signal_handler_disconnect (gpointer instance,
8625
gboolean g_signal_handler_is_connected (gpointer instance,
8627
gulong g_signal_handler_find (gpointer instance,
8628
GSignalMatchType mask,
8634
guint g_signal_handlers_block_matched (gpointer instance,
8635
GSignalMatchType mask,
8641
guint g_signal_handlers_unblock_matched (gpointer instance,
8642
GSignalMatchType mask,
8648
guint g_signal_handlers_disconnect_matched (gpointer instance,
8649
GSignalMatchType mask,
8658
void g_signal_override_class_closure (guint signal_id,
8659
GType instance_type,
8660
GClosure *class_closure);
8661
void g_signal_override_class_handler (const gchar *signal_name,
8662
GType instance_type,
8663
GCallback class_handler);
8664
void g_signal_chain_from_overridden (const GValue *instance_and_params,
8665
GValue *return_value);
8666
void g_signal_chain_from_overridden_handler (gpointer instance,
8668
# 498 "/usr/include/glib-2.0/gobject/gsignal.h"
8669
gboolean g_signal_accumulator_true_handled (GSignalInvocationHint *ihint,
8670
GValue *return_accu,
8671
const GValue *handler_return,
8674
gboolean g_signal_accumulator_first_wins (GSignalInvocationHint *ihint,
8675
GValue *return_accu,
8676
const GValue *handler_return,
8680
void g_signal_handlers_destroy (gpointer instance);
8681
void _g_signals_destroy (GType itype);
8684
# 31 "/usr/include/glib-2.0/gobject/gobject.h" 2
8687
# 184 "/usr/include/glib-2.0/gobject/gobject.h"
8688
typedef struct _GObject GObject;
8689
typedef struct _GObjectClass GObjectClass;
8690
typedef struct _GObject GInitiallyUnowned;
8691
typedef struct _GObjectClass GInitiallyUnownedClass;
8692
typedef struct _GObjectConstructParam GObjectConstructParam;
8693
# 199 "/usr/include/glib-2.0/gobject/gobject.h"
8694
typedef void (*GObjectGetPropertyFunc) (GObject *object,
8698
# 213 "/usr/include/glib-2.0/gobject/gobject.h"
8699
typedef void (*GObjectSetPropertyFunc) (GObject *object,
8701
const GValue *value,
8709
typedef void (*GObjectFinalizeFunc) (GObject *object);
8710
# 234 "/usr/include/glib-2.0/gobject/gobject.h"
8711
typedef void (*GWeakNotify) (gpointer data,
8712
GObject *where_the_object_was);
8721
GTypeInstance g_type_instance;
8724
volatile guint ref_count;
8727
# 312 "/usr/include/glib-2.0/gobject/gobject.h"
8728
struct _GObjectClass
8730
GTypeClass g_type_class;
8733
GSList *construct_properties;
8737
GObject* (*constructor) (GType type,
8738
guint n_construct_properties,
8739
GObjectConstructParam *construct_properties);
8741
void (*set_property) (GObject *object,
8743
const GValue *value,
8745
void (*get_property) (GObject *object,
8749
void (*dispose) (GObject *object);
8750
void (*finalize) (GObject *object);
8752
void (*dispatch_properties_changed) (GObject *object,
8754
GParamSpec **pspecs);
8756
void (*notify) (GObject *object,
8760
void (*constructed) (GObject *object);
8768
# 361 "/usr/include/glib-2.0/gobject/gobject.h"
8769
struct _GObjectConstructParam
8774
# 382 "/usr/include/glib-2.0/gobject/gobject.h"
8775
GType g_initially_unowned_get_type (void);
8776
void g_object_class_install_property (GObjectClass *oclass,
8779
GParamSpec* g_object_class_find_property (GObjectClass *oclass,
8780
const gchar *property_name);
8781
GParamSpec**g_object_class_list_properties (GObjectClass *oclass,
8782
guint *n_properties);
8783
void g_object_class_override_property (GObjectClass *oclass,
8786
void g_object_class_install_properties (GObjectClass *oclass,
8788
GParamSpec **pspecs);
8790
void g_object_interface_install_property (gpointer g_iface,
8792
GParamSpec* g_object_interface_find_property (gpointer g_iface,
8793
const gchar *property_name);
8794
GParamSpec**g_object_interface_list_properties (gpointer g_iface,
8795
guint *n_properties_p);
8797
GType g_object_get_type (void) __attribute__((__const__));
8798
gpointer g_object_new (GType object_type,
8799
const gchar *first_property_name,
8801
gpointer g_object_newv (GType object_type,
8803
GParameter *parameters);
8804
GObject* g_object_new_valist (GType object_type,
8805
const gchar *first_property_name,
8807
void g_object_set (gpointer object,
8808
const gchar *first_property_name,
8809
...) __attribute__((__sentinel__));
8810
void g_object_get (gpointer object,
8811
const gchar *first_property_name,
8812
...) __attribute__((__sentinel__));
8813
gpointer g_object_connect (gpointer object,
8814
const gchar *signal_spec,
8815
...) __attribute__((__sentinel__));
8816
void g_object_disconnect (gpointer object,
8817
const gchar *signal_spec,
8818
...) __attribute__((__sentinel__));
8819
void g_object_set_valist (GObject *object,
8820
const gchar *first_property_name,
8822
void g_object_get_valist (GObject *object,
8823
const gchar *first_property_name,
8825
void g_object_set_property (GObject *object,
8826
const gchar *property_name,
8827
const GValue *value);
8828
void g_object_get_property (GObject *object,
8829
const gchar *property_name,
8831
void g_object_freeze_notify (GObject *object);
8832
void g_object_notify (GObject *object,
8833
const gchar *property_name);
8834
void g_object_notify_by_pspec (GObject *object,
8836
void g_object_thaw_notify (GObject *object);
8837
gboolean g_object_is_floating (gpointer object);
8838
gpointer g_object_ref_sink (gpointer object);
8839
gpointer g_object_ref (gpointer object);
8840
void g_object_unref (gpointer object);
8841
void g_object_weak_ref (GObject *object,
8844
void g_object_weak_unref (GObject *object,
8847
void g_object_add_weak_pointer (GObject *object,
8848
gpointer *weak_pointer_location);
8849
void g_object_remove_weak_pointer (GObject *object,
8850
gpointer *weak_pointer_location);
8851
# 471 "/usr/include/glib-2.0/gobject/gobject.h"
8852
typedef void (*GToggleNotify) (gpointer data,
8854
gboolean is_last_ref);
8856
void g_object_add_toggle_ref (GObject *object,
8857
GToggleNotify notify,
8859
void g_object_remove_toggle_ref (GObject *object,
8860
GToggleNotify notify,
8863
gpointer g_object_get_qdata (GObject *object,
8865
void g_object_set_qdata (GObject *object,
8868
void g_object_set_qdata_full (GObject *object,
8871
GDestroyNotify destroy);
8872
gpointer g_object_steal_qdata (GObject *object,
8874
gpointer g_object_get_data (GObject *object,
8876
void g_object_set_data (GObject *object,
8879
void g_object_set_data_full (GObject *object,
8882
GDestroyNotify destroy);
8883
gpointer g_object_steal_data (GObject *object,
8885
void g_object_watch_closure (GObject *object,
8887
GClosure* g_cclosure_new_object (GCallback callback_func,
8889
GClosure* g_cclosure_new_object_swap (GCallback callback_func,
8891
GClosure* g_closure_new_object (guint sizeof_closure,
8893
void g_value_set_object (GValue *value,
8895
gpointer g_value_get_object (const GValue *value);
8896
gpointer g_value_dup_object (const GValue *value);
8897
gulong g_signal_connect_object (gpointer instance,
8898
const gchar *detailed_signal,
8899
GCallback c_handler,
8901
GConnectFlags connect_flags);
8904
void g_object_force_floating (GObject *object);
8905
void g_object_run_dispose (GObject *object);
8908
void g_value_take_object (GValue *value,
8911
void g_value_set_object_take_ownership (GValue *value,
8916
gsize g_object_compat_control (gsize what,
8918
# 565 "/usr/include/glib-2.0/gobject/gobject.h"
8919
void g_clear_object (volatile GObject **object_ptr);
8920
# 580 "/usr/include/glib-2.0/gobject/gobject.h"
8922
# 32 "/usr/include/glib-2.0/gobject/gbinding.h" 2
8925
# 49 "/usr/include/glib-2.0/gobject/gbinding.h"
8926
typedef struct _GBinding GBinding;
8927
# 67 "/usr/include/glib-2.0/gobject/gbinding.h"
8928
typedef gboolean (* GBindingTransformFunc) (GBinding *binding,
8929
const GValue *source_value,
8930
GValue *target_value,
8931
gpointer user_data);
8932
# 95 "/usr/include/glib-2.0/gobject/gbinding.h"
8934
G_BINDING_DEFAULT = 0,
8936
G_BINDING_BIDIRECTIONAL = 1 << 0,
8937
G_BINDING_SYNC_CREATE = 1 << 1,
8938
G_BINDING_INVERT_BOOLEAN = 1 << 2
8941
GType g_binding_flags_get_type (void) __attribute__((__const__));
8942
GType g_binding_get_type (void) __attribute__((__const__));
8944
GBindingFlags g_binding_get_flags (GBinding *binding);
8945
GObject * g_binding_get_source (GBinding *binding);
8946
GObject * g_binding_get_target (GBinding *binding);
8947
const gchar *g_binding_get_source_property (GBinding *binding);
8948
const gchar *g_binding_get_target_property (GBinding *binding);
8950
GBinding *g_object_bind_property (gpointer source,
8951
const gchar *source_property,
8953
const gchar *target_property,
8954
GBindingFlags flags);
8955
GBinding *g_object_bind_property_full (gpointer source,
8956
const gchar *source_property,
8958
const gchar *target_property,
8959
GBindingFlags flags,
8960
GBindingTransformFunc transform_to,
8961
GBindingTransformFunc transform_from,
8963
GDestroyNotify notify);
8964
GBinding *g_object_bind_property_with_closures (gpointer source,
8965
const gchar *source_property,
8967
const gchar *target_property,
8968
GBindingFlags flags,
8969
GClosure *transform_to,
8970
GClosure *transform_from);
8973
# 26 "/usr/include/glib-2.0/glib-object.h" 2
8974
# 1 "/usr/include/glib-2.0/gobject/gboxed.h" 1
8975
# 26 "/usr/include/glib-2.0/gobject/gboxed.h"
8976
# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
8977
# 27 "/usr/include/glib-2.0/gobject/gboxed.h" 2
8980
# 53 "/usr/include/glib-2.0/gobject/gboxed.h"
8981
typedef gpointer (*GBoxedCopyFunc) (gpointer boxed);
8982
# 62 "/usr/include/glib-2.0/gobject/gboxed.h"
8983
typedef void (*GBoxedFreeFunc) (gpointer boxed);
8987
gpointer g_boxed_copy (GType boxed_type,
8988
gconstpointer src_boxed);
8989
void g_boxed_free (GType boxed_type,
8991
void g_value_set_boxed (GValue *value,
8992
gconstpointer v_boxed);
8993
void g_value_set_static_boxed (GValue *value,
8994
gconstpointer v_boxed);
8995
gpointer g_value_get_boxed (const GValue *value);
8996
gpointer g_value_dup_boxed (const GValue *value);
9000
GType g_boxed_type_register_static (const gchar *name,
9001
GBoxedCopyFunc boxed_copy,
9002
GBoxedFreeFunc boxed_free);
9003
# 214 "/usr/include/glib-2.0/gobject/gboxed.h"
9004
void g_value_take_boxed (GValue *value,
9005
gconstpointer v_boxed);
9007
void g_value_set_boxed_take_ownership (GValue *value,
9008
gconstpointer v_boxed);
9010
GType g_closure_get_type (void) __attribute__((__const__));
9011
GType g_value_get_type (void) __attribute__((__const__));
9012
GType g_value_array_get_type (void) __attribute__((__const__));
9013
GType g_date_get_type (void) __attribute__((__const__));
9014
GType g_strv_get_type (void) __attribute__((__const__));
9015
GType g_gstring_get_type (void) __attribute__((__const__));
9016
GType g_hash_table_get_type (void) __attribute__((__const__));
9017
GType g_array_get_type (void) __attribute__((__const__));
9018
GType g_byte_array_get_type (void) __attribute__((__const__));
9019
GType g_ptr_array_get_type (void) __attribute__((__const__));
9020
GType g_variant_type_get_gtype(void) __attribute__((__const__));
9021
GType g_regex_get_type (void) __attribute__((__const__));
9022
GType g_error_get_type (void) __attribute__((__const__));
9023
GType g_date_time_get_type (void) __attribute__((__const__));
9026
GType g_variant_get_gtype (void) __attribute__((__const__));
9034
typedef gchar** GStrv;
9037
# 27 "/usr/include/glib-2.0/glib-object.h" 2
9038
# 1 "/usr/include/glib-2.0/gobject/genums.h" 1
9039
# 26 "/usr/include/glib-2.0/gobject/genums.h"
9040
# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
9041
# 27 "/usr/include/glib-2.0/gobject/genums.h" 2
9044
# 140 "/usr/include/glib-2.0/gobject/genums.h"
9045
typedef struct _GEnumClass GEnumClass;
9046
typedef struct _GFlagsClass GFlagsClass;
9047
typedef struct _GEnumValue GEnumValue;
9048
typedef struct _GFlagsValue GFlagsValue;
9049
# 157 "/usr/include/glib-2.0/gobject/genums.h"
9052
GTypeClass g_type_class;
9060
# 178 "/usr/include/glib-2.0/gobject/genums.h"
9063
GTypeClass g_type_class;
9068
GFlagsValue *values;
9070
# 196 "/usr/include/glib-2.0/gobject/genums.h"
9074
const gchar *value_name;
9075
const gchar *value_nick;
9077
# 211 "/usr/include/glib-2.0/gobject/genums.h"
9081
const gchar *value_name;
9082
const gchar *value_nick;
9087
GEnumValue* g_enum_get_value (GEnumClass *enum_class,
9089
GEnumValue* g_enum_get_value_by_name (GEnumClass *enum_class,
9091
GEnumValue* g_enum_get_value_by_nick (GEnumClass *enum_class,
9093
GFlagsValue* g_flags_get_first_value (GFlagsClass *flags_class,
9095
GFlagsValue* g_flags_get_value_by_name (GFlagsClass *flags_class,
9097
GFlagsValue* g_flags_get_value_by_nick (GFlagsClass *flags_class,
9099
void g_value_set_enum (GValue *value,
9101
gint g_value_get_enum (const GValue *value);
9102
void g_value_set_flags (GValue *value,
9104
guint g_value_get_flags (const GValue *value);
9112
GType g_enum_register_static (const gchar *name,
9113
const GEnumValue *const_static_values);
9114
GType g_flags_register_static (const gchar *name,
9115
const GFlagsValue *const_static_values);
9119
void g_enum_complete_type_info (GType g_enum_type,
9121
const GEnumValue *const_values);
9122
void g_flags_complete_type_info (GType g_flags_type,
9124
const GFlagsValue *const_values);
9127
# 28 "/usr/include/glib-2.0/glib-object.h" 2
9128
# 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
9129
# 29 "/usr/include/glib-2.0/glib-object.h" 2
9130
# 1 "/usr/include/glib-2.0/gobject/gparam.h" 1
9131
# 30 "/usr/include/glib-2.0/glib-object.h" 2
9132
# 1 "/usr/include/glib-2.0/gobject/gparamspecs.h" 1
9133
# 28 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9134
# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
9135
# 29 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
9136
# 1 "/usr/include/glib-2.0/gobject/genums.h" 1
9137
# 30 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
9138
# 1 "/usr/include/glib-2.0/gobject/gboxed.h" 1
9139
# 31 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
9140
# 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
9141
# 32 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
9144
# 582 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9145
typedef struct _GParamSpecChar GParamSpecChar;
9146
typedef struct _GParamSpecUChar GParamSpecUChar;
9147
typedef struct _GParamSpecBoolean GParamSpecBoolean;
9148
typedef struct _GParamSpecInt GParamSpecInt;
9149
typedef struct _GParamSpecUInt GParamSpecUInt;
9150
typedef struct _GParamSpecLong GParamSpecLong;
9151
typedef struct _GParamSpecULong GParamSpecULong;
9152
typedef struct _GParamSpecInt64 GParamSpecInt64;
9153
typedef struct _GParamSpecUInt64 GParamSpecUInt64;
9154
typedef struct _GParamSpecUnichar GParamSpecUnichar;
9155
typedef struct _GParamSpecEnum GParamSpecEnum;
9156
typedef struct _GParamSpecFlags GParamSpecFlags;
9157
typedef struct _GParamSpecFloat GParamSpecFloat;
9158
typedef struct _GParamSpecDouble GParamSpecDouble;
9159
typedef struct _GParamSpecString GParamSpecString;
9160
typedef struct _GParamSpecParam GParamSpecParam;
9161
typedef struct _GParamSpecBoxed GParamSpecBoxed;
9162
typedef struct _GParamSpecPointer GParamSpecPointer;
9163
typedef struct _GParamSpecValueArray GParamSpecValueArray;
9164
typedef struct _GParamSpecObject GParamSpecObject;
9165
typedef struct _GParamSpecOverride GParamSpecOverride;
9166
typedef struct _GParamSpecGType GParamSpecGType;
9167
typedef struct _GParamSpecVariant GParamSpecVariant;
9168
# 615 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9169
struct _GParamSpecChar
9171
GParamSpec parent_instance;
9175
gint8 default_value;
9177
# 632 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9178
struct _GParamSpecUChar
9180
GParamSpec parent_instance;
9184
guint8 default_value;
9193
struct _GParamSpecBoolean
9195
GParamSpec parent_instance;
9197
gboolean default_value;
9199
# 662 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9200
struct _GParamSpecInt
9202
GParamSpec parent_instance;
9208
# 679 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9209
struct _GParamSpecUInt
9211
GParamSpec parent_instance;
9215
guint default_value;
9217
# 696 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9218
struct _GParamSpecLong
9220
GParamSpec parent_instance;
9224
glong default_value;
9226
# 713 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9227
struct _GParamSpecULong
9229
GParamSpec parent_instance;
9233
gulong default_value;
9235
# 730 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9236
struct _GParamSpecInt64
9238
GParamSpec parent_instance;
9242
gint64 default_value;
9244
# 747 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9245
struct _GParamSpecUInt64
9247
GParamSpec parent_instance;
9251
guint64 default_value;
9260
struct _GParamSpecUnichar
9262
GParamSpec parent_instance;
9264
gunichar default_value;
9266
# 777 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9267
struct _GParamSpecEnum
9269
GParamSpec parent_instance;
9271
GEnumClass *enum_class;
9274
# 793 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9275
struct _GParamSpecFlags
9277
GParamSpec parent_instance;
9279
GFlagsClass *flags_class;
9280
guint default_value;
9282
# 811 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9283
struct _GParamSpecFloat
9285
GParamSpec parent_instance;
9289
gfloat default_value;
9292
# 831 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9293
struct _GParamSpecDouble
9295
GParamSpec parent_instance;
9299
gdouble default_value;
9302
# 853 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9303
struct _GParamSpecString
9305
GParamSpec parent_instance;
9307
gchar *default_value;
9311
guint null_fold_if_empty : 1;
9312
guint ensure_non_null : 1;
9321
struct _GParamSpecParam
9323
GParamSpec parent_instance;
9331
struct _GParamSpecBoxed
9333
GParamSpec parent_instance;
9341
struct _GParamSpecPointer
9343
GParamSpec parent_instance;
9345
# 903 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9346
struct _GParamSpecValueArray
9348
GParamSpec parent_instance;
9349
GParamSpec *element_spec;
9350
guint fixed_n_elements;
9358
struct _GParamSpecObject
9360
GParamSpec parent_instance;
9362
# 933 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9363
struct _GParamSpecOverride
9366
GParamSpec parent_instance;
9367
GParamSpec *overridden;
9369
# 948 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9370
struct _GParamSpecGType
9372
GParamSpec parent_instance;
9375
# 963 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9376
struct _GParamSpecVariant
9378
GParamSpec parent_instance;
9380
GVariant *default_value;
9383
gpointer padding[4];
9387
GParamSpec* g_param_spec_char (const gchar *name,
9392
gint8 default_value,
9394
GParamSpec* g_param_spec_uchar (const gchar *name,
9399
guint8 default_value,
9401
GParamSpec* g_param_spec_boolean (const gchar *name,
9404
gboolean default_value,
9406
GParamSpec* g_param_spec_int (const gchar *name,
9413
GParamSpec* g_param_spec_uint (const gchar *name,
9418
guint default_value,
9420
GParamSpec* g_param_spec_long (const gchar *name,
9425
glong default_value,
9427
GParamSpec* g_param_spec_ulong (const gchar *name,
9432
gulong default_value,
9434
GParamSpec* g_param_spec_int64 (const gchar *name,
9439
gint64 default_value,
9441
GParamSpec* g_param_spec_uint64 (const gchar *name,
9446
guint64 default_value,
9448
GParamSpec* g_param_spec_unichar (const gchar *name,
9451
gunichar default_value,
9453
GParamSpec* g_param_spec_enum (const gchar *name,
9459
GParamSpec* g_param_spec_flags (const gchar *name,
9463
guint default_value,
9465
GParamSpec* g_param_spec_float (const gchar *name,
9470
gfloat default_value,
9472
GParamSpec* g_param_spec_double (const gchar *name,
9477
gdouble default_value,
9479
GParamSpec* g_param_spec_string (const gchar *name,
9482
const gchar *default_value,
9484
GParamSpec* g_param_spec_param (const gchar *name,
9489
GParamSpec* g_param_spec_boxed (const gchar *name,
9494
GParamSpec* g_param_spec_pointer (const gchar *name,
9498
GParamSpec* g_param_spec_value_array (const gchar *name,
9501
GParamSpec *element_spec,
9503
GParamSpec* g_param_spec_object (const gchar *name,
9508
GParamSpec* g_param_spec_override (const gchar *name,
9509
GParamSpec *overridden);
9510
GParamSpec* g_param_spec_gtype (const gchar *name,
9515
GParamSpec* g_param_spec_variant (const gchar *name,
9518
const GVariantType *type,
9519
GVariant *default_value,
9521
# 1133 "/usr/include/glib-2.0/gobject/gparamspecs.h"
9522
extern GType *g_param_spec_types;
9525
# 31 "/usr/include/glib-2.0/glib-object.h" 2
9526
# 1 "/usr/include/glib-2.0/gobject/gsignal.h" 1
9527
# 32 "/usr/include/glib-2.0/glib-object.h" 2
9528
# 1 "/usr/include/glib-2.0/gobject/gsourceclosure.h" 1
9529
# 26 "/usr/include/glib-2.0/gobject/gsourceclosure.h"
9530
# 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1
9531
# 27 "/usr/include/glib-2.0/gobject/gsourceclosure.h" 2
9535
void g_source_set_closure (GSource *source,
9538
void g_source_set_dummy_callback (GSource *source);
9540
GType g_io_channel_get_type (void);
9541
GType g_io_condition_get_type (void);
9542
# 51 "/usr/include/glib-2.0/gobject/gsourceclosure.h"
9544
# 33 "/usr/include/glib-2.0/glib-object.h" 2
9545
# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
9546
# 34 "/usr/include/glib-2.0/glib-object.h" 2
9547
# 1 "/usr/include/glib-2.0/gobject/gtypemodule.h" 1
9548
# 26 "/usr/include/glib-2.0/gobject/gtypemodule.h"
9549
# 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
9550
# 27 "/usr/include/glib-2.0/gobject/gtypemodule.h" 2
9551
# 1 "/usr/include/glib-2.0/gobject/genums.h" 1
9552
# 28 "/usr/include/glib-2.0/gobject/gtypemodule.h" 2
9556
typedef struct _GTypeModule GTypeModule;
9557
typedef struct _GTypeModuleClass GTypeModuleClass;
9558
# 48 "/usr/include/glib-2.0/gobject/gtypemodule.h"
9561
GObject parent_instance;
9565
GSList *interface_infos;
9570
# 70 "/usr/include/glib-2.0/gobject/gtypemodule.h"
9571
struct _GTypeModuleClass
9573
GObjectClass parent_class;
9576
gboolean (* load) (GTypeModule *module);
9577
void (* unload) (GTypeModule *module);
9581
void (*reserved1) (void);
9582
void (*reserved2) (void);
9583
void (*reserved3) (void);
9584
void (*reserved4) (void);
9586
# 240 "/usr/include/glib-2.0/gobject/gtypemodule.h"
9587
GType g_type_module_get_type (void) __attribute__((__const__));
9588
gboolean g_type_module_use (GTypeModule *module);
9589
void g_type_module_unuse (GTypeModule *module);
9590
void g_type_module_set_name (GTypeModule *module,
9592
GType g_type_module_register_type (GTypeModule *module,
9594
const gchar *type_name,
9595
const GTypeInfo *type_info,
9597
void g_type_module_add_interface (GTypeModule *module,
9598
GType instance_type,
9599
GType interface_type,
9600
const GInterfaceInfo *interface_info);
9601
GType g_type_module_register_enum (GTypeModule *module,
9603
const GEnumValue *const_static_values);
9604
GType g_type_module_register_flags (GTypeModule *module,
9606
const GFlagsValue *const_static_values);
9609
# 35 "/usr/include/glib-2.0/glib-object.h" 2
9610
# 1 "/usr/include/glib-2.0/gobject/gtypeplugin.h" 1
9611
# 26 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
9612
# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
9613
# 27 "/usr/include/glib-2.0/gobject/gtypeplugin.h" 2
9616
# 40 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
9617
typedef struct _GTypePluginClass GTypePluginClass;
9625
typedef void (*GTypePluginUse) (GTypePlugin *plugin);
9632
typedef void (*GTypePluginUnuse) (GTypePlugin *plugin);
9633
# 65 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
9634
typedef void (*GTypePluginCompleteTypeInfo) (GTypePlugin *plugin,
9637
GTypeValueTable *value_table);
9638
# 79 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
9639
typedef void (*GTypePluginCompleteInterfaceInfo) (GTypePlugin *plugin,
9640
GType instance_type,
9641
GType interface_type,
9642
GInterfaceInfo *info);
9643
# 106 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
9644
struct _GTypePluginClass
9647
GTypeInterface base_iface;
9650
GTypePluginUse use_plugin;
9651
GTypePluginUnuse unuse_plugin;
9652
GTypePluginCompleteTypeInfo complete_type_info;
9653
GTypePluginCompleteInterfaceInfo complete_interface_info;
9658
GType g_type_plugin_get_type (void) __attribute__((__const__));
9659
void g_type_plugin_use (GTypePlugin *plugin);
9660
void g_type_plugin_unuse (GTypePlugin *plugin);
9661
void g_type_plugin_complete_type_info (GTypePlugin *plugin,
9664
GTypeValueTable *value_table);
9665
void g_type_plugin_complete_interface_info (GTypePlugin *plugin,
9666
GType instance_type,
9667
GType interface_type,
9668
GInterfaceInfo *info);
9671
# 36 "/usr/include/glib-2.0/glib-object.h" 2
9672
# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
9673
# 37 "/usr/include/glib-2.0/glib-object.h" 2
9674
# 1 "/usr/include/glib-2.0/gobject/gvaluearray.h" 1
9675
# 28 "/usr/include/glib-2.0/gobject/gvaluearray.h"
9676
# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
9677
# 29 "/usr/include/glib-2.0/gobject/gvaluearray.h" 2
9684
typedef struct _GValueArray GValueArray;
9703
GValue* g_value_array_get_nth (GValueArray *value_array,
9705
GValueArray* g_value_array_new (guint n_prealloced);
9706
void g_value_array_free (GValueArray *value_array);
9707
GValueArray* g_value_array_copy (const GValueArray *value_array);
9708
GValueArray* g_value_array_prepend (GValueArray *value_array,
9709
const GValue *value);
9710
GValueArray* g_value_array_append (GValueArray *value_array,
9711
const GValue *value);
9712
GValueArray* g_value_array_insert (GValueArray *value_array,
9714
const GValue *value);
9715
GValueArray* g_value_array_remove (GValueArray *value_array,
9717
GValueArray* g_value_array_sort (GValueArray *value_array,
9718
GCompareFunc compare_func);
9719
GValueArray* g_value_array_sort_with_data (GValueArray *value_array,
9720
GCompareDataFunc compare_func,
9721
gpointer user_data);
9725
# 38 "/usr/include/glib-2.0/glib-object.h" 2
9726
# 1 "/usr/include/glib-2.0/gobject/gvaluetypes.h" 1
9727
# 28 "/usr/include/glib-2.0/gobject/gvaluetypes.h"
9728
# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
9729
# 29 "/usr/include/glib-2.0/gobject/gvaluetypes.h" 2
9732
# 180 "/usr/include/glib-2.0/gobject/gvaluetypes.h"
9733
void g_value_set_char (GValue *value,
9735
gchar g_value_get_char (const GValue *value);
9736
void g_value_set_uchar (GValue *value,
9738
guchar g_value_get_uchar (const GValue *value);
9739
void g_value_set_boolean (GValue *value,
9740
gboolean v_boolean);
9741
gboolean g_value_get_boolean (const GValue *value);
9742
void g_value_set_int (GValue *value,
9744
gint g_value_get_int (const GValue *value);
9745
void g_value_set_uint (GValue *value,
9747
guint g_value_get_uint (const GValue *value);
9748
void g_value_set_long (GValue *value,
9750
glong g_value_get_long (const GValue *value);
9751
void g_value_set_ulong (GValue *value,
9753
gulong g_value_get_ulong (const GValue *value);
9754
void g_value_set_int64 (GValue *value,
9756
gint64 g_value_get_int64 (const GValue *value);
9757
void g_value_set_uint64 (GValue *value,
9759
guint64 g_value_get_uint64 (const GValue *value);
9760
void g_value_set_float (GValue *value,
9762
gfloat g_value_get_float (const GValue *value);
9763
void g_value_set_double (GValue *value,
9765
gdouble g_value_get_double (const GValue *value);
9766
void g_value_set_string (GValue *value,
9767
const gchar *v_string);
9768
void g_value_set_static_string (GValue *value,
9769
const gchar *v_string);
9770
const gchar* g_value_get_string (const GValue *value);
9771
gchar* g_value_dup_string (const GValue *value);
9772
void g_value_set_pointer (GValue *value,
9773
gpointer v_pointer);
9774
gpointer g_value_get_pointer (const GValue *value);
9775
GType g_gtype_get_type (void);
9776
void g_value_set_gtype (GValue *value,
9778
GType g_value_get_gtype (const GValue *value);
9779
void g_value_set_variant (GValue *value,
9781
void g_value_take_variant (GValue *value,
9783
GVariant* g_value_get_variant (const GValue *value);
9784
GVariant* g_value_dup_variant (const GValue *value);
9788
GType g_pointer_type_register_static (const gchar *name);
9791
gchar* g_strdup_value_contents (const GValue *value);
9794
void g_value_take_string (GValue *value,
9797
void g_value_set_string_take_ownership (GValue *value,
9799
# 255 "/usr/include/glib-2.0/gobject/gvaluetypes.h"
9800
typedef gchar* gchararray;
9804
# 39 "/usr/include/glib-2.0/glib-object.h" 2
9805
# 35 "../../testing/testing.h" 2
9806
# 1 "/usr/include/glib-2.0/glib/gstdio.h" 1
9807
# 24 "/usr/include/glib-2.0/glib/gstdio.h"
9808
# 1 "/usr/include/glib-2.0/glib/gprintf.h" 1
9809
# 24 "/usr/include/glib-2.0/glib/gprintf.h"
9810
# 1 "/usr/include/stdio.h" 1 3 4
9811
# 30 "/usr/include/stdio.h" 3 4
9816
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
9817
# 35 "/usr/include/stdio.h" 2 3 4
9818
# 45 "/usr/include/stdio.h" 3 4
9823
typedef struct _IO_FILE FILE;
9829
# 65 "/usr/include/stdio.h" 3 4
9830
typedef struct _IO_FILE __FILE;
9831
# 75 "/usr/include/stdio.h" 3 4
9832
# 1 "/usr/include/libio.h" 1 3 4
9833
# 32 "/usr/include/libio.h" 3 4
9834
# 1 "/usr/include/_G_config.h" 1 3 4
9835
# 15 "/usr/include/_G_config.h" 3 4
9836
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
9837
# 16 "/usr/include/_G_config.h" 2 3 4
9842
# 1 "/usr/include/wchar.h" 1 3 4
9843
# 83 "/usr/include/wchar.h" 3 4
9857
# 21 "/usr/include/_G_config.h" 2 3 4
9862
__mbstate_t __state;
9867
__mbstate_t __state;
9869
# 53 "/usr/include/_G_config.h" 3 4
9870
typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
9871
typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
9872
typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
9873
typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
9874
# 33 "/usr/include/libio.h" 2 3 4
9875
# 170 "/usr/include/libio.h" 3 4
9876
struct _IO_jump_t; struct _IO_FILE;
9877
# 180 "/usr/include/libio.h" 3 4
9878
typedef void _IO_lock_t;
9885
struct _IO_marker *_next;
9886
struct _IO_FILE *_sbuf;
9891
# 203 "/usr/include/libio.h" 3 4
9895
enum __codecvt_result
9902
# 271 "/usr/include/libio.h" 3 4
9911
char* _IO_read_base;
9912
char* _IO_write_base;
9913
char* _IO_write_ptr;
9914
char* _IO_write_end;
9918
char *_IO_save_base;
9919
char *_IO_backup_base;
9922
struct _IO_marker *_markers;
9924
struct _IO_FILE *_chain;
9932
__off_t _old_offset;
9936
unsigned short _cur_column;
9937
signed char _vtable_offset;
9943
# 319 "/usr/include/libio.h" 3 4
9945
# 328 "/usr/include/libio.h" 3 4
9954
char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
9959
typedef struct _IO_FILE _IO_FILE;
9962
struct _IO_FILE_plus;
9964
extern struct _IO_FILE_plus _IO_2_1_stdin_;
9965
extern struct _IO_FILE_plus _IO_2_1_stdout_;
9966
extern struct _IO_FILE_plus _IO_2_1_stderr_;
9967
# 364 "/usr/include/libio.h" 3 4
9968
typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
9976
typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
9985
typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
9988
typedef int __io_close_fn (void *__cookie);
9993
typedef __io_read_fn cookie_read_function_t;
9994
typedef __io_write_fn cookie_write_function_t;
9995
typedef __io_seek_fn cookie_seek_function_t;
9996
typedef __io_close_fn cookie_close_function_t;
10001
__io_read_fn *read;
10002
__io_write_fn *write;
10003
__io_seek_fn *seek;
10004
__io_close_fn *close;
10005
} _IO_cookie_io_functions_t;
10006
typedef _IO_cookie_io_functions_t cookie_io_functions_t;
10008
struct _IO_cookie_file;
10011
extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write,
10012
void *__cookie, _IO_cookie_io_functions_t __fns);
10020
extern int __underflow (_IO_FILE *);
10021
extern int __uflow (_IO_FILE *);
10022
extern int __overflow (_IO_FILE *, int);
10023
# 460 "/usr/include/libio.h" 3 4
10024
extern int _IO_getc (_IO_FILE *__fp);
10025
extern int _IO_putc (int __c, _IO_FILE *__fp);
10026
extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
10027
extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
10029
extern int _IO_peekc_locked (_IO_FILE *__fp);
10035
extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
10036
extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
10037
extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
10038
# 490 "/usr/include/libio.h" 3 4
10039
extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
10040
__gnuc_va_list, int *__restrict);
10041
extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
10043
extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
10044
extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
10046
extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
10047
extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
10049
extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
10050
# 76 "/usr/include/stdio.h" 2 3 4
10051
# 91 "/usr/include/stdio.h" 3 4
10052
typedef __off_t off_t;
10059
typedef __off64_t off64_t;
10064
typedef __ssize_t ssize_t;
10072
typedef _G_fpos_t fpos_t;
10078
typedef _G_fpos64_t fpos64_t;
10079
# 161 "/usr/include/stdio.h" 3 4
10080
# 1 "/usr/include/bits/stdio_lim.h" 1 3 4
10081
# 162 "/usr/include/stdio.h" 2 3 4
10085
extern struct _IO_FILE *stdin;
10086
extern struct _IO_FILE *stdout;
10087
extern struct _IO_FILE *stderr;
10095
extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
10097
extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
10102
extern int renameat (int __oldfd, __const char *__old, int __newfd,
10103
__const char *__new) __attribute__ ((__nothrow__));
10112
extern FILE *tmpfile (void) __attribute__ ((__warn_unused_result__));
10113
# 202 "/usr/include/stdio.h" 3 4
10114
extern FILE *tmpfile64 (void) __attribute__ ((__warn_unused_result__));
10118
extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
10124
extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
10125
# 224 "/usr/include/stdio.h" 3 4
10126
extern char *tempnam (__const char *__dir, __const char *__pfx)
10127
__attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
10136
extern int fclose (FILE *__stream);
10141
extern int fflush (FILE *__stream);
10143
# 249 "/usr/include/stdio.h" 3 4
10144
extern int fflush_unlocked (FILE *__stream);
10145
# 259 "/usr/include/stdio.h" 3 4
10146
extern int fcloseall (void);
10156
extern FILE *fopen (__const char *__restrict __filename,
10157
__const char *__restrict __modes) __attribute__ ((__warn_unused_result__));
10162
extern FILE *freopen (__const char *__restrict __filename,
10163
__const char *__restrict __modes,
10164
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
10165
# 292 "/usr/include/stdio.h" 3 4
10168
extern FILE *fopen64 (__const char *__restrict __filename,
10169
__const char *__restrict __modes) __attribute__ ((__warn_unused_result__));
10170
extern FILE *freopen64 (__const char *__restrict __filename,
10171
__const char *__restrict __modes,
10172
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
10177
extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
10183
extern FILE *fopencookie (void *__restrict __magic_cookie,
10184
__const char *__restrict __modes,
10185
_IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
10190
extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
10191
__attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
10196
extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
10203
extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
10207
extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
10208
int __modes, size_t __n) __attribute__ ((__nothrow__));
10214
extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
10215
size_t __size) __attribute__ ((__nothrow__));
10218
extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
10227
extern int fprintf (FILE *__restrict __stream,
10228
__const char *__restrict __format, ...);
10233
extern int printf (__const char *__restrict __format, ...);
10235
extern int sprintf (char *__restrict __s,
10236
__const char *__restrict __format, ...) __attribute__ ((__nothrow__));
10242
extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
10243
__gnuc_va_list __arg);
10248
extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
10250
extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
10251
__gnuc_va_list __arg) __attribute__ ((__nothrow__));
10257
extern int snprintf (char *__restrict __s, size_t __maxlen,
10258
__const char *__restrict __format, ...)
10259
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
10261
extern int vsnprintf (char *__restrict __s, size_t __maxlen,
10262
__const char *__restrict __format, __gnuc_va_list __arg)
10263
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
10270
extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
10271
__gnuc_va_list __arg)
10272
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) __attribute__ ((__warn_unused_result__));
10273
extern int __asprintf (char **__restrict __ptr,
10274
__const char *__restrict __fmt, ...)
10275
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
10276
extern int asprintf (char **__restrict __ptr,
10277
__const char *__restrict __fmt, ...)
10278
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
10279
# 414 "/usr/include/stdio.h" 3 4
10280
extern int vdprintf (int __fd, __const char *__restrict __fmt,
10281
__gnuc_va_list __arg)
10282
__attribute__ ((__format__ (__printf__, 2, 0)));
10283
extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
10284
__attribute__ ((__format__ (__printf__, 2, 3)));
10293
extern int fscanf (FILE *__restrict __stream,
10294
__const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
10299
extern int scanf (__const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
10301
extern int sscanf (__const char *__restrict __s,
10302
__const char *__restrict __format, ...) __attribute__ ((__nothrow__));
10303
# 465 "/usr/include/stdio.h" 3 4
10312
extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
10313
__gnuc_va_list __arg)
10314
__attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__));
10320
extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
10321
__attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__));
10324
extern int vsscanf (__const char *__restrict __s,
10325
__const char *__restrict __format, __gnuc_va_list __arg)
10326
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
10327
# 524 "/usr/include/stdio.h" 3 4
10337
extern int fgetc (FILE *__stream);
10338
extern int getc (FILE *__stream);
10344
extern int getchar (void);
10346
# 552 "/usr/include/stdio.h" 3 4
10347
extern int getc_unlocked (FILE *__stream);
10348
extern int getchar_unlocked (void);
10349
# 563 "/usr/include/stdio.h" 3 4
10350
extern int fgetc_unlocked (FILE *__stream);
10362
extern int fputc (int __c, FILE *__stream);
10363
extern int putc (int __c, FILE *__stream);
10369
extern int putchar (int __c);
10371
# 596 "/usr/include/stdio.h" 3 4
10372
extern int fputc_unlocked (int __c, FILE *__stream);
10380
extern int putc_unlocked (int __c, FILE *__stream);
10381
extern int putchar_unlocked (int __c);
10388
extern int getw (FILE *__stream);
10391
extern int putw (int __w, FILE *__stream);
10400
extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
10401
__attribute__ ((__warn_unused_result__));
10408
extern char *gets (char *__s) __attribute__ ((__warn_unused_result__));
10410
# 642 "/usr/include/stdio.h" 3 4
10411
extern char *fgets_unlocked (char *__restrict __s, int __n,
10412
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
10413
# 658 "/usr/include/stdio.h" 3 4
10414
extern __ssize_t __getdelim (char **__restrict __lineptr,
10415
size_t *__restrict __n, int __delimiter,
10416
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
10417
extern __ssize_t getdelim (char **__restrict __lineptr,
10418
size_t *__restrict __n, int __delimiter,
10419
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
10427
extern __ssize_t getline (char **__restrict __lineptr,
10428
size_t *__restrict __n,
10429
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
10438
extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
10444
extern int puts (__const char *__s);
10451
extern int ungetc (int __c, FILE *__stream);
10458
extern size_t fread (void *__restrict __ptr, size_t __size,
10459
size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
10464
extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
10465
size_t __n, FILE *__restrict __s);
10467
# 719 "/usr/include/stdio.h" 3 4
10468
extern int fputs_unlocked (__const char *__restrict __s,
10469
FILE *__restrict __stream);
10470
# 730 "/usr/include/stdio.h" 3 4
10471
extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
10472
size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
10473
extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
10474
size_t __n, FILE *__restrict __stream);
10483
extern int fseek (FILE *__stream, long int __off, int __whence);
10488
extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__));
10493
extern void rewind (FILE *__stream);
10495
# 766 "/usr/include/stdio.h" 3 4
10496
extern int fseeko (FILE *__stream, __off_t __off, int __whence);
10501
extern __off_t ftello (FILE *__stream) __attribute__ ((__warn_unused_result__));
10502
# 785 "/usr/include/stdio.h" 3 4
10509
extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
10514
extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
10515
# 808 "/usr/include/stdio.h" 3 4
10519
extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
10520
extern __off64_t ftello64 (FILE *__stream) __attribute__ ((__warn_unused_result__));
10521
extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
10522
extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
10527
extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
10529
extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
10531
extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
10536
extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
10537
extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
10538
extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
10547
extern void perror (__const char *__s);
10554
# 1 "/usr/include/bits/sys_errlist.h" 1 3 4
10555
# 27 "/usr/include/bits/sys_errlist.h" 3 4
10556
extern int sys_nerr;
10557
extern __const char *__const sys_errlist[];
10560
extern int _sys_nerr;
10561
extern __const char *__const _sys_errlist[];
10562
# 847 "/usr/include/stdio.h" 2 3 4
10567
extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
10572
extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
10573
# 866 "/usr/include/stdio.h" 3 4
10574
extern FILE *popen (__const char *__command, __const char *__modes) __attribute__ ((__warn_unused_result__));
10580
extern int pclose (FILE *__stream);
10586
extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
10592
extern char *cuserid (char *__s);
10600
extern int obstack_printf (struct obstack *__restrict __obstack,
10601
__const char *__restrict __format, ...)
10602
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3)));
10603
extern int obstack_vprintf (struct obstack *__restrict __obstack,
10604
__const char *__restrict __format,
10605
__gnuc_va_list __args)
10606
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0)));
10614
extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
10618
extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
10621
extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
10622
# 927 "/usr/include/stdio.h" 3 4
10623
# 1 "/usr/include/bits/stdio.h" 1 3 4
10624
# 44 "/usr/include/bits/stdio.h" 3 4
10625
extern __inline int
10628
return _IO_getc (stdin);
10634
extern __inline int
10635
fgetc_unlocked (FILE *__fp)
10637
return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
10644
extern __inline int
10645
getc_unlocked (FILE *__fp)
10647
return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
10651
extern __inline int
10652
getchar_unlocked (void)
10654
return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
10660
extern __inline int
10663
return _IO_putc (__c, stdout);
10669
extern __inline int
10670
fputc_unlocked (int __c, FILE *__stream)
10672
return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
10679
extern __inline int
10680
putc_unlocked (int __c, FILE *__stream)
10682
return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
10686
extern __inline int
10687
putchar_unlocked (int __c)
10689
return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
10696
extern __inline __ssize_t
10697
getline (char **__lineptr, size_t *__n, FILE *__stream)
10699
return __getdelim (__lineptr, __n, '\n', __stream);
10706
extern __inline int
10707
__attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream)
10709
return (((__stream)->_flags & 0x10) != 0);
10713
extern __inline int
10714
__attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream)
10716
return (((__stream)->_flags & 0x20) != 0);
10718
# 928 "/usr/include/stdio.h" 2 3 4
10721
# 1 "/usr/include/bits/stdio2.h" 1 3 4
10722
# 24 "/usr/include/bits/stdio2.h" 3 4
10723
extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen,
10724
__const char *__restrict __format, ...) __attribute__ ((__nothrow__));
10725
extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen,
10726
__const char *__restrict __format,
10727
__gnuc_va_list __ap) __attribute__ ((__nothrow__));
10730
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
10731
__attribute__ ((__nothrow__)) sprintf (char *__restrict __s, __const char *__restrict __fmt, ...)
10733
return __builtin___sprintf_chk (__s, 2 - 1,
10734
__builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ());
10742
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
10743
__attribute__ ((__nothrow__)) vsprintf (char *__restrict __s, __const char *__restrict __fmt, __gnuc_va_list __ap)
10746
return __builtin___vsprintf_chk (__s, 2 - 1,
10747
__builtin_object_size (__s, 2 > 1), __fmt, __ap);
10752
extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag,
10753
size_t __slen, __const char *__restrict __format,
10754
...) __attribute__ ((__nothrow__));
10755
extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag,
10756
size_t __slen, __const char *__restrict __format,
10757
__gnuc_va_list __ap) __attribute__ ((__nothrow__));
10760
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
10761
__attribute__ ((__nothrow__)) snprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, ...)
10764
return __builtin___snprintf_chk (__s, __n, 2 - 1,
10765
__builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ());
10773
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
10774
__attribute__ ((__nothrow__)) vsnprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, __gnuc_va_list __ap)
10777
return __builtin___vsnprintf_chk (__s, __n, 2 - 1,
10778
__builtin_object_size (__s, 2 > 1), __fmt, __ap);
10785
extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
10786
__const char *__restrict __format, ...);
10787
extern int __printf_chk (int __flag, __const char *__restrict __format, ...);
10788
extern int __vfprintf_chk (FILE *__restrict __stream, int __flag,
10789
__const char *__restrict __format, __gnuc_va_list __ap);
10790
extern int __vprintf_chk (int __flag, __const char *__restrict __format,
10791
__gnuc_va_list __ap);
10794
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
10795
fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...)
10797
return __fprintf_chk (__stream, 2 - 1, __fmt,
10798
__builtin_va_arg_pack ());
10801
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
10802
printf (__const char *__restrict __fmt, ...)
10804
return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ());
10813
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
10814
vprintf (__const char *__restrict __fmt, __gnuc_va_list __ap)
10817
return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap);
10823
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
10824
vfprintf (FILE *__restrict __stream,
10825
__const char *__restrict __fmt, __gnuc_va_list __ap)
10827
return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap);
10832
extern int __asprintf_chk (char **__restrict __ptr, int __flag,
10833
__const char *__restrict __fmt, ...)
10834
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))) __attribute__ ((__warn_unused_result__));
10835
extern int __vasprintf_chk (char **__restrict __ptr, int __flag,
10836
__const char *__restrict __fmt, __gnuc_va_list __arg)
10837
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))) __attribute__ ((__warn_unused_result__));
10838
extern int __dprintf_chk (int __fd, int __flag, __const char *__restrict __fmt,
10839
...) __attribute__ ((__format__ (__printf__, 3, 4)));
10840
extern int __vdprintf_chk (int __fd, int __flag,
10841
__const char *__restrict __fmt, __gnuc_va_list __arg)
10842
__attribute__ ((__format__ (__printf__, 3, 0)));
10843
extern int __obstack_printf_chk (struct obstack *__restrict __obstack,
10844
int __flag, __const char *__restrict __format,
10846
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
10847
extern int __obstack_vprintf_chk (struct obstack *__restrict __obstack,
10849
__const char *__restrict __format,
10850
__gnuc_va_list __args)
10851
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
10854
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
10855
__attribute__ ((__nothrow__)) asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...)
10857
return __asprintf_chk (__ptr, 2 - 1, __fmt,
10858
__builtin_va_arg_pack ());
10861
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
10862
__attribute__ ((__nothrow__)) __asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...)
10865
return __asprintf_chk (__ptr, 2 - 1, __fmt,
10866
__builtin_va_arg_pack ());
10869
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
10870
dprintf (int __fd, __const char *__restrict __fmt, ...)
10872
return __dprintf_chk (__fd, 2 - 1, __fmt,
10873
__builtin_va_arg_pack ());
10876
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
10877
__attribute__ ((__nothrow__)) obstack_printf (struct obstack *__restrict __obstack, __const char *__restrict __fmt, ...)
10880
return __obstack_printf_chk (__obstack, 2 - 1, __fmt,
10881
__builtin_va_arg_pack ());
10883
# 195 "/usr/include/bits/stdio2.h" 3 4
10884
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
10885
__attribute__ ((__nothrow__)) vasprintf (char **__restrict __ptr, __const char *__restrict __fmt, __gnuc_va_list __ap)
10888
return __vasprintf_chk (__ptr, 2 - 1, __fmt, __ap);
10891
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
10892
vdprintf (int __fd, __const char *__restrict __fmt, __gnuc_va_list __ap)
10894
return __vdprintf_chk (__fd, 2 - 1, __fmt, __ap);
10897
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
10898
__attribute__ ((__nothrow__)) obstack_vprintf (struct obstack *__restrict __obstack, __const char *__restrict __fmt, __gnuc_va_list __ap)
10901
return __obstack_vprintf_chk (__obstack, 2 - 1, __fmt,
10909
extern char *__gets_chk (char *__str, size_t) __attribute__ ((__warn_unused_result__));
10910
extern char *__gets_warn (char *__str) __asm__ ("" "gets")
10911
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use fgets or getline instead, gets can't " "specify buffer size")))
10914
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
10917
if (__builtin_object_size (__str, 2 > 1) != (size_t) -1)
10918
return __gets_chk (__str, __builtin_object_size (__str, 2 > 1));
10919
return __gets_warn (__str);
10922
extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n,
10923
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
10924
extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets")
10926
__attribute__ ((__warn_unused_result__));
10927
extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk")
10930
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer")))
10933
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
10934
fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
10936
if (__builtin_object_size (__s, 2 > 1) != (size_t) -1)
10938
if (!__builtin_constant_p (__n) || __n <= 0)
10939
return __fgets_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
10941
if ((size_t) __n > __builtin_object_size (__s, 2 > 1))
10942
return __fgets_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
10944
return __fgets_alias (__s, __n, __stream);
10947
extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen,
10948
size_t __size, size_t __n,
10949
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
10950
extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread")
10953
__attribute__ ((__warn_unused_result__));
10954
extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk")
10959
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer")))
10962
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t
10963
fread (void *__restrict __ptr, size_t __size, size_t __n,
10964
FILE *__restrict __stream)
10966
if (__builtin_object_size (__ptr, 0) != (size_t) -1)
10968
if (!__builtin_constant_p (__size)
10969
|| !__builtin_constant_p (__n)
10970
|| (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2)))
10971
return __fread_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream);
10973
if (__size * __n > __builtin_object_size (__ptr, 0))
10974
return __fread_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream);
10976
return __fread_alias (__ptr, __size, __n, __stream);
10980
extern char *__fgets_unlocked_chk (char *__restrict __s, size_t __size,
10981
int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
10982
extern char *__fgets_unlocked_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets_unlocked")
10984
__attribute__ ((__warn_unused_result__));
10985
extern char *__fgets_unlocked_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_unlocked_chk")
10988
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets_unlocked called with bigger size than length " "of destination buffer")))
10991
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
10992
fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream)
10994
if (__builtin_object_size (__s, 2 > 1) != (size_t) -1)
10996
if (!__builtin_constant_p (__n) || __n <= 0)
10997
return __fgets_unlocked_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
10999
if ((size_t) __n > __builtin_object_size (__s, 2 > 1))
11000
return __fgets_unlocked_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
11002
return __fgets_unlocked_alias (__s, __n, __stream);
11008
extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen,
11009
size_t __size, size_t __n,
11010
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
11011
extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked")
11014
__attribute__ ((__warn_unused_result__));
11015
extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk")
11020
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer")))
11023
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t
11024
fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n,
11025
FILE *__restrict __stream)
11027
if (__builtin_object_size (__ptr, 0) != (size_t) -1)
11029
if (!__builtin_constant_p (__size)
11030
|| !__builtin_constant_p (__n)
11031
|| (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2)))
11032
return __fread_unlocked_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n,
11035
if (__size * __n > __builtin_object_size (__ptr, 0))
11036
return __fread_unlocked_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n,
11041
if (__builtin_constant_p (__size)
11042
&& __builtin_constant_p (__n)
11043
&& (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2))
11044
&& __size * __n <= 8)
11046
size_t __cnt = __size * __n;
11047
char *__cptr = (char *) __ptr;
11051
for (; __cnt > 0; --__cnt)
11053
int __c = (__builtin_expect (((__stream)->_IO_read_ptr >= (__stream)->_IO_read_end), 0) ? __uflow (__stream) : *(unsigned char *) (__stream)->_IO_read_ptr++);
11058
return (__cptr - (char *) __ptr) / __size;
11061
return __fread_unlocked_alias (__ptr, __size, __n, __stream);
11063
# 931 "/usr/include/stdio.h" 2 3 4
11070
# 25 "/usr/include/glib-2.0/glib/gprintf.h" 2
11075
gint g_printf (gchar const *format,
11076
...) __attribute__((__format__ (__printf__, 1, 2)));
11077
gint g_fprintf (FILE *file,
11078
gchar const *format,
11079
...) __attribute__((__format__ (__printf__, 2, 3)));
11080
gint g_sprintf (gchar *string,
11081
gchar const *format,
11082
...) __attribute__((__format__ (__printf__, 2, 3)));
11084
gint g_vprintf (gchar const *format,
11086
gint g_vfprintf (FILE *file,
11087
gchar const *format,
11089
gint g_vsprintf (gchar *string,
11090
gchar const *format,
11092
gint g_vasprintf (gchar **string,
11093
gchar const *format,
11097
# 25 "/usr/include/glib-2.0/glib/gstdio.h" 2
11099
# 1 "/usr/include/sys/stat.h" 1 3 4
11100
# 46 "/usr/include/sys/stat.h" 3 4
11101
typedef __dev_t dev_t;
11106
typedef __gid_t gid_t;
11112
typedef __ino_t ino_t;
11120
typedef __mode_t mode_t;
11125
typedef __nlink_t nlink_t;
11126
# 92 "/usr/include/sys/stat.h" 3 4
11127
typedef __blkcnt_t blkcnt_t;
11135
typedef __blksize_t blksize_t;
11142
# 1 "/usr/include/bits/stat.h" 1 3 4
11143
# 46 "/usr/include/bits/stat.h" 3 4
11148
unsigned short int __pad1;
11157
__nlink_t st_nlink;
11169
unsigned short int __pad2;
11176
__blksize_t st_blksize;
11178
__blkcnt_t st_blocks;
11179
# 91 "/usr/include/bits/stat.h" 3 4
11180
struct timespec st_atim;
11181
struct timespec st_mtim;
11182
struct timespec st_ctim;
11183
# 109 "/usr/include/bits/stat.h" 3 4
11184
unsigned long int __unused4;
11185
unsigned long int __unused5;
11202
unsigned int __pad1;
11205
__nlink_t st_nlink;
11215
unsigned int __pad2;
11218
__blksize_t st_blksize;
11219
__blkcnt64_t st_blocks;
11227
struct timespec st_atim;
11228
struct timespec st_mtim;
11229
struct timespec st_ctim;
11230
# 169 "/usr/include/bits/stat.h" 3 4
11234
# 108 "/usr/include/sys/stat.h" 2 3 4
11235
# 211 "/usr/include/sys/stat.h" 3 4
11236
extern int stat (__const char *__restrict __file,
11237
struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
11241
extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
11242
# 230 "/usr/include/sys/stat.h" 3 4
11243
extern int stat64 (__const char *__restrict __file,
11244
struct stat64 *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
11245
extern int fstat64 (int __fd, struct stat64 *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
11253
extern int fstatat (int __fd, __const char *__restrict __file,
11254
struct stat *__restrict __buf, int __flag)
11255
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
11256
# 255 "/usr/include/sys/stat.h" 3 4
11257
extern int fstatat64 (int __fd, __const char *__restrict __file,
11258
struct stat64 *__restrict __buf, int __flag)
11259
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
11267
extern int lstat (__const char *__restrict __file,
11268
struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
11269
# 278 "/usr/include/sys/stat.h" 3 4
11270
extern int lstat64 (__const char *__restrict __file,
11271
struct stat64 *__restrict __buf)
11272
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
11278
extern int chmod (__const char *__file, __mode_t __mode)
11279
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
11285
extern int lchmod (__const char *__file, __mode_t __mode)
11286
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
11291
extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__));
11297
extern int fchmodat (int __fd, __const char *__file, __mode_t __mode,
11299
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
11306
extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__));
11311
extern __mode_t getumask (void) __attribute__ ((__nothrow__));
11315
extern int mkdir (__const char *__path, __mode_t __mode)
11316
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
11322
extern int mkdirat (int __fd, __const char *__path, __mode_t __mode)
11323
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
11330
extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
11331
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
11337
extern int mknodat (int __fd, __const char *__path, __mode_t __mode,
11338
__dev_t __dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
11344
extern int mkfifo (__const char *__path, __mode_t __mode)
11345
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
11351
extern int mkfifoat (int __fd, __const char *__path, __mode_t __mode)
11352
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
11358
extern int utimensat (int __fd, __const char *__path,
11359
__const struct timespec __times[2],
11361
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
11366
extern int futimens (int __fd, __const struct timespec __times[2]) __attribute__ ((__nothrow__));
11367
# 401 "/usr/include/sys/stat.h" 3 4
11368
extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf)
11369
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
11370
extern int __xstat (int __ver, __const char *__filename,
11371
struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
11372
extern int __lxstat (int __ver, __const char *__filename,
11373
struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
11374
extern int __fxstatat (int __ver, int __fildes, __const char *__filename,
11375
struct stat *__stat_buf, int __flag)
11376
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4)));
11377
# 434 "/usr/include/sys/stat.h" 3 4
11378
extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf)
11379
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
11380
extern int __xstat64 (int __ver, __const char *__filename,
11381
struct stat64 *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
11382
extern int __lxstat64 (int __ver, __const char *__filename,
11383
struct stat64 *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
11384
extern int __fxstatat64 (int __ver, int __fildes, __const char *__filename,
11385
struct stat64 *__stat_buf, int __flag)
11386
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4)));
11388
extern int __xmknod (int __ver, __const char *__path, __mode_t __mode,
11389
__dev_t *__dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
11391
extern int __xmknodat (int __ver, int __fd, __const char *__path,
11392
__mode_t __mode, __dev_t *__dev)
11393
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 5)));
11398
extern __inline int
11399
__attribute__ ((__nothrow__)) stat (__const char *__path, struct stat *__statbuf)
11401
return __xstat (3, __path, __statbuf);
11405
extern __inline int
11406
__attribute__ ((__nothrow__)) lstat (__const char *__path, struct stat *__statbuf)
11408
return __lxstat (3, __path, __statbuf);
11412
extern __inline int
11413
__attribute__ ((__nothrow__)) fstat (int __fd, struct stat *__statbuf)
11415
return __fxstat (3, __fd, __statbuf);
11419
extern __inline int
11420
__attribute__ ((__nothrow__)) fstatat (int __fd, __const char *__filename, struct stat *__statbuf, int __flag)
11423
return __fxstatat (3, __fd, __filename, __statbuf, __flag);
11428
extern __inline int
11429
__attribute__ ((__nothrow__)) mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
11431
return __xmknod (1, __path, __mode, &__dev);
11436
extern __inline int
11437
__attribute__ ((__nothrow__)) mknodat (int __fd, __const char *__path, __mode_t __mode, __dev_t __dev)
11440
return __xmknodat (1, __fd, __path, __mode, &__dev);
11447
extern __inline int
11448
__attribute__ ((__nothrow__)) stat64 (__const char *__path, struct stat64 *__statbuf)
11450
return __xstat64 (3, __path, __statbuf);
11454
extern __inline int
11455
__attribute__ ((__nothrow__)) lstat64 (__const char *__path, struct stat64 *__statbuf)
11457
return __lxstat64 (3, __path, __statbuf);
11461
extern __inline int
11462
__attribute__ ((__nothrow__)) fstat64 (int __fd, struct stat64 *__statbuf)
11464
return __fxstat64 (3, __fd, __statbuf);
11468
extern __inline int
11469
__attribute__ ((__nothrow__)) fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf, int __flag)
11472
return __fxstatat64 (3, __fd, __filename, __statbuf, __flag);
11481
# 27 "/usr/include/glib-2.0/glib/gstdio.h" 2
11484
# 51 "/usr/include/glib-2.0/glib/gstdio.h"
11485
typedef struct stat GStatBuf;
11486
# 75 "/usr/include/glib-2.0/glib/gstdio.h"
11487
int g_access (const gchar *filename,
11490
int g_chdir (const gchar *path);
11492
int g_unlink (const gchar *filename);
11494
int g_rmdir (const gchar *filename);
11495
# 145 "/usr/include/glib-2.0/glib/gstdio.h"
11497
# 36 "../../testing/testing.h" 2
11499
# 1 "/usr/include/stdlib.h" 1 3 4
11500
# 33 "/usr/include/stdlib.h" 3 4
11501
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
11502
# 34 "/usr/include/stdlib.h" 2 3 4
11511
# 1 "/usr/include/bits/waitflags.h" 1 3 4
11512
# 43 "/usr/include/stdlib.h" 2 3 4
11513
# 1 "/usr/include/bits/waitstatus.h" 1 3 4
11514
# 65 "/usr/include/bits/waitstatus.h" 3 4
11515
# 1 "/usr/include/endian.h" 1 3 4
11516
# 37 "/usr/include/endian.h" 3 4
11517
# 1 "/usr/include/bits/endian.h" 1 3 4
11518
# 38 "/usr/include/endian.h" 2 3 4
11519
# 61 "/usr/include/endian.h" 3 4
11520
# 1 "/usr/include/bits/byteswap.h" 1 3 4
11521
# 28 "/usr/include/bits/byteswap.h" 3 4
11522
# 1 "/usr/include/bits/wordsize.h" 1 3 4
11523
# 29 "/usr/include/bits/byteswap.h" 2 3 4
11524
# 62 "/usr/include/endian.h" 2 3 4
11525
# 66 "/usr/include/bits/waitstatus.h" 2 3 4
11533
unsigned int __w_termsig:7;
11534
unsigned int __w_coredump:1;
11535
unsigned int __w_retcode:8;
11544
} __wait_terminated;
11548
unsigned int __w_stopval:8;
11549
unsigned int __w_stopsig:8;
11559
# 44 "/usr/include/stdlib.h" 2 3 4
11560
# 68 "/usr/include/stdlib.h" 3 4
11563
union wait *__uptr;
11565
} __WAIT_STATUS __attribute__ ((__transparent_union__));
11566
# 96 "/usr/include/stdlib.h" 3 4
11589
__extension__ typedef struct
11591
long long int quot;
11596
# 140 "/usr/include/stdlib.h" 3 4
11597
extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11602
extern double atof (__const char *__nptr)
11603
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
11605
extern int atoi (__const char *__nptr)
11606
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
11608
extern long int atol (__const char *__nptr)
11609
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
11615
__extension__ extern long long int atoll (__const char *__nptr)
11616
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
11622
extern double strtod (__const char *__restrict __nptr,
11623
char **__restrict __endptr)
11624
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
11630
extern float strtof (__const char *__restrict __nptr,
11631
char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
11633
extern long double strtold (__const char *__restrict __nptr,
11634
char **__restrict __endptr)
11635
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
11641
extern long int strtol (__const char *__restrict __nptr,
11642
char **__restrict __endptr, int __base)
11643
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
11645
extern unsigned long int strtoul (__const char *__restrict __nptr,
11646
char **__restrict __endptr, int __base)
11647
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
11653
extern long long int strtoq (__const char *__restrict __nptr,
11654
char **__restrict __endptr, int __base)
11655
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
11658
extern unsigned long long int strtouq (__const char *__restrict __nptr,
11659
char **__restrict __endptr, int __base)
11660
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
11667
extern long long int strtoll (__const char *__restrict __nptr,
11668
char **__restrict __endptr, int __base)
11669
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
11672
extern unsigned long long int strtoull (__const char *__restrict __nptr,
11673
char **__restrict __endptr, int __base)
11674
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
11676
# 240 "/usr/include/stdlib.h" 3 4
11677
extern long int strtol_l (__const char *__restrict __nptr,
11678
char **__restrict __endptr, int __base,
11679
__locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
11681
extern unsigned long int strtoul_l (__const char *__restrict __nptr,
11682
char **__restrict __endptr,
11683
int __base, __locale_t __loc)
11684
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
11687
extern long long int strtoll_l (__const char *__restrict __nptr,
11688
char **__restrict __endptr, int __base,
11690
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
11693
extern unsigned long long int strtoull_l (__const char *__restrict __nptr,
11694
char **__restrict __endptr,
11695
int __base, __locale_t __loc)
11696
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
11698
extern double strtod_l (__const char *__restrict __nptr,
11699
char **__restrict __endptr, __locale_t __loc)
11700
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
11702
extern float strtof_l (__const char *__restrict __nptr,
11703
char **__restrict __endptr, __locale_t __loc)
11704
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
11706
extern long double strtold_l (__const char *__restrict __nptr,
11707
char **__restrict __endptr,
11709
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
11715
extern __inline double
11716
__attribute__ ((__nothrow__)) atof (__const char *__nptr)
11718
return strtod (__nptr, (char **) ((void *)0));
11720
extern __inline int
11721
__attribute__ ((__nothrow__)) atoi (__const char *__nptr)
11723
return (int) strtol (__nptr, (char **) ((void *)0), 10);
11725
extern __inline long int
11726
__attribute__ ((__nothrow__)) atol (__const char *__nptr)
11728
return strtol (__nptr, (char **) ((void *)0), 10);
11734
__extension__ extern __inline long long int
11735
__attribute__ ((__nothrow__)) atoll (__const char *__nptr)
11737
return strtoll (__nptr, (char **) ((void *)0), 10);
11740
# 311 "/usr/include/stdlib.h" 3 4
11741
extern char *l64a (long int __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11744
extern long int a64l (__const char *__s)
11745
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
11750
# 1 "/usr/include/sys/types.h" 1 3 4
11751
# 28 "/usr/include/sys/types.h" 3 4
11758
typedef __u_char u_char;
11759
typedef __u_short u_short;
11760
typedef __u_int u_int;
11761
typedef __u_long u_long;
11762
typedef __quad_t quad_t;
11763
typedef __u_quad_t u_quad_t;
11764
typedef __fsid_t fsid_t;
11769
typedef __loff_t loff_t;
11770
# 56 "/usr/include/sys/types.h" 3 4
11771
typedef __ino64_t ino64_t;
11772
# 105 "/usr/include/sys/types.h" 3 4
11773
typedef __id_t id_t;
11774
# 116 "/usr/include/sys/types.h" 3 4
11775
typedef __daddr_t daddr_t;
11776
typedef __caddr_t caddr_t;
11782
typedef __key_t key_t;
11783
# 137 "/usr/include/sys/types.h" 3 4
11784
typedef __useconds_t useconds_t;
11788
typedef __suseconds_t suseconds_t;
11794
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
11795
# 148 "/usr/include/sys/types.h" 2 3 4
11799
typedef unsigned long int ulong;
11800
typedef unsigned short int ushort;
11801
typedef unsigned int uint;
11802
# 195 "/usr/include/sys/types.h" 3 4
11803
typedef int int8_t __attribute__ ((__mode__ (__QI__)));
11804
typedef int int16_t __attribute__ ((__mode__ (__HI__)));
11805
typedef int int32_t __attribute__ ((__mode__ (__SI__)));
11806
typedef int int64_t __attribute__ ((__mode__ (__DI__)));
11809
typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
11810
typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
11811
typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
11812
typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
11814
typedef int register_t __attribute__ ((__mode__ (__word__)));
11815
# 220 "/usr/include/sys/types.h" 3 4
11816
# 1 "/usr/include/sys/select.h" 1 3 4
11817
# 31 "/usr/include/sys/select.h" 3 4
11818
# 1 "/usr/include/bits/select.h" 1 3 4
11819
# 23 "/usr/include/bits/select.h" 3 4
11820
# 1 "/usr/include/bits/wordsize.h" 1 3 4
11821
# 24 "/usr/include/bits/select.h" 2 3 4
11822
# 32 "/usr/include/sys/select.h" 2 3 4
11825
# 1 "/usr/include/bits/sigset.h" 1 3 4
11826
# 35 "/usr/include/sys/select.h" 2 3 4
11827
# 46 "/usr/include/sys/select.h" 3 4
11828
# 1 "/usr/include/bits/time.h" 1 3 4
11829
# 75 "/usr/include/bits/time.h" 3 4
11833
__suseconds_t tv_usec;
11835
# 47 "/usr/include/sys/select.h" 2 3 4
11836
# 55 "/usr/include/sys/select.h" 3 4
11837
typedef long int __fd_mask;
11838
# 67 "/usr/include/sys/select.h" 3 4
11844
__fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))];
11857
typedef __fd_mask fd_mask;
11858
# 99 "/usr/include/sys/select.h" 3 4
11860
# 109 "/usr/include/sys/select.h" 3 4
11861
extern int select (int __nfds, fd_set *__restrict __readfds,
11862
fd_set *__restrict __writefds,
11863
fd_set *__restrict __exceptfds,
11864
struct timeval *__restrict __timeout);
11865
# 121 "/usr/include/sys/select.h" 3 4
11866
extern int pselect (int __nfds, fd_set *__restrict __readfds,
11867
fd_set *__restrict __writefds,
11868
fd_set *__restrict __exceptfds,
11869
const struct timespec *__restrict __timeout,
11870
const __sigset_t *__restrict __sigmask);
11874
# 221 "/usr/include/sys/types.h" 2 3 4
11877
# 1 "/usr/include/sys/sysmacros.h" 1 3 4
11878
# 30 "/usr/include/sys/sysmacros.h" 3 4
11880
extern unsigned int gnu_dev_major (unsigned long long int __dev)
11881
__attribute__ ((__nothrow__));
11883
extern unsigned int gnu_dev_minor (unsigned long long int __dev)
11884
__attribute__ ((__nothrow__));
11886
extern unsigned long long int gnu_dev_makedev (unsigned int __major,
11887
unsigned int __minor)
11888
__attribute__ ((__nothrow__));
11891
__extension__ extern __inline unsigned int
11892
__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
11894
return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
11897
__extension__ extern __inline unsigned int
11898
__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
11900
return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
11903
__extension__ extern __inline unsigned long long int
11904
__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
11906
return ((__minor & 0xff) | ((__major & 0xfff) << 8)
11907
| (((unsigned long long int) (__minor & ~0xff)) << 12)
11908
| (((unsigned long long int) (__major & ~0xfff)) << 32));
11910
# 224 "/usr/include/sys/types.h" 2 3 4
11911
# 240 "/usr/include/sys/types.h" 3 4
11912
typedef __fsblkcnt_t fsblkcnt_t;
11916
typedef __fsfilcnt_t fsfilcnt_t;
11917
# 263 "/usr/include/sys/types.h" 3 4
11918
typedef __blkcnt64_t blkcnt64_t;
11919
typedef __fsblkcnt64_t fsblkcnt64_t;
11920
typedef __fsfilcnt64_t fsfilcnt64_t;
11921
# 274 "/usr/include/sys/types.h" 3 4
11923
# 321 "/usr/include/stdlib.h" 2 3 4
11930
extern long int random (void) __attribute__ ((__nothrow__));
11933
extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
11939
extern char *initstate (unsigned int __seed, char *__statebuf,
11940
size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
11944
extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
11963
extern int random_r (struct random_data *__restrict __buf,
11964
int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
11966
extern int srandom_r (unsigned int __seed, struct random_data *__buf)
11967
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
11969
extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
11971
struct random_data *__restrict __buf)
11972
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
11974
extern int setstate_r (char *__restrict __statebuf,
11975
struct random_data *__restrict __buf)
11976
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
11983
extern int rand (void) __attribute__ ((__nothrow__));
11985
extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
11990
extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
11998
extern double drand48 (void) __attribute__ ((__nothrow__));
11999
extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12002
extern long int lrand48 (void) __attribute__ ((__nothrow__));
12003
extern long int nrand48 (unsigned short int __xsubi[3])
12004
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12007
extern long int mrand48 (void) __attribute__ ((__nothrow__));
12008
extern long int jrand48 (unsigned short int __xsubi[3])
12009
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12012
extern void srand48 (long int __seedval) __attribute__ ((__nothrow__));
12013
extern unsigned short int *seed48 (unsigned short int __seed16v[3])
12014
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12015
extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12021
struct drand48_data
12023
unsigned short int __x[3];
12024
unsigned short int __old_x[3];
12025
unsigned short int __c;
12026
unsigned short int __init;
12027
unsigned long long int __a;
12031
extern int drand48_r (struct drand48_data *__restrict __buffer,
12032
double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12033
extern int erand48_r (unsigned short int __xsubi[3],
12034
struct drand48_data *__restrict __buffer,
12035
double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12038
extern int lrand48_r (struct drand48_data *__restrict __buffer,
12039
long int *__restrict __result)
12040
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12041
extern int nrand48_r (unsigned short int __xsubi[3],
12042
struct drand48_data *__restrict __buffer,
12043
long int *__restrict __result)
12044
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12047
extern int mrand48_r (struct drand48_data *__restrict __buffer,
12048
long int *__restrict __result)
12049
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12050
extern int jrand48_r (unsigned short int __xsubi[3],
12051
struct drand48_data *__restrict __buffer,
12052
long int *__restrict __result)
12053
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12056
extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
12057
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12059
extern int seed48_r (unsigned short int __seed16v[3],
12060
struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12062
extern int lcong48_r (unsigned short int __param[7],
12063
struct drand48_data *__buffer)
12064
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12074
extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
12076
extern void *calloc (size_t __nmemb, size_t __size)
12077
__attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
12088
extern void *realloc (void *__ptr, size_t __size)
12089
__attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
12091
extern void free (void *__ptr) __attribute__ ((__nothrow__));
12096
extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
12100
# 1 "/usr/include/alloca.h" 1 3 4
12101
# 25 "/usr/include/alloca.h" 3 4
12102
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
12103
# 26 "/usr/include/alloca.h" 2 3 4
12111
extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
12118
# 498 "/usr/include/stdlib.h" 2 3 4
12124
extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
12129
extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
12130
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12135
extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
12139
extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12140
# 528 "/usr/include/stdlib.h" 3 4
12141
extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12149
extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
12150
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12157
extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
12165
extern void quick_exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
12173
extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
12180
extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12185
extern char *__secure_getenv (__const char *__name)
12186
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12192
extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12198
extern int setenv (__const char *__name, __const char *__value, int __replace)
12199
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12202
extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12209
extern int clearenv (void) __attribute__ ((__nothrow__));
12210
# 606 "/usr/include/stdlib.h" 3 4
12211
extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12212
# 620 "/usr/include/stdlib.h" 3 4
12213
extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12214
# 630 "/usr/include/stdlib.h" 3 4
12215
extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12216
# 642 "/usr/include/stdlib.h" 3 4
12217
extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12218
# 652 "/usr/include/stdlib.h" 3 4
12219
extern int mkstemps64 (char *__template, int __suffixlen)
12220
__attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12221
# 663 "/usr/include/stdlib.h" 3 4
12222
extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12223
# 674 "/usr/include/stdlib.h" 3 4
12224
extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12225
# 684 "/usr/include/stdlib.h" 3 4
12226
extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12227
# 694 "/usr/include/stdlib.h" 3 4
12228
extern int mkostemps (char *__template, int __suffixlen, int __flags)
12229
__attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12230
# 706 "/usr/include/stdlib.h" 3 4
12231
extern int mkostemps64 (char *__template, int __suffixlen, int __flags)
12232
__attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12242
extern int system (__const char *__command) __attribute__ ((__warn_unused_result__));
12249
extern char *canonicalize_file_name (__const char *__name)
12250
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12251
# 734 "/usr/include/stdlib.h" 3 4
12252
extern char *realpath (__const char *__restrict __name,
12253
char *__restrict __resolved) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
12260
typedef int (*__compar_fn_t) (__const void *, __const void *);
12263
typedef __compar_fn_t comparison_fn_t;
12267
typedef int (*__compar_d_fn_t) (__const void *, __const void *, void *);
12273
extern void *bsearch (__const void *__key, __const void *__base,
12274
size_t __nmemb, size_t __size, __compar_fn_t __compar)
12275
__attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__));
12279
extern void qsort (void *__base, size_t __nmemb, size_t __size,
12280
__compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
12282
extern void qsort_r (void *__base, size_t __nmemb, size_t __size,
12283
__compar_d_fn_t __compar, void *__arg)
12284
__attribute__ ((__nonnull__ (1, 4)));
12289
extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
12290
extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
12294
__extension__ extern long long int llabs (long long int __x)
12295
__attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
12303
extern div_t div (int __numer, int __denom)
12304
__attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
12305
extern ldiv_t ldiv (long int __numer, long int __denom)
12306
__attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
12311
__extension__ extern lldiv_t lldiv (long long int __numer,
12312
long long int __denom)
12313
__attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
12315
# 808 "/usr/include/stdlib.h" 3 4
12316
extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
12317
int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
12322
extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
12323
int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
12328
extern char *gcvt (double __value, int __ndigit, char *__buf)
12329
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
12334
extern char *qecvt (long double __value, int __ndigit,
12335
int *__restrict __decpt, int *__restrict __sign)
12336
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
12337
extern char *qfcvt (long double __value, int __ndigit,
12338
int *__restrict __decpt, int *__restrict __sign)
12339
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
12340
extern char *qgcvt (long double __value, int __ndigit, char *__buf)
12341
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
12346
extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
12347
int *__restrict __sign, char *__restrict __buf,
12348
size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
12349
extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
12350
int *__restrict __sign, char *__restrict __buf,
12351
size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
12353
extern int qecvt_r (long double __value, int __ndigit,
12354
int *__restrict __decpt, int *__restrict __sign,
12355
char *__restrict __buf, size_t __len)
12356
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
12357
extern int qfcvt_r (long double __value, int __ndigit,
12358
int *__restrict __decpt, int *__restrict __sign,
12359
char *__restrict __buf, size_t __len)
12360
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
12368
extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
12371
extern int mbtowc (wchar_t *__restrict __pwc,
12372
__const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
12375
extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
12379
extern size_t mbstowcs (wchar_t *__restrict __pwcs,
12380
__const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
12382
extern size_t wcstombs (char *__restrict __s,
12383
__const wchar_t *__restrict __pwcs, size_t __n)
12384
__attribute__ ((__nothrow__));
12393
extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12394
# 896 "/usr/include/stdlib.h" 3 4
12395
extern int getsubopt (char **__restrict __optionp,
12396
char *__const *__restrict __tokens,
12397
char **__restrict __valuep)
12398
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__));
12404
extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12412
extern int posix_openpt (int __oflag) __attribute__ ((__warn_unused_result__));
12420
extern int grantpt (int __fd) __attribute__ ((__nothrow__));
12424
extern int unlockpt (int __fd) __attribute__ ((__nothrow__));
12429
extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
12436
extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
12437
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12440
extern int getpt (void);
12447
extern int getloadavg (double __loadavg[], int __nelem)
12448
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12454
# 1 "/usr/include/bits/stdlib.h" 1 3 4
12455
# 24 "/usr/include/bits/stdlib.h" 3 4
12456
extern char *__realpath_chk (__const char *__restrict __name,
12457
char *__restrict __resolved,
12458
size_t __resolvedlen) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
12459
extern char *__realpath_alias (__const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__))
12461
__attribute__ ((__warn_unused_result__));
12462
extern char *__realpath_chk_warn (__const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__))
12465
__attribute__ ((__warn_unused_result__))
12466
__attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer")))
12469
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
12470
__attribute__ ((__nothrow__)) realpath (__const char *__restrict __name, char *__restrict __resolved)
12472
if (__builtin_object_size (__resolved, 2 > 1) != (size_t) -1)
12475
if (__builtin_object_size (__resolved, 2 > 1) < 4096)
12476
return __realpath_chk_warn (__name, __resolved, __builtin_object_size (__resolved, 2 > 1));
12478
return __realpath_chk (__name, __resolved, __builtin_object_size (__resolved, 2 > 1));
12481
return __realpath_alias (__name, __resolved);
12485
extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen,
12486
size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12487
extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__))
12489
__attribute__ ((__nonnull__ (2)));
12490
extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__))
12493
__attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf")))
12496
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
12497
__attribute__ ((__nothrow__)) ptsname_r (int __fd, char *__buf, size_t __buflen)
12499
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
12501
if (!__builtin_constant_p (__buflen))
12502
return __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
12503
if (__buflen > __builtin_object_size (__buf, 2 > 1))
12504
return __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
12506
return __ptsname_r_alias (__fd, __buf, __buflen);
12510
extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen)
12511
__attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
12512
extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__))
12513
__attribute__ ((__warn_unused_result__));
12515
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) int
12516
__attribute__ ((__nothrow__)) wctomb (char *__s, wchar_t __wchar)
12525
if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1))
12526
return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1));
12527
return __wctomb_alias (__s, __wchar);
12531
extern size_t __mbstowcs_chk (wchar_t *__restrict __dst,
12532
__const char *__restrict __src,
12533
size_t __len, size_t __dstlen) __attribute__ ((__nothrow__));
12534
extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__))
12538
extern size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__mbstowcs_chk") __attribute__ ((__nothrow__))
12542
__attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)")))
12545
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t
12546
__attribute__ ((__nothrow__)) mbstowcs (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len)
12549
if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
12551
if (!__builtin_constant_p (__len))
12552
return __mbstowcs_chk (__dst, __src, __len,
12553
__builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t));
12555
if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t))
12556
return __mbstowcs_chk_warn (__dst, __src, __len,
12557
__builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t));
12559
return __mbstowcs_alias (__dst, __src, __len);
12563
extern size_t __wcstombs_chk (char *__restrict __dst,
12564
__const wchar_t *__restrict __src,
12565
size_t __len, size_t __dstlen) __attribute__ ((__nothrow__));
12566
extern size_t __wcstombs_alias (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__))
12570
extern size_t __wcstombs_chk_warn (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__wcstombs_chk") __attribute__ ((__nothrow__))
12574
__attribute__((__warning__ ("wcstombs called with dst buffer smaller than len")));
12576
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t
12577
__attribute__ ((__nothrow__)) wcstombs (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len)
12580
if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
12582
if (!__builtin_constant_p (__len))
12583
return __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1));
12584
if (__len > __builtin_object_size (__dst, 2 > 1))
12585
return __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1));
12587
return __wcstombs_alias (__dst, __src, __len);
12589
# 956 "/usr/include/stdlib.h" 2 3 4
12590
# 964 "/usr/include/stdlib.h" 3 4
12592
# 38 "../../testing/testing.h" 2
12594
# 1 "/usr/include/string.h" 1 3 4
12595
# 29 "/usr/include/string.h" 3 4
12601
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
12602
# 35 "/usr/include/string.h" 2 3 4
12612
extern void *memcpy (void *__restrict __dest,
12613
__const void *__restrict __src, size_t __n)
12614
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12617
extern void *memmove (void *__dest, __const void *__src, size_t __n)
12618
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12625
extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
12626
int __c, size_t __n)
12627
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12633
extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12636
extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
12637
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
12638
# 95 "/usr/include/string.h" 3 4
12639
extern void *memchr (__const void *__s, int __c, size_t __n)
12640
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
12643
# 109 "/usr/include/string.h" 3 4
12644
extern void *rawmemchr (__const void *__s, int __c)
12645
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
12646
# 120 "/usr/include/string.h" 3 4
12647
extern void *memrchr (__const void *__s, int __c, size_t __n)
12648
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
12655
extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
12656
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12658
extern char *strncpy (char *__restrict __dest,
12659
__const char *__restrict __src, size_t __n)
12660
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12663
extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
12664
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12666
extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
12667
size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12670
extern int strcmp (__const char *__s1, __const char *__s2)
12671
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
12673
extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
12674
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
12677
extern int strcoll (__const char *__s1, __const char *__s2)
12678
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
12680
extern size_t strxfrm (char *__restrict __dest,
12681
__const char *__restrict __src, size_t __n)
12682
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12684
# 165 "/usr/include/string.h" 3 4
12685
extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l)
12686
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
12688
extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
12689
__locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
12695
extern char *strdup (__const char *__s)
12696
__attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
12703
extern char *strndup (__const char *__string, size_t __n)
12704
__attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
12705
# 210 "/usr/include/string.h" 3 4
12707
# 235 "/usr/include/string.h" 3 4
12708
extern char *strchr (__const char *__s, int __c)
12709
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
12710
# 262 "/usr/include/string.h" 3 4
12711
extern char *strrchr (__const char *__s, int __c)
12712
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
12715
# 276 "/usr/include/string.h" 3 4
12716
extern char *strchrnul (__const char *__s, int __c)
12717
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
12724
extern size_t strcspn (__const char *__s, __const char *__reject)
12725
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
12728
extern size_t strspn (__const char *__s, __const char *__accept)
12729
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
12730
# 314 "/usr/include/string.h" 3 4
12731
extern char *strpbrk (__const char *__s, __const char *__accept)
12732
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
12733
# 342 "/usr/include/string.h" 3 4
12734
extern char *strstr (__const char *__haystack, __const char *__needle)
12735
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
12740
extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
12741
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12746
extern char *__strtok_r (char *__restrict __s,
12747
__const char *__restrict __delim,
12748
char **__restrict __save_ptr)
12749
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
12751
extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
12752
char **__restrict __save_ptr)
12753
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
12754
# 373 "/usr/include/string.h" 3 4
12755
extern char *strcasestr (__const char *__haystack, __const char *__needle)
12756
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
12764
extern void *memmem (__const void *__haystack, size_t __haystacklen,
12765
__const void *__needle, size_t __needlelen)
12766
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3)));
12770
extern void *__mempcpy (void *__restrict __dest,
12771
__const void *__restrict __src, size_t __n)
12772
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12773
extern void *mempcpy (void *__restrict __dest,
12774
__const void *__restrict __src, size_t __n)
12775
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12781
extern size_t strlen (__const char *__s)
12782
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
12788
extern size_t strnlen (__const char *__string, size_t __maxlen)
12789
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
12795
extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
12797
# 438 "/usr/include/string.h" 3 4
12798
extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
12799
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12805
extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__));
12811
extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12815
extern void bcopy (__const void *__src, void *__dest, size_t __n)
12816
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12819
extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12822
extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
12823
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
12824
# 489 "/usr/include/string.h" 3 4
12825
extern char *index (__const char *__s, int __c)
12826
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
12827
# 517 "/usr/include/string.h" 3 4
12828
extern char *rindex (__const char *__s, int __c)
12829
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
12834
extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
12839
extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
12841
__extension__ extern int ffsll (long long int __ll)
12842
__attribute__ ((__nothrow__)) __attribute__ ((__const__));
12847
extern int strcasecmp (__const char *__s1, __const char *__s2)
12848
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
12851
extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
12852
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
12858
extern int strcasecmp_l (__const char *__s1, __const char *__s2,
12860
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
12862
extern int strncasecmp_l (__const char *__s1, __const char *__s2,
12863
size_t __n, __locale_t __loc)
12864
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4)));
12870
extern char *strsep (char **__restrict __stringp,
12871
__const char *__restrict __delim)
12872
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12877
extern char *strsignal (int __sig) __attribute__ ((__nothrow__));
12880
extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src)
12881
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12882
extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src)
12883
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12887
extern char *__stpncpy (char *__restrict __dest,
12888
__const char *__restrict __src, size_t __n)
12889
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12890
extern char *stpncpy (char *__restrict __dest,
12891
__const char *__restrict __src, size_t __n)
12892
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12897
extern int strverscmp (__const char *__s1, __const char *__s2)
12898
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
12901
extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12904
extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12905
# 606 "/usr/include/string.h" 3 4
12906
extern char *basename (__const char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12907
# 634 "/usr/include/string.h" 3 4
12908
# 1 "/usr/include/bits/string.h" 1 3 4
12909
# 635 "/usr/include/string.h" 2 3 4
12912
# 1 "/usr/include/bits/string2.h" 1 3 4
12913
# 394 "/usr/include/bits/string2.h" 3 4
12914
extern void *__rawmemchr (const void *__s, int __c);
12915
# 969 "/usr/include/bits/string2.h" 3 4
12916
extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
12917
extern __inline size_t
12918
__strcspn_c1 (__const char *__s, int __reject)
12920
register size_t __result = 0;
12921
while (__s[__result] != '\0' && __s[__result] != __reject)
12926
extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
12928
extern __inline size_t
12929
__strcspn_c2 (__const char *__s, int __reject1, int __reject2)
12931
register size_t __result = 0;
12932
while (__s[__result] != '\0' && __s[__result] != __reject1
12933
&& __s[__result] != __reject2)
12938
extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
12939
int __reject2, int __reject3);
12940
extern __inline size_t
12941
__strcspn_c3 (__const char *__s, int __reject1, int __reject2,
12944
register size_t __result = 0;
12945
while (__s[__result] != '\0' && __s[__result] != __reject1
12946
&& __s[__result] != __reject2 && __s[__result] != __reject3)
12950
# 1045 "/usr/include/bits/string2.h" 3 4
12951
extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
12952
extern __inline size_t
12953
__strspn_c1 (__const char *__s, int __accept)
12955
register size_t __result = 0;
12957
while (__s[__result] == __accept)
12962
extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
12964
extern __inline size_t
12965
__strspn_c2 (__const char *__s, int __accept1, int __accept2)
12967
register size_t __result = 0;
12969
while (__s[__result] == __accept1 || __s[__result] == __accept2)
12974
extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
12975
int __accept2, int __accept3);
12976
extern __inline size_t
12977
__strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
12979
register size_t __result = 0;
12981
while (__s[__result] == __accept1 || __s[__result] == __accept2
12982
|| __s[__result] == __accept3)
12986
# 1121 "/usr/include/bits/string2.h" 3 4
12987
extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
12989
extern __inline char *
12990
__strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
12993
while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
12995
return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
12998
extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
12999
int __accept2, int __accept3);
13000
extern __inline char *
13001
__strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
13005
while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
13006
&& *__s != __accept3)
13008
return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
13010
# 1172 "/usr/include/bits/string2.h" 3 4
13011
extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
13012
extern __inline char *
13013
__strtok_r_1c (char *__s, char __sep, char **__nextp)
13016
if (__s == ((void *)0))
13018
while (*__s == __sep)
13020
__result = ((void *)0);
13024
while (*__s != '\0')
13025
if (*__s++ == __sep)
13034
# 1204 "/usr/include/bits/string2.h" 3 4
13035
extern char *__strsep_g (char **__stringp, __const char *__delim);
13036
# 1222 "/usr/include/bits/string2.h" 3 4
13037
extern __inline char *__strsep_1c (char **__s, char __reject);
13038
extern __inline char *
13039
__strsep_1c (char **__s, char __reject)
13041
register char *__retval = *__s;
13042
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))
13047
extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
13048
extern __inline char *
13049
__strsep_2c (char **__s, char __reject1, char __reject2)
13051
register char *__retval = *__s;
13052
if (__retval != ((void *)0))
13054
register char *__cp = __retval;
13059
__cp = ((void *)0);
13062
if (*__cp == __reject1 || *__cp == __reject2)
13074
extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
13076
extern __inline char *
13077
__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
13079
register char *__retval = *__s;
13080
if (__retval != ((void *)0))
13082
register char *__cp = __retval;
13087
__cp = ((void *)0);
13090
if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
13101
# 1303 "/usr/include/bits/string2.h" 3 4
13102
extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
13103
# 1322 "/usr/include/bits/string2.h" 3 4
13104
extern char *__strndup (__const char *__string, size_t __n)
13105
__attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
13106
# 638 "/usr/include/string.h" 2 3 4
13111
# 1 "/usr/include/bits/string3.h" 1 3 4
13112
# 23 "/usr/include/bits/string3.h" 3 4
13113
extern void __warn_memset_zero_len (void) __attribute__((__warning__ ("memset used with constant zero length parameter; this could be due to transposed parameters")))
13115
# 48 "/usr/include/bits/string3.h" 3 4
13116
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void *
13117
__attribute__ ((__nothrow__)) memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len)
13120
return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
13123
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void *
13124
__attribute__ ((__nothrow__)) memmove (void *__dest, __const void *__src, size_t __len)
13126
return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
13130
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void *
13131
__attribute__ ((__nothrow__)) mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len)
13134
return __builtin___mempcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
13136
# 76 "/usr/include/bits/string3.h" 3 4
13137
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void *
13138
__attribute__ ((__nothrow__)) memset (void *__dest, int __ch, size_t __len)
13140
if (__builtin_constant_p (__len) && __len == 0
13141
&& (!__builtin_constant_p (__ch) || __ch != 0))
13143
__warn_memset_zero_len ();
13146
return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0));
13150
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void
13151
__attribute__ ((__nothrow__)) bcopy (__const void *__src, void *__dest, size_t __len)
13153
(void) __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
13156
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void
13157
__attribute__ ((__nothrow__)) bzero (void *__dest, size_t __len)
13159
(void) __builtin___memset_chk (__dest, '\0', __len, __builtin_object_size (__dest, 0));
13163
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
13164
__attribute__ ((__nothrow__)) strcpy (char *__restrict __dest, __const char *__restrict __src)
13166
return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
13170
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
13171
__attribute__ ((__nothrow__)) stpcpy (char *__restrict __dest, __const char *__restrict __src)
13173
return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
13178
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
13179
__attribute__ ((__nothrow__)) strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __len)
13182
return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
13186
extern char *__stpncpy_chk (char *__dest, __const char *__src, size_t __n,
13187
size_t __destlen) __attribute__ ((__nothrow__));
13188
extern char *__stpncpy_alias (char *__dest, __const char *__src, size_t __n) __asm__ ("" "stpncpy") __attribute__ ((__nothrow__))
13192
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
13193
__attribute__ ((__nothrow__)) stpncpy (char *__dest, __const char *__src, size_t __n)
13195
if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1
13196
&& (!__builtin_constant_p (__n) || __n <= __builtin_object_size (__dest, 2 > 1)))
13197
return __stpncpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1));
13198
return __stpncpy_alias (__dest, __src, __n);
13202
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
13203
__attribute__ ((__nothrow__)) strcat (char *__restrict __dest, __const char *__restrict __src)
13205
return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
13209
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
13210
__attribute__ ((__nothrow__)) strncat (char *__restrict __dest, __const char *__restrict __src, size_t __len)
13213
return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
13215
# 643 "/usr/include/string.h" 2 3 4
13220
# 40 "../../testing/testing.h" 2
13221
# 1 "/usr/include/unistd.h" 1 3 4
13222
# 28 "/usr/include/unistd.h" 3 4
13224
# 203 "/usr/include/unistd.h" 3 4
13225
# 1 "/usr/include/bits/posix_opt.h" 1 3 4
13226
# 204 "/usr/include/unistd.h" 2 3 4
13230
# 1 "/usr/include/bits/environments.h" 1 3 4
13231
# 23 "/usr/include/bits/environments.h" 3 4
13232
# 1 "/usr/include/bits/wordsize.h" 1 3 4
13233
# 24 "/usr/include/bits/environments.h" 2 3 4
13234
# 208 "/usr/include/unistd.h" 2 3 4
13235
# 227 "/usr/include/unistd.h" 3 4
13236
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
13237
# 228 "/usr/include/unistd.h" 2 3 4
13238
# 268 "/usr/include/unistd.h" 3 4
13239
typedef __intptr_t intptr_t;
13246
typedef __socklen_t socklen_t;
13247
# 288 "/usr/include/unistd.h" 3 4
13248
extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13253
extern int euidaccess (__const char *__name, int __type)
13254
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13257
extern int eaccess (__const char *__name, int __type)
13258
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13265
extern int faccessat (int __fd, __const char *__file, int __type, int __flag)
13266
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
13267
# 331 "/usr/include/unistd.h" 3 4
13268
extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__));
13269
# 342 "/usr/include/unistd.h" 3 4
13270
extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence)
13271
__attribute__ ((__nothrow__));
13278
extern int close (int __fd);
13285
extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __attribute__ ((__warn_unused_result__));
13291
extern ssize_t write (int __fd, __const void *__buf, size_t __n) __attribute__ ((__warn_unused_result__));
13292
# 373 "/usr/include/unistd.h" 3 4
13293
extern ssize_t pread (int __fd, void *__buf, size_t __nbytes,
13294
__off_t __offset) __attribute__ ((__warn_unused_result__));
13301
extern ssize_t pwrite (int __fd, __const void *__buf, size_t __n,
13302
__off_t __offset) __attribute__ ((__warn_unused_result__));
13303
# 401 "/usr/include/unistd.h" 3 4
13304
extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes,
13305
__off64_t __offset) __attribute__ ((__warn_unused_result__));
13308
extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n,
13309
__off64_t __offset) __attribute__ ((__warn_unused_result__));
13317
extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13322
extern int pipe2 (int __pipedes[2], int __flags) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13323
# 429 "/usr/include/unistd.h" 3 4
13324
extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__));
13325
# 441 "/usr/include/unistd.h" 3 4
13326
extern unsigned int sleep (unsigned int __seconds);
13334
extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval)
13335
__attribute__ ((__nothrow__));
13342
extern int usleep (__useconds_t __useconds);
13343
# 466 "/usr/include/unistd.h" 3 4
13344
extern int pause (void);
13348
extern int chown (__const char *__file, __uid_t __owner, __gid_t __group)
13349
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13353
extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13358
extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group)
13359
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13366
extern int fchownat (int __fd, __const char *__file, __uid_t __owner,
13367
__gid_t __group, int __flag)
13368
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
13372
extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13376
extern int fchdir (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13377
# 508 "/usr/include/unistd.h" 3 4
13378
extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13384
extern char *get_current_dir_name (void) __attribute__ ((__nothrow__));
13392
extern char *getwd (char *__buf)
13393
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__));
13398
extern int dup (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13401
extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__));
13406
extern int dup3 (int __fd, int __fd2, int __flags) __attribute__ ((__nothrow__));
13410
extern char **__environ;
13412
extern char **environ;
13418
extern int execve (__const char *__path, char *__const __argv[],
13419
char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13424
extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[])
13425
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13430
extern int execv (__const char *__path, char *__const __argv[])
13431
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13435
extern int execle (__const char *__path, __const char *__arg, ...)
13436
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13440
extern int execl (__const char *__path, __const char *__arg, ...)
13441
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13445
extern int execvp (__const char *__file, char *__const __argv[])
13446
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13451
extern int execlp (__const char *__file, __const char *__arg, ...)
13452
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13457
extern int execvpe (__const char *__file, char *__const __argv[],
13458
char *__const __envp[])
13459
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13465
extern int nice (int __inc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13470
extern void _exit (int __status) __attribute__ ((__noreturn__));
13476
# 1 "/usr/include/bits/confname.h" 1 3 4
13477
# 26 "/usr/include/bits/confname.h" 3 4
13492
_PC_CHOWN_RESTRICTED,
13508
_PC_REC_INCR_XFER_SIZE,
13510
_PC_REC_MAX_XFER_SIZE,
13512
_PC_REC_MIN_XFER_SIZE,
13514
_PC_REC_XFER_ALIGN,
13516
_PC_ALLOC_SIZE_MIN,
13545
_SC_REALTIME_SIGNALS,
13547
_SC_PRIORITY_SCHEDULING,
13551
_SC_ASYNCHRONOUS_IO,
13553
_SC_PRIORITIZED_IO,
13555
_SC_SYNCHRONIZED_IO,
13565
_SC_MEMORY_PROTECTION,
13567
_SC_MESSAGE_PASSING,
13571
_SC_SHARED_MEMORY_OBJECTS,
13573
_SC_AIO_LISTIO_MAX,
13577
_SC_AIO_PRIO_DELTA_MAX,
13579
_SC_DELAYTIMER_MAX,
13611
_SC_COLL_WEIGHTS_MAX,
13613
_SC_EQUIV_CLASS_MAX,
13621
_SC_CHARCLASS_NAME_MAX,
13655
_SC_IOV_MAX = _SC_UIO_MAXIOV,
13657
_SC_PII_INTERNET_STREAM,
13659
_SC_PII_INTERNET_DGRAM,
13673
_SC_THREAD_SAFE_FUNCTIONS,
13675
_SC_GETGR_R_SIZE_MAX,
13677
_SC_GETPW_R_SIZE_MAX,
13679
_SC_LOGIN_NAME_MAX,
13683
_SC_THREAD_DESTRUCTOR_ITERATIONS,
13685
_SC_THREAD_KEYS_MAX,
13687
_SC_THREAD_STACK_MIN,
13689
_SC_THREAD_THREADS_MAX,
13691
_SC_THREAD_ATTR_STACKADDR,
13693
_SC_THREAD_ATTR_STACKSIZE,
13695
_SC_THREAD_PRIORITY_SCHEDULING,
13697
_SC_THREAD_PRIO_INHERIT,
13699
_SC_THREAD_PRIO_PROTECT,
13701
_SC_THREAD_PROCESS_SHARED,
13704
_SC_NPROCESSORS_CONF,
13706
_SC_NPROCESSORS_ONLN,
13719
_SC_XOPEN_XCU_VERSION,
13725
_SC_XOPEN_ENH_I18N,
13794
_SC_XBS5_ILP32_OFF32,
13796
_SC_XBS5_ILP32_OFFBIG,
13798
_SC_XBS5_LP64_OFF64,
13800
_SC_XBS5_LPBIG_OFFBIG,
13805
_SC_XOPEN_REALTIME,
13807
_SC_XOPEN_REALTIME_THREADS,
13816
_SC_C_LANG_SUPPORT,
13818
_SC_C_LANG_SUPPORT_R,
13820
_SC_CLOCK_SELECTION,
13824
_SC_THREAD_CPUTIME,
13828
_SC_DEVICE_SPECIFIC,
13830
_SC_DEVICE_SPECIFIC_R,
13838
_SC_FILE_ATTRIBUTES,
13844
_SC_MONOTONIC_CLOCK,
13848
_SC_SINGLE_PROCESS,
13852
_SC_READER_WRITER_LOCKS,
13866
_SC_SPORADIC_SERVER,
13868
_SC_THREAD_SPORADIC_SERVER,
13870
_SC_SYSTEM_DATABASE,
13872
_SC_SYSTEM_DATABASE_R,
13876
_SC_TYPED_MEMORY_OBJECTS,
13884
_SC_2_PBS_ACCOUNTING,
13896
_SC_2_PBS_CHECKPOINT,
13899
_SC_V6_ILP32_OFF32,
13901
_SC_V6_ILP32_OFFBIG,
13905
_SC_V6_LPBIG_OFFBIG,
13912
_SC_TRACE_EVENT_FILTER,
13919
_SC_LEVEL1_ICACHE_SIZE,
13921
_SC_LEVEL1_ICACHE_ASSOC,
13923
_SC_LEVEL1_ICACHE_LINESIZE,
13925
_SC_LEVEL1_DCACHE_SIZE,
13927
_SC_LEVEL1_DCACHE_ASSOC,
13929
_SC_LEVEL1_DCACHE_LINESIZE,
13931
_SC_LEVEL2_CACHE_SIZE,
13933
_SC_LEVEL2_CACHE_ASSOC,
13935
_SC_LEVEL2_CACHE_LINESIZE,
13937
_SC_LEVEL3_CACHE_SIZE,
13939
_SC_LEVEL3_CACHE_ASSOC,
13941
_SC_LEVEL3_CACHE_LINESIZE,
13943
_SC_LEVEL4_CACHE_SIZE,
13945
_SC_LEVEL4_CACHE_ASSOC,
13947
_SC_LEVEL4_CACHE_LINESIZE,
13951
_SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
13956
_SC_V7_ILP32_OFF32,
13958
_SC_V7_ILP32_OFFBIG,
13962
_SC_V7_LPBIG_OFFBIG,
13968
_SC_TRACE_EVENT_NAME_MAX,
13970
_SC_TRACE_NAME_MAX,
13974
_SC_TRACE_USER_EVENT_MAX,
13980
_SC_THREAD_ROBUST_PRIO_INHERIT,
13982
_SC_THREAD_ROBUST_PRIO_PROTECT
13992
_CS_V6_WIDTH_RESTRICTED_ENVS,
13996
_CS_GNU_LIBC_VERSION,
13998
_CS_GNU_LIBPTHREAD_VERSION,
14001
_CS_V5_WIDTH_RESTRICTED_ENVS,
14005
_CS_V7_WIDTH_RESTRICTED_ENVS,
14009
_CS_LFS_CFLAGS = 1000,
14023
_CS_LFS64_LINTFLAGS,
14026
_CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
14028
_CS_XBS5_ILP32_OFF32_LDFLAGS,
14030
_CS_XBS5_ILP32_OFF32_LIBS,
14032
_CS_XBS5_ILP32_OFF32_LINTFLAGS,
14034
_CS_XBS5_ILP32_OFFBIG_CFLAGS,
14036
_CS_XBS5_ILP32_OFFBIG_LDFLAGS,
14038
_CS_XBS5_ILP32_OFFBIG_LIBS,
14040
_CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
14042
_CS_XBS5_LP64_OFF64_CFLAGS,
14044
_CS_XBS5_LP64_OFF64_LDFLAGS,
14046
_CS_XBS5_LP64_OFF64_LIBS,
14048
_CS_XBS5_LP64_OFF64_LINTFLAGS,
14050
_CS_XBS5_LPBIG_OFFBIG_CFLAGS,
14052
_CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
14054
_CS_XBS5_LPBIG_OFFBIG_LIBS,
14056
_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
14059
_CS_POSIX_V6_ILP32_OFF32_CFLAGS,
14061
_CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
14063
_CS_POSIX_V6_ILP32_OFF32_LIBS,
14065
_CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
14067
_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
14069
_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
14071
_CS_POSIX_V6_ILP32_OFFBIG_LIBS,
14073
_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
14075
_CS_POSIX_V6_LP64_OFF64_CFLAGS,
14077
_CS_POSIX_V6_LP64_OFF64_LDFLAGS,
14079
_CS_POSIX_V6_LP64_OFF64_LIBS,
14081
_CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
14083
_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
14085
_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
14087
_CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
14089
_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS,
14092
_CS_POSIX_V7_ILP32_OFF32_CFLAGS,
14094
_CS_POSIX_V7_ILP32_OFF32_LDFLAGS,
14096
_CS_POSIX_V7_ILP32_OFF32_LIBS,
14098
_CS_POSIX_V7_ILP32_OFF32_LINTFLAGS,
14100
_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS,
14102
_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS,
14104
_CS_POSIX_V7_ILP32_OFFBIG_LIBS,
14106
_CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS,
14108
_CS_POSIX_V7_LP64_OFF64_CFLAGS,
14110
_CS_POSIX_V7_LP64_OFF64_LDFLAGS,
14112
_CS_POSIX_V7_LP64_OFF64_LIBS,
14114
_CS_POSIX_V7_LP64_OFF64_LINTFLAGS,
14116
_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS,
14118
_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS,
14120
_CS_POSIX_V7_LPBIG_OFFBIG_LIBS,
14122
_CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS,
14130
# 607 "/usr/include/unistd.h" 2 3 4
14133
extern long int pathconf (__const char *__path, int __name)
14134
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
14137
extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__));
14140
extern long int sysconf (int __name) __attribute__ ((__nothrow__));
14144
extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__));
14149
extern __pid_t getpid (void) __attribute__ ((__nothrow__));
14152
extern __pid_t getppid (void) __attribute__ ((__nothrow__));
14157
extern __pid_t getpgrp (void) __attribute__ ((__nothrow__));
14158
# 643 "/usr/include/unistd.h" 3 4
14159
extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__));
14161
extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__));
14168
extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__));
14169
# 669 "/usr/include/unistd.h" 3 4
14170
extern int setpgrp (void) __attribute__ ((__nothrow__));
14171
# 686 "/usr/include/unistd.h" 3 4
14172
extern __pid_t setsid (void) __attribute__ ((__nothrow__));
14176
extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__));
14180
extern __uid_t getuid (void) __attribute__ ((__nothrow__));
14183
extern __uid_t geteuid (void) __attribute__ ((__nothrow__));
14186
extern __gid_t getgid (void) __attribute__ ((__nothrow__));
14189
extern __gid_t getegid (void) __attribute__ ((__nothrow__));
14194
extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14198
extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__));
14205
extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__));
14210
extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__));
14215
extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__));
14222
extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__));
14227
extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__));
14232
extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__));
14238
extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid)
14239
__attribute__ ((__nothrow__));
14243
extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid)
14244
__attribute__ ((__nothrow__));
14248
extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid)
14249
__attribute__ ((__nothrow__));
14253
extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid)
14254
__attribute__ ((__nothrow__));
14261
extern __pid_t fork (void) __attribute__ ((__nothrow__));
14269
extern __pid_t vfork (void) __attribute__ ((__nothrow__));
14275
extern char *ttyname (int __fd) __attribute__ ((__nothrow__));
14279
extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
14280
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
14284
extern int isatty (int __fd) __attribute__ ((__nothrow__));
14290
extern int ttyslot (void) __attribute__ ((__nothrow__));
14295
extern int link (__const char *__from, __const char *__to)
14296
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
14301
extern int linkat (int __fromfd, __const char *__from, int __tofd,
14302
__const char *__to, int __flags)
14303
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))) __attribute__ ((__warn_unused_result__));
14308
extern int symlink (__const char *__from, __const char *__to)
14309
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
14314
extern ssize_t readlink (__const char *__restrict __path,
14315
char *__restrict __buf, size_t __len)
14316
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
14321
extern int symlinkat (__const char *__from, int __tofd,
14322
__const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
14325
extern ssize_t readlinkat (int __fd, __const char *__restrict __path,
14326
char *__restrict __buf, size_t __len)
14327
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__));
14331
extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
14335
extern int unlinkat (int __fd, __const char *__name, int __flag)
14336
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
14340
extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
14344
extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__));
14347
extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__));
14354
extern char *getlogin (void);
14362
extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1)));
14367
extern int setlogin (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
14368
# 890 "/usr/include/unistd.h" 3 4
14369
# 1 "/usr/include/getopt.h" 1 3 4
14370
# 59 "/usr/include/getopt.h" 3 4
14371
extern char *optarg;
14372
# 73 "/usr/include/getopt.h" 3 4
14383
# 152 "/usr/include/getopt.h" 3 4
14384
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
14385
__attribute__ ((__nothrow__));
14386
# 891 "/usr/include/unistd.h" 2 3 4
14394
extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
14401
extern int sethostname (__const char *__name, size_t __len)
14402
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14406
extern int sethostid (long int __id) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14412
extern int getdomainname (char *__name, size_t __len)
14413
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14414
extern int setdomainname (__const char *__name, size_t __len)
14415
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14421
extern int vhangup (void) __attribute__ ((__nothrow__));
14424
extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14432
extern int profil (unsigned short int *__sample_buffer, size_t __size,
14433
size_t __offset, unsigned int __scale)
14434
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
14440
extern int acct (__const char *__name) __attribute__ ((__nothrow__));
14444
extern char *getusershell (void) __attribute__ ((__nothrow__));
14445
extern void endusershell (void) __attribute__ ((__nothrow__));
14446
extern void setusershell (void) __attribute__ ((__nothrow__));
14452
extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14459
extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14463
extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1)));
14464
# 976 "/usr/include/unistd.h" 3 4
14465
extern int fsync (int __fd);
14472
extern long int gethostid (void);
14475
extern void sync (void) __attribute__ ((__nothrow__));
14481
extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
14486
extern int getdtablesize (void) __attribute__ ((__nothrow__));
14487
# 1007 "/usr/include/unistd.h" 3 4
14488
extern int truncate (__const char *__file, __off_t __length)
14489
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14490
# 1019 "/usr/include/unistd.h" 3 4
14491
extern int truncate64 (__const char *__file, __off64_t __length)
14492
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14493
# 1029 "/usr/include/unistd.h" 3 4
14494
extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14495
# 1039 "/usr/include/unistd.h" 3 4
14496
extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14497
# 1050 "/usr/include/unistd.h" 3 4
14498
extern int brk (void *__addr) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14504
extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__));
14505
# 1071 "/usr/include/unistd.h" 3 4
14506
extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__));
14507
# 1094 "/usr/include/unistd.h" 3 4
14508
extern int lockf (int __fd, int __cmd, __off_t __len) __attribute__ ((__warn_unused_result__));
14509
# 1104 "/usr/include/unistd.h" 3 4
14510
extern int lockf64 (int __fd, int __cmd, __off64_t __len) __attribute__ ((__warn_unused_result__));
14511
# 1125 "/usr/include/unistd.h" 3 4
14512
extern int fdatasync (int __fildes);
14520
extern char *crypt (__const char *__key, __const char *__salt)
14521
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14525
extern void encrypt (char *__libc_block, int __edflag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
14532
extern void swab (__const void *__restrict __from, void *__restrict __to,
14533
ssize_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14541
extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
14547
# 1 "/usr/include/bits/unistd.h" 1 3 4
14548
# 24 "/usr/include/bits/unistd.h" 3 4
14549
extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes,
14550
size_t __buflen) __attribute__ ((__warn_unused_result__));
14551
extern ssize_t __read_alias (int __fd, void *__buf, size_t __nbytes) __asm__ ("" "read")
14552
__attribute__ ((__warn_unused_result__));
14553
extern ssize_t __read_chk_warn (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __asm__ ("" "__read_chk")
14556
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("read called with bigger length than size of " "the destination buffer")))
14559
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
14560
read (int __fd, void *__buf, size_t __nbytes)
14562
if (__builtin_object_size (__buf, 0) != (size_t) -1)
14564
if (!__builtin_constant_p (__nbytes))
14565
return __read_chk (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0));
14567
if (__nbytes > __builtin_object_size (__buf, 0))
14568
return __read_chk_warn (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0));
14570
return __read_alias (__fd, __buf, __nbytes);
14574
extern ssize_t __pread_chk (int __fd, void *__buf, size_t __nbytes,
14575
__off_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__));
14576
extern ssize_t __pread64_chk (int __fd, void *__buf, size_t __nbytes,
14577
__off64_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__));
14578
extern ssize_t __pread_alias (int __fd, void *__buf, size_t __nbytes, __off_t __offset) __asm__ ("" "pread")
14580
__attribute__ ((__warn_unused_result__));
14581
extern ssize_t __pread64_alias (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64")
14583
__attribute__ ((__warn_unused_result__));
14584
extern ssize_t __pread_chk_warn (int __fd, void *__buf, size_t __nbytes, __off_t __offset, size_t __bufsize) __asm__ ("" "__pread_chk")
14587
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread called with bigger length than size of " "the destination buffer")))
14589
extern ssize_t __pread64_chk_warn (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize) __asm__ ("" "__pread64_chk")
14593
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread64 called with bigger length than size of " "the destination buffer")))
14597
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
14598
pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset)
14600
if (__builtin_object_size (__buf, 0) != (size_t) -1)
14602
if (!__builtin_constant_p (__nbytes))
14603
return __pread_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0));
14605
if ( __nbytes > __builtin_object_size (__buf, 0))
14606
return __pread_chk_warn (__fd, __buf, __nbytes, __offset,
14607
__builtin_object_size (__buf, 0));
14609
return __pread_alias (__fd, __buf, __nbytes, __offset);
14611
# 105 "/usr/include/bits/unistd.h" 3 4
14612
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
14613
pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
14615
if (__builtin_object_size (__buf, 0) != (size_t) -1)
14617
if (!__builtin_constant_p (__nbytes))
14618
return __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0));
14620
if ( __nbytes > __builtin_object_size (__buf, 0))
14621
return __pread64_chk_warn (__fd, __buf, __nbytes, __offset,
14622
__builtin_object_size (__buf, 0));
14625
return __pread64_alias (__fd, __buf, __nbytes, __offset);
14631
extern ssize_t __readlink_chk (__const char *__restrict __path,
14632
char *__restrict __buf, size_t __len,
14634
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
14635
extern ssize_t __readlink_alias (__const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlink") __attribute__ ((__nothrow__))
14638
__attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
14639
extern ssize_t __readlink_chk_warn (__const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlink_chk") __attribute__ ((__nothrow__))
14643
__attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlink called with bigger length " "than size of destination buffer")))
14646
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) ssize_t
14647
__attribute__ ((__nothrow__)) readlink (__const char *__restrict __path, char *__restrict __buf, size_t __len)
14650
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
14652
if (!__builtin_constant_p (__len))
14653
return __readlink_chk (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1));
14655
if ( __len > __builtin_object_size (__buf, 2 > 1))
14656
return __readlink_chk_warn (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1));
14658
return __readlink_alias (__path, __buf, __len);
14663
extern ssize_t __readlinkat_chk (int __fd, __const char *__restrict __path,
14664
char *__restrict __buf, size_t __len,
14666
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__));
14667
extern ssize_t __readlinkat_alias (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlinkat") __attribute__ ((__nothrow__))
14671
__attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__));
14672
extern ssize_t __readlinkat_chk_warn (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlinkat_chk") __attribute__ ((__nothrow__))
14676
__attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlinkat called with bigger " "length than size of destination " "buffer")))
14680
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) ssize_t
14681
__attribute__ ((__nothrow__)) readlinkat (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len)
14684
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
14686
if (!__builtin_constant_p (__len))
14687
return __readlinkat_chk (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1));
14689
if (__len > __builtin_object_size (__buf, 2 > 1))
14690
return __readlinkat_chk_warn (__fd, __path, __buf, __len,
14691
__builtin_object_size (__buf, 2 > 1));
14693
return __readlinkat_alias (__fd, __path, __buf, __len);
14697
extern char *__getcwd_chk (char *__buf, size_t __size, size_t __buflen)
14698
__attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14699
extern char *__getcwd_alias (char *__buf, size_t __size) __asm__ ("" "getcwd") __attribute__ ((__nothrow__))
14700
__attribute__ ((__warn_unused_result__));
14701
extern char *__getcwd_chk_warn (char *__buf, size_t __size, size_t __buflen) __asm__ ("" "__getcwd_chk") __attribute__ ((__nothrow__))
14704
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getcwd caller with bigger length than size of " "destination buffer")))
14707
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
14708
__attribute__ ((__nothrow__)) getcwd (char *__buf, size_t __size)
14710
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
14712
if (!__builtin_constant_p (__size))
14713
return __getcwd_chk (__buf, __size, __builtin_object_size (__buf, 2 > 1));
14715
if (__size > __builtin_object_size (__buf, 2 > 1))
14716
return __getcwd_chk_warn (__buf, __size, __builtin_object_size (__buf, 2 > 1));
14718
return __getcwd_alias (__buf, __size);
14722
extern char *__getwd_chk (char *__buf, size_t buflen)
14723
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14724
extern char *__getwd_warn (char *__buf) __asm__ ("" "getwd") __attribute__ ((__nothrow__))
14725
__attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use getcwd instead, as getwd " "doesn't specify buffer size")))
14728
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)) char *
14729
__attribute__ ((__nothrow__)) getwd (char *__buf)
14731
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
14732
return __getwd_chk (__buf, __builtin_object_size (__buf, 2 > 1));
14733
return __getwd_warn (__buf);
14737
extern size_t __confstr_chk (int __name, char *__buf, size_t __len,
14738
size_t __buflen) __attribute__ ((__nothrow__));
14739
extern size_t __confstr_alias (int __name, char *__buf, size_t __len) __asm__ ("" "confstr") __attribute__ ((__nothrow__))
14741
extern size_t __confstr_chk_warn (int __name, char *__buf, size_t __len, size_t __buflen) __asm__ ("" "__confstr_chk") __attribute__ ((__nothrow__))
14744
__attribute__((__warning__ ("confstr called with bigger length than size of destination " "buffer")))
14747
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t
14748
__attribute__ ((__nothrow__)) confstr (int __name, char *__buf, size_t __len)
14750
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
14752
if (!__builtin_constant_p (__len))
14753
return __confstr_chk (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1));
14755
if (__builtin_object_size (__buf, 2 > 1) < __len)
14756
return __confstr_chk_warn (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1));
14758
return __confstr_alias (__name, __buf, __len);
14762
extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen)
14763
__attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14764
extern int __getgroups_alias (int __size, __gid_t __list[]) __asm__ ("" "getgroups") __attribute__ ((__nothrow__))
14765
__attribute__ ((__warn_unused_result__));
14766
extern int __getgroups_chk_warn (int __size, __gid_t __list[], size_t __listlen) __asm__ ("" "__getgroups_chk") __attribute__ ((__nothrow__))
14769
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getgroups called with bigger group count than what " "can fit into destination buffer")))
14772
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
14773
__attribute__ ((__nothrow__)) getgroups (int __size, __gid_t __list[])
14775
if (__builtin_object_size (__list, 2 > 1) != (size_t) -1)
14777
if (!__builtin_constant_p (__size) || __size < 0)
14778
return __getgroups_chk (__size, __list, __builtin_object_size (__list, 2 > 1));
14780
if (__size * sizeof (__gid_t) > __builtin_object_size (__list, 2 > 1))
14781
return __getgroups_chk_warn (__size, __list, __builtin_object_size (__list, 2 > 1));
14783
return __getgroups_alias (__size, __list);
14787
extern int __ttyname_r_chk (int __fd, char *__buf, size_t __buflen,
14788
size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
14789
extern int __ttyname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ttyname_r") __attribute__ ((__nothrow__))
14791
__attribute__ ((__nonnull__ (2)));
14792
extern int __ttyname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ttyname_r_chk") __attribute__ ((__nothrow__))
14795
__attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ttyname_r called with bigger buflen than " "size of destination buffer")))
14798
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
14799
__attribute__ ((__nothrow__)) ttyname_r (int __fd, char *__buf, size_t __buflen)
14801
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
14803
if (!__builtin_constant_p (__buflen))
14804
return __ttyname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
14806
if (__buflen > __builtin_object_size (__buf, 2 > 1))
14807
return __ttyname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
14809
return __ttyname_r_alias (__fd, __buf, __buflen);
14814
extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal)
14815
__attribute__ ((__nonnull__ (1)));
14816
extern int __getlogin_r_alias (char *__buf, size_t __buflen) __asm__ ("" "getlogin_r")
14817
__attribute__ ((__nonnull__ (1)));
14818
extern int __getlogin_r_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getlogin_r_chk")
14821
__attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("getlogin_r called with bigger buflen than " "size of destination buffer")))
14824
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
14825
getlogin_r (char *__buf, size_t __buflen)
14827
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
14829
if (!__builtin_constant_p (__buflen))
14830
return __getlogin_r_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
14832
if (__buflen > __builtin_object_size (__buf, 2 > 1))
14833
return __getlogin_r_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
14835
return __getlogin_r_alias (__buf, __buflen);
14841
extern int __gethostname_chk (char *__buf, size_t __buflen, size_t __nreal)
14842
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
14843
extern int __gethostname_alias (char *__buf, size_t __buflen) __asm__ ("" "gethostname") __attribute__ ((__nothrow__))
14844
__attribute__ ((__nonnull__ (1)));
14845
extern int __gethostname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__gethostname_chk") __attribute__ ((__nothrow__))
14848
__attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("gethostname called with bigger buflen than " "size of destination buffer")))
14851
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
14852
__attribute__ ((__nothrow__)) gethostname (char *__buf, size_t __buflen)
14854
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
14856
if (!__builtin_constant_p (__buflen))
14857
return __gethostname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
14859
if (__buflen > __builtin_object_size (__buf, 2 > 1))
14860
return __gethostname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
14862
return __gethostname_alias (__buf, __buflen);
14868
extern int __getdomainname_chk (char *__buf, size_t __buflen, size_t __nreal)
14869
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14870
extern int __getdomainname_alias (char *__buf, size_t __buflen) __asm__ ("" "getdomainname") __attribute__ ((__nothrow__))
14872
__attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14873
extern int __getdomainname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getdomainname_chk") __attribute__ ((__nothrow__))
14876
__attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getdomainname called with bigger " "buflen than size of destination " "buffer")))
14880
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
14881
__attribute__ ((__nothrow__)) getdomainname (char *__buf, size_t __buflen)
14883
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
14885
if (!__builtin_constant_p (__buflen))
14886
return __getdomainname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
14888
if (__buflen > __builtin_object_size (__buf, 2 > 1))
14889
return __getdomainname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
14891
return __getdomainname_alias (__buf, __buflen);
14893
# 1161 "/usr/include/unistd.h" 2 3 4
14897
# 41 "../../testing/testing.h" 2
14899
gboolean testing_wait_until (gint timeout);
14901
void testing_wait_stop (void);
14903
const gchar* testing_data_directory (void);
14905
const gchar* testing_scratch_directory (void);
14907
guchar* testing_data_read (const gchar *basename,
14910
void testing_data_to_scratch (const gchar *basename,
14911
const gchar *newname);
14913
gchar* testing_scratch_filename (const gchar *basename);
14915
void testing_scratch_empty (const gchar *basename);
14917
void testing_scratch_touch (const gchar *basename,
14920
void testing_scratch_remove (const gchar *basename);
14922
void testing_scratch_remove_all (void);
14924
gchar* testing_data_filename (const gchar *basename);
14925
# 76 "../../testing/testing.h"
14926
typedef void (*TestingExternalFunc) (void);
14928
void testing_external_run (const gchar *name,
14929
TestingExternalFunc func,
14932
const gchar* testing_external_name (void);
14934
void testing_external_fail (void);
14935
# 1 "test-suite.h" 2
14936
# 25 "unit-test-util.c" 2
14938
# 1 "./../gku-prompt-util.h" 1
14939
# 25 "./../gku-prompt-util.h"
14940
# 1 "/usr/include/gcrypt.h" 1 3 4
14941
# 29 "/usr/include/gcrypt.h" 3 4
14942
# 1 "/usr/include/gpg-error.h" 1 3 4
14943
# 26 "/usr/include/gpg-error.h" 3 4
14944
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
14945
# 27 "/usr/include/gpg-error.h" 2 3 4
14946
# 78 "/usr/include/gpg-error.h" 3 4
14949
GPG_ERR_SOURCE_UNKNOWN = 0,
14950
GPG_ERR_SOURCE_GCRYPT = 1,
14951
GPG_ERR_SOURCE_GPG = 2,
14952
GPG_ERR_SOURCE_GPGSM = 3,
14953
GPG_ERR_SOURCE_GPGAGENT = 4,
14954
GPG_ERR_SOURCE_PINENTRY = 5,
14955
GPG_ERR_SOURCE_SCD = 6,
14956
GPG_ERR_SOURCE_GPGME = 7,
14957
GPG_ERR_SOURCE_KEYBOX = 8,
14958
GPG_ERR_SOURCE_KSBA = 9,
14959
GPG_ERR_SOURCE_DIRMNGR = 10,
14960
GPG_ERR_SOURCE_GSTI = 11,
14961
GPG_ERR_SOURCE_GPA = 12,
14962
GPG_ERR_SOURCE_KLEO = 13,
14963
GPG_ERR_SOURCE_G13 = 14,
14964
GPG_ERR_SOURCE_ANY = 31,
14965
GPG_ERR_SOURCE_USER_1 = 32,
14966
GPG_ERR_SOURCE_USER_2 = 33,
14967
GPG_ERR_SOURCE_USER_3 = 34,
14968
GPG_ERR_SOURCE_USER_4 = 35,
14971
GPG_ERR_SOURCE_DIM = 128
14972
} gpg_err_source_t;
14981
GPG_ERR_NO_ERROR = 0,
14982
GPG_ERR_GENERAL = 1,
14983
GPG_ERR_UNKNOWN_PACKET = 2,
14984
GPG_ERR_UNKNOWN_VERSION = 3,
14985
GPG_ERR_PUBKEY_ALGO = 4,
14986
GPG_ERR_DIGEST_ALGO = 5,
14987
GPG_ERR_BAD_PUBKEY = 6,
14988
GPG_ERR_BAD_SECKEY = 7,
14989
GPG_ERR_BAD_SIGNATURE = 8,
14990
GPG_ERR_NO_PUBKEY = 9,
14991
GPG_ERR_CHECKSUM = 10,
14992
GPG_ERR_BAD_PASSPHRASE = 11,
14993
GPG_ERR_CIPHER_ALGO = 12,
14994
GPG_ERR_KEYRING_OPEN = 13,
14995
GPG_ERR_INV_PACKET = 14,
14996
GPG_ERR_INV_ARMOR = 15,
14997
GPG_ERR_NO_USER_ID = 16,
14998
GPG_ERR_NO_SECKEY = 17,
14999
GPG_ERR_WRONG_SECKEY = 18,
15000
GPG_ERR_BAD_KEY = 19,
15001
GPG_ERR_COMPR_ALGO = 20,
15002
GPG_ERR_NO_PRIME = 21,
15003
GPG_ERR_NO_ENCODING_METHOD = 22,
15004
GPG_ERR_NO_ENCRYPTION_SCHEME = 23,
15005
GPG_ERR_NO_SIGNATURE_SCHEME = 24,
15006
GPG_ERR_INV_ATTR = 25,
15007
GPG_ERR_NO_VALUE = 26,
15008
GPG_ERR_NOT_FOUND = 27,
15009
GPG_ERR_VALUE_NOT_FOUND = 28,
15010
GPG_ERR_SYNTAX = 29,
15011
GPG_ERR_BAD_MPI = 30,
15012
GPG_ERR_INV_PASSPHRASE = 31,
15013
GPG_ERR_SIG_CLASS = 32,
15014
GPG_ERR_RESOURCE_LIMIT = 33,
15015
GPG_ERR_INV_KEYRING = 34,
15016
GPG_ERR_TRUSTDB = 35,
15017
GPG_ERR_BAD_CERT = 36,
15018
GPG_ERR_INV_USER_ID = 37,
15019
GPG_ERR_UNEXPECTED = 38,
15020
GPG_ERR_TIME_CONFLICT = 39,
15021
GPG_ERR_KEYSERVER = 40,
15022
GPG_ERR_WRONG_PUBKEY_ALGO = 41,
15023
GPG_ERR_TRIBUTE_TO_D_A = 42,
15024
GPG_ERR_WEAK_KEY = 43,
15025
GPG_ERR_INV_KEYLEN = 44,
15026
GPG_ERR_INV_ARG = 45,
15027
GPG_ERR_BAD_URI = 46,
15028
GPG_ERR_INV_URI = 47,
15029
GPG_ERR_NETWORK = 48,
15030
GPG_ERR_UNKNOWN_HOST = 49,
15031
GPG_ERR_SELFTEST_FAILED = 50,
15032
GPG_ERR_NOT_ENCRYPTED = 51,
15033
GPG_ERR_NOT_PROCESSED = 52,
15034
GPG_ERR_UNUSABLE_PUBKEY = 53,
15035
GPG_ERR_UNUSABLE_SECKEY = 54,
15036
GPG_ERR_INV_VALUE = 55,
15037
GPG_ERR_BAD_CERT_CHAIN = 56,
15038
GPG_ERR_MISSING_CERT = 57,
15039
GPG_ERR_NO_DATA = 58,
15041
GPG_ERR_NOT_SUPPORTED = 60,
15042
GPG_ERR_INV_OP = 61,
15043
GPG_ERR_TIMEOUT = 62,
15044
GPG_ERR_INTERNAL = 63,
15045
GPG_ERR_EOF_GCRYPT = 64,
15046
GPG_ERR_INV_OBJ = 65,
15047
GPG_ERR_TOO_SHORT = 66,
15048
GPG_ERR_TOO_LARGE = 67,
15049
GPG_ERR_NO_OBJ = 68,
15050
GPG_ERR_NOT_IMPLEMENTED = 69,
15051
GPG_ERR_CONFLICT = 70,
15052
GPG_ERR_INV_CIPHER_MODE = 71,
15053
GPG_ERR_INV_FLAG = 72,
15054
GPG_ERR_INV_HANDLE = 73,
15055
GPG_ERR_TRUNCATED = 74,
15056
GPG_ERR_INCOMPLETE_LINE = 75,
15057
GPG_ERR_INV_RESPONSE = 76,
15058
GPG_ERR_NO_AGENT = 77,
15059
GPG_ERR_AGENT = 78,
15060
GPG_ERR_INV_DATA = 79,
15061
GPG_ERR_ASSUAN_SERVER_FAULT = 80,
15062
GPG_ERR_ASSUAN = 81,
15063
GPG_ERR_INV_SESSION_KEY = 82,
15064
GPG_ERR_INV_SEXP = 83,
15065
GPG_ERR_UNSUPPORTED_ALGORITHM = 84,
15066
GPG_ERR_NO_PIN_ENTRY = 85,
15067
GPG_ERR_PIN_ENTRY = 86,
15068
GPG_ERR_BAD_PIN = 87,
15069
GPG_ERR_INV_NAME = 88,
15070
GPG_ERR_BAD_DATA = 89,
15071
GPG_ERR_INV_PARAMETER = 90,
15072
GPG_ERR_WRONG_CARD = 91,
15073
GPG_ERR_NO_DIRMNGR = 92,
15074
GPG_ERR_DIRMNGR = 93,
15075
GPG_ERR_CERT_REVOKED = 94,
15076
GPG_ERR_NO_CRL_KNOWN = 95,
15077
GPG_ERR_CRL_TOO_OLD = 96,
15078
GPG_ERR_LINE_TOO_LONG = 97,
15079
GPG_ERR_NOT_TRUSTED = 98,
15080
GPG_ERR_CANCELED = 99,
15081
GPG_ERR_BAD_CA_CERT = 100,
15082
GPG_ERR_CERT_EXPIRED = 101,
15083
GPG_ERR_CERT_TOO_YOUNG = 102,
15084
GPG_ERR_UNSUPPORTED_CERT = 103,
15085
GPG_ERR_UNKNOWN_SEXP = 104,
15086
GPG_ERR_UNSUPPORTED_PROTECTION = 105,
15087
GPG_ERR_CORRUPTED_PROTECTION = 106,
15088
GPG_ERR_AMBIGUOUS_NAME = 107,
15089
GPG_ERR_CARD = 108,
15090
GPG_ERR_CARD_RESET = 109,
15091
GPG_ERR_CARD_REMOVED = 110,
15092
GPG_ERR_INV_CARD = 111,
15093
GPG_ERR_CARD_NOT_PRESENT = 112,
15094
GPG_ERR_NO_PKCS15_APP = 113,
15095
GPG_ERR_NOT_CONFIRMED = 114,
15096
GPG_ERR_CONFIGURATION = 115,
15097
GPG_ERR_NO_POLICY_MATCH = 116,
15098
GPG_ERR_INV_INDEX = 117,
15099
GPG_ERR_INV_ID = 118,
15100
GPG_ERR_NO_SCDAEMON = 119,
15101
GPG_ERR_SCDAEMON = 120,
15102
GPG_ERR_UNSUPPORTED_PROTOCOL = 121,
15103
GPG_ERR_BAD_PIN_METHOD = 122,
15104
GPG_ERR_CARD_NOT_INITIALIZED = 123,
15105
GPG_ERR_UNSUPPORTED_OPERATION = 124,
15106
GPG_ERR_WRONG_KEY_USAGE = 125,
15107
GPG_ERR_NOTHING_FOUND = 126,
15108
GPG_ERR_WRONG_BLOB_TYPE = 127,
15109
GPG_ERR_MISSING_VALUE = 128,
15110
GPG_ERR_HARDWARE = 129,
15111
GPG_ERR_PIN_BLOCKED = 130,
15112
GPG_ERR_USE_CONDITIONS = 131,
15113
GPG_ERR_PIN_NOT_SYNCED = 132,
15114
GPG_ERR_INV_CRL = 133,
15115
GPG_ERR_BAD_BER = 134,
15116
GPG_ERR_INV_BER = 135,
15117
GPG_ERR_ELEMENT_NOT_FOUND = 136,
15118
GPG_ERR_IDENTIFIER_NOT_FOUND = 137,
15119
GPG_ERR_INV_TAG = 138,
15120
GPG_ERR_INV_LENGTH = 139,
15121
GPG_ERR_INV_KEYINFO = 140,
15122
GPG_ERR_UNEXPECTED_TAG = 141,
15123
GPG_ERR_NOT_DER_ENCODED = 142,
15124
GPG_ERR_NO_CMS_OBJ = 143,
15125
GPG_ERR_INV_CMS_OBJ = 144,
15126
GPG_ERR_UNKNOWN_CMS_OBJ = 145,
15127
GPG_ERR_UNSUPPORTED_CMS_OBJ = 146,
15128
GPG_ERR_UNSUPPORTED_ENCODING = 147,
15129
GPG_ERR_UNSUPPORTED_CMS_VERSION = 148,
15130
GPG_ERR_UNKNOWN_ALGORITHM = 149,
15131
GPG_ERR_INV_ENGINE = 150,
15132
GPG_ERR_PUBKEY_NOT_TRUSTED = 151,
15133
GPG_ERR_DECRYPT_FAILED = 152,
15134
GPG_ERR_KEY_EXPIRED = 153,
15135
GPG_ERR_SIG_EXPIRED = 154,
15136
GPG_ERR_ENCODING_PROBLEM = 155,
15137
GPG_ERR_INV_STATE = 156,
15138
GPG_ERR_DUP_VALUE = 157,
15139
GPG_ERR_MISSING_ACTION = 158,
15140
GPG_ERR_MODULE_NOT_FOUND = 159,
15141
GPG_ERR_INV_OID_STRING = 160,
15142
GPG_ERR_INV_TIME = 161,
15143
GPG_ERR_INV_CRL_OBJ = 162,
15144
GPG_ERR_UNSUPPORTED_CRL_VERSION = 163,
15145
GPG_ERR_INV_CERT_OBJ = 164,
15146
GPG_ERR_UNKNOWN_NAME = 165,
15147
GPG_ERR_LOCALE_PROBLEM = 166,
15148
GPG_ERR_NOT_LOCKED = 167,
15149
GPG_ERR_PROTOCOL_VIOLATION = 168,
15150
GPG_ERR_INV_MAC = 169,
15151
GPG_ERR_INV_REQUEST = 170,
15152
GPG_ERR_UNKNOWN_EXTN = 171,
15153
GPG_ERR_UNKNOWN_CRIT_EXTN = 172,
15154
GPG_ERR_LOCKED = 173,
15155
GPG_ERR_UNKNOWN_OPTION = 174,
15156
GPG_ERR_UNKNOWN_COMMAND = 175,
15157
GPG_ERR_NOT_OPERATIONAL = 176,
15158
GPG_ERR_NO_PASSPHRASE = 177,
15159
GPG_ERR_NO_PIN = 178,
15160
GPG_ERR_NOT_ENABLED = 179,
15161
GPG_ERR_NO_ENGINE = 180,
15162
GPG_ERR_MISSING_KEY = 181,
15163
GPG_ERR_TOO_MANY = 182,
15164
GPG_ERR_LIMIT_REACHED = 183,
15165
GPG_ERR_NOT_INITIALIZED = 184,
15166
GPG_ERR_MISSING_ISSUER_CERT = 185,
15167
GPG_ERR_FULLY_CANCELED = 198,
15168
GPG_ERR_UNFINISHED = 199,
15169
GPG_ERR_BUFFER_TOO_SHORT = 200,
15170
GPG_ERR_SEXP_INV_LEN_SPEC = 201,
15171
GPG_ERR_SEXP_STRING_TOO_LONG = 202,
15172
GPG_ERR_SEXP_UNMATCHED_PAREN = 203,
15173
GPG_ERR_SEXP_NOT_CANONICAL = 204,
15174
GPG_ERR_SEXP_BAD_CHARACTER = 205,
15175
GPG_ERR_SEXP_BAD_QUOTATION = 206,
15176
GPG_ERR_SEXP_ZERO_PREFIX = 207,
15177
GPG_ERR_SEXP_NESTED_DH = 208,
15178
GPG_ERR_SEXP_UNMATCHED_DH = 209,
15179
GPG_ERR_SEXP_UNEXPECTED_PUNC = 210,
15180
GPG_ERR_SEXP_BAD_HEX_CHAR = 211,
15181
GPG_ERR_SEXP_ODD_HEX_NUMBERS = 212,
15182
GPG_ERR_SEXP_BAD_OCT_CHAR = 213,
15183
GPG_ERR_ASS_GENERAL = 257,
15184
GPG_ERR_ASS_ACCEPT_FAILED = 258,
15185
GPG_ERR_ASS_CONNECT_FAILED = 259,
15186
GPG_ERR_ASS_INV_RESPONSE = 260,
15187
GPG_ERR_ASS_INV_VALUE = 261,
15188
GPG_ERR_ASS_INCOMPLETE_LINE = 262,
15189
GPG_ERR_ASS_LINE_TOO_LONG = 263,
15190
GPG_ERR_ASS_NESTED_COMMANDS = 264,
15191
GPG_ERR_ASS_NO_DATA_CB = 265,
15192
GPG_ERR_ASS_NO_INQUIRE_CB = 266,
15193
GPG_ERR_ASS_NOT_A_SERVER = 267,
15194
GPG_ERR_ASS_NOT_A_CLIENT = 268,
15195
GPG_ERR_ASS_SERVER_START = 269,
15196
GPG_ERR_ASS_READ_ERROR = 270,
15197
GPG_ERR_ASS_WRITE_ERROR = 271,
15198
GPG_ERR_ASS_TOO_MUCH_DATA = 273,
15199
GPG_ERR_ASS_UNEXPECTED_CMD = 274,
15200
GPG_ERR_ASS_UNKNOWN_CMD = 275,
15201
GPG_ERR_ASS_SYNTAX = 276,
15202
GPG_ERR_ASS_CANCELED = 277,
15203
GPG_ERR_ASS_NO_INPUT = 278,
15204
GPG_ERR_ASS_NO_OUTPUT = 279,
15205
GPG_ERR_ASS_PARAMETER = 280,
15206
GPG_ERR_ASS_UNKNOWN_INQUIRE = 281,
15207
GPG_ERR_USER_1 = 1024,
15208
GPG_ERR_USER_2 = 1025,
15209
GPG_ERR_USER_3 = 1026,
15210
GPG_ERR_USER_4 = 1027,
15211
GPG_ERR_USER_5 = 1028,
15212
GPG_ERR_USER_6 = 1029,
15213
GPG_ERR_USER_7 = 1030,
15214
GPG_ERR_USER_8 = 1031,
15215
GPG_ERR_USER_9 = 1032,
15216
GPG_ERR_USER_10 = 1033,
15217
GPG_ERR_USER_11 = 1034,
15218
GPG_ERR_USER_12 = 1035,
15219
GPG_ERR_USER_13 = 1036,
15220
GPG_ERR_USER_14 = 1037,
15221
GPG_ERR_USER_15 = 1038,
15222
GPG_ERR_USER_16 = 1039,
15223
GPG_ERR_MISSING_ERRNO = 16381,
15224
GPG_ERR_UNKNOWN_ERRNO = 16382,
15225
GPG_ERR_EOF = 16383,
15229
GPG_ERR_E2BIG = (1 << 15) | 0,
15230
GPG_ERR_EACCES = (1 << 15) | 1,
15231
GPG_ERR_EADDRINUSE = (1 << 15) | 2,
15232
GPG_ERR_EADDRNOTAVAIL = (1 << 15) | 3,
15233
GPG_ERR_EADV = (1 << 15) | 4,
15234
GPG_ERR_EAFNOSUPPORT = (1 << 15) | 5,
15235
GPG_ERR_EAGAIN = (1 << 15) | 6,
15236
GPG_ERR_EALREADY = (1 << 15) | 7,
15237
GPG_ERR_EAUTH = (1 << 15) | 8,
15238
GPG_ERR_EBACKGROUND = (1 << 15) | 9,
15239
GPG_ERR_EBADE = (1 << 15) | 10,
15240
GPG_ERR_EBADF = (1 << 15) | 11,
15241
GPG_ERR_EBADFD = (1 << 15) | 12,
15242
GPG_ERR_EBADMSG = (1 << 15) | 13,
15243
GPG_ERR_EBADR = (1 << 15) | 14,
15244
GPG_ERR_EBADRPC = (1 << 15) | 15,
15245
GPG_ERR_EBADRQC = (1 << 15) | 16,
15246
GPG_ERR_EBADSLT = (1 << 15) | 17,
15247
GPG_ERR_EBFONT = (1 << 15) | 18,
15248
GPG_ERR_EBUSY = (1 << 15) | 19,
15249
GPG_ERR_ECANCELED = (1 << 15) | 20,
15250
GPG_ERR_ECHILD = (1 << 15) | 21,
15251
GPG_ERR_ECHRNG = (1 << 15) | 22,
15252
GPG_ERR_ECOMM = (1 << 15) | 23,
15253
GPG_ERR_ECONNABORTED = (1 << 15) | 24,
15254
GPG_ERR_ECONNREFUSED = (1 << 15) | 25,
15255
GPG_ERR_ECONNRESET = (1 << 15) | 26,
15256
GPG_ERR_ED = (1 << 15) | 27,
15257
GPG_ERR_EDEADLK = (1 << 15) | 28,
15258
GPG_ERR_EDEADLOCK = (1 << 15) | 29,
15259
GPG_ERR_EDESTADDRREQ = (1 << 15) | 30,
15260
GPG_ERR_EDIED = (1 << 15) | 31,
15261
GPG_ERR_EDOM = (1 << 15) | 32,
15262
GPG_ERR_EDOTDOT = (1 << 15) | 33,
15263
GPG_ERR_EDQUOT = (1 << 15) | 34,
15264
GPG_ERR_EEXIST = (1 << 15) | 35,
15265
GPG_ERR_EFAULT = (1 << 15) | 36,
15266
GPG_ERR_EFBIG = (1 << 15) | 37,
15267
GPG_ERR_EFTYPE = (1 << 15) | 38,
15268
GPG_ERR_EGRATUITOUS = (1 << 15) | 39,
15269
GPG_ERR_EGREGIOUS = (1 << 15) | 40,
15270
GPG_ERR_EHOSTDOWN = (1 << 15) | 41,
15271
GPG_ERR_EHOSTUNREACH = (1 << 15) | 42,
15272
GPG_ERR_EIDRM = (1 << 15) | 43,
15273
GPG_ERR_EIEIO = (1 << 15) | 44,
15274
GPG_ERR_EILSEQ = (1 << 15) | 45,
15275
GPG_ERR_EINPROGRESS = (1 << 15) | 46,
15276
GPG_ERR_EINTR = (1 << 15) | 47,
15277
GPG_ERR_EINVAL = (1 << 15) | 48,
15278
GPG_ERR_EIO = (1 << 15) | 49,
15279
GPG_ERR_EISCONN = (1 << 15) | 50,
15280
GPG_ERR_EISDIR = (1 << 15) | 51,
15281
GPG_ERR_EISNAM = (1 << 15) | 52,
15282
GPG_ERR_EL2HLT = (1 << 15) | 53,
15283
GPG_ERR_EL2NSYNC = (1 << 15) | 54,
15284
GPG_ERR_EL3HLT = (1 << 15) | 55,
15285
GPG_ERR_EL3RST = (1 << 15) | 56,
15286
GPG_ERR_ELIBACC = (1 << 15) | 57,
15287
GPG_ERR_ELIBBAD = (1 << 15) | 58,
15288
GPG_ERR_ELIBEXEC = (1 << 15) | 59,
15289
GPG_ERR_ELIBMAX = (1 << 15) | 60,
15290
GPG_ERR_ELIBSCN = (1 << 15) | 61,
15291
GPG_ERR_ELNRNG = (1 << 15) | 62,
15292
GPG_ERR_ELOOP = (1 << 15) | 63,
15293
GPG_ERR_EMEDIUMTYPE = (1 << 15) | 64,
15294
GPG_ERR_EMFILE = (1 << 15) | 65,
15295
GPG_ERR_EMLINK = (1 << 15) | 66,
15296
GPG_ERR_EMSGSIZE = (1 << 15) | 67,
15297
GPG_ERR_EMULTIHOP = (1 << 15) | 68,
15298
GPG_ERR_ENAMETOOLONG = (1 << 15) | 69,
15299
GPG_ERR_ENAVAIL = (1 << 15) | 70,
15300
GPG_ERR_ENEEDAUTH = (1 << 15) | 71,
15301
GPG_ERR_ENETDOWN = (1 << 15) | 72,
15302
GPG_ERR_ENETRESET = (1 << 15) | 73,
15303
GPG_ERR_ENETUNREACH = (1 << 15) | 74,
15304
GPG_ERR_ENFILE = (1 << 15) | 75,
15305
GPG_ERR_ENOANO = (1 << 15) | 76,
15306
GPG_ERR_ENOBUFS = (1 << 15) | 77,
15307
GPG_ERR_ENOCSI = (1 << 15) | 78,
15308
GPG_ERR_ENODATA = (1 << 15) | 79,
15309
GPG_ERR_ENODEV = (1 << 15) | 80,
15310
GPG_ERR_ENOENT = (1 << 15) | 81,
15311
GPG_ERR_ENOEXEC = (1 << 15) | 82,
15312
GPG_ERR_ENOLCK = (1 << 15) | 83,
15313
GPG_ERR_ENOLINK = (1 << 15) | 84,
15314
GPG_ERR_ENOMEDIUM = (1 << 15) | 85,
15315
GPG_ERR_ENOMEM = (1 << 15) | 86,
15316
GPG_ERR_ENOMSG = (1 << 15) | 87,
15317
GPG_ERR_ENONET = (1 << 15) | 88,
15318
GPG_ERR_ENOPKG = (1 << 15) | 89,
15319
GPG_ERR_ENOPROTOOPT = (1 << 15) | 90,
15320
GPG_ERR_ENOSPC = (1 << 15) | 91,
15321
GPG_ERR_ENOSR = (1 << 15) | 92,
15322
GPG_ERR_ENOSTR = (1 << 15) | 93,
15323
GPG_ERR_ENOSYS = (1 << 15) | 94,
15324
GPG_ERR_ENOTBLK = (1 << 15) | 95,
15325
GPG_ERR_ENOTCONN = (1 << 15) | 96,
15326
GPG_ERR_ENOTDIR = (1 << 15) | 97,
15327
GPG_ERR_ENOTEMPTY = (1 << 15) | 98,
15328
GPG_ERR_ENOTNAM = (1 << 15) | 99,
15329
GPG_ERR_ENOTSOCK = (1 << 15) | 100,
15330
GPG_ERR_ENOTSUP = (1 << 15) | 101,
15331
GPG_ERR_ENOTTY = (1 << 15) | 102,
15332
GPG_ERR_ENOTUNIQ = (1 << 15) | 103,
15333
GPG_ERR_ENXIO = (1 << 15) | 104,
15334
GPG_ERR_EOPNOTSUPP = (1 << 15) | 105,
15335
GPG_ERR_EOVERFLOW = (1 << 15) | 106,
15336
GPG_ERR_EPERM = (1 << 15) | 107,
15337
GPG_ERR_EPFNOSUPPORT = (1 << 15) | 108,
15338
GPG_ERR_EPIPE = (1 << 15) | 109,
15339
GPG_ERR_EPROCLIM = (1 << 15) | 110,
15340
GPG_ERR_EPROCUNAVAIL = (1 << 15) | 111,
15341
GPG_ERR_EPROGMISMATCH = (1 << 15) | 112,
15342
GPG_ERR_EPROGUNAVAIL = (1 << 15) | 113,
15343
GPG_ERR_EPROTO = (1 << 15) | 114,
15344
GPG_ERR_EPROTONOSUPPORT = (1 << 15) | 115,
15345
GPG_ERR_EPROTOTYPE = (1 << 15) | 116,
15346
GPG_ERR_ERANGE = (1 << 15) | 117,
15347
GPG_ERR_EREMCHG = (1 << 15) | 118,
15348
GPG_ERR_EREMOTE = (1 << 15) | 119,
15349
GPG_ERR_EREMOTEIO = (1 << 15) | 120,
15350
GPG_ERR_ERESTART = (1 << 15) | 121,
15351
GPG_ERR_EROFS = (1 << 15) | 122,
15352
GPG_ERR_ERPCMISMATCH = (1 << 15) | 123,
15353
GPG_ERR_ESHUTDOWN = (1 << 15) | 124,
15354
GPG_ERR_ESOCKTNOSUPPORT = (1 << 15) | 125,
15355
GPG_ERR_ESPIPE = (1 << 15) | 126,
15356
GPG_ERR_ESRCH = (1 << 15) | 127,
15357
GPG_ERR_ESRMNT = (1 << 15) | 128,
15358
GPG_ERR_ESTALE = (1 << 15) | 129,
15359
GPG_ERR_ESTRPIPE = (1 << 15) | 130,
15360
GPG_ERR_ETIME = (1 << 15) | 131,
15361
GPG_ERR_ETIMEDOUT = (1 << 15) | 132,
15362
GPG_ERR_ETOOMANYREFS = (1 << 15) | 133,
15363
GPG_ERR_ETXTBSY = (1 << 15) | 134,
15364
GPG_ERR_EUCLEAN = (1 << 15) | 135,
15365
GPG_ERR_EUNATCH = (1 << 15) | 136,
15366
GPG_ERR_EUSERS = (1 << 15) | 137,
15367
GPG_ERR_EWOULDBLOCK = (1 << 15) | 138,
15368
GPG_ERR_EXDEV = (1 << 15) | 139,
15369
GPG_ERR_EXFULL = (1 << 15) | 140,
15372
GPG_ERR_CODE_DIM = 65536
15374
# 513 "/usr/include/gpg-error.h" 3 4
15375
typedef unsigned int gpg_error_t;
15376
# 551 "/usr/include/gpg-error.h" 3 4
15377
gpg_error_t gpg_err_init (void) __attribute__ ((__constructor__));
15378
# 562 "/usr/include/gpg-error.h" 3 4
15379
void gpg_err_deinit (int mode);
15386
static __inline__ gpg_error_t
15387
gpg_err_make (gpg_err_source_t source, gpg_err_code_t code)
15389
return code == GPG_ERR_NO_ERROR ? GPG_ERR_NO_ERROR
15390
: (((source & (GPG_ERR_SOURCE_DIM - 1)) << 24)
15391
| (code & (GPG_ERR_CODE_DIM - 1)));
15393
# 584 "/usr/include/gpg-error.h" 3 4
15394
static __inline__ gpg_error_t
15395
gpg_error (gpg_err_code_t code)
15397
return gpg_err_make (GPG_ERR_SOURCE_UNKNOWN, code);
15402
static __inline__ gpg_err_code_t
15403
gpg_err_code (gpg_error_t err)
15405
return (gpg_err_code_t) (err & (GPG_ERR_CODE_DIM - 1));
15410
static __inline__ gpg_err_source_t
15411
gpg_err_source (gpg_error_t err)
15413
return (gpg_err_source_t) ((err >> 24)
15414
& (GPG_ERR_SOURCE_DIM - 1));
15422
const char *gpg_strerror (gpg_error_t err);
15423
# 621 "/usr/include/gpg-error.h" 3 4
15424
int gpg_strerror_r (gpg_error_t err, char *buf, size_t buflen);
15428
const char *gpg_strsource (gpg_error_t err);
15436
gpg_err_code_t gpg_err_code_from_errno (int err);
15441
int gpg_err_code_to_errno (gpg_err_code_t code);
15447
gpg_err_code_t gpg_err_code_from_syserror (void);
15452
void gpg_err_set_errno (int err);
15457
static __inline__ gpg_error_t
15458
gpg_err_make_from_errno (gpg_err_source_t source, int err)
15460
return gpg_err_make (source, gpg_err_code_from_errno (err));
15464
static __inline__ gpg_error_t
15465
gpg_error_from_errno (int err)
15467
return gpg_error (gpg_err_code_from_errno (err));
15470
static __inline__ gpg_error_t
15471
gpg_error_from_syserror (void)
15473
return gpg_error (gpg_err_code_from_syserror ());
15475
# 30 "/usr/include/gcrypt.h" 2 3 4
15476
# 42 "/usr/include/gcrypt.h" 3 4
15477
# 1 "/usr/include/sys/socket.h" 1 3 4
15478
# 26 "/usr/include/sys/socket.h" 3 4
15481
# 1 "/usr/include/sys/uio.h" 1 3 4
15482
# 26 "/usr/include/sys/uio.h" 3 4
15486
# 1 "/usr/include/bits/uio.h" 1 3 4
15487
# 44 "/usr/include/bits/uio.h" 3 4
15493
# 30 "/usr/include/sys/uio.h" 2 3 4
15494
# 40 "/usr/include/sys/uio.h" 3 4
15495
extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count)
15496
__attribute__ ((__warn_unused_result__));
15497
# 51 "/usr/include/sys/uio.h" 3 4
15498
extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count)
15499
__attribute__ ((__warn_unused_result__));
15500
# 66 "/usr/include/sys/uio.h" 3 4
15501
extern ssize_t preadv (int __fd, __const struct iovec *__iovec, int __count,
15502
__off_t __offset) __attribute__ ((__warn_unused_result__));
15503
# 78 "/usr/include/sys/uio.h" 3 4
15504
extern ssize_t pwritev (int __fd, __const struct iovec *__iovec, int __count,
15505
__off_t __offset) __attribute__ ((__warn_unused_result__));
15506
# 104 "/usr/include/sys/uio.h" 3 4
15507
extern ssize_t preadv64 (int __fd, __const struct iovec *__iovec, int __count,
15508
__off64_t __offset) __attribute__ ((__warn_unused_result__));
15509
# 116 "/usr/include/sys/uio.h" 3 4
15510
extern ssize_t pwritev64 (int __fd, __const struct iovec *__iovec, int __count,
15511
__off64_t __offset) __attribute__ ((__warn_unused_result__));
15516
# 29 "/usr/include/sys/socket.h" 2 3 4
15518
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
15519
# 31 "/usr/include/sys/socket.h" 2 3 4
15522
# 1 "/usr/include/bits/sigset.h" 1 3 4
15523
# 34 "/usr/include/sys/socket.h" 2 3 4
15530
# 1 "/usr/include/bits/socket.h" 1 3 4
15531
# 29 "/usr/include/bits/socket.h" 3 4
15532
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
15533
# 30 "/usr/include/bits/socket.h" 2 3 4
15534
# 40 "/usr/include/bits/socket.h" 3 4
15547
SOCK_SEQPACKET = 5,
15560
SOCK_CLOEXEC = 02000000,
15563
SOCK_NONBLOCK = 04000
15567
# 175 "/usr/include/bits/socket.h" 3 4
15568
# 1 "/usr/include/bits/sockaddr.h" 1 3 4
15569
# 29 "/usr/include/bits/sockaddr.h" 3 4
15570
typedef unsigned short int sa_family_t;
15571
# 176 "/usr/include/bits/socket.h" 2 3 4
15576
sa_family_t sa_family;
15579
# 191 "/usr/include/bits/socket.h" 3 4
15580
struct sockaddr_storage
15582
sa_family_t ss_family;
15583
unsigned long int __ss_align;
15584
char __ss_padding[(128 - (2 * sizeof (unsigned long int)))];
15595
MSG_DONTROUTE = 0x04,
15599
MSG_TRYHARD = MSG_DONTROUTE,
15608
MSG_DONTWAIT = 0x40,
15612
MSG_WAITALL = 0x100,
15618
MSG_CONFIRM = 0x800,
15622
MSG_ERRQUEUE = 0x2000,
15624
MSG_NOSIGNAL = 0x4000,
15628
MSG_WAITFORONE = 0x10000,
15631
MSG_CMSG_CLOEXEC = 0x40000000
15643
socklen_t msg_namelen;
15645
struct iovec *msg_iov;
15649
size_t msg_controllen;
15661
struct msghdr msg_hdr;
15662
unsigned int msg_len;
15677
__extension__ unsigned char __cmsg_data [];
15680
# 308 "/usr/include/bits/socket.h" 3 4
15681
extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
15682
struct cmsghdr *__cmsg) __attribute__ ((__nothrow__));
15687
extern __inline struct cmsghdr *
15688
__attribute__ ((__nothrow__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)
15690
if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr))
15694
__cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg
15695
+ (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)));
15696
if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control
15697
+ __mhdr->msg_controllen)
15698
|| ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))
15699
> ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen)))
15713
, SCM_CREDENTIALS = 0x02
15726
# 381 "/usr/include/bits/socket.h" 3 4
15727
# 1 "/usr/include/asm/socket.h" 1 3 4
15728
# 1 "/usr/include/asm-generic/socket.h" 1 3 4
15732
# 1 "/usr/include/asm/sockios.h" 1 3 4
15733
# 1 "/usr/include/asm-generic/sockios.h" 1 3 4
15734
# 1 "/usr/include/asm/sockios.h" 2 3 4
15735
# 5 "/usr/include/asm-generic/socket.h" 2 3 4
15736
# 1 "/usr/include/asm/socket.h" 2 3 4
15737
# 382 "/usr/include/bits/socket.h" 2 3 4
15738
# 415 "/usr/include/bits/socket.h" 3 4
15753
extern int recvmmsg (int __fd, struct mmsghdr *__vmessages,
15754
unsigned int __vlen, int __flags,
15755
__const struct timespec *__tmo);
15758
# 41 "/usr/include/sys/socket.h" 2 3 4
15765
unsigned short int sa_family;
15766
unsigned char sa_data[14];
15781
# 92 "/usr/include/sys/socket.h" 3 4
15782
typedef union { struct sockaddr *__restrict __sockaddr__; struct sockaddr_at *__restrict __sockaddr_at__; struct sockaddr_ax25 *__restrict __sockaddr_ax25__; struct sockaddr_dl *__restrict __sockaddr_dl__; struct sockaddr_eon *__restrict __sockaddr_eon__; struct sockaddr_in *__restrict __sockaddr_in__; struct sockaddr_in6 *__restrict __sockaddr_in6__; struct sockaddr_inarp *__restrict __sockaddr_inarp__; struct sockaddr_ipx *__restrict __sockaddr_ipx__; struct sockaddr_iso *__restrict __sockaddr_iso__; struct sockaddr_ns *__restrict __sockaddr_ns__; struct sockaddr_un *__restrict __sockaddr_un__; struct sockaddr_x25 *__restrict __sockaddr_x25__;
15783
} __SOCKADDR_ARG __attribute__ ((__transparent_union__));
15786
typedef union { __const struct sockaddr *__restrict __sockaddr__; __const struct sockaddr_at *__restrict __sockaddr_at__; __const struct sockaddr_ax25 *__restrict __sockaddr_ax25__; __const struct sockaddr_dl *__restrict __sockaddr_dl__; __const struct sockaddr_eon *__restrict __sockaddr_eon__; __const struct sockaddr_in *__restrict __sockaddr_in__; __const struct sockaddr_in6 *__restrict __sockaddr_in6__; __const struct sockaddr_inarp *__restrict __sockaddr_inarp__; __const struct sockaddr_ipx *__restrict __sockaddr_ipx__; __const struct sockaddr_iso *__restrict __sockaddr_iso__; __const struct sockaddr_ns *__restrict __sockaddr_ns__; __const struct sockaddr_un *__restrict __sockaddr_un__; __const struct sockaddr_x25 *__restrict __sockaddr_x25__;
15787
} __CONST_SOCKADDR_ARG __attribute__ ((__transparent_union__));
15795
extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__));
15801
extern int socketpair (int __domain, int __type, int __protocol,
15802
int __fds[2]) __attribute__ ((__nothrow__));
15805
extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len)
15806
__attribute__ ((__nothrow__));
15809
extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
15810
socklen_t *__restrict __len) __attribute__ ((__nothrow__));
15811
# 129 "/usr/include/sys/socket.h" 3 4
15812
extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len);
15816
extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
15817
socklen_t *__restrict __len) __attribute__ ((__nothrow__));
15824
extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags);
15831
extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
15838
extern ssize_t sendto (int __fd, __const void *__buf, size_t __n,
15839
int __flags, __CONST_SOCKADDR_ARG __addr,
15840
socklen_t __addr_len);
15841
# 166 "/usr/include/sys/socket.h" 3 4
15842
extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
15843
int __flags, __SOCKADDR_ARG __addr,
15844
socklen_t *__restrict __addr_len);
15852
extern ssize_t sendmsg (int __fd, __const struct msghdr *__message,
15860
extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags);
15866
extern int getsockopt (int __fd, int __level, int __optname,
15867
void *__restrict __optval,
15868
socklen_t *__restrict __optlen) __attribute__ ((__nothrow__));
15873
extern int setsockopt (int __fd, int __level, int __optname,
15874
__const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__));
15880
extern int listen (int __fd, int __n) __attribute__ ((__nothrow__));
15881
# 214 "/usr/include/sys/socket.h" 3 4
15882
extern int accept (int __fd, __SOCKADDR_ARG __addr,
15883
socklen_t *__restrict __addr_len);
15890
extern int accept4 (int __fd, __SOCKADDR_ARG __addr,
15891
socklen_t *__restrict __addr_len, int __flags);
15892
# 232 "/usr/include/sys/socket.h" 3 4
15893
extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__));
15898
extern int sockatmark (int __fd) __attribute__ ((__nothrow__));
15906
extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__));
15912
# 1 "/usr/include/bits/socket2.h" 1 3 4
15913
# 24 "/usr/include/bits/socket2.h" 3 4
15914
extern ssize_t __recv_chk (int __fd, void *__buf, size_t __n, size_t __buflen,
15916
extern ssize_t __recv_alias (int __fd, void *__buf, size_t __n, int __flags) __asm__ ("" "recv")
15918
extern ssize_t __recv_chk_warn (int __fd, void *__buf, size_t __n, size_t __buflen, int __flags) __asm__ ("" "__recv_chk")
15921
__attribute__((__warning__ ("recv called with bigger length than size of destination " "buffer")))
15924
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) ssize_t
15925
recv (int __fd, void *__buf, size_t __n, int __flags)
15927
if (__builtin_object_size (__buf, 0) != (size_t) -1)
15929
if (!__builtin_constant_p (__n))
15930
return __recv_chk (__fd, __buf, __n, __builtin_object_size (__buf, 0), __flags);
15932
if (__n > __builtin_object_size (__buf, 0))
15933
return __recv_chk_warn (__fd, __buf, __n, __builtin_object_size (__buf, 0), __flags);
15935
return __recv_alias (__fd, __buf, __n, __flags);
15938
extern ssize_t __recvfrom_chk (int __fd, void *__restrict __buf, size_t __n,
15939
size_t __buflen, int __flags,
15940
__SOCKADDR_ARG __addr,
15941
socklen_t *__restrict __addr_len);
15942
extern ssize_t __recvfrom_alias (int __fd, void *__restrict __buf, size_t __n, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) __asm__ ("" "recvfrom")
15946
extern ssize_t __recvfrom_chk_warn (int __fd, void *__restrict __buf, size_t __n, size_t __buflen, int __flags, __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) __asm__ ("" "__recvfrom_chk")
15951
__attribute__((__warning__ ("recvfrom called with bigger length than size of " "destination buffer")))
15954
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) ssize_t
15955
recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags,
15956
__SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len)
15958
if (__builtin_object_size (__buf, 0) != (size_t) -1)
15960
if (!__builtin_constant_p (__n))
15961
return __recvfrom_chk (__fd, __buf, __n, __builtin_object_size (__buf, 0), __flags,
15962
__addr, __addr_len);
15963
if (__n > __builtin_object_size (__buf, 0))
15964
return __recvfrom_chk_warn (__fd, __buf, __n, __builtin_object_size (__buf, 0), __flags,
15965
__addr, __addr_len);
15967
return __recvfrom_alias (__fd, __buf, __n, __flags, __addr, __addr_len);
15969
# 252 "/usr/include/sys/socket.h" 2 3 4
15973
# 43 "/usr/include/gcrypt.h" 2 3 4
15974
# 1 "/usr/include/sys/time.h" 1 3 4
15975
# 29 "/usr/include/sys/time.h" 3 4
15976
# 1 "/usr/include/bits/time.h" 1 3 4
15977
# 30 "/usr/include/sys/time.h" 2 3 4
15978
# 39 "/usr/include/sys/time.h" 3 4
15980
# 57 "/usr/include/sys/time.h" 3 4
15983
int tz_minuteswest;
15987
typedef struct timezone *__restrict __timezone_ptr_t;
15988
# 73 "/usr/include/sys/time.h" 3 4
15989
extern int gettimeofday (struct timeval *__restrict __tv,
15990
__timezone_ptr_t __tz) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
15995
extern int settimeofday (__const struct timeval *__tv,
15996
__const struct timezone *__tz)
15997
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
16003
extern int adjtime (__const struct timeval *__delta,
16004
struct timeval *__olddelta) __attribute__ ((__nothrow__));
16009
enum __itimer_which
16015
ITIMER_VIRTUAL = 1,
16028
struct timeval it_interval;
16030
struct timeval it_value;
16036
typedef enum __itimer_which __itimer_which_t;
16043
extern int getitimer (__itimer_which_t __which,
16044
struct itimerval *__value) __attribute__ ((__nothrow__));
16049
extern int setitimer (__itimer_which_t __which,
16050
__const struct itimerval *__restrict __new,
16051
struct itimerval *__restrict __old) __attribute__ ((__nothrow__));
16056
extern int utimes (__const char *__file, __const struct timeval __tvp[2])
16057
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
16061
extern int lutimes (__const char *__file, __const struct timeval __tvp[2])
16062
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
16065
extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__));
16072
extern int futimesat (int __fd, __const char *__file,
16073
__const struct timeval __tvp[2]) __attribute__ ((__nothrow__));
16074
# 191 "/usr/include/sys/time.h" 3 4
16076
# 44 "/usr/include/gcrypt.h" 2 3 4
16079
typedef socklen_t gcry_socklen_t;
16080
# 118 "/usr/include/gcrypt.h" 3 4
16081
typedef gpg_error_t gcry_error_t;
16082
typedef gpg_err_code_t gcry_err_code_t;
16083
typedef gpg_err_source_t gcry_err_source_t;
16085
static __inline__ gcry_error_t
16086
gcry_err_make (gcry_err_source_t source, gcry_err_code_t code)
16088
return gpg_err_make (source, code);
16097
static __inline__ gcry_error_t
16098
gcry_error (gcry_err_code_t code)
16100
return gcry_err_make (GPG_ERR_SOURCE_USER_1, code);
16103
static __inline__ gcry_err_code_t
16104
gcry_err_code (gcry_error_t err)
16106
return gpg_err_code (err);
16110
static __inline__ gcry_err_source_t
16111
gcry_err_source (gcry_error_t err)
16113
return gpg_err_source (err);
16118
const char *gcry_strerror (gcry_error_t err);
16122
const char *gcry_strsource (gcry_error_t err);
16127
gcry_err_code_t gcry_err_code_from_errno (int err);
16131
int gcry_err_code_to_errno (gcry_err_code_t code);
16135
gcry_error_t gcry_err_make_from_errno (gcry_err_source_t source, int err);
16138
gcry_err_code_t gcry_error_from_errno (int err);
16143
enum gcry_thread_option
16145
_GCRY_THREAD_OPTION_DUMMY
16146
} __attribute__ ((__deprecated__));
16147
# 198 "/usr/include/gcrypt.h" 3 4
16148
struct gcry_thread_cbs
16155
unsigned int option;
16157
int (*init) (void);
16158
int (*mutex_init) (void **priv);
16159
int (*mutex_destroy) (void **priv);
16160
int (*mutex_lock) (void **priv);
16161
int (*mutex_unlock) (void **priv);
16162
ssize_t (*read) (int fd, void *buf, size_t nbytes);
16163
ssize_t (*write) (int fd, const void *buf, size_t nbytes);
16164
# 223 "/usr/include/gcrypt.h" 3 4
16165
ssize_t (*select) (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
16166
struct timeval *timeout);
16167
ssize_t (*waitpid) (pid_t pid, int *status, int options);
16168
int (*accept) (int s, struct sockaddr *addr, gcry_socklen_t *length_ptr);
16169
int (*connect) (int s, struct sockaddr *addr, gcry_socklen_t length);
16170
int (*sendmsg) (int s, const struct msghdr *msg, int flags);
16171
int (*recvmsg) (int s, struct msghdr *msg, int flags);
16174
# 344 "/usr/include/gcrypt.h" 3 4
16176
typedef struct gcry_mpi *gcry_mpi_t;
16179
typedef struct gcry_mpi *GCRY_MPI __attribute__ ((__deprecated__));
16180
typedef struct gcry_mpi *GcryMPI __attribute__ ((__deprecated__));
16186
const char *gcry_check_version (const char *req_version);
16193
GCRYCTL_SET_KEY = 1,
16194
GCRYCTL_SET_IV = 2,
16195
GCRYCTL_CFB_SYNC = 3,
16197
GCRYCTL_FINALIZE = 5,
16198
GCRYCTL_GET_KEYLEN = 6,
16199
GCRYCTL_GET_BLKLEN = 7,
16200
GCRYCTL_TEST_ALGO = 8,
16201
GCRYCTL_IS_SECURE = 9,
16202
GCRYCTL_GET_ASNOID = 10,
16203
GCRYCTL_ENABLE_ALGO = 11,
16204
GCRYCTL_DISABLE_ALGO = 12,
16205
GCRYCTL_DUMP_RANDOM_STATS = 13,
16206
GCRYCTL_DUMP_SECMEM_STATS = 14,
16207
GCRYCTL_GET_ALGO_NPKEY = 15,
16208
GCRYCTL_GET_ALGO_NSKEY = 16,
16209
GCRYCTL_GET_ALGO_NSIGN = 17,
16210
GCRYCTL_GET_ALGO_NENCR = 18,
16211
GCRYCTL_SET_VERBOSITY = 19,
16212
GCRYCTL_SET_DEBUG_FLAGS = 20,
16213
GCRYCTL_CLEAR_DEBUG_FLAGS = 21,
16214
GCRYCTL_USE_SECURE_RNDPOOL= 22,
16215
GCRYCTL_DUMP_MEMORY_STATS = 23,
16216
GCRYCTL_INIT_SECMEM = 24,
16217
GCRYCTL_TERM_SECMEM = 25,
16218
GCRYCTL_DISABLE_SECMEM_WARN = 27,
16219
GCRYCTL_SUSPEND_SECMEM_WARN = 28,
16220
GCRYCTL_RESUME_SECMEM_WARN = 29,
16221
GCRYCTL_DROP_PRIVS = 30,
16222
GCRYCTL_ENABLE_M_GUARD = 31,
16223
GCRYCTL_START_DUMP = 32,
16224
GCRYCTL_STOP_DUMP = 33,
16225
GCRYCTL_GET_ALGO_USAGE = 34,
16226
GCRYCTL_IS_ALGO_ENABLED = 35,
16227
GCRYCTL_DISABLE_INTERNAL_LOCKING = 36,
16228
GCRYCTL_DISABLE_SECMEM = 37,
16229
GCRYCTL_INITIALIZATION_FINISHED = 38,
16230
GCRYCTL_INITIALIZATION_FINISHED_P = 39,
16231
GCRYCTL_ANY_INITIALIZATION_P = 40,
16232
GCRYCTL_SET_CBC_CTS = 41,
16233
GCRYCTL_SET_CBC_MAC = 42,
16234
GCRYCTL_SET_CTR = 43,
16235
GCRYCTL_ENABLE_QUICK_RANDOM = 44,
16236
GCRYCTL_SET_RANDOM_SEED_FILE = 45,
16237
GCRYCTL_UPDATE_RANDOM_SEED_FILE = 46,
16238
GCRYCTL_SET_THREAD_CBS = 47,
16239
GCRYCTL_FAST_POLL = 48,
16240
GCRYCTL_SET_RANDOM_DAEMON_SOCKET = 49,
16241
GCRYCTL_USE_RANDOM_DAEMON = 50,
16242
GCRYCTL_FAKED_RANDOM_P = 51,
16243
GCRYCTL_SET_RNDEGD_SOCKET = 52,
16244
GCRYCTL_PRINT_CONFIG = 53,
16245
GCRYCTL_OPERATIONAL_P = 54,
16246
GCRYCTL_FIPS_MODE_P = 55,
16247
GCRYCTL_FORCE_FIPS_MODE = 56,
16248
GCRYCTL_SELFTEST = 57
16253
gcry_error_t gcry_control (enum gcry_ctl_cmds CMD, ...);
16261
typedef struct gcry_sexp *gcry_sexp_t;
16264
typedef struct gcry_sexp *GCRY_SEXP __attribute__ ((__deprecated__));
16265
typedef struct gcry_sexp *GcrySexp __attribute__ ((__deprecated__));
16269
enum gcry_sexp_format
16271
GCRYSEXP_FMT_DEFAULT = 0,
16272
GCRYSEXP_FMT_CANON = 1,
16273
GCRYSEXP_FMT_BASE64 = 2,
16274
GCRYSEXP_FMT_ADVANCED = 3
16280
gcry_error_t gcry_sexp_new (gcry_sexp_t *retsexp,
16281
const void *buffer, size_t length,
16286
gcry_error_t gcry_sexp_create (gcry_sexp_t *retsexp,
16287
void *buffer, size_t length,
16288
int autodetect, void (*freefnc) (void *));
16292
gcry_error_t gcry_sexp_sscan (gcry_sexp_t *retsexp, size_t *erroff,
16293
const char *buffer, size_t length);
16297
gcry_error_t gcry_sexp_build (gcry_sexp_t *retsexp, size_t *erroff,
16298
const char *format, ...);
16302
gcry_error_t gcry_sexp_build_array (gcry_sexp_t *retsexp, size_t *erroff,
16303
const char *format, void **arg_list);
16306
void gcry_sexp_release (gcry_sexp_t sexp);
16310
size_t gcry_sexp_canon_len (const unsigned char *buffer, size_t length,
16311
size_t *erroff, gcry_error_t *errcode);
16315
size_t gcry_sexp_sprint (gcry_sexp_t sexp, int mode, void *buffer,
16320
void gcry_sexp_dump (const gcry_sexp_t a);
16322
gcry_sexp_t gcry_sexp_cons (const gcry_sexp_t a, const gcry_sexp_t b);
16323
gcry_sexp_t gcry_sexp_alist (const gcry_sexp_t *array);
16324
gcry_sexp_t gcry_sexp_vlist (const gcry_sexp_t a, ...);
16325
gcry_sexp_t gcry_sexp_append (const gcry_sexp_t a, const gcry_sexp_t n);
16326
gcry_sexp_t gcry_sexp_prepend (const gcry_sexp_t a, const gcry_sexp_t n);
16333
gcry_sexp_t gcry_sexp_find_token (gcry_sexp_t list,
16334
const char *tok, size_t toklen);
16337
int gcry_sexp_length (const gcry_sexp_t list);
16342
gcry_sexp_t gcry_sexp_nth (const gcry_sexp_t list, int number);
16347
gcry_sexp_t gcry_sexp_car (const gcry_sexp_t list);
16354
gcry_sexp_t gcry_sexp_cdr (const gcry_sexp_t list);
16356
gcry_sexp_t gcry_sexp_cadr (const gcry_sexp_t list);
16357
# 534 "/usr/include/gcrypt.h" 3 4
16358
const char *gcry_sexp_nth_data (const gcry_sexp_t list, int number,
16366
char *gcry_sexp_nth_string (gcry_sexp_t list, int number);
16374
gcry_mpi_t gcry_sexp_nth_mpi (gcry_sexp_t list, int number, int mpifmt);
16375
# 561 "/usr/include/gcrypt.h" 3 4
16376
enum gcry_mpi_format
16378
GCRYMPI_FMT_NONE= 0,
16379
GCRYMPI_FMT_STD = 1,
16380
GCRYMPI_FMT_PGP = 2,
16381
GCRYMPI_FMT_SSH = 3,
16382
GCRYMPI_FMT_HEX = 4,
16383
GCRYMPI_FMT_USG = 5
16389
GCRYMPI_FLAG_SECURE = 1,
16390
GCRYMPI_FLAG_OPAQUE = 2
16398
gcry_mpi_t gcry_mpi_new (unsigned int nbits);
16401
gcry_mpi_t gcry_mpi_snew (unsigned int nbits);
16404
void gcry_mpi_release (gcry_mpi_t a);
16407
gcry_mpi_t gcry_mpi_copy (const gcry_mpi_t a);
16410
gcry_mpi_t gcry_mpi_set (gcry_mpi_t w, const gcry_mpi_t u);
16413
gcry_mpi_t gcry_mpi_set_ui (gcry_mpi_t w, unsigned long u);
16416
void gcry_mpi_swap (gcry_mpi_t a, gcry_mpi_t b);
16420
int gcry_mpi_cmp (const gcry_mpi_t u, const gcry_mpi_t v);
16425
int gcry_mpi_cmp_ui (const gcry_mpi_t u, unsigned long v);
16431
gcry_error_t gcry_mpi_scan (gcry_mpi_t *ret_mpi, enum gcry_mpi_format format,
16432
const void *buffer, size_t buflen,
16440
gcry_error_t gcry_mpi_print (enum gcry_mpi_format format,
16441
unsigned char *buffer, size_t buflen,
16443
const gcry_mpi_t a);
16449
gcry_error_t gcry_mpi_aprint (enum gcry_mpi_format format,
16450
unsigned char **buffer, size_t *nwritten,
16451
const gcry_mpi_t a);
16457
void gcry_mpi_dump (const gcry_mpi_t a);
16461
void gcry_mpi_add (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v);
16464
void gcry_mpi_add_ui (gcry_mpi_t w, gcry_mpi_t u, unsigned long v);
16467
void gcry_mpi_addm (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v, gcry_mpi_t m);
16470
void gcry_mpi_sub (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v);
16473
void gcry_mpi_sub_ui (gcry_mpi_t w, gcry_mpi_t u, unsigned long v );
16476
void gcry_mpi_subm (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v, gcry_mpi_t m);
16479
void gcry_mpi_mul (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v);
16482
void gcry_mpi_mul_ui (gcry_mpi_t w, gcry_mpi_t u, unsigned long v );
16485
void gcry_mpi_mulm (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v, gcry_mpi_t m);
16488
void gcry_mpi_mul_2exp (gcry_mpi_t w, gcry_mpi_t u, unsigned long cnt);
16492
void gcry_mpi_div (gcry_mpi_t q, gcry_mpi_t r,
16493
gcry_mpi_t dividend, gcry_mpi_t divisor, int round);
16496
void gcry_mpi_mod (gcry_mpi_t r, gcry_mpi_t dividend, gcry_mpi_t divisor);
16499
void gcry_mpi_powm (gcry_mpi_t w,
16500
const gcry_mpi_t b, const gcry_mpi_t e,
16501
const gcry_mpi_t m);
16505
int gcry_mpi_gcd (gcry_mpi_t g, gcry_mpi_t a, gcry_mpi_t b);
16509
int gcry_mpi_invm (gcry_mpi_t x, gcry_mpi_t a, gcry_mpi_t m);
16513
unsigned int gcry_mpi_get_nbits (gcry_mpi_t a);
16516
int gcry_mpi_test_bit (gcry_mpi_t a, unsigned int n);
16519
void gcry_mpi_set_bit (gcry_mpi_t a, unsigned int n);
16522
void gcry_mpi_clear_bit (gcry_mpi_t a, unsigned int n);
16525
void gcry_mpi_set_highbit (gcry_mpi_t a, unsigned int n);
16528
void gcry_mpi_clear_highbit (gcry_mpi_t a, unsigned int n);
16531
void gcry_mpi_rshift (gcry_mpi_t x, gcry_mpi_t a, unsigned int n);
16534
void gcry_mpi_lshift (gcry_mpi_t x, gcry_mpi_t a, unsigned int n);
16539
gcry_mpi_t gcry_mpi_set_opaque (gcry_mpi_t a, void *p, unsigned int nbits);
16544
void *gcry_mpi_get_opaque (gcry_mpi_t a, unsigned int *nbits);
16549
void gcry_mpi_set_flag (gcry_mpi_t a, enum gcry_mpi_flag flag);
16553
void gcry_mpi_clear_flag (gcry_mpi_t a, enum gcry_mpi_flag flag);
16556
int gcry_mpi_get_flag (gcry_mpi_t a, enum gcry_mpi_flag flag);
16557
# 801 "/usr/include/gcrypt.h" 3 4
16558
struct gcry_cipher_handle;
16559
typedef struct gcry_cipher_handle *gcry_cipher_hd_t;
16562
typedef struct gcry_cipher_handle *GCRY_CIPHER_HD __attribute__ ((__deprecated__));
16563
typedef struct gcry_cipher_handle *GcryCipherHd __attribute__ ((__deprecated__));
16568
enum gcry_cipher_algos
16570
GCRY_CIPHER_NONE = 0,
16571
GCRY_CIPHER_IDEA = 1,
16572
GCRY_CIPHER_3DES = 2,
16573
GCRY_CIPHER_CAST5 = 3,
16574
GCRY_CIPHER_BLOWFISH = 4,
16575
GCRY_CIPHER_SAFER_SK128 = 5,
16576
GCRY_CIPHER_DES_SK = 6,
16577
GCRY_CIPHER_AES = 7,
16578
GCRY_CIPHER_AES192 = 8,
16579
GCRY_CIPHER_AES256 = 9,
16580
GCRY_CIPHER_TWOFISH = 10,
16583
GCRY_CIPHER_ARCFOUR = 301,
16584
GCRY_CIPHER_DES = 302,
16585
GCRY_CIPHER_TWOFISH128 = 303,
16586
GCRY_CIPHER_SERPENT128 = 304,
16587
GCRY_CIPHER_SERPENT192 = 305,
16588
GCRY_CIPHER_SERPENT256 = 306,
16589
GCRY_CIPHER_RFC2268_40 = 307,
16590
GCRY_CIPHER_RFC2268_128 = 308,
16591
GCRY_CIPHER_SEED = 309,
16592
GCRY_CIPHER_CAMELLIA128 = 310,
16593
GCRY_CIPHER_CAMELLIA192 = 311,
16594
GCRY_CIPHER_CAMELLIA256 = 312
16596
# 849 "/usr/include/gcrypt.h" 3 4
16597
enum gcry_cipher_modes
16599
GCRY_CIPHER_MODE_NONE = 0,
16600
GCRY_CIPHER_MODE_ECB = 1,
16601
GCRY_CIPHER_MODE_CFB = 2,
16602
GCRY_CIPHER_MODE_CBC = 3,
16603
GCRY_CIPHER_MODE_STREAM = 4,
16604
GCRY_CIPHER_MODE_OFB = 5,
16605
GCRY_CIPHER_MODE_CTR = 6,
16606
GCRY_CIPHER_MODE_AESWRAP= 7
16610
enum gcry_cipher_flags
16612
GCRY_CIPHER_SECURE = 1,
16613
GCRY_CIPHER_ENABLE_SYNC = 2,
16614
GCRY_CIPHER_CBC_CTS = 4,
16615
GCRY_CIPHER_CBC_MAC = 8
16621
gcry_error_t gcry_cipher_open (gcry_cipher_hd_t *handle,
16622
int algo, int mode, unsigned int flags);
16625
void gcry_cipher_close (gcry_cipher_hd_t h);
16628
gcry_error_t gcry_cipher_ctl (gcry_cipher_hd_t h, int cmd, void *buffer,
16632
gcry_error_t gcry_cipher_info (gcry_cipher_hd_t h, int what, void *buffer,
16636
gcry_error_t gcry_cipher_algo_info (int algo, int what, void *buffer,
16642
const char *gcry_cipher_algo_name (int algorithm) __attribute__ ((__pure__));
16646
int gcry_cipher_map_name (const char *name) __attribute__ ((__pure__));
16651
int gcry_cipher_mode_from_oid (const char *string) __attribute__ ((__pure__));
16657
gcry_error_t gcry_cipher_encrypt (gcry_cipher_hd_t h,
16658
void *out, size_t outsize,
16659
const void *in, size_t inlen);
16662
gcry_error_t gcry_cipher_decrypt (gcry_cipher_hd_t h,
16663
void *out, size_t outsize,
16664
const void *in, size_t inlen);
16667
gcry_error_t gcry_cipher_setkey (gcry_cipher_hd_t hd,
16668
const void *key, size_t keylen);
16672
gcry_error_t gcry_cipher_setiv (gcry_cipher_hd_t hd,
16673
const void *iv, size_t ivlen);
16674
# 941 "/usr/include/gcrypt.h" 3 4
16675
gpg_error_t gcry_cipher_setctr (gcry_cipher_hd_t hd,
16676
const void *ctr, size_t ctrlen);
16679
size_t gcry_cipher_get_algo_keylen (int algo);
16682
size_t gcry_cipher_get_algo_blklen (int algo);
16683
# 960 "/usr/include/gcrypt.h" 3 4
16684
gcry_error_t gcry_cipher_list (int *list, int *list_length);
16685
# 970 "/usr/include/gcrypt.h" 3 4
16691
GCRY_PK_ELG_E = 16,
16694
GCRY_PK_ECDSA = 301
16696
# 990 "/usr/include/gcrypt.h" 3 4
16697
gcry_error_t gcry_pk_encrypt (gcry_sexp_t *result,
16698
gcry_sexp_t data, gcry_sexp_t pkey);
16702
gcry_error_t gcry_pk_decrypt (gcry_sexp_t *result,
16703
gcry_sexp_t data, gcry_sexp_t skey);
16707
gcry_error_t gcry_pk_sign (gcry_sexp_t *result,
16708
gcry_sexp_t data, gcry_sexp_t skey);
16711
gcry_error_t gcry_pk_verify (gcry_sexp_t sigval,
16712
gcry_sexp_t data, gcry_sexp_t pkey);
16715
gcry_error_t gcry_pk_testkey (gcry_sexp_t key);
16720
gcry_error_t gcry_pk_genkey (gcry_sexp_t *r_key, gcry_sexp_t s_parms);
16723
gcry_error_t gcry_pk_ctl (int cmd, void *buffer, size_t buflen);
16726
gcry_error_t gcry_pk_algo_info (int algo, int what,
16727
void *buffer, size_t *nbytes);
16732
const char *gcry_pk_algo_name (int algorithm) __attribute__ ((__pure__));
16736
int gcry_pk_map_name (const char* name) __attribute__ ((__pure__));
16740
unsigned int gcry_pk_get_nbits (gcry_sexp_t key) __attribute__ ((__pure__));
16744
unsigned char *gcry_pk_get_keygrip (gcry_sexp_t key, unsigned char *array);
16745
# 1049 "/usr/include/gcrypt.h" 3 4
16746
gcry_error_t gcry_pk_list (int *list, int *list_length);
16747
# 1061 "/usr/include/gcrypt.h" 3 4
16753
GCRY_MD_RMD160 = 3,
16757
GCRY_MD_SHA256 = 8,
16758
GCRY_MD_SHA384 = 9,
16759
GCRY_MD_SHA512 = 10,
16760
GCRY_MD_SHA224 = 11,
16762
GCRY_MD_CRC32 = 302,
16763
GCRY_MD_CRC32_RFC1510 = 303,
16764
GCRY_MD_CRC24_RFC2440 = 304,
16765
GCRY_MD_WHIRLPOOL = 305,
16766
GCRY_MD_TIGER1 = 306,
16767
GCRY_MD_TIGER2 = 307
16773
GCRY_MD_FLAG_SECURE = 1,
16774
GCRY_MD_FLAG_HMAC = 2
16778
struct gcry_md_context;
16783
typedef struct gcry_md_handle
16786
struct gcry_md_context *ctx;
16791
unsigned char buf[1];
16796
typedef struct gcry_md_handle *GCRY_MD_HD __attribute__ ((__deprecated__));
16797
typedef struct gcry_md_handle *GcryMDHd __attribute__ ((__deprecated__));
16804
gcry_error_t gcry_md_open (gcry_md_hd_t *h, int algo, unsigned int flags);
16807
void gcry_md_close (gcry_md_hd_t hd);
16810
gcry_error_t gcry_md_enable (gcry_md_hd_t hd, int algo);
16813
gcry_error_t gcry_md_copy (gcry_md_hd_t *bhd, gcry_md_hd_t ahd);
16816
void gcry_md_reset (gcry_md_hd_t hd);
16819
gcry_error_t gcry_md_ctl (gcry_md_hd_t hd, int cmd,
16820
void *buffer, size_t buflen);
16825
void gcry_md_write (gcry_md_hd_t hd, const void *buffer, size_t length);
16829
unsigned char *gcry_md_read (gcry_md_hd_t hd, int algo);
16836
void gcry_md_hash_buffer (int algo, void *digest,
16837
const void *buffer, size_t length);
16841
int gcry_md_get_algo (gcry_md_hd_t hd);
16845
unsigned int gcry_md_get_algo_dlen (int algo);
16849
int gcry_md_is_enabled (gcry_md_hd_t a, int algo);
16852
int gcry_md_is_secure (gcry_md_hd_t a);
16855
gcry_error_t gcry_md_info (gcry_md_hd_t h, int what, void *buffer,
16859
gcry_error_t gcry_md_algo_info (int algo, int what, void *buffer,
16865
const char *gcry_md_algo_name (int algo) __attribute__ ((__pure__));
16869
int gcry_md_map_name (const char* name) __attribute__ ((__pure__));
16873
gcry_error_t gcry_md_setkey (gcry_md_hd_t hd, const void *key, size_t keylen);
16878
void gcry_md_debug (gcry_md_hd_t hd, const char *suffix);
16879
# 1240 "/usr/include/gcrypt.h" 3 4
16880
gcry_error_t gcry_md_list (int *list, int *list_length);
16888
typedef enum gcry_ac_id
16898
typedef enum gcry_ac_key_type
16900
GCRY_AC_KEY_SECRET,
16903
gcry_ac_key_type_t;
16906
typedef enum gcry_ac_em
16908
GCRY_AC_EME_PKCS_V1_5,
16909
GCRY_AC_EMSA_PKCS_V1_5
16914
typedef enum gcry_ac_scheme
16916
GCRY_AC_ES_PKCS_V1_5,
16917
GCRY_AC_SSA_PKCS_V1_5
16927
typedef struct gcry_ac_data *gcry_ac_data_t;
16931
typedef struct gcry_ac_key *gcry_ac_key_t;
16935
typedef struct gcry_ac_key_pair *gcry_ac_key_pair_t;
16939
typedef struct gcry_ac_handle *gcry_ac_handle_t;
16941
typedef gpg_error_t (*gcry_ac_data_read_cb_t) (void *opaque,
16942
unsigned char *buffer,
16945
typedef gpg_error_t (*gcry_ac_data_write_cb_t) (void *opaque,
16946
unsigned char *buffer,
16951
GCRY_AC_IO_READABLE,
16952
GCRY_AC_IO_WRITABLE
16959
GCRY_AC_IO_CALLBACK
16963
typedef struct gcry_ac_io
16966
gcry_ac_io_mode_t mode __attribute__ ((__deprecated__));
16967
gcry_ac_io_type_t type __attribute__ ((__deprecated__));
16974
gcry_ac_data_read_cb_t cb;
16979
unsigned char *data;
16988
gcry_ac_data_write_cb_t cb;
16993
unsigned char **data;
16998
} io __attribute__ ((__deprecated__));
17005
typedef struct gcry_ac_key_spec_rsa
17008
} gcry_ac_key_spec_rsa_t;
17012
typedef struct gcry_ac_eme_pkcs_v1_5
17015
} gcry_ac_eme_pkcs_v1_5_t;
17017
typedef enum gcry_md_algos gcry_md_algo_t;
17021
typedef struct gcry_ac_emsa_pkcs_v1_5
17025
} gcry_ac_emsa_pkcs_v1_5_t;
17029
typedef struct gcry_ac_ssa_pkcs_v1_5
17032
} gcry_ac_ssa_pkcs_v1_5_t;
17035
gcry_error_t gcry_ac_data_new (gcry_ac_data_t *data);
17038
void gcry_ac_data_destroy (gcry_ac_data_t data);
17041
gcry_error_t gcry_ac_data_copy (gcry_ac_data_t *data_cp,
17042
gcry_ac_data_t data);
17046
unsigned int gcry_ac_data_length (gcry_ac_data_t data);
17049
void gcry_ac_data_clear (gcry_ac_data_t data);
17056
gcry_error_t gcry_ac_data_set (gcry_ac_data_t data, unsigned int flags,
17057
const char *name, gcry_mpi_t mpi);
17062
gcry_error_t gcry_ac_data_get_name (gcry_ac_data_t data, unsigned int flags,
17063
const char *name, gcry_mpi_t *mpi);
17069
gcry_error_t gcry_ac_data_get_index (gcry_ac_data_t data, unsigned int flags,
17071
const char **name, gcry_mpi_t *mpi);
17076
gcry_error_t gcry_ac_data_to_sexp (gcry_ac_data_t data, gcry_sexp_t *sexp,
17077
const char **identifiers);
17082
gcry_error_t gcry_ac_data_from_sexp (gcry_ac_data_t *data, gcry_sexp_t sexp,
17083
const char **identifiers);
17088
void gcry_ac_io_init (gcry_ac_io_t *ac_io, gcry_ac_io_mode_t mode,
17089
gcry_ac_io_type_t type, ...);
17094
void gcry_ac_io_init_va (gcry_ac_io_t *ac_io, gcry_ac_io_mode_t mode,
17095
gcry_ac_io_type_t type, va_list ap);
17098
gcry_error_t gcry_ac_open (gcry_ac_handle_t *handle,
17099
gcry_ac_id_t algorithm, unsigned int flags);
17102
void gcry_ac_close (gcry_ac_handle_t handle);
17105
gcry_error_t gcry_ac_key_init (gcry_ac_key_t *key, gcry_ac_handle_t handle,
17106
gcry_ac_key_type_t type, gcry_ac_data_t data);
17113
gcry_error_t gcry_ac_key_pair_generate (gcry_ac_handle_t handle,
17114
unsigned int nbits, void *spec,
17115
gcry_ac_key_pair_t *key_pair,
17116
gcry_mpi_t **misc_data);
17119
gcry_ac_key_t gcry_ac_key_pair_extract (gcry_ac_key_pair_t key_pair,
17120
gcry_ac_key_type_t which);
17123
gcry_ac_data_t gcry_ac_key_data_get (gcry_ac_key_t key);
17126
gcry_error_t gcry_ac_key_test (gcry_ac_handle_t handle, gcry_ac_key_t key);
17129
gcry_error_t gcry_ac_key_get_nbits (gcry_ac_handle_t handle,
17130
gcry_ac_key_t key, unsigned int *nbits);
17134
gcry_error_t gcry_ac_key_get_grip (gcry_ac_handle_t handle, gcry_ac_key_t key,
17135
unsigned char *key_grip);
17138
void gcry_ac_key_destroy (gcry_ac_key_t key);
17141
void gcry_ac_key_pair_destroy (gcry_ac_key_pair_t key_pair);
17146
gcry_error_t gcry_ac_data_encode (gcry_ac_em_t method,
17147
unsigned int flags, void *options,
17148
gcry_ac_io_t *io_read,
17149
gcry_ac_io_t *io_write);
17154
gcry_error_t gcry_ac_data_decode (gcry_ac_em_t method,
17155
unsigned int flags, void *options,
17156
gcry_ac_io_t *io_read,
17157
gcry_ac_io_t *io_write);
17162
gcry_error_t gcry_ac_data_encrypt (gcry_ac_handle_t handle,
17163
unsigned int flags,
17165
gcry_mpi_t data_plain,
17166
gcry_ac_data_t *data_encrypted);
17171
gcry_error_t gcry_ac_data_decrypt (gcry_ac_handle_t handle,
17172
unsigned int flags,
17174
gcry_mpi_t *data_plain,
17175
gcry_ac_data_t data_encrypted);
17179
gcry_error_t gcry_ac_data_sign (gcry_ac_handle_t handle,
17182
gcry_ac_data_t *data_signature);
17187
gcry_error_t gcry_ac_data_verify (gcry_ac_handle_t handle,
17190
gcry_ac_data_t data_signature);
17197
gcry_error_t gcry_ac_data_encrypt_scheme (gcry_ac_handle_t handle,
17198
gcry_ac_scheme_t scheme,
17199
unsigned int flags, void *opts,
17201
gcry_ac_io_t *io_message,
17202
gcry_ac_io_t *io_cipher);
17209
gcry_error_t gcry_ac_data_decrypt_scheme (gcry_ac_handle_t handle,
17210
gcry_ac_scheme_t scheme,
17211
unsigned int flags, void *opts,
17213
gcry_ac_io_t *io_cipher,
17214
gcry_ac_io_t *io_message);
17221
gcry_error_t gcry_ac_data_sign_scheme (gcry_ac_handle_t handle,
17222
gcry_ac_scheme_t scheme,
17223
unsigned int flags, void *opts,
17225
gcry_ac_io_t *io_message,
17226
gcry_ac_io_t *io_signature);
17234
gcry_error_t gcry_ac_data_verify_scheme (gcry_ac_handle_t handle,
17235
gcry_ac_scheme_t scheme,
17236
unsigned int flags, void *opts,
17238
gcry_ac_io_t *io_message,
17239
gcry_ac_io_t *io_signature);
17245
gcry_error_t gcry_ac_id_to_name (gcry_ac_id_t algorithm,
17247
__attribute__ ((__deprecated__));
17251
gcry_error_t gcry_ac_name_to_id (const char *name,
17252
gcry_ac_id_t *algorithm)
17253
__attribute__ ((__deprecated__));
17254
# 1627 "/usr/include/gcrypt.h" 3 4
17255
typedef enum gcry_random_level
17257
GCRY_WEAK_RANDOM = 0,
17258
GCRY_STRONG_RANDOM = 1,
17259
GCRY_VERY_STRONG_RANDOM = 2
17261
gcry_random_level_t;
17265
void gcry_randomize (void *buffer, size_t length,
17266
enum gcry_random_level level);
17271
gcry_error_t gcry_random_add_bytes (const void *buffer, size_t length,
17273
# 1654 "/usr/include/gcrypt.h" 3 4
17274
void *gcry_random_bytes (size_t nbytes, enum gcry_random_level level)
17275
__attribute__ ((__malloc__));
17280
void *gcry_random_bytes_secure (size_t nbytes, enum gcry_random_level level)
17281
__attribute__ ((__malloc__));
17287
void gcry_mpi_randomize (gcry_mpi_t w,
17288
unsigned int nbits, enum gcry_random_level level);
17292
void gcry_create_nonce (void *buffer, size_t length);
17293
# 1691 "/usr/include/gcrypt.h" 3 4
17294
typedef int (*gcry_prime_check_func_t) (void *arg, int mode,
17295
gcry_mpi_t candidate);
17296
# 1709 "/usr/include/gcrypt.h" 3 4
17297
gcry_error_t gcry_prime_generate (gcry_mpi_t *prime,
17298
unsigned int prime_bits,
17299
unsigned int factor_bits,
17300
gcry_mpi_t **factors,
17301
gcry_prime_check_func_t cb_func,
17303
gcry_random_level_t random_level,
17304
unsigned int flags);
17310
gcry_error_t gcry_prime_group_generator (gcry_mpi_t *r_g,
17312
gcry_mpi_t *factors,
17313
gcry_mpi_t start_g);
17317
void gcry_prime_release_factors (gcry_mpi_t *factors);
17321
gcry_error_t gcry_prime_check (gcry_mpi_t x, unsigned int flags);
17322
# 1744 "/usr/include/gcrypt.h" 3 4
17323
enum gcry_log_levels
17326
GCRY_LOG_INFO = 10,
17327
GCRY_LOG_WARN = 20,
17328
GCRY_LOG_ERROR = 30,
17329
GCRY_LOG_FATAL = 40,
17331
GCRY_LOG_DEBUG = 100
17335
typedef void (*gcry_handler_progress_t) (void *, const char *, int, int, int);
17338
typedef void *(*gcry_handler_alloc_t) (size_t n);
17341
typedef int (*gcry_handler_secure_check_t) (const void *);
17344
typedef void *(*gcry_handler_realloc_t) (void *p, size_t n);
17347
typedef void (*gcry_handler_free_t) (void *);
17350
typedef int (*gcry_handler_no_mem_t) (void *, size_t, unsigned int);
17353
typedef void (*gcry_handler_error_t) (void *, int, const char *);
17356
typedef void (*gcry_handler_log_t) (void *, int, const char *, va_list);
17360
void gcry_set_progress_handler (gcry_handler_progress_t cb, void *cb_data);
17364
void gcry_set_allocation_handler (
17365
gcry_handler_alloc_t func_alloc,
17366
gcry_handler_alloc_t func_alloc_secure,
17367
gcry_handler_secure_check_t func_secure_check,
17368
gcry_handler_realloc_t func_realloc,
17369
gcry_handler_free_t func_free);
17373
void gcry_set_outofcore_handler (gcry_handler_no_mem_t h, void *opaque);
17377
void gcry_set_fatalerror_handler (gcry_handler_error_t fnc, void *opaque);
17381
void gcry_set_log_handler (gcry_handler_log_t f, void *opaque);
17384
void gcry_set_gettext_handler (const char *(*f)(const char*));
17388
void *gcry_malloc (size_t n) __attribute__ ((__malloc__));
17389
void *gcry_calloc (size_t n, size_t m) __attribute__ ((__malloc__));
17390
void *gcry_malloc_secure (size_t n) __attribute__ ((__malloc__));
17391
void *gcry_calloc_secure (size_t n, size_t m) __attribute__ ((__malloc__));
17392
void *gcry_realloc (void *a, size_t n);
17393
char *gcry_strdup (const char *string) __attribute__ ((__malloc__));
17394
void *gcry_xmalloc (size_t n) __attribute__ ((__malloc__));
17395
void *gcry_xcalloc (size_t n, size_t m) __attribute__ ((__malloc__));
17396
void *gcry_xmalloc_secure (size_t n) __attribute__ ((__malloc__));
17397
void *gcry_xcalloc_secure (size_t n, size_t m) __attribute__ ((__malloc__));
17398
void *gcry_xrealloc (void *a, size_t n);
17399
char *gcry_xstrdup (const char * a) __attribute__ ((__malloc__));
17400
void gcry_free (void *a);
17403
int gcry_is_secure (const void *a) __attribute__ ((__pure__));
17410
# 1 "/usr/include/gcrypt-module.h" 1 3 4
17411
# 43 "/usr/include/gcrypt-module.h" 3 4
17412
typedef struct gcry_module *gcry_module_t;
17417
typedef gcry_err_code_t (*gcry_cipher_setkey_t) (void *c,
17418
const unsigned char *key,
17422
typedef void (*gcry_cipher_encrypt_t) (void *c,
17423
unsigned char *outbuf,
17424
const unsigned char *inbuf);
17427
typedef void (*gcry_cipher_decrypt_t) (void *c,
17428
unsigned char *outbuf,
17429
const unsigned char *inbuf);
17432
typedef void (*gcry_cipher_stencrypt_t) (void *c,
17433
unsigned char *outbuf,
17434
const unsigned char *inbuf,
17438
typedef void (*gcry_cipher_stdecrypt_t) (void *c,
17439
unsigned char *outbuf,
17440
const unsigned char *inbuf,
17443
typedef struct gcry_cipher_oid_spec
17447
} gcry_cipher_oid_spec_t;
17450
typedef struct gcry_cipher_spec
17453
const char **aliases;
17454
gcry_cipher_oid_spec_t *oids;
17457
size_t contextsize;
17458
gcry_cipher_setkey_t setkey;
17459
gcry_cipher_encrypt_t encrypt;
17460
gcry_cipher_decrypt_t decrypt;
17461
gcry_cipher_stencrypt_t stencrypt;
17462
gcry_cipher_stdecrypt_t stdecrypt;
17463
} gcry_cipher_spec_t;
17468
gcry_error_t gcry_cipher_register (gcry_cipher_spec_t *cipher,
17470
gcry_module_t *module);
17474
void gcry_cipher_unregister (gcry_module_t module);
17479
typedef gcry_err_code_t (*gcry_pk_generate_t) (int algo,
17480
unsigned int nbits,
17481
unsigned long use_e,
17483
gcry_mpi_t **retfactors);
17486
typedef gcry_err_code_t (*gcry_pk_check_secret_key_t) (int algo,
17490
typedef gcry_err_code_t (*gcry_pk_encrypt_t) (int algo,
17491
gcry_mpi_t *resarr,
17497
typedef gcry_err_code_t (*gcry_pk_decrypt_t) (int algo,
17498
gcry_mpi_t *result,
17504
typedef gcry_err_code_t (*gcry_pk_sign_t) (int algo,
17505
gcry_mpi_t *resarr,
17510
typedef gcry_err_code_t (*gcry_pk_verify_t) (int algo,
17514
int (*cmp) (void *, gcry_mpi_t),
17518
typedef unsigned (*gcry_pk_get_nbits_t) (int algo, gcry_mpi_t *pkey);
17521
typedef struct gcry_pk_spec
17524
const char **aliases;
17525
const char *elements_pkey;
17526
const char *elements_skey;
17527
const char *elements_enc;
17528
const char *elements_sig;
17529
const char *elements_grip;
17531
gcry_pk_generate_t generate;
17532
gcry_pk_check_secret_key_t check_secret_key;
17533
gcry_pk_encrypt_t encrypt;
17534
gcry_pk_decrypt_t decrypt;
17535
gcry_pk_sign_t sign;
17536
gcry_pk_verify_t verify;
17537
gcry_pk_get_nbits_t get_nbits;
17543
gcry_error_t gcry_pk_register (gcry_pk_spec_t *pubkey,
17544
unsigned int *algorithm_id,
17545
gcry_module_t *module);
17549
void gcry_pk_unregister (gcry_module_t module);
17554
typedef void (*gcry_md_init_t) (void *c);
17557
typedef void (*gcry_md_write_t) (void *c, const void *buf, size_t nbytes);
17560
typedef void (*gcry_md_final_t) (void *c);
17563
typedef unsigned char *(*gcry_md_read_t) (void *c);
17565
typedef struct gcry_md_oid_spec
17567
const char *oidstring;
17568
} gcry_md_oid_spec_t;
17571
typedef struct gcry_md_spec
17574
unsigned char *asnoid;
17576
gcry_md_oid_spec_t *oids;
17578
gcry_md_init_t init;
17579
gcry_md_write_t write;
17580
gcry_md_final_t final;
17581
gcry_md_read_t read;
17582
size_t contextsize;
17588
gcry_error_t gcry_md_register (gcry_md_spec_t *digest,
17589
unsigned int *algorithm_id,
17590
gcry_module_t *module);
17594
void gcry_md_unregister (gcry_module_t module);
17595
# 1832 "/usr/include/gcrypt.h" 2 3 4
17596
# 26 "./../gku-prompt-util.h" 2
17600
void gku_prompt_util_encode_mpi (GKeyFile *key_file, const gchar *section,
17601
const gchar *field, gcry_mpi_t mpi);
17603
void gku_prompt_util_encode_hex (GKeyFile *key_file, const gchar *section,
17604
const gchar *field, gconstpointer data, gsize n_data);
17606
gboolean gku_prompt_util_decode_mpi (GKeyFile *key_file, const gchar *section,
17607
const gchar *field, gcry_mpi_t *mpi);
17609
gpointer gku_prompt_util_decode_hex (GKeyFile *key_file, const gchar *section,
17610
const gchar *field, gsize *n_result);
17612
gpointer gku_prompt_util_encrypt_text (gconstpointer key, gsize n_key,
17613
gconstpointer iv, gsize n_iv,
17614
const gchar *text, gsize *n_result);
17616
gchar* gku_prompt_util_decrypt_text (gconstpointer key, gsize n_key,
17617
gconstpointer iv, gsize n_iv,
17618
gconstpointer data, gsize n_data);
17619
# 27 "unit-test-util.c" 2
17621
# 1 "../../egg/egg-dh.h" 1
17622
# 29 "../../egg/egg-dh.h"
17623
gboolean egg_dh_default_params (const gchar *name,
17627
gboolean egg_dh_default_params_raw (const gchar *name,
17628
gconstpointer *prime,
17630
gconstpointer *base,
17633
gboolean egg_dh_gen_pair (gcry_mpi_t prime,
17639
gpointer egg_dh_gen_secret (gcry_mpi_t peer,
17643
# 29 "unit-test-util.c" 2
17644
# 1 "../../egg/egg-libgcrypt.h" 1
17645
# 22 "../../egg/egg-libgcrypt.h"
17646
# 1 "../../config.h" 1
17647
# 23 "../../egg/egg-libgcrypt.h" 2
17653
void egg_libgcrypt_initialize (void);
17654
# 30 "unit-test-util.c" 2
17655
# 1 "../../egg/egg-secure-memory.h" 1
17656
# 43 "../../egg/egg-secure-memory.h"
17657
extern void egg_memory_lock (void);
17659
extern void egg_memory_unlock (void);
17660
# 56 "../../egg/egg-secure-memory.h"
17661
extern void* egg_memory_fallback (void *p, size_t length);
17662
# 75 "../../egg/egg-secure-memory.h"
17663
void* egg_secure_alloc (size_t length);
17665
void* egg_secure_alloc_full (size_t length, int flags);
17667
void* egg_secure_realloc (void *p, size_t length);
17669
void* egg_secure_realloc_full (void *p, size_t length, int fallback);
17671
void egg_secure_free (void* p);
17673
void egg_secure_free_full (void* p, int fallback);
17675
void egg_secure_clear (void *p, size_t length);
17677
int egg_secure_check (const void* p);
17679
void egg_secure_validate (void);
17681
void egg_secure_dump_blocks (void);
17683
char* egg_secure_strdup (const char *str);
17685
void egg_secure_strclear (char *str);
17687
void egg_secure_strfree (char *str);
17688
# 31 "unit-test-util.c" 2
17692
static GKeyFile *key_file = ((void *)0);
17694
void testing__setup__prompt_util(int *__unused, gconstpointer __data)
17696
egg_libgcrypt_initialize ();
17697
key_file = g_key_file_new ();
17700
void testing__teardown__prompt_util(int *__unused, gconstpointer __data)
17702
g_key_file_free (key_file);
17703
key_file = ((void *)0);
17706
void testing__test__encode_decode_mpi(int *__unused, gconstpointer __data)
17708
gcry_mpi_t mpi, check;
17710
mpi = gcry_mpi_new (512);
17711
gcry_mpi_randomize (mpi, 512, GCRY_WEAK_RANDOM);
17713
gku_prompt_util_encode_mpi (key_file, "section", "field", mpi);
17714
if (!gku_prompt_util_decode_mpi (key_file, "section", "field", &check))
17715
do { g_assertion_message (((gchar*) 0), "unit-test-util.c", 57, ((const char*) (__PRETTY_FUNCTION__)), ((void *)0)); } while (0);
17717
do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (gcry_mpi_cmp (mpi, check) == 0) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "unit-test-util.c", 59, ((const char*) (__PRETTY_FUNCTION__)), "gcry_mpi_cmp (mpi, check) == 0"); } while (0);
17718
gcry_mpi_release (mpi);
17719
gcry_mpi_release (check);
17722
void testing__test__decode_nonexistant_mpi(int *__unused, gconstpointer __data)
17726
if (gku_prompt_util_decode_mpi (key_file, "nonexist", "nope", &mpi))
17727
do { g_assertion_message (((gchar*) 0), "unit-test-util.c", 69, ((const char*) (__PRETTY_FUNCTION__)), ((void *)0)); } while (0);
17730
void testing__test__encode_decode_hex(int *__unused, gconstpointer __data)
17736
gcry_create_nonce (buffer, 32);
17737
gku_prompt_util_encode_hex (key_file, "section", "field", buffer, 32);
17738
check = gku_prompt_util_decode_hex (key_file, "section", "field", &n_check);
17739
do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (check) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "unit-test-util.c", 81, ((const char*) (__PRETTY_FUNCTION__)), "check"); } while (0);
17740
do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (n_check == 32) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "unit-test-util.c", 82, ((const char*) (__PRETTY_FUNCTION__)), "n_check == 32"); } while (0);
17741
do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (memcmp (buffer, check, 32) == 0) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "unit-test-util.c", 83, ((const char*) (__PRETTY_FUNCTION__)), "memcmp (buffer, check, 32) == 0"); } while (0);
17746
void testing__test__decode_nonexistant_hex(int *__unused, gconstpointer __data)
17750
if (gku_prompt_util_decode_hex (key_file, "nonexist", "nope", &n_data))
17751
do { g_assertion_message (((gchar*) 0), "unit-test-util.c", 93, ((const char*) (__PRETTY_FUNCTION__)), ((void *)0)); } while (0);
17755
do_encrypt_decrypt_text (const gchar *text)
17758
gsize n_key, n_enc;
17762
g_test_message ("prompt encrypt/decrypt text: %s", text);
17766
key = egg_secure_alloc (n_key);
17767
gcry_randomize (key, n_key, GCRY_WEAK_RANDOM);
17769
gcry_create_nonce (iv, 16);
17770
enc = gku_prompt_util_encrypt_text (key, n_key, iv, 16, text, &n_enc);
17772
do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (enc) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "unit-test-util.c", 114, ((const char*) (__PRETTY_FUNCTION__)), "enc"); } while (0);
17774
do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (n_enc > strlen (text)) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "unit-test-util.c", 116, ((const char*) (__PRETTY_FUNCTION__)), "n_enc > strlen (text)"); } while (0);
17775
do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (n_enc % 16 == 0) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "unit-test-util.c", 117, ((const char*) (__PRETTY_FUNCTION__)), "n_enc % 16 == 0"); } while (0);
17777
check = gku_prompt_util_decrypt_text (key, n_key, iv, 16, enc, n_enc);
17778
egg_secure_clear (key, n_key);
17779
egg_secure_free (key);
17782
do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (check) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "unit-test-util.c", 124, ((const char*) (__PRETTY_FUNCTION__)), "check"); } while (0);
17783
do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (strlen (check) < n_enc) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "unit-test-util.c", 125, ((const char*) (__PRETTY_FUNCTION__)), "strlen (check) < n_enc"); } while (0);
17784
do { const char *__s1 = (check), *__s2 = (text); if (g_strcmp0 (__s1, __s2) == 0) ; else g_assertion_message_cmpstr (((gchar*) 0), "unit-test-util.c", 126, ((const char*) (__PRETTY_FUNCTION__)), "check" " " "==" " " "text", __s1, "==", __s2); } while (0);
17787
void testing__test__encrypt_decrypt_text(int *__unused, gconstpointer __data)
17789
do_encrypt_decrypt_text ("");
17790
do_encrypt_decrypt_text ("blah");
17791
do_encrypt_decrypt_text ("0123456789ABCDEF");
17792
do_encrypt_decrypt_text ("0123456789ABCDE");
17793
do_encrypt_decrypt_text ("0123456789ABCDEF 12345");