2
# 1 "/data/projects/gnome-keyring/pkcs11/xdg-store/tests//"
6
# 24 "test-xdg-trust.c"
7
# 1 "../../../config.h" 1
8
# 25 "test-xdg-trust.c" 2
10
# 1 "test-xdg-module.h" 1
11
# 27 "test-xdg-module.h"
12
# 1 "/usr/include/glib-2.0/glib.h" 1
13
# 32 "/usr/include/glib-2.0/glib.h"
14
# 1 "/usr/include/glib-2.0/glib/galloca.h" 1
15
# 34 "/usr/include/glib-2.0/glib/galloca.h"
16
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
17
# 34 "/usr/include/glib-2.0/glib/gtypes.h"
18
# 1 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h" 1
19
# 9 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
20
# 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
21
# 40 "/usr/include/glib-2.0/glib/gmacros.h"
22
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
23
# 149 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 3 4
24
typedef int ptrdiff_t;
25
# 211 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 3 4
26
typedef unsigned int size_t;
27
# 323 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 3 4
29
# 41 "/usr/include/glib-2.0/glib/gmacros.h" 2
30
# 10 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h" 2
32
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/limits.h" 1 3 4
33
# 34 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/limits.h" 3 4
34
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/syslimits.h" 1 3 4
41
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/limits.h" 1 3 4
42
# 169 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/limits.h" 3 4
43
# 1 "/usr/include/limits.h" 1 3 4
44
# 27 "/usr/include/limits.h" 3 4
45
# 1 "/usr/include/features.h" 1 3 4
46
# 323 "/usr/include/features.h" 3 4
47
# 1 "/usr/include/bits/predefs.h" 1 3 4
48
# 324 "/usr/include/features.h" 2 3 4
49
# 356 "/usr/include/features.h" 3 4
50
# 1 "/usr/include/sys/cdefs.h" 1 3 4
51
# 353 "/usr/include/sys/cdefs.h" 3 4
52
# 1 "/usr/include/bits/wordsize.h" 1 3 4
53
# 354 "/usr/include/sys/cdefs.h" 2 3 4
54
# 357 "/usr/include/features.h" 2 3 4
55
# 388 "/usr/include/features.h" 3 4
56
# 1 "/usr/include/gnu/stubs.h" 1 3 4
60
# 1 "/usr/include/bits/wordsize.h" 1 3 4
61
# 5 "/usr/include/gnu/stubs.h" 2 3 4
64
# 1 "/usr/include/gnu/stubs-32.h" 1 3 4
65
# 8 "/usr/include/gnu/stubs.h" 2 3 4
66
# 389 "/usr/include/features.h" 2 3 4
67
# 28 "/usr/include/limits.h" 2 3 4
68
# 145 "/usr/include/limits.h" 3 4
69
# 1 "/usr/include/bits/posix1_lim.h" 1 3 4
70
# 157 "/usr/include/bits/posix1_lim.h" 3 4
71
# 1 "/usr/include/bits/local_lim.h" 1 3 4
72
# 39 "/usr/include/bits/local_lim.h" 3 4
73
# 1 "/usr/include/linux/limits.h" 1 3 4
74
# 40 "/usr/include/bits/local_lim.h" 2 3 4
75
# 158 "/usr/include/bits/posix1_lim.h" 2 3 4
76
# 146 "/usr/include/limits.h" 2 3 4
80
# 1 "/usr/include/bits/posix2_lim.h" 1 3 4
81
# 150 "/usr/include/limits.h" 2 3 4
85
# 1 "/usr/include/bits/xopen_lim.h" 1 3 4
86
# 34 "/usr/include/bits/xopen_lim.h" 3 4
87
# 1 "/usr/include/bits/stdio_lim.h" 1 3 4
88
# 35 "/usr/include/bits/xopen_lim.h" 2 3 4
89
# 154 "/usr/include/limits.h" 2 3 4
90
# 170 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/limits.h" 2 3 4
91
# 8 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/syslimits.h" 2 3 4
92
# 35 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include-fixed/limits.h" 2 3 4
93
# 12 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h" 2
94
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/float.h" 1 3 4
95
# 13 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h" 2
96
# 22 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
98
# 38 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
99
typedef signed char gint8;
100
typedef unsigned char guint8;
101
typedef signed short gint16;
102
typedef unsigned short guint16;
106
typedef signed int gint32;
107
typedef unsigned int guint32;
113
__extension__ typedef signed long long gint64;
114
__extension__ typedef unsigned long long guint64;
115
# 65 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
116
typedef signed int gssize;
117
typedef unsigned int gsize;
118
# 75 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
119
typedef gint64 goffset;
120
# 90 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
121
typedef signed int gintptr;
122
typedef unsigned int guintptr;
123
# 159 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
124
typedef struct _GStaticMutex GStaticMutex;
127
struct _GMutex *runtime_mutex;
135
# 178 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
136
typedef union _GSystemThread GSystemThread;
144
# 231 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
146
# 241 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
148
# 35 "/usr/include/glib-2.0/glib/gtypes.h" 2
149
# 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
150
# 36 "/usr/include/glib-2.0/glib/gtypes.h" 2
151
# 1 "/usr/include/time.h" 1 3 4
152
# 30 "/usr/include/time.h" 3 4
161
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
162
# 39 "/usr/include/time.h" 2 3 4
166
# 1 "/usr/include/bits/time.h" 1 3 4
167
# 43 "/usr/include/time.h" 2 3 4
168
# 56 "/usr/include/time.h" 3 4
169
# 1 "/usr/include/bits/types.h" 1 3 4
170
# 28 "/usr/include/bits/types.h" 3 4
171
# 1 "/usr/include/bits/wordsize.h" 1 3 4
172
# 29 "/usr/include/bits/types.h" 2 3 4
175
typedef unsigned char __u_char;
176
typedef unsigned short int __u_short;
177
typedef unsigned int __u_int;
178
typedef unsigned long int __u_long;
181
typedef signed char __int8_t;
182
typedef unsigned char __uint8_t;
183
typedef signed short int __int16_t;
184
typedef unsigned short int __uint16_t;
185
typedef signed int __int32_t;
186
typedef unsigned int __uint32_t;
191
__extension__ typedef signed long long int __int64_t;
192
__extension__ typedef unsigned long long int __uint64_t;
200
__extension__ typedef long long int __quad_t;
201
__extension__ typedef unsigned long long int __u_quad_t;
202
# 131 "/usr/include/bits/types.h" 3 4
203
# 1 "/usr/include/bits/typesizes.h" 1 3 4
204
# 132 "/usr/include/bits/types.h" 2 3 4
207
__extension__ typedef __u_quad_t __dev_t;
208
__extension__ typedef unsigned int __uid_t;
209
__extension__ typedef unsigned int __gid_t;
210
__extension__ typedef unsigned long int __ino_t;
211
__extension__ typedef __u_quad_t __ino64_t;
212
__extension__ typedef unsigned int __mode_t;
213
__extension__ typedef unsigned int __nlink_t;
214
__extension__ typedef long int __off_t;
215
__extension__ typedef __quad_t __off64_t;
216
__extension__ typedef int __pid_t;
217
__extension__ typedef struct { int __val[2]; } __fsid_t;
218
__extension__ typedef long int __clock_t;
219
__extension__ typedef unsigned long int __rlim_t;
220
__extension__ typedef __u_quad_t __rlim64_t;
221
__extension__ typedef unsigned int __id_t;
222
__extension__ typedef long int __time_t;
223
__extension__ typedef unsigned int __useconds_t;
224
__extension__ typedef long int __suseconds_t;
226
__extension__ typedef int __daddr_t;
227
__extension__ typedef long int __swblk_t;
228
__extension__ typedef int __key_t;
231
__extension__ typedef int __clockid_t;
234
__extension__ typedef void * __timer_t;
237
__extension__ typedef long int __blksize_t;
242
__extension__ typedef long int __blkcnt_t;
243
__extension__ typedef __quad_t __blkcnt64_t;
246
__extension__ typedef unsigned long int __fsblkcnt_t;
247
__extension__ typedef __u_quad_t __fsblkcnt64_t;
250
__extension__ typedef unsigned long int __fsfilcnt_t;
251
__extension__ typedef __u_quad_t __fsfilcnt64_t;
253
__extension__ typedef int __ssize_t;
257
typedef __off64_t __loff_t;
258
typedef __quad_t *__qaddr_t;
259
typedef char *__caddr_t;
262
__extension__ typedef int __intptr_t;
265
__extension__ typedef unsigned int __socklen_t;
266
# 57 "/usr/include/time.h" 2 3 4
270
typedef __clock_t clock_t;
274
# 74 "/usr/include/time.h" 3 4
277
typedef __time_t time_t;
281
# 92 "/usr/include/time.h" 3 4
282
typedef __clockid_t clockid_t;
283
# 104 "/usr/include/time.h" 3 4
284
typedef __timer_t timer_t;
285
# 120 "/usr/include/time.h" 3 4
313
__const char *tm_zone;
329
struct timespec it_interval;
330
struct timespec it_value;
340
typedef __pid_t pid_t;
349
extern clock_t clock (void) __attribute__ ((__nothrow__));
352
extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
355
extern double difftime (time_t __time1, time_t __time0)
356
__attribute__ ((__nothrow__)) __attribute__ ((__const__));
359
extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
365
extern size_t strftime (char *__restrict __s, size_t __maxsize,
366
__const char *__restrict __format,
367
__const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
373
extern char *strptime (__const char *__restrict __s,
374
__const char *__restrict __fmt, struct tm *__tp)
375
__attribute__ ((__nothrow__));
381
# 1 "/usr/include/xlocale.h" 1 3 4
382
# 28 "/usr/include/xlocale.h" 3 4
383
typedef struct __locale_struct
386
struct __locale_data *__locales[13];
389
const unsigned short int *__ctype_b;
390
const int *__ctype_tolower;
391
const int *__ctype_toupper;
394
const char *__names[13];
398
typedef __locale_t locale_t;
399
# 216 "/usr/include/time.h" 2 3 4
401
extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
402
__const char *__restrict __format,
403
__const struct tm *__restrict __tp,
404
__locale_t __loc) __attribute__ ((__nothrow__));
408
extern char *strptime_l (__const char *__restrict __s,
409
__const char *__restrict __fmt, struct tm *__tp,
410
__locale_t __loc) __attribute__ ((__nothrow__));
417
extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
421
extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
427
extern struct tm *gmtime_r (__const time_t *__restrict __timer,
428
struct tm *__restrict __tp) __attribute__ ((__nothrow__));
432
extern struct tm *localtime_r (__const time_t *__restrict __timer,
433
struct tm *__restrict __tp) __attribute__ ((__nothrow__));
439
extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
442
extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
450
extern char *asctime_r (__const struct tm *__restrict __tp,
451
char *__restrict __buf) __attribute__ ((__nothrow__));
454
extern char *ctime_r (__const time_t *__restrict __timer,
455
char *__restrict __buf) __attribute__ ((__nothrow__));
460
extern char *__tzname[2];
461
extern int __daylight;
462
extern long int __timezone;
467
extern char *tzname[2];
471
extern void tzset (void) __attribute__ ((__nothrow__));
476
extern long int timezone;
482
extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
483
# 313 "/usr/include/time.h" 3 4
484
extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
487
extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
490
extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
491
# 328 "/usr/include/time.h" 3 4
492
extern int nanosleep (__const struct timespec *__requested_time,
493
struct timespec *__remaining);
497
extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
500
extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
503
extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
504
__attribute__ ((__nothrow__));
511
extern int clock_nanosleep (clockid_t __clock_id, int __flags,
512
__const struct timespec *__req,
513
struct timespec *__rem);
516
extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
521
extern int timer_create (clockid_t __clock_id,
522
struct sigevent *__restrict __evp,
523
timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
526
extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
529
extern int timer_settime (timer_t __timerid, int __flags,
530
__const struct itimerspec *__restrict __value,
531
struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
534
extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
535
__attribute__ ((__nothrow__));
538
extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
539
# 390 "/usr/include/time.h" 3 4
540
extern int getdate_err;
541
# 399 "/usr/include/time.h" 3 4
542
extern struct tm *getdate (__const char *__string);
543
# 413 "/usr/include/time.h" 3 4
544
extern int getdate_r (__const char *__restrict __string,
545
struct tm *__restrict __resbufp);
549
# 37 "/usr/include/glib-2.0/glib/gtypes.h" 2
552
# 47 "/usr/include/glib-2.0/glib/gtypes.h"
554
typedef short gshort;
557
typedef gint gboolean;
559
typedef unsigned char guchar;
560
typedef unsigned short gushort;
561
typedef unsigned long gulong;
562
typedef unsigned int guint;
564
typedef float gfloat;
565
typedef double gdouble;
566
# 78 "/usr/include/glib-2.0/glib/gtypes.h"
567
typedef void* gpointer;
568
typedef const void *gconstpointer;
570
typedef gint (*GCompareFunc) (gconstpointer a,
572
typedef gint (*GCompareDataFunc) (gconstpointer a,
575
typedef gboolean (*GEqualFunc) (gconstpointer a,
577
typedef void (*GDestroyNotify) (gpointer data);
578
typedef void (*GFunc) (gpointer data,
580
typedef guint (*GHashFunc) (gconstpointer key);
581
typedef void (*GHFunc) (gpointer key,
584
typedef void (*GFreeFunc) (gpointer data);
585
# 109 "/usr/include/glib-2.0/glib/gtypes.h"
586
typedef const gchar * (*GTranslateFunc) (const gchar *str,
588
# 369 "/usr/include/glib-2.0/glib/gtypes.h"
589
typedef union _GDoubleIEEE754 GDoubleIEEE754;
590
typedef union _GFloatIEEE754 GFloatIEEE754;
601
guint biased_exponent : 8;
605
union _GDoubleIEEE754
609
guint mantissa_low : 32;
610
guint mantissa_high : 20;
611
guint biased_exponent : 11;
615
# 419 "/usr/include/glib-2.0/glib/gtypes.h"
616
typedef struct _GTimeVal GTimeVal;
625
# 35 "/usr/include/glib-2.0/glib/galloca.h" 2
626
# 33 "/usr/include/glib-2.0/glib.h" 2
627
# 1 "/usr/include/glib-2.0/glib/garray.h" 1
628
# 34 "/usr/include/glib-2.0/glib/garray.h"
629
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
630
# 35 "/usr/include/glib-2.0/glib/garray.h" 2
634
typedef struct _GArray GArray;
635
typedef struct _GByteArray GByteArray;
636
typedef struct _GPtrArray GPtrArray;
655
# 70 "/usr/include/glib-2.0/glib/garray.h"
656
GArray* g_array_new (gboolean zero_terminated,
659
GArray* g_array_sized_new (gboolean zero_terminated,
662
guint reserved_size);
663
gchar* g_array_free (GArray *array,
664
gboolean free_segment);
665
GArray *g_array_ref (GArray *array);
666
void g_array_unref (GArray *array);
667
guint g_array_get_element_size (GArray *array);
668
GArray* g_array_append_vals (GArray *array,
671
GArray* g_array_prepend_vals (GArray *array,
674
GArray* g_array_insert_vals (GArray *array,
678
GArray* g_array_set_size (GArray *array,
680
GArray* g_array_remove_index (GArray *array,
682
GArray* g_array_remove_index_fast (GArray *array,
684
GArray* g_array_remove_range (GArray *array,
687
void g_array_sort (GArray *array,
688
GCompareFunc compare_func);
689
void g_array_sort_with_data (GArray *array,
690
GCompareDataFunc compare_func,
698
GPtrArray* g_ptr_array_new (void);
699
GPtrArray* g_ptr_array_new_with_free_func (GDestroyNotify element_free_func);
700
GPtrArray* g_ptr_array_sized_new (guint reserved_size);
701
gpointer* g_ptr_array_free (GPtrArray *array,
703
GPtrArray* g_ptr_array_ref (GPtrArray *array);
704
void g_ptr_array_unref (GPtrArray *array);
705
void g_ptr_array_set_free_func (GPtrArray *array,
706
GDestroyNotify element_free_func);
707
void g_ptr_array_set_size (GPtrArray *array,
709
gpointer g_ptr_array_remove_index (GPtrArray *array,
711
gpointer g_ptr_array_remove_index_fast (GPtrArray *array,
713
gboolean g_ptr_array_remove (GPtrArray *array,
715
gboolean g_ptr_array_remove_fast (GPtrArray *array,
717
void g_ptr_array_remove_range (GPtrArray *array,
720
void g_ptr_array_add (GPtrArray *array,
722
void g_ptr_array_sort (GPtrArray *array,
723
GCompareFunc compare_func);
724
void g_ptr_array_sort_with_data (GPtrArray *array,
725
GCompareDataFunc compare_func,
727
void g_ptr_array_foreach (GPtrArray *array,
736
GByteArray* g_byte_array_new (void);
737
GByteArray* g_byte_array_sized_new (guint reserved_size);
738
guint8* g_byte_array_free (GByteArray *array,
739
gboolean free_segment);
740
GByteArray *g_byte_array_ref (GByteArray *array);
741
void g_byte_array_unref (GByteArray *array);
742
GByteArray* g_byte_array_append (GByteArray *array,
745
GByteArray* g_byte_array_prepend (GByteArray *array,
748
GByteArray* g_byte_array_set_size (GByteArray *array,
750
GByteArray* g_byte_array_remove_index (GByteArray *array,
752
GByteArray* g_byte_array_remove_index_fast (GByteArray *array,
754
GByteArray* g_byte_array_remove_range (GByteArray *array,
757
void g_byte_array_sort (GByteArray *array,
758
GCompareFunc compare_func);
759
void g_byte_array_sort_with_data (GByteArray *array,
760
GCompareDataFunc compare_func,
764
# 34 "/usr/include/glib-2.0/glib.h" 2
765
# 1 "/usr/include/glib-2.0/glib/gasyncqueue.h" 1
766
# 34 "/usr/include/glib-2.0/glib/gasyncqueue.h"
767
# 1 "/usr/include/glib-2.0/glib/gthread.h" 1
768
# 34 "/usr/include/glib-2.0/glib/gthread.h"
769
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
770
# 28 "/usr/include/glib-2.0/glib/gerror.h"
771
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stdarg.h" 1 3 4
772
# 40 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stdarg.h" 3 4
773
typedef __builtin_va_list __gnuc_va_list;
774
# 102 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stdarg.h" 3 4
775
typedef __gnuc_va_list va_list;
776
# 29 "/usr/include/glib-2.0/glib/gerror.h" 2
778
# 1 "/usr/include/glib-2.0/glib/gquark.h" 1
779
# 34 "/usr/include/glib-2.0/glib/gquark.h"
780
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
781
# 35 "/usr/include/glib-2.0/glib/gquark.h" 2
785
typedef guint32 GQuark;
789
GQuark g_quark_try_string (const gchar *string);
790
GQuark g_quark_from_static_string (const gchar *string);
791
GQuark g_quark_from_string (const gchar *string);
792
const gchar* g_quark_to_string (GQuark quark) __attribute__((__const__));
794
const gchar* g_intern_string (const gchar *string);
795
const gchar* g_intern_static_string (const gchar *string);
798
# 31 "/usr/include/glib-2.0/glib/gerror.h" 2
802
typedef struct _GError GError;
811
GError* g_error_new (GQuark domain,
814
...) __attribute__((__format__ (__printf__, 3, 4)));
816
GError* g_error_new_literal (GQuark domain,
818
const gchar *message);
819
GError* g_error_new_valist (GQuark domain,
824
void g_error_free (GError *error);
825
GError* g_error_copy (const GError *error);
827
gboolean g_error_matches (const GError *error,
834
void g_set_error (GError **err,
838
...) __attribute__((__format__ (__printf__, 4, 5)));
840
void g_set_error_literal (GError **err,
843
const gchar *message);
847
void g_propagate_error (GError **dest,
851
void g_clear_error (GError **err);
854
void g_prefix_error (GError **err,
856
...) __attribute__((__format__ (__printf__, 2, 3)));
859
void g_propagate_prefixed_error (GError **dest,
862
...) __attribute__((__format__ (__printf__, 3, 4)));
865
# 35 "/usr/include/glib-2.0/glib/gthread.h" 2
866
# 1 "/usr/include/glib-2.0/glib/gutils.h" 1
867
# 34 "/usr/include/glib-2.0/glib/gutils.h"
868
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
869
# 35 "/usr/include/glib-2.0/glib/gutils.h" 2
873
# 120 "/usr/include/glib-2.0/glib/gutils.h"
874
const gchar* g_get_user_name (void);
875
const gchar* g_get_real_name (void);
876
const gchar* g_get_home_dir (void);
877
const gchar* g_get_tmp_dir (void);
878
const gchar* g_get_host_name (void);
879
gchar* g_get_prgname (void);
880
void g_set_prgname (const gchar *prgname);
881
const gchar* g_get_application_name (void);
882
void g_set_application_name (const gchar *application_name);
884
void g_reload_user_special_dirs_cache (void);
885
const gchar* g_get_user_data_dir (void);
886
const gchar* g_get_user_config_dir (void);
887
const gchar* g_get_user_cache_dir (void);
888
const gchar* const * g_get_system_data_dirs (void);
889
# 154 "/usr/include/glib-2.0/glib/gutils.h"
890
const gchar* const * g_get_system_config_dirs (void);
892
const gchar * g_get_user_runtime_dir (void);
894
const gchar* const * g_get_language_names (void);
896
gchar **g_get_locale_variants (const gchar *locale);
897
# 184 "/usr/include/glib-2.0/glib/gutils.h"
899
G_USER_DIRECTORY_DESKTOP,
900
G_USER_DIRECTORY_DOCUMENTS,
901
G_USER_DIRECTORY_DOWNLOAD,
902
G_USER_DIRECTORY_MUSIC,
903
G_USER_DIRECTORY_PICTURES,
904
G_USER_DIRECTORY_PUBLIC_SHARE,
905
G_USER_DIRECTORY_TEMPLATES,
906
G_USER_DIRECTORY_VIDEOS,
911
const gchar* g_get_user_special_dir (GUserDirectory directory);
913
typedef struct _GDebugKey GDebugKey;
922
guint g_parse_debug_string (const gchar *string,
923
const GDebugKey *keys,
926
gint g_snprintf (gchar *string,
929
...) __attribute__((__format__ (__printf__, 3, 4)));
930
gint g_vsnprintf (gchar *string,
936
gboolean g_path_is_absolute (const gchar *file_name);
939
const gchar* g_path_skip_root (const gchar *file_name);
947
const gchar* g_basename (const gchar *file_name);
948
# 243 "/usr/include/glib-2.0/glib/gutils.h"
949
gchar* g_get_current_dir (void);
950
gchar* g_path_get_basename (const gchar *file_name) __attribute__((__malloc__));
951
gchar* g_path_get_dirname (const gchar *file_name) __attribute__((__malloc__));
954
void g_nullify_pointer (gpointer *nullify_location);
955
# 259 "/usr/include/glib-2.0/glib/gutils.h"
956
const gchar* g_getenv (const gchar *variable);
957
gboolean g_setenv (const gchar *variable,
960
void g_unsetenv (const gchar *variable);
961
gchar** g_listenv (void);
962
gchar** g_get_environ (void);
965
const gchar* _g_getenv_nomalloc (const gchar *variable,
972
typedef void (*GVoidFunc) (void);
973
# 286 "/usr/include/glib-2.0/glib/gutils.h"
974
void g_atexit (GVoidFunc func);
975
# 302 "/usr/include/glib-2.0/glib/gutils.h"
976
gchar* g_find_program_in_path (const gchar *program);
980
static __inline __attribute__ ((unused)) gint g_bit_nth_lsf (gulong mask,
981
gint nth_bit) __attribute__((__const__));
982
static __inline __attribute__ ((unused)) gint g_bit_nth_msf (gulong mask,
983
gint nth_bit) __attribute__((__const__));
984
static __inline __attribute__ ((unused)) guint g_bit_storage (gulong number) __attribute__((__const__));
989
typedef struct _GTrashStack GTrashStack;
995
static __inline __attribute__ ((unused)) void g_trash_stack_push (GTrashStack **stack_p,
997
static __inline __attribute__ ((unused)) gpointer g_trash_stack_pop (GTrashStack **stack_p);
998
static __inline __attribute__ ((unused)) gpointer g_trash_stack_peek (GTrashStack **stack_p);
999
static __inline __attribute__ ((unused)) guint g_trash_stack_height (GTrashStack **stack_p);
1004
static __inline __attribute__ ((unused)) gint
1005
g_bit_nth_lsf (gulong mask,
1008
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)))
1010
while (nth_bit < ((4 * 8) - 1))
1013
if (mask & (1UL << nth_bit))
1018
static __inline __attribute__ ((unused)) gint
1019
g_bit_nth_msf (gulong mask,
1022
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)))
1027
if (mask & (1UL << nth_bit))
1032
static __inline __attribute__ ((unused)) guint
1033
g_bit_storage (gulong number)
1036
return (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (number) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ?
1037
((4 * 8U - 1) ^ __builtin_clzl(number)) + 1 : 1;
1038
# 375 "/usr/include/glib-2.0/glib/gutils.h"
1040
static __inline __attribute__ ((unused)) void
1041
g_trash_stack_push (GTrashStack **stack_p,
1044
GTrashStack *data = (GTrashStack *) data_p;
1046
data->next = *stack_p;
1049
static __inline __attribute__ ((unused)) gpointer
1050
g_trash_stack_pop (GTrashStack **stack_p)
1057
*stack_p = data->next;
1061
data->next = ((void *)0);
1066
static __inline __attribute__ ((unused)) gpointer
1067
g_trash_stack_peek (GTrashStack **stack_p)
1075
static __inline __attribute__ ((unused)) guint
1076
g_trash_stack_height (GTrashStack **stack_p)
1081
for (data = *stack_p; data; data = data->next)
1092
extern const guint glib_major_version;
1093
extern const guint glib_minor_version;
1094
extern const guint glib_micro_version;
1095
extern const guint glib_interface_age;
1096
extern const guint glib_binary_age;
1098
const gchar * glib_check_version (guint required_major,
1099
guint required_minor,
1100
guint required_micro);
1109
# 36 "/usr/include/glib-2.0/glib/gthread.h" 2
1110
# 1 "/usr/include/glib-2.0/glib/gatomic.h" 1
1111
# 37 "/usr/include/glib-2.0/glib/gatomic.h"
1112
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
1113
# 38 "/usr/include/glib-2.0/glib/gatomic.h" 2
1117
gint g_atomic_int_exchange_and_add (volatile gint __attribute__((may_alias)) *atomic,
1119
void g_atomic_int_add (volatile gint __attribute__((may_alias)) *atomic,
1121
gboolean g_atomic_int_compare_and_exchange (volatile gint __attribute__((may_alias)) *atomic,
1124
gboolean g_atomic_pointer_compare_and_exchange (volatile gpointer __attribute__((may_alias)) *atomic,
1128
gint g_atomic_int_get (volatile gint __attribute__((may_alias)) *atomic);
1129
void g_atomic_int_set (volatile gint __attribute__((may_alias)) *atomic,
1131
gpointer g_atomic_pointer_get (volatile gpointer __attribute__((may_alias)) *atomic);
1132
void g_atomic_pointer_set (volatile gpointer __attribute__((may_alias)) *atomic,
1134
# 103 "/usr/include/glib-2.0/glib/gatomic.h"
1136
# 37 "/usr/include/glib-2.0/glib/gthread.h" 2
1143
extern GQuark g_thread_error_quark (void);
1148
G_THREAD_ERROR_AGAIN
1151
typedef gpointer (*GThreadFunc) (gpointer data);
1155
G_THREAD_PRIORITY_LOW,
1156
G_THREAD_PRIORITY_NORMAL,
1157
G_THREAD_PRIORITY_HIGH,
1158
G_THREAD_PRIORITY_URGENT
1161
typedef struct _GThread GThread;
1168
GThreadPriority priority;
1171
typedef struct _GMutex GMutex;
1172
typedef struct _GCond GCond;
1173
typedef struct _GPrivate GPrivate;
1174
typedef struct _GStaticPrivate GStaticPrivate;
1176
typedef struct _GThreadFunctions GThreadFunctions;
1177
struct _GThreadFunctions
1179
GMutex* (*mutex_new) (void);
1180
void (*mutex_lock) (GMutex *mutex);
1181
gboolean (*mutex_trylock) (GMutex *mutex);
1182
void (*mutex_unlock) (GMutex *mutex);
1183
void (*mutex_free) (GMutex *mutex);
1184
GCond* (*cond_new) (void);
1185
void (*cond_signal) (GCond *cond);
1186
void (*cond_broadcast) (GCond *cond);
1187
void (*cond_wait) (GCond *cond,
1189
gboolean (*cond_timed_wait) (GCond *cond,
1191
GTimeVal *end_time);
1192
void (*cond_free) (GCond *cond);
1193
GPrivate* (*private_new) (GDestroyNotify destructor);
1194
gpointer (*private_get) (GPrivate *private_key);
1195
void (*private_set) (GPrivate *private_key,
1197
void (*thread_create) (GThreadFunc func,
1202
GThreadPriority priority,
1205
void (*thread_yield) (void);
1206
void (*thread_join) (gpointer thread);
1207
void (*thread_exit) (void);
1208
void (*thread_set_priority)(gpointer thread,
1209
GThreadPriority priority);
1210
void (*thread_self) (gpointer thread);
1211
gboolean (*thread_equal) (gpointer thread1,
1215
extern GThreadFunctions g_thread_functions_for_glib_use;
1216
extern gboolean g_thread_use_default_impl;
1217
extern gboolean g_threads_got_initialized;
1219
extern guint64 (*g_thread_gettime) (void);
1225
void g_thread_init (GThreadFunctions *vtable);
1226
# 134 "/usr/include/glib-2.0/glib/gthread.h"
1227
void g_thread_init_with_errorcheck_mutexes (GThreadFunctions* vtable);
1232
gboolean g_thread_get_initialized (void);
1233
# 149 "/usr/include/glib-2.0/glib/gthread.h"
1234
GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex);
1235
# 224 "/usr/include/glib-2.0/glib/gthread.h"
1236
GThread* g_thread_create_full (GThreadFunc func,
1241
GThreadPriority priority,
1243
GThread* g_thread_self (void);
1244
void g_thread_exit (gpointer retval);
1245
gpointer g_thread_join (GThread *thread);
1247
void g_thread_set_priority (GThread *thread,
1248
GThreadPriority priority);
1249
# 249 "/usr/include/glib-2.0/glib/gthread.h"
1250
void g_static_mutex_init (GStaticMutex *mutex);
1251
void g_static_mutex_free (GStaticMutex *mutex);
1253
struct _GStaticPrivate
1259
void g_static_private_init (GStaticPrivate *private_key);
1260
gpointer g_static_private_get (GStaticPrivate *private_key);
1261
void g_static_private_set (GStaticPrivate *private_key,
1263
GDestroyNotify notify);
1264
void g_static_private_free (GStaticPrivate *private_key);
1266
typedef struct _GStaticRecMutex GStaticRecMutex;
1267
struct _GStaticRecMutex
1272
GSystemThread owner;
1276
void g_static_rec_mutex_init (GStaticRecMutex *mutex);
1277
void g_static_rec_mutex_lock (GStaticRecMutex *mutex);
1278
gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex);
1279
void g_static_rec_mutex_unlock (GStaticRecMutex *mutex);
1280
void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex,
1282
guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex);
1283
void g_static_rec_mutex_free (GStaticRecMutex *mutex);
1285
typedef struct _GStaticRWLock GStaticRWLock;
1286
struct _GStaticRWLock
1293
gboolean have_writer;
1295
guint want_to_write;
1300
void g_static_rw_lock_init (GStaticRWLock* lock);
1301
void g_static_rw_lock_reader_lock (GStaticRWLock* lock);
1302
gboolean g_static_rw_lock_reader_trylock (GStaticRWLock* lock);
1303
void g_static_rw_lock_reader_unlock (GStaticRWLock* lock);
1304
void g_static_rw_lock_writer_lock (GStaticRWLock* lock);
1305
gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock);
1306
void g_static_rw_lock_writer_unlock (GStaticRWLock* lock);
1307
void g_static_rw_lock_free (GStaticRWLock* lock);
1309
void g_thread_foreach (GFunc thread_func,
1310
gpointer user_data);
1314
G_ONCE_STATUS_NOTCALLED,
1315
G_ONCE_STATUS_PROGRESS,
1319
typedef struct _GOnce GOnce;
1322
volatile GOnceStatus status;
1323
volatile gpointer retval;
1328
gpointer g_once_impl (GOnce *once, GThreadFunc func, gpointer arg);
1329
# 339 "/usr/include/glib-2.0/glib/gthread.h"
1330
static __inline __attribute__ ((unused)) gboolean g_once_init_enter (volatile gsize *value_location);
1331
gboolean g_once_init_enter_impl (volatile gsize *value_location);
1332
void g_once_init_leave (volatile gsize *value_location,
1333
gsize initialization_value);
1335
static __inline __attribute__ ((unused)) gboolean
1336
g_once_init_enter (volatile gsize *value_location)
1338
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))
1341
return g_once_init_enter_impl (value_location);
1343
# 363 "/usr/include/glib-2.0/glib/gthread.h"
1344
extern void glib_dummy_decl (void);
1345
# 405 "/usr/include/glib-2.0/glib/gthread.h"
1347
# 35 "/usr/include/glib-2.0/glib/gasyncqueue.h" 2
1351
typedef struct _GAsyncQueue GAsyncQueue;
1356
GAsyncQueue* g_async_queue_new (void);
1358
GAsyncQueue* g_async_queue_new_full (GDestroyNotify item_free_func);
1364
void g_async_queue_lock (GAsyncQueue *queue);
1365
void g_async_queue_unlock (GAsyncQueue *queue);
1368
GAsyncQueue* g_async_queue_ref (GAsyncQueue *queue);
1369
void g_async_queue_unref (GAsyncQueue *queue);
1373
void g_async_queue_ref_unlocked (GAsyncQueue *queue);
1374
void g_async_queue_unref_and_unlock (GAsyncQueue *queue);
1378
void g_async_queue_push (GAsyncQueue *queue,
1380
void g_async_queue_push_unlocked (GAsyncQueue *queue,
1383
void g_async_queue_push_sorted (GAsyncQueue *queue,
1385
GCompareDataFunc func,
1386
gpointer user_data);
1387
void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue,
1389
GCompareDataFunc func,
1390
gpointer user_data);
1395
gpointer g_async_queue_pop (GAsyncQueue *queue);
1396
gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue);
1399
gpointer g_async_queue_try_pop (GAsyncQueue *queue);
1400
gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue);
1407
gpointer g_async_queue_timed_pop (GAsyncQueue *queue,
1408
GTimeVal *end_time);
1409
gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue,
1410
GTimeVal *end_time);
1411
# 106 "/usr/include/glib-2.0/glib/gasyncqueue.h"
1412
gint g_async_queue_length (GAsyncQueue *queue);
1413
gint g_async_queue_length_unlocked (GAsyncQueue *queue);
1414
void g_async_queue_sort (GAsyncQueue *queue,
1415
GCompareDataFunc func,
1416
gpointer user_data);
1417
void g_async_queue_sort_unlocked (GAsyncQueue *queue,
1418
GCompareDataFunc func,
1419
gpointer user_data);
1422
GMutex* _g_async_queue_get_mutex (GAsyncQueue *queue);
1425
# 35 "/usr/include/glib-2.0/glib.h" 2
1426
# 1 "/usr/include/glib-2.0/glib/gatomic.h" 1
1427
# 36 "/usr/include/glib-2.0/glib.h" 2
1428
# 1 "/usr/include/glib-2.0/glib/gbacktrace.h" 1
1429
# 34 "/usr/include/glib-2.0/glib/gbacktrace.h"
1430
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
1431
# 35 "/usr/include/glib-2.0/glib/gbacktrace.h" 2
1432
# 1 "/usr/include/signal.h" 1 3 4
1433
# 31 "/usr/include/signal.h" 3 4
1436
# 1 "/usr/include/bits/sigset.h" 1 3 4
1437
# 24 "/usr/include/bits/sigset.h" 3 4
1438
typedef int __sig_atomic_t;
1445
unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1447
# 104 "/usr/include/bits/sigset.h" 3 4
1448
extern int __sigismember (__const __sigset_t *, int);
1449
extern int __sigaddset (__sigset_t *, int);
1450
extern int __sigdelset (__sigset_t *, int);
1451
# 118 "/usr/include/bits/sigset.h" 3 4
1452
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; }
1453
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); }
1454
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); }
1455
# 34 "/usr/include/signal.h" 2 3 4
1463
typedef __sig_atomic_t sig_atomic_t;
1472
typedef __sigset_t sigset_t;
1480
# 1 "/usr/include/bits/signum.h" 1 3 4
1481
# 59 "/usr/include/signal.h" 2 3 4
1482
# 68 "/usr/include/signal.h" 3 4
1483
typedef __uid_t uid_t;
1484
# 79 "/usr/include/signal.h" 3 4
1485
# 1 "/usr/include/bits/siginfo.h" 1 3 4
1486
# 25 "/usr/include/bits/siginfo.h" 3 4
1487
# 1 "/usr/include/bits/wordsize.h" 1 3 4
1488
# 26 "/usr/include/bits/siginfo.h" 2 3 4
1496
typedef union sigval
1501
# 51 "/usr/include/bits/siginfo.h" 3 4
1502
typedef struct siginfo
1511
int _pad[((128 / sizeof (int)) - 3)];
1560
# 129 "/usr/include/bits/siginfo.h" 3 4
1688
# 273 "/usr/include/bits/siginfo.h" 3 4
1689
typedef struct sigevent
1691
sigval_t sigev_value;
1697
int _pad[((64 / sizeof (int)) - 3)];
1705
void (*_function) (sigval_t);
1728
# 80 "/usr/include/signal.h" 2 3 4
1733
typedef void (*__sighandler_t) (int);
1738
extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
1739
__attribute__ ((__nothrow__));
1741
extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler)
1742
__attribute__ ((__nothrow__));
1750
extern __sighandler_t signal (int __sig, __sighandler_t __handler)
1751
__attribute__ ((__nothrow__));
1752
# 113 "/usr/include/signal.h" 3 4
1758
extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler)
1759
__attribute__ ((__nothrow__));
1766
extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__));
1773
extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__));
1778
extern int raise (int __sig) __attribute__ ((__nothrow__));
1783
extern __sighandler_t ssignal (int __sig, __sighandler_t __handler)
1784
__attribute__ ((__nothrow__));
1785
extern int gsignal (int __sig) __attribute__ ((__nothrow__));
1790
extern void psignal (int __sig, __const char *__s);
1795
extern void psiginfo (__const siginfo_t *__pinfo, __const char *__s);
1796
# 168 "/usr/include/signal.h" 3 4
1797
extern int __sigpause (int __sig_or_mask, int __is_sig);
1798
# 177 "/usr/include/signal.h" 3 4
1799
extern int sigpause (int __sig) __asm__ ("__xpg_sigpause");
1800
# 196 "/usr/include/signal.h" 3 4
1801
extern int sigblock (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
1804
extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
1807
extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
1808
# 211 "/usr/include/signal.h" 3 4
1809
typedef __sighandler_t sighandler_t;
1814
typedef __sighandler_t sig_t;
1820
extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1823
extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1826
extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1829
extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1832
extern int sigismember (__const sigset_t *__set, int __signo)
1833
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1837
extern int sigisemptyset (__const sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1840
extern int sigandset (sigset_t *__set, __const sigset_t *__left,
1841
__const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
1844
extern int sigorset (sigset_t *__set, __const sigset_t *__left,
1845
__const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
1850
# 1 "/usr/include/bits/sigaction.h" 1 3 4
1851
# 25 "/usr/include/bits/sigaction.h" 3 4
1859
__sighandler_t sa_handler;
1861
void (*sa_sigaction) (int, siginfo_t *, void *);
1863
__sigaction_handler;
1877
void (*sa_restorer) (void);
1879
# 253 "/usr/include/signal.h" 2 3 4
1882
extern int sigprocmask (int __how, __const sigset_t *__restrict __set,
1883
sigset_t *__restrict __oset) __attribute__ ((__nothrow__));
1890
extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1)));
1893
extern int sigaction (int __sig, __const struct sigaction *__restrict __act,
1894
struct sigaction *__restrict __oact) __attribute__ ((__nothrow__));
1897
extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1904
extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig)
1905
__attribute__ ((__nonnull__ (1, 2)));
1912
extern int sigwaitinfo (__const sigset_t *__restrict __set,
1913
siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1)));
1920
extern int sigtimedwait (__const sigset_t *__restrict __set,
1921
siginfo_t *__restrict __info,
1922
__const struct timespec *__restrict __timeout)
1923
__attribute__ ((__nonnull__ (1)));
1927
extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val)
1928
__attribute__ ((__nothrow__));
1929
# 310 "/usr/include/signal.h" 3 4
1930
extern __const char *__const _sys_siglist[65];
1931
extern __const char *__const sys_siglist[65];
1936
__sighandler_t sv_handler;
1942
# 334 "/usr/include/signal.h" 3 4
1943
extern int sigvec (int __sig, __const struct sigvec *__vec,
1944
struct sigvec *__ovec) __attribute__ ((__nothrow__));
1948
# 1 "/usr/include/bits/sigcontext.h" 1 3 4
1949
# 26 "/usr/include/bits/sigcontext.h" 3 4
1950
# 1 "/usr/include/bits/wordsize.h" 1 3 4
1951
# 27 "/usr/include/bits/sigcontext.h" 2 3 4
1955
unsigned short significand[4];
1956
unsigned short exponent;
1961
unsigned short significand[4];
1962
unsigned short exponent;
1963
unsigned short padding[3];
1968
__uint32_t element[4];
1985
struct _fpreg _st[8];
1986
unsigned short status;
1987
unsigned short magic;
1990
__uint32_t _fxsr_env[6];
1992
__uint32_t reserved;
1993
struct _fpxreg _fxsr_st[8];
1994
struct _xmmreg _xmm[8];
1995
__uint32_t padding[56];
1997
# 81 "/usr/include/bits/sigcontext.h" 3 4
2000
unsigned short gs, __gsh;
2001
unsigned short fs, __fsh;
2002
unsigned short es, __esh;
2003
unsigned short ds, __dsh;
2012
unsigned long trapno;
2015
unsigned short cs, __csh;
2016
unsigned long eflags;
2017
unsigned long esp_at_signal;
2018
unsigned short ss, __ssh;
2019
struct _fpstate * fpstate;
2020
unsigned long oldmask;
2023
# 340 "/usr/include/signal.h" 2 3 4
2026
extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__));
2033
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
2034
# 350 "/usr/include/signal.h" 2 3 4
2039
extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__));
2041
# 1 "/usr/include/bits/sigstack.h" 1 3 4
2042
# 26 "/usr/include/bits/sigstack.h" 3 4
2058
# 50 "/usr/include/bits/sigstack.h" 3 4
2059
typedef struct sigaltstack
2065
# 357 "/usr/include/signal.h" 2 3 4
2068
# 1 "/usr/include/sys/ucontext.h" 1 3 4
2069
# 23 "/usr/include/sys/ucontext.h" 3 4
2070
# 1 "/usr/include/signal.h" 1 3 4
2071
# 24 "/usr/include/sys/ucontext.h" 2 3 4
2072
# 1 "/usr/include/bits/wordsize.h" 1 3 4
2073
# 25 "/usr/include/sys/ucontext.h" 2 3 4
2074
# 148 "/usr/include/sys/ucontext.h" 3 4
2081
typedef greg_t gregset_t[19];
2131
unsigned short int significand[4];
2132
unsigned short int exponent;
2135
struct _libc_fpstate
2137
unsigned long int cw;
2138
unsigned long int sw;
2139
unsigned long int tag;
2140
unsigned long int ipoff;
2141
unsigned long int cssel;
2142
unsigned long int dataoff;
2143
unsigned long int datasel;
2144
struct _libc_fpreg _st[8];
2145
unsigned long int status;
2149
typedef struct _libc_fpstate *fpregset_t;
2158
unsigned long int oldmask;
2159
unsigned long int cr2;
2163
typedef struct ucontext
2165
unsigned long int uc_flags;
2166
struct ucontext *uc_link;
2168
mcontext_t uc_mcontext;
2169
__sigset_t uc_sigmask;
2170
struct _libc_fpstate __fpregs_mem;
2172
# 360 "/usr/include/signal.h" 2 3 4
2178
extern int sigstack (struct sigstack *__ss, struct sigstack *__oss)
2179
__attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
2183
extern int sigaltstack (__const struct sigaltstack *__restrict __ss,
2184
struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__));
2192
extern int sighold (int __sig) __attribute__ ((__nothrow__));
2195
extern int sigrelse (int __sig) __attribute__ ((__nothrow__));
2198
extern int sigignore (int __sig) __attribute__ ((__nothrow__));
2201
extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__));
2207
# 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
2208
# 23 "/usr/include/bits/pthreadtypes.h" 3 4
2209
# 1 "/usr/include/bits/wordsize.h" 1 3 4
2210
# 24 "/usr/include/bits/pthreadtypes.h" 2 3 4
2211
# 50 "/usr/include/bits/pthreadtypes.h" 3 4
2212
typedef unsigned long int pthread_t;
2220
# 67 "/usr/include/bits/pthreadtypes.h" 3 4
2221
typedef struct __pthread_internal_slist
2223
struct __pthread_internal_slist *__next;
2224
} __pthread_slist_t;
2232
struct __pthread_mutex_s
2235
unsigned int __count;
2248
unsigned int __nusers;
2252
__pthread_slist_t __list;
2264
} pthread_mutexattr_t;
2274
unsigned int __futex;
2275
__extension__ unsigned long long int __total_seq;
2276
__extension__ unsigned long long int __wakeup_seq;
2277
__extension__ unsigned long long int __woken_seq;
2279
unsigned int __nwaiters;
2280
unsigned int __broadcast_seq;
2283
__extension__ long long int __align;
2290
} pthread_condattr_t;
2294
typedef unsigned int pthread_key_t;
2298
typedef int pthread_once_t;
2306
# 170 "/usr/include/bits/pthreadtypes.h" 3 4
2310
unsigned int __nr_readers;
2311
unsigned int __readers_wakeup;
2312
unsigned int __writer_wakeup;
2313
unsigned int __nr_readers_queued;
2314
unsigned int __nr_writers_queued;
2317
unsigned char __flags;
2318
unsigned char __shared;
2319
unsigned char __pad1;
2320
unsigned char __pad2;
2332
} pthread_rwlockattr_t;
2338
typedef volatile int pthread_spinlock_t;
2347
} pthread_barrier_t;
2353
} pthread_barrierattr_t;
2354
# 395 "/usr/include/signal.h" 2 3 4
2355
# 1 "/usr/include/bits/sigthread.h" 1 3 4
2356
# 31 "/usr/include/bits/sigthread.h" 3 4
2357
extern int pthread_sigmask (int __how,
2358
__const __sigset_t *__restrict __newmask,
2359
__sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__));
2362
extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__));
2366
extern int pthread_sigqueue (pthread_t __threadid, int __signo,
2367
const union sigval __value) __attribute__ ((__nothrow__));
2368
# 396 "/usr/include/signal.h" 2 3 4
2375
extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__));
2377
extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__));
2382
# 36 "/usr/include/glib-2.0/glib/gbacktrace.h" 2
2385
# 48 "/usr/include/glib-2.0/glib/gbacktrace.h"
2386
void g_on_error_query (const gchar *prg_name);
2387
void g_on_error_stack_trace (const gchar *prg_name);
2388
# 66 "/usr/include/glib-2.0/glib/gbacktrace.h"
2390
# 37 "/usr/include/glib-2.0/glib.h" 2
2391
# 1 "/usr/include/glib-2.0/glib/gbase64.h" 1
2392
# 28 "/usr/include/glib-2.0/glib/gbase64.h"
2393
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
2394
# 29 "/usr/include/glib-2.0/glib/gbase64.h" 2
2398
gsize g_base64_encode_step (const guchar *in,
2400
gboolean break_lines,
2404
gsize g_base64_encode_close (gboolean break_lines,
2408
gchar* g_base64_encode (const guchar *data,
2409
gsize len) __attribute__((__malloc__));
2410
gsize g_base64_decode_step (const gchar *in,
2415
guchar *g_base64_decode (const gchar *text,
2416
gsize *out_len) __attribute__((__malloc__));
2417
guchar *g_base64_decode_inplace (gchar *text,
2422
# 38 "/usr/include/glib-2.0/glib.h" 2
2423
# 1 "/usr/include/glib-2.0/glib/gbitlock.h" 1
2424
# 26 "/usr/include/glib-2.0/glib/gbitlock.h"
2425
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
2426
# 27 "/usr/include/glib-2.0/glib/gbitlock.h" 2
2434
void g_bit_lock (volatile gint *address,
2436
gboolean g_bit_trylock (volatile gint *address,
2438
void g_bit_unlock (volatile gint *address,
2442
# 39 "/usr/include/glib-2.0/glib.h" 2
2443
# 1 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 1
2444
# 27 "/usr/include/glib-2.0/glib/gbookmarkfile.h"
2445
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
2446
# 28 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 2
2450
# 57 "/usr/include/glib-2.0/glib/gbookmarkfile.h"
2453
G_BOOKMARK_FILE_ERROR_INVALID_URI,
2454
G_BOOKMARK_FILE_ERROR_INVALID_VALUE,
2455
G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED,
2456
G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND,
2457
G_BOOKMARK_FILE_ERROR_READ,
2458
G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING,
2459
G_BOOKMARK_FILE_ERROR_WRITE,
2460
G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND
2461
} GBookmarkFileError;
2463
GQuark g_bookmark_file_error_quark (void);
2471
typedef struct _GBookmarkFile GBookmarkFile;
2473
GBookmarkFile *g_bookmark_file_new (void);
2474
void g_bookmark_file_free (GBookmarkFile *bookmark);
2476
gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark,
2477
const gchar *filename,
2479
gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark,
2483
gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark,
2487
gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark,
2489
GError **error) __attribute__((__malloc__));
2490
gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark,
2491
const gchar *filename,
2494
void g_bookmark_file_set_title (GBookmarkFile *bookmark,
2496
const gchar *title);
2497
gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark,
2499
GError **error) __attribute__((__malloc__));
2500
void g_bookmark_file_set_description (GBookmarkFile *bookmark,
2502
const gchar *description);
2503
gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark,
2505
GError **error) __attribute__((__malloc__));
2506
void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark,
2508
const gchar *mime_type);
2509
gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark,
2511
GError **error) __attribute__((__malloc__));
2512
void g_bookmark_file_set_groups (GBookmarkFile *bookmark,
2514
const gchar **groups,
2516
void g_bookmark_file_add_group (GBookmarkFile *bookmark,
2518
const gchar *group);
2519
gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark,
2523
gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark,
2526
GError **error) __attribute__((__malloc__));
2527
void g_bookmark_file_add_application (GBookmarkFile *bookmark,
2531
gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark,
2535
gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark,
2538
GError **error) __attribute__((__malloc__));
2539
gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark,
2546
gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark,
2553
void g_bookmark_file_set_is_private (GBookmarkFile *bookmark,
2555
gboolean is_private);
2556
gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark,
2559
void g_bookmark_file_set_icon (GBookmarkFile *bookmark,
2562
const gchar *mime_type);
2563
gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark,
2568
void g_bookmark_file_set_added (GBookmarkFile *bookmark,
2571
time_t g_bookmark_file_get_added (GBookmarkFile *bookmark,
2574
void g_bookmark_file_set_modified (GBookmarkFile *bookmark,
2577
time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark,
2580
void g_bookmark_file_set_visited (GBookmarkFile *bookmark,
2583
time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark,
2586
gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark,
2588
gint g_bookmark_file_get_size (GBookmarkFile *bookmark);
2589
gchar ** g_bookmark_file_get_uris (GBookmarkFile *bookmark,
2590
gsize *length) __attribute__((__malloc__));
2591
gboolean g_bookmark_file_remove_group (GBookmarkFile *bookmark,
2595
gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark,
2599
gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark,
2602
gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark,
2603
const gchar *old_uri,
2604
const gchar *new_uri,
2608
# 40 "/usr/include/glib-2.0/glib.h" 2
2609
# 1 "/usr/include/glib-2.0/glib/gcache.h" 1
2610
# 34 "/usr/include/glib-2.0/glib/gcache.h"
2611
# 1 "/usr/include/glib-2.0/glib/glist.h" 1
2612
# 34 "/usr/include/glib-2.0/glib/glist.h"
2613
# 1 "/usr/include/glib-2.0/glib/gmem.h" 1
2614
# 34 "/usr/include/glib-2.0/glib/gmem.h"
2615
# 1 "/usr/include/glib-2.0/glib/gslice.h" 1
2616
# 27 "/usr/include/glib-2.0/glib/gslice.h"
2617
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
2618
# 28 "/usr/include/glib-2.0/glib/gslice.h" 2
2624
gpointer g_slice_alloc (gsize block_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2625
gpointer g_slice_alloc0 (gsize block_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2626
gpointer g_slice_copy (gsize block_size,
2627
gconstpointer mem_block) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2628
void g_slice_free1 (gsize block_size,
2629
gpointer mem_block);
2630
void g_slice_free_chain_with_offset (gsize block_size,
2633
# 72 "/usr/include/glib-2.0/glib/gslice.h"
2635
G_SLICE_CONFIG_ALWAYS_MALLOC = 1,
2636
G_SLICE_CONFIG_BYPASS_MAGAZINES,
2637
G_SLICE_CONFIG_WORKING_SET_MSECS,
2638
G_SLICE_CONFIG_COLOR_INCREMENT,
2639
G_SLICE_CONFIG_CHUNK_SIZES,
2640
G_SLICE_CONFIG_CONTENTION_COUNTER
2642
void g_slice_set_config (GSliceConfig ckey, gint64 value);
2643
gint64 g_slice_get_config (GSliceConfig ckey);
2644
gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values);
2647
# 35 "/usr/include/glib-2.0/glib/gmem.h" 2
2648
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
2649
# 36 "/usr/include/glib-2.0/glib/gmem.h" 2
2652
# 52 "/usr/include/glib-2.0/glib/gmem.h"
2653
typedef struct _GMemVTable GMemVTable;
2654
# 71 "/usr/include/glib-2.0/glib/gmem.h"
2655
void g_free (gpointer mem);
2657
gpointer g_malloc (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2658
gpointer g_malloc0 (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2659
gpointer g_realloc (gpointer mem,
2660
gsize n_bytes) __attribute__((warn_unused_result));
2661
gpointer g_try_malloc (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2662
gpointer g_try_malloc0 (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
2663
gpointer g_try_realloc (gpointer mem,
2664
gsize n_bytes) __attribute__((warn_unused_result));
2666
gpointer g_malloc_n (gsize n_blocks,
2667
gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
2668
gpointer g_malloc0_n (gsize n_blocks,
2669
gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
2670
gpointer g_realloc_n (gpointer mem,
2672
gsize n_block_bytes) __attribute__((warn_unused_result));
2673
gpointer g_try_malloc_n (gsize n_blocks,
2674
gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
2675
gpointer g_try_malloc0_n (gsize n_blocks,
2676
gsize n_block_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1,2)));
2677
gpointer g_try_realloc_n (gpointer mem,
2679
gsize n_block_bytes) __attribute__((warn_unused_result));
2680
# 241 "/usr/include/glib-2.0/glib/gmem.h"
2681
struct _GMemVTable {
2682
gpointer (*malloc) (gsize n_bytes);
2683
gpointer (*realloc) (gpointer mem,
2685
void (*free) (gpointer mem);
2687
gpointer (*calloc) (gsize n_blocks,
2688
gsize n_block_bytes);
2689
gpointer (*try_malloc) (gsize n_bytes);
2690
gpointer (*try_realloc) (gpointer mem,
2693
void g_mem_set_vtable (GMemVTable *vtable);
2694
gboolean g_mem_is_system_malloc (void);
2696
extern gboolean g_mem_gc_friendly;
2700
extern GMemVTable *glib_mem_profiler_table;
2701
void g_mem_profile (void);
2706
typedef struct _GAllocator GAllocator;
2707
typedef struct _GMemChunk GMemChunk;
2708
# 285 "/usr/include/glib-2.0/glib/gmem.h"
2709
GMemChunk* g_mem_chunk_new (const gchar *name,
2713
void g_mem_chunk_destroy (GMemChunk *mem_chunk);
2714
gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk);
2715
gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk);
2716
void g_mem_chunk_free (GMemChunk *mem_chunk,
2718
void g_mem_chunk_clean (GMemChunk *mem_chunk);
2719
void g_mem_chunk_reset (GMemChunk *mem_chunk);
2720
void g_mem_chunk_print (GMemChunk *mem_chunk);
2721
void g_mem_chunk_info (void);
2722
void g_blow_chunks (void);
2723
GAllocator*g_allocator_new (const gchar *name,
2725
void g_allocator_free (GAllocator *allocator);
2732
# 35 "/usr/include/glib-2.0/glib/glist.h" 2
2736
typedef struct _GList GList;
2747
GList* g_list_alloc (void) __attribute__((warn_unused_result));
2748
void g_list_free (GList *list);
2749
void g_list_free_1 (GList *list);
2751
void g_list_free_full (GList *list,
2752
GDestroyNotify free_func);
2753
GList* g_list_append (GList *list,
2754
gpointer data) __attribute__((warn_unused_result));
2755
GList* g_list_prepend (GList *list,
2756
gpointer data) __attribute__((warn_unused_result));
2757
GList* g_list_insert (GList *list,
2759
gint position) __attribute__((warn_unused_result));
2760
GList* g_list_insert_sorted (GList *list,
2762
GCompareFunc func) __attribute__((warn_unused_result));
2763
GList* g_list_insert_sorted_with_data (GList *list,
2765
GCompareDataFunc func,
2766
gpointer user_data) __attribute__((warn_unused_result));
2767
GList* g_list_insert_before (GList *list,
2769
gpointer data) __attribute__((warn_unused_result));
2770
GList* g_list_concat (GList *list1,
2771
GList *list2) __attribute__((warn_unused_result));
2772
GList* g_list_remove (GList *list,
2773
gconstpointer data) __attribute__((warn_unused_result));
2774
GList* g_list_remove_all (GList *list,
2775
gconstpointer data) __attribute__((warn_unused_result));
2776
GList* g_list_remove_link (GList *list,
2777
GList *llink) __attribute__((warn_unused_result));
2778
GList* g_list_delete_link (GList *list,
2779
GList *link_) __attribute__((warn_unused_result));
2780
GList* g_list_reverse (GList *list) __attribute__((warn_unused_result));
2781
GList* g_list_copy (GList *list) __attribute__((warn_unused_result));
2782
GList* g_list_nth (GList *list,
2784
GList* g_list_nth_prev (GList *list,
2786
GList* g_list_find (GList *list,
2787
gconstpointer data);
2788
GList* g_list_find_custom (GList *list,
2791
gint g_list_position (GList *list,
2793
gint g_list_index (GList *list,
2794
gconstpointer data);
2795
GList* g_list_last (GList *list);
2796
GList* g_list_first (GList *list);
2797
guint g_list_length (GList *list);
2798
void g_list_foreach (GList *list,
2800
gpointer user_data);
2801
GList* g_list_sort (GList *list,
2802
GCompareFunc compare_func) __attribute__((warn_unused_result));
2803
GList* g_list_sort_with_data (GList *list,
2804
GCompareDataFunc compare_func,
2805
gpointer user_data) __attribute__((warn_unused_result));
2806
gpointer g_list_nth_data (GList *list,
2814
void g_list_push_allocator (gpointer allocator);
2815
void g_list_pop_allocator (void);
2819
# 35 "/usr/include/glib-2.0/glib/gcache.h" 2
2823
typedef struct _GCache GCache;
2825
typedef gpointer (*GCacheNewFunc) (gpointer key);
2826
typedef gpointer (*GCacheDupFunc) (gpointer value);
2827
typedef void (*GCacheDestroyFunc) (gpointer value);
2831
GCache* g_cache_new (GCacheNewFunc value_new_func,
2832
GCacheDestroyFunc value_destroy_func,
2833
GCacheDupFunc key_dup_func,
2834
GCacheDestroyFunc key_destroy_func,
2835
GHashFunc hash_key_func,
2836
GHashFunc hash_value_func,
2837
GEqualFunc key_equal_func);
2838
void g_cache_destroy (GCache *cache);
2839
gpointer g_cache_insert (GCache *cache,
2841
void g_cache_remove (GCache *cache,
2842
gconstpointer value);
2843
void g_cache_key_foreach (GCache *cache,
2845
gpointer user_data);
2847
void g_cache_value_foreach (GCache *cache,
2849
gpointer user_data);
2853
# 41 "/usr/include/glib-2.0/glib.h" 2
2854
# 1 "/usr/include/glib-2.0/glib/gchecksum.h" 1
2855
# 28 "/usr/include/glib-2.0/glib/gchecksum.h"
2856
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
2857
# 29 "/usr/include/glib-2.0/glib/gchecksum.h" 2
2860
# 46 "/usr/include/glib-2.0/glib/gchecksum.h"
2866
# 61 "/usr/include/glib-2.0/glib/gchecksum.h"
2867
typedef struct _GChecksum GChecksum;
2869
gssize g_checksum_type_get_length (GChecksumType checksum_type);
2871
GChecksum * g_checksum_new (GChecksumType checksum_type);
2872
void g_checksum_reset (GChecksum *checksum);
2873
GChecksum * g_checksum_copy (const GChecksum *checksum);
2874
void g_checksum_free (GChecksum *checksum);
2875
void g_checksum_update (GChecksum *checksum,
2878
const gchar *g_checksum_get_string (GChecksum *checksum);
2879
void g_checksum_get_digest (GChecksum *checksum,
2883
gchar *g_compute_checksum_for_data (GChecksumType checksum_type,
2886
gchar *g_compute_checksum_for_string (GChecksumType checksum_type,
2891
# 42 "/usr/include/glib-2.0/glib.h" 2
2892
# 1 "/usr/include/glib-2.0/glib/gcompletion.h" 1
2893
# 34 "/usr/include/glib-2.0/glib/gcompletion.h"
2894
# 1 "/usr/include/glib-2.0/glib/glist.h" 1
2895
# 35 "/usr/include/glib-2.0/glib/gcompletion.h" 2
2899
typedef struct _GCompletion GCompletion;
2901
typedef gchar* (*GCompletionFunc) (gpointer);
2906
typedef gint (*GCompletionStrncmpFunc) (const gchar *s1,
2913
GCompletionFunc func;
2917
GCompletionStrncmpFunc strncmp_func;
2922
GCompletion* g_completion_new (GCompletionFunc func);
2923
void g_completion_add_items (GCompletion* cmp,
2925
void g_completion_remove_items (GCompletion* cmp,
2927
void g_completion_clear_items (GCompletion* cmp);
2928
GList* g_completion_complete (GCompletion* cmp,
2929
const gchar* prefix,
2930
gchar** new_prefix);
2931
GList* g_completion_complete_utf8 (GCompletion *cmp,
2932
const gchar* prefix,
2933
gchar** new_prefix);
2934
void g_completion_set_compare (GCompletion *cmp,
2935
GCompletionStrncmpFunc strncmp_func);
2936
void g_completion_free (GCompletion* cmp);
2941
# 43 "/usr/include/glib-2.0/glib.h" 2
2942
# 1 "/usr/include/glib-2.0/glib/gconvert.h" 1
2943
# 34 "/usr/include/glib-2.0/glib/gconvert.h"
2944
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
2945
# 35 "/usr/include/glib-2.0/glib/gconvert.h" 2
2948
# 50 "/usr/include/glib-2.0/glib/gconvert.h"
2951
G_CONVERT_ERROR_NO_CONVERSION,
2952
G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
2953
G_CONVERT_ERROR_FAILED,
2954
G_CONVERT_ERROR_PARTIAL_INPUT,
2955
G_CONVERT_ERROR_BAD_URI,
2956
G_CONVERT_ERROR_NOT_ABSOLUTE_PATH
2958
# 68 "/usr/include/glib-2.0/glib/gconvert.h"
2959
GQuark g_convert_error_quark (void);
2960
# 77 "/usr/include/glib-2.0/glib/gconvert.h"
2961
typedef struct _GIConv *GIConv;
2963
GIConv g_iconv_open (const gchar *to_codeset,
2964
const gchar *from_codeset);
2965
gsize g_iconv (GIConv converter,
2967
gsize *inbytes_left,
2969
gsize *outbytes_left);
2970
gint g_iconv_close (GIConv converter);
2973
gchar* g_convert (const gchar *str,
2975
const gchar *to_codeset,
2976
const gchar *from_codeset,
2978
gsize *bytes_written,
2979
GError **error) __attribute__((__malloc__));
2980
gchar* g_convert_with_iconv (const gchar *str,
2984
gsize *bytes_written,
2985
GError **error) __attribute__((__malloc__));
2986
gchar* g_convert_with_fallback (const gchar *str,
2988
const gchar *to_codeset,
2989
const gchar *from_codeset,
2990
const gchar *fallback,
2992
gsize *bytes_written,
2993
GError **error) __attribute__((__malloc__));
2998
gchar* g_locale_to_utf8 (const gchar *opsysstring,
3001
gsize *bytes_written,
3002
GError **error) __attribute__((__malloc__));
3003
gchar* g_locale_from_utf8 (const gchar *utf8string,
3006
gsize *bytes_written,
3007
GError **error) __attribute__((__malloc__));
3008
# 135 "/usr/include/glib-2.0/glib/gconvert.h"
3009
gchar* g_filename_to_utf8 (const gchar *opsysstring,
3012
gsize *bytes_written,
3013
GError **error) __attribute__((__malloc__));
3014
gchar* g_filename_from_utf8 (const gchar *utf8string,
3017
gsize *bytes_written,
3018
GError **error) __attribute__((__malloc__));
3020
gchar *g_filename_from_uri (const gchar *uri,
3022
GError **error) __attribute__((__malloc__));
3024
gchar *g_filename_to_uri (const gchar *filename,
3025
const gchar *hostname,
3026
GError **error) __attribute__((__malloc__));
3027
gchar *g_filename_display_name (const gchar *filename) __attribute__((__malloc__));
3028
gboolean g_get_filename_charsets (const gchar ***charsets);
3030
gchar *g_filename_display_basename (const gchar *filename) __attribute__((__malloc__));
3032
gchar **g_uri_list_extract_uris (const gchar *uri_list) __attribute__((__malloc__));
3035
# 44 "/usr/include/glib-2.0/glib.h" 2
3036
# 1 "/usr/include/glib-2.0/glib/gdataset.h" 1
3037
# 34 "/usr/include/glib-2.0/glib/gdataset.h"
3038
# 1 "/usr/include/glib-2.0/glib/gquark.h" 1
3039
# 35 "/usr/include/glib-2.0/glib/gdataset.h" 2
3043
typedef struct _GData GData;
3045
typedef void (*GDataForeachFunc) (GQuark key_id,
3047
gpointer user_data);
3051
void g_datalist_init (GData **datalist);
3052
void g_datalist_clear (GData **datalist);
3053
gpointer g_datalist_id_get_data (GData **datalist,
3055
void g_datalist_id_set_data_full (GData **datalist,
3058
GDestroyNotify destroy_func);
3059
gpointer g_datalist_id_remove_no_notify (GData **datalist,
3061
void g_datalist_foreach (GData **datalist,
3062
GDataForeachFunc func,
3063
gpointer user_data);
3064
# 69 "/usr/include/glib-2.0/glib/gdataset.h"
3065
void g_datalist_set_flags (GData **datalist,
3067
void g_datalist_unset_flags (GData **datalist,
3069
guint g_datalist_get_flags (GData **datalist);
3070
# 93 "/usr/include/glib-2.0/glib/gdataset.h"
3071
void g_dataset_destroy (gconstpointer dataset_location);
3072
gpointer g_dataset_id_get_data (gconstpointer dataset_location,
3074
void g_dataset_id_set_data_full (gconstpointer dataset_location,
3077
GDestroyNotify destroy_func);
3078
gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location,
3080
void g_dataset_foreach (gconstpointer dataset_location,
3081
GDataForeachFunc func,
3082
gpointer user_data);
3083
# 120 "/usr/include/glib-2.0/glib/gdataset.h"
3085
# 45 "/usr/include/glib-2.0/glib.h" 2
3086
# 1 "/usr/include/glib-2.0/glib/gdate.h" 1
3087
# 36 "/usr/include/glib-2.0/glib/gdate.h"
3088
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
3089
# 37 "/usr/include/glib-2.0/glib/gdate.h" 2
3090
# 1 "/usr/include/glib-2.0/glib/gquark.h" 1
3091
# 38 "/usr/include/glib-2.0/glib/gdate.h" 2
3094
# 50 "/usr/include/glib-2.0/glib/gdate.h"
3095
typedef gint32 GTime;
3096
typedef guint16 GDateYear;
3097
typedef guint8 GDateDay;
3098
typedef struct _GDate GDate;
3111
G_DATE_BAD_WEEKDAY = 0,
3114
G_DATE_WEDNESDAY = 3,
3115
G_DATE_THURSDAY = 4,
3117
G_DATE_SATURDAY = 6,
3122
G_DATE_BAD_MONTH = 0,
3124
G_DATE_FEBRUARY = 2,
3131
G_DATE_SEPTEMBER = 9,
3132
G_DATE_OCTOBER = 10,
3133
G_DATE_NOVEMBER = 11,
3134
G_DATE_DECEMBER = 12
3136
# 101 "/usr/include/glib-2.0/glib/gdate.h"
3139
guint julian_days : 32;
3158
GDate* g_date_new (void);
3159
GDate* g_date_new_dmy (GDateDay day,
3162
GDate* g_date_new_julian (guint32 julian_day);
3163
void g_date_free (GDate *date);
3170
gboolean g_date_valid (const GDate *date);
3171
gboolean g_date_valid_day (GDateDay day) __attribute__((__const__));
3172
gboolean g_date_valid_month (GDateMonth month) __attribute__((__const__));
3173
gboolean g_date_valid_year (GDateYear year) __attribute__((__const__));
3174
gboolean g_date_valid_weekday (GDateWeekday weekday) __attribute__((__const__));
3175
gboolean g_date_valid_julian (guint32 julian_date) __attribute__((__const__));
3176
gboolean g_date_valid_dmy (GDateDay day,
3178
GDateYear year) __attribute__((__const__));
3180
GDateWeekday g_date_get_weekday (const GDate *date);
3181
GDateMonth g_date_get_month (const GDate *date);
3182
GDateYear g_date_get_year (const GDate *date);
3183
GDateDay g_date_get_day (const GDate *date);
3184
guint32 g_date_get_julian (const GDate *date);
3185
guint g_date_get_day_of_year (const GDate *date);
3192
guint g_date_get_monday_week_of_year (const GDate *date);
3193
guint g_date_get_sunday_week_of_year (const GDate *date);
3194
guint g_date_get_iso8601_week_of_year (const GDate *date);
3200
void g_date_clear (GDate *date,
3207
void g_date_set_parse (GDate *date,
3209
void g_date_set_time_t (GDate *date,
3211
void g_date_set_time_val (GDate *date,
3214
void g_date_set_time (GDate *date,
3217
void g_date_set_month (GDate *date,
3219
void g_date_set_day (GDate *date,
3221
void g_date_set_year (GDate *date,
3223
void g_date_set_dmy (GDate *date,
3227
void g_date_set_julian (GDate *date,
3228
guint32 julian_date);
3229
gboolean g_date_is_first_of_month (const GDate *date);
3230
gboolean g_date_is_last_of_month (const GDate *date);
3233
void g_date_add_days (GDate *date,
3235
void g_date_subtract_days (GDate *date,
3239
void g_date_add_months (GDate *date,
3241
void g_date_subtract_months (GDate *date,
3245
void g_date_add_years (GDate *date,
3247
void g_date_subtract_years (GDate *date,
3249
gboolean g_date_is_leap_year (GDateYear year) __attribute__((__const__));
3250
guint8 g_date_get_days_in_month (GDateMonth month,
3251
GDateYear year) __attribute__((__const__));
3252
guint8 g_date_get_monday_weeks_in_year (GDateYear year) __attribute__((__const__));
3253
guint8 g_date_get_sunday_weeks_in_year (GDateYear year) __attribute__((__const__));
3257
gint g_date_days_between (const GDate *date1,
3258
const GDate *date2);
3261
gint g_date_compare (const GDate *lhs,
3263
void g_date_to_struct_tm (const GDate *date,
3266
void g_date_clamp (GDate *date,
3267
const GDate *min_date,
3268
const GDate *max_date);
3271
void g_date_order (GDate *date1, GDate *date2);
3276
gsize g_date_strftime (gchar *s,
3278
const gchar *format,
3280
# 261 "/usr/include/glib-2.0/glib/gdate.h"
3282
# 46 "/usr/include/glib-2.0/glib.h" 2
3283
# 1 "/usr/include/glib-2.0/glib/gdatetime.h" 1
3284
# 33 "/usr/include/glib-2.0/glib/gdatetime.h"
3285
# 1 "/usr/include/glib-2.0/glib/gtimezone.h" 1
3286
# 29 "/usr/include/glib-2.0/glib/gtimezone.h"
3287
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
3288
# 30 "/usr/include/glib-2.0/glib/gtimezone.h" 2
3292
typedef struct _GTimeZone GTimeZone;
3293
# 50 "/usr/include/glib-2.0/glib/gtimezone.h"
3296
G_TIME_TYPE_STANDARD,
3297
G_TIME_TYPE_DAYLIGHT,
3298
G_TIME_TYPE_UNIVERSAL
3301
GTimeZone * g_time_zone_new (const gchar *identifier);
3302
GTimeZone * g_time_zone_new_utc (void);
3303
GTimeZone * g_time_zone_new_local (void);
3305
GTimeZone * g_time_zone_ref (GTimeZone *tz);
3306
void g_time_zone_unref (GTimeZone *tz);
3308
gint g_time_zone_find_interval (GTimeZone *tz,
3312
gint g_time_zone_adjust_time (GTimeZone *tz,
3316
const gchar * g_time_zone_get_abbreviation (GTimeZone *tz,
3318
gint32 g_time_zone_get_offset (GTimeZone *tz,
3320
gboolean g_time_zone_is_dst (GTimeZone *tz,
3324
# 34 "/usr/include/glib-2.0/glib/gdatetime.h" 2
3327
# 89 "/usr/include/glib-2.0/glib/gdatetime.h"
3328
typedef gint64 GTimeSpan;
3329
# 99 "/usr/include/glib-2.0/glib/gdatetime.h"
3330
typedef struct _GDateTime GDateTime;
3332
void g_date_time_unref (GDateTime *datetime);
3333
GDateTime * g_date_time_ref (GDateTime *datetime);
3335
GDateTime * g_date_time_new_now (GTimeZone *tz);
3336
GDateTime * g_date_time_new_now_local (void);
3337
GDateTime * g_date_time_new_now_utc (void);
3339
GDateTime * g_date_time_new_from_unix_local (gint64 t);
3340
GDateTime * g_date_time_new_from_unix_utc (gint64 t);
3342
GDateTime * g_date_time_new_from_timeval_local (const GTimeVal *tv);
3343
GDateTime * g_date_time_new_from_timeval_utc (const GTimeVal *tv);
3345
GDateTime * g_date_time_new (GTimeZone *tz,
3352
GDateTime * g_date_time_new_local (gint year,
3358
GDateTime * g_date_time_new_utc (gint year,
3365
__attribute__((warn_unused_result))
3366
GDateTime * g_date_time_add (GDateTime *datetime,
3367
GTimeSpan timespan);
3369
__attribute__((warn_unused_result))
3370
GDateTime * g_date_time_add_years (GDateTime *datetime,
3372
__attribute__((warn_unused_result))
3373
GDateTime * g_date_time_add_months (GDateTime *datetime,
3375
__attribute__((warn_unused_result))
3376
GDateTime * g_date_time_add_weeks (GDateTime *datetime,
3378
__attribute__((warn_unused_result))
3379
GDateTime * g_date_time_add_days (GDateTime *datetime,
3382
__attribute__((warn_unused_result))
3383
GDateTime * g_date_time_add_hours (GDateTime *datetime,
3385
__attribute__((warn_unused_result))
3386
GDateTime * g_date_time_add_minutes (GDateTime *datetime,
3388
__attribute__((warn_unused_result))
3389
GDateTime * g_date_time_add_seconds (GDateTime *datetime,
3392
__attribute__((warn_unused_result))
3393
GDateTime * g_date_time_add_full (GDateTime *datetime,
3401
gint g_date_time_compare (gconstpointer dt1,
3403
GTimeSpan g_date_time_difference (GDateTime *end,
3405
guint g_date_time_hash (gconstpointer datetime);
3406
gboolean g_date_time_equal (gconstpointer dt1,
3409
void g_date_time_get_ymd (GDateTime *datetime,
3414
gint g_date_time_get_year (GDateTime *datetime);
3415
gint g_date_time_get_month (GDateTime *datetime);
3416
gint g_date_time_get_day_of_month (GDateTime *datetime);
3418
gint g_date_time_get_week_numbering_year (GDateTime *datetime);
3419
gint g_date_time_get_week_of_year (GDateTime *datetime);
3420
gint g_date_time_get_day_of_week (GDateTime *datetime);
3422
gint g_date_time_get_day_of_year (GDateTime *datetime);
3424
gint g_date_time_get_hour (GDateTime *datetime);
3425
gint g_date_time_get_minute (GDateTime *datetime);
3426
gint g_date_time_get_second (GDateTime *datetime);
3427
gint g_date_time_get_microsecond (GDateTime *datetime);
3428
gdouble g_date_time_get_seconds (GDateTime *datetime);
3430
gint64 g_date_time_to_unix (GDateTime *datetime);
3431
gboolean g_date_time_to_timeval (GDateTime *datetime,
3434
GTimeSpan g_date_time_get_utc_offset (GDateTime *datetime);
3435
const gchar * g_date_time_get_timezone_abbreviation (GDateTime *datetime);
3436
gboolean g_date_time_is_daylight_savings (GDateTime *datetime);
3438
GDateTime * g_date_time_to_timezone (GDateTime *datetime,
3440
GDateTime * g_date_time_to_local (GDateTime *datetime);
3441
GDateTime * g_date_time_to_utc (GDateTime *datetime);
3443
gchar * g_date_time_format (GDateTime *datetime,
3444
const gchar *format) __attribute__((__malloc__));
3447
# 47 "/usr/include/glib-2.0/glib.h" 2
3448
# 1 "/usr/include/glib-2.0/glib/gdir.h" 1
3449
# 31 "/usr/include/glib-2.0/glib/gdir.h"
3450
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
3451
# 32 "/usr/include/glib-2.0/glib/gdir.h" 2
3455
typedef struct _GDir GDir;
3463
GDir * g_dir_open (const gchar *path,
3466
const gchar *g_dir_read_name (GDir *dir);
3467
void g_dir_rewind (GDir *dir);
3468
void g_dir_close (GDir *dir);
3471
# 48 "/usr/include/glib-2.0/glib.h" 2
3472
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
3473
# 49 "/usr/include/glib-2.0/glib.h" 2
3474
# 1 "/usr/include/glib-2.0/glib/gfileutils.h" 1
3475
# 28 "/usr/include/glib-2.0/glib/gfileutils.h"
3476
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
3477
# 29 "/usr/include/glib-2.0/glib/gfileutils.h" 2
3488
G_FILE_ERROR_NAMETOOLONG,
3490
G_FILE_ERROR_NOTDIR,
3494
G_FILE_ERROR_TXTBSY,
3518
G_FILE_TEST_IS_REGULAR = 1 << 0,
3519
G_FILE_TEST_IS_SYMLINK = 1 << 1,
3520
G_FILE_TEST_IS_DIR = 1 << 2,
3521
G_FILE_TEST_IS_EXECUTABLE = 1 << 3,
3522
G_FILE_TEST_EXISTS = 1 << 4
3525
GQuark g_file_error_quark (void);
3527
GFileError g_file_error_from_errno (gint err_no);
3528
# 87 "/usr/include/glib-2.0/glib/gfileutils.h"
3529
gboolean g_file_test (const gchar *filename,
3531
gboolean g_file_get_contents (const gchar *filename,
3535
gboolean g_file_set_contents (const gchar *filename,
3536
const gchar *contents,
3539
gchar *g_file_read_link (const gchar *filename,
3543
gint g_mkstemp (gchar *tmpl);
3544
gint g_mkstemp_full (gchar *tmpl,
3549
gint g_file_open_tmp (const gchar *tmpl,
3553
char *g_format_size_for_display (goffset size);
3555
gchar *g_build_path (const gchar *separator,
3556
const gchar *first_element,
3557
...) __attribute__((__malloc__)) __attribute__((__sentinel__));
3558
gchar *g_build_pathv (const gchar *separator,
3559
gchar **args) __attribute__((__malloc__));
3561
gchar *g_build_filename (const gchar *first_element,
3562
...) __attribute__((__malloc__)) __attribute__((__sentinel__));
3563
gchar *g_build_filenamev (gchar **args) __attribute__((__malloc__));
3565
int g_mkdir_with_parents (const gchar *pathname,
3569
# 50 "/usr/include/glib-2.0/glib.h" 2
3570
# 1 "/usr/include/glib-2.0/glib/ghash.h" 1
3571
# 34 "/usr/include/glib-2.0/glib/ghash.h"
3572
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
3573
# 35 "/usr/include/glib-2.0/glib/ghash.h" 2
3574
# 1 "/usr/include/glib-2.0/glib/glist.h" 1
3575
# 36 "/usr/include/glib-2.0/glib/ghash.h" 2
3579
typedef struct _GHashTable GHashTable;
3581
typedef gboolean (*GHRFunc) (gpointer key,
3583
gpointer user_data);
3585
typedef struct _GHashTableIter GHashTableIter;
3587
struct _GHashTableIter
3600
GHashTable* g_hash_table_new (GHashFunc hash_func,
3601
GEqualFunc key_equal_func);
3602
GHashTable* g_hash_table_new_full (GHashFunc hash_func,
3603
GEqualFunc key_equal_func,
3604
GDestroyNotify key_destroy_func,
3605
GDestroyNotify value_destroy_func);
3606
void g_hash_table_destroy (GHashTable *hash_table);
3607
void g_hash_table_insert (GHashTable *hash_table,
3610
void g_hash_table_replace (GHashTable *hash_table,
3613
gboolean g_hash_table_remove (GHashTable *hash_table,
3615
void g_hash_table_remove_all (GHashTable *hash_table);
3616
gboolean g_hash_table_steal (GHashTable *hash_table,
3618
void g_hash_table_steal_all (GHashTable *hash_table);
3619
gpointer g_hash_table_lookup (GHashTable *hash_table,
3621
gboolean g_hash_table_lookup_extended (GHashTable *hash_table,
3622
gconstpointer lookup_key,
3625
void g_hash_table_foreach (GHashTable *hash_table,
3627
gpointer user_data);
3628
gpointer g_hash_table_find (GHashTable *hash_table,
3630
gpointer user_data);
3631
guint g_hash_table_foreach_remove (GHashTable *hash_table,
3633
gpointer user_data);
3634
guint g_hash_table_foreach_steal (GHashTable *hash_table,
3636
gpointer user_data);
3637
guint g_hash_table_size (GHashTable *hash_table);
3638
GList * g_hash_table_get_keys (GHashTable *hash_table);
3639
GList * g_hash_table_get_values (GHashTable *hash_table);
3641
void g_hash_table_iter_init (GHashTableIter *iter,
3642
GHashTable *hash_table);
3643
gboolean g_hash_table_iter_next (GHashTableIter *iter,
3646
GHashTable* g_hash_table_iter_get_hash_table (GHashTableIter *iter);
3647
void g_hash_table_iter_remove (GHashTableIter *iter);
3648
void g_hash_table_iter_steal (GHashTableIter *iter);
3651
GHashTable* g_hash_table_ref (GHashTable *hash_table);
3652
void g_hash_table_unref (GHashTable *hash_table);
3653
# 138 "/usr/include/glib-2.0/glib/ghash.h"
3654
gboolean g_str_equal (gconstpointer v1,
3656
guint g_str_hash (gconstpointer v);
3658
gboolean g_int_equal (gconstpointer v1,
3660
guint g_int_hash (gconstpointer v);
3662
gboolean g_int64_equal (gconstpointer v1,
3664
guint g_int64_hash (gconstpointer v);
3666
gboolean g_double_equal (gconstpointer v1,
3668
guint g_double_hash (gconstpointer v);
3676
guint g_direct_hash (gconstpointer v) __attribute__((__const__));
3677
gboolean g_direct_equal (gconstpointer v1,
3678
gconstpointer v2) __attribute__((__const__));
3681
# 51 "/usr/include/glib-2.0/glib.h" 2
3682
# 1 "/usr/include/glib-2.0/glib/ghook.h" 1
3683
# 34 "/usr/include/glib-2.0/glib/ghook.h"
3684
# 1 "/usr/include/glib-2.0/glib/gmem.h" 1
3685
# 35 "/usr/include/glib-2.0/glib/ghook.h" 2
3691
typedef struct _GHook GHook;
3692
typedef struct _GHookList GHookList;
3694
typedef gint (*GHookCompareFunc) (GHook *new_hook,
3696
typedef gboolean (*GHookFindFunc) (GHook *hook,
3698
typedef void (*GHookMarshaller) (GHook *hook,
3699
gpointer marshal_data);
3700
typedef gboolean (*GHookCheckMarshaller) (GHook *hook,
3701
gpointer marshal_data);
3702
typedef void (*GHookFunc) (gpointer data);
3703
typedef gboolean (*GHookCheckFunc) (gpointer data);
3704
typedef void (*GHookFinalizeFunc) (GHookList *hook_list,
3708
G_HOOK_FLAG_ACTIVE = 1 << 0,
3709
G_HOOK_FLAG_IN_CALL = 1 << 1,
3710
G_HOOK_FLAG_MASK = 0x0f
3719
guint hook_size : 16;
3723
GHookFinalizeFunc finalize_hook;
3735
GDestroyNotify destroy;
3737
# 106 "/usr/include/glib-2.0/glib/ghook.h"
3738
void g_hook_list_init (GHookList *hook_list,
3740
void g_hook_list_clear (GHookList *hook_list);
3741
GHook* g_hook_alloc (GHookList *hook_list);
3742
void g_hook_free (GHookList *hook_list,
3744
GHook * g_hook_ref (GHookList *hook_list,
3746
void g_hook_unref (GHookList *hook_list,
3748
gboolean g_hook_destroy (GHookList *hook_list,
3750
void g_hook_destroy_link (GHookList *hook_list,
3752
void g_hook_prepend (GHookList *hook_list,
3754
void g_hook_insert_before (GHookList *hook_list,
3757
void g_hook_insert_sorted (GHookList *hook_list,
3759
GHookCompareFunc func);
3760
GHook* g_hook_get (GHookList *hook_list,
3762
GHook* g_hook_find (GHookList *hook_list,
3763
gboolean need_valids,
3766
GHook* g_hook_find_data (GHookList *hook_list,
3767
gboolean need_valids,
3769
GHook* g_hook_find_func (GHookList *hook_list,
3770
gboolean need_valids,
3772
GHook* g_hook_find_func_data (GHookList *hook_list,
3773
gboolean need_valids,
3777
GHook* g_hook_first_valid (GHookList *hook_list,
3778
gboolean may_be_in_call);
3782
GHook* g_hook_next_valid (GHookList *hook_list,
3784
gboolean may_be_in_call);
3786
gint g_hook_compare_ids (GHook *new_hook,
3793
void g_hook_list_invoke (GHookList *hook_list,
3794
gboolean may_recurse);
3798
void g_hook_list_invoke_check (GHookList *hook_list,
3799
gboolean may_recurse);
3802
void g_hook_list_marshal (GHookList *hook_list,
3803
gboolean may_recurse,
3804
GHookMarshaller marshaller,
3805
gpointer marshal_data);
3806
void g_hook_list_marshal_check (GHookList *hook_list,
3807
gboolean may_recurse,
3808
GHookCheckMarshaller marshaller,
3809
gpointer marshal_data);
3812
# 52 "/usr/include/glib-2.0/glib.h" 2
3813
# 1 "/usr/include/glib-2.0/glib/ghostutils.h" 1
3814
# 27 "/usr/include/glib-2.0/glib/ghostutils.h"
3815
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
3816
# 28 "/usr/include/glib-2.0/glib/ghostutils.h" 2
3820
gboolean g_hostname_is_non_ascii (const gchar *hostname);
3821
gboolean g_hostname_is_ascii_encoded (const gchar *hostname);
3822
gboolean g_hostname_is_ip_address (const gchar *hostname);
3824
gchar *g_hostname_to_ascii (const gchar *hostname);
3825
gchar *g_hostname_to_unicode (const gchar *hostname);
3828
# 53 "/usr/include/glib-2.0/glib.h" 2
3829
# 1 "/usr/include/glib-2.0/glib/giochannel.h" 1
3830
# 34 "/usr/include/glib-2.0/glib/giochannel.h"
3831
# 1 "/usr/include/glib-2.0/glib/gconvert.h" 1
3832
# 35 "/usr/include/glib-2.0/glib/giochannel.h" 2
3833
# 1 "/usr/include/glib-2.0/glib/gmain.h" 1
3834
# 27 "/usr/include/glib-2.0/glib/gmain.h"
3835
# 1 "/usr/include/glib-2.0/glib/gpoll.h" 1
3836
# 27 "/usr/include/glib-2.0/glib/gpoll.h"
3837
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
3838
# 28 "/usr/include/glib-2.0/glib/gpoll.h" 2
3841
# 61 "/usr/include/glib-2.0/glib/gpoll.h"
3842
typedef struct _GPollFD GPollFD;
3843
# 76 "/usr/include/glib-2.0/glib/gpoll.h"
3844
typedef gint (*GPollFunc) (GPollFD *ufds,
3847
# 90 "/usr/include/glib-2.0/glib/gpoll.h"
3858
# 111 "/usr/include/glib-2.0/glib/gpoll.h"
3859
gint g_poll (GPollFD *fds,
3864
# 28 "/usr/include/glib-2.0/glib/gmain.h" 2
3865
# 1 "/usr/include/glib-2.0/glib/gslist.h" 1
3866
# 34 "/usr/include/glib-2.0/glib/gslist.h"
3867
# 1 "/usr/include/glib-2.0/glib/gmem.h" 1
3868
# 35 "/usr/include/glib-2.0/glib/gslist.h" 2
3872
typedef struct _GSList GSList;
3882
GSList* g_slist_alloc (void) __attribute__((warn_unused_result));
3883
void g_slist_free (GSList *list);
3884
void g_slist_free_1 (GSList *list);
3886
void g_slist_free_full (GSList *list,
3887
GDestroyNotify free_func);
3888
GSList* g_slist_append (GSList *list,
3889
gpointer data) __attribute__((warn_unused_result));
3890
GSList* g_slist_prepend (GSList *list,
3891
gpointer data) __attribute__((warn_unused_result));
3892
GSList* g_slist_insert (GSList *list,
3894
gint position) __attribute__((warn_unused_result));
3895
GSList* g_slist_insert_sorted (GSList *list,
3897
GCompareFunc func) __attribute__((warn_unused_result));
3898
GSList* g_slist_insert_sorted_with_data (GSList *list,
3900
GCompareDataFunc func,
3901
gpointer user_data) __attribute__((warn_unused_result));
3902
GSList* g_slist_insert_before (GSList *slist,
3904
gpointer data) __attribute__((warn_unused_result));
3905
GSList* g_slist_concat (GSList *list1,
3906
GSList *list2) __attribute__((warn_unused_result));
3907
GSList* g_slist_remove (GSList *list,
3908
gconstpointer data) __attribute__((warn_unused_result));
3909
GSList* g_slist_remove_all (GSList *list,
3910
gconstpointer data) __attribute__((warn_unused_result));
3911
GSList* g_slist_remove_link (GSList *list,
3912
GSList *link_) __attribute__((warn_unused_result));
3913
GSList* g_slist_delete_link (GSList *list,
3914
GSList *link_) __attribute__((warn_unused_result));
3915
GSList* g_slist_reverse (GSList *list) __attribute__((warn_unused_result));
3916
GSList* g_slist_copy (GSList *list) __attribute__((warn_unused_result));
3917
GSList* g_slist_nth (GSList *list,
3919
GSList* g_slist_find (GSList *list,
3920
gconstpointer data);
3921
GSList* g_slist_find_custom (GSList *list,
3924
gint g_slist_position (GSList *list,
3926
gint g_slist_index (GSList *list,
3927
gconstpointer data);
3928
GSList* g_slist_last (GSList *list);
3929
guint g_slist_length (GSList *list);
3930
void g_slist_foreach (GSList *list,
3932
gpointer user_data);
3933
GSList* g_slist_sort (GSList *list,
3934
GCompareFunc compare_func) __attribute__((warn_unused_result));
3935
GSList* g_slist_sort_with_data (GSList *list,
3936
GCompareDataFunc compare_func,
3937
gpointer user_data) __attribute__((warn_unused_result));
3938
gpointer g_slist_nth_data (GSList *list,
3944
void g_slist_push_allocator (gpointer dummy);
3945
void g_slist_pop_allocator (void);
3949
# 29 "/usr/include/glib-2.0/glib/gmain.h" 2
3950
# 1 "/usr/include/glib-2.0/glib/gthread.h" 1
3951
# 30 "/usr/include/glib-2.0/glib/gmain.h" 2
3961
typedef struct _GMainContext GMainContext;
3969
typedef struct _GMainLoop GMainLoop;
3977
typedef struct _GSource GSource;
3978
typedef struct _GSourcePrivate GSourcePrivate;
3979
# 68 "/usr/include/glib-2.0/glib/gmain.h"
3980
typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
3981
# 115 "/usr/include/glib-2.0/glib/gmain.h"
3982
typedef struct _GSourceFuncs GSourceFuncs;
3983
# 126 "/usr/include/glib-2.0/glib/gmain.h"
3984
typedef gboolean (*GSourceFunc) (gpointer data);
3985
# 137 "/usr/include/glib-2.0/glib/gmain.h"
3986
typedef void (*GChildWatchFunc) (GPid pid,
3992
gpointer callback_data;
3993
GSourceCallbackFuncs *callback_funcs;
3995
GSourceFuncs *source_funcs;
3998
GMainContext *context;
4011
GSourcePrivate *priv;
4014
struct _GSourceCallbackFuncs
4016
void (*ref) (gpointer cb_data);
4017
void (*unref) (gpointer cb_data);
4018
void (*get) (gpointer cb_data,
4024
typedef void (*GSourceDummyMarshal) (void);
4026
struct _GSourceFuncs
4028
gboolean (*prepare) (GSource *source,
4030
gboolean (*check) (GSource *source);
4031
gboolean (*dispatch) (GSource *source,
4032
GSourceFunc callback,
4033
gpointer user_data);
4034
void (*finalize) (GSource *source);
4037
GSourceFunc closure_callback;
4038
GSourceDummyMarshal closure_marshal;
4040
# 247 "/usr/include/glib-2.0/glib/gmain.h"
4041
GMainContext *g_main_context_new (void);
4042
GMainContext *g_main_context_ref (GMainContext *context);
4043
void g_main_context_unref (GMainContext *context);
4044
GMainContext *g_main_context_default (void);
4046
gboolean g_main_context_iteration (GMainContext *context,
4047
gboolean may_block);
4048
gboolean g_main_context_pending (GMainContext *context);
4052
GSource *g_main_context_find_source_by_id (GMainContext *context,
4054
GSource *g_main_context_find_source_by_user_data (GMainContext *context,
4055
gpointer user_data);
4056
GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context,
4057
GSourceFuncs *funcs,
4058
gpointer user_data);
4062
void g_main_context_wakeup (GMainContext *context);
4063
gboolean g_main_context_acquire (GMainContext *context);
4064
void g_main_context_release (GMainContext *context);
4065
gboolean g_main_context_is_owner (GMainContext *context);
4066
gboolean g_main_context_wait (GMainContext *context,
4070
gboolean g_main_context_prepare (GMainContext *context,
4072
gint g_main_context_query (GMainContext *context,
4077
gint g_main_context_check (GMainContext *context,
4081
void g_main_context_dispatch (GMainContext *context);
4083
void g_main_context_set_poll_func (GMainContext *context,
4085
GPollFunc g_main_context_get_poll_func (GMainContext *context);
4089
void g_main_context_add_poll (GMainContext *context,
4092
void g_main_context_remove_poll (GMainContext *context,
4095
gint g_main_depth (void);
4096
GSource *g_main_current_source (void);
4100
void g_main_context_push_thread_default (GMainContext *context);
4101
void g_main_context_pop_thread_default (GMainContext *context);
4102
GMainContext *g_main_context_get_thread_default (void);
4106
GMainLoop *g_main_loop_new (GMainContext *context,
4107
gboolean is_running);
4108
void g_main_loop_run (GMainLoop *loop);
4109
void g_main_loop_quit (GMainLoop *loop);
4110
GMainLoop *g_main_loop_ref (GMainLoop *loop);
4111
void g_main_loop_unref (GMainLoop *loop);
4112
gboolean g_main_loop_is_running (GMainLoop *loop);
4113
GMainContext *g_main_loop_get_context (GMainLoop *loop);
4117
GSource *g_source_new (GSourceFuncs *source_funcs,
4119
GSource *g_source_ref (GSource *source);
4120
void g_source_unref (GSource *source);
4122
guint g_source_attach (GSource *source,
4123
GMainContext *context);
4124
void g_source_destroy (GSource *source);
4126
void g_source_set_priority (GSource *source,
4128
gint g_source_get_priority (GSource *source);
4129
void g_source_set_can_recurse (GSource *source,
4130
gboolean can_recurse);
4131
gboolean g_source_get_can_recurse (GSource *source);
4132
guint g_source_get_id (GSource *source);
4134
GMainContext *g_source_get_context (GSource *source);
4136
void g_source_set_callback (GSource *source,
4139
GDestroyNotify notify);
4141
void g_source_set_funcs (GSource *source,
4142
GSourceFuncs *funcs);
4143
gboolean g_source_is_destroyed (GSource *source);
4145
void g_source_set_name (GSource *source,
4147
const char* g_source_get_name (GSource *source);
4148
void g_source_set_name_by_id (guint tag,
4153
void g_source_set_callback_indirect (GSource *source,
4154
gpointer callback_data,
4155
GSourceCallbackFuncs *callback_funcs);
4157
void g_source_add_poll (GSource *source,
4159
void g_source_remove_poll (GSource *source,
4162
void g_source_add_child_source (GSource *source,
4163
GSource *child_source);
4164
void g_source_remove_child_source (GSource *source,
4165
GSource *child_source);
4168
void g_source_get_current_time (GSource *source,
4171
gint64 g_source_get_time (GSource *source);
4179
GSource *g_idle_source_new (void);
4180
GSource *g_child_watch_source_new (GPid pid);
4181
GSource *g_timeout_source_new (guint interval);
4182
GSource *g_timeout_source_new_seconds (guint interval);
4186
void g_get_current_time (GTimeVal *result);
4187
gint64 g_get_monotonic_time (void);
4188
gint64 g_get_real_time (void);
4189
# 498 "/usr/include/glib-2.0/glib/gmain.h"
4190
gboolean g_source_remove (guint tag);
4191
gboolean g_source_remove_by_user_data (gpointer user_data);
4192
gboolean g_source_remove_by_funcs_user_data (GSourceFuncs *funcs,
4193
gpointer user_data);
4196
guint g_timeout_add_full (gint priority,
4198
GSourceFunc function,
4200
GDestroyNotify notify);
4201
guint g_timeout_add (guint interval,
4202
GSourceFunc function,
4204
guint g_timeout_add_seconds_full (gint priority,
4206
GSourceFunc function,
4208
GDestroyNotify notify);
4209
guint g_timeout_add_seconds (guint interval,
4210
GSourceFunc function,
4212
guint g_child_watch_add_full (gint priority,
4214
GChildWatchFunc function,
4216
GDestroyNotify notify);
4217
guint g_child_watch_add (GPid pid,
4218
GChildWatchFunc function,
4220
guint g_idle_add (GSourceFunc function,
4222
guint g_idle_add_full (gint priority,
4223
GSourceFunc function,
4225
GDestroyNotify notify);
4226
gboolean g_idle_remove_by_data (gpointer data);
4228
void g_main_context_invoke_full (GMainContext *context,
4230
GSourceFunc function,
4232
GDestroyNotify notify);
4233
void g_main_context_invoke (GMainContext *context,
4234
GSourceFunc function,
4238
extern GSourceFuncs g_timeout_funcs;
4239
extern GSourceFuncs g_child_watch_funcs;
4240
extern GSourceFuncs g_idle_funcs;
4243
# 36 "/usr/include/glib-2.0/glib/giochannel.h" 2
4244
# 1 "/usr/include/glib-2.0/glib/gstring.h" 1
4245
# 34 "/usr/include/glib-2.0/glib/gstring.h"
4246
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
4247
# 35 "/usr/include/glib-2.0/glib/gstring.h" 2
4248
# 1 "/usr/include/glib-2.0/glib/gunicode.h" 1
4249
# 29 "/usr/include/glib-2.0/glib/gunicode.h"
4250
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
4251
# 30 "/usr/include/glib-2.0/glib/gunicode.h" 2
4252
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
4253
# 31 "/usr/include/glib-2.0/glib/gunicode.h" 2
4257
typedef guint32 gunichar;
4258
typedef guint16 gunichar2;
4267
G_UNICODE_UNASSIGNED,
4268
G_UNICODE_PRIVATE_USE,
4269
G_UNICODE_SURROGATE,
4270
G_UNICODE_LOWERCASE_LETTER,
4271
G_UNICODE_MODIFIER_LETTER,
4272
G_UNICODE_OTHER_LETTER,
4273
G_UNICODE_TITLECASE_LETTER,
4274
G_UNICODE_UPPERCASE_LETTER,
4275
G_UNICODE_COMBINING_MARK,
4276
G_UNICODE_ENCLOSING_MARK,
4277
G_UNICODE_NON_SPACING_MARK,
4278
G_UNICODE_DECIMAL_NUMBER,
4279
G_UNICODE_LETTER_NUMBER,
4280
G_UNICODE_OTHER_NUMBER,
4281
G_UNICODE_CONNECT_PUNCTUATION,
4282
G_UNICODE_DASH_PUNCTUATION,
4283
G_UNICODE_CLOSE_PUNCTUATION,
4284
G_UNICODE_FINAL_PUNCTUATION,
4285
G_UNICODE_INITIAL_PUNCTUATION,
4286
G_UNICODE_OTHER_PUNCTUATION,
4287
G_UNICODE_OPEN_PUNCTUATION,
4288
G_UNICODE_CURRENCY_SYMBOL,
4289
G_UNICODE_MODIFIER_SYMBOL,
4290
G_UNICODE_MATH_SYMBOL,
4291
G_UNICODE_OTHER_SYMBOL,
4292
G_UNICODE_LINE_SEPARATOR,
4293
G_UNICODE_PARAGRAPH_SEPARATOR,
4294
G_UNICODE_SPACE_SEPARATOR
4304
G_UNICODE_BREAK_MANDATORY,
4305
G_UNICODE_BREAK_CARRIAGE_RETURN,
4306
G_UNICODE_BREAK_LINE_FEED,
4307
G_UNICODE_BREAK_COMBINING_MARK,
4308
G_UNICODE_BREAK_SURROGATE,
4309
G_UNICODE_BREAK_ZERO_WIDTH_SPACE,
4310
G_UNICODE_BREAK_INSEPARABLE,
4311
G_UNICODE_BREAK_NON_BREAKING_GLUE,
4312
G_UNICODE_BREAK_CONTINGENT,
4313
G_UNICODE_BREAK_SPACE,
4314
G_UNICODE_BREAK_AFTER,
4315
G_UNICODE_BREAK_BEFORE,
4316
G_UNICODE_BREAK_BEFORE_AND_AFTER,
4317
G_UNICODE_BREAK_HYPHEN,
4318
G_UNICODE_BREAK_NON_STARTER,
4319
G_UNICODE_BREAK_OPEN_PUNCTUATION,
4320
G_UNICODE_BREAK_CLOSE_PUNCTUATION,
4321
G_UNICODE_BREAK_QUOTATION,
4322
G_UNICODE_BREAK_EXCLAMATION,
4323
G_UNICODE_BREAK_IDEOGRAPHIC,
4324
G_UNICODE_BREAK_NUMERIC,
4325
G_UNICODE_BREAK_INFIX_SEPARATOR,
4326
G_UNICODE_BREAK_SYMBOL,
4327
G_UNICODE_BREAK_ALPHABETIC,
4328
G_UNICODE_BREAK_PREFIX,
4329
G_UNICODE_BREAK_POSTFIX,
4330
G_UNICODE_BREAK_COMPLEX_CONTEXT,
4331
G_UNICODE_BREAK_AMBIGUOUS,
4332
G_UNICODE_BREAK_UNKNOWN,
4333
G_UNICODE_BREAK_NEXT_LINE,
4334
G_UNICODE_BREAK_WORD_JOINER,
4335
G_UNICODE_BREAK_HANGUL_L_JAMO,
4336
G_UNICODE_BREAK_HANGUL_V_JAMO,
4337
G_UNICODE_BREAK_HANGUL_T_JAMO,
4338
G_UNICODE_BREAK_HANGUL_LV_SYLLABLE,
4339
G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE,
4340
G_UNICODE_BREAK_CLOSE_PARANTHESIS
4341
} GUnicodeBreakType;
4345
G_UNICODE_SCRIPT_INVALID_CODE = -1,
4346
G_UNICODE_SCRIPT_COMMON = 0,
4347
G_UNICODE_SCRIPT_INHERITED,
4348
G_UNICODE_SCRIPT_ARABIC,
4349
G_UNICODE_SCRIPT_ARMENIAN,
4350
G_UNICODE_SCRIPT_BENGALI,
4351
G_UNICODE_SCRIPT_BOPOMOFO,
4352
G_UNICODE_SCRIPT_CHEROKEE,
4353
G_UNICODE_SCRIPT_COPTIC,
4354
G_UNICODE_SCRIPT_CYRILLIC,
4355
G_UNICODE_SCRIPT_DESERET,
4356
G_UNICODE_SCRIPT_DEVANAGARI,
4357
G_UNICODE_SCRIPT_ETHIOPIC,
4358
G_UNICODE_SCRIPT_GEORGIAN,
4359
G_UNICODE_SCRIPT_GOTHIC,
4360
G_UNICODE_SCRIPT_GREEK,
4361
G_UNICODE_SCRIPT_GUJARATI,
4362
G_UNICODE_SCRIPT_GURMUKHI,
4363
G_UNICODE_SCRIPT_HAN,
4364
G_UNICODE_SCRIPT_HANGUL,
4365
G_UNICODE_SCRIPT_HEBREW,
4366
G_UNICODE_SCRIPT_HIRAGANA,
4367
G_UNICODE_SCRIPT_KANNADA,
4368
G_UNICODE_SCRIPT_KATAKANA,
4369
G_UNICODE_SCRIPT_KHMER,
4370
G_UNICODE_SCRIPT_LAO,
4371
G_UNICODE_SCRIPT_LATIN,
4372
G_UNICODE_SCRIPT_MALAYALAM,
4373
G_UNICODE_SCRIPT_MONGOLIAN,
4374
G_UNICODE_SCRIPT_MYANMAR,
4375
G_UNICODE_SCRIPT_OGHAM,
4376
G_UNICODE_SCRIPT_OLD_ITALIC,
4377
G_UNICODE_SCRIPT_ORIYA,
4378
G_UNICODE_SCRIPT_RUNIC,
4379
G_UNICODE_SCRIPT_SINHALA,
4380
G_UNICODE_SCRIPT_SYRIAC,
4381
G_UNICODE_SCRIPT_TAMIL,
4382
G_UNICODE_SCRIPT_TELUGU,
4383
G_UNICODE_SCRIPT_THAANA,
4384
G_UNICODE_SCRIPT_THAI,
4385
G_UNICODE_SCRIPT_TIBETAN,
4386
G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL,
4387
G_UNICODE_SCRIPT_YI,
4388
G_UNICODE_SCRIPT_TAGALOG,
4389
G_UNICODE_SCRIPT_HANUNOO,
4390
G_UNICODE_SCRIPT_BUHID,
4391
G_UNICODE_SCRIPT_TAGBANWA,
4394
G_UNICODE_SCRIPT_BRAILLE,
4395
G_UNICODE_SCRIPT_CYPRIOT,
4396
G_UNICODE_SCRIPT_LIMBU,
4397
G_UNICODE_SCRIPT_OSMANYA,
4398
G_UNICODE_SCRIPT_SHAVIAN,
4399
G_UNICODE_SCRIPT_LINEAR_B,
4400
G_UNICODE_SCRIPT_TAI_LE,
4401
G_UNICODE_SCRIPT_UGARITIC,
4404
G_UNICODE_SCRIPT_NEW_TAI_LUE,
4405
G_UNICODE_SCRIPT_BUGINESE,
4406
G_UNICODE_SCRIPT_GLAGOLITIC,
4407
G_UNICODE_SCRIPT_TIFINAGH,
4408
G_UNICODE_SCRIPT_SYLOTI_NAGRI,
4409
G_UNICODE_SCRIPT_OLD_PERSIAN,
4410
G_UNICODE_SCRIPT_KHAROSHTHI,
4413
G_UNICODE_SCRIPT_UNKNOWN,
4414
G_UNICODE_SCRIPT_BALINESE,
4415
G_UNICODE_SCRIPT_CUNEIFORM,
4416
G_UNICODE_SCRIPT_PHOENICIAN,
4417
G_UNICODE_SCRIPT_PHAGS_PA,
4418
G_UNICODE_SCRIPT_NKO,
4421
G_UNICODE_SCRIPT_KAYAH_LI,
4422
G_UNICODE_SCRIPT_LEPCHA,
4423
G_UNICODE_SCRIPT_REJANG,
4424
G_UNICODE_SCRIPT_SUNDANESE,
4425
G_UNICODE_SCRIPT_SAURASHTRA,
4426
G_UNICODE_SCRIPT_CHAM,
4427
G_UNICODE_SCRIPT_OL_CHIKI,
4428
G_UNICODE_SCRIPT_VAI,
4429
G_UNICODE_SCRIPT_CARIAN,
4430
G_UNICODE_SCRIPT_LYCIAN,
4431
G_UNICODE_SCRIPT_LYDIAN,
4434
G_UNICODE_SCRIPT_AVESTAN,
4435
G_UNICODE_SCRIPT_BAMUM,
4436
G_UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS,
4437
G_UNICODE_SCRIPT_IMPERIAL_ARAMAIC,
4438
G_UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI,
4439
G_UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN,
4440
G_UNICODE_SCRIPT_JAVANESE,
4441
G_UNICODE_SCRIPT_KAITHI,
4442
G_UNICODE_SCRIPT_LISU,
4443
G_UNICODE_SCRIPT_MEETEI_MAYEK,
4444
G_UNICODE_SCRIPT_OLD_SOUTH_ARABIAN,
4445
G_UNICODE_SCRIPT_OLD_TURKIC,
4446
G_UNICODE_SCRIPT_SAMARITAN,
4447
G_UNICODE_SCRIPT_TAI_THAM,
4448
G_UNICODE_SCRIPT_TAI_VIET,
4451
G_UNICODE_SCRIPT_BATAK,
4452
G_UNICODE_SCRIPT_BRAHMI,
4453
G_UNICODE_SCRIPT_MANDAIC
4462
gboolean g_get_charset (const char **charset);
4466
gboolean g_unichar_isalnum (gunichar c) __attribute__((__const__));
4467
gboolean g_unichar_isalpha (gunichar c) __attribute__((__const__));
4468
gboolean g_unichar_iscntrl (gunichar c) __attribute__((__const__));
4469
gboolean g_unichar_isdigit (gunichar c) __attribute__((__const__));
4470
gboolean g_unichar_isgraph (gunichar c) __attribute__((__const__));
4471
gboolean g_unichar_islower (gunichar c) __attribute__((__const__));
4472
gboolean g_unichar_isprint (gunichar c) __attribute__((__const__));
4473
gboolean g_unichar_ispunct (gunichar c) __attribute__((__const__));
4474
gboolean g_unichar_isspace (gunichar c) __attribute__((__const__));
4475
gboolean g_unichar_isupper (gunichar c) __attribute__((__const__));
4476
gboolean g_unichar_isxdigit (gunichar c) __attribute__((__const__));
4477
gboolean g_unichar_istitle (gunichar c) __attribute__((__const__));
4478
gboolean g_unichar_isdefined (gunichar c) __attribute__((__const__));
4479
gboolean g_unichar_iswide (gunichar c) __attribute__((__const__));
4480
gboolean g_unichar_iswide_cjk(gunichar c) __attribute__((__const__));
4481
gboolean g_unichar_iszerowidth(gunichar c) __attribute__((__const__));
4482
gboolean g_unichar_ismark (gunichar c) __attribute__((__const__));
4486
gunichar g_unichar_toupper (gunichar c) __attribute__((__const__));
4487
gunichar g_unichar_tolower (gunichar c) __attribute__((__const__));
4488
gunichar g_unichar_totitle (gunichar c) __attribute__((__const__));
4492
gint g_unichar_digit_value (gunichar c) __attribute__((__const__));
4494
gint g_unichar_xdigit_value (gunichar c) __attribute__((__const__));
4497
GUnicodeType g_unichar_type (gunichar c) __attribute__((__const__));
4500
GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__((__const__));
4503
gint g_unichar_combining_class (gunichar uc) __attribute__((__const__));
4509
void g_unicode_canonical_ordering (gunichar *string,
4515
gunichar *g_unicode_canonical_decomposition (gunichar ch,
4516
gsize *result_len) __attribute__((__malloc__));
4520
extern const gchar * const g_utf8_skip;
4524
gunichar g_utf8_get_char (const gchar *p) __attribute__((__pure__));
4525
gunichar g_utf8_get_char_validated (const gchar *p,
4526
gssize max_len) __attribute__((__pure__));
4528
gchar* g_utf8_offset_to_pointer (const gchar *str,
4529
glong offset) __attribute__((__pure__));
4530
glong g_utf8_pointer_to_offset (const gchar *str,
4531
const gchar *pos) __attribute__((__pure__));
4532
gchar* g_utf8_prev_char (const gchar *p) __attribute__((__pure__));
4533
gchar* g_utf8_find_next_char (const gchar *p,
4534
const gchar *end) __attribute__((__pure__));
4535
gchar* g_utf8_find_prev_char (const gchar *str,
4536
const gchar *p) __attribute__((__pure__));
4538
glong g_utf8_strlen (const gchar *p,
4539
gssize max) __attribute__((__pure__));
4542
gchar* g_utf8_strncpy (gchar *dest,
4548
gchar* g_utf8_strchr (const gchar *p,
4551
gchar* g_utf8_strrchr (const gchar *p,
4554
gchar* g_utf8_strreverse (const gchar *str,
4557
gunichar2 *g_utf8_to_utf16 (const gchar *str,
4560
glong *items_written,
4561
GError **error) __attribute__((__malloc__));
4562
gunichar * g_utf8_to_ucs4 (const gchar *str,
4565
glong *items_written,
4566
GError **error) __attribute__((__malloc__));
4567
gunichar * g_utf8_to_ucs4_fast (const gchar *str,
4569
glong *items_written) __attribute__((__malloc__));
4570
gunichar * g_utf16_to_ucs4 (const gunichar2 *str,
4573
glong *items_written,
4574
GError **error) __attribute__((__malloc__));
4575
gchar* g_utf16_to_utf8 (const gunichar2 *str,
4578
glong *items_written,
4579
GError **error) __attribute__((__malloc__));
4580
gunichar2 *g_ucs4_to_utf16 (const gunichar *str,
4583
glong *items_written,
4584
GError **error) __attribute__((__malloc__));
4585
gchar* g_ucs4_to_utf8 (const gunichar *str,
4588
glong *items_written,
4589
GError **error) __attribute__((__malloc__));
4595
gint g_unichar_to_utf8 (gunichar c,
4602
gboolean g_utf8_validate (const gchar *str,
4607
gboolean g_unichar_validate (gunichar ch) __attribute__((__const__));
4609
gchar *g_utf8_strup (const gchar *str,
4610
gssize len) __attribute__((__malloc__));
4611
gchar *g_utf8_strdown (const gchar *str,
4612
gssize len) __attribute__((__malloc__));
4613
gchar *g_utf8_casefold (const gchar *str,
4614
gssize len) __attribute__((__malloc__));
4617
G_NORMALIZE_DEFAULT,
4618
G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT,
4619
G_NORMALIZE_DEFAULT_COMPOSE,
4620
G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE,
4622
G_NORMALIZE_NFKD = G_NORMALIZE_ALL,
4623
G_NORMALIZE_ALL_COMPOSE,
4624
G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE
4627
gchar *g_utf8_normalize (const gchar *str,
4629
GNormalizeMode mode) __attribute__((__malloc__));
4631
gint g_utf8_collate (const gchar *str1,
4632
const gchar *str2) __attribute__((__pure__));
4633
gchar *g_utf8_collate_key (const gchar *str,
4634
gssize len) __attribute__((__malloc__));
4635
gchar *g_utf8_collate_key_for_filename (const gchar *str,
4636
gssize len) __attribute__((__malloc__));
4638
gboolean g_unichar_get_mirror_char (gunichar ch,
4639
gunichar *mirrored_ch);
4641
GUnicodeScript g_unichar_get_script (gunichar ch) __attribute__((__const__));
4646
gchar *_g_utf8_make_valid (const gchar *name);
4649
# 36 "/usr/include/glib-2.0/glib/gstring.h" 2
4650
# 1 "/usr/include/glib-2.0/glib/gutils.h" 1
4651
# 37 "/usr/include/glib-2.0/glib/gstring.h" 2
4655
typedef struct _GString GString;
4656
typedef struct _GStringChunk GStringChunk;
4662
gsize allocated_len;
4667
GStringChunk* g_string_chunk_new (gsize size);
4668
void g_string_chunk_free (GStringChunk *chunk);
4669
void g_string_chunk_clear (GStringChunk *chunk);
4670
gchar* g_string_chunk_insert (GStringChunk *chunk,
4671
const gchar *string);
4672
gchar* g_string_chunk_insert_len (GStringChunk *chunk,
4673
const gchar *string,
4675
gchar* g_string_chunk_insert_const (GStringChunk *chunk,
4676
const gchar *string);
4681
GString* g_string_new (const gchar *init);
4682
GString* g_string_new_len (const gchar *init,
4684
GString* g_string_sized_new (gsize dfl_size);
4685
gchar* g_string_free (GString *string,
4686
gboolean free_segment);
4687
gboolean g_string_equal (const GString *v,
4689
guint g_string_hash (const GString *str);
4690
GString* g_string_assign (GString *string,
4692
GString* g_string_truncate (GString *string,
4694
GString* g_string_set_size (GString *string,
4696
GString* g_string_insert_len (GString *string,
4700
GString* g_string_append (GString *string,
4702
GString* g_string_append_len (GString *string,
4705
GString* g_string_append_c (GString *string,
4707
GString* g_string_append_unichar (GString *string,
4709
GString* g_string_prepend (GString *string,
4711
GString* g_string_prepend_c (GString *string,
4713
GString* g_string_prepend_unichar (GString *string,
4715
GString* g_string_prepend_len (GString *string,
4718
GString* g_string_insert (GString *string,
4721
GString* g_string_insert_c (GString *string,
4724
GString* g_string_insert_unichar (GString *string,
4727
GString* g_string_overwrite (GString *string,
4730
GString* g_string_overwrite_len (GString *string,
4734
GString* g_string_erase (GString *string,
4737
GString* g_string_ascii_down (GString *string);
4738
GString* g_string_ascii_up (GString *string);
4739
void g_string_vprintf (GString *string,
4740
const gchar *format,
4742
void g_string_printf (GString *string,
4743
const gchar *format,
4744
...) __attribute__((__format__ (__printf__, 2, 3)));
4745
void g_string_append_vprintf (GString *string,
4746
const gchar *format,
4748
void g_string_append_printf (GString *string,
4749
const gchar *format,
4750
...) __attribute__((__format__ (__printf__, 2, 3)));
4751
GString * g_string_append_uri_escaped(GString *string,
4752
const char *unescaped,
4753
const char *reserved_chars_allowed,
4754
gboolean allow_utf8);
4758
static inline GString*
4759
g_string_append_c_inline (GString *gstring,
4762
if (gstring->len + 1 < gstring->allocated_len)
4764
gstring->str[gstring->len++] = c;
4765
gstring->str[gstring->len] = 0;
4768
g_string_insert_c (gstring, -1, c);
4771
# 167 "/usr/include/glib-2.0/glib/gstring.h"
4772
GString* g_string_down (GString *string);
4773
GString* g_string_up (GString *string);
4782
# 37 "/usr/include/glib-2.0/glib/giochannel.h" 2
4789
typedef struct _GIOChannel GIOChannel;
4790
typedef struct _GIOFuncs GIOFuncs;
4805
G_IO_CHANNEL_ERROR_FBIG,
4806
G_IO_CHANNEL_ERROR_INVAL,
4807
G_IO_CHANNEL_ERROR_IO,
4808
G_IO_CHANNEL_ERROR_ISDIR,
4809
G_IO_CHANNEL_ERROR_NOSPC,
4810
G_IO_CHANNEL_ERROR_NXIO,
4811
G_IO_CHANNEL_ERROR_OVERFLOW,
4812
G_IO_CHANNEL_ERROR_PIPE,
4814
G_IO_CHANNEL_ERROR_FAILED
4844
G_IO_FLAG_APPEND = 1 << 0,
4845
G_IO_FLAG_NONBLOCK = 1 << 1,
4846
G_IO_FLAG_IS_READABLE = 1 << 2,
4847
G_IO_FLAG_IS_WRITEABLE = 1 << 3,
4848
G_IO_FLAG_IS_SEEKABLE = 1 << 4,
4849
G_IO_FLAG_MASK = (1 << 5) - 1,
4850
G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK,
4851
G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK
4864
guint line_term_len;
4868
GString *encoded_read_buf;
4870
gchar partial_write_buf[6];
4874
guint use_buffer : 1;
4875
guint do_encode : 1;
4876
guint close_on_unref : 1;
4877
guint is_readable : 1;
4878
guint is_writeable : 1;
4879
guint is_seekable : 1;
4885
typedef gboolean (*GIOFunc) (GIOChannel *source,
4886
GIOCondition condition,
4890
GIOStatus (*io_read) (GIOChannel *channel,
4895
GIOStatus (*io_write) (GIOChannel *channel,
4898
gsize *bytes_written,
4900
GIOStatus (*io_seek) (GIOChannel *channel,
4904
GIOStatus (*io_close) (GIOChannel *channel,
4906
GSource* (*io_create_watch) (GIOChannel *channel,
4907
GIOCondition condition);
4908
void (*io_free) (GIOChannel *channel);
4909
GIOStatus (*io_set_flags) (GIOChannel *channel,
4912
GIOFlags (*io_get_flags) (GIOChannel *channel);
4915
void g_io_channel_init (GIOChannel *channel);
4916
GIOChannel *g_io_channel_ref (GIOChannel *channel);
4917
void g_io_channel_unref (GIOChannel *channel);
4920
GIOError g_io_channel_read (GIOChannel *channel,
4924
GIOError g_io_channel_write (GIOChannel *channel,
4927
gsize *bytes_written);
4928
GIOError g_io_channel_seek (GIOChannel *channel,
4931
void g_io_channel_close (GIOChannel *channel);
4934
GIOStatus g_io_channel_shutdown (GIOChannel *channel,
4937
guint g_io_add_watch_full (GIOChannel *channel,
4939
GIOCondition condition,
4942
GDestroyNotify notify);
4943
GSource * g_io_create_watch (GIOChannel *channel,
4944
GIOCondition condition);
4945
guint g_io_add_watch (GIOChannel *channel,
4946
GIOCondition condition,
4948
gpointer user_data);
4953
void g_io_channel_set_buffer_size (GIOChannel *channel,
4955
gsize g_io_channel_get_buffer_size (GIOChannel *channel);
4956
GIOCondition g_io_channel_get_buffer_condition (GIOChannel *channel);
4957
GIOStatus g_io_channel_set_flags (GIOChannel *channel,
4960
GIOFlags g_io_channel_get_flags (GIOChannel *channel);
4961
void g_io_channel_set_line_term (GIOChannel *channel,
4962
const gchar *line_term,
4964
const gchar* g_io_channel_get_line_term (GIOChannel *channel,
4966
void g_io_channel_set_buffered (GIOChannel *channel,
4968
gboolean g_io_channel_get_buffered (GIOChannel *channel);
4969
GIOStatus g_io_channel_set_encoding (GIOChannel *channel,
4970
const gchar *encoding,
4972
const gchar* g_io_channel_get_encoding (GIOChannel *channel);
4973
void g_io_channel_set_close_on_unref (GIOChannel *channel,
4975
gboolean g_io_channel_get_close_on_unref (GIOChannel *channel);
4978
GIOStatus g_io_channel_flush (GIOChannel *channel,
4980
GIOStatus g_io_channel_read_line (GIOChannel *channel,
4983
gsize *terminator_pos,
4985
GIOStatus g_io_channel_read_line_string (GIOChannel *channel,
4987
gsize *terminator_pos,
4989
GIOStatus g_io_channel_read_to_end (GIOChannel *channel,
4993
GIOStatus g_io_channel_read_chars (GIOChannel *channel,
4998
GIOStatus g_io_channel_read_unichar (GIOChannel *channel,
5001
GIOStatus g_io_channel_write_chars (GIOChannel *channel,
5004
gsize *bytes_written,
5006
GIOStatus g_io_channel_write_unichar (GIOChannel *channel,
5009
GIOStatus g_io_channel_seek_position (GIOChannel *channel,
5017
GIOChannel* g_io_channel_new_file (const gchar *filename,
5023
GQuark g_io_channel_error_quark (void);
5024
GIOChannelError g_io_channel_error_from_errno (gint en);
5025
# 298 "/usr/include/glib-2.0/glib/giochannel.h"
5026
GIOChannel* g_io_channel_unix_new (int fd);
5027
gint g_io_channel_unix_get_fd (GIOChannel *channel);
5031
extern GSourceFuncs g_io_watch_funcs;
5032
# 364 "/usr/include/glib-2.0/glib/giochannel.h"
5034
# 54 "/usr/include/glib-2.0/glib.h" 2
5035
# 1 "/usr/include/glib-2.0/glib/gkeyfile.h" 1
5036
# 30 "/usr/include/glib-2.0/glib/gkeyfile.h"
5037
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
5038
# 31 "/usr/include/glib-2.0/glib/gkeyfile.h" 2
5044
G_KEY_FILE_ERROR_UNKNOWN_ENCODING,
5045
G_KEY_FILE_ERROR_PARSE,
5046
G_KEY_FILE_ERROR_NOT_FOUND,
5047
G_KEY_FILE_ERROR_KEY_NOT_FOUND,
5048
G_KEY_FILE_ERROR_GROUP_NOT_FOUND,
5049
G_KEY_FILE_ERROR_INVALID_VALUE
5054
GQuark g_key_file_error_quark (void);
5056
typedef struct _GKeyFile GKeyFile;
5060
G_KEY_FILE_NONE = 0,
5061
G_KEY_FILE_KEEP_COMMENTS = 1 << 0,
5062
G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1
5065
GKeyFile *g_key_file_new (void);
5066
void g_key_file_free (GKeyFile *key_file);
5067
void g_key_file_set_list_separator (GKeyFile *key_file,
5069
gboolean g_key_file_load_from_file (GKeyFile *key_file,
5071
GKeyFileFlags flags,
5073
gboolean g_key_file_load_from_data (GKeyFile *key_file,
5076
GKeyFileFlags flags,
5078
gboolean g_key_file_load_from_dirs (GKeyFile *key_file,
5080
const gchar **search_dirs,
5082
GKeyFileFlags flags,
5084
gboolean g_key_file_load_from_data_dirs (GKeyFile *key_file,
5087
GKeyFileFlags flags,
5089
gchar *g_key_file_to_data (GKeyFile *key_file,
5091
GError **error) __attribute__((__malloc__));
5092
gchar *g_key_file_get_start_group (GKeyFile *key_file) __attribute__((__malloc__));
5093
gchar **g_key_file_get_groups (GKeyFile *key_file,
5094
gsize *length) __attribute__((__malloc__));
5095
gchar **g_key_file_get_keys (GKeyFile *key_file,
5096
const gchar *group_name,
5098
GError **error) __attribute__((__malloc__));
5099
gboolean g_key_file_has_group (GKeyFile *key_file,
5100
const gchar *group_name);
5101
gboolean g_key_file_has_key (GKeyFile *key_file,
5102
const gchar *group_name,
5105
gchar *g_key_file_get_value (GKeyFile *key_file,
5106
const gchar *group_name,
5108
GError **error) __attribute__((__malloc__));
5109
void g_key_file_set_value (GKeyFile *key_file,
5110
const gchar *group_name,
5112
const gchar *value);
5113
gchar *g_key_file_get_string (GKeyFile *key_file,
5114
const gchar *group_name,
5116
GError **error) __attribute__((__malloc__));
5117
void g_key_file_set_string (GKeyFile *key_file,
5118
const gchar *group_name,
5120
const gchar *string);
5121
gchar *g_key_file_get_locale_string (GKeyFile *key_file,
5122
const gchar *group_name,
5124
const gchar *locale,
5125
GError **error) __attribute__((__malloc__));
5126
void g_key_file_set_locale_string (GKeyFile *key_file,
5127
const gchar *group_name,
5129
const gchar *locale,
5130
const gchar *string);
5131
gboolean g_key_file_get_boolean (GKeyFile *key_file,
5132
const gchar *group_name,
5135
void g_key_file_set_boolean (GKeyFile *key_file,
5136
const gchar *group_name,
5139
gint g_key_file_get_integer (GKeyFile *key_file,
5140
const gchar *group_name,
5143
void g_key_file_set_integer (GKeyFile *key_file,
5144
const gchar *group_name,
5147
gint64 g_key_file_get_int64 (GKeyFile *key_file,
5148
const gchar *group_name,
5151
void g_key_file_set_int64 (GKeyFile *key_file,
5152
const gchar *group_name,
5155
guint64 g_key_file_get_uint64 (GKeyFile *key_file,
5156
const gchar *group_name,
5159
void g_key_file_set_uint64 (GKeyFile *key_file,
5160
const gchar *group_name,
5163
gdouble g_key_file_get_double (GKeyFile *key_file,
5164
const gchar *group_name,
5167
void g_key_file_set_double (GKeyFile *key_file,
5168
const gchar *group_name,
5171
gchar **g_key_file_get_string_list (GKeyFile *key_file,
5172
const gchar *group_name,
5175
GError **error) __attribute__((__malloc__));
5176
void g_key_file_set_string_list (GKeyFile *key_file,
5177
const gchar *group_name,
5179
const gchar * const list[],
5181
gchar **g_key_file_get_locale_string_list (GKeyFile *key_file,
5182
const gchar *group_name,
5184
const gchar *locale,
5186
GError **error) __attribute__((__malloc__));
5187
void g_key_file_set_locale_string_list (GKeyFile *key_file,
5188
const gchar *group_name,
5190
const gchar *locale,
5191
const gchar * const list[],
5193
gboolean *g_key_file_get_boolean_list (GKeyFile *key_file,
5194
const gchar *group_name,
5197
GError **error) __attribute__((__malloc__));
5198
void g_key_file_set_boolean_list (GKeyFile *key_file,
5199
const gchar *group_name,
5203
gint *g_key_file_get_integer_list (GKeyFile *key_file,
5204
const gchar *group_name,
5207
GError **error) __attribute__((__malloc__));
5208
void g_key_file_set_double_list (GKeyFile *key_file,
5209
const gchar *group_name,
5213
gdouble *g_key_file_get_double_list (GKeyFile *key_file,
5214
const gchar *group_name,
5217
GError **error) __attribute__((__malloc__));
5218
void g_key_file_set_integer_list (GKeyFile *key_file,
5219
const gchar *group_name,
5223
gboolean g_key_file_set_comment (GKeyFile *key_file,
5224
const gchar *group_name,
5226
const gchar *comment,
5228
gchar *g_key_file_get_comment (GKeyFile *key_file,
5229
const gchar *group_name,
5231
GError **error) __attribute__((__malloc__));
5233
gboolean g_key_file_remove_comment (GKeyFile *key_file,
5234
const gchar *group_name,
5237
gboolean g_key_file_remove_key (GKeyFile *key_file,
5238
const gchar *group_name,
5241
gboolean g_key_file_remove_group (GKeyFile *key_file,
5242
const gchar *group_name,
5244
# 266 "/usr/include/glib-2.0/glib/gkeyfile.h"
5246
# 55 "/usr/include/glib-2.0/glib.h" 2
5247
# 1 "/usr/include/glib-2.0/glib/glist.h" 1
5248
# 56 "/usr/include/glib-2.0/glib.h" 2
5249
# 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
5250
# 57 "/usr/include/glib-2.0/glib.h" 2
5251
# 1 "/usr/include/glib-2.0/glib/gmain.h" 1
5252
# 58 "/usr/include/glib-2.0/glib.h" 2
5253
# 1 "/usr/include/glib-2.0/glib/gmappedfile.h" 1
5254
# 29 "/usr/include/glib-2.0/glib/gmappedfile.h"
5255
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
5256
# 30 "/usr/include/glib-2.0/glib/gmappedfile.h" 2
5260
typedef struct _GMappedFile GMappedFile;
5262
GMappedFile *g_mapped_file_new (const gchar *filename,
5264
GError **error) __attribute__((__malloc__));
5265
gsize g_mapped_file_get_length (GMappedFile *file);
5266
gchar *g_mapped_file_get_contents (GMappedFile *file);
5267
GMappedFile *g_mapped_file_ref (GMappedFile *file);
5268
void g_mapped_file_unref (GMappedFile *file);
5271
void g_mapped_file_free (GMappedFile *file);
5275
# 59 "/usr/include/glib-2.0/glib.h" 2
5276
# 1 "/usr/include/glib-2.0/glib/gmarkup.h" 1
5277
# 30 "/usr/include/glib-2.0/glib/gmarkup.h"
5278
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
5279
# 31 "/usr/include/glib-2.0/glib/gmarkup.h" 2
5280
# 1 "/usr/include/glib-2.0/glib/gslist.h" 1
5281
# 32 "/usr/include/glib-2.0/glib/gmarkup.h" 2
5284
# 51 "/usr/include/glib-2.0/glib/gmarkup.h"
5287
G_MARKUP_ERROR_BAD_UTF8,
5288
G_MARKUP_ERROR_EMPTY,
5289
G_MARKUP_ERROR_PARSE,
5293
G_MARKUP_ERROR_UNKNOWN_ELEMENT,
5294
G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE,
5295
G_MARKUP_ERROR_INVALID_CONTENT,
5296
G_MARKUP_ERROR_MISSING_ATTRIBUTE
5298
# 74 "/usr/include/glib-2.0/glib/gmarkup.h"
5299
GQuark g_markup_error_quark (void);
5300
# 92 "/usr/include/glib-2.0/glib/gmarkup.h"
5303
G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0,
5304
G_MARKUP_TREAT_CDATA_AS_TEXT = 1 << 1,
5305
G_MARKUP_PREFIX_ERROR_POSITION = 1 << 2
5306
} GMarkupParseFlags;
5307
# 108 "/usr/include/glib-2.0/glib/gmarkup.h"
5308
typedef struct _GMarkupParseContext GMarkupParseContext;
5309
typedef struct _GMarkupParser GMarkupParser;
5310
# 138 "/usr/include/glib-2.0/glib/gmarkup.h"
5311
struct _GMarkupParser
5314
void (*start_element) (GMarkupParseContext *context,
5315
const gchar *element_name,
5316
const gchar **attribute_names,
5317
const gchar **attribute_values,
5322
void (*end_element) (GMarkupParseContext *context,
5323
const gchar *element_name,
5329
void (*text) (GMarkupParseContext *context,
5340
void (*passthrough) (GMarkupParseContext *context,
5341
const gchar *passthrough_text,
5349
void (*error) (GMarkupParseContext *context,
5351
gpointer user_data);
5354
GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser,
5355
GMarkupParseFlags flags,
5357
GDestroyNotify user_data_dnotify);
5358
void g_markup_parse_context_free (GMarkupParseContext *context);
5359
gboolean g_markup_parse_context_parse (GMarkupParseContext *context,
5363
void g_markup_parse_context_push (GMarkupParseContext *context,
5364
const GMarkupParser *parser,
5365
gpointer user_data);
5366
gpointer g_markup_parse_context_pop (GMarkupParseContext *context);
5368
gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context,
5370
const gchar *g_markup_parse_context_get_element (GMarkupParseContext *context);
5371
const GSList *g_markup_parse_context_get_element_stack (GMarkupParseContext *context);
5374
void g_markup_parse_context_get_position (GMarkupParseContext *context,
5377
gpointer g_markup_parse_context_get_user_data (GMarkupParseContext *context);
5380
gchar* g_markup_escape_text (const gchar *text,
5383
gchar *g_markup_printf_escaped (const char *format,
5384
...) __attribute__((__format__ (__printf__, 1, 2)));
5385
gchar *g_markup_vprintf_escaped (const char *format,
5390
G_MARKUP_COLLECT_INVALID,
5391
G_MARKUP_COLLECT_STRING,
5392
G_MARKUP_COLLECT_STRDUP,
5393
G_MARKUP_COLLECT_BOOLEAN,
5394
G_MARKUP_COLLECT_TRISTATE,
5396
G_MARKUP_COLLECT_OPTIONAL = (1 << 16)
5397
} GMarkupCollectType;
5401
gboolean g_markup_collect_attributes (const gchar *element_name,
5402
const gchar **attribute_names,
5403
const gchar **attribute_values,
5405
GMarkupCollectType first_type,
5406
const gchar *first_attr,
5410
# 60 "/usr/include/glib-2.0/glib.h" 2
5411
# 1 "/usr/include/glib-2.0/glib/gmem.h" 1
5412
# 61 "/usr/include/glib-2.0/glib.h" 2
5413
# 1 "/usr/include/glib-2.0/glib/gmessages.h" 1
5414
# 35 "/usr/include/glib-2.0/glib/gmessages.h"
5415
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
5416
# 36 "/usr/include/glib-2.0/glib/gmessages.h" 2
5417
# 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
5418
# 37 "/usr/include/glib-2.0/glib/gmessages.h" 2
5424
# 42 "/usr/include/glib-2.0/glib/gmessages.h" 3
5431
gsize g_printf_string_upper_bound (const gchar* format,
5433
# 58 "/usr/include/glib-2.0/glib/gmessages.h" 3
5437
G_LOG_FLAG_RECURSION = 1 << 0,
5438
G_LOG_FLAG_FATAL = 1 << 1,
5441
G_LOG_LEVEL_ERROR = 1 << 2,
5442
G_LOG_LEVEL_CRITICAL = 1 << 3,
5443
G_LOG_LEVEL_WARNING = 1 << 4,
5444
G_LOG_LEVEL_MESSAGE = 1 << 5,
5445
G_LOG_LEVEL_INFO = 1 << 6,
5446
G_LOG_LEVEL_DEBUG = 1 << 7,
5448
G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL)
5454
typedef void (*GLogFunc) (const gchar *log_domain,
5455
GLogLevelFlags log_level,
5456
const gchar *message,
5457
gpointer user_data);
5461
guint g_log_set_handler (const gchar *log_domain,
5462
GLogLevelFlags log_levels,
5464
gpointer user_data);
5465
void g_log_remove_handler (const gchar *log_domain,
5467
void g_log_default_handler (const gchar *log_domain,
5468
GLogLevelFlags log_level,
5469
const gchar *message,
5470
gpointer unused_data);
5471
GLogFunc g_log_set_default_handler (GLogFunc log_func,
5472
gpointer user_data);
5473
void g_log (const gchar *log_domain,
5474
GLogLevelFlags log_level,
5475
const gchar *format,
5476
...) __attribute__((__format__ (__printf__, 3, 4)));
5477
void g_logv (const gchar *log_domain,
5478
GLogLevelFlags log_level,
5479
const gchar *format,
5481
GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain,
5482
GLogLevelFlags fatal_mask);
5483
GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
5486
__attribute__((visibility("hidden"))) void _g_log_fallback_handler (const gchar *log_domain,
5487
GLogLevelFlags log_level,
5488
const gchar *message,
5489
gpointer unused_data);
5492
void g_return_if_fail_warning (const char *log_domain,
5493
const char *pretty_function,
5494
const char *expression);
5495
void g_warn_message (const char *domain,
5499
const char *warnexpr);
5501
void g_assert_warning (const char *log_domain,
5504
const char *pretty_function,
5505
const char *expression) __attribute__((__noreturn__));
5506
# 229 "/usr/include/glib-2.0/glib/gmessages.h" 3
5507
typedef void (*GPrintFunc) (const gchar *string);
5508
void g_print (const gchar *format,
5509
...) __attribute__((__format__ (__printf__, 1, 2)));
5510
GPrintFunc g_set_print_handler (GPrintFunc func);
5511
void g_printerr (const gchar *format,
5512
...) __attribute__((__format__ (__printf__, 1, 2)));
5513
GPrintFunc g_set_printerr_handler (GPrintFunc func);
5514
# 341 "/usr/include/glib-2.0/glib/gmessages.h" 3
5516
# 62 "/usr/include/glib-2.0/glib.h" 2
5517
# 1 "/usr/include/glib-2.0/glib/gnode.h" 1
5518
# 34 "/usr/include/glib-2.0/glib/gnode.h"
5519
# 1 "/usr/include/glib-2.0/glib/gmem.h" 1
5520
# 35 "/usr/include/glib-2.0/glib/gnode.h" 2
5524
typedef struct _GNode GNode;
5529
G_TRAVERSE_LEAVES = 1 << 0,
5530
G_TRAVERSE_NON_LEAVES = 1 << 1,
5531
G_TRAVERSE_ALL = G_TRAVERSE_LEAVES | G_TRAVERSE_NON_LEAVES,
5532
G_TRAVERSE_MASK = 0x03,
5533
G_TRAVERSE_LEAFS = G_TRAVERSE_LEAVES,
5534
G_TRAVERSE_NON_LEAFS = G_TRAVERSE_NON_LEAVES
5546
typedef gboolean (*GNodeTraverseFunc) (GNode *node,
5548
typedef void (*GNodeForeachFunc) (GNode *node,
5550
# 77 "/usr/include/glib-2.0/glib/gnode.h"
5551
typedef gpointer (*GCopyFunc) (gconstpointer src,
5564
# 115 "/usr/include/glib-2.0/glib/gnode.h"
5565
GNode* g_node_new (gpointer data);
5566
void g_node_destroy (GNode *root);
5567
void g_node_unlink (GNode *node);
5568
GNode* g_node_copy_deep (GNode *node,
5569
GCopyFunc copy_func,
5571
GNode* g_node_copy (GNode *node);
5572
GNode* g_node_insert (GNode *parent,
5575
GNode* g_node_insert_before (GNode *parent,
5578
GNode* g_node_insert_after (GNode *parent,
5581
GNode* g_node_prepend (GNode *parent,
5583
guint g_node_n_nodes (GNode *root,
5584
GTraverseFlags flags);
5585
GNode* g_node_get_root (GNode *node);
5586
gboolean g_node_is_ancestor (GNode *node,
5588
guint g_node_depth (GNode *node);
5589
GNode* g_node_find (GNode *root,
5590
GTraverseType order,
5591
GTraverseFlags flags,
5593
# 213 "/usr/include/glib-2.0/glib/gnode.h"
5594
void g_node_traverse (GNode *root,
5595
GTraverseType order,
5596
GTraverseFlags flags,
5598
GNodeTraverseFunc func,
5606
guint g_node_max_height (GNode *root);
5608
void g_node_children_foreach (GNode *node,
5609
GTraverseFlags flags,
5610
GNodeForeachFunc func,
5612
void g_node_reverse_children (GNode *node);
5613
guint g_node_n_children (GNode *node);
5614
GNode* g_node_nth_child (GNode *node,
5616
GNode* g_node_last_child (GNode *node);
5617
GNode* g_node_find_child (GNode *node,
5618
GTraverseFlags flags,
5620
gint g_node_child_position (GNode *node,
5622
gint g_node_child_index (GNode *node,
5625
GNode* g_node_first_sibling (GNode *node);
5626
GNode* g_node_last_sibling (GNode *node);
5627
# 284 "/usr/include/glib-2.0/glib/gnode.h"
5628
void g_node_push_allocator (gpointer dummy);
5629
void g_node_pop_allocator (void);
5633
# 63 "/usr/include/glib-2.0/glib.h" 2
5634
# 1 "/usr/include/glib-2.0/glib/goption.h" 1
5635
# 28 "/usr/include/glib-2.0/glib/goption.h"
5636
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
5637
# 29 "/usr/include/glib-2.0/glib/goption.h" 2
5638
# 1 "/usr/include/glib-2.0/glib/gquark.h" 1
5639
# 30 "/usr/include/glib-2.0/glib/goption.h" 2
5642
# 40 "/usr/include/glib-2.0/glib/goption.h"
5643
typedef struct _GOptionContext GOptionContext;
5644
# 53 "/usr/include/glib-2.0/glib/goption.h"
5645
typedef struct _GOptionGroup GOptionGroup;
5646
typedef struct _GOptionEntry GOptionEntry;
5647
# 82 "/usr/include/glib-2.0/glib/goption.h"
5650
G_OPTION_FLAG_HIDDEN = 1 << 0,
5651
G_OPTION_FLAG_IN_MAIN = 1 << 1,
5652
G_OPTION_FLAG_REVERSE = 1 << 2,
5653
G_OPTION_FLAG_NO_ARG = 1 << 3,
5654
G_OPTION_FLAG_FILENAME = 1 << 4,
5655
G_OPTION_FLAG_OPTIONAL_ARG = 1 << 5,
5656
G_OPTION_FLAG_NOALIAS = 1 << 6
5658
# 118 "/usr/include/glib-2.0/glib/goption.h"
5662
G_OPTION_ARG_STRING,
5664
G_OPTION_ARG_CALLBACK,
5665
G_OPTION_ARG_FILENAME,
5666
G_OPTION_ARG_STRING_ARRAY,
5667
G_OPTION_ARG_FILENAME_ARRAY,
5668
G_OPTION_ARG_DOUBLE,
5671
# 148 "/usr/include/glib-2.0/glib/goption.h"
5672
typedef gboolean (*GOptionArgFunc) (const gchar *option_name,
5676
# 166 "/usr/include/glib-2.0/glib/goption.h"
5677
typedef gboolean (*GOptionParseFunc) (GOptionContext *context,
5678
GOptionGroup *group,
5681
# 181 "/usr/include/glib-2.0/glib/goption.h"
5682
typedef void (*GOptionErrorFunc) (GOptionContext *context,
5683
GOptionGroup *group,
5686
# 205 "/usr/include/glib-2.0/glib/goption.h"
5689
G_OPTION_ERROR_UNKNOWN_OPTION,
5690
G_OPTION_ERROR_BAD_VALUE,
5691
G_OPTION_ERROR_FAILED
5694
GQuark g_option_error_quark (void);
5695
# 279 "/usr/include/glib-2.0/glib/goption.h"
5696
struct _GOptionEntry
5698
const gchar *long_name;
5705
const gchar *description;
5706
const gchar *arg_description;
5708
# 310 "/usr/include/glib-2.0/glib/goption.h"
5709
GOptionContext *g_option_context_new (const gchar *parameter_string);
5710
void g_option_context_set_summary (GOptionContext *context,
5711
const gchar *summary);
5712
const gchar *g_option_context_get_summary (GOptionContext *context);
5713
void g_option_context_set_description (GOptionContext *context,
5714
const gchar *description);
5715
const gchar *g_option_context_get_description (GOptionContext *context);
5716
void g_option_context_free (GOptionContext *context);
5717
void g_option_context_set_help_enabled (GOptionContext *context,
5718
gboolean help_enabled);
5719
gboolean g_option_context_get_help_enabled (GOptionContext *context);
5720
void g_option_context_set_ignore_unknown_options (GOptionContext *context,
5721
gboolean ignore_unknown);
5722
gboolean g_option_context_get_ignore_unknown_options (GOptionContext *context);
5724
void g_option_context_add_main_entries (GOptionContext *context,
5725
const GOptionEntry *entries,
5726
const gchar *translation_domain);
5727
gboolean g_option_context_parse (GOptionContext *context,
5731
void g_option_context_set_translate_func (GOptionContext *context,
5732
GTranslateFunc func,
5734
GDestroyNotify destroy_notify);
5735
void g_option_context_set_translation_domain (GOptionContext *context,
5736
const gchar *domain);
5738
void g_option_context_add_group (GOptionContext *context,
5739
GOptionGroup *group);
5740
void g_option_context_set_main_group (GOptionContext *context,
5741
GOptionGroup *group);
5742
GOptionGroup *g_option_context_get_main_group (GOptionContext *context);
5743
gchar *g_option_context_get_help (GOptionContext *context,
5745
GOptionGroup *group);
5747
GOptionGroup *g_option_group_new (const gchar *name,
5748
const gchar *description,
5749
const gchar *help_description,
5751
GDestroyNotify destroy);
5752
void g_option_group_set_parse_hooks (GOptionGroup *group,
5753
GOptionParseFunc pre_parse_func,
5754
GOptionParseFunc post_parse_func);
5755
void g_option_group_set_error_hook (GOptionGroup *group,
5756
GOptionErrorFunc error_func);
5757
void g_option_group_free (GOptionGroup *group);
5758
void g_option_group_add_entries (GOptionGroup *group,
5759
const GOptionEntry *entries);
5760
void g_option_group_set_translate_func (GOptionGroup *group,
5761
GTranslateFunc func,
5763
GDestroyNotify destroy_notify);
5764
void g_option_group_set_translation_domain (GOptionGroup *group,
5765
const gchar *domain);
5768
# 64 "/usr/include/glib-2.0/glib.h" 2
5769
# 1 "/usr/include/glib-2.0/glib/gpattern.h" 1
5770
# 27 "/usr/include/glib-2.0/glib/gpattern.h"
5771
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
5772
# 28 "/usr/include/glib-2.0/glib/gpattern.h" 2
5777
typedef struct _GPatternSpec GPatternSpec;
5779
GPatternSpec* g_pattern_spec_new (const gchar *pattern);
5780
void g_pattern_spec_free (GPatternSpec *pspec);
5781
gboolean g_pattern_spec_equal (GPatternSpec *pspec1,
5782
GPatternSpec *pspec2);
5783
gboolean g_pattern_match (GPatternSpec *pspec,
5784
guint string_length,
5785
const gchar *string,
5786
const gchar *string_reversed);
5787
gboolean g_pattern_match_string (GPatternSpec *pspec,
5788
const gchar *string);
5789
gboolean g_pattern_match_simple (const gchar *pattern,
5790
const gchar *string);
5793
# 65 "/usr/include/glib-2.0/glib.h" 2
5794
# 1 "/usr/include/glib-2.0/glib/gpoll.h" 1
5795
# 66 "/usr/include/glib-2.0/glib.h" 2
5796
# 1 "/usr/include/glib-2.0/glib/gprimes.h" 1
5797
# 34 "/usr/include/glib-2.0/glib/gprimes.h"
5798
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
5799
# 35 "/usr/include/glib-2.0/glib/gprimes.h" 2
5802
# 47 "/usr/include/glib-2.0/glib/gprimes.h"
5803
guint g_spaced_primes_closest (guint num) __attribute__((__const__));
5806
# 67 "/usr/include/glib-2.0/glib.h" 2
5807
# 1 "/usr/include/glib-2.0/glib/gqsort.h" 1
5808
# 34 "/usr/include/glib-2.0/glib/gqsort.h"
5809
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
5810
# 35 "/usr/include/glib-2.0/glib/gqsort.h" 2
5814
void g_qsort_with_data (gconstpointer pbase,
5817
GCompareDataFunc compare_func,
5818
gpointer user_data);
5821
# 68 "/usr/include/glib-2.0/glib.h" 2
5822
# 1 "/usr/include/glib-2.0/glib/gquark.h" 1
5823
# 69 "/usr/include/glib-2.0/glib.h" 2
5824
# 1 "/usr/include/glib-2.0/glib/gqueue.h" 1
5825
# 34 "/usr/include/glib-2.0/glib/gqueue.h"
5826
# 1 "/usr/include/glib-2.0/glib/glist.h" 1
5827
# 35 "/usr/include/glib-2.0/glib/gqueue.h" 2
5831
typedef struct _GQueue GQueue;
5844
GQueue* g_queue_new (void);
5845
void g_queue_free (GQueue *queue);
5846
void g_queue_init (GQueue *queue);
5847
void g_queue_clear (GQueue *queue);
5848
gboolean g_queue_is_empty (GQueue *queue);
5849
guint g_queue_get_length (GQueue *queue);
5850
void g_queue_reverse (GQueue *queue);
5851
GQueue * g_queue_copy (GQueue *queue);
5852
void g_queue_foreach (GQueue *queue,
5854
gpointer user_data);
5855
GList * g_queue_find (GQueue *queue,
5856
gconstpointer data);
5857
GList * g_queue_find_custom (GQueue *queue,
5860
void g_queue_sort (GQueue *queue,
5861
GCompareDataFunc compare_func,
5862
gpointer user_data);
5864
void g_queue_push_head (GQueue *queue,
5866
void g_queue_push_tail (GQueue *queue,
5868
void g_queue_push_nth (GQueue *queue,
5871
gpointer g_queue_pop_head (GQueue *queue);
5872
gpointer g_queue_pop_tail (GQueue *queue);
5873
gpointer g_queue_pop_nth (GQueue *queue,
5875
gpointer g_queue_peek_head (GQueue *queue);
5876
gpointer g_queue_peek_tail (GQueue *queue);
5877
gpointer g_queue_peek_nth (GQueue *queue,
5879
gint g_queue_index (GQueue *queue,
5880
gconstpointer data);
5881
void g_queue_remove (GQueue *queue,
5882
gconstpointer data);
5883
void g_queue_remove_all (GQueue *queue,
5884
gconstpointer data);
5885
void g_queue_insert_before (GQueue *queue,
5888
void g_queue_insert_after (GQueue *queue,
5891
void g_queue_insert_sorted (GQueue *queue,
5893
GCompareDataFunc func,
5894
gpointer user_data);
5896
void g_queue_push_head_link (GQueue *queue,
5898
void g_queue_push_tail_link (GQueue *queue,
5900
void g_queue_push_nth_link (GQueue *queue,
5903
GList* g_queue_pop_head_link (GQueue *queue);
5904
GList* g_queue_pop_tail_link (GQueue *queue);
5905
GList* g_queue_pop_nth_link (GQueue *queue,
5907
GList* g_queue_peek_head_link (GQueue *queue);
5908
GList* g_queue_peek_tail_link (GQueue *queue);
5909
GList* g_queue_peek_nth_link (GQueue *queue,
5911
gint g_queue_link_index (GQueue *queue,
5913
void g_queue_unlink (GQueue *queue,
5915
void g_queue_delete_link (GQueue *queue,
5919
# 70 "/usr/include/glib-2.0/glib.h" 2
5920
# 1 "/usr/include/glib-2.0/glib/grand.h" 1
5921
# 34 "/usr/include/glib-2.0/glib/grand.h"
5922
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
5923
# 35 "/usr/include/glib-2.0/glib/grand.h" 2
5927
typedef struct _GRand GRand;
5928
# 49 "/usr/include/glib-2.0/glib/grand.h"
5929
GRand* g_rand_new_with_seed (guint32 seed);
5930
GRand* g_rand_new_with_seed_array (const guint32 *seed,
5932
GRand* g_rand_new (void);
5933
void g_rand_free (GRand *rand_);
5934
GRand* g_rand_copy (GRand *rand_);
5935
void g_rand_set_seed (GRand *rand_,
5937
void g_rand_set_seed_array (GRand *rand_,
5938
const guint32 *seed,
5943
guint32 g_rand_int (GRand *rand_);
5944
gint32 g_rand_int_range (GRand *rand_,
5947
gdouble g_rand_double (GRand *rand_);
5948
gdouble g_rand_double_range (GRand *rand_,
5951
void g_random_set_seed (guint32 seed);
5955
guint32 g_random_int (void);
5956
gint32 g_random_int_range (gint32 begin,
5958
gdouble g_random_double (void);
5959
gdouble g_random_double_range (gdouble begin,
5964
# 71 "/usr/include/glib-2.0/glib.h" 2
5965
# 1 "/usr/include/glib-2.0/glib/grel.h" 1
5966
# 34 "/usr/include/glib-2.0/glib/grel.h"
5967
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
5968
# 35 "/usr/include/glib-2.0/glib/grel.h" 2
5972
typedef struct _GRelation GRelation;
5973
typedef struct _GTuples GTuples;
5979
# 71 "/usr/include/glib-2.0/glib/grel.h"
5980
GRelation* g_relation_new (gint fields);
5981
void g_relation_destroy (GRelation *relation);
5982
void g_relation_index (GRelation *relation,
5984
GHashFunc hash_func,
5985
GEqualFunc key_equal_func);
5986
void g_relation_insert (GRelation *relation,
5988
gint g_relation_delete (GRelation *relation,
5991
GTuples* g_relation_select (GRelation *relation,
5994
gint g_relation_count (GRelation *relation,
5997
gboolean g_relation_exists (GRelation *relation,
5999
void g_relation_print (GRelation *relation);
6001
void g_tuples_destroy (GTuples *tuples);
6002
gpointer g_tuples_index (GTuples *tuples,
6009
# 72 "/usr/include/glib-2.0/glib.h" 2
6010
# 1 "/usr/include/glib-2.0/glib/gregex.h" 1
6011
# 29 "/usr/include/glib-2.0/glib/gregex.h"
6012
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
6013
# 30 "/usr/include/glib-2.0/glib/gregex.h" 2
6014
# 1 "/usr/include/glib-2.0/glib/gstring.h" 1
6015
# 31 "/usr/include/glib-2.0/glib/gregex.h" 2
6018
# 117 "/usr/include/glib-2.0/glib/gregex.h"
6021
G_REGEX_ERROR_COMPILE,
6022
G_REGEX_ERROR_OPTIMIZE,
6023
G_REGEX_ERROR_REPLACE,
6024
G_REGEX_ERROR_MATCH,
6025
G_REGEX_ERROR_INTERNAL,
6028
G_REGEX_ERROR_STRAY_BACKSLASH = 101,
6029
G_REGEX_ERROR_MISSING_CONTROL_CHAR = 102,
6030
G_REGEX_ERROR_UNRECOGNIZED_ESCAPE = 103,
6031
G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER = 104,
6032
G_REGEX_ERROR_QUANTIFIER_TOO_BIG = 105,
6033
G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS = 106,
6034
G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS = 107,
6035
G_REGEX_ERROR_RANGE_OUT_OF_ORDER = 108,
6036
G_REGEX_ERROR_NOTHING_TO_REPEAT = 109,
6037
G_REGEX_ERROR_UNRECOGNIZED_CHARACTER = 112,
6038
G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS = 113,
6039
G_REGEX_ERROR_UNMATCHED_PARENTHESIS = 114,
6040
G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE = 115,
6041
G_REGEX_ERROR_UNTERMINATED_COMMENT = 118,
6042
G_REGEX_ERROR_EXPRESSION_TOO_LARGE = 120,
6043
G_REGEX_ERROR_MEMORY_ERROR = 121,
6044
G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND = 125,
6045
G_REGEX_ERROR_MALFORMED_CONDITION = 126,
6046
G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES = 127,
6047
G_REGEX_ERROR_ASSERTION_EXPECTED = 128,
6048
G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME = 130,
6049
G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED = 131,
6050
G_REGEX_ERROR_HEX_CODE_TOO_LARGE = 134,
6051
G_REGEX_ERROR_INVALID_CONDITION = 135,
6052
G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND = 136,
6053
G_REGEX_ERROR_INFINITE_LOOP = 140,
6054
G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR = 142,
6055
G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME = 143,
6056
G_REGEX_ERROR_MALFORMED_PROPERTY = 146,
6057
G_REGEX_ERROR_UNKNOWN_PROPERTY = 147,
6058
G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG = 148,
6059
G_REGEX_ERROR_TOO_MANY_SUBPATTERNS = 149,
6060
G_REGEX_ERROR_INVALID_OCTAL_VALUE = 151,
6061
G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE = 154,
6062
G_REGEX_ERROR_DEFINE_REPETION = 155,
6063
G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS = 156,
6064
G_REGEX_ERROR_MISSING_BACK_REFERENCE = 157
6066
# 176 "/usr/include/glib-2.0/glib/gregex.h"
6067
GQuark g_regex_error_quark (void);
6068
# 243 "/usr/include/glib-2.0/glib/gregex.h"
6071
G_REGEX_CASELESS = 1 << 0,
6072
G_REGEX_MULTILINE = 1 << 1,
6073
G_REGEX_DOTALL = 1 << 2,
6074
G_REGEX_EXTENDED = 1 << 3,
6075
G_REGEX_ANCHORED = 1 << 4,
6076
G_REGEX_DOLLAR_ENDONLY = 1 << 5,
6077
G_REGEX_UNGREEDY = 1 << 9,
6078
G_REGEX_RAW = 1 << 11,
6079
G_REGEX_NO_AUTO_CAPTURE = 1 << 12,
6080
G_REGEX_OPTIMIZE = 1 << 13,
6081
G_REGEX_DUPNAMES = 1 << 19,
6082
G_REGEX_NEWLINE_CR = 1 << 20,
6083
G_REGEX_NEWLINE_LF = 1 << 21,
6084
G_REGEX_NEWLINE_CRLF = G_REGEX_NEWLINE_CR | G_REGEX_NEWLINE_LF
6085
} GRegexCompileFlags;
6086
# 306 "/usr/include/glib-2.0/glib/gregex.h"
6089
G_REGEX_MATCH_ANCHORED = 1 << 4,
6090
G_REGEX_MATCH_NOTBOL = 1 << 7,
6091
G_REGEX_MATCH_NOTEOL = 1 << 8,
6092
G_REGEX_MATCH_NOTEMPTY = 1 << 10,
6093
G_REGEX_MATCH_PARTIAL = 1 << 15,
6094
G_REGEX_MATCH_NEWLINE_CR = 1 << 20,
6095
G_REGEX_MATCH_NEWLINE_LF = 1 << 21,
6096
G_REGEX_MATCH_NEWLINE_CRLF = G_REGEX_MATCH_NEWLINE_CR | G_REGEX_MATCH_NEWLINE_LF,
6097
G_REGEX_MATCH_NEWLINE_ANY = 1 << 22
6099
# 327 "/usr/include/glib-2.0/glib/gregex.h"
6100
typedef struct _GRegex GRegex;
6103
typedef struct _GMatchInfo GMatchInfo;
6104
# 349 "/usr/include/glib-2.0/glib/gregex.h"
6105
typedef gboolean (*GRegexEvalCallback) (const GMatchInfo *match_info,
6107
gpointer user_data);
6110
GRegex *g_regex_new (const gchar *pattern,
6111
GRegexCompileFlags compile_options,
6112
GRegexMatchFlags match_options,
6114
GRegex *g_regex_ref (GRegex *regex);
6115
void g_regex_unref (GRegex *regex);
6116
const gchar *g_regex_get_pattern (const GRegex *regex);
6117
gint g_regex_get_max_backref (const GRegex *regex);
6118
gint g_regex_get_capture_count (const GRegex *regex);
6119
gint g_regex_get_string_number (const GRegex *regex,
6121
gchar *g_regex_escape_string (const gchar *string,
6124
GRegexCompileFlags g_regex_get_compile_flags (const GRegex *regex);
6125
GRegexMatchFlags g_regex_get_match_flags (const GRegex *regex);
6128
gboolean g_regex_match_simple (const gchar *pattern,
6129
const gchar *string,
6130
GRegexCompileFlags compile_options,
6131
GRegexMatchFlags match_options);
6132
gboolean g_regex_match (const GRegex *regex,
6133
const gchar *string,
6134
GRegexMatchFlags match_options,
6135
GMatchInfo **match_info);
6136
gboolean g_regex_match_full (const GRegex *regex,
6137
const gchar *string,
6139
gint start_position,
6140
GRegexMatchFlags match_options,
6141
GMatchInfo **match_info,
6143
gboolean g_regex_match_all (const GRegex *regex,
6144
const gchar *string,
6145
GRegexMatchFlags match_options,
6146
GMatchInfo **match_info);
6147
gboolean g_regex_match_all_full (const GRegex *regex,
6148
const gchar *string,
6150
gint start_position,
6151
GRegexMatchFlags match_options,
6152
GMatchInfo **match_info,
6156
gchar **g_regex_split_simple (const gchar *pattern,
6157
const gchar *string,
6158
GRegexCompileFlags compile_options,
6159
GRegexMatchFlags match_options);
6160
gchar **g_regex_split (const GRegex *regex,
6161
const gchar *string,
6162
GRegexMatchFlags match_options);
6163
gchar **g_regex_split_full (const GRegex *regex,
6164
const gchar *string,
6166
gint start_position,
6167
GRegexMatchFlags match_options,
6172
gchar *g_regex_replace (const GRegex *regex,
6173
const gchar *string,
6175
gint start_position,
6176
const gchar *replacement,
6177
GRegexMatchFlags match_options,
6179
gchar *g_regex_replace_literal (const GRegex *regex,
6180
const gchar *string,
6182
gint start_position,
6183
const gchar *replacement,
6184
GRegexMatchFlags match_options,
6186
gchar *g_regex_replace_eval (const GRegex *regex,
6187
const gchar *string,
6189
gint start_position,
6190
GRegexMatchFlags match_options,
6191
GRegexEvalCallback eval,
6194
gboolean g_regex_check_replacement (const gchar *replacement,
6195
gboolean *has_references,
6199
GRegex *g_match_info_get_regex (const GMatchInfo *match_info);
6200
const gchar *g_match_info_get_string (const GMatchInfo *match_info);
6202
void g_match_info_free (GMatchInfo *match_info);
6203
gboolean g_match_info_next (GMatchInfo *match_info,
6205
gboolean g_match_info_matches (const GMatchInfo *match_info);
6206
gint g_match_info_get_match_count (const GMatchInfo *match_info);
6207
gboolean g_match_info_is_partial_match (const GMatchInfo *match_info);
6208
gchar *g_match_info_expand_references(const GMatchInfo *match_info,
6209
const gchar *string_to_expand,
6211
gchar *g_match_info_fetch (const GMatchInfo *match_info,
6213
gboolean g_match_info_fetch_pos (const GMatchInfo *match_info,
6217
gchar *g_match_info_fetch_named (const GMatchInfo *match_info,
6219
gboolean g_match_info_fetch_named_pos (const GMatchInfo *match_info,
6223
gchar **g_match_info_fetch_all (const GMatchInfo *match_info);
6226
# 73 "/usr/include/glib-2.0/glib.h" 2
6227
# 1 "/usr/include/glib-2.0/glib/gscanner.h" 1
6228
# 34 "/usr/include/glib-2.0/glib/gscanner.h"
6229
# 1 "/usr/include/glib-2.0/glib/gdataset.h" 1
6230
# 35 "/usr/include/glib-2.0/glib/gscanner.h" 2
6231
# 1 "/usr/include/glib-2.0/glib/ghash.h" 1
6232
# 36 "/usr/include/glib-2.0/glib/gscanner.h" 2
6236
typedef struct _GScanner GScanner;
6237
typedef struct _GScannerConfig GScannerConfig;
6238
typedef union _GTokenValue GTokenValue;
6240
typedef void (*GScannerMsgFunc) (GScanner *scanner,
6243
# 64 "/usr/include/glib-2.0/glib/gscanner.h"
6248
G_ERR_UNEXP_EOF_IN_STRING,
6249
G_ERR_UNEXP_EOF_IN_COMMENT,
6250
G_ERR_NON_DIGIT_IN_CONST,
6253
G_ERR_FLOAT_MALFORMED
6261
G_TOKEN_LEFT_PAREN = '(',
6262
G_TOKEN_RIGHT_PAREN = ')',
6263
G_TOKEN_LEFT_CURLY = '{',
6264
G_TOKEN_RIGHT_CURLY = '}',
6265
G_TOKEN_LEFT_BRACE = '[',
6266
G_TOKEN_RIGHT_BRACE = ']',
6267
G_TOKEN_EQUAL_SIGN = '=',
6268
G_TOKEN_COMMA = ',',
6284
G_TOKEN_IDENTIFIER_NULL,
6286
G_TOKEN_COMMENT_SINGLE,
6287
G_TOKEN_COMMENT_MULTI,
6294
gchar *v_identifier;
6307
struct _GScannerConfig
6311
gchar *cset_skip_characters;
6312
gchar *cset_identifier_first;
6313
gchar *cset_identifier_nth;
6314
gchar *cpair_comment_single;
6318
guint case_sensitive : 1;
6323
guint skip_comment_multi : 1;
6324
guint skip_comment_single : 1;
6325
guint scan_comment_multi : 1;
6326
guint scan_identifier : 1;
6327
guint scan_identifier_1char : 1;
6328
guint scan_identifier_NULL : 1;
6329
guint scan_symbols : 1;
6330
guint scan_binary : 1;
6331
guint scan_octal : 1;
6332
guint scan_float : 1;
6334
guint scan_hex_dollar : 1;
6335
guint scan_string_sq : 1;
6336
guint scan_string_dq : 1;
6337
guint numbers_2_int : 1;
6338
guint int_2_float : 1;
6339
guint identifier_2_string : 1;
6340
guint char_2_token : 1;
6341
guint symbol_2_token : 1;
6342
guint scope_0_fallback : 1;
6343
guint store_int64 : 1;
6344
guint padding_dummy;
6351
guint max_parse_errors;
6357
const gchar *input_name;
6363
GScannerConfig *config;
6372
GTokenType next_token;
6373
GTokenValue next_value;
6375
guint next_position;
6378
GHashTable *symbol_table;
6381
const gchar *text_end;
6386
GScannerMsgFunc msg_handler;
6389
GScanner* g_scanner_new (const GScannerConfig *config_templ);
6390
void g_scanner_destroy (GScanner *scanner);
6391
void g_scanner_input_file (GScanner *scanner,
6393
void g_scanner_sync_file_offset (GScanner *scanner);
6394
void g_scanner_input_text (GScanner *scanner,
6397
GTokenType g_scanner_get_next_token (GScanner *scanner);
6398
GTokenType g_scanner_peek_next_token (GScanner *scanner);
6399
GTokenType g_scanner_cur_token (GScanner *scanner);
6400
GTokenValue g_scanner_cur_value (GScanner *scanner);
6401
guint g_scanner_cur_line (GScanner *scanner);
6402
guint g_scanner_cur_position (GScanner *scanner);
6403
gboolean g_scanner_eof (GScanner *scanner);
6404
guint g_scanner_set_scope (GScanner *scanner,
6406
void g_scanner_scope_add_symbol (GScanner *scanner,
6408
const gchar *symbol,
6410
void g_scanner_scope_remove_symbol (GScanner *scanner,
6412
const gchar *symbol);
6413
gpointer g_scanner_scope_lookup_symbol (GScanner *scanner,
6415
const gchar *symbol);
6416
void g_scanner_scope_foreach_symbol (GScanner *scanner,
6419
gpointer user_data);
6420
gpointer g_scanner_lookup_symbol (GScanner *scanner,
6421
const gchar *symbol);
6422
void g_scanner_unexp_token (GScanner *scanner,
6423
GTokenType expected_token,
6424
const gchar *identifier_spec,
6425
const gchar *symbol_spec,
6426
const gchar *symbol_name,
6427
const gchar *message,
6429
void g_scanner_error (GScanner *scanner,
6430
const gchar *format,
6431
...) __attribute__((__format__ (__printf__, 2, 3)));
6432
void g_scanner_warn (GScanner *scanner,
6433
const gchar *format,
6434
...) __attribute__((__format__ (__printf__, 2, 3)));
6435
# 276 "/usr/include/glib-2.0/glib/gscanner.h"
6437
# 74 "/usr/include/glib-2.0/glib.h" 2
6438
# 1 "/usr/include/glib-2.0/glib/gsequence.h" 1
6439
# 28 "/usr/include/glib-2.0/glib/gsequence.h"
6440
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
6441
# 29 "/usr/include/glib-2.0/glib/gsequence.h" 2
6445
typedef struct _GSequence GSequence;
6446
typedef struct _GSequenceNode GSequenceIter;
6448
typedef gint (* GSequenceIterCompareFunc) (GSequenceIter *a,
6454
GSequence * g_sequence_new (GDestroyNotify data_destroy);
6455
void g_sequence_free (GSequence *seq);
6456
gint g_sequence_get_length (GSequence *seq);
6457
void g_sequence_foreach (GSequence *seq,
6459
gpointer user_data);
6460
void g_sequence_foreach_range (GSequenceIter *begin,
6463
gpointer user_data);
6464
void g_sequence_sort (GSequence *seq,
6465
GCompareDataFunc cmp_func,
6467
void g_sequence_sort_iter (GSequence *seq,
6468
GSequenceIterCompareFunc cmp_func,
6473
GSequenceIter *g_sequence_get_begin_iter (GSequence *seq);
6474
GSequenceIter *g_sequence_get_end_iter (GSequence *seq);
6475
GSequenceIter *g_sequence_get_iter_at_pos (GSequence *seq,
6477
GSequenceIter *g_sequence_append (GSequence *seq,
6479
GSequenceIter *g_sequence_prepend (GSequence *seq,
6481
GSequenceIter *g_sequence_insert_before (GSequenceIter *iter,
6483
void g_sequence_move (GSequenceIter *src,
6484
GSequenceIter *dest);
6485
void g_sequence_swap (GSequenceIter *a,
6487
GSequenceIter *g_sequence_insert_sorted (GSequence *seq,
6489
GCompareDataFunc cmp_func,
6491
GSequenceIter *g_sequence_insert_sorted_iter (GSequence *seq,
6493
GSequenceIterCompareFunc iter_cmp,
6495
void g_sequence_sort_changed (GSequenceIter *iter,
6496
GCompareDataFunc cmp_func,
6498
void g_sequence_sort_changed_iter (GSequenceIter *iter,
6499
GSequenceIterCompareFunc iter_cmp,
6501
void g_sequence_remove (GSequenceIter *iter);
6502
void g_sequence_remove_range (GSequenceIter *begin,
6503
GSequenceIter *end);
6504
void g_sequence_move_range (GSequenceIter *dest,
6505
GSequenceIter *begin,
6506
GSequenceIter *end);
6507
GSequenceIter *g_sequence_search (GSequence *seq,
6509
GCompareDataFunc cmp_func,
6511
GSequenceIter *g_sequence_search_iter (GSequence *seq,
6513
GSequenceIterCompareFunc iter_cmp,
6515
GSequenceIter *g_sequence_lookup (GSequence *seq,
6517
GCompareDataFunc cmp_func,
6519
GSequenceIter *g_sequence_lookup_iter (GSequence *seq,
6521
GSequenceIterCompareFunc iter_cmp,
6526
gpointer g_sequence_get (GSequenceIter *iter);
6527
void g_sequence_set (GSequenceIter *iter,
6531
gboolean g_sequence_iter_is_begin (GSequenceIter *iter);
6532
gboolean g_sequence_iter_is_end (GSequenceIter *iter);
6533
GSequenceIter *g_sequence_iter_next (GSequenceIter *iter);
6534
GSequenceIter *g_sequence_iter_prev (GSequenceIter *iter);
6535
gint g_sequence_iter_get_position (GSequenceIter *iter);
6536
GSequenceIter *g_sequence_iter_move (GSequenceIter *iter,
6538
GSequence * g_sequence_iter_get_sequence (GSequenceIter *iter);
6542
gint g_sequence_iter_compare (GSequenceIter *a,
6544
GSequenceIter *g_sequence_range_get_midpoint (GSequenceIter *begin,
6545
GSequenceIter *end);
6548
# 75 "/usr/include/glib-2.0/glib.h" 2
6549
# 1 "/usr/include/glib-2.0/glib/gshell.h" 1
6550
# 28 "/usr/include/glib-2.0/glib/gshell.h"
6551
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
6552
# 29 "/usr/include/glib-2.0/glib/gshell.h" 2
6561
G_SHELL_ERROR_BAD_QUOTING,
6563
G_SHELL_ERROR_EMPTY_STRING,
6564
G_SHELL_ERROR_FAILED
6567
GQuark g_shell_error_quark (void);
6569
gchar* g_shell_quote (const gchar *unquoted_string);
6570
gchar* g_shell_unquote (const gchar *quoted_string,
6572
gboolean g_shell_parse_argv (const gchar *command_line,
6578
# 76 "/usr/include/glib-2.0/glib.h" 2
6579
# 1 "/usr/include/glib-2.0/glib/gslice.h" 1
6580
# 77 "/usr/include/glib-2.0/glib.h" 2
6581
# 1 "/usr/include/glib-2.0/glib/gslist.h" 1
6582
# 78 "/usr/include/glib-2.0/glib.h" 2
6583
# 1 "/usr/include/glib-2.0/glib/gspawn.h" 1
6584
# 28 "/usr/include/glib-2.0/glib/gspawn.h"
6585
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
6586
# 29 "/usr/include/glib-2.0/glib/gspawn.h" 2
6597
G_SPAWN_ERROR_CHDIR,
6598
G_SPAWN_ERROR_ACCES,
6601
G_SPAWN_ERROR_NOEXEC,
6602
G_SPAWN_ERROR_NAMETOOLONG,
6603
G_SPAWN_ERROR_NOENT,
6604
G_SPAWN_ERROR_NOMEM,
6605
G_SPAWN_ERROR_NOTDIR,
6607
G_SPAWN_ERROR_TXTBUSY,
6609
G_SPAWN_ERROR_NFILE,
6610
G_SPAWN_ERROR_MFILE,
6611
G_SPAWN_ERROR_INVAL,
6612
G_SPAWN_ERROR_ISDIR,
6613
G_SPAWN_ERROR_LIBBAD,
6614
G_SPAWN_ERROR_FAILED
6619
typedef void (* GSpawnChildSetupFunc) (gpointer user_data);
6623
G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0,
6624
G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1,
6626
G_SPAWN_SEARCH_PATH = 1 << 2,
6628
G_SPAWN_STDOUT_TO_DEV_NULL = 1 << 3,
6629
G_SPAWN_STDERR_TO_DEV_NULL = 1 << 4,
6630
G_SPAWN_CHILD_INHERITS_STDIN = 1 << 5,
6631
G_SPAWN_FILE_AND_ARGV_ZERO = 1 << 6
6634
GQuark g_spawn_error_quark (void);
6635
# 86 "/usr/include/glib-2.0/glib/gspawn.h"
6636
gboolean g_spawn_async (const gchar *working_directory,
6640
GSpawnChildSetupFunc child_setup,
6649
gboolean g_spawn_async_with_pipes (const gchar *working_directory,
6653
GSpawnChildSetupFunc child_setup,
6656
gint *standard_input,
6657
gint *standard_output,
6658
gint *standard_error,
6666
gboolean g_spawn_sync (const gchar *working_directory,
6670
GSpawnChildSetupFunc child_setup,
6672
gchar **standard_output,
6673
gchar **standard_error,
6677
gboolean g_spawn_command_line_sync (const gchar *command_line,
6678
gchar **standard_output,
6679
gchar **standard_error,
6682
gboolean g_spawn_command_line_async (const gchar *command_line,
6685
void g_spawn_close_pid (GPid pid);
6688
# 79 "/usr/include/glib-2.0/glib.h" 2
6689
# 1 "/usr/include/glib-2.0/glib/gstrfuncs.h" 1
6690
# 35 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6691
# 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
6692
# 36 "/usr/include/glib-2.0/glib/gstrfuncs.h" 2
6693
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
6694
# 37 "/usr/include/glib-2.0/glib/gstrfuncs.h" 2
6700
G_ASCII_ALNUM = 1 << 0,
6701
G_ASCII_ALPHA = 1 << 1,
6702
G_ASCII_CNTRL = 1 << 2,
6703
G_ASCII_DIGIT = 1 << 3,
6704
G_ASCII_GRAPH = 1 << 4,
6705
G_ASCII_LOWER = 1 << 5,
6706
G_ASCII_PRINT = 1 << 6,
6707
G_ASCII_PUNCT = 1 << 7,
6708
G_ASCII_SPACE = 1 << 8,
6709
G_ASCII_UPPER = 1 << 9,
6710
G_ASCII_XDIGIT = 1 << 10
6713
extern const guint16 * const g_ascii_table;
6714
# 90 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6715
gchar g_ascii_tolower (gchar c) __attribute__((__const__));
6716
gchar g_ascii_toupper (gchar c) __attribute__((__const__));
6718
gint g_ascii_digit_value (gchar c) __attribute__((__const__));
6719
gint g_ascii_xdigit_value (gchar c) __attribute__((__const__));
6725
gchar* g_strdelimit (gchar *string,
6726
const gchar *delimiters,
6727
gchar new_delimiter);
6728
gchar* g_strcanon (gchar *string,
6729
const gchar *valid_chars,
6731
const gchar* g_strerror (gint errnum) __attribute__((__const__));
6732
const gchar* g_strsignal (gint signum) __attribute__((__const__));
6733
gchar* g_strreverse (gchar *string);
6734
gsize g_strlcpy (gchar *dest,
6737
gsize g_strlcat (gchar *dest,
6740
gchar * g_strstr_len (const gchar *haystack,
6741
gssize haystack_len,
6742
const gchar *needle);
6743
gchar * g_strrstr (const gchar *haystack,
6744
const gchar *needle);
6745
gchar * g_strrstr_len (const gchar *haystack,
6746
gssize haystack_len,
6747
const gchar *needle);
6749
gboolean g_str_has_suffix (const gchar *str,
6750
const gchar *suffix);
6751
gboolean g_str_has_prefix (const gchar *str,
6752
const gchar *prefix);
6756
gdouble g_strtod (const gchar *nptr,
6758
gdouble g_ascii_strtod (const gchar *nptr,
6760
guint64 g_ascii_strtoull (const gchar *nptr,
6763
gint64 g_ascii_strtoll (const gchar *nptr,
6770
gchar * g_ascii_dtostr (gchar *buffer,
6773
gchar * g_ascii_formatd (gchar *buffer,
6775
const gchar *format,
6779
gchar* g_strchug (gchar *string);
6781
gchar* g_strchomp (gchar *string);
6785
gint g_ascii_strcasecmp (const gchar *s1,
6787
gint g_ascii_strncasecmp (const gchar *s1,
6790
gchar* g_ascii_strdown (const gchar *str,
6791
gssize len) __attribute__((__malloc__));
6792
gchar* g_ascii_strup (const gchar *str,
6793
gssize len) __attribute__((__malloc__));
6794
# 177 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6795
gint g_strcasecmp (const gchar *s1,
6797
gint g_strncasecmp (const gchar *s1,
6800
gchar* g_strdown (gchar *string);
6801
gchar* g_strup (gchar *string);
6808
gchar* g_strdup (const gchar *str) __attribute__((__malloc__));
6809
gchar* g_strdup_printf (const gchar *format,
6810
...) __attribute__((__format__ (__printf__, 1, 2))) __attribute__((__malloc__));
6811
gchar* g_strdup_vprintf (const gchar *format,
6812
va_list args) __attribute__((__malloc__));
6813
gchar* g_strndup (const gchar *str,
6814
gsize n) __attribute__((__malloc__));
6815
gchar* g_strnfill (gsize length,
6816
gchar fill_char) __attribute__((__malloc__));
6817
gchar* g_strconcat (const gchar *string1,
6818
...) __attribute__((__malloc__)) __attribute__((__sentinel__));
6819
gchar* g_strjoin (const gchar *separator,
6820
...) __attribute__((__malloc__)) __attribute__((__sentinel__));
6826
gchar* g_strcompress (const gchar *source) __attribute__((__malloc__));
6827
# 218 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6828
gchar* g_strescape (const gchar *source,
6829
const gchar *exceptions) __attribute__((__malloc__));
6831
gpointer g_memdup (gconstpointer mem,
6832
guint byte_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(2)));
6833
# 233 "/usr/include/glib-2.0/glib/gstrfuncs.h"
6834
gchar** g_strsplit (const gchar *string,
6835
const gchar *delimiter,
6836
gint max_tokens) __attribute__((__malloc__));
6837
gchar ** g_strsplit_set (const gchar *string,
6838
const gchar *delimiters,
6839
gint max_tokens) __attribute__((__malloc__));
6840
gchar* g_strjoinv (const gchar *separator,
6841
gchar **str_array) __attribute__((__malloc__));
6842
void g_strfreev (gchar **str_array);
6843
gchar** g_strdupv (gchar **str_array) __attribute__((__malloc__));
6844
guint g_strv_length (gchar **str_array);
6846
gchar* g_stpcpy (gchar *dest,
6849
const gchar *g_strip_context (const gchar *msgid,
6850
const gchar *msgval) __attribute__((__format_arg__ (1)));
6852
const gchar *g_dgettext (const gchar *domain,
6853
const gchar *msgid) __attribute__((__format_arg__ (2)));
6854
const gchar *g_dcgettext (const gchar *domain,
6856
int category) __attribute__((__format_arg__ (2)));
6857
const gchar *g_dngettext (const gchar *domain,
6859
const gchar *msgid_plural,
6860
gulong n) __attribute__((__format_arg__ (3)));
6861
const gchar *g_dpgettext (const gchar *domain,
6862
const gchar *msgctxtid,
6863
gsize msgidoffset) __attribute__((__format_arg__ (2)));
6864
const gchar *g_dpgettext2 (const gchar *domain,
6865
const gchar *context,
6866
const gchar *msgid) __attribute__((__format_arg__ (3)));
6869
# 80 "/usr/include/glib-2.0/glib.h" 2
6870
# 1 "/usr/include/glib-2.0/glib/gstring.h" 1
6871
# 81 "/usr/include/glib-2.0/glib.h" 2
6872
# 1 "/usr/include/glib-2.0/glib/gtestutils.h" 1
6873
# 28 "/usr/include/glib-2.0/glib/gtestutils.h"
6874
# 1 "/usr/include/glib-2.0/glib/gmessages.h" 1
6875
# 29 "/usr/include/glib-2.0/glib/gtestutils.h" 2
6876
# 1 "/usr/include/glib-2.0/glib/gstring.h" 1
6877
# 30 "/usr/include/glib-2.0/glib/gtestutils.h" 2
6878
# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
6879
# 31 "/usr/include/glib-2.0/glib/gtestutils.h" 2
6880
# 1 "/usr/include/glib-2.0/glib/gslist.h" 1
6881
# 32 "/usr/include/glib-2.0/glib/gtestutils.h" 2
6885
typedef struct GTestCase GTestCase;
6886
typedef struct GTestSuite GTestSuite;
6887
typedef void (*GTestFunc) (void);
6888
typedef void (*GTestDataFunc) (gconstpointer user_data);
6889
typedef void (*GTestFixtureFunc) (gpointer fixture,
6890
gconstpointer user_data);
6891
# 79 "/usr/include/glib-2.0/glib/gtestutils.h"
6892
int g_strcmp0 (const char *str1,
6896
void g_test_minimized_result (double minimized_quantity,
6898
...) __attribute__((__format__ (__printf__, 2, 3)));
6899
void g_test_maximized_result (double maximized_quantity,
6901
...) __attribute__((__format__ (__printf__, 2, 3)));
6904
void g_test_init (int *argc,
6907
# 102 "/usr/include/glib-2.0/glib/gtestutils.h"
6908
int g_test_run (void);
6910
void g_test_add_func (const char *testpath,
6911
GTestFunc test_func);
6913
void g_test_add_data_func (const char *testpath,
6914
gconstpointer test_data,
6915
GTestDataFunc test_func);
6916
# 125 "/usr/include/glib-2.0/glib/gtestutils.h"
6917
void g_test_message (const char *format,
6918
...) __attribute__((__format__ (__printf__, 1, 2)));
6919
void g_test_bug_base (const char *uri_pattern);
6920
void g_test_bug (const char *bug_uri_snippet);
6922
void g_test_timer_start (void);
6923
double g_test_timer_elapsed (void);
6924
double g_test_timer_last (void);
6927
void g_test_queue_free (gpointer gfree_pointer);
6928
void g_test_queue_destroy (GDestroyNotify destroy_func,
6929
gpointer destroy_data);
6934
G_TEST_TRAP_SILENCE_STDOUT = 1 << 7,
6935
G_TEST_TRAP_SILENCE_STDERR = 1 << 8,
6936
G_TEST_TRAP_INHERIT_STDIN = 1 << 9
6938
gboolean g_test_trap_fork (guint64 usec_timeout,
6939
GTestTrapFlags test_trap_flags);
6940
gboolean g_test_trap_has_passed (void);
6941
gboolean g_test_trap_reached_timeout (void);
6942
# 159 "/usr/include/glib-2.0/glib/gtestutils.h"
6943
gint32 g_test_rand_int (void);
6944
gint32 g_test_rand_int_range (gint32 begin,
6946
double g_test_rand_double (void);
6947
double g_test_rand_double_range (double range_start,
6951
GTestCase* g_test_create_case (const char *test_name,
6953
gconstpointer test_data,
6954
GTestFixtureFunc data_setup,
6955
GTestFixtureFunc data_test,
6956
GTestFixtureFunc data_teardown);
6957
GTestSuite* g_test_create_suite (const char *suite_name);
6958
GTestSuite* g_test_get_root (void);
6959
void g_test_suite_add (GTestSuite *suite,
6960
GTestCase *test_case);
6961
void g_test_suite_add_suite (GTestSuite *suite,
6962
GTestSuite *nestedsuite);
6963
int g_test_run_suite (GTestSuite *suite);
6966
void g_test_trap_assertions (const char *domain,
6970
guint64 assertion_flags,
6971
const char *pattern);
6972
void g_assertion_message (const char *domain,
6976
const char *message) __attribute__((__noreturn__));
6977
void g_assertion_message_expr (const char *domain,
6981
const char *expr) __attribute__((__noreturn__));
6982
void g_assertion_message_cmpstr (const char *domain,
6989
const char *arg2) __attribute__((__noreturn__));
6990
void g_assertion_message_cmpnum (const char *domain,
6998
char numtype) __attribute__((__noreturn__));
6999
void g_assertion_message_error (const char *domain,
7004
const GError *error,
7005
GQuark error_domain,
7006
int error_code) __attribute__((__noreturn__));
7007
void g_test_add_vtable (const char *testpath,
7009
gconstpointer test_data,
7010
GTestFixtureFunc data_setup,
7011
GTestFixtureFunc data_test,
7012
GTestFixtureFunc data_teardown);
7014
gboolean test_initialized;
7015
gboolean test_quick;
7017
gboolean test_verbose;
7018
gboolean test_quiet;
7020
extern const GTestConfig * const g_test_config_vars;
7026
G_TEST_LOG_START_BINARY,
7027
G_TEST_LOG_LIST_CASE,
7028
G_TEST_LOG_SKIP_CASE,
7029
G_TEST_LOG_START_CASE,
7030
G_TEST_LOG_STOP_CASE,
7031
G_TEST_LOG_MIN_RESULT,
7032
G_TEST_LOG_MAX_RESULT,
7037
GTestLogType log_type;
7049
const char* g_test_log_type_name (GTestLogType log_type);
7050
GTestLogBuffer* g_test_log_buffer_new (void);
7051
void g_test_log_buffer_free (GTestLogBuffer *tbuffer);
7052
void g_test_log_buffer_push (GTestLogBuffer *tbuffer,
7054
const guint8 *bytes);
7055
GTestLogMsg* g_test_log_buffer_pop (GTestLogBuffer *tbuffer);
7056
void g_test_log_msg_free (GTestLogMsg *tmsg);
7057
# 287 "/usr/include/glib-2.0/glib/gtestutils.h"
7058
typedef gboolean (*GTestLogFatalFunc) (const gchar *log_domain,
7059
GLogLevelFlags log_level,
7060
const gchar *message,
7061
gpointer user_data);
7063
g_test_log_set_fatal_handler (GTestLogFatalFunc log_func,
7064
gpointer user_data);
7067
# 82 "/usr/include/glib-2.0/glib.h" 2
7068
# 1 "/usr/include/glib-2.0/glib/gthread.h" 1
7069
# 83 "/usr/include/glib-2.0/glib.h" 2
7070
# 1 "/usr/include/glib-2.0/glib/gthreadpool.h" 1
7071
# 34 "/usr/include/glib-2.0/glib/gthreadpool.h"
7072
# 1 "/usr/include/glib-2.0/glib/gthread.h" 1
7073
# 35 "/usr/include/glib-2.0/glib/gthreadpool.h" 2
7077
typedef struct _GThreadPool GThreadPool;
7096
GThreadPool* g_thread_pool_new (GFunc func,
7106
void g_thread_pool_push (GThreadPool *pool,
7113
void g_thread_pool_set_max_threads (GThreadPool *pool,
7116
gint g_thread_pool_get_max_threads (GThreadPool *pool);
7120
guint g_thread_pool_get_num_threads (GThreadPool *pool);
7123
guint g_thread_pool_unprocessed (GThreadPool *pool);
7129
void g_thread_pool_free (GThreadPool *pool,
7135
void g_thread_pool_set_max_unused_threads (gint max_threads);
7136
gint g_thread_pool_get_max_unused_threads (void);
7137
guint g_thread_pool_get_num_unused_threads (void);
7140
void g_thread_pool_stop_unused_threads (void);
7143
void g_thread_pool_set_sort_function (GThreadPool *pool,
7144
GCompareDataFunc func,
7145
gpointer user_data);
7148
void g_thread_pool_set_max_idle_time (guint interval);
7149
guint g_thread_pool_get_max_idle_time (void);
7152
# 84 "/usr/include/glib-2.0/glib.h" 2
7153
# 1 "/usr/include/glib-2.0/glib/gtimer.h" 1
7154
# 34 "/usr/include/glib-2.0/glib/gtimer.h"
7155
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7156
# 35 "/usr/include/glib-2.0/glib/gtimer.h" 2
7164
typedef struct _GTimer GTimer;
7168
GTimer* g_timer_new (void);
7169
void g_timer_destroy (GTimer *timer);
7170
void g_timer_start (GTimer *timer);
7171
void g_timer_stop (GTimer *timer);
7172
void g_timer_reset (GTimer *timer);
7173
void g_timer_continue (GTimer *timer);
7174
gdouble g_timer_elapsed (GTimer *timer,
7175
gulong *microseconds);
7177
void g_usleep (gulong microseconds);
7179
void g_time_val_add (GTimeVal *time_,
7180
glong microseconds);
7181
gboolean g_time_val_from_iso8601 (const gchar *iso_date,
7183
gchar* g_time_val_to_iso8601 (GTimeVal *time_) __attribute__((__malloc__));
7186
# 85 "/usr/include/glib-2.0/glib.h" 2
7187
# 1 "/usr/include/glib-2.0/glib/gtimezone.h" 1
7188
# 86 "/usr/include/glib-2.0/glib.h" 2
7189
# 1 "/usr/include/glib-2.0/glib/gtree.h" 1
7190
# 34 "/usr/include/glib-2.0/glib/gtree.h"
7191
# 1 "/usr/include/glib-2.0/glib/gnode.h" 1
7192
# 35 "/usr/include/glib-2.0/glib/gtree.h" 2
7196
typedef struct _GTree GTree;
7198
typedef gboolean (*GTraverseFunc) (gpointer key,
7204
GTree* g_tree_new (GCompareFunc key_compare_func);
7205
GTree* g_tree_new_with_data (GCompareDataFunc key_compare_func,
7206
gpointer key_compare_data);
7207
GTree* g_tree_new_full (GCompareDataFunc key_compare_func,
7208
gpointer key_compare_data,
7209
GDestroyNotify key_destroy_func,
7210
GDestroyNotify value_destroy_func);
7211
GTree* g_tree_ref (GTree *tree);
7212
void g_tree_unref (GTree *tree);
7213
void g_tree_destroy (GTree *tree);
7214
void g_tree_insert (GTree *tree,
7217
void g_tree_replace (GTree *tree,
7220
gboolean g_tree_remove (GTree *tree,
7222
gboolean g_tree_steal (GTree *tree,
7224
gpointer g_tree_lookup (GTree *tree,
7226
gboolean g_tree_lookup_extended (GTree *tree,
7227
gconstpointer lookup_key,
7230
void g_tree_foreach (GTree *tree,
7232
gpointer user_data);
7235
void g_tree_traverse (GTree *tree,
7236
GTraverseFunc traverse_func,
7237
GTraverseType traverse_type,
7238
gpointer user_data);
7241
gpointer g_tree_search (GTree *tree,
7242
GCompareFunc search_func,
7243
gconstpointer user_data);
7244
gint g_tree_height (GTree *tree);
7245
gint g_tree_nnodes (GTree *tree);
7248
# 87 "/usr/include/glib-2.0/glib.h" 2
7249
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7250
# 88 "/usr/include/glib-2.0/glib.h" 2
7251
# 1 "/usr/include/glib-2.0/glib/gunicode.h" 1
7252
# 89 "/usr/include/glib-2.0/glib.h" 2
7253
# 1 "/usr/include/glib-2.0/glib/gurifuncs.h" 1
7254
# 30 "/usr/include/glib-2.0/glib/gurifuncs.h"
7255
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7256
# 31 "/usr/include/glib-2.0/glib/gurifuncs.h" 2
7259
# 69 "/usr/include/glib-2.0/glib/gurifuncs.h"
7260
char * g_uri_unescape_string (const char *escaped_string,
7261
const char *illegal_characters);
7262
char * g_uri_unescape_segment (const char *escaped_string,
7263
const char *escaped_string_end,
7264
const char *illegal_characters);
7265
char * g_uri_parse_scheme (const char *uri);
7266
char * g_uri_escape_string (const char *unescaped,
7267
const char *reserved_chars_allowed,
7268
gboolean allow_utf8);
7271
# 90 "/usr/include/glib-2.0/glib.h" 2
7272
# 1 "/usr/include/glib-2.0/glib/gutils.h" 1
7273
# 91 "/usr/include/glib-2.0/glib.h" 2
7274
# 1 "/usr/include/glib-2.0/glib/gvarianttype.h" 1
7275
# 30 "/usr/include/glib-2.0/glib/gvarianttype.h"
7276
# 1 "/usr/include/glib-2.0/glib/gmessages.h" 1
7277
# 31 "/usr/include/glib-2.0/glib/gvarianttype.h" 2
7278
# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7279
# 32 "/usr/include/glib-2.0/glib/gvarianttype.h" 2
7282
# 44 "/usr/include/glib-2.0/glib/gvarianttype.h"
7283
typedef struct _GVariantType GVariantType;
7284
# 279 "/usr/include/glib-2.0/glib/gvarianttype.h"
7285
gboolean g_variant_type_string_is_valid (const gchar *type_string);
7286
gboolean g_variant_type_string_scan (const gchar *string,
7288
const gchar **endptr);
7291
void g_variant_type_free (GVariantType *type);
7292
GVariantType * g_variant_type_copy (const GVariantType *type);
7293
GVariantType * g_variant_type_new (const gchar *type_string);
7296
gsize g_variant_type_get_string_length (const GVariantType *type);
7297
const gchar * g_variant_type_peek_string (const GVariantType *type);
7298
gchar * g_variant_type_dup_string (const GVariantType *type);
7301
gboolean g_variant_type_is_definite (const GVariantType *type);
7302
gboolean g_variant_type_is_container (const GVariantType *type);
7303
gboolean g_variant_type_is_basic (const GVariantType *type);
7304
gboolean g_variant_type_is_maybe (const GVariantType *type);
7305
gboolean g_variant_type_is_array (const GVariantType *type);
7306
gboolean g_variant_type_is_tuple (const GVariantType *type);
7307
gboolean g_variant_type_is_dict_entry (const GVariantType *type);
7308
gboolean g_variant_type_is_variant (const GVariantType *type);
7311
guint g_variant_type_hash (gconstpointer type);
7312
gboolean g_variant_type_equal (gconstpointer type1,
7313
gconstpointer type2);
7316
gboolean g_variant_type_is_subtype_of (const GVariantType *type,
7317
const GVariantType *supertype);
7320
const GVariantType * g_variant_type_element (const GVariantType *type);
7321
const GVariantType * g_variant_type_first (const GVariantType *type);
7322
const GVariantType * g_variant_type_next (const GVariantType *type);
7323
gsize g_variant_type_n_items (const GVariantType *type);
7324
const GVariantType * g_variant_type_key (const GVariantType *type);
7325
const GVariantType * g_variant_type_value (const GVariantType *type);
7328
GVariantType * g_variant_type_new_array (const GVariantType *element);
7329
GVariantType * g_variant_type_new_maybe (const GVariantType *element);
7330
GVariantType * g_variant_type_new_tuple (const GVariantType * const *items,
7332
GVariantType * g_variant_type_new_dict_entry (const GVariantType *key,
7333
const GVariantType *value);
7336
const GVariantType * g_variant_type_checked_ (const gchar *);
7339
# 92 "/usr/include/glib-2.0/glib.h" 2
7340
# 1 "/usr/include/glib-2.0/glib/gvariant.h" 1
7341
# 30 "/usr/include/glib-2.0/glib/gvariant.h"
7342
# 1 "/usr/include/glib-2.0/glib/gvarianttype.h" 1
7343
# 31 "/usr/include/glib-2.0/glib/gvariant.h" 2
7344
# 1 "/usr/include/glib-2.0/glib/gstring.h" 1
7345
# 32 "/usr/include/glib-2.0/glib/gvariant.h" 2
7349
typedef struct _GVariant GVariant;
7353
G_VARIANT_CLASS_BOOLEAN = 'b',
7354
G_VARIANT_CLASS_BYTE = 'y',
7355
G_VARIANT_CLASS_INT16 = 'n',
7356
G_VARIANT_CLASS_UINT16 = 'q',
7357
G_VARIANT_CLASS_INT32 = 'i',
7358
G_VARIANT_CLASS_UINT32 = 'u',
7359
G_VARIANT_CLASS_INT64 = 'x',
7360
G_VARIANT_CLASS_UINT64 = 't',
7361
G_VARIANT_CLASS_HANDLE = 'h',
7362
G_VARIANT_CLASS_DOUBLE = 'd',
7363
G_VARIANT_CLASS_STRING = 's',
7364
G_VARIANT_CLASS_OBJECT_PATH = 'o',
7365
G_VARIANT_CLASS_SIGNATURE = 'g',
7366
G_VARIANT_CLASS_VARIANT = 'v',
7367
G_VARIANT_CLASS_MAYBE = 'm',
7368
G_VARIANT_CLASS_ARRAY = 'a',
7369
G_VARIANT_CLASS_TUPLE = '(',
7370
G_VARIANT_CLASS_DICT_ENTRY = '{'
7373
void g_variant_unref (GVariant *value);
7374
GVariant * g_variant_ref (GVariant *value);
7375
GVariant * g_variant_ref_sink (GVariant *value);
7376
gboolean g_variant_is_floating (GVariant *value);
7378
const GVariantType * g_variant_get_type (GVariant *value);
7379
const gchar * g_variant_get_type_string (GVariant *value);
7380
gboolean g_variant_is_of_type (GVariant *value,
7381
const GVariantType *type);
7382
gboolean g_variant_is_container (GVariant *value);
7383
GVariantClass g_variant_classify (GVariant *value);
7384
GVariant * g_variant_new_boolean (gboolean value);
7385
GVariant * g_variant_new_byte (guchar value);
7386
GVariant * g_variant_new_int16 (gint16 value);
7387
GVariant * g_variant_new_uint16 (guint16 value);
7388
GVariant * g_variant_new_int32 (gint32 value);
7389
GVariant * g_variant_new_uint32 (guint32 value);
7390
GVariant * g_variant_new_int64 (gint64 value);
7391
GVariant * g_variant_new_uint64 (guint64 value);
7392
GVariant * g_variant_new_handle (gint32 value);
7393
GVariant * g_variant_new_double (gdouble value);
7394
GVariant * g_variant_new_string (const gchar *string);
7395
GVariant * g_variant_new_object_path (const gchar *object_path);
7396
gboolean g_variant_is_object_path (const gchar *string);
7397
GVariant * g_variant_new_signature (const gchar *signature);
7398
gboolean g_variant_is_signature (const gchar *string);
7399
GVariant * g_variant_new_variant (GVariant *value);
7400
GVariant * g_variant_new_strv (const gchar * const *strv,
7402
GVariant * g_variant_new_bytestring (const gchar *string);
7403
GVariant * g_variant_new_bytestring_array (const gchar * const *strv,
7406
gboolean g_variant_get_boolean (GVariant *value);
7407
guchar g_variant_get_byte (GVariant *value);
7408
gint16 g_variant_get_int16 (GVariant *value);
7409
guint16 g_variant_get_uint16 (GVariant *value);
7410
gint32 g_variant_get_int32 (GVariant *value);
7411
guint32 g_variant_get_uint32 (GVariant *value);
7412
gint64 g_variant_get_int64 (GVariant *value);
7413
guint64 g_variant_get_uint64 (GVariant *value);
7414
gint32 g_variant_get_handle (GVariant *value);
7415
gdouble g_variant_get_double (GVariant *value);
7416
GVariant * g_variant_get_variant (GVariant *value);
7417
const gchar * g_variant_get_string (GVariant *value,
7419
gchar * g_variant_dup_string (GVariant *value,
7421
const gchar ** g_variant_get_strv (GVariant *value,
7423
gchar ** g_variant_dup_strv (GVariant *value,
7425
const gchar * g_variant_get_bytestring (GVariant *value);
7426
gchar * g_variant_dup_bytestring (GVariant *value,
7428
const gchar ** g_variant_get_bytestring_array (GVariant *value,
7430
gchar ** g_variant_dup_bytestring_array (GVariant *value,
7433
GVariant * g_variant_new_maybe (const GVariantType *child_type,
7435
GVariant * g_variant_new_array (const GVariantType *child_type,
7436
GVariant * const *children,
7438
GVariant * g_variant_new_tuple (GVariant * const *children,
7440
GVariant * g_variant_new_dict_entry (GVariant *key,
7443
GVariant * g_variant_get_maybe (GVariant *value);
7444
gsize g_variant_n_children (GVariant *value);
7445
void g_variant_get_child (GVariant *value,
7447
const gchar *format_string,
7449
GVariant * g_variant_get_child_value (GVariant *value,
7451
gboolean g_variant_lookup (GVariant *dictionary,
7453
const gchar *format_string,
7455
GVariant * g_variant_lookup_value (GVariant *dictionary,
7457
const GVariantType *expected_type);
7458
gconstpointer g_variant_get_fixed_array (GVariant *value,
7460
gsize element_size);
7462
gsize g_variant_get_size (GVariant *value);
7463
gconstpointer g_variant_get_data (GVariant *value);
7464
void g_variant_store (GVariant *value,
7467
gchar * g_variant_print (GVariant *value,
7468
gboolean type_annotate);
7469
GString * g_variant_print_string (GVariant *value,
7471
gboolean type_annotate);
7473
guint g_variant_hash (gconstpointer value);
7474
gboolean g_variant_equal (gconstpointer one,
7477
GVariant * g_variant_get_normal_form (GVariant *value);
7478
gboolean g_variant_is_normal_form (GVariant *value);
7479
GVariant * g_variant_byteswap (GVariant *value);
7480
GVariant * g_variant_new_from_data (const GVariantType *type,
7484
GDestroyNotify notify,
7485
gpointer user_data);
7487
typedef struct _GVariantIter GVariantIter;
7488
struct _GVariantIter {
7493
GVariantIter * g_variant_iter_new (GVariant *value);
7494
gsize g_variant_iter_init (GVariantIter *iter,
7496
GVariantIter * g_variant_iter_copy (GVariantIter *iter);
7497
gsize g_variant_iter_n_children (GVariantIter *iter);
7498
void g_variant_iter_free (GVariantIter *iter);
7499
GVariant * g_variant_iter_next_value (GVariantIter *iter);
7500
gboolean g_variant_iter_next (GVariantIter *iter,
7501
const gchar *format_string,
7503
gboolean g_variant_iter_loop (GVariantIter *iter,
7504
const gchar *format_string,
7508
typedef struct _GVariantBuilder GVariantBuilder;
7509
struct _GVariantBuilder {
7516
G_VARIANT_PARSE_ERROR_FAILED,
7517
G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED,
7518
G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE,
7519
G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED,
7520
G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END,
7521
G_VARIANT_PARSE_ERROR_INVALID_CHARACTER,
7522
G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING,
7523
G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH,
7524
G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE,
7525
G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING,
7526
G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE,
7527
G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE,
7528
G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG,
7529
G_VARIANT_PARSE_ERROR_TYPE_ERROR,
7530
G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN,
7531
G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD,
7532
G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT,
7533
G_VARIANT_PARSE_ERROR_VALUE_EXPECTED
7534
} GVariantParseError;
7537
GQuark g_variant_parser_get_error_quark (void);
7539
GVariantBuilder * g_variant_builder_new (const GVariantType *type);
7540
void g_variant_builder_unref (GVariantBuilder *builder);
7541
GVariantBuilder * g_variant_builder_ref (GVariantBuilder *builder);
7542
void g_variant_builder_init (GVariantBuilder *builder,
7543
const GVariantType *type);
7544
GVariant * g_variant_builder_end (GVariantBuilder *builder);
7545
void g_variant_builder_clear (GVariantBuilder *builder);
7546
void g_variant_builder_open (GVariantBuilder *builder,
7547
const GVariantType *type);
7548
void g_variant_builder_close (GVariantBuilder *builder);
7549
void g_variant_builder_add_value (GVariantBuilder *builder,
7551
void g_variant_builder_add (GVariantBuilder *builder,
7552
const gchar *format_string,
7554
void g_variant_builder_add_parsed (GVariantBuilder *builder,
7555
const gchar *format,
7558
GVariant * g_variant_new (const gchar *format_string,
7560
void g_variant_get (GVariant *value,
7561
const gchar *format_string,
7563
GVariant * g_variant_new_va (const gchar *format_string,
7564
const gchar **endptr,
7566
void g_variant_get_va (GVariant *value,
7567
const gchar *format_string,
7568
const gchar **endptr,
7572
GVariant * g_variant_parse (const GVariantType *type,
7575
const gchar **endptr,
7577
GVariant * g_variant_new_parsed (const gchar *format,
7579
GVariant * g_variant_new_parsed_va (const gchar *format,
7582
gint g_variant_compare (gconstpointer one,
7585
# 93 "/usr/include/glib-2.0/glib.h" 2
7586
# 28 "test-xdg-module.h" 2
7588
# 1 "./../../gkm/gkm-test.h" 1
7589
# 24 "./../../gkm/gkm-test.h"
7590
# 1 "../../../pkcs11/pkcs11.h" 1
7591
# 186 "../../../pkcs11/pkcs11.h"
7592
typedef unsigned long CK_FLAGS;
7596
unsigned char major;
7597
unsigned char minor;
7603
struct _CK_VERSION cryptokiVersion;
7604
unsigned char manufacturerID[32];
7606
unsigned char libraryDescription[32];
7607
struct _CK_VERSION libraryVersion;
7611
typedef unsigned long CK_NOTIFICATION;
7616
typedef unsigned long CK_SLOT_ID;
7619
struct _CK_SLOT_INFO
7621
unsigned char slotDescription[64];
7622
unsigned char manufacturerID[32];
7624
struct _CK_VERSION hardwareVersion;
7625
struct _CK_VERSION firmwareVersion;
7627
# 229 "../../../pkcs11/pkcs11.h"
7628
struct _CK_TOKEN_INFO
7630
unsigned char label[32];
7631
unsigned char manufacturerID[32];
7632
unsigned char model[16];
7633
unsigned char serialNumber[16];
7635
unsigned long ulMaxSessionCount;
7636
unsigned long ulSessionCount;
7637
unsigned long ulMaxRwSessionCount;
7638
unsigned long ulRwSessionCount;
7639
unsigned long ulMaxPinLen;
7640
unsigned long ulMinPinLen;
7641
unsigned long ulTotalPublicMemory;
7642
unsigned long ulFreePublicMemory;
7643
unsigned long ulTotalPrivateMemory;
7644
unsigned long ulFreePrivateMemory;
7645
struct _CK_VERSION hardwareVersion;
7646
struct _CK_VERSION firmwareVersion;
7647
unsigned char utcTime[16];
7649
# 275 "../../../pkcs11/pkcs11.h"
7650
typedef unsigned long CK_SESSION_HANDLE;
7655
typedef unsigned long CK_USER_TYPE;
7662
typedef unsigned long CK_STATE;
7663
# 296 "../../../pkcs11/pkcs11.h"
7664
struct _CK_SESSION_INFO
7669
unsigned long ulDeviceError;
7676
typedef unsigned long CK_OBJECT_HANDLE;
7679
typedef unsigned long CK_OBJECT_CLASS;
7680
# 324 "../../../pkcs11/pkcs11.h"
7681
typedef unsigned long CK_HW_FEATURE_TYPE;
7689
typedef unsigned long CK_KEY_TYPE;
7690
# 362 "../../../pkcs11/pkcs11.h"
7691
typedef unsigned long CK_CERTIFICATE_TYPE;
7699
typedef unsigned long CK_ATTRIBUTE_TYPE;
7700
# 459 "../../../pkcs11/pkcs11.h"
7701
struct _CK_ATTRIBUTE
7703
CK_ATTRIBUTE_TYPE type;
7705
unsigned long ulValueLen;
7711
unsigned char year[4];
7712
unsigned char month[2];
7713
unsigned char day[2];
7717
typedef unsigned long CK_MECHANISM_TYPE;
7718
# 678 "../../../pkcs11/pkcs11.h"
7719
struct _CK_MECHANISM
7721
CK_MECHANISM_TYPE mechanism;
7723
unsigned long ulParameterLen;
7727
struct _CK_MECHANISM_INFO
7729
unsigned long ulMinKeySize;
7730
unsigned long ulMaxKeySize;
7733
# 713 "../../../pkcs11/pkcs11.h"
7734
typedef unsigned long CK_RV;
7737
typedef CK_RV (*CK_NOTIFY) (CK_SESSION_HANDLE session,
7738
CK_NOTIFICATION event, void *application);
7741
struct _CK_FUNCTION_LIST;
7747
typedef CK_RV (*CK_C_Initialize) (void *init_args); CK_RV C_Initialize (void *init_args);
7748
typedef CK_RV (*CK_C_Finalize) (void *pReserved); CK_RV C_Finalize (void *pReserved);
7749
typedef CK_RV (*CK_C_GetInfo) (struct _CK_INFO *info); CK_RV C_GetInfo (struct _CK_INFO *info);
7751
CK_C_GetFunctionList
7752
# 729 "../../../pkcs11/pkcs11.h"
7753
) (struct _CK_FUNCTION_LIST **function_list); CK_RV C_GetFunctionList (struct _CK_FUNCTION_LIST **function_list)
7759
# 732 "../../../pkcs11/pkcs11.h"
7760
) (unsigned char token_present, CK_SLOT_ID *slot_list, unsigned long *count); CK_RV C_GetSlotList (unsigned char token_present, CK_SLOT_ID *slot_list, unsigned long *count)
7765
# 735 "../../../pkcs11/pkcs11.h"
7766
) (CK_SLOT_ID slotID, struct _CK_SLOT_INFO *info); CK_RV C_GetSlotInfo (CK_SLOT_ID slotID, struct _CK_SLOT_INFO *info)
7770
# 737 "../../../pkcs11/pkcs11.h"
7771
) (CK_SLOT_ID slotID, struct _CK_TOKEN_INFO *info); CK_RV C_GetTokenInfo (CK_SLOT_ID slotID, struct _CK_TOKEN_INFO *info)
7774
CK_C_WaitForSlotEvent
7775
# 739 "../../../pkcs11/pkcs11.h"
7776
) (CK_FLAGS flags, CK_SLOT_ID *slot, void *pReserved); CK_RV C_WaitForSlotEvent (CK_FLAGS flags, CK_SLOT_ID *slot, void *pReserved)
7781
CK_C_GetMechanismList
7782
# 741 "../../../pkcs11/pkcs11.h"
7783
) (CK_SLOT_ID slotID, CK_MECHANISM_TYPE *mechanism_list, unsigned long *count); CK_RV C_GetMechanismList (CK_SLOT_ID slotID, CK_MECHANISM_TYPE *mechanism_list, unsigned long *count)
7789
CK_C_GetMechanismInfo
7790
# 745 "../../../pkcs11/pkcs11.h"
7791
) (CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, struct _CK_MECHANISM_INFO *info); CK_RV C_GetMechanismInfo (CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, struct _CK_MECHANISM_INFO *info)
7797
# 748 "../../../pkcs11/pkcs11.h"
7798
) (CK_SLOT_ID slotID, unsigned char *pin, unsigned long pin_len, unsigned char *label); CK_RV C_InitToken (CK_SLOT_ID slotID, unsigned char *pin, unsigned long pin_len, unsigned char *label)
7804
# 751 "../../../pkcs11/pkcs11.h"
7805
) (CK_SESSION_HANDLE session, unsigned char *pin, unsigned long pin_len); CK_RV C_InitPIN (CK_SESSION_HANDLE session, unsigned char *pin, unsigned long pin_len)
7812
# 754 "../../../pkcs11/pkcs11.h"
7813
) (CK_SESSION_HANDLE session, unsigned char *old_pin, unsigned long old_len, unsigned char *new_pin, unsigned long new_len); CK_RV C_SetPIN (CK_SESSION_HANDLE session, unsigned char *old_pin, unsigned long old_len, unsigned char *new_pin, unsigned long new_len)
7822
# 759 "../../../pkcs11/pkcs11.h"
7823
) (CK_SLOT_ID slotID, CK_FLAGS flags, void *application, CK_NOTIFY notify, CK_SESSION_HANDLE *session); CK_RV C_OpenSession (CK_SLOT_ID slotID, CK_FLAGS flags, void *application, CK_NOTIFY notify, CK_SESSION_HANDLE *session)
7827
typedef CK_RV (*CK_C_CloseSession) (CK_SESSION_HANDLE session); CK_RV C_CloseSession (CK_SESSION_HANDLE session);
7828
typedef CK_RV (*CK_C_CloseAllSessions) (CK_SLOT_ID slotID); CK_RV C_CloseAllSessions (CK_SLOT_ID slotID);
7832
# 765 "../../../pkcs11/pkcs11.h"
7833
) (CK_SESSION_HANDLE session, struct _CK_SESSION_INFO *info); CK_RV C_GetSessionInfo (CK_SESSION_HANDLE session, struct _CK_SESSION_INFO *info)
7839
CK_C_GetOperationState
7840
# 768 "../../../pkcs11/pkcs11.h"
7841
) (CK_SESSION_HANDLE session, unsigned char *operation_state, unsigned long *operation_state_len); CK_RV C_GetOperationState (CK_SESSION_HANDLE session, unsigned char *operation_state, unsigned long *operation_state_len)
7850
CK_C_SetOperationState
7851
# 772 "../../../pkcs11/pkcs11.h"
7852
) (CK_SESSION_HANDLE session, unsigned char *operation_state, unsigned long operation_state_len, CK_OBJECT_HANDLE encryption_key, CK_OBJECT_HANDLE authentiation_key); CK_RV C_SetOperationState (CK_SESSION_HANDLE session, unsigned char *operation_state, unsigned long operation_state_len, CK_OBJECT_HANDLE encryption_key, CK_OBJECT_HANDLE authentiation_key)
7861
# 778 "../../../pkcs11/pkcs11.h"
7862
) (CK_SESSION_HANDLE session, CK_USER_TYPE user_type, unsigned char *pin, unsigned long pin_len); CK_RV C_Login (CK_SESSION_HANDLE session, CK_USER_TYPE user_type, unsigned char *pin, unsigned long pin_len)
7865
typedef CK_RV (*CK_C_Logout) (CK_SESSION_HANDLE session); CK_RV C_Logout (CK_SESSION_HANDLE session);
7871
# 783 "../../../pkcs11/pkcs11.h"
7872
) (CK_SESSION_HANDLE session, struct _CK_ATTRIBUTE *templ, unsigned long count, CK_OBJECT_HANDLE *object); CK_RV C_CreateObject (CK_SESSION_HANDLE session, struct _CK_ATTRIBUTE *templ, unsigned long count, CK_OBJECT_HANDLE *object)
7880
# 787 "../../../pkcs11/pkcs11.h"
7881
) (CK_SESSION_HANDLE session, CK_OBJECT_HANDLE object, struct _CK_ATTRIBUTE *templ, unsigned long count, CK_OBJECT_HANDLE *new_object); CK_RV C_CopyObject (CK_SESSION_HANDLE session, CK_OBJECT_HANDLE object, struct _CK_ATTRIBUTE *templ, unsigned long count, CK_OBJECT_HANDLE *new_object)
7888
# 791 "../../../pkcs11/pkcs11.h"
7889
) (CK_SESSION_HANDLE session, CK_OBJECT_HANDLE object); CK_RV C_DestroyObject (CK_SESSION_HANDLE session, CK_OBJECT_HANDLE object)
7896
# 794 "../../../pkcs11/pkcs11.h"
7897
) (CK_SESSION_HANDLE session, CK_OBJECT_HANDLE object, unsigned long *size); CK_RV C_GetObjectSize (CK_SESSION_HANDLE session, CK_OBJECT_HANDLE object, unsigned long *size)
7905
CK_C_GetAttributeValue
7906
# 798 "../../../pkcs11/pkcs11.h"
7907
) (CK_SESSION_HANDLE session, CK_OBJECT_HANDLE object, struct _CK_ATTRIBUTE *templ, unsigned long count); CK_RV C_GetAttributeValue (CK_SESSION_HANDLE session, CK_OBJECT_HANDLE object, struct _CK_ATTRIBUTE *templ, unsigned long count)
7916
CK_C_SetAttributeValue
7917
# 803 "../../../pkcs11/pkcs11.h"
7918
) (CK_SESSION_HANDLE session, CK_OBJECT_HANDLE object, struct _CK_ATTRIBUTE *templ, unsigned long count); CK_RV C_SetAttributeValue (CK_SESSION_HANDLE session, CK_OBJECT_HANDLE object, struct _CK_ATTRIBUTE *templ, unsigned long count)
7926
CK_C_FindObjectsInit
7927
# 808 "../../../pkcs11/pkcs11.h"
7928
) (CK_SESSION_HANDLE session, struct _CK_ATTRIBUTE *templ, unsigned long count); CK_RV C_FindObjectsInit (CK_SESSION_HANDLE session, struct _CK_ATTRIBUTE *templ, unsigned long count)
7937
# 812 "../../../pkcs11/pkcs11.h"
7938
) (CK_SESSION_HANDLE session, CK_OBJECT_HANDLE *object, unsigned long max_object_count, unsigned long *object_count); CK_RV C_FindObjects (CK_SESSION_HANDLE session, CK_OBJECT_HANDLE *object, unsigned long max_object_count, unsigned long *object_count)
7944
CK_C_FindObjectsFinal
7945
# 817 "../../../pkcs11/pkcs11.h"
7946
) (CK_SESSION_HANDLE session); CK_RV C_FindObjectsFinal (CK_SESSION_HANDLE session)
7953
# 820 "../../../pkcs11/pkcs11.h"
7954
) (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE key); CK_RV C_EncryptInit (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE key)
7963
# 824 "../../../pkcs11/pkcs11.h"
7964
) (CK_SESSION_HANDLE session, unsigned char *data, unsigned long data_len, unsigned char *encrypted_data, unsigned long *encrypted_data_len); CK_RV C_Encrypt (CK_SESSION_HANDLE session, unsigned char *data, unsigned long data_len, unsigned char *encrypted_data, unsigned long *encrypted_data_len)
7974
# 829 "../../../pkcs11/pkcs11.h"
7975
) (CK_SESSION_HANDLE session, unsigned char *part, unsigned long part_len, unsigned char *encrypted_part, unsigned long *encrypted_part_len); CK_RV C_EncryptUpdate (CK_SESSION_HANDLE session, unsigned char *part, unsigned long part_len, unsigned char *encrypted_part, unsigned long *encrypted_part_len)
7984
# 834 "../../../pkcs11/pkcs11.h"
7985
) (CK_SESSION_HANDLE session, unsigned char *last_encrypted_part, unsigned long *last_encrypted_part_len); CK_RV C_EncryptFinal (CK_SESSION_HANDLE session, unsigned char *last_encrypted_part, unsigned long *last_encrypted_part_len)
7994
# 839 "../../../pkcs11/pkcs11.h"
7995
) (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE key); CK_RV C_DecryptInit (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE key)
8004
# 843 "../../../pkcs11/pkcs11.h"
8005
) (CK_SESSION_HANDLE session, unsigned char *encrypted_data, unsigned long encrypted_data_len, unsigned char *data, unsigned long *data_len); CK_RV C_Decrypt (CK_SESSION_HANDLE session, unsigned char *encrypted_data, unsigned long encrypted_data_len, unsigned char *data, unsigned long *data_len)
8015
# 848 "../../../pkcs11/pkcs11.h"
8016
) (CK_SESSION_HANDLE session, unsigned char *encrypted_part, unsigned long encrypted_part_len, unsigned char *part, unsigned long *part_len); CK_RV C_DecryptUpdate (CK_SESSION_HANDLE session, unsigned char *encrypted_part, unsigned long encrypted_part_len, unsigned char *part, unsigned long *part_len)
8025
# 853 "../../../pkcs11/pkcs11.h"
8026
) (CK_SESSION_HANDLE session, unsigned char *last_part, unsigned long *last_part_len); CK_RV C_DecryptFinal (CK_SESSION_HANDLE session, unsigned char *last_part, unsigned long *last_part_len)
8034
# 858 "../../../pkcs11/pkcs11.h"
8035
) (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism); CK_RV C_DigestInit (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism)
8043
# 861 "../../../pkcs11/pkcs11.h"
8044
) (CK_SESSION_HANDLE session, unsigned char *data, unsigned long data_len, unsigned char *digest, unsigned long *digest_len); CK_RV C_Digest (CK_SESSION_HANDLE session, unsigned char *data, unsigned long data_len, unsigned char *digest, unsigned long *digest_len)
8052
# 866 "../../../pkcs11/pkcs11.h"
8053
) (CK_SESSION_HANDLE session, unsigned char *part, unsigned long part_len); CK_RV C_DigestUpdate (CK_SESSION_HANDLE session, unsigned char *part, unsigned long part_len)
8058
# 869 "../../../pkcs11/pkcs11.h"
8059
) (CK_SESSION_HANDLE session, CK_OBJECT_HANDLE key); CK_RV C_DigestKey (CK_SESSION_HANDLE session, CK_OBJECT_HANDLE key)
8065
# 871 "../../../pkcs11/pkcs11.h"
8066
) (CK_SESSION_HANDLE session, unsigned char *digest, unsigned long *digest_len); CK_RV C_DigestFinal (CK_SESSION_HANDLE session, unsigned char *digest, unsigned long *digest_len)
8075
# 876 "../../../pkcs11/pkcs11.h"
8076
) (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE key); CK_RV C_SignInit (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE key)
8085
# 880 "../../../pkcs11/pkcs11.h"
8086
) (CK_SESSION_HANDLE session, unsigned char *data, unsigned long data_len, unsigned char *signature, unsigned long *signature_len); CK_RV C_Sign (CK_SESSION_HANDLE session, unsigned char *data, unsigned long data_len, unsigned char *signature, unsigned long *signature_len)
8094
# 885 "../../../pkcs11/pkcs11.h"
8095
) (CK_SESSION_HANDLE session, unsigned char *part, unsigned long part_len); CK_RV C_SignUpdate (CK_SESSION_HANDLE session, unsigned char *part, unsigned long part_len)
8102
# 888 "../../../pkcs11/pkcs11.h"
8103
) (CK_SESSION_HANDLE session, unsigned char *signature, unsigned long *signature_len); CK_RV C_SignFinal (CK_SESSION_HANDLE session, unsigned char *signature, unsigned long *signature_len)
8110
CK_C_SignRecoverInit
8111
# 892 "../../../pkcs11/pkcs11.h"
8112
) (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE key); CK_RV C_SignRecoverInit (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE key)
8121
# 896 "../../../pkcs11/pkcs11.h"
8122
) (CK_SESSION_HANDLE session, unsigned char *data, unsigned long data_len, unsigned char *signature, unsigned long *signature_len); CK_RV C_SignRecover (CK_SESSION_HANDLE session, unsigned char *data, unsigned long data_len, unsigned char *signature, unsigned long *signature_len)
8132
# 902 "../../../pkcs11/pkcs11.h"
8133
) (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE key); CK_RV C_VerifyInit (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE key)
8142
# 906 "../../../pkcs11/pkcs11.h"
8143
) (CK_SESSION_HANDLE session, unsigned char *data, unsigned long data_len, unsigned char *signature, unsigned long signature_len); CK_RV C_Verify (CK_SESSION_HANDLE session, unsigned char *data, unsigned long data_len, unsigned char *signature, unsigned long signature_len)
8151
# 911 "../../../pkcs11/pkcs11.h"
8152
) (CK_SESSION_HANDLE session, unsigned char *part, unsigned long part_len); CK_RV C_VerifyUpdate (CK_SESSION_HANDLE session, unsigned char *part, unsigned long part_len)
8159
# 914 "../../../pkcs11/pkcs11.h"
8160
) (CK_SESSION_HANDLE session, unsigned char *signature, unsigned long signature_len); CK_RV C_VerifyFinal (CK_SESSION_HANDLE session, unsigned char *signature, unsigned long signature_len)
8167
CK_C_VerifyRecoverInit
8168
# 918 "../../../pkcs11/pkcs11.h"
8169
) (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE key); CK_RV C_VerifyRecoverInit (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE key)
8179
# 922 "../../../pkcs11/pkcs11.h"
8180
) (CK_SESSION_HANDLE session, unsigned char *signature, unsigned long signature_len, unsigned char *data, unsigned long *data_len); CK_RV C_VerifyRecover (CK_SESSION_HANDLE session, unsigned char *signature, unsigned long signature_len, unsigned char *data, unsigned long *data_len)
8191
CK_C_DigestEncryptUpdate
8192
# 929 "../../../pkcs11/pkcs11.h"
8193
) (CK_SESSION_HANDLE session, unsigned char *part, unsigned long part_len, unsigned char *encrypted_part, unsigned long *encrypted_part_len); CK_RV C_DigestEncryptUpdate (CK_SESSION_HANDLE session, unsigned char *part, unsigned long part_len, unsigned char *encrypted_part, unsigned long *encrypted_part_len)
8203
CK_C_DecryptDigestUpdate
8204
# 934 "../../../pkcs11/pkcs11.h"
8205
) (CK_SESSION_HANDLE session, unsigned char *encrypted_part, unsigned long encrypted_part_len, unsigned char *part, unsigned long *part_len); CK_RV C_DecryptDigestUpdate (CK_SESSION_HANDLE session, unsigned char *encrypted_part, unsigned long encrypted_part_len, unsigned char *part, unsigned long *part_len)
8215
CK_C_SignEncryptUpdate
8216
# 940 "../../../pkcs11/pkcs11.h"
8217
) (CK_SESSION_HANDLE session, unsigned char *part, unsigned long part_len, unsigned char *encrypted_part, unsigned long *encrypted_part_len); CK_RV C_SignEncryptUpdate (CK_SESSION_HANDLE session, unsigned char *part, unsigned long part_len, unsigned char *encrypted_part, unsigned long *encrypted_part_len)
8227
CK_C_DecryptVerifyUpdate
8228
# 945 "../../../pkcs11/pkcs11.h"
8229
) (CK_SESSION_HANDLE session, unsigned char *encrypted_part, unsigned long encrypted_part_len, unsigned char *part, unsigned long *part_len); CK_RV C_DecryptVerifyUpdate (CK_SESSION_HANDLE session, unsigned char *encrypted_part, unsigned long encrypted_part_len, unsigned char *part, unsigned long *part_len)
8242
# 952 "../../../pkcs11/pkcs11.h"
8243
) (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, struct _CK_ATTRIBUTE *templ, unsigned long count, CK_OBJECT_HANDLE *key); CK_RV C_GenerateKey (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, struct _CK_ATTRIBUTE *templ, unsigned long count, CK_OBJECT_HANDLE *key)
8257
CK_C_GenerateKeyPair
8258
# 958 "../../../pkcs11/pkcs11.h"
8259
) (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, struct _CK_ATTRIBUTE *public_key_template, unsigned long public_key_attribute_count, struct _CK_ATTRIBUTE *private_key_template, unsigned long private_key_attribute_count, CK_OBJECT_HANDLE *public_key, CK_OBJECT_HANDLE *private_key); CK_RV C_GenerateKeyPair (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, struct _CK_ATTRIBUTE *public_key_template, unsigned long public_key_attribute_count, struct _CK_ATTRIBUTE *private_key_template, unsigned long private_key_attribute_count, CK_OBJECT_HANDLE *public_key, CK_OBJECT_HANDLE *private_key)
8275
# 967 "../../../pkcs11/pkcs11.h"
8276
) (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE wrapping_key, CK_OBJECT_HANDLE key, unsigned char *wrapped_key, unsigned long *wrapped_key_len); CK_RV C_WrapKey (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE wrapping_key, CK_OBJECT_HANDLE key, unsigned char *wrapped_key, unsigned long *wrapped_key_len)
8292
# 974 "../../../pkcs11/pkcs11.h"
8293
) (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE unwrapping_key, unsigned char *wrapped_key, unsigned long wrapped_key_len, struct _CK_ATTRIBUTE *templ, unsigned long attribute_count, CK_OBJECT_HANDLE *key); CK_RV C_UnwrapKey (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE unwrapping_key, unsigned char *wrapped_key, unsigned long wrapped_key_len, struct _CK_ATTRIBUTE *templ, unsigned long attribute_count, CK_OBJECT_HANDLE *key)
8309
# 983 "../../../pkcs11/pkcs11.h"
8310
) (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE base_key, struct _CK_ATTRIBUTE *templ, unsigned long attribute_count, CK_OBJECT_HANDLE *key); CK_RV C_DeriveKey (CK_SESSION_HANDLE session, struct _CK_MECHANISM *mechanism, CK_OBJECT_HANDLE base_key, struct _CK_ATTRIBUTE *templ, unsigned long attribute_count, CK_OBJECT_HANDLE *key)
8321
# 991 "../../../pkcs11/pkcs11.h"
8322
) (CK_SESSION_HANDLE session, unsigned char *seed, unsigned long seed_len); CK_RV C_SeedRandom (CK_SESSION_HANDLE session, unsigned char *seed, unsigned long seed_len)
8329
# 994 "../../../pkcs11/pkcs11.h"
8330
) (CK_SESSION_HANDLE session, unsigned char *random_data, unsigned long random_len); CK_RV C_GenerateRandom (CK_SESSION_HANDLE session, unsigned char *random_data, unsigned long random_len)
8335
typedef CK_RV (*CK_C_GetFunctionStatus) (CK_SESSION_HANDLE session); CK_RV C_GetFunctionStatus (CK_SESSION_HANDLE session);
8336
typedef CK_RV (*CK_C_CancelFunction) (CK_SESSION_HANDLE session); CK_RV C_CancelFunction (CK_SESSION_HANDLE session);
8339
struct _CK_FUNCTION_LIST
8341
struct _CK_VERSION version;
8342
CK_C_Initialize C_Initialize;
8343
CK_C_Finalize C_Finalize;
8344
CK_C_GetInfo C_GetInfo;
8345
CK_C_GetFunctionList C_GetFunctionList;
8346
CK_C_GetSlotList C_GetSlotList;
8347
CK_C_GetSlotInfo C_GetSlotInfo;
8348
CK_C_GetTokenInfo C_GetTokenInfo;
8349
CK_C_GetMechanismList C_GetMechanismList;
8350
CK_C_GetMechanismInfo C_GetMechanismInfo;
8351
CK_C_InitToken C_InitToken;
8352
CK_C_InitPIN C_InitPIN;
8353
CK_C_SetPIN C_SetPIN;
8354
CK_C_OpenSession C_OpenSession;
8355
CK_C_CloseSession C_CloseSession;
8356
CK_C_CloseAllSessions C_CloseAllSessions;
8357
CK_C_GetSessionInfo C_GetSessionInfo;
8358
CK_C_GetOperationState C_GetOperationState;
8359
CK_C_SetOperationState C_SetOperationState;
8361
CK_C_Logout C_Logout;
8362
CK_C_CreateObject C_CreateObject;
8363
CK_C_CopyObject C_CopyObject;
8364
CK_C_DestroyObject C_DestroyObject;
8365
CK_C_GetObjectSize C_GetObjectSize;
8366
CK_C_GetAttributeValue C_GetAttributeValue;
8367
CK_C_SetAttributeValue C_SetAttributeValue;
8368
CK_C_FindObjectsInit C_FindObjectsInit;
8369
CK_C_FindObjects C_FindObjects;
8370
CK_C_FindObjectsFinal C_FindObjectsFinal;
8371
CK_C_EncryptInit C_EncryptInit;
8372
CK_C_Encrypt C_Encrypt;
8373
CK_C_EncryptUpdate C_EncryptUpdate;
8374
CK_C_EncryptFinal C_EncryptFinal;
8375
CK_C_DecryptInit C_DecryptInit;
8376
CK_C_Decrypt C_Decrypt;
8377
CK_C_DecryptUpdate C_DecryptUpdate;
8378
CK_C_DecryptFinal C_DecryptFinal;
8379
CK_C_DigestInit C_DigestInit;
8380
CK_C_Digest C_Digest;
8381
CK_C_DigestUpdate C_DigestUpdate;
8382
CK_C_DigestKey C_DigestKey;
8383
CK_C_DigestFinal C_DigestFinal;
8384
CK_C_SignInit C_SignInit;
8386
CK_C_SignUpdate C_SignUpdate;
8387
CK_C_SignFinal C_SignFinal;
8388
CK_C_SignRecoverInit C_SignRecoverInit;
8389
CK_C_SignRecover C_SignRecover;
8390
CK_C_VerifyInit C_VerifyInit;
8391
CK_C_Verify C_Verify;
8392
CK_C_VerifyUpdate C_VerifyUpdate;
8393
CK_C_VerifyFinal C_VerifyFinal;
8394
CK_C_VerifyRecoverInit C_VerifyRecoverInit;
8395
CK_C_VerifyRecover C_VerifyRecover;
8396
CK_C_DigestEncryptUpdate C_DigestEncryptUpdate;
8397
CK_C_DecryptDigestUpdate C_DecryptDigestUpdate;
8398
CK_C_SignEncryptUpdate C_SignEncryptUpdate;
8399
CK_C_DecryptVerifyUpdate C_DecryptVerifyUpdate;
8400
CK_C_GenerateKey C_GenerateKey;
8401
CK_C_GenerateKeyPair C_GenerateKeyPair;
8402
CK_C_WrapKey C_WrapKey;
8403
CK_C_UnwrapKey C_UnwrapKey;
8404
CK_C_DeriveKey C_DeriveKey;
8405
CK_C_SeedRandom C_SeedRandom;
8406
CK_C_GenerateRandom C_GenerateRandom;
8407
CK_C_GetFunctionStatus C_GetFunctionStatus;
8408
CK_C_CancelFunction C_CancelFunction;
8409
CK_C_WaitForSlotEvent C_WaitForSlotEvent;
8413
typedef CK_RV (*CK_CREATEMUTEX) (void **mutex);
8414
typedef CK_RV (*CK_DESTROYMUTEX) (void *mutex);
8415
typedef CK_RV (*CK_LOCKMUTEX) (void *mutex);
8416
typedef CK_RV (*CK_UNLOCKMUTEX) (void *mutex);
8419
struct _CK_C_INITIALIZE_ARGS
8421
CK_CREATEMUTEX CreateMutex;
8422
CK_DESTROYMUTEX DestroyMutex;
8423
CK_LOCKMUTEX LockMutex;
8424
CK_UNLOCKMUTEX UnlockMutex;
8428
# 1194 "../../../pkcs11/pkcs11.h"
8429
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
8430
# 1195 "../../../pkcs11/pkcs11.h" 2
8432
typedef unsigned char CK_BYTE;
8433
typedef unsigned char CK_CHAR;
8434
typedef unsigned char CK_UTF8CHAR;
8435
typedef unsigned char CK_BBOOL;
8436
typedef unsigned long int CK_ULONG;
8437
typedef long int CK_LONG;
8438
typedef CK_BYTE *CK_BYTE_PTR;
8439
typedef CK_CHAR *CK_CHAR_PTR;
8440
typedef CK_UTF8CHAR *CK_UTF8CHAR_PTR;
8441
typedef CK_ULONG *CK_ULONG_PTR;
8442
typedef void *CK_VOID_PTR;
8443
typedef void **CK_VOID_PTR_PTR;
8444
# 1219 "../../../pkcs11/pkcs11.h"
8445
typedef struct _CK_VERSION CK_VERSION;
8446
typedef struct _CK_VERSION *CK_VERSION_PTR;
8448
typedef struct _CK_INFO CK_INFO;
8449
typedef struct _CK_INFO *CK_INFO_PTR;
8451
typedef CK_SLOT_ID *CK_SLOT_ID_PTR;
8453
typedef struct _CK_SLOT_INFO CK_SLOT_INFO;
8454
typedef struct _CK_SLOT_INFO *CK_SLOT_INFO_PTR;
8456
typedef struct _CK_TOKEN_INFO CK_TOKEN_INFO;
8457
typedef struct _CK_TOKEN_INFO *CK_TOKEN_INFO_PTR;
8459
typedef CK_SESSION_HANDLE *CK_SESSION_HANDLE_PTR;
8461
typedef struct _CK_SESSION_INFO CK_SESSION_INFO;
8462
typedef struct _CK_SESSION_INFO *CK_SESSION_INFO_PTR;
8464
typedef CK_OBJECT_HANDLE *CK_OBJECT_HANDLE_PTR;
8466
typedef CK_OBJECT_CLASS *CK_OBJECT_CLASS_PTR;
8468
typedef struct _CK_ATTRIBUTE CK_ATTRIBUTE;
8469
typedef struct _CK_ATTRIBUTE *CK_ATTRIBUTE_PTR;
8471
typedef struct _CK_DATE CK_DATE;
8472
typedef struct _CK_DATE *CK_DATE_PTR;
8474
typedef CK_MECHANISM_TYPE *CK_MECHANISM_TYPE_PTR;
8476
typedef struct _CK_MECHANISM CK_MECHANISM;
8477
typedef struct _CK_MECHANISM *CK_MECHANISM_PTR;
8479
typedef struct _CK_MECHANISM_INFO CK_MECHANISM_INFO;
8480
typedef struct _CK_MECHANISM_INFO *CK_MECHANISM_INFO_PTR;
8482
typedef struct _CK_FUNCTION_LIST CK_FUNCTION_LIST;
8483
typedef struct _CK_FUNCTION_LIST *CK_FUNCTION_LIST_PTR;
8484
typedef struct _CK_FUNCTION_LIST **CK_FUNCTION_LIST_PTR_PTR;
8486
typedef struct _CK_C_INITIALIZE_ARGS CK_C_INITIALIZE_ARGS;
8487
typedef struct _CK_C_INITIALIZE_ARGS *CK_C_INITIALIZE_ARGS_PTR;
8488
# 25 "./../../gkm/gkm-test.h" 2
8489
# 1 "../../../pkcs11/pkcs11i.h" 1
8490
# 27 "../../../pkcs11/pkcs11i.h"
8491
# 1 "../../../pkcs11/pkcs11.h" 1
8492
# 28 "../../../pkcs11/pkcs11i.h" 2
8493
# 70 "../../../pkcs11/pkcs11i.h"
8494
typedef CK_ULONG CK_G_APPLICATION_ID;
8496
typedef struct CK_G_APPLICATION {
8497
CK_VOID_PTR applicationData;
8498
CK_G_APPLICATION_ID applicationId;
8501
typedef CK_G_APPLICATION* CK_G_APPLICATION_PTR;
8502
# 26 "./../../gkm/gkm-test.h" 2
8503
# 44 "./../../gkm/gkm-test.h"
8504
void gkm_assertion_message_cmprv (const gchar *domain,
8513
void gkm_assertion_message_cmpulong (const gchar *domain,
8521
# 30 "test-xdg-module.h" 2
8522
# 1 "./../../gkm/gkm-types.h" 1
8523
# 25 "./../../gkm/gkm-types.h"
8524
typedef struct _GkmAesKey GkmAesKey;
8525
typedef struct _GkmAssertion GkmAssertion;
8526
typedef struct _GkmCertificate GkmCertificate;
8527
typedef struct _GkmCertificateKey GkmCertificateKey;
8528
typedef struct _GkmCredential GkmCredential;
8529
typedef struct _GkmDhKey GkmDhKey;
8530
typedef struct _GkmDhPrivateKey GkmDhPrivateKey;
8531
typedef struct _GkmDhPublicKey GkmDhPublicKey;
8532
typedef struct _GkmFactory GkmFactory;
8533
typedef struct _GkmGenericKey GkmGenericKey;
8534
typedef struct _GkmManager GkmManager;
8535
typedef struct _GkmModule GkmModule;
8536
typedef struct _GkmNullKey GkmNullKey;
8537
typedef struct _GkmObject GkmObject;
8538
typedef struct _GkmPrivateXsaKey GkmPrivateXsaKey;
8539
typedef struct _GkmPublicXsaKey GkmPublicXsaKey;
8540
typedef struct _GkmSecret GkmSecret;
8541
typedef struct _GkmSecretKey GkmSecretKey;
8542
typedef struct _GkmSession GkmSession;
8543
typedef struct _GkmSessionPrivateKey GkmSessionPrivateKey;
8544
typedef struct _GkmSessionPublicKey GkmSessionPublicKey;
8545
typedef struct _GkmSexp GkmSexp;
8546
typedef struct _GkmSexpKey GkmSexpKey;
8547
typedef struct _GkmStore GkmStore;
8548
typedef struct _GkmTimer GkmTimer;
8549
typedef struct _GkmTransaction GkmTransaction;
8550
typedef struct _GkmTrust GkmTrust;
8551
# 31 "test-xdg-module.h" 2
8553
# 1 "./../../pkcs11.h" 1
8554
# 33 "test-xdg-module.h" 2
8555
# 1 "test-suite.h" 1
8556
# 1 "../../../testing/testing.h" 1
8557
# 31 "../../../testing/testing.h"
8558
# 1 "../../../config.h" 1
8559
# 32 "../../../testing/testing.h" 2
8562
# 1 "/usr/include/glib-2.0/glib-object.h" 1
8563
# 25 "/usr/include/glib-2.0/glib-object.h"
8564
# 1 "/usr/include/glib-2.0/gobject/gbinding.h" 1
8565
# 31 "/usr/include/glib-2.0/gobject/gbinding.h"
8566
# 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
8567
# 26 "/usr/include/glib-2.0/gobject/gobject.h"
8568
# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
8569
# 28 "/usr/include/glib-2.0/gobject/gtype.h"
8571
# 385 "/usr/include/glib-2.0/gobject/gtype.h"
8572
typedef gsize GType;
8576
typedef struct _GValue GValue;
8577
typedef union _GTypeCValue GTypeCValue;
8578
typedef struct _GTypePlugin GTypePlugin;
8579
typedef struct _GTypeClass GTypeClass;
8580
typedef struct _GTypeInterface GTypeInterface;
8581
typedef struct _GTypeInstance GTypeInstance;
8582
typedef struct _GTypeInfo GTypeInfo;
8583
typedef struct _GTypeFundamentalInfo GTypeFundamentalInfo;
8584
typedef struct _GInterfaceInfo GInterfaceInfo;
8585
typedef struct _GTypeValueTable GTypeValueTable;
8586
typedef struct _GTypeQuery GTypeQuery;
8587
# 409 "/usr/include/glib-2.0/gobject/gtype.h"
8598
struct _GTypeInstance
8601
GTypeClass *g_class;
8608
struct _GTypeInterface
8612
GType g_instance_type;
8614
# 445 "/usr/include/glib-2.0/gobject/gtype.h"
8618
const gchar *type_name;
8620
guint instance_size;
8622
# 657 "/usr/include/glib-2.0/gobject/gtype.h"
8625
G_TYPE_DEBUG_NONE = 0,
8626
G_TYPE_DEBUG_OBJECTS = 1 << 0,
8627
G_TYPE_DEBUG_SIGNALS = 1 << 1,
8628
G_TYPE_DEBUG_MASK = 0x03
8633
void g_type_init (void);
8634
void g_type_init_with_debug_flags (GTypeDebugFlags debug_flags);
8635
const gchar* g_type_name (GType type);
8636
GQuark g_type_qname (GType type);
8637
GType g_type_from_name (const gchar *name);
8638
GType g_type_parent (GType type);
8639
guint g_type_depth (GType type);
8640
GType g_type_next_base (GType leaf_type,
8642
gboolean g_type_is_a (GType type,
8644
gpointer g_type_class_ref (GType type);
8645
gpointer g_type_class_peek (GType type);
8646
gpointer g_type_class_peek_static (GType type);
8647
void g_type_class_unref (gpointer g_class);
8648
gpointer g_type_class_peek_parent (gpointer g_class);
8649
gpointer g_type_interface_peek (gpointer instance_class,
8651
gpointer g_type_interface_peek_parent (gpointer g_iface);
8653
gpointer g_type_default_interface_ref (GType g_type);
8654
gpointer g_type_default_interface_peek (GType g_type);
8655
void g_type_default_interface_unref (gpointer g_iface);
8658
GType* g_type_children (GType type,
8660
GType* g_type_interfaces (GType type,
8661
guint *n_interfaces);
8664
void g_type_set_qdata (GType type,
8667
gpointer g_type_get_qdata (GType type,
8669
void g_type_query (GType type,
8671
# 721 "/usr/include/glib-2.0/gobject/gtype.h"
8672
typedef void (*GBaseInitFunc) (gpointer g_class);
8673
# 732 "/usr/include/glib-2.0/gobject/gtype.h"
8674
typedef void (*GBaseFinalizeFunc) (gpointer g_class);
8675
# 837 "/usr/include/glib-2.0/gobject/gtype.h"
8676
typedef void (*GClassInitFunc) (gpointer g_class,
8677
gpointer class_data);
8678
# 852 "/usr/include/glib-2.0/gobject/gtype.h"
8679
typedef void (*GClassFinalizeFunc) (gpointer g_class,
8680
gpointer class_data);
8681
# 867 "/usr/include/glib-2.0/gobject/gtype.h"
8682
typedef void (*GInstanceInitFunc) (GTypeInstance *instance,
8684
# 878 "/usr/include/glib-2.0/gobject/gtype.h"
8685
typedef void (*GInterfaceInitFunc) (gpointer g_iface,
8686
gpointer iface_data);
8687
# 889 "/usr/include/glib-2.0/gobject/gtype.h"
8688
typedef void (*GInterfaceFinalizeFunc) (gpointer g_iface,
8689
gpointer iface_data);
8690
# 909 "/usr/include/glib-2.0/gobject/gtype.h"
8691
typedef gboolean (*GTypeClassCacheFunc) (gpointer cache_data,
8692
GTypeClass *g_class);
8693
# 921 "/usr/include/glib-2.0/gobject/gtype.h"
8694
typedef void (*GTypeInterfaceCheckFunc) (gpointer check_data,
8696
# 933 "/usr/include/glib-2.0/gobject/gtype.h"
8699
G_TYPE_FLAG_CLASSED = (1 << 0),
8700
G_TYPE_FLAG_INSTANTIATABLE = (1 << 1),
8701
G_TYPE_FLAG_DERIVABLE = (1 << 2),
8702
G_TYPE_FLAG_DEEP_DERIVABLE = (1 << 3)
8703
} GTypeFundamentalFlags;
8704
# 950 "/usr/include/glib-2.0/gobject/gtype.h"
8707
G_TYPE_FLAG_ABSTRACT = (1 << 4),
8708
G_TYPE_FLAG_VALUE_ABSTRACT = (1 << 5)
8710
# 985 "/usr/include/glib-2.0/gobject/gtype.h"
8716
GBaseInitFunc base_init;
8717
GBaseFinalizeFunc base_finalize;
8720
GClassInitFunc class_init;
8721
GClassFinalizeFunc class_finalize;
8722
gconstpointer class_data;
8725
guint16 instance_size;
8726
guint16 n_preallocs;
8727
GInstanceInitFunc instance_init;
8730
const GTypeValueTable *value_table;
8739
struct _GTypeFundamentalInfo
8741
GTypeFundamentalFlags type_flags;
8743
# 1026 "/usr/include/glib-2.0/gobject/gtype.h"
8744
struct _GInterfaceInfo
8746
GInterfaceInitFunc interface_init;
8747
GInterfaceFinalizeFunc interface_finalize;
8748
gpointer interface_data;
8750
# 1200 "/usr/include/glib-2.0/gobject/gtype.h"
8751
struct _GTypeValueTable
8753
void (*value_init) (GValue *value);
8754
void (*value_free) (GValue *value);
8755
void (*value_copy) (const GValue *src_value,
8756
GValue *dest_value);
8758
gpointer (*value_peek_pointer) (const GValue *value);
8759
gchar *collect_format;
8760
gchar* (*collect_value) (GValue *value,
8761
guint n_collect_values,
8762
GTypeCValue *collect_values,
8763
guint collect_flags);
8764
gchar *lcopy_format;
8765
gchar* (*lcopy_value) (const GValue *value,
8766
guint n_collect_values,
8767
GTypeCValue *collect_values,
8768
guint collect_flags);
8770
GType g_type_register_static (GType parent_type,
8771
const gchar *type_name,
8772
const GTypeInfo *info,
8774
GType g_type_register_static_simple (GType parent_type,
8775
const gchar *type_name,
8777
GClassInitFunc class_init,
8778
guint instance_size,
8779
GInstanceInitFunc instance_init,
8782
GType g_type_register_dynamic (GType parent_type,
8783
const gchar *type_name,
8784
GTypePlugin *plugin,
8786
GType g_type_register_fundamental (GType type_id,
8787
const gchar *type_name,
8788
const GTypeInfo *info,
8789
const GTypeFundamentalInfo *finfo,
8791
void g_type_add_interface_static (GType instance_type,
8792
GType interface_type,
8793
const GInterfaceInfo *info);
8794
void g_type_add_interface_dynamic (GType instance_type,
8795
GType interface_type,
8796
GTypePlugin *plugin);
8797
void g_type_interface_add_prerequisite (GType interface_type,
8798
GType prerequisite_type);
8799
GType*g_type_interface_prerequisites (GType interface_type,
8800
guint *n_prerequisites);
8801
void g_type_class_add_private (gpointer g_class,
8802
gsize private_size);
8803
gpointer g_type_instance_get_private (GTypeInstance *instance,
8804
GType private_type);
8806
void g_type_add_class_private (GType class_type,
8807
gsize private_size);
8808
gpointer g_type_class_get_private (GTypeClass *klass,
8809
GType private_type);
8810
# 1619 "/usr/include/glib-2.0/gobject/gtype.h"
8811
GTypePlugin* g_type_get_plugin (GType type);
8812
GTypePlugin* g_type_interface_get_plugin (GType instance_type,
8813
GType interface_type);
8814
GType g_type_fundamental_next (void);
8815
GType g_type_fundamental (GType type_id);
8816
GTypeInstance* g_type_create_instance (GType type);
8817
void g_type_free_instance (GTypeInstance *instance);
8819
void g_type_add_class_cache_func (gpointer cache_data,
8820
GTypeClassCacheFunc cache_func);
8821
void g_type_remove_class_cache_func (gpointer cache_data,
8822
GTypeClassCacheFunc cache_func);
8823
void g_type_class_unref_uncached (gpointer g_class);
8825
void g_type_add_interface_check (gpointer check_data,
8826
GTypeInterfaceCheckFunc check_func);
8827
void g_type_remove_interface_check (gpointer check_data,
8828
GTypeInterfaceCheckFunc check_func);
8830
GTypeValueTable* g_type_value_table_peek (GType type);
8834
gboolean g_type_check_instance (GTypeInstance *instance) __attribute__((__pure__));
8835
GTypeInstance* g_type_check_instance_cast (GTypeInstance *instance,
8837
gboolean g_type_check_instance_is_a (GTypeInstance *instance,
8838
GType iface_type) __attribute__((__pure__));
8839
GTypeClass* g_type_check_class_cast (GTypeClass *g_class,
8841
gboolean g_type_check_class_is_a (GTypeClass *g_class,
8842
GType is_a_type) __attribute__((__pure__));
8843
gboolean g_type_check_is_value_type (GType type) __attribute__((__const__));
8844
gboolean g_type_check_value (GValue *value) __attribute__((__pure__));
8845
gboolean g_type_check_value_holds (GValue *value,
8846
GType type) __attribute__((__pure__));
8847
gboolean g_type_test_flags (GType type,
8848
guint flags) __attribute__((__const__));
8852
const gchar* g_type_name_from_instance (GTypeInstance *instance);
8853
const gchar* g_type_name_from_class (GTypeClass *g_class);
8857
__attribute__((visibility("hidden"))) void g_value_c_init (void);
8858
__attribute__((visibility("hidden"))) void g_value_types_init (void);
8859
__attribute__((visibility("hidden"))) void g_enum_types_init (void);
8860
__attribute__((visibility("hidden"))) void g_param_type_init (void);
8861
__attribute__((visibility("hidden"))) void g_boxed_type_init (void);
8862
__attribute__((visibility("hidden"))) void g_object_type_init (void);
8863
__attribute__((visibility("hidden"))) void g_param_spec_types_init (void);
8864
__attribute__((visibility("hidden"))) void g_value_transforms_init (void);
8865
__attribute__((visibility("hidden"))) void g_signal_init (void);
8866
# 1732 "/usr/include/glib-2.0/gobject/gtype.h"
8867
extern GTypeDebugFlags _g_type_debug_flags;
8870
# 27 "/usr/include/glib-2.0/gobject/gobject.h" 2
8871
# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
8872
# 28 "/usr/include/glib-2.0/gobject/gvalue.h"
8873
# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
8874
# 29 "/usr/include/glib-2.0/gobject/gvalue.h" 2
8877
# 94 "/usr/include/glib-2.0/gobject/gvalue.h"
8878
typedef void (*GValueTransform) (const GValue *src_value,
8879
GValue *dest_value);
8880
# 108 "/usr/include/glib-2.0/gobject/gvalue.h"
8902
GValue* g_value_init (GValue *value,
8904
void g_value_copy (const GValue *src_value,
8905
GValue *dest_value);
8906
GValue* g_value_reset (GValue *value);
8907
void g_value_unset (GValue *value);
8908
void g_value_set_instance (GValue *value,
8913
gboolean g_value_fits_pointer (const GValue *value);
8914
gpointer g_value_peek_pointer (const GValue *value);
8918
gboolean g_value_type_compatible (GType src_type,
8920
gboolean g_value_type_transformable (GType src_type,
8922
gboolean g_value_transform (const GValue *src_value,
8923
GValue *dest_value);
8924
void g_value_register_transform_func (GType src_type,
8926
GValueTransform transform_func);
8927
# 165 "/usr/include/glib-2.0/gobject/gvalue.h"
8929
# 28 "/usr/include/glib-2.0/gobject/gobject.h" 2
8930
# 1 "/usr/include/glib-2.0/gobject/gparam.h" 1
8931
# 28 "/usr/include/glib-2.0/gobject/gparam.h"
8932
# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
8933
# 29 "/usr/include/glib-2.0/gobject/gparam.h" 2
8936
# 143 "/usr/include/glib-2.0/gobject/gparam.h"
8939
G_PARAM_READABLE = 1 << 0,
8940
G_PARAM_WRITABLE = 1 << 1,
8941
G_PARAM_CONSTRUCT = 1 << 2,
8942
G_PARAM_CONSTRUCT_ONLY = 1 << 3,
8943
G_PARAM_LAX_VALIDATION = 1 << 4,
8944
G_PARAM_STATIC_NAME = 1 << 5,
8946
G_PARAM_PRIVATE = G_PARAM_STATIC_NAME,
8948
G_PARAM_STATIC_NICK = 1 << 6,
8949
G_PARAM_STATIC_BLURB = 1 << 7,
8951
G_PARAM_DEPRECATED = 1 << 31
8953
# 189 "/usr/include/glib-2.0/gobject/gparam.h"
8954
typedef struct _GParamSpec GParamSpec;
8955
typedef struct _GParamSpecClass GParamSpecClass;
8956
typedef struct _GParameter GParameter;
8957
typedef struct _GParamSpecPool GParamSpecPool;
8958
# 204 "/usr/include/glib-2.0/gobject/gparam.h"
8961
GTypeInstance g_type_instance;
8975
# 239 "/usr/include/glib-2.0/gobject/gparam.h"
8976
struct _GParamSpecClass
8978
GTypeClass g_type_class;
8982
void (*finalize) (GParamSpec *pspec);
8985
void (*value_set_default) (GParamSpec *pspec,
8987
gboolean (*value_validate) (GParamSpec *pspec,
8989
gint (*values_cmp) (GParamSpec *pspec,
8990
const GValue *value1,
8991
const GValue *value2);
8995
# 266 "/usr/include/glib-2.0/gobject/gparam.h"
9004
GParamSpec* g_param_spec_ref (GParamSpec *pspec);
9005
void g_param_spec_unref (GParamSpec *pspec);
9006
void g_param_spec_sink (GParamSpec *pspec);
9007
GParamSpec* g_param_spec_ref_sink (GParamSpec *pspec);
9008
gpointer g_param_spec_get_qdata (GParamSpec *pspec,
9010
void g_param_spec_set_qdata (GParamSpec *pspec,
9013
void g_param_spec_set_qdata_full (GParamSpec *pspec,
9016
GDestroyNotify destroy);
9017
gpointer g_param_spec_steal_qdata (GParamSpec *pspec,
9019
GParamSpec* g_param_spec_get_redirect_target (GParamSpec *pspec);
9021
void g_param_value_set_default (GParamSpec *pspec,
9023
gboolean g_param_value_defaults (GParamSpec *pspec,
9025
gboolean g_param_value_validate (GParamSpec *pspec,
9027
gboolean g_param_value_convert (GParamSpec *pspec,
9028
const GValue *src_value,
9030
gboolean strict_validation);
9031
gint g_param_values_cmp (GParamSpec *pspec,
9032
const GValue *value1,
9033
const GValue *value2);
9034
const gchar* g_param_spec_get_name (GParamSpec *pspec);
9035
const gchar* g_param_spec_get_nick (GParamSpec *pspec);
9036
const gchar* g_param_spec_get_blurb (GParamSpec *pspec);
9037
void g_value_set_param (GValue *value,
9039
GParamSpec* g_value_get_param (const GValue *value);
9040
GParamSpec* g_value_dup_param (const GValue *value);
9043
void g_value_take_param (GValue *value,
9046
void g_value_set_param_take_ownership (GValue *value,
9051
typedef struct _GParamSpecTypeInfo GParamSpecTypeInfo;
9052
# 346 "/usr/include/glib-2.0/gobject/gparam.h"
9053
struct _GParamSpecTypeInfo
9056
guint16 instance_size;
9057
guint16 n_preallocs;
9058
void (*instance_init) (GParamSpec *pspec);
9062
void (*finalize) (GParamSpec *pspec);
9063
void (*value_set_default) (GParamSpec *pspec,
9065
gboolean (*value_validate) (GParamSpec *pspec,
9067
gint (*values_cmp) (GParamSpec *pspec,
9068
const GValue *value1,
9069
const GValue *value2);
9071
GType g_param_type_register_static (const gchar *name,
9072
const GParamSpecTypeInfo *pspec_info);
9075
GType _g_param_type_register_static_constant (const gchar *name,
9076
const GParamSpecTypeInfo *pspec_info,
9081
gpointer g_param_spec_internal (GType param_type,
9086
GParamSpecPool* g_param_spec_pool_new (gboolean type_prefixing);
9087
void g_param_spec_pool_insert (GParamSpecPool *pool,
9090
void g_param_spec_pool_remove (GParamSpecPool *pool,
9092
GParamSpec* g_param_spec_pool_lookup (GParamSpecPool *pool,
9093
const gchar *param_name,
9095
gboolean walk_ancestors);
9096
GList* g_param_spec_pool_list_owned (GParamSpecPool *pool,
9098
GParamSpec** g_param_spec_pool_list (GParamSpecPool *pool,
9101
# 413 "/usr/include/glib-2.0/gobject/gparam.h"
9103
# 29 "/usr/include/glib-2.0/gobject/gobject.h" 2
9104
# 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1
9105
# 27 "/usr/include/glib-2.0/gobject/gclosure.h"
9106
# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
9107
# 28 "/usr/include/glib-2.0/gobject/gclosure.h" 2
9110
# 76 "/usr/include/glib-2.0/gobject/gclosure.h"
9111
typedef struct _GClosure GClosure;
9112
typedef struct _GClosureNotifyData GClosureNotifyData;
9113
# 88 "/usr/include/glib-2.0/gobject/gclosure.h"
9114
typedef void (*GCallback) (void);
9115
# 97 "/usr/include/glib-2.0/gobject/gclosure.h"
9116
typedef void (*GClosureNotify) (gpointer data,
9118
# 114 "/usr/include/glib-2.0/gobject/gclosure.h"
9119
typedef void (*GClosureMarshal) (GClosure *closure,
9120
GValue *return_value,
9121
guint n_param_values,
9122
const GValue *param_values,
9123
gpointer invocation_hint,
9124
gpointer marshal_data);
9132
typedef struct _GCClosure GCClosure;
9136
struct _GClosureNotifyData
9139
GClosureNotify notify;
9141
# 145 "/usr/include/glib-2.0/gobject/gclosure.h"
9145
volatile guint ref_count : 15;
9146
volatile guint meta_marshal : 1;
9147
volatile guint n_guards : 1;
9148
volatile guint n_fnotifiers : 2;
9149
volatile guint n_inotifiers : 8;
9150
volatile guint in_inotify : 1;
9151
volatile guint floating : 1;
9153
volatile guint derivative_flag : 1;
9155
volatile guint in_marshal : 1;
9156
volatile guint is_invalid : 1;
9158
void (*marshal) (GClosure *closure,
9159
GValue *return_value,
9160
guint n_param_values,
9161
const GValue *param_values,
9162
gpointer invocation_hint,
9163
gpointer marshal_data);
9166
GClosureNotifyData *notifiers;
9167
# 181 "/usr/include/glib-2.0/gobject/gclosure.h"
9179
GClosure* g_cclosure_new (GCallback callback_func,
9181
GClosureNotify destroy_data);
9182
GClosure* g_cclosure_new_swap (GCallback callback_func,
9184
GClosureNotify destroy_data);
9185
GClosure* g_signal_type_cclosure_new (GType itype,
9186
guint struct_offset);
9190
GClosure* g_closure_ref (GClosure *closure);
9191
void g_closure_sink (GClosure *closure);
9192
void g_closure_unref (GClosure *closure);
9194
GClosure* g_closure_new_simple (guint sizeof_closure,
9196
void g_closure_add_finalize_notifier (GClosure *closure,
9197
gpointer notify_data,
9198
GClosureNotify notify_func);
9199
void g_closure_remove_finalize_notifier (GClosure *closure,
9200
gpointer notify_data,
9201
GClosureNotify notify_func);
9202
void g_closure_add_invalidate_notifier (GClosure *closure,
9203
gpointer notify_data,
9204
GClosureNotify notify_func);
9205
void g_closure_remove_invalidate_notifier (GClosure *closure,
9206
gpointer notify_data,
9207
GClosureNotify notify_func);
9208
void g_closure_add_marshal_guards (GClosure *closure,
9209
gpointer pre_marshal_data,
9210
GClosureNotify pre_marshal_notify,
9211
gpointer post_marshal_data,
9212
GClosureNotify post_marshal_notify);
9213
void g_closure_set_marshal (GClosure *closure,
9214
GClosureMarshal marshal);
9215
void g_closure_set_meta_marshal (GClosure *closure,
9216
gpointer marshal_data,
9217
GClosureMarshal meta_marshal);
9218
void g_closure_invalidate (GClosure *closure);
9219
void g_closure_invoke (GClosure *closure,
9220
GValue *return_value,
9221
guint n_param_values,
9222
const GValue *param_values,
9223
gpointer invocation_hint);
9224
# 249 "/usr/include/glib-2.0/gobject/gclosure.h"
9226
# 30 "/usr/include/glib-2.0/gobject/gobject.h" 2
9227
# 1 "/usr/include/glib-2.0/gobject/gsignal.h" 1
9228
# 26 "/usr/include/glib-2.0/gobject/gsignal.h"
9229
# 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1
9230
# 27 "/usr/include/glib-2.0/gobject/gsignal.h" 2
9231
# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
9232
# 28 "/usr/include/glib-2.0/gobject/gsignal.h" 2
9233
# 1 "/usr/include/glib-2.0/gobject/gparam.h" 1
9234
# 29 "/usr/include/glib-2.0/gobject/gsignal.h" 2
9235
# 1 "/usr/include/glib-2.0/gobject/gmarshal.h" 1
9242
extern void g_cclosure_marshal_VOID__VOID (GClosure *closure,
9243
GValue *return_value,
9244
guint n_param_values,
9245
const GValue *param_values,
9246
gpointer invocation_hint,
9247
gpointer marshal_data);
9250
extern void g_cclosure_marshal_VOID__BOOLEAN (GClosure *closure,
9251
GValue *return_value,
9252
guint n_param_values,
9253
const GValue *param_values,
9254
gpointer invocation_hint,
9255
gpointer marshal_data);
9258
extern void g_cclosure_marshal_VOID__CHAR (GClosure *closure,
9259
GValue *return_value,
9260
guint n_param_values,
9261
const GValue *param_values,
9262
gpointer invocation_hint,
9263
gpointer marshal_data);
9266
extern void g_cclosure_marshal_VOID__UCHAR (GClosure *closure,
9267
GValue *return_value,
9268
guint n_param_values,
9269
const GValue *param_values,
9270
gpointer invocation_hint,
9271
gpointer marshal_data);
9274
extern void g_cclosure_marshal_VOID__INT (GClosure *closure,
9275
GValue *return_value,
9276
guint n_param_values,
9277
const GValue *param_values,
9278
gpointer invocation_hint,
9279
gpointer marshal_data);
9282
extern void g_cclosure_marshal_VOID__UINT (GClosure *closure,
9283
GValue *return_value,
9284
guint n_param_values,
9285
const GValue *param_values,
9286
gpointer invocation_hint,
9287
gpointer marshal_data);
9290
extern void g_cclosure_marshal_VOID__LONG (GClosure *closure,
9291
GValue *return_value,
9292
guint n_param_values,
9293
const GValue *param_values,
9294
gpointer invocation_hint,
9295
gpointer marshal_data);
9298
extern void g_cclosure_marshal_VOID__ULONG (GClosure *closure,
9299
GValue *return_value,
9300
guint n_param_values,
9301
const GValue *param_values,
9302
gpointer invocation_hint,
9303
gpointer marshal_data);
9306
extern void g_cclosure_marshal_VOID__ENUM (GClosure *closure,
9307
GValue *return_value,
9308
guint n_param_values,
9309
const GValue *param_values,
9310
gpointer invocation_hint,
9311
gpointer marshal_data);
9314
extern void g_cclosure_marshal_VOID__FLAGS (GClosure *closure,
9315
GValue *return_value,
9316
guint n_param_values,
9317
const GValue *param_values,
9318
gpointer invocation_hint,
9319
gpointer marshal_data);
9322
extern void g_cclosure_marshal_VOID__FLOAT (GClosure *closure,
9323
GValue *return_value,
9324
guint n_param_values,
9325
const GValue *param_values,
9326
gpointer invocation_hint,
9327
gpointer marshal_data);
9330
extern void g_cclosure_marshal_VOID__DOUBLE (GClosure *closure,
9331
GValue *return_value,
9332
guint n_param_values,
9333
const GValue *param_values,
9334
gpointer invocation_hint,
9335
gpointer marshal_data);
9338
extern void g_cclosure_marshal_VOID__STRING (GClosure *closure,
9339
GValue *return_value,
9340
guint n_param_values,
9341
const GValue *param_values,
9342
gpointer invocation_hint,
9343
gpointer marshal_data);
9346
extern void g_cclosure_marshal_VOID__PARAM (GClosure *closure,
9347
GValue *return_value,
9348
guint n_param_values,
9349
const GValue *param_values,
9350
gpointer invocation_hint,
9351
gpointer marshal_data);
9354
extern void g_cclosure_marshal_VOID__BOXED (GClosure *closure,
9355
GValue *return_value,
9356
guint n_param_values,
9357
const GValue *param_values,
9358
gpointer invocation_hint,
9359
gpointer marshal_data);
9362
extern void g_cclosure_marshal_VOID__POINTER (GClosure *closure,
9363
GValue *return_value,
9364
guint n_param_values,
9365
const GValue *param_values,
9366
gpointer invocation_hint,
9367
gpointer marshal_data);
9370
extern void g_cclosure_marshal_VOID__OBJECT (GClosure *closure,
9371
GValue *return_value,
9372
guint n_param_values,
9373
const GValue *param_values,
9374
gpointer invocation_hint,
9375
gpointer marshal_data);
9378
extern void g_cclosure_marshal_VOID__VARIANT (GClosure *closure,
9379
GValue *return_value,
9380
guint n_param_values,
9381
const GValue *param_values,
9382
gpointer invocation_hint,
9383
gpointer marshal_data);
9386
extern void g_cclosure_marshal_VOID__UINT_POINTER (GClosure *closure,
9387
GValue *return_value,
9388
guint n_param_values,
9389
const GValue *param_values,
9390
gpointer invocation_hint,
9391
gpointer marshal_data);
9394
extern void g_cclosure_marshal_BOOLEAN__FLAGS (GClosure *closure,
9395
GValue *return_value,
9396
guint n_param_values,
9397
const GValue *param_values,
9398
gpointer invocation_hint,
9399
gpointer marshal_data);
9403
extern void g_cclosure_marshal_STRING__OBJECT_POINTER (GClosure *closure,
9404
GValue *return_value,
9405
guint n_param_values,
9406
const GValue *param_values,
9407
gpointer invocation_hint,
9408
gpointer marshal_data);
9411
extern void g_cclosure_marshal_BOOLEAN__BOXED_BOXED (GClosure *closure,
9412
GValue *return_value,
9413
guint n_param_values,
9414
const GValue *param_values,
9415
gpointer invocation_hint,
9416
gpointer marshal_data);
9420
# 30 "/usr/include/glib-2.0/gobject/gsignal.h" 2
9425
typedef struct _GSignalQuery GSignalQuery;
9426
typedef struct _GSignalInvocationHint GSignalInvocationHint;
9427
# 45 "/usr/include/glib-2.0/gobject/gsignal.h"
9428
typedef GClosureMarshal GSignalCMarshaller;
9429
# 64 "/usr/include/glib-2.0/gobject/gsignal.h"
9430
typedef gboolean (*GSignalEmissionHook) (GSignalInvocationHint *ihint,
9431
guint n_param_values,
9432
const GValue *param_values,
9434
# 87 "/usr/include/glib-2.0/gobject/gsignal.h"
9435
typedef gboolean (*GSignalAccumulator) (GSignalInvocationHint *ihint,
9436
GValue *return_accu,
9437
const GValue *handler_return,
9439
# 116 "/usr/include/glib-2.0/gobject/gsignal.h"
9442
G_SIGNAL_RUN_FIRST = 1 << 0,
9443
G_SIGNAL_RUN_LAST = 1 << 1,
9444
G_SIGNAL_RUN_CLEANUP = 1 << 2,
9445
G_SIGNAL_NO_RECURSE = 1 << 3,
9446
G_SIGNAL_DETAILED = 1 << 4,
9447
G_SIGNAL_ACTION = 1 << 5,
9448
G_SIGNAL_NO_HOOKS = 1 << 6
9450
# 142 "/usr/include/glib-2.0/gobject/gsignal.h"
9453
G_CONNECT_AFTER = 1 << 0,
9454
G_CONNECT_SWAPPED = 1 << 1
9456
# 160 "/usr/include/glib-2.0/gobject/gsignal.h"
9459
G_SIGNAL_MATCH_ID = 1 << 0,
9460
G_SIGNAL_MATCH_DETAIL = 1 << 1,
9461
G_SIGNAL_MATCH_CLOSURE = 1 << 2,
9462
G_SIGNAL_MATCH_FUNC = 1 << 3,
9463
G_SIGNAL_MATCH_DATA = 1 << 4,
9464
G_SIGNAL_MATCH_UNBLOCKED = 1 << 5
9466
# 211 "/usr/include/glib-2.0/gobject/gsignal.h"
9467
struct _GSignalInvocationHint
9471
GSignalFlags run_type;
9473
# 237 "/usr/include/glib-2.0/gobject/gsignal.h"
9474
struct _GSignalQuery
9477
const gchar *signal_name;
9479
GSignalFlags signal_flags;
9482
const GType *param_types;
9487
guint g_signal_newv (const gchar *signal_name,
9489
GSignalFlags signal_flags,
9490
GClosure *class_closure,
9491
GSignalAccumulator accumulator,
9493
GSignalCMarshaller c_marshaller,
9496
GType *param_types);
9497
guint g_signal_new_valist (const gchar *signal_name,
9499
GSignalFlags signal_flags,
9500
GClosure *class_closure,
9501
GSignalAccumulator accumulator,
9503
GSignalCMarshaller c_marshaller,
9507
guint g_signal_new (const gchar *signal_name,
9509
GSignalFlags signal_flags,
9511
GSignalAccumulator accumulator,
9513
GSignalCMarshaller c_marshaller,
9517
guint g_signal_new_class_handler (const gchar *signal_name,
9519
GSignalFlags signal_flags,
9520
GCallback class_handler,
9521
GSignalAccumulator accumulator,
9523
GSignalCMarshaller c_marshaller,
9528
void g_signal_emitv (const GValue *instance_and_params,
9531
GValue *return_value);
9532
void g_signal_emit_valist (gpointer instance,
9536
void g_signal_emit (gpointer instance,
9540
void g_signal_emit_by_name (gpointer instance,
9541
const gchar *detailed_signal,
9543
guint g_signal_lookup (const gchar *name,
9545
const gchar* g_signal_name (guint signal_id);
9546
void g_signal_query (guint signal_id,
9547
GSignalQuery *query);
9548
guint* g_signal_list_ids (GType itype,
9550
gboolean g_signal_parse_name (const gchar *detailed_signal,
9554
gboolean force_detail_quark);
9555
GSignalInvocationHint* g_signal_get_invocation_hint (gpointer instance);
9559
void g_signal_stop_emission (gpointer instance,
9562
void g_signal_stop_emission_by_name (gpointer instance,
9563
const gchar *detailed_signal);
9564
gulong g_signal_add_emission_hook (guint signal_id,
9566
GSignalEmissionHook hook_func,
9568
GDestroyNotify data_destroy);
9569
void g_signal_remove_emission_hook (guint signal_id,
9574
gboolean g_signal_has_handler_pending (gpointer instance,
9577
gboolean may_be_blocked);
9578
gulong g_signal_connect_closure_by_id (gpointer instance,
9583
gulong g_signal_connect_closure (gpointer instance,
9584
const gchar *detailed_signal,
9587
gulong g_signal_connect_data (gpointer instance,
9588
const gchar *detailed_signal,
9589
GCallback c_handler,
9591
GClosureNotify destroy_data,
9592
GConnectFlags connect_flags);
9593
void g_signal_handler_block (gpointer instance,
9595
void g_signal_handler_unblock (gpointer instance,
9597
void g_signal_handler_disconnect (gpointer instance,
9599
gboolean g_signal_handler_is_connected (gpointer instance,
9601
gulong g_signal_handler_find (gpointer instance,
9602
GSignalMatchType mask,
9608
guint g_signal_handlers_block_matched (gpointer instance,
9609
GSignalMatchType mask,
9615
guint g_signal_handlers_unblock_matched (gpointer instance,
9616
GSignalMatchType mask,
9622
guint g_signal_handlers_disconnect_matched (gpointer instance,
9623
GSignalMatchType mask,
9632
void g_signal_override_class_closure (guint signal_id,
9633
GType instance_type,
9634
GClosure *class_closure);
9635
void g_signal_override_class_handler (const gchar *signal_name,
9636
GType instance_type,
9637
GCallback class_handler);
9638
void g_signal_chain_from_overridden (const GValue *instance_and_params,
9639
GValue *return_value);
9640
void g_signal_chain_from_overridden_handler (gpointer instance,
9642
# 498 "/usr/include/glib-2.0/gobject/gsignal.h"
9643
gboolean g_signal_accumulator_true_handled (GSignalInvocationHint *ihint,
9644
GValue *return_accu,
9645
const GValue *handler_return,
9648
gboolean g_signal_accumulator_first_wins (GSignalInvocationHint *ihint,
9649
GValue *return_accu,
9650
const GValue *handler_return,
9654
void g_signal_handlers_destroy (gpointer instance);
9655
void _g_signals_destroy (GType itype);
9658
# 31 "/usr/include/glib-2.0/gobject/gobject.h" 2
9661
# 184 "/usr/include/glib-2.0/gobject/gobject.h"
9662
typedef struct _GObject GObject;
9663
typedef struct _GObjectClass GObjectClass;
9664
typedef struct _GObject GInitiallyUnowned;
9665
typedef struct _GObjectClass GInitiallyUnownedClass;
9666
typedef struct _GObjectConstructParam GObjectConstructParam;
9667
# 199 "/usr/include/glib-2.0/gobject/gobject.h"
9668
typedef void (*GObjectGetPropertyFunc) (GObject *object,
9672
# 213 "/usr/include/glib-2.0/gobject/gobject.h"
9673
typedef void (*GObjectSetPropertyFunc) (GObject *object,
9675
const GValue *value,
9683
typedef void (*GObjectFinalizeFunc) (GObject *object);
9684
# 234 "/usr/include/glib-2.0/gobject/gobject.h"
9685
typedef void (*GWeakNotify) (gpointer data,
9686
GObject *where_the_object_was);
9695
GTypeInstance g_type_instance;
9698
volatile guint ref_count;
9701
# 312 "/usr/include/glib-2.0/gobject/gobject.h"
9702
struct _GObjectClass
9704
GTypeClass g_type_class;
9707
GSList *construct_properties;
9711
GObject* (*constructor) (GType type,
9712
guint n_construct_properties,
9713
GObjectConstructParam *construct_properties);
9715
void (*set_property) (GObject *object,
9717
const GValue *value,
9719
void (*get_property) (GObject *object,
9723
void (*dispose) (GObject *object);
9724
void (*finalize) (GObject *object);
9726
void (*dispatch_properties_changed) (GObject *object,
9728
GParamSpec **pspecs);
9730
void (*notify) (GObject *object,
9734
void (*constructed) (GObject *object);
9742
# 361 "/usr/include/glib-2.0/gobject/gobject.h"
9743
struct _GObjectConstructParam
9748
# 382 "/usr/include/glib-2.0/gobject/gobject.h"
9749
GType g_initially_unowned_get_type (void);
9750
void g_object_class_install_property (GObjectClass *oclass,
9753
GParamSpec* g_object_class_find_property (GObjectClass *oclass,
9754
const gchar *property_name);
9755
GParamSpec**g_object_class_list_properties (GObjectClass *oclass,
9756
guint *n_properties);
9757
void g_object_class_override_property (GObjectClass *oclass,
9760
void g_object_class_install_properties (GObjectClass *oclass,
9762
GParamSpec **pspecs);
9764
void g_object_interface_install_property (gpointer g_iface,
9766
GParamSpec* g_object_interface_find_property (gpointer g_iface,
9767
const gchar *property_name);
9768
GParamSpec**g_object_interface_list_properties (gpointer g_iface,
9769
guint *n_properties_p);
9771
GType g_object_get_type (void) __attribute__((__const__));
9772
gpointer g_object_new (GType object_type,
9773
const gchar *first_property_name,
9775
gpointer g_object_newv (GType object_type,
9777
GParameter *parameters);
9778
GObject* g_object_new_valist (GType object_type,
9779
const gchar *first_property_name,
9781
void g_object_set (gpointer object,
9782
const gchar *first_property_name,
9783
...) __attribute__((__sentinel__));
9784
void g_object_get (gpointer object,
9785
const gchar *first_property_name,
9786
...) __attribute__((__sentinel__));
9787
gpointer g_object_connect (gpointer object,
9788
const gchar *signal_spec,
9789
...) __attribute__((__sentinel__));
9790
void g_object_disconnect (gpointer object,
9791
const gchar *signal_spec,
9792
...) __attribute__((__sentinel__));
9793
void g_object_set_valist (GObject *object,
9794
const gchar *first_property_name,
9796
void g_object_get_valist (GObject *object,
9797
const gchar *first_property_name,
9799
void g_object_set_property (GObject *object,
9800
const gchar *property_name,
9801
const GValue *value);
9802
void g_object_get_property (GObject *object,
9803
const gchar *property_name,
9805
void g_object_freeze_notify (GObject *object);
9806
void g_object_notify (GObject *object,
9807
const gchar *property_name);
9808
void g_object_notify_by_pspec (GObject *object,
9810
void g_object_thaw_notify (GObject *object);
9811
gboolean g_object_is_floating (gpointer object);
9812
gpointer g_object_ref_sink (gpointer object);
9813
gpointer g_object_ref (gpointer object);
9814
void g_object_unref (gpointer object);
9815
void g_object_weak_ref (GObject *object,
9818
void g_object_weak_unref (GObject *object,
9821
void g_object_add_weak_pointer (GObject *object,
9822
gpointer *weak_pointer_location);
9823
void g_object_remove_weak_pointer (GObject *object,
9824
gpointer *weak_pointer_location);
9825
# 471 "/usr/include/glib-2.0/gobject/gobject.h"
9826
typedef void (*GToggleNotify) (gpointer data,
9828
gboolean is_last_ref);
9830
void g_object_add_toggle_ref (GObject *object,
9831
GToggleNotify notify,
9833
void g_object_remove_toggle_ref (GObject *object,
9834
GToggleNotify notify,
9837
gpointer g_object_get_qdata (GObject *object,
9839
void g_object_set_qdata (GObject *object,
9842
void g_object_set_qdata_full (GObject *object,
9845
GDestroyNotify destroy);
9846
gpointer g_object_steal_qdata (GObject *object,
9848
gpointer g_object_get_data (GObject *object,
9850
void g_object_set_data (GObject *object,
9853
void g_object_set_data_full (GObject *object,
9856
GDestroyNotify destroy);
9857
gpointer g_object_steal_data (GObject *object,
9859
void g_object_watch_closure (GObject *object,
9861
GClosure* g_cclosure_new_object (GCallback callback_func,
9863
GClosure* g_cclosure_new_object_swap (GCallback callback_func,
9865
GClosure* g_closure_new_object (guint sizeof_closure,
9867
void g_value_set_object (GValue *value,
9869
gpointer g_value_get_object (const GValue *value);
9870
gpointer g_value_dup_object (const GValue *value);
9871
gulong g_signal_connect_object (gpointer instance,
9872
const gchar *detailed_signal,
9873
GCallback c_handler,
9875
GConnectFlags connect_flags);
9878
void g_object_force_floating (GObject *object);
9879
void g_object_run_dispose (GObject *object);
9882
void g_value_take_object (GValue *value,
9885
void g_value_set_object_take_ownership (GValue *value,
9890
gsize g_object_compat_control (gsize what,
9892
# 565 "/usr/include/glib-2.0/gobject/gobject.h"
9893
void g_clear_object (volatile GObject **object_ptr);
9894
# 580 "/usr/include/glib-2.0/gobject/gobject.h"
9896
# 32 "/usr/include/glib-2.0/gobject/gbinding.h" 2
9899
# 49 "/usr/include/glib-2.0/gobject/gbinding.h"
9900
typedef struct _GBinding GBinding;
9901
# 67 "/usr/include/glib-2.0/gobject/gbinding.h"
9902
typedef gboolean (* GBindingTransformFunc) (GBinding *binding,
9903
const GValue *source_value,
9904
GValue *target_value,
9905
gpointer user_data);
9906
# 95 "/usr/include/glib-2.0/gobject/gbinding.h"
9908
G_BINDING_DEFAULT = 0,
9910
G_BINDING_BIDIRECTIONAL = 1 << 0,
9911
G_BINDING_SYNC_CREATE = 1 << 1,
9912
G_BINDING_INVERT_BOOLEAN = 1 << 2
9915
GType g_binding_flags_get_type (void) __attribute__((__const__));
9916
GType g_binding_get_type (void) __attribute__((__const__));
9918
GBindingFlags g_binding_get_flags (GBinding *binding);
9919
GObject * g_binding_get_source (GBinding *binding);
9920
GObject * g_binding_get_target (GBinding *binding);
9921
const gchar *g_binding_get_source_property (GBinding *binding);
9922
const gchar *g_binding_get_target_property (GBinding *binding);
9924
GBinding *g_object_bind_property (gpointer source,
9925
const gchar *source_property,
9927
const gchar *target_property,
9928
GBindingFlags flags);
9929
GBinding *g_object_bind_property_full (gpointer source,
9930
const gchar *source_property,
9932
const gchar *target_property,
9933
GBindingFlags flags,
9934
GBindingTransformFunc transform_to,
9935
GBindingTransformFunc transform_from,
9937
GDestroyNotify notify);
9938
GBinding *g_object_bind_property_with_closures (gpointer source,
9939
const gchar *source_property,
9941
const gchar *target_property,
9942
GBindingFlags flags,
9943
GClosure *transform_to,
9944
GClosure *transform_from);
9947
# 26 "/usr/include/glib-2.0/glib-object.h" 2
9948
# 1 "/usr/include/glib-2.0/gobject/gboxed.h" 1
9949
# 26 "/usr/include/glib-2.0/gobject/gboxed.h"
9950
# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
9951
# 27 "/usr/include/glib-2.0/gobject/gboxed.h" 2
9954
# 53 "/usr/include/glib-2.0/gobject/gboxed.h"
9955
typedef gpointer (*GBoxedCopyFunc) (gpointer boxed);
9956
# 62 "/usr/include/glib-2.0/gobject/gboxed.h"
9957
typedef void (*GBoxedFreeFunc) (gpointer boxed);
9961
gpointer g_boxed_copy (GType boxed_type,
9962
gconstpointer src_boxed);
9963
void g_boxed_free (GType boxed_type,
9965
void g_value_set_boxed (GValue *value,
9966
gconstpointer v_boxed);
9967
void g_value_set_static_boxed (GValue *value,
9968
gconstpointer v_boxed);
9969
gpointer g_value_get_boxed (const GValue *value);
9970
gpointer g_value_dup_boxed (const GValue *value);
9974
GType g_boxed_type_register_static (const gchar *name,
9975
GBoxedCopyFunc boxed_copy,
9976
GBoxedFreeFunc boxed_free);
9977
# 214 "/usr/include/glib-2.0/gobject/gboxed.h"
9978
void g_value_take_boxed (GValue *value,
9979
gconstpointer v_boxed);
9981
void g_value_set_boxed_take_ownership (GValue *value,
9982
gconstpointer v_boxed);
9984
GType g_closure_get_type (void) __attribute__((__const__));
9985
GType g_value_get_type (void) __attribute__((__const__));
9986
GType g_value_array_get_type (void) __attribute__((__const__));
9987
GType g_date_get_type (void) __attribute__((__const__));
9988
GType g_strv_get_type (void) __attribute__((__const__));
9989
GType g_gstring_get_type (void) __attribute__((__const__));
9990
GType g_hash_table_get_type (void) __attribute__((__const__));
9991
GType g_array_get_type (void) __attribute__((__const__));
9992
GType g_byte_array_get_type (void) __attribute__((__const__));
9993
GType g_ptr_array_get_type (void) __attribute__((__const__));
9994
GType g_variant_type_get_gtype(void) __attribute__((__const__));
9995
GType g_regex_get_type (void) __attribute__((__const__));
9996
GType g_error_get_type (void) __attribute__((__const__));
9997
GType g_date_time_get_type (void) __attribute__((__const__));
10000
GType g_variant_get_gtype (void) __attribute__((__const__));
10008
typedef gchar** GStrv;
10011
# 27 "/usr/include/glib-2.0/glib-object.h" 2
10012
# 1 "/usr/include/glib-2.0/gobject/genums.h" 1
10013
# 26 "/usr/include/glib-2.0/gobject/genums.h"
10014
# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
10015
# 27 "/usr/include/glib-2.0/gobject/genums.h" 2
10018
# 140 "/usr/include/glib-2.0/gobject/genums.h"
10019
typedef struct _GEnumClass GEnumClass;
10020
typedef struct _GFlagsClass GFlagsClass;
10021
typedef struct _GEnumValue GEnumValue;
10022
typedef struct _GFlagsValue GFlagsValue;
10023
# 157 "/usr/include/glib-2.0/gobject/genums.h"
10026
GTypeClass g_type_class;
10032
GEnumValue *values;
10034
# 178 "/usr/include/glib-2.0/gobject/genums.h"
10035
struct _GFlagsClass
10037
GTypeClass g_type_class;
10042
GFlagsValue *values;
10044
# 196 "/usr/include/glib-2.0/gobject/genums.h"
10048
const gchar *value_name;
10049
const gchar *value_nick;
10051
# 211 "/usr/include/glib-2.0/gobject/genums.h"
10052
struct _GFlagsValue
10055
const gchar *value_name;
10056
const gchar *value_nick;
10061
GEnumValue* g_enum_get_value (GEnumClass *enum_class,
10063
GEnumValue* g_enum_get_value_by_name (GEnumClass *enum_class,
10064
const gchar *name);
10065
GEnumValue* g_enum_get_value_by_nick (GEnumClass *enum_class,
10066
const gchar *nick);
10067
GFlagsValue* g_flags_get_first_value (GFlagsClass *flags_class,
10069
GFlagsValue* g_flags_get_value_by_name (GFlagsClass *flags_class,
10070
const gchar *name);
10071
GFlagsValue* g_flags_get_value_by_nick (GFlagsClass *flags_class,
10072
const gchar *nick);
10073
void g_value_set_enum (GValue *value,
10075
gint g_value_get_enum (const GValue *value);
10076
void g_value_set_flags (GValue *value,
10078
guint g_value_get_flags (const GValue *value);
10086
GType g_enum_register_static (const gchar *name,
10087
const GEnumValue *const_static_values);
10088
GType g_flags_register_static (const gchar *name,
10089
const GFlagsValue *const_static_values);
10093
void g_enum_complete_type_info (GType g_enum_type,
10095
const GEnumValue *const_values);
10096
void g_flags_complete_type_info (GType g_flags_type,
10098
const GFlagsValue *const_values);
10101
# 28 "/usr/include/glib-2.0/glib-object.h" 2
10102
# 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
10103
# 29 "/usr/include/glib-2.0/glib-object.h" 2
10104
# 1 "/usr/include/glib-2.0/gobject/gparam.h" 1
10105
# 30 "/usr/include/glib-2.0/glib-object.h" 2
10106
# 1 "/usr/include/glib-2.0/gobject/gparamspecs.h" 1
10107
# 28 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10108
# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
10109
# 29 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
10110
# 1 "/usr/include/glib-2.0/gobject/genums.h" 1
10111
# 30 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
10112
# 1 "/usr/include/glib-2.0/gobject/gboxed.h" 1
10113
# 31 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
10114
# 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
10115
# 32 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
10118
# 582 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10119
typedef struct _GParamSpecChar GParamSpecChar;
10120
typedef struct _GParamSpecUChar GParamSpecUChar;
10121
typedef struct _GParamSpecBoolean GParamSpecBoolean;
10122
typedef struct _GParamSpecInt GParamSpecInt;
10123
typedef struct _GParamSpecUInt GParamSpecUInt;
10124
typedef struct _GParamSpecLong GParamSpecLong;
10125
typedef struct _GParamSpecULong GParamSpecULong;
10126
typedef struct _GParamSpecInt64 GParamSpecInt64;
10127
typedef struct _GParamSpecUInt64 GParamSpecUInt64;
10128
typedef struct _GParamSpecUnichar GParamSpecUnichar;
10129
typedef struct _GParamSpecEnum GParamSpecEnum;
10130
typedef struct _GParamSpecFlags GParamSpecFlags;
10131
typedef struct _GParamSpecFloat GParamSpecFloat;
10132
typedef struct _GParamSpecDouble GParamSpecDouble;
10133
typedef struct _GParamSpecString GParamSpecString;
10134
typedef struct _GParamSpecParam GParamSpecParam;
10135
typedef struct _GParamSpecBoxed GParamSpecBoxed;
10136
typedef struct _GParamSpecPointer GParamSpecPointer;
10137
typedef struct _GParamSpecValueArray GParamSpecValueArray;
10138
typedef struct _GParamSpecObject GParamSpecObject;
10139
typedef struct _GParamSpecOverride GParamSpecOverride;
10140
typedef struct _GParamSpecGType GParamSpecGType;
10141
typedef struct _GParamSpecVariant GParamSpecVariant;
10142
# 615 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10143
struct _GParamSpecChar
10145
GParamSpec parent_instance;
10149
gint8 default_value;
10151
# 632 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10152
struct _GParamSpecUChar
10154
GParamSpec parent_instance;
10158
guint8 default_value;
10167
struct _GParamSpecBoolean
10169
GParamSpec parent_instance;
10171
gboolean default_value;
10173
# 662 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10174
struct _GParamSpecInt
10176
GParamSpec parent_instance;
10180
gint default_value;
10182
# 679 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10183
struct _GParamSpecUInt
10185
GParamSpec parent_instance;
10189
guint default_value;
10191
# 696 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10192
struct _GParamSpecLong
10194
GParamSpec parent_instance;
10198
glong default_value;
10200
# 713 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10201
struct _GParamSpecULong
10203
GParamSpec parent_instance;
10207
gulong default_value;
10209
# 730 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10210
struct _GParamSpecInt64
10212
GParamSpec parent_instance;
10216
gint64 default_value;
10218
# 747 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10219
struct _GParamSpecUInt64
10221
GParamSpec parent_instance;
10225
guint64 default_value;
10234
struct _GParamSpecUnichar
10236
GParamSpec parent_instance;
10238
gunichar default_value;
10240
# 777 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10241
struct _GParamSpecEnum
10243
GParamSpec parent_instance;
10245
GEnumClass *enum_class;
10246
gint default_value;
10248
# 793 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10249
struct _GParamSpecFlags
10251
GParamSpec parent_instance;
10253
GFlagsClass *flags_class;
10254
guint default_value;
10256
# 811 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10257
struct _GParamSpecFloat
10259
GParamSpec parent_instance;
10263
gfloat default_value;
10266
# 831 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10267
struct _GParamSpecDouble
10269
GParamSpec parent_instance;
10273
gdouble default_value;
10276
# 853 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10277
struct _GParamSpecString
10279
GParamSpec parent_instance;
10281
gchar *default_value;
10285
guint null_fold_if_empty : 1;
10286
guint ensure_non_null : 1;
10295
struct _GParamSpecParam
10297
GParamSpec parent_instance;
10305
struct _GParamSpecBoxed
10307
GParamSpec parent_instance;
10315
struct _GParamSpecPointer
10317
GParamSpec parent_instance;
10319
# 903 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10320
struct _GParamSpecValueArray
10322
GParamSpec parent_instance;
10323
GParamSpec *element_spec;
10324
guint fixed_n_elements;
10332
struct _GParamSpecObject
10334
GParamSpec parent_instance;
10336
# 933 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10337
struct _GParamSpecOverride
10340
GParamSpec parent_instance;
10341
GParamSpec *overridden;
10343
# 948 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10344
struct _GParamSpecGType
10346
GParamSpec parent_instance;
10349
# 963 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10350
struct _GParamSpecVariant
10352
GParamSpec parent_instance;
10353
GVariantType *type;
10354
GVariant *default_value;
10357
gpointer padding[4];
10361
GParamSpec* g_param_spec_char (const gchar *name,
10363
const gchar *blurb,
10366
gint8 default_value,
10367
GParamFlags flags);
10368
GParamSpec* g_param_spec_uchar (const gchar *name,
10370
const gchar *blurb,
10373
guint8 default_value,
10374
GParamFlags flags);
10375
GParamSpec* g_param_spec_boolean (const gchar *name,
10377
const gchar *blurb,
10378
gboolean default_value,
10379
GParamFlags flags);
10380
GParamSpec* g_param_spec_int (const gchar *name,
10382
const gchar *blurb,
10385
gint default_value,
10386
GParamFlags flags);
10387
GParamSpec* g_param_spec_uint (const gchar *name,
10389
const gchar *blurb,
10392
guint default_value,
10393
GParamFlags flags);
10394
GParamSpec* g_param_spec_long (const gchar *name,
10396
const gchar *blurb,
10399
glong default_value,
10400
GParamFlags flags);
10401
GParamSpec* g_param_spec_ulong (const gchar *name,
10403
const gchar *blurb,
10406
gulong default_value,
10407
GParamFlags flags);
10408
GParamSpec* g_param_spec_int64 (const gchar *name,
10410
const gchar *blurb,
10413
gint64 default_value,
10414
GParamFlags flags);
10415
GParamSpec* g_param_spec_uint64 (const gchar *name,
10417
const gchar *blurb,
10420
guint64 default_value,
10421
GParamFlags flags);
10422
GParamSpec* g_param_spec_unichar (const gchar *name,
10424
const gchar *blurb,
10425
gunichar default_value,
10426
GParamFlags flags);
10427
GParamSpec* g_param_spec_enum (const gchar *name,
10429
const gchar *blurb,
10431
gint default_value,
10432
GParamFlags flags);
10433
GParamSpec* g_param_spec_flags (const gchar *name,
10435
const gchar *blurb,
10437
guint default_value,
10438
GParamFlags flags);
10439
GParamSpec* g_param_spec_float (const gchar *name,
10441
const gchar *blurb,
10444
gfloat default_value,
10445
GParamFlags flags);
10446
GParamSpec* g_param_spec_double (const gchar *name,
10448
const gchar *blurb,
10451
gdouble default_value,
10452
GParamFlags flags);
10453
GParamSpec* g_param_spec_string (const gchar *name,
10455
const gchar *blurb,
10456
const gchar *default_value,
10457
GParamFlags flags);
10458
GParamSpec* g_param_spec_param (const gchar *name,
10460
const gchar *blurb,
10462
GParamFlags flags);
10463
GParamSpec* g_param_spec_boxed (const gchar *name,
10465
const gchar *blurb,
10467
GParamFlags flags);
10468
GParamSpec* g_param_spec_pointer (const gchar *name,
10470
const gchar *blurb,
10471
GParamFlags flags);
10472
GParamSpec* g_param_spec_value_array (const gchar *name,
10474
const gchar *blurb,
10475
GParamSpec *element_spec,
10476
GParamFlags flags);
10477
GParamSpec* g_param_spec_object (const gchar *name,
10479
const gchar *blurb,
10481
GParamFlags flags);
10482
GParamSpec* g_param_spec_override (const gchar *name,
10483
GParamSpec *overridden);
10484
GParamSpec* g_param_spec_gtype (const gchar *name,
10486
const gchar *blurb,
10488
GParamFlags flags);
10489
GParamSpec* g_param_spec_variant (const gchar *name,
10491
const gchar *blurb,
10492
const GVariantType *type,
10493
GVariant *default_value,
10494
GParamFlags flags);
10495
# 1133 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10496
extern GType *g_param_spec_types;
10499
# 31 "/usr/include/glib-2.0/glib-object.h" 2
10500
# 1 "/usr/include/glib-2.0/gobject/gsignal.h" 1
10501
# 32 "/usr/include/glib-2.0/glib-object.h" 2
10502
# 1 "/usr/include/glib-2.0/gobject/gsourceclosure.h" 1
10503
# 26 "/usr/include/glib-2.0/gobject/gsourceclosure.h"
10504
# 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1
10505
# 27 "/usr/include/glib-2.0/gobject/gsourceclosure.h" 2
10509
void g_source_set_closure (GSource *source,
10510
GClosure *closure);
10512
void g_source_set_dummy_callback (GSource *source);
10514
GType g_io_channel_get_type (void);
10515
GType g_io_condition_get_type (void);
10516
# 51 "/usr/include/glib-2.0/gobject/gsourceclosure.h"
10518
# 33 "/usr/include/glib-2.0/glib-object.h" 2
10519
# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
10520
# 34 "/usr/include/glib-2.0/glib-object.h" 2
10521
# 1 "/usr/include/glib-2.0/gobject/gtypemodule.h" 1
10522
# 26 "/usr/include/glib-2.0/gobject/gtypemodule.h"
10523
# 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
10524
# 27 "/usr/include/glib-2.0/gobject/gtypemodule.h" 2
10525
# 1 "/usr/include/glib-2.0/gobject/genums.h" 1
10526
# 28 "/usr/include/glib-2.0/gobject/gtypemodule.h" 2
10530
typedef struct _GTypeModule GTypeModule;
10531
typedef struct _GTypeModuleClass GTypeModuleClass;
10532
# 48 "/usr/include/glib-2.0/gobject/gtypemodule.h"
10533
struct _GTypeModule
10535
GObject parent_instance;
10538
GSList *type_infos;
10539
GSList *interface_infos;
10544
# 70 "/usr/include/glib-2.0/gobject/gtypemodule.h"
10545
struct _GTypeModuleClass
10547
GObjectClass parent_class;
10550
gboolean (* load) (GTypeModule *module);
10551
void (* unload) (GTypeModule *module);
10555
void (*reserved1) (void);
10556
void (*reserved2) (void);
10557
void (*reserved3) (void);
10558
void (*reserved4) (void);
10560
# 240 "/usr/include/glib-2.0/gobject/gtypemodule.h"
10561
GType g_type_module_get_type (void) __attribute__((__const__));
10562
gboolean g_type_module_use (GTypeModule *module);
10563
void g_type_module_unuse (GTypeModule *module);
10564
void g_type_module_set_name (GTypeModule *module,
10565
const gchar *name);
10566
GType g_type_module_register_type (GTypeModule *module,
10568
const gchar *type_name,
10569
const GTypeInfo *type_info,
10571
void g_type_module_add_interface (GTypeModule *module,
10572
GType instance_type,
10573
GType interface_type,
10574
const GInterfaceInfo *interface_info);
10575
GType g_type_module_register_enum (GTypeModule *module,
10577
const GEnumValue *const_static_values);
10578
GType g_type_module_register_flags (GTypeModule *module,
10580
const GFlagsValue *const_static_values);
10583
# 35 "/usr/include/glib-2.0/glib-object.h" 2
10584
# 1 "/usr/include/glib-2.0/gobject/gtypeplugin.h" 1
10585
# 26 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
10586
# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
10587
# 27 "/usr/include/glib-2.0/gobject/gtypeplugin.h" 2
10590
# 40 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
10591
typedef struct _GTypePluginClass GTypePluginClass;
10599
typedef void (*GTypePluginUse) (GTypePlugin *plugin);
10606
typedef void (*GTypePluginUnuse) (GTypePlugin *plugin);
10607
# 65 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
10608
typedef void (*GTypePluginCompleteTypeInfo) (GTypePlugin *plugin,
10611
GTypeValueTable *value_table);
10612
# 79 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
10613
typedef void (*GTypePluginCompleteInterfaceInfo) (GTypePlugin *plugin,
10614
GType instance_type,
10615
GType interface_type,
10616
GInterfaceInfo *info);
10617
# 106 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
10618
struct _GTypePluginClass
10621
GTypeInterface base_iface;
10624
GTypePluginUse use_plugin;
10625
GTypePluginUnuse unuse_plugin;
10626
GTypePluginCompleteTypeInfo complete_type_info;
10627
GTypePluginCompleteInterfaceInfo complete_interface_info;
10632
GType g_type_plugin_get_type (void) __attribute__((__const__));
10633
void g_type_plugin_use (GTypePlugin *plugin);
10634
void g_type_plugin_unuse (GTypePlugin *plugin);
10635
void g_type_plugin_complete_type_info (GTypePlugin *plugin,
10638
GTypeValueTable *value_table);
10639
void g_type_plugin_complete_interface_info (GTypePlugin *plugin,
10640
GType instance_type,
10641
GType interface_type,
10642
GInterfaceInfo *info);
10645
# 36 "/usr/include/glib-2.0/glib-object.h" 2
10646
# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
10647
# 37 "/usr/include/glib-2.0/glib-object.h" 2
10648
# 1 "/usr/include/glib-2.0/gobject/gvaluearray.h" 1
10649
# 28 "/usr/include/glib-2.0/gobject/gvaluearray.h"
10650
# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
10651
# 29 "/usr/include/glib-2.0/gobject/gvaluearray.h" 2
10658
typedef struct _GValueArray GValueArray;
10666
struct _GValueArray
10672
guint n_prealloced;
10677
GValue* g_value_array_get_nth (GValueArray *value_array,
10679
GValueArray* g_value_array_new (guint n_prealloced);
10680
void g_value_array_free (GValueArray *value_array);
10681
GValueArray* g_value_array_copy (const GValueArray *value_array);
10682
GValueArray* g_value_array_prepend (GValueArray *value_array,
10683
const GValue *value);
10684
GValueArray* g_value_array_append (GValueArray *value_array,
10685
const GValue *value);
10686
GValueArray* g_value_array_insert (GValueArray *value_array,
10688
const GValue *value);
10689
GValueArray* g_value_array_remove (GValueArray *value_array,
10691
GValueArray* g_value_array_sort (GValueArray *value_array,
10692
GCompareFunc compare_func);
10693
GValueArray* g_value_array_sort_with_data (GValueArray *value_array,
10694
GCompareDataFunc compare_func,
10695
gpointer user_data);
10699
# 38 "/usr/include/glib-2.0/glib-object.h" 2
10700
# 1 "/usr/include/glib-2.0/gobject/gvaluetypes.h" 1
10701
# 28 "/usr/include/glib-2.0/gobject/gvaluetypes.h"
10702
# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
10703
# 29 "/usr/include/glib-2.0/gobject/gvaluetypes.h" 2
10706
# 180 "/usr/include/glib-2.0/gobject/gvaluetypes.h"
10707
void g_value_set_char (GValue *value,
10709
gchar g_value_get_char (const GValue *value);
10710
void g_value_set_uchar (GValue *value,
10712
guchar g_value_get_uchar (const GValue *value);
10713
void g_value_set_boolean (GValue *value,
10714
gboolean v_boolean);
10715
gboolean g_value_get_boolean (const GValue *value);
10716
void g_value_set_int (GValue *value,
10718
gint g_value_get_int (const GValue *value);
10719
void g_value_set_uint (GValue *value,
10721
guint g_value_get_uint (const GValue *value);
10722
void g_value_set_long (GValue *value,
10724
glong g_value_get_long (const GValue *value);
10725
void g_value_set_ulong (GValue *value,
10727
gulong g_value_get_ulong (const GValue *value);
10728
void g_value_set_int64 (GValue *value,
10730
gint64 g_value_get_int64 (const GValue *value);
10731
void g_value_set_uint64 (GValue *value,
10733
guint64 g_value_get_uint64 (const GValue *value);
10734
void g_value_set_float (GValue *value,
10736
gfloat g_value_get_float (const GValue *value);
10737
void g_value_set_double (GValue *value,
10739
gdouble g_value_get_double (const GValue *value);
10740
void g_value_set_string (GValue *value,
10741
const gchar *v_string);
10742
void g_value_set_static_string (GValue *value,
10743
const gchar *v_string);
10744
const gchar* g_value_get_string (const GValue *value);
10745
gchar* g_value_dup_string (const GValue *value);
10746
void g_value_set_pointer (GValue *value,
10747
gpointer v_pointer);
10748
gpointer g_value_get_pointer (const GValue *value);
10749
GType g_gtype_get_type (void);
10750
void g_value_set_gtype (GValue *value,
10752
GType g_value_get_gtype (const GValue *value);
10753
void g_value_set_variant (GValue *value,
10754
GVariant *variant);
10755
void g_value_take_variant (GValue *value,
10756
GVariant *variant);
10757
GVariant* g_value_get_variant (const GValue *value);
10758
GVariant* g_value_dup_variant (const GValue *value);
10762
GType g_pointer_type_register_static (const gchar *name);
10765
gchar* g_strdup_value_contents (const GValue *value);
10768
void g_value_take_string (GValue *value,
10771
void g_value_set_string_take_ownership (GValue *value,
10773
# 255 "/usr/include/glib-2.0/gobject/gvaluetypes.h"
10774
typedef gchar* gchararray;
10778
# 39 "/usr/include/glib-2.0/glib-object.h" 2
10779
# 35 "../../../testing/testing.h" 2
10780
# 1 "/usr/include/glib-2.0/glib/gstdio.h" 1
10781
# 24 "/usr/include/glib-2.0/glib/gstdio.h"
10782
# 1 "/usr/include/glib-2.0/glib/gprintf.h" 1
10783
# 24 "/usr/include/glib-2.0/glib/gprintf.h"
10784
# 1 "/usr/include/stdio.h" 1 3 4
10785
# 30 "/usr/include/stdio.h" 3 4
10790
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
10791
# 35 "/usr/include/stdio.h" 2 3 4
10792
# 45 "/usr/include/stdio.h" 3 4
10797
typedef struct _IO_FILE FILE;
10803
# 65 "/usr/include/stdio.h" 3 4
10804
typedef struct _IO_FILE __FILE;
10805
# 75 "/usr/include/stdio.h" 3 4
10806
# 1 "/usr/include/libio.h" 1 3 4
10807
# 32 "/usr/include/libio.h" 3 4
10808
# 1 "/usr/include/_G_config.h" 1 3 4
10809
# 15 "/usr/include/_G_config.h" 3 4
10810
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
10811
# 16 "/usr/include/_G_config.h" 2 3 4
10816
# 1 "/usr/include/wchar.h" 1 3 4
10817
# 83 "/usr/include/wchar.h" 3 4
10824
unsigned int __wch;
10831
# 21 "/usr/include/_G_config.h" 2 3 4
10836
__mbstate_t __state;
10841
__mbstate_t __state;
10843
# 53 "/usr/include/_G_config.h" 3 4
10844
typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
10845
typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
10846
typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
10847
typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
10848
# 33 "/usr/include/libio.h" 2 3 4
10849
# 170 "/usr/include/libio.h" 3 4
10850
struct _IO_jump_t; struct _IO_FILE;
10851
# 180 "/usr/include/libio.h" 3 4
10852
typedef void _IO_lock_t;
10858
struct _IO_marker {
10859
struct _IO_marker *_next;
10860
struct _IO_FILE *_sbuf;
10865
# 203 "/usr/include/libio.h" 3 4
10869
enum __codecvt_result
10876
# 271 "/usr/include/libio.h" 3 4
10883
char* _IO_read_ptr;
10884
char* _IO_read_end;
10885
char* _IO_read_base;
10886
char* _IO_write_base;
10887
char* _IO_write_ptr;
10888
char* _IO_write_end;
10889
char* _IO_buf_base;
10892
char *_IO_save_base;
10893
char *_IO_backup_base;
10894
char *_IO_save_end;
10896
struct _IO_marker *_markers;
10898
struct _IO_FILE *_chain;
10906
__off_t _old_offset;
10910
unsigned short _cur_column;
10911
signed char _vtable_offset;
10917
# 319 "/usr/include/libio.h" 3 4
10919
# 328 "/usr/include/libio.h" 3 4
10928
char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
10933
typedef struct _IO_FILE _IO_FILE;
10936
struct _IO_FILE_plus;
10938
extern struct _IO_FILE_plus _IO_2_1_stdin_;
10939
extern struct _IO_FILE_plus _IO_2_1_stdout_;
10940
extern struct _IO_FILE_plus _IO_2_1_stderr_;
10941
# 364 "/usr/include/libio.h" 3 4
10942
typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
10950
typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
10959
typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
10962
typedef int __io_close_fn (void *__cookie);
10967
typedef __io_read_fn cookie_read_function_t;
10968
typedef __io_write_fn cookie_write_function_t;
10969
typedef __io_seek_fn cookie_seek_function_t;
10970
typedef __io_close_fn cookie_close_function_t;
10975
__io_read_fn *read;
10976
__io_write_fn *write;
10977
__io_seek_fn *seek;
10978
__io_close_fn *close;
10979
} _IO_cookie_io_functions_t;
10980
typedef _IO_cookie_io_functions_t cookie_io_functions_t;
10982
struct _IO_cookie_file;
10985
extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write,
10986
void *__cookie, _IO_cookie_io_functions_t __fns);
10994
extern int __underflow (_IO_FILE *);
10995
extern int __uflow (_IO_FILE *);
10996
extern int __overflow (_IO_FILE *, int);
10997
# 460 "/usr/include/libio.h" 3 4
10998
extern int _IO_getc (_IO_FILE *__fp);
10999
extern int _IO_putc (int __c, _IO_FILE *__fp);
11000
extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
11001
extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
11003
extern int _IO_peekc_locked (_IO_FILE *__fp);
11009
extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
11010
extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
11011
extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
11012
# 490 "/usr/include/libio.h" 3 4
11013
extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
11014
__gnuc_va_list, int *__restrict);
11015
extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
11017
extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
11018
extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
11020
extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
11021
extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
11023
extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
11024
# 76 "/usr/include/stdio.h" 2 3 4
11025
# 91 "/usr/include/stdio.h" 3 4
11026
typedef __off_t off_t;
11033
typedef __off64_t off64_t;
11038
typedef __ssize_t ssize_t;
11046
typedef _G_fpos_t fpos_t;
11052
typedef _G_fpos64_t fpos64_t;
11053
# 161 "/usr/include/stdio.h" 3 4
11054
# 1 "/usr/include/bits/stdio_lim.h" 1 3 4
11055
# 162 "/usr/include/stdio.h" 2 3 4
11059
extern struct _IO_FILE *stdin;
11060
extern struct _IO_FILE *stdout;
11061
extern struct _IO_FILE *stderr;
11069
extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
11071
extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
11076
extern int renameat (int __oldfd, __const char *__old, int __newfd,
11077
__const char *__new) __attribute__ ((__nothrow__));
11086
extern FILE *tmpfile (void) __attribute__ ((__warn_unused_result__));
11087
# 202 "/usr/include/stdio.h" 3 4
11088
extern FILE *tmpfile64 (void) __attribute__ ((__warn_unused_result__));
11092
extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11098
extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11099
# 224 "/usr/include/stdio.h" 3 4
11100
extern char *tempnam (__const char *__dir, __const char *__pfx)
11101
__attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
11110
extern int fclose (FILE *__stream);
11115
extern int fflush (FILE *__stream);
11117
# 249 "/usr/include/stdio.h" 3 4
11118
extern int fflush_unlocked (FILE *__stream);
11119
# 259 "/usr/include/stdio.h" 3 4
11120
extern int fcloseall (void);
11130
extern FILE *fopen (__const char *__restrict __filename,
11131
__const char *__restrict __modes) __attribute__ ((__warn_unused_result__));
11136
extern FILE *freopen (__const char *__restrict __filename,
11137
__const char *__restrict __modes,
11138
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
11139
# 292 "/usr/include/stdio.h" 3 4
11142
extern FILE *fopen64 (__const char *__restrict __filename,
11143
__const char *__restrict __modes) __attribute__ ((__warn_unused_result__));
11144
extern FILE *freopen64 (__const char *__restrict __filename,
11145
__const char *__restrict __modes,
11146
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
11151
extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11157
extern FILE *fopencookie (void *__restrict __magic_cookie,
11158
__const char *__restrict __modes,
11159
_IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11164
extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
11165
__attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11170
extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11177
extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
11181
extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
11182
int __modes, size_t __n) __attribute__ ((__nothrow__));
11188
extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
11189
size_t __size) __attribute__ ((__nothrow__));
11192
extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
11201
extern int fprintf (FILE *__restrict __stream,
11202
__const char *__restrict __format, ...);
11207
extern int printf (__const char *__restrict __format, ...);
11209
extern int sprintf (char *__restrict __s,
11210
__const char *__restrict __format, ...) __attribute__ ((__nothrow__));
11216
extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
11217
__gnuc_va_list __arg);
11222
extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
11224
extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
11225
__gnuc_va_list __arg) __attribute__ ((__nothrow__));
11231
extern int snprintf (char *__restrict __s, size_t __maxlen,
11232
__const char *__restrict __format, ...)
11233
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
11235
extern int vsnprintf (char *__restrict __s, size_t __maxlen,
11236
__const char *__restrict __format, __gnuc_va_list __arg)
11237
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
11244
extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
11245
__gnuc_va_list __arg)
11246
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) __attribute__ ((__warn_unused_result__));
11247
extern int __asprintf (char **__restrict __ptr,
11248
__const char *__restrict __fmt, ...)
11249
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
11250
extern int asprintf (char **__restrict __ptr,
11251
__const char *__restrict __fmt, ...)
11252
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
11253
# 414 "/usr/include/stdio.h" 3 4
11254
extern int vdprintf (int __fd, __const char *__restrict __fmt,
11255
__gnuc_va_list __arg)
11256
__attribute__ ((__format__ (__printf__, 2, 0)));
11257
extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
11258
__attribute__ ((__format__ (__printf__, 2, 3)));
11267
extern int fscanf (FILE *__restrict __stream,
11268
__const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
11273
extern int scanf (__const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
11275
extern int sscanf (__const char *__restrict __s,
11276
__const char *__restrict __format, ...) __attribute__ ((__nothrow__));
11277
# 465 "/usr/include/stdio.h" 3 4
11286
extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
11287
__gnuc_va_list __arg)
11288
__attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__));
11294
extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
11295
__attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__));
11298
extern int vsscanf (__const char *__restrict __s,
11299
__const char *__restrict __format, __gnuc_va_list __arg)
11300
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
11301
# 524 "/usr/include/stdio.h" 3 4
11311
extern int fgetc (FILE *__stream);
11312
extern int getc (FILE *__stream);
11318
extern int getchar (void);
11320
# 552 "/usr/include/stdio.h" 3 4
11321
extern int getc_unlocked (FILE *__stream);
11322
extern int getchar_unlocked (void);
11323
# 563 "/usr/include/stdio.h" 3 4
11324
extern int fgetc_unlocked (FILE *__stream);
11336
extern int fputc (int __c, FILE *__stream);
11337
extern int putc (int __c, FILE *__stream);
11343
extern int putchar (int __c);
11345
# 596 "/usr/include/stdio.h" 3 4
11346
extern int fputc_unlocked (int __c, FILE *__stream);
11354
extern int putc_unlocked (int __c, FILE *__stream);
11355
extern int putchar_unlocked (int __c);
11362
extern int getw (FILE *__stream);
11365
extern int putw (int __w, FILE *__stream);
11374
extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
11375
__attribute__ ((__warn_unused_result__));
11382
extern char *gets (char *__s) __attribute__ ((__warn_unused_result__));
11384
# 642 "/usr/include/stdio.h" 3 4
11385
extern char *fgets_unlocked (char *__restrict __s, int __n,
11386
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
11387
# 658 "/usr/include/stdio.h" 3 4
11388
extern __ssize_t __getdelim (char **__restrict __lineptr,
11389
size_t *__restrict __n, int __delimiter,
11390
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
11391
extern __ssize_t getdelim (char **__restrict __lineptr,
11392
size_t *__restrict __n, int __delimiter,
11393
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
11401
extern __ssize_t getline (char **__restrict __lineptr,
11402
size_t *__restrict __n,
11403
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
11412
extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
11418
extern int puts (__const char *__s);
11425
extern int ungetc (int __c, FILE *__stream);
11432
extern size_t fread (void *__restrict __ptr, size_t __size,
11433
size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
11438
extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
11439
size_t __n, FILE *__restrict __s);
11441
# 719 "/usr/include/stdio.h" 3 4
11442
extern int fputs_unlocked (__const char *__restrict __s,
11443
FILE *__restrict __stream);
11444
# 730 "/usr/include/stdio.h" 3 4
11445
extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
11446
size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
11447
extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
11448
size_t __n, FILE *__restrict __stream);
11457
extern int fseek (FILE *__stream, long int __off, int __whence);
11462
extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__));
11467
extern void rewind (FILE *__stream);
11469
# 766 "/usr/include/stdio.h" 3 4
11470
extern int fseeko (FILE *__stream, __off_t __off, int __whence);
11475
extern __off_t ftello (FILE *__stream) __attribute__ ((__warn_unused_result__));
11476
# 785 "/usr/include/stdio.h" 3 4
11483
extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
11488
extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
11489
# 808 "/usr/include/stdio.h" 3 4
11493
extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
11494
extern __off64_t ftello64 (FILE *__stream) __attribute__ ((__warn_unused_result__));
11495
extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
11496
extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
11501
extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
11503
extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11505
extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11510
extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
11511
extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11512
extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11521
extern void perror (__const char *__s);
11528
# 1 "/usr/include/bits/sys_errlist.h" 1 3 4
11529
# 27 "/usr/include/bits/sys_errlist.h" 3 4
11530
extern int sys_nerr;
11531
extern __const char *__const sys_errlist[];
11534
extern int _sys_nerr;
11535
extern __const char *__const _sys_errlist[];
11536
# 847 "/usr/include/stdio.h" 2 3 4
11541
extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11546
extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11547
# 866 "/usr/include/stdio.h" 3 4
11548
extern FILE *popen (__const char *__command, __const char *__modes) __attribute__ ((__warn_unused_result__));
11554
extern int pclose (FILE *__stream);
11560
extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
11566
extern char *cuserid (char *__s);
11574
extern int obstack_printf (struct obstack *__restrict __obstack,
11575
__const char *__restrict __format, ...)
11576
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3)));
11577
extern int obstack_vprintf (struct obstack *__restrict __obstack,
11578
__const char *__restrict __format,
11579
__gnuc_va_list __args)
11580
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0)));
11588
extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
11592
extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11595
extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
11596
# 927 "/usr/include/stdio.h" 3 4
11597
# 1 "/usr/include/bits/stdio.h" 1 3 4
11598
# 44 "/usr/include/bits/stdio.h" 3 4
11599
extern __inline int
11602
return _IO_getc (stdin);
11608
extern __inline int
11609
fgetc_unlocked (FILE *__fp)
11611
return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
11618
extern __inline int
11619
getc_unlocked (FILE *__fp)
11621
return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
11625
extern __inline int
11626
getchar_unlocked (void)
11628
return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
11634
extern __inline int
11637
return _IO_putc (__c, stdout);
11643
extern __inline int
11644
fputc_unlocked (int __c, FILE *__stream)
11646
return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
11653
extern __inline int
11654
putc_unlocked (int __c, FILE *__stream)
11656
return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
11660
extern __inline int
11661
putchar_unlocked (int __c)
11663
return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
11670
extern __inline __ssize_t
11671
getline (char **__lineptr, size_t *__n, FILE *__stream)
11673
return __getdelim (__lineptr, __n, '\n', __stream);
11680
extern __inline int
11681
__attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream)
11683
return (((__stream)->_flags & 0x10) != 0);
11687
extern __inline int
11688
__attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream)
11690
return (((__stream)->_flags & 0x20) != 0);
11692
# 928 "/usr/include/stdio.h" 2 3 4
11695
# 1 "/usr/include/bits/stdio2.h" 1 3 4
11696
# 24 "/usr/include/bits/stdio2.h" 3 4
11697
extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen,
11698
__const char *__restrict __format, ...) __attribute__ ((__nothrow__));
11699
extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen,
11700
__const char *__restrict __format,
11701
__gnuc_va_list __ap) __attribute__ ((__nothrow__));
11704
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11705
__attribute__ ((__nothrow__)) sprintf (char *__restrict __s, __const char *__restrict __fmt, ...)
11707
return __builtin___sprintf_chk (__s, 2 - 1,
11708
__builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ());
11716
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11717
__attribute__ ((__nothrow__)) vsprintf (char *__restrict __s, __const char *__restrict __fmt, __gnuc_va_list __ap)
11720
return __builtin___vsprintf_chk (__s, 2 - 1,
11721
__builtin_object_size (__s, 2 > 1), __fmt, __ap);
11726
extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag,
11727
size_t __slen, __const char *__restrict __format,
11728
...) __attribute__ ((__nothrow__));
11729
extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag,
11730
size_t __slen, __const char *__restrict __format,
11731
__gnuc_va_list __ap) __attribute__ ((__nothrow__));
11734
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11735
__attribute__ ((__nothrow__)) snprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, ...)
11738
return __builtin___snprintf_chk (__s, __n, 2 - 1,
11739
__builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ());
11747
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11748
__attribute__ ((__nothrow__)) vsnprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, __gnuc_va_list __ap)
11751
return __builtin___vsnprintf_chk (__s, __n, 2 - 1,
11752
__builtin_object_size (__s, 2 > 1), __fmt, __ap);
11759
extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
11760
__const char *__restrict __format, ...);
11761
extern int __printf_chk (int __flag, __const char *__restrict __format, ...);
11762
extern int __vfprintf_chk (FILE *__restrict __stream, int __flag,
11763
__const char *__restrict __format, __gnuc_va_list __ap);
11764
extern int __vprintf_chk (int __flag, __const char *__restrict __format,
11765
__gnuc_va_list __ap);
11768
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11769
fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...)
11771
return __fprintf_chk (__stream, 2 - 1, __fmt,
11772
__builtin_va_arg_pack ());
11775
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11776
printf (__const char *__restrict __fmt, ...)
11778
return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ());
11787
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11788
vprintf (__const char *__restrict __fmt, __gnuc_va_list __ap)
11791
return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap);
11797
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11798
vfprintf (FILE *__restrict __stream,
11799
__const char *__restrict __fmt, __gnuc_va_list __ap)
11801
return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap);
11806
extern int __asprintf_chk (char **__restrict __ptr, int __flag,
11807
__const char *__restrict __fmt, ...)
11808
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))) __attribute__ ((__warn_unused_result__));
11809
extern int __vasprintf_chk (char **__restrict __ptr, int __flag,
11810
__const char *__restrict __fmt, __gnuc_va_list __arg)
11811
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))) __attribute__ ((__warn_unused_result__));
11812
extern int __dprintf_chk (int __fd, int __flag, __const char *__restrict __fmt,
11813
...) __attribute__ ((__format__ (__printf__, 3, 4)));
11814
extern int __vdprintf_chk (int __fd, int __flag,
11815
__const char *__restrict __fmt, __gnuc_va_list __arg)
11816
__attribute__ ((__format__ (__printf__, 3, 0)));
11817
extern int __obstack_printf_chk (struct obstack *__restrict __obstack,
11818
int __flag, __const char *__restrict __format,
11820
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
11821
extern int __obstack_vprintf_chk (struct obstack *__restrict __obstack,
11823
__const char *__restrict __format,
11824
__gnuc_va_list __args)
11825
__attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
11828
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11829
__attribute__ ((__nothrow__)) asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...)
11831
return __asprintf_chk (__ptr, 2 - 1, __fmt,
11832
__builtin_va_arg_pack ());
11835
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11836
__attribute__ ((__nothrow__)) __asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...)
11839
return __asprintf_chk (__ptr, 2 - 1, __fmt,
11840
__builtin_va_arg_pack ());
11843
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11844
dprintf (int __fd, __const char *__restrict __fmt, ...)
11846
return __dprintf_chk (__fd, 2 - 1, __fmt,
11847
__builtin_va_arg_pack ());
11850
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11851
__attribute__ ((__nothrow__)) obstack_printf (struct obstack *__restrict __obstack, __const char *__restrict __fmt, ...)
11854
return __obstack_printf_chk (__obstack, 2 - 1, __fmt,
11855
__builtin_va_arg_pack ());
11857
# 195 "/usr/include/bits/stdio2.h" 3 4
11858
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11859
__attribute__ ((__nothrow__)) vasprintf (char **__restrict __ptr, __const char *__restrict __fmt, __gnuc_va_list __ap)
11862
return __vasprintf_chk (__ptr, 2 - 1, __fmt, __ap);
11865
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11866
vdprintf (int __fd, __const char *__restrict __fmt, __gnuc_va_list __ap)
11868
return __vdprintf_chk (__fd, 2 - 1, __fmt, __ap);
11871
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11872
__attribute__ ((__nothrow__)) obstack_vprintf (struct obstack *__restrict __obstack, __const char *__restrict __fmt, __gnuc_va_list __ap)
11875
return __obstack_vprintf_chk (__obstack, 2 - 1, __fmt,
11883
extern char *__gets_chk (char *__str, size_t) __attribute__ ((__warn_unused_result__));
11884
extern char *__gets_warn (char *__str) __asm__ ("" "gets")
11885
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use fgets or getline instead, gets can't " "specify buffer size")))
11888
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
11891
if (__builtin_object_size (__str, 2 > 1) != (size_t) -1)
11892
return __gets_chk (__str, __builtin_object_size (__str, 2 > 1));
11893
return __gets_warn (__str);
11896
extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n,
11897
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
11898
extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets")
11900
__attribute__ ((__warn_unused_result__));
11901
extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk")
11904
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer")))
11907
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
11908
fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
11910
if (__builtin_object_size (__s, 2 > 1) != (size_t) -1)
11912
if (!__builtin_constant_p (__n) || __n <= 0)
11913
return __fgets_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
11915
if ((size_t) __n > __builtin_object_size (__s, 2 > 1))
11916
return __fgets_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
11918
return __fgets_alias (__s, __n, __stream);
11921
extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen,
11922
size_t __size, size_t __n,
11923
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
11924
extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread")
11927
__attribute__ ((__warn_unused_result__));
11928
extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk")
11933
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer")))
11936
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t
11937
fread (void *__restrict __ptr, size_t __size, size_t __n,
11938
FILE *__restrict __stream)
11940
if (__builtin_object_size (__ptr, 0) != (size_t) -1)
11942
if (!__builtin_constant_p (__size)
11943
|| !__builtin_constant_p (__n)
11944
|| (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2)))
11945
return __fread_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream);
11947
if (__size * __n > __builtin_object_size (__ptr, 0))
11948
return __fread_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream);
11950
return __fread_alias (__ptr, __size, __n, __stream);
11954
extern char *__fgets_unlocked_chk (char *__restrict __s, size_t __size,
11955
int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
11956
extern char *__fgets_unlocked_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets_unlocked")
11958
__attribute__ ((__warn_unused_result__));
11959
extern char *__fgets_unlocked_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_unlocked_chk")
11962
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets_unlocked called with bigger size than length " "of destination buffer")))
11965
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
11966
fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream)
11968
if (__builtin_object_size (__s, 2 > 1) != (size_t) -1)
11970
if (!__builtin_constant_p (__n) || __n <= 0)
11971
return __fgets_unlocked_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
11973
if ((size_t) __n > __builtin_object_size (__s, 2 > 1))
11974
return __fgets_unlocked_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
11976
return __fgets_unlocked_alias (__s, __n, __stream);
11982
extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen,
11983
size_t __size, size_t __n,
11984
FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
11985
extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked")
11988
__attribute__ ((__warn_unused_result__));
11989
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")
11994
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer")))
11997
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t
11998
fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n,
11999
FILE *__restrict __stream)
12001
if (__builtin_object_size (__ptr, 0) != (size_t) -1)
12003
if (!__builtin_constant_p (__size)
12004
|| !__builtin_constant_p (__n)
12005
|| (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2)))
12006
return __fread_unlocked_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n,
12009
if (__size * __n > __builtin_object_size (__ptr, 0))
12010
return __fread_unlocked_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n,
12015
if (__builtin_constant_p (__size)
12016
&& __builtin_constant_p (__n)
12017
&& (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2))
12018
&& __size * __n <= 8)
12020
size_t __cnt = __size * __n;
12021
char *__cptr = (char *) __ptr;
12025
for (; __cnt > 0; --__cnt)
12027
int __c = (__builtin_expect (((__stream)->_IO_read_ptr >= (__stream)->_IO_read_end), 0) ? __uflow (__stream) : *(unsigned char *) (__stream)->_IO_read_ptr++);
12032
return (__cptr - (char *) __ptr) / __size;
12035
return __fread_unlocked_alias (__ptr, __size, __n, __stream);
12037
# 931 "/usr/include/stdio.h" 2 3 4
12044
# 25 "/usr/include/glib-2.0/glib/gprintf.h" 2
12049
gint g_printf (gchar const *format,
12050
...) __attribute__((__format__ (__printf__, 1, 2)));
12051
gint g_fprintf (FILE *file,
12052
gchar const *format,
12053
...) __attribute__((__format__ (__printf__, 2, 3)));
12054
gint g_sprintf (gchar *string,
12055
gchar const *format,
12056
...) __attribute__((__format__ (__printf__, 2, 3)));
12058
gint g_vprintf (gchar const *format,
12060
gint g_vfprintf (FILE *file,
12061
gchar const *format,
12063
gint g_vsprintf (gchar *string,
12064
gchar const *format,
12066
gint g_vasprintf (gchar **string,
12067
gchar const *format,
12071
# 25 "/usr/include/glib-2.0/glib/gstdio.h" 2
12073
# 1 "/usr/include/sys/stat.h" 1 3 4
12074
# 46 "/usr/include/sys/stat.h" 3 4
12075
typedef __dev_t dev_t;
12080
typedef __gid_t gid_t;
12086
typedef __ino_t ino_t;
12094
typedef __mode_t mode_t;
12099
typedef __nlink_t nlink_t;
12100
# 92 "/usr/include/sys/stat.h" 3 4
12101
typedef __blkcnt_t blkcnt_t;
12109
typedef __blksize_t blksize_t;
12116
# 1 "/usr/include/bits/stat.h" 1 3 4
12117
# 46 "/usr/include/bits/stat.h" 3 4
12122
unsigned short int __pad1;
12131
__nlink_t st_nlink;
12143
unsigned short int __pad2;
12150
__blksize_t st_blksize;
12152
__blkcnt_t st_blocks;
12153
# 91 "/usr/include/bits/stat.h" 3 4
12154
struct timespec st_atim;
12155
struct timespec st_mtim;
12156
struct timespec st_ctim;
12157
# 109 "/usr/include/bits/stat.h" 3 4
12158
unsigned long int __unused4;
12159
unsigned long int __unused5;
12176
unsigned int __pad1;
12179
__nlink_t st_nlink;
12189
unsigned int __pad2;
12192
__blksize_t st_blksize;
12193
__blkcnt64_t st_blocks;
12201
struct timespec st_atim;
12202
struct timespec st_mtim;
12203
struct timespec st_ctim;
12204
# 169 "/usr/include/bits/stat.h" 3 4
12208
# 108 "/usr/include/sys/stat.h" 2 3 4
12209
# 211 "/usr/include/sys/stat.h" 3 4
12210
extern int stat (__const char *__restrict __file,
12211
struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12215
extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12216
# 230 "/usr/include/sys/stat.h" 3 4
12217
extern int stat64 (__const char *__restrict __file,
12218
struct stat64 *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12219
extern int fstat64 (int __fd, struct stat64 *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12227
extern int fstatat (int __fd, __const char *__restrict __file,
12228
struct stat *__restrict __buf, int __flag)
12229
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
12230
# 255 "/usr/include/sys/stat.h" 3 4
12231
extern int fstatat64 (int __fd, __const char *__restrict __file,
12232
struct stat64 *__restrict __buf, int __flag)
12233
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
12241
extern int lstat (__const char *__restrict __file,
12242
struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12243
# 278 "/usr/include/sys/stat.h" 3 4
12244
extern int lstat64 (__const char *__restrict __file,
12245
struct stat64 *__restrict __buf)
12246
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12252
extern int chmod (__const char *__file, __mode_t __mode)
12253
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12259
extern int lchmod (__const char *__file, __mode_t __mode)
12260
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12265
extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__));
12271
extern int fchmodat (int __fd, __const char *__file, __mode_t __mode,
12273
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
12280
extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__));
12285
extern __mode_t getumask (void) __attribute__ ((__nothrow__));
12289
extern int mkdir (__const char *__path, __mode_t __mode)
12290
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12296
extern int mkdirat (int __fd, __const char *__path, __mode_t __mode)
12297
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12304
extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
12305
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12311
extern int mknodat (int __fd, __const char *__path, __mode_t __mode,
12312
__dev_t __dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12318
extern int mkfifo (__const char *__path, __mode_t __mode)
12319
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12325
extern int mkfifoat (int __fd, __const char *__path, __mode_t __mode)
12326
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12332
extern int utimensat (int __fd, __const char *__path,
12333
__const struct timespec __times[2],
12335
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12340
extern int futimens (int __fd, __const struct timespec __times[2]) __attribute__ ((__nothrow__));
12341
# 401 "/usr/include/sys/stat.h" 3 4
12342
extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf)
12343
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
12344
extern int __xstat (int __ver, __const char *__filename,
12345
struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
12346
extern int __lxstat (int __ver, __const char *__filename,
12347
struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
12348
extern int __fxstatat (int __ver, int __fildes, __const char *__filename,
12349
struct stat *__stat_buf, int __flag)
12350
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4)));
12351
# 434 "/usr/include/sys/stat.h" 3 4
12352
extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf)
12353
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
12354
extern int __xstat64 (int __ver, __const char *__filename,
12355
struct stat64 *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
12356
extern int __lxstat64 (int __ver, __const char *__filename,
12357
struct stat64 *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
12358
extern int __fxstatat64 (int __ver, int __fildes, __const char *__filename,
12359
struct stat64 *__stat_buf, int __flag)
12360
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4)));
12362
extern int __xmknod (int __ver, __const char *__path, __mode_t __mode,
12363
__dev_t *__dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
12365
extern int __xmknodat (int __ver, int __fd, __const char *__path,
12366
__mode_t __mode, __dev_t *__dev)
12367
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 5)));
12372
extern __inline int
12373
__attribute__ ((__nothrow__)) stat (__const char *__path, struct stat *__statbuf)
12375
return __xstat (3, __path, __statbuf);
12379
extern __inline int
12380
__attribute__ ((__nothrow__)) lstat (__const char *__path, struct stat *__statbuf)
12382
return __lxstat (3, __path, __statbuf);
12386
extern __inline int
12387
__attribute__ ((__nothrow__)) fstat (int __fd, struct stat *__statbuf)
12389
return __fxstat (3, __fd, __statbuf);
12393
extern __inline int
12394
__attribute__ ((__nothrow__)) fstatat (int __fd, __const char *__filename, struct stat *__statbuf, int __flag)
12397
return __fxstatat (3, __fd, __filename, __statbuf, __flag);
12402
extern __inline int
12403
__attribute__ ((__nothrow__)) mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
12405
return __xmknod (1, __path, __mode, &__dev);
12410
extern __inline int
12411
__attribute__ ((__nothrow__)) mknodat (int __fd, __const char *__path, __mode_t __mode, __dev_t __dev)
12414
return __xmknodat (1, __fd, __path, __mode, &__dev);
12421
extern __inline int
12422
__attribute__ ((__nothrow__)) stat64 (__const char *__path, struct stat64 *__statbuf)
12424
return __xstat64 (3, __path, __statbuf);
12428
extern __inline int
12429
__attribute__ ((__nothrow__)) lstat64 (__const char *__path, struct stat64 *__statbuf)
12431
return __lxstat64 (3, __path, __statbuf);
12435
extern __inline int
12436
__attribute__ ((__nothrow__)) fstat64 (int __fd, struct stat64 *__statbuf)
12438
return __fxstat64 (3, __fd, __statbuf);
12442
extern __inline int
12443
__attribute__ ((__nothrow__)) fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf, int __flag)
12446
return __fxstatat64 (3, __fd, __filename, __statbuf, __flag);
12455
# 27 "/usr/include/glib-2.0/glib/gstdio.h" 2
12458
# 51 "/usr/include/glib-2.0/glib/gstdio.h"
12459
typedef struct stat GStatBuf;
12460
# 75 "/usr/include/glib-2.0/glib/gstdio.h"
12461
int g_access (const gchar *filename,
12464
int g_chdir (const gchar *path);
12466
int g_unlink (const gchar *filename);
12468
int g_rmdir (const gchar *filename);
12469
# 145 "/usr/include/glib-2.0/glib/gstdio.h"
12471
# 36 "../../../testing/testing.h" 2
12473
# 1 "/usr/include/stdlib.h" 1 3 4
12474
# 33 "/usr/include/stdlib.h" 3 4
12475
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
12476
# 34 "/usr/include/stdlib.h" 2 3 4
12485
# 1 "/usr/include/bits/waitflags.h" 1 3 4
12486
# 43 "/usr/include/stdlib.h" 2 3 4
12487
# 1 "/usr/include/bits/waitstatus.h" 1 3 4
12488
# 65 "/usr/include/bits/waitstatus.h" 3 4
12489
# 1 "/usr/include/endian.h" 1 3 4
12490
# 37 "/usr/include/endian.h" 3 4
12491
# 1 "/usr/include/bits/endian.h" 1 3 4
12492
# 38 "/usr/include/endian.h" 2 3 4
12493
# 61 "/usr/include/endian.h" 3 4
12494
# 1 "/usr/include/bits/byteswap.h" 1 3 4
12495
# 28 "/usr/include/bits/byteswap.h" 3 4
12496
# 1 "/usr/include/bits/wordsize.h" 1 3 4
12497
# 29 "/usr/include/bits/byteswap.h" 2 3 4
12498
# 62 "/usr/include/endian.h" 2 3 4
12499
# 66 "/usr/include/bits/waitstatus.h" 2 3 4
12507
unsigned int __w_termsig:7;
12508
unsigned int __w_coredump:1;
12509
unsigned int __w_retcode:8;
12518
} __wait_terminated;
12522
unsigned int __w_stopval:8;
12523
unsigned int __w_stopsig:8;
12533
# 44 "/usr/include/stdlib.h" 2 3 4
12534
# 68 "/usr/include/stdlib.h" 3 4
12537
union wait *__uptr;
12539
} __WAIT_STATUS __attribute__ ((__transparent_union__));
12540
# 96 "/usr/include/stdlib.h" 3 4
12563
__extension__ typedef struct
12565
long long int quot;
12570
# 140 "/usr/include/stdlib.h" 3 4
12571
extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
12576
extern double atof (__const char *__nptr)
12577
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12579
extern int atoi (__const char *__nptr)
12580
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12582
extern long int atol (__const char *__nptr)
12583
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12589
__extension__ extern long long int atoll (__const char *__nptr)
12590
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12596
extern double strtod (__const char *__restrict __nptr,
12597
char **__restrict __endptr)
12598
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12604
extern float strtof (__const char *__restrict __nptr,
12605
char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12607
extern long double strtold (__const char *__restrict __nptr,
12608
char **__restrict __endptr)
12609
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12615
extern long int strtol (__const char *__restrict __nptr,
12616
char **__restrict __endptr, int __base)
12617
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12619
extern unsigned long int strtoul (__const char *__restrict __nptr,
12620
char **__restrict __endptr, int __base)
12621
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12627
extern long long int strtoq (__const char *__restrict __nptr,
12628
char **__restrict __endptr, int __base)
12629
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12632
extern unsigned long long int strtouq (__const char *__restrict __nptr,
12633
char **__restrict __endptr, int __base)
12634
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12641
extern long long int strtoll (__const char *__restrict __nptr,
12642
char **__restrict __endptr, int __base)
12643
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12646
extern unsigned long long int strtoull (__const char *__restrict __nptr,
12647
char **__restrict __endptr, int __base)
12648
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12650
# 240 "/usr/include/stdlib.h" 3 4
12651
extern long int strtol_l (__const char *__restrict __nptr,
12652
char **__restrict __endptr, int __base,
12653
__locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
12655
extern unsigned long int strtoul_l (__const char *__restrict __nptr,
12656
char **__restrict __endptr,
12657
int __base, __locale_t __loc)
12658
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
12661
extern long long int strtoll_l (__const char *__restrict __nptr,
12662
char **__restrict __endptr, int __base,
12664
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
12667
extern unsigned long long int strtoull_l (__const char *__restrict __nptr,
12668
char **__restrict __endptr,
12669
int __base, __locale_t __loc)
12670
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
12672
extern double strtod_l (__const char *__restrict __nptr,
12673
char **__restrict __endptr, __locale_t __loc)
12674
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
12676
extern float strtof_l (__const char *__restrict __nptr,
12677
char **__restrict __endptr, __locale_t __loc)
12678
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
12680
extern long double strtold_l (__const char *__restrict __nptr,
12681
char **__restrict __endptr,
12683
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
12689
extern __inline double
12690
__attribute__ ((__nothrow__)) atof (__const char *__nptr)
12692
return strtod (__nptr, (char **) ((void *)0));
12694
extern __inline int
12695
__attribute__ ((__nothrow__)) atoi (__const char *__nptr)
12697
return (int) strtol (__nptr, (char **) ((void *)0), 10);
12699
extern __inline long int
12700
__attribute__ ((__nothrow__)) atol (__const char *__nptr)
12702
return strtol (__nptr, (char **) ((void *)0), 10);
12708
__extension__ extern __inline long long int
12709
__attribute__ ((__nothrow__)) atoll (__const char *__nptr)
12711
return strtoll (__nptr, (char **) ((void *)0), 10);
12714
# 311 "/usr/include/stdlib.h" 3 4
12715
extern char *l64a (long int __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
12718
extern long int a64l (__const char *__s)
12719
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12724
# 1 "/usr/include/sys/types.h" 1 3 4
12725
# 28 "/usr/include/sys/types.h" 3 4
12732
typedef __u_char u_char;
12733
typedef __u_short u_short;
12734
typedef __u_int u_int;
12735
typedef __u_long u_long;
12736
typedef __quad_t quad_t;
12737
typedef __u_quad_t u_quad_t;
12738
typedef __fsid_t fsid_t;
12743
typedef __loff_t loff_t;
12744
# 56 "/usr/include/sys/types.h" 3 4
12745
typedef __ino64_t ino64_t;
12746
# 105 "/usr/include/sys/types.h" 3 4
12747
typedef __id_t id_t;
12748
# 116 "/usr/include/sys/types.h" 3 4
12749
typedef __daddr_t daddr_t;
12750
typedef __caddr_t caddr_t;
12756
typedef __key_t key_t;
12757
# 137 "/usr/include/sys/types.h" 3 4
12758
typedef __useconds_t useconds_t;
12762
typedef __suseconds_t suseconds_t;
12768
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
12769
# 148 "/usr/include/sys/types.h" 2 3 4
12773
typedef unsigned long int ulong;
12774
typedef unsigned short int ushort;
12775
typedef unsigned int uint;
12776
# 195 "/usr/include/sys/types.h" 3 4
12777
typedef int int8_t __attribute__ ((__mode__ (__QI__)));
12778
typedef int int16_t __attribute__ ((__mode__ (__HI__)));
12779
typedef int int32_t __attribute__ ((__mode__ (__SI__)));
12780
typedef int int64_t __attribute__ ((__mode__ (__DI__)));
12783
typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
12784
typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
12785
typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
12786
typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
12788
typedef int register_t __attribute__ ((__mode__ (__word__)));
12789
# 220 "/usr/include/sys/types.h" 3 4
12790
# 1 "/usr/include/sys/select.h" 1 3 4
12791
# 31 "/usr/include/sys/select.h" 3 4
12792
# 1 "/usr/include/bits/select.h" 1 3 4
12793
# 23 "/usr/include/bits/select.h" 3 4
12794
# 1 "/usr/include/bits/wordsize.h" 1 3 4
12795
# 24 "/usr/include/bits/select.h" 2 3 4
12796
# 32 "/usr/include/sys/select.h" 2 3 4
12799
# 1 "/usr/include/bits/sigset.h" 1 3 4
12800
# 35 "/usr/include/sys/select.h" 2 3 4
12801
# 46 "/usr/include/sys/select.h" 3 4
12802
# 1 "/usr/include/bits/time.h" 1 3 4
12803
# 75 "/usr/include/bits/time.h" 3 4
12807
__suseconds_t tv_usec;
12809
# 47 "/usr/include/sys/select.h" 2 3 4
12810
# 55 "/usr/include/sys/select.h" 3 4
12811
typedef long int __fd_mask;
12812
# 67 "/usr/include/sys/select.h" 3 4
12818
__fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))];
12831
typedef __fd_mask fd_mask;
12832
# 99 "/usr/include/sys/select.h" 3 4
12834
# 109 "/usr/include/sys/select.h" 3 4
12835
extern int select (int __nfds, fd_set *__restrict __readfds,
12836
fd_set *__restrict __writefds,
12837
fd_set *__restrict __exceptfds,
12838
struct timeval *__restrict __timeout);
12839
# 121 "/usr/include/sys/select.h" 3 4
12840
extern int pselect (int __nfds, fd_set *__restrict __readfds,
12841
fd_set *__restrict __writefds,
12842
fd_set *__restrict __exceptfds,
12843
const struct timespec *__restrict __timeout,
12844
const __sigset_t *__restrict __sigmask);
12848
# 221 "/usr/include/sys/types.h" 2 3 4
12851
# 1 "/usr/include/sys/sysmacros.h" 1 3 4
12852
# 30 "/usr/include/sys/sysmacros.h" 3 4
12854
extern unsigned int gnu_dev_major (unsigned long long int __dev)
12855
__attribute__ ((__nothrow__));
12857
extern unsigned int gnu_dev_minor (unsigned long long int __dev)
12858
__attribute__ ((__nothrow__));
12860
extern unsigned long long int gnu_dev_makedev (unsigned int __major,
12861
unsigned int __minor)
12862
__attribute__ ((__nothrow__));
12865
__extension__ extern __inline unsigned int
12866
__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
12868
return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
12871
__extension__ extern __inline unsigned int
12872
__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
12874
return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
12877
__extension__ extern __inline unsigned long long int
12878
__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
12880
return ((__minor & 0xff) | ((__major & 0xfff) << 8)
12881
| (((unsigned long long int) (__minor & ~0xff)) << 12)
12882
| (((unsigned long long int) (__major & ~0xfff)) << 32));
12884
# 224 "/usr/include/sys/types.h" 2 3 4
12885
# 240 "/usr/include/sys/types.h" 3 4
12886
typedef __fsblkcnt_t fsblkcnt_t;
12890
typedef __fsfilcnt_t fsfilcnt_t;
12891
# 263 "/usr/include/sys/types.h" 3 4
12892
typedef __blkcnt64_t blkcnt64_t;
12893
typedef __fsblkcnt64_t fsblkcnt64_t;
12894
typedef __fsfilcnt64_t fsfilcnt64_t;
12895
# 274 "/usr/include/sys/types.h" 3 4
12897
# 321 "/usr/include/stdlib.h" 2 3 4
12904
extern long int random (void) __attribute__ ((__nothrow__));
12907
extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
12913
extern char *initstate (unsigned int __seed, char *__statebuf,
12914
size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12918
extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12937
extern int random_r (struct random_data *__restrict __buf,
12938
int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12940
extern int srandom_r (unsigned int __seed, struct random_data *__buf)
12941
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12943
extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
12945
struct random_data *__restrict __buf)
12946
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
12948
extern int setstate_r (char *__restrict __statebuf,
12949
struct random_data *__restrict __buf)
12950
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12957
extern int rand (void) __attribute__ ((__nothrow__));
12959
extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
12964
extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
12972
extern double drand48 (void) __attribute__ ((__nothrow__));
12973
extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12976
extern long int lrand48 (void) __attribute__ ((__nothrow__));
12977
extern long int nrand48 (unsigned short int __xsubi[3])
12978
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12981
extern long int mrand48 (void) __attribute__ ((__nothrow__));
12982
extern long int jrand48 (unsigned short int __xsubi[3])
12983
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12986
extern void srand48 (long int __seedval) __attribute__ ((__nothrow__));
12987
extern unsigned short int *seed48 (unsigned short int __seed16v[3])
12988
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12989
extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12995
struct drand48_data
12997
unsigned short int __x[3];
12998
unsigned short int __old_x[3];
12999
unsigned short int __c;
13000
unsigned short int __init;
13001
unsigned long long int __a;
13005
extern int drand48_r (struct drand48_data *__restrict __buffer,
13006
double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13007
extern int erand48_r (unsigned short int __xsubi[3],
13008
struct drand48_data *__restrict __buffer,
13009
double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13012
extern int lrand48_r (struct drand48_data *__restrict __buffer,
13013
long int *__restrict __result)
13014
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13015
extern int nrand48_r (unsigned short int __xsubi[3],
13016
struct drand48_data *__restrict __buffer,
13017
long int *__restrict __result)
13018
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13021
extern int mrand48_r (struct drand48_data *__restrict __buffer,
13022
long int *__restrict __result)
13023
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13024
extern int jrand48_r (unsigned short int __xsubi[3],
13025
struct drand48_data *__restrict __buffer,
13026
long int *__restrict __result)
13027
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13030
extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
13031
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13033
extern int seed48_r (unsigned short int __seed16v[3],
13034
struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13036
extern int lcong48_r (unsigned short int __param[7],
13037
struct drand48_data *__buffer)
13038
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13048
extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
13050
extern void *calloc (size_t __nmemb, size_t __size)
13051
__attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
13062
extern void *realloc (void *__ptr, size_t __size)
13063
__attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13065
extern void free (void *__ptr) __attribute__ ((__nothrow__));
13070
extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
13074
# 1 "/usr/include/alloca.h" 1 3 4
13075
# 25 "/usr/include/alloca.h" 3 4
13076
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
13077
# 26 "/usr/include/alloca.h" 2 3 4
13085
extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
13092
# 498 "/usr/include/stdlib.h" 2 3 4
13098
extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
13103
extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
13104
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13109
extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
13113
extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13114
# 528 "/usr/include/stdlib.h" 3 4
13115
extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13123
extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
13124
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13131
extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
13139
extern void quick_exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
13147
extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
13154
extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13159
extern char *__secure_getenv (__const char *__name)
13160
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13166
extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13172
extern int setenv (__const char *__name, __const char *__value, int __replace)
13173
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13176
extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13183
extern int clearenv (void) __attribute__ ((__nothrow__));
13184
# 606 "/usr/include/stdlib.h" 3 4
13185
extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13186
# 620 "/usr/include/stdlib.h" 3 4
13187
extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13188
# 630 "/usr/include/stdlib.h" 3 4
13189
extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13190
# 642 "/usr/include/stdlib.h" 3 4
13191
extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13192
# 652 "/usr/include/stdlib.h" 3 4
13193
extern int mkstemps64 (char *__template, int __suffixlen)
13194
__attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13195
# 663 "/usr/include/stdlib.h" 3 4
13196
extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13197
# 674 "/usr/include/stdlib.h" 3 4
13198
extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13199
# 684 "/usr/include/stdlib.h" 3 4
13200
extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13201
# 694 "/usr/include/stdlib.h" 3 4
13202
extern int mkostemps (char *__template, int __suffixlen, int __flags)
13203
__attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13204
# 706 "/usr/include/stdlib.h" 3 4
13205
extern int mkostemps64 (char *__template, int __suffixlen, int __flags)
13206
__attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13216
extern int system (__const char *__command) __attribute__ ((__warn_unused_result__));
13223
extern char *canonicalize_file_name (__const char *__name)
13224
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13225
# 734 "/usr/include/stdlib.h" 3 4
13226
extern char *realpath (__const char *__restrict __name,
13227
char *__restrict __resolved) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13234
typedef int (*__compar_fn_t) (__const void *, __const void *);
13237
typedef __compar_fn_t comparison_fn_t;
13241
typedef int (*__compar_d_fn_t) (__const void *, __const void *, void *);
13247
extern void *bsearch (__const void *__key, __const void *__base,
13248
size_t __nmemb, size_t __size, __compar_fn_t __compar)
13249
__attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__));
13253
extern void qsort (void *__base, size_t __nmemb, size_t __size,
13254
__compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
13256
extern void qsort_r (void *__base, size_t __nmemb, size_t __size,
13257
__compar_d_fn_t __compar, void *__arg)
13258
__attribute__ ((__nonnull__ (1, 4)));
13263
extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
13264
extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
13268
__extension__ extern long long int llabs (long long int __x)
13269
__attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
13277
extern div_t div (int __numer, int __denom)
13278
__attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
13279
extern ldiv_t ldiv (long int __numer, long int __denom)
13280
__attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
13285
__extension__ extern lldiv_t lldiv (long long int __numer,
13286
long long int __denom)
13287
__attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
13289
# 808 "/usr/include/stdlib.h" 3 4
13290
extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
13291
int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
13296
extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
13297
int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
13302
extern char *gcvt (double __value, int __ndigit, char *__buf)
13303
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
13308
extern char *qecvt (long double __value, int __ndigit,
13309
int *__restrict __decpt, int *__restrict __sign)
13310
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
13311
extern char *qfcvt (long double __value, int __ndigit,
13312
int *__restrict __decpt, int *__restrict __sign)
13313
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
13314
extern char *qgcvt (long double __value, int __ndigit, char *__buf)
13315
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
13320
extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
13321
int *__restrict __sign, char *__restrict __buf,
13322
size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
13323
extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
13324
int *__restrict __sign, char *__restrict __buf,
13325
size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
13327
extern int qecvt_r (long double __value, int __ndigit,
13328
int *__restrict __decpt, int *__restrict __sign,
13329
char *__restrict __buf, size_t __len)
13330
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
13331
extern int qfcvt_r (long double __value, int __ndigit,
13332
int *__restrict __decpt, int *__restrict __sign,
13333
char *__restrict __buf, size_t __len)
13334
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
13342
extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13345
extern int mbtowc (wchar_t *__restrict __pwc,
13346
__const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13349
extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13353
extern size_t mbstowcs (wchar_t *__restrict __pwcs,
13354
__const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
13356
extern size_t wcstombs (char *__restrict __s,
13357
__const wchar_t *__restrict __pwcs, size_t __n)
13358
__attribute__ ((__nothrow__));
13367
extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13368
# 896 "/usr/include/stdlib.h" 3 4
13369
extern int getsubopt (char **__restrict __optionp,
13370
char *__const *__restrict __tokens,
13371
char **__restrict __valuep)
13372
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__));
13378
extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13386
extern int posix_openpt (int __oflag) __attribute__ ((__warn_unused_result__));
13394
extern int grantpt (int __fd) __attribute__ ((__nothrow__));
13398
extern int unlockpt (int __fd) __attribute__ ((__nothrow__));
13403
extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13410
extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
13411
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13414
extern int getpt (void);
13421
extern int getloadavg (double __loadavg[], int __nelem)
13422
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13428
# 1 "/usr/include/bits/stdlib.h" 1 3 4
13429
# 24 "/usr/include/bits/stdlib.h" 3 4
13430
extern char *__realpath_chk (__const char *__restrict __name,
13431
char *__restrict __resolved,
13432
size_t __resolvedlen) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13433
extern char *__realpath_alias (__const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__))
13435
__attribute__ ((__warn_unused_result__));
13436
extern char *__realpath_chk_warn (__const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__))
13439
__attribute__ ((__warn_unused_result__))
13440
__attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer")))
13443
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
13444
__attribute__ ((__nothrow__)) realpath (__const char *__restrict __name, char *__restrict __resolved)
13446
if (__builtin_object_size (__resolved, 2 > 1) != (size_t) -1)
13449
if (__builtin_object_size (__resolved, 2 > 1) < 4096)
13450
return __realpath_chk_warn (__name, __resolved, __builtin_object_size (__resolved, 2 > 1));
13452
return __realpath_chk (__name, __resolved, __builtin_object_size (__resolved, 2 > 1));
13455
return __realpath_alias (__name, __resolved);
13459
extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen,
13460
size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13461
extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__))
13463
__attribute__ ((__nonnull__ (2)));
13464
extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__))
13467
__attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf")))
13470
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
13471
__attribute__ ((__nothrow__)) ptsname_r (int __fd, char *__buf, size_t __buflen)
13473
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
13475
if (!__builtin_constant_p (__buflen))
13476
return __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
13477
if (__buflen > __builtin_object_size (__buf, 2 > 1))
13478
return __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
13480
return __ptsname_r_alias (__fd, __buf, __buflen);
13484
extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen)
13485
__attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13486
extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__))
13487
__attribute__ ((__warn_unused_result__));
13489
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) int
13490
__attribute__ ((__nothrow__)) wctomb (char *__s, wchar_t __wchar)
13499
if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1))
13500
return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1));
13501
return __wctomb_alias (__s, __wchar);
13505
extern size_t __mbstowcs_chk (wchar_t *__restrict __dst,
13506
__const char *__restrict __src,
13507
size_t __len, size_t __dstlen) __attribute__ ((__nothrow__));
13508
extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__))
13512
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__))
13516
__attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)")))
13519
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t
13520
__attribute__ ((__nothrow__)) mbstowcs (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len)
13523
if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
13525
if (!__builtin_constant_p (__len))
13526
return __mbstowcs_chk (__dst, __src, __len,
13527
__builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t));
13529
if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t))
13530
return __mbstowcs_chk_warn (__dst, __src, __len,
13531
__builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t));
13533
return __mbstowcs_alias (__dst, __src, __len);
13537
extern size_t __wcstombs_chk (char *__restrict __dst,
13538
__const wchar_t *__restrict __src,
13539
size_t __len, size_t __dstlen) __attribute__ ((__nothrow__));
13540
extern size_t __wcstombs_alias (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__))
13544
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__))
13548
__attribute__((__warning__ ("wcstombs called with dst buffer smaller than len")));
13550
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t
13551
__attribute__ ((__nothrow__)) wcstombs (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len)
13554
if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
13556
if (!__builtin_constant_p (__len))
13557
return __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1));
13558
if (__len > __builtin_object_size (__dst, 2 > 1))
13559
return __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1));
13561
return __wcstombs_alias (__dst, __src, __len);
13563
# 956 "/usr/include/stdlib.h" 2 3 4
13564
# 964 "/usr/include/stdlib.h" 3 4
13566
# 38 "../../../testing/testing.h" 2
13568
# 1 "/usr/include/string.h" 1 3 4
13569
# 29 "/usr/include/string.h" 3 4
13575
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
13576
# 35 "/usr/include/string.h" 2 3 4
13586
extern void *memcpy (void *__restrict __dest,
13587
__const void *__restrict __src, size_t __n)
13588
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13591
extern void *memmove (void *__dest, __const void *__src, size_t __n)
13592
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13599
extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
13600
int __c, size_t __n)
13601
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13607
extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13610
extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
13611
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13612
# 95 "/usr/include/string.h" 3 4
13613
extern void *memchr (__const void *__s, int __c, size_t __n)
13614
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
13617
# 109 "/usr/include/string.h" 3 4
13618
extern void *rawmemchr (__const void *__s, int __c)
13619
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
13620
# 120 "/usr/include/string.h" 3 4
13621
extern void *memrchr (__const void *__s, int __c, size_t __n)
13622
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
13629
extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
13630
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13632
extern char *strncpy (char *__restrict __dest,
13633
__const char *__restrict __src, size_t __n)
13634
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13637
extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
13638
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13640
extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
13641
size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13644
extern int strcmp (__const char *__s1, __const char *__s2)
13645
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13647
extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
13648
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13651
extern int strcoll (__const char *__s1, __const char *__s2)
13652
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13654
extern size_t strxfrm (char *__restrict __dest,
13655
__const char *__restrict __src, size_t __n)
13656
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13658
# 165 "/usr/include/string.h" 3 4
13659
extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l)
13660
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
13662
extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
13663
__locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
13669
extern char *strdup (__const char *__s)
13670
__attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
13677
extern char *strndup (__const char *__string, size_t __n)
13678
__attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
13679
# 210 "/usr/include/string.h" 3 4
13681
# 235 "/usr/include/string.h" 3 4
13682
extern char *strchr (__const char *__s, int __c)
13683
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
13684
# 262 "/usr/include/string.h" 3 4
13685
extern char *strrchr (__const char *__s, int __c)
13686
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
13689
# 276 "/usr/include/string.h" 3 4
13690
extern char *strchrnul (__const char *__s, int __c)
13691
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
13698
extern size_t strcspn (__const char *__s, __const char *__reject)
13699
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13702
extern size_t strspn (__const char *__s, __const char *__accept)
13703
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13704
# 314 "/usr/include/string.h" 3 4
13705
extern char *strpbrk (__const char *__s, __const char *__accept)
13706
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13707
# 342 "/usr/include/string.h" 3 4
13708
extern char *strstr (__const char *__haystack, __const char *__needle)
13709
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13714
extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
13715
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13720
extern char *__strtok_r (char *__restrict __s,
13721
__const char *__restrict __delim,
13722
char **__restrict __save_ptr)
13723
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
13725
extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
13726
char **__restrict __save_ptr)
13727
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
13728
# 373 "/usr/include/string.h" 3 4
13729
extern char *strcasestr (__const char *__haystack, __const char *__needle)
13730
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13738
extern void *memmem (__const void *__haystack, size_t __haystacklen,
13739
__const void *__needle, size_t __needlelen)
13740
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3)));
13744
extern void *__mempcpy (void *__restrict __dest,
13745
__const void *__restrict __src, size_t __n)
13746
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13747
extern void *mempcpy (void *__restrict __dest,
13748
__const void *__restrict __src, size_t __n)
13749
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13755
extern size_t strlen (__const char *__s)
13756
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
13762
extern size_t strnlen (__const char *__string, size_t __maxlen)
13763
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
13769
extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
13771
# 438 "/usr/include/string.h" 3 4
13772
extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
13773
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13779
extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__));
13785
extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13789
extern void bcopy (__const void *__src, void *__dest, size_t __n)
13790
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13793
extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13796
extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
13797
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13798
# 489 "/usr/include/string.h" 3 4
13799
extern char *index (__const char *__s, int __c)
13800
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
13801
# 517 "/usr/include/string.h" 3 4
13802
extern char *rindex (__const char *__s, int __c)
13803
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
13808
extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
13813
extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
13815
__extension__ extern int ffsll (long long int __ll)
13816
__attribute__ ((__nothrow__)) __attribute__ ((__const__));
13821
extern int strcasecmp (__const char *__s1, __const char *__s2)
13822
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13825
extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
13826
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13832
extern int strcasecmp_l (__const char *__s1, __const char *__s2,
13834
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
13836
extern int strncasecmp_l (__const char *__s1, __const char *__s2,
13837
size_t __n, __locale_t __loc)
13838
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4)));
13844
extern char *strsep (char **__restrict __stringp,
13845
__const char *__restrict __delim)
13846
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13851
extern char *strsignal (int __sig) __attribute__ ((__nothrow__));
13854
extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src)
13855
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13856
extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src)
13857
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13861
extern char *__stpncpy (char *__restrict __dest,
13862
__const char *__restrict __src, size_t __n)
13863
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13864
extern char *stpncpy (char *__restrict __dest,
13865
__const char *__restrict __src, size_t __n)
13866
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13871
extern int strverscmp (__const char *__s1, __const char *__s2)
13872
__attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13875
extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13878
extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13879
# 606 "/usr/include/string.h" 3 4
13880
extern char *basename (__const char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13881
# 634 "/usr/include/string.h" 3 4
13882
# 1 "/usr/include/bits/string.h" 1 3 4
13883
# 635 "/usr/include/string.h" 2 3 4
13886
# 1 "/usr/include/bits/string2.h" 1 3 4
13887
# 394 "/usr/include/bits/string2.h" 3 4
13888
extern void *__rawmemchr (const void *__s, int __c);
13889
# 969 "/usr/include/bits/string2.h" 3 4
13890
extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
13891
extern __inline size_t
13892
__strcspn_c1 (__const char *__s, int __reject)
13894
register size_t __result = 0;
13895
while (__s[__result] != '\0' && __s[__result] != __reject)
13900
extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
13902
extern __inline size_t
13903
__strcspn_c2 (__const char *__s, int __reject1, int __reject2)
13905
register size_t __result = 0;
13906
while (__s[__result] != '\0' && __s[__result] != __reject1
13907
&& __s[__result] != __reject2)
13912
extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
13913
int __reject2, int __reject3);
13914
extern __inline size_t
13915
__strcspn_c3 (__const char *__s, int __reject1, int __reject2,
13918
register size_t __result = 0;
13919
while (__s[__result] != '\0' && __s[__result] != __reject1
13920
&& __s[__result] != __reject2 && __s[__result] != __reject3)
13924
# 1045 "/usr/include/bits/string2.h" 3 4
13925
extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
13926
extern __inline size_t
13927
__strspn_c1 (__const char *__s, int __accept)
13929
register size_t __result = 0;
13931
while (__s[__result] == __accept)
13936
extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
13938
extern __inline size_t
13939
__strspn_c2 (__const char *__s, int __accept1, int __accept2)
13941
register size_t __result = 0;
13943
while (__s[__result] == __accept1 || __s[__result] == __accept2)
13948
extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
13949
int __accept2, int __accept3);
13950
extern __inline size_t
13951
__strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
13953
register size_t __result = 0;
13955
while (__s[__result] == __accept1 || __s[__result] == __accept2
13956
|| __s[__result] == __accept3)
13960
# 1121 "/usr/include/bits/string2.h" 3 4
13961
extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
13963
extern __inline char *
13964
__strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
13967
while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
13969
return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
13972
extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
13973
int __accept2, int __accept3);
13974
extern __inline char *
13975
__strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
13979
while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
13980
&& *__s != __accept3)
13982
return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
13984
# 1172 "/usr/include/bits/string2.h" 3 4
13985
extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
13986
extern __inline char *
13987
__strtok_r_1c (char *__s, char __sep, char **__nextp)
13990
if (__s == ((void *)0))
13992
while (*__s == __sep)
13994
__result = ((void *)0);
13998
while (*__s != '\0')
13999
if (*__s++ == __sep)
14008
# 1204 "/usr/include/bits/string2.h" 3 4
14009
extern char *__strsep_g (char **__stringp, __const char *__delim);
14010
# 1222 "/usr/include/bits/string2.h" 3 4
14011
extern __inline char *__strsep_1c (char **__s, char __reject);
14012
extern __inline char *
14013
__strsep_1c (char **__s, char __reject)
14015
register char *__retval = *__s;
14016
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))
14021
extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
14022
extern __inline char *
14023
__strsep_2c (char **__s, char __reject1, char __reject2)
14025
register char *__retval = *__s;
14026
if (__retval != ((void *)0))
14028
register char *__cp = __retval;
14033
__cp = ((void *)0);
14036
if (*__cp == __reject1 || *__cp == __reject2)
14048
extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
14050
extern __inline char *
14051
__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
14053
register char *__retval = *__s;
14054
if (__retval != ((void *)0))
14056
register char *__cp = __retval;
14061
__cp = ((void *)0);
14064
if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
14075
# 1303 "/usr/include/bits/string2.h" 3 4
14076
extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
14077
# 1322 "/usr/include/bits/string2.h" 3 4
14078
extern char *__strndup (__const char *__string, size_t __n)
14079
__attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
14080
# 638 "/usr/include/string.h" 2 3 4
14085
# 1 "/usr/include/bits/string3.h" 1 3 4
14086
# 23 "/usr/include/bits/string3.h" 3 4
14087
extern void __warn_memset_zero_len (void) __attribute__((__warning__ ("memset used with constant zero length parameter; this could be due to transposed parameters")))
14089
# 48 "/usr/include/bits/string3.h" 3 4
14090
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void *
14091
__attribute__ ((__nothrow__)) memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len)
14094
return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
14097
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void *
14098
__attribute__ ((__nothrow__)) memmove (void *__dest, __const void *__src, size_t __len)
14100
return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
14104
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void *
14105
__attribute__ ((__nothrow__)) mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len)
14108
return __builtin___mempcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
14110
# 76 "/usr/include/bits/string3.h" 3 4
14111
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void *
14112
__attribute__ ((__nothrow__)) memset (void *__dest, int __ch, size_t __len)
14114
if (__builtin_constant_p (__len) && __len == 0
14115
&& (!__builtin_constant_p (__ch) || __ch != 0))
14117
__warn_memset_zero_len ();
14120
return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0));
14124
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void
14125
__attribute__ ((__nothrow__)) bcopy (__const void *__src, void *__dest, size_t __len)
14127
(void) __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
14130
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void
14131
__attribute__ ((__nothrow__)) bzero (void *__dest, size_t __len)
14133
(void) __builtin___memset_chk (__dest, '\0', __len, __builtin_object_size (__dest, 0));
14137
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
14138
__attribute__ ((__nothrow__)) strcpy (char *__restrict __dest, __const char *__restrict __src)
14140
return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
14144
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
14145
__attribute__ ((__nothrow__)) stpcpy (char *__restrict __dest, __const char *__restrict __src)
14147
return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
14152
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
14153
__attribute__ ((__nothrow__)) strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __len)
14156
return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
14160
extern char *__stpncpy_chk (char *__dest, __const char *__src, size_t __n,
14161
size_t __destlen) __attribute__ ((__nothrow__));
14162
extern char *__stpncpy_alias (char *__dest, __const char *__src, size_t __n) __asm__ ("" "stpncpy") __attribute__ ((__nothrow__))
14166
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
14167
__attribute__ ((__nothrow__)) stpncpy (char *__dest, __const char *__src, size_t __n)
14169
if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1
14170
&& (!__builtin_constant_p (__n) || __n <= __builtin_object_size (__dest, 2 > 1)))
14171
return __stpncpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1));
14172
return __stpncpy_alias (__dest, __src, __n);
14176
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
14177
__attribute__ ((__nothrow__)) strcat (char *__restrict __dest, __const char *__restrict __src)
14179
return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
14183
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
14184
__attribute__ ((__nothrow__)) strncat (char *__restrict __dest, __const char *__restrict __src, size_t __len)
14187
return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
14189
# 643 "/usr/include/string.h" 2 3 4
14194
# 40 "../../../testing/testing.h" 2
14195
# 1 "/usr/include/unistd.h" 1 3 4
14196
# 28 "/usr/include/unistd.h" 3 4
14198
# 203 "/usr/include/unistd.h" 3 4
14199
# 1 "/usr/include/bits/posix_opt.h" 1 3 4
14200
# 204 "/usr/include/unistd.h" 2 3 4
14204
# 1 "/usr/include/bits/environments.h" 1 3 4
14205
# 23 "/usr/include/bits/environments.h" 3 4
14206
# 1 "/usr/include/bits/wordsize.h" 1 3 4
14207
# 24 "/usr/include/bits/environments.h" 2 3 4
14208
# 208 "/usr/include/unistd.h" 2 3 4
14209
# 227 "/usr/include/unistd.h" 3 4
14210
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
14211
# 228 "/usr/include/unistd.h" 2 3 4
14212
# 268 "/usr/include/unistd.h" 3 4
14213
typedef __intptr_t intptr_t;
14220
typedef __socklen_t socklen_t;
14221
# 288 "/usr/include/unistd.h" 3 4
14222
extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
14227
extern int euidaccess (__const char *__name, int __type)
14228
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
14231
extern int eaccess (__const char *__name, int __type)
14232
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
14239
extern int faccessat (int __fd, __const char *__file, int __type, int __flag)
14240
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
14241
# 331 "/usr/include/unistd.h" 3 4
14242
extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__));
14243
# 342 "/usr/include/unistd.h" 3 4
14244
extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence)
14245
__attribute__ ((__nothrow__));
14252
extern int close (int __fd);
14259
extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __attribute__ ((__warn_unused_result__));
14265
extern ssize_t write (int __fd, __const void *__buf, size_t __n) __attribute__ ((__warn_unused_result__));
14266
# 373 "/usr/include/unistd.h" 3 4
14267
extern ssize_t pread (int __fd, void *__buf, size_t __nbytes,
14268
__off_t __offset) __attribute__ ((__warn_unused_result__));
14275
extern ssize_t pwrite (int __fd, __const void *__buf, size_t __n,
14276
__off_t __offset) __attribute__ ((__warn_unused_result__));
14277
# 401 "/usr/include/unistd.h" 3 4
14278
extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes,
14279
__off64_t __offset) __attribute__ ((__warn_unused_result__));
14282
extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n,
14283
__off64_t __offset) __attribute__ ((__warn_unused_result__));
14291
extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14296
extern int pipe2 (int __pipedes[2], int __flags) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14297
# 429 "/usr/include/unistd.h" 3 4
14298
extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__));
14299
# 441 "/usr/include/unistd.h" 3 4
14300
extern unsigned int sleep (unsigned int __seconds);
14308
extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval)
14309
__attribute__ ((__nothrow__));
14316
extern int usleep (__useconds_t __useconds);
14317
# 466 "/usr/include/unistd.h" 3 4
14318
extern int pause (void);
14322
extern int chown (__const char *__file, __uid_t __owner, __gid_t __group)
14323
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14327
extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14332
extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group)
14333
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14340
extern int fchownat (int __fd, __const char *__file, __uid_t __owner,
14341
__gid_t __group, int __flag)
14342
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
14346
extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14350
extern int fchdir (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14351
# 508 "/usr/include/unistd.h" 3 4
14352
extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14358
extern char *get_current_dir_name (void) __attribute__ ((__nothrow__));
14366
extern char *getwd (char *__buf)
14367
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__));
14372
extern int dup (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14375
extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__));
14380
extern int dup3 (int __fd, int __fd2, int __flags) __attribute__ ((__nothrow__));
14384
extern char **__environ;
14386
extern char **environ;
14392
extern int execve (__const char *__path, char *__const __argv[],
14393
char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14398
extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[])
14399
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
14404
extern int execv (__const char *__path, char *__const __argv[])
14405
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14409
extern int execle (__const char *__path, __const char *__arg, ...)
14410
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14414
extern int execl (__const char *__path, __const char *__arg, ...)
14415
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14419
extern int execvp (__const char *__file, char *__const __argv[])
14420
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14425
extern int execlp (__const char *__file, __const char *__arg, ...)
14426
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14431
extern int execvpe (__const char *__file, char *__const __argv[],
14432
char *__const __envp[])
14433
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14439
extern int nice (int __inc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14444
extern void _exit (int __status) __attribute__ ((__noreturn__));
14450
# 1 "/usr/include/bits/confname.h" 1 3 4
14451
# 26 "/usr/include/bits/confname.h" 3 4
14466
_PC_CHOWN_RESTRICTED,
14482
_PC_REC_INCR_XFER_SIZE,
14484
_PC_REC_MAX_XFER_SIZE,
14486
_PC_REC_MIN_XFER_SIZE,
14488
_PC_REC_XFER_ALIGN,
14490
_PC_ALLOC_SIZE_MIN,
14519
_SC_REALTIME_SIGNALS,
14521
_SC_PRIORITY_SCHEDULING,
14525
_SC_ASYNCHRONOUS_IO,
14527
_SC_PRIORITIZED_IO,
14529
_SC_SYNCHRONIZED_IO,
14539
_SC_MEMORY_PROTECTION,
14541
_SC_MESSAGE_PASSING,
14545
_SC_SHARED_MEMORY_OBJECTS,
14547
_SC_AIO_LISTIO_MAX,
14551
_SC_AIO_PRIO_DELTA_MAX,
14553
_SC_DELAYTIMER_MAX,
14585
_SC_COLL_WEIGHTS_MAX,
14587
_SC_EQUIV_CLASS_MAX,
14595
_SC_CHARCLASS_NAME_MAX,
14629
_SC_IOV_MAX = _SC_UIO_MAXIOV,
14631
_SC_PII_INTERNET_STREAM,
14633
_SC_PII_INTERNET_DGRAM,
14647
_SC_THREAD_SAFE_FUNCTIONS,
14649
_SC_GETGR_R_SIZE_MAX,
14651
_SC_GETPW_R_SIZE_MAX,
14653
_SC_LOGIN_NAME_MAX,
14657
_SC_THREAD_DESTRUCTOR_ITERATIONS,
14659
_SC_THREAD_KEYS_MAX,
14661
_SC_THREAD_STACK_MIN,
14663
_SC_THREAD_THREADS_MAX,
14665
_SC_THREAD_ATTR_STACKADDR,
14667
_SC_THREAD_ATTR_STACKSIZE,
14669
_SC_THREAD_PRIORITY_SCHEDULING,
14671
_SC_THREAD_PRIO_INHERIT,
14673
_SC_THREAD_PRIO_PROTECT,
14675
_SC_THREAD_PROCESS_SHARED,
14678
_SC_NPROCESSORS_CONF,
14680
_SC_NPROCESSORS_ONLN,
14693
_SC_XOPEN_XCU_VERSION,
14699
_SC_XOPEN_ENH_I18N,
14768
_SC_XBS5_ILP32_OFF32,
14770
_SC_XBS5_ILP32_OFFBIG,
14772
_SC_XBS5_LP64_OFF64,
14774
_SC_XBS5_LPBIG_OFFBIG,
14779
_SC_XOPEN_REALTIME,
14781
_SC_XOPEN_REALTIME_THREADS,
14790
_SC_C_LANG_SUPPORT,
14792
_SC_C_LANG_SUPPORT_R,
14794
_SC_CLOCK_SELECTION,
14798
_SC_THREAD_CPUTIME,
14802
_SC_DEVICE_SPECIFIC,
14804
_SC_DEVICE_SPECIFIC_R,
14812
_SC_FILE_ATTRIBUTES,
14818
_SC_MONOTONIC_CLOCK,
14822
_SC_SINGLE_PROCESS,
14826
_SC_READER_WRITER_LOCKS,
14840
_SC_SPORADIC_SERVER,
14842
_SC_THREAD_SPORADIC_SERVER,
14844
_SC_SYSTEM_DATABASE,
14846
_SC_SYSTEM_DATABASE_R,
14850
_SC_TYPED_MEMORY_OBJECTS,
14858
_SC_2_PBS_ACCOUNTING,
14870
_SC_2_PBS_CHECKPOINT,
14873
_SC_V6_ILP32_OFF32,
14875
_SC_V6_ILP32_OFFBIG,
14879
_SC_V6_LPBIG_OFFBIG,
14886
_SC_TRACE_EVENT_FILTER,
14893
_SC_LEVEL1_ICACHE_SIZE,
14895
_SC_LEVEL1_ICACHE_ASSOC,
14897
_SC_LEVEL1_ICACHE_LINESIZE,
14899
_SC_LEVEL1_DCACHE_SIZE,
14901
_SC_LEVEL1_DCACHE_ASSOC,
14903
_SC_LEVEL1_DCACHE_LINESIZE,
14905
_SC_LEVEL2_CACHE_SIZE,
14907
_SC_LEVEL2_CACHE_ASSOC,
14909
_SC_LEVEL2_CACHE_LINESIZE,
14911
_SC_LEVEL3_CACHE_SIZE,
14913
_SC_LEVEL3_CACHE_ASSOC,
14915
_SC_LEVEL3_CACHE_LINESIZE,
14917
_SC_LEVEL4_CACHE_SIZE,
14919
_SC_LEVEL4_CACHE_ASSOC,
14921
_SC_LEVEL4_CACHE_LINESIZE,
14925
_SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
14930
_SC_V7_ILP32_OFF32,
14932
_SC_V7_ILP32_OFFBIG,
14936
_SC_V7_LPBIG_OFFBIG,
14942
_SC_TRACE_EVENT_NAME_MAX,
14944
_SC_TRACE_NAME_MAX,
14948
_SC_TRACE_USER_EVENT_MAX,
14954
_SC_THREAD_ROBUST_PRIO_INHERIT,
14956
_SC_THREAD_ROBUST_PRIO_PROTECT
14966
_CS_V6_WIDTH_RESTRICTED_ENVS,
14970
_CS_GNU_LIBC_VERSION,
14972
_CS_GNU_LIBPTHREAD_VERSION,
14975
_CS_V5_WIDTH_RESTRICTED_ENVS,
14979
_CS_V7_WIDTH_RESTRICTED_ENVS,
14983
_CS_LFS_CFLAGS = 1000,
14997
_CS_LFS64_LINTFLAGS,
15000
_CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
15002
_CS_XBS5_ILP32_OFF32_LDFLAGS,
15004
_CS_XBS5_ILP32_OFF32_LIBS,
15006
_CS_XBS5_ILP32_OFF32_LINTFLAGS,
15008
_CS_XBS5_ILP32_OFFBIG_CFLAGS,
15010
_CS_XBS5_ILP32_OFFBIG_LDFLAGS,
15012
_CS_XBS5_ILP32_OFFBIG_LIBS,
15014
_CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
15016
_CS_XBS5_LP64_OFF64_CFLAGS,
15018
_CS_XBS5_LP64_OFF64_LDFLAGS,
15020
_CS_XBS5_LP64_OFF64_LIBS,
15022
_CS_XBS5_LP64_OFF64_LINTFLAGS,
15024
_CS_XBS5_LPBIG_OFFBIG_CFLAGS,
15026
_CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
15028
_CS_XBS5_LPBIG_OFFBIG_LIBS,
15030
_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
15033
_CS_POSIX_V6_ILP32_OFF32_CFLAGS,
15035
_CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
15037
_CS_POSIX_V6_ILP32_OFF32_LIBS,
15039
_CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
15041
_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
15043
_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
15045
_CS_POSIX_V6_ILP32_OFFBIG_LIBS,
15047
_CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
15049
_CS_POSIX_V6_LP64_OFF64_CFLAGS,
15051
_CS_POSIX_V6_LP64_OFF64_LDFLAGS,
15053
_CS_POSIX_V6_LP64_OFF64_LIBS,
15055
_CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
15057
_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
15059
_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
15061
_CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
15063
_CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS,
15066
_CS_POSIX_V7_ILP32_OFF32_CFLAGS,
15068
_CS_POSIX_V7_ILP32_OFF32_LDFLAGS,
15070
_CS_POSIX_V7_ILP32_OFF32_LIBS,
15072
_CS_POSIX_V7_ILP32_OFF32_LINTFLAGS,
15074
_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS,
15076
_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS,
15078
_CS_POSIX_V7_ILP32_OFFBIG_LIBS,
15080
_CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS,
15082
_CS_POSIX_V7_LP64_OFF64_CFLAGS,
15084
_CS_POSIX_V7_LP64_OFF64_LDFLAGS,
15086
_CS_POSIX_V7_LP64_OFF64_LIBS,
15088
_CS_POSIX_V7_LP64_OFF64_LINTFLAGS,
15090
_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS,
15092
_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS,
15094
_CS_POSIX_V7_LPBIG_OFFBIG_LIBS,
15096
_CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS,
15104
# 607 "/usr/include/unistd.h" 2 3 4
15107
extern long int pathconf (__const char *__path, int __name)
15108
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
15111
extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__));
15114
extern long int sysconf (int __name) __attribute__ ((__nothrow__));
15118
extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__));
15123
extern __pid_t getpid (void) __attribute__ ((__nothrow__));
15126
extern __pid_t getppid (void) __attribute__ ((__nothrow__));
15131
extern __pid_t getpgrp (void) __attribute__ ((__nothrow__));
15132
# 643 "/usr/include/unistd.h" 3 4
15133
extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__));
15135
extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__));
15142
extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__));
15143
# 669 "/usr/include/unistd.h" 3 4
15144
extern int setpgrp (void) __attribute__ ((__nothrow__));
15145
# 686 "/usr/include/unistd.h" 3 4
15146
extern __pid_t setsid (void) __attribute__ ((__nothrow__));
15150
extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__));
15154
extern __uid_t getuid (void) __attribute__ ((__nothrow__));
15157
extern __uid_t geteuid (void) __attribute__ ((__nothrow__));
15160
extern __gid_t getgid (void) __attribute__ ((__nothrow__));
15163
extern __gid_t getegid (void) __attribute__ ((__nothrow__));
15168
extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
15172
extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__));
15179
extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__));
15184
extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__));
15189
extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__));
15196
extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__));
15201
extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__));
15206
extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__));
15212
extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid)
15213
__attribute__ ((__nothrow__));
15217
extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid)
15218
__attribute__ ((__nothrow__));
15222
extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid)
15223
__attribute__ ((__nothrow__));
15227
extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid)
15228
__attribute__ ((__nothrow__));
15235
extern __pid_t fork (void) __attribute__ ((__nothrow__));
15243
extern __pid_t vfork (void) __attribute__ ((__nothrow__));
15249
extern char *ttyname (int __fd) __attribute__ ((__nothrow__));
15253
extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
15254
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
15258
extern int isatty (int __fd) __attribute__ ((__nothrow__));
15264
extern int ttyslot (void) __attribute__ ((__nothrow__));
15269
extern int link (__const char *__from, __const char *__to)
15270
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
15275
extern int linkat (int __fromfd, __const char *__from, int __tofd,
15276
__const char *__to, int __flags)
15277
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))) __attribute__ ((__warn_unused_result__));
15282
extern int symlink (__const char *__from, __const char *__to)
15283
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
15288
extern ssize_t readlink (__const char *__restrict __path,
15289
char *__restrict __buf, size_t __len)
15290
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
15295
extern int symlinkat (__const char *__from, int __tofd,
15296
__const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
15299
extern ssize_t readlinkat (int __fd, __const char *__restrict __path,
15300
char *__restrict __buf, size_t __len)
15301
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__));
15305
extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
15309
extern int unlinkat (int __fd, __const char *__name, int __flag)
15310
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
15314
extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
15318
extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__));
15321
extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__));
15328
extern char *getlogin (void);
15336
extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1)));
15341
extern int setlogin (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
15342
# 890 "/usr/include/unistd.h" 3 4
15343
# 1 "/usr/include/getopt.h" 1 3 4
15344
# 59 "/usr/include/getopt.h" 3 4
15345
extern char *optarg;
15346
# 73 "/usr/include/getopt.h" 3 4
15357
# 152 "/usr/include/getopt.h" 3 4
15358
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
15359
__attribute__ ((__nothrow__));
15360
# 891 "/usr/include/unistd.h" 2 3 4
15368
extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
15375
extern int sethostname (__const char *__name, size_t __len)
15376
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
15380
extern int sethostid (long int __id) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
15386
extern int getdomainname (char *__name, size_t __len)
15387
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
15388
extern int setdomainname (__const char *__name, size_t __len)
15389
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
15395
extern int vhangup (void) __attribute__ ((__nothrow__));
15398
extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
15406
extern int profil (unsigned short int *__sample_buffer, size_t __size,
15407
size_t __offset, unsigned int __scale)
15408
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
15414
extern int acct (__const char *__name) __attribute__ ((__nothrow__));
15418
extern char *getusershell (void) __attribute__ ((__nothrow__));
15419
extern void endusershell (void) __attribute__ ((__nothrow__));
15420
extern void setusershell (void) __attribute__ ((__nothrow__));
15426
extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
15433
extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
15437
extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1)));
15438
# 976 "/usr/include/unistd.h" 3 4
15439
extern int fsync (int __fd);
15446
extern long int gethostid (void);
15449
extern void sync (void) __attribute__ ((__nothrow__));
15455
extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
15460
extern int getdtablesize (void) __attribute__ ((__nothrow__));
15461
# 1007 "/usr/include/unistd.h" 3 4
15462
extern int truncate (__const char *__file, __off_t __length)
15463
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
15464
# 1019 "/usr/include/unistd.h" 3 4
15465
extern int truncate64 (__const char *__file, __off64_t __length)
15466
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
15467
# 1029 "/usr/include/unistd.h" 3 4
15468
extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
15469
# 1039 "/usr/include/unistd.h" 3 4
15470
extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
15471
# 1050 "/usr/include/unistd.h" 3 4
15472
extern int brk (void *__addr) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
15478
extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__));
15479
# 1071 "/usr/include/unistd.h" 3 4
15480
extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__));
15481
# 1094 "/usr/include/unistd.h" 3 4
15482
extern int lockf (int __fd, int __cmd, __off_t __len) __attribute__ ((__warn_unused_result__));
15483
# 1104 "/usr/include/unistd.h" 3 4
15484
extern int lockf64 (int __fd, int __cmd, __off64_t __len) __attribute__ ((__warn_unused_result__));
15485
# 1125 "/usr/include/unistd.h" 3 4
15486
extern int fdatasync (int __fildes);
15494
extern char *crypt (__const char *__key, __const char *__salt)
15495
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
15499
extern void encrypt (char *__libc_block, int __edflag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
15506
extern void swab (__const void *__restrict __from, void *__restrict __to,
15507
ssize_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
15515
extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
15521
# 1 "/usr/include/bits/unistd.h" 1 3 4
15522
# 24 "/usr/include/bits/unistd.h" 3 4
15523
extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes,
15524
size_t __buflen) __attribute__ ((__warn_unused_result__));
15525
extern ssize_t __read_alias (int __fd, void *__buf, size_t __nbytes) __asm__ ("" "read")
15526
__attribute__ ((__warn_unused_result__));
15527
extern ssize_t __read_chk_warn (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __asm__ ("" "__read_chk")
15530
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("read called with bigger length than size of " "the destination buffer")))
15533
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
15534
read (int __fd, void *__buf, size_t __nbytes)
15536
if (__builtin_object_size (__buf, 0) != (size_t) -1)
15538
if (!__builtin_constant_p (__nbytes))
15539
return __read_chk (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0));
15541
if (__nbytes > __builtin_object_size (__buf, 0))
15542
return __read_chk_warn (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0));
15544
return __read_alias (__fd, __buf, __nbytes);
15548
extern ssize_t __pread_chk (int __fd, void *__buf, size_t __nbytes,
15549
__off_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__));
15550
extern ssize_t __pread64_chk (int __fd, void *__buf, size_t __nbytes,
15551
__off64_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__));
15552
extern ssize_t __pread_alias (int __fd, void *__buf, size_t __nbytes, __off_t __offset) __asm__ ("" "pread")
15554
__attribute__ ((__warn_unused_result__));
15555
extern ssize_t __pread64_alias (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64")
15557
__attribute__ ((__warn_unused_result__));
15558
extern ssize_t __pread_chk_warn (int __fd, void *__buf, size_t __nbytes, __off_t __offset, size_t __bufsize) __asm__ ("" "__pread_chk")
15561
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread called with bigger length than size of " "the destination buffer")))
15563
extern ssize_t __pread64_chk_warn (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize) __asm__ ("" "__pread64_chk")
15567
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread64 called with bigger length than size of " "the destination buffer")))
15571
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
15572
pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset)
15574
if (__builtin_object_size (__buf, 0) != (size_t) -1)
15576
if (!__builtin_constant_p (__nbytes))
15577
return __pread_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0));
15579
if ( __nbytes > __builtin_object_size (__buf, 0))
15580
return __pread_chk_warn (__fd, __buf, __nbytes, __offset,
15581
__builtin_object_size (__buf, 0));
15583
return __pread_alias (__fd, __buf, __nbytes, __offset);
15585
# 105 "/usr/include/bits/unistd.h" 3 4
15586
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
15587
pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
15589
if (__builtin_object_size (__buf, 0) != (size_t) -1)
15591
if (!__builtin_constant_p (__nbytes))
15592
return __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0));
15594
if ( __nbytes > __builtin_object_size (__buf, 0))
15595
return __pread64_chk_warn (__fd, __buf, __nbytes, __offset,
15596
__builtin_object_size (__buf, 0));
15599
return __pread64_alias (__fd, __buf, __nbytes, __offset);
15605
extern ssize_t __readlink_chk (__const char *__restrict __path,
15606
char *__restrict __buf, size_t __len,
15608
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
15609
extern ssize_t __readlink_alias (__const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlink") __attribute__ ((__nothrow__))
15612
__attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
15613
extern ssize_t __readlink_chk_warn (__const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlink_chk") __attribute__ ((__nothrow__))
15617
__attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlink called with bigger length " "than size of destination buffer")))
15620
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) ssize_t
15621
__attribute__ ((__nothrow__)) readlink (__const char *__restrict __path, char *__restrict __buf, size_t __len)
15624
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15626
if (!__builtin_constant_p (__len))
15627
return __readlink_chk (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1));
15629
if ( __len > __builtin_object_size (__buf, 2 > 1))
15630
return __readlink_chk_warn (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1));
15632
return __readlink_alias (__path, __buf, __len);
15637
extern ssize_t __readlinkat_chk (int __fd, __const char *__restrict __path,
15638
char *__restrict __buf, size_t __len,
15640
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__));
15641
extern ssize_t __readlinkat_alias (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlinkat") __attribute__ ((__nothrow__))
15645
__attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__));
15646
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__))
15650
__attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlinkat called with bigger " "length than size of destination " "buffer")))
15654
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) ssize_t
15655
__attribute__ ((__nothrow__)) readlinkat (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len)
15658
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15660
if (!__builtin_constant_p (__len))
15661
return __readlinkat_chk (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1));
15663
if (__len > __builtin_object_size (__buf, 2 > 1))
15664
return __readlinkat_chk_warn (__fd, __path, __buf, __len,
15665
__builtin_object_size (__buf, 2 > 1));
15667
return __readlinkat_alias (__fd, __path, __buf, __len);
15671
extern char *__getcwd_chk (char *__buf, size_t __size, size_t __buflen)
15672
__attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
15673
extern char *__getcwd_alias (char *__buf, size_t __size) __asm__ ("" "getcwd") __attribute__ ((__nothrow__))
15674
__attribute__ ((__warn_unused_result__));
15675
extern char *__getcwd_chk_warn (char *__buf, size_t __size, size_t __buflen) __asm__ ("" "__getcwd_chk") __attribute__ ((__nothrow__))
15678
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getcwd caller with bigger length than size of " "destination buffer")))
15681
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
15682
__attribute__ ((__nothrow__)) getcwd (char *__buf, size_t __size)
15684
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15686
if (!__builtin_constant_p (__size))
15687
return __getcwd_chk (__buf, __size, __builtin_object_size (__buf, 2 > 1));
15689
if (__size > __builtin_object_size (__buf, 2 > 1))
15690
return __getcwd_chk_warn (__buf, __size, __builtin_object_size (__buf, 2 > 1));
15692
return __getcwd_alias (__buf, __size);
15696
extern char *__getwd_chk (char *__buf, size_t buflen)
15697
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
15698
extern char *__getwd_warn (char *__buf) __asm__ ("" "getwd") __attribute__ ((__nothrow__))
15699
__attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use getcwd instead, as getwd " "doesn't specify buffer size")))
15702
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)) char *
15703
__attribute__ ((__nothrow__)) getwd (char *__buf)
15705
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15706
return __getwd_chk (__buf, __builtin_object_size (__buf, 2 > 1));
15707
return __getwd_warn (__buf);
15711
extern size_t __confstr_chk (int __name, char *__buf, size_t __len,
15712
size_t __buflen) __attribute__ ((__nothrow__));
15713
extern size_t __confstr_alias (int __name, char *__buf, size_t __len) __asm__ ("" "confstr") __attribute__ ((__nothrow__))
15715
extern size_t __confstr_chk_warn (int __name, char *__buf, size_t __len, size_t __buflen) __asm__ ("" "__confstr_chk") __attribute__ ((__nothrow__))
15718
__attribute__((__warning__ ("confstr called with bigger length than size of destination " "buffer")))
15721
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t
15722
__attribute__ ((__nothrow__)) confstr (int __name, char *__buf, size_t __len)
15724
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15726
if (!__builtin_constant_p (__len))
15727
return __confstr_chk (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1));
15729
if (__builtin_object_size (__buf, 2 > 1) < __len)
15730
return __confstr_chk_warn (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1));
15732
return __confstr_alias (__name, __buf, __len);
15736
extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen)
15737
__attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
15738
extern int __getgroups_alias (int __size, __gid_t __list[]) __asm__ ("" "getgroups") __attribute__ ((__nothrow__))
15739
__attribute__ ((__warn_unused_result__));
15740
extern int __getgroups_chk_warn (int __size, __gid_t __list[], size_t __listlen) __asm__ ("" "__getgroups_chk") __attribute__ ((__nothrow__))
15743
__attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getgroups called with bigger group count than what " "can fit into destination buffer")))
15746
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
15747
__attribute__ ((__nothrow__)) getgroups (int __size, __gid_t __list[])
15749
if (__builtin_object_size (__list, 2 > 1) != (size_t) -1)
15751
if (!__builtin_constant_p (__size) || __size < 0)
15752
return __getgroups_chk (__size, __list, __builtin_object_size (__list, 2 > 1));
15754
if (__size * sizeof (__gid_t) > __builtin_object_size (__list, 2 > 1))
15755
return __getgroups_chk_warn (__size, __list, __builtin_object_size (__list, 2 > 1));
15757
return __getgroups_alias (__size, __list);
15761
extern int __ttyname_r_chk (int __fd, char *__buf, size_t __buflen,
15762
size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
15763
extern int __ttyname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ttyname_r") __attribute__ ((__nothrow__))
15765
__attribute__ ((__nonnull__ (2)));
15766
extern int __ttyname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ttyname_r_chk") __attribute__ ((__nothrow__))
15769
__attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ttyname_r called with bigger buflen than " "size of destination buffer")))
15772
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
15773
__attribute__ ((__nothrow__)) ttyname_r (int __fd, char *__buf, size_t __buflen)
15775
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15777
if (!__builtin_constant_p (__buflen))
15778
return __ttyname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15780
if (__buflen > __builtin_object_size (__buf, 2 > 1))
15781
return __ttyname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15783
return __ttyname_r_alias (__fd, __buf, __buflen);
15788
extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal)
15789
__attribute__ ((__nonnull__ (1)));
15790
extern int __getlogin_r_alias (char *__buf, size_t __buflen) __asm__ ("" "getlogin_r")
15791
__attribute__ ((__nonnull__ (1)));
15792
extern int __getlogin_r_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getlogin_r_chk")
15795
__attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("getlogin_r called with bigger buflen than " "size of destination buffer")))
15798
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
15799
getlogin_r (char *__buf, size_t __buflen)
15801
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15803
if (!__builtin_constant_p (__buflen))
15804
return __getlogin_r_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15806
if (__buflen > __builtin_object_size (__buf, 2 > 1))
15807
return __getlogin_r_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15809
return __getlogin_r_alias (__buf, __buflen);
15815
extern int __gethostname_chk (char *__buf, size_t __buflen, size_t __nreal)
15816
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
15817
extern int __gethostname_alias (char *__buf, size_t __buflen) __asm__ ("" "gethostname") __attribute__ ((__nothrow__))
15818
__attribute__ ((__nonnull__ (1)));
15819
extern int __gethostname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__gethostname_chk") __attribute__ ((__nothrow__))
15822
__attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("gethostname called with bigger buflen than " "size of destination buffer")))
15825
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
15826
__attribute__ ((__nothrow__)) gethostname (char *__buf, size_t __buflen)
15828
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15830
if (!__builtin_constant_p (__buflen))
15831
return __gethostname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15833
if (__buflen > __builtin_object_size (__buf, 2 > 1))
15834
return __gethostname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15836
return __gethostname_alias (__buf, __buflen);
15842
extern int __getdomainname_chk (char *__buf, size_t __buflen, size_t __nreal)
15843
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
15844
extern int __getdomainname_alias (char *__buf, size_t __buflen) __asm__ ("" "getdomainname") __attribute__ ((__nothrow__))
15846
__attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
15847
extern int __getdomainname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getdomainname_chk") __attribute__ ((__nothrow__))
15850
__attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getdomainname called with bigger " "buflen than size of destination " "buffer")))
15854
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
15855
__attribute__ ((__nothrow__)) getdomainname (char *__buf, size_t __buflen)
15857
if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15859
if (!__builtin_constant_p (__buflen))
15860
return __getdomainname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15862
if (__buflen > __builtin_object_size (__buf, 2 > 1))
15863
return __getdomainname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15865
return __getdomainname_alias (__buf, __buflen);
15867
# 1161 "/usr/include/unistd.h" 2 3 4
15871
# 41 "../../../testing/testing.h" 2
15873
gboolean testing_wait_until (gint timeout);
15875
void testing_wait_stop (void);
15877
const gchar* testing_data_directory (void);
15879
const gchar* testing_scratch_directory (void);
15881
guchar* testing_data_read (const gchar *basename,
15884
void testing_data_to_scratch (const gchar *basename,
15885
const gchar *newname);
15887
gchar* testing_scratch_filename (const gchar *basename);
15889
void testing_scratch_empty (const gchar *basename);
15891
void testing_scratch_touch (const gchar *basename,
15894
void testing_scratch_remove (const gchar *basename);
15896
void testing_scratch_remove_all (void);
15898
gchar* testing_data_filename (const gchar *basename);
15902
void testing_test_p11_module (CK_FUNCTION_LIST_PTR module,
15903
const gchar *config);
15907
typedef void (*TestingExternalFunc) (void);
15909
void testing_external_run (const gchar *name,
15910
TestingExternalFunc func,
15913
const gchar* testing_external_name (void);
15915
void testing_external_fail (void);
15916
# 1 "test-suite.h" 2
15917
# 34 "test-xdg-module.h" 2
15919
void test_xdg_module_leave (void);
15921
void test_xdg_module_enter (void);
15923
GkmModule* test_xdg_module_initialize_and_enter (void);
15925
void test_xdg_module_leave_and_finalize (void);
15927
GkmSession* test_xdg_module_open_session (gboolean writable);
15928
# 27 "test-xdg-trust.c" 2
15930
# 1 "./../../gkm/gkm-module.h" 1
15931
# 29 "./../../gkm/gkm-module.h"
15932
# 1 "./../../gkm/gkm-factory.h" 1
15933
# 29 "./../../gkm/gkm-factory.h"
15934
# 1 "./../../gkm/gkm-types.h" 1
15935
# 30 "./../../gkm/gkm-factory.h" 2
15937
typedef GkmObject* (*GkmFactoryFunc) (GkmSession *session, GkmTransaction *transaction,
15938
CK_ATTRIBUTE_PTR attrs, CK_ULONG n_attrs);
15940
struct _GkmFactory {
15941
CK_ATTRIBUTE_PTR attrs;
15943
GkmFactoryFunc func;
15945
# 30 "./../../gkm/gkm-module.h" 2
15946
# 39 "./../../gkm/gkm-module.h"
15947
typedef struct _GkmModuleClass GkmModuleClass;
15948
typedef struct _GkmModulePrivate GkmModulePrivate;
15950
struct _GkmModule {
15952
CK_FUNCTION_LIST pkcs11_funcs;
15953
GkmModulePrivate *pv;
15956
struct _GkmModuleClass {
15957
GObjectClass parent_class;
15961
void (*parse_argument) (GkmModule *self, const gchar *name, const gchar *value);
15963
const CK_SLOT_INFO* (*get_slot_info) (GkmModule *self);
15965
const CK_TOKEN_INFO* (*get_token_info) (GkmModule *self);
15967
CK_RV (*refresh_token) (GkmModule *self);
15969
void (*add_token_object) (GkmModule *self, GkmTransaction *transaction, GkmObject *object);
15971
void (*store_token_object) (GkmModule *self, GkmTransaction *transaction, GkmObject *object);
15973
void (*remove_token_object) (GkmModule *self, GkmTransaction *transaction, GkmObject *object);
15975
CK_RV (*login_change) (GkmModule *self, CK_SLOT_ID slot_id,
15976
CK_UTF8CHAR_PTR old_pin, CK_ULONG n_old_pin,
15977
CK_UTF8CHAR_PTR new_pin, CK_ULONG n_new_pin);
15979
CK_RV (*login_user) (GkmModule *self, CK_SLOT_ID slot_id,
15980
CK_UTF8CHAR_PTR pin, CK_ULONG n_pin);
15982
CK_RV (*logout_user) (GkmModule *self, CK_SLOT_ID slot_id);
15984
CK_RV (*login_so) (GkmModule *self, CK_SLOT_ID slot_id,
15985
CK_UTF8CHAR_PTR pin, CK_ULONG n_pin);
15987
CK_RV (*logout_so) (GkmModule *self, CK_SLOT_ID slot_id);
15989
# 103 "./../../gkm/gkm-module.h"
15990
GType gkm_module_get_type (void);
15992
GkmManager* gkm_module_get_manager (GkmModule *self);
15994
gboolean gkm_module_get_write_protected (GkmModule *self);
15996
CK_ULONG gkm_module_next_handle (GkmModule *self);
15998
GkmSession* gkm_module_lookup_session (GkmModule *self,
15999
CK_SESSION_HANDLE handle);
16001
CK_RV gkm_module_login_change (GkmModule *self,
16002
CK_SLOT_ID slot_id,
16003
CK_UTF8CHAR_PTR old_pin,
16004
CK_ULONG n_old_pin,
16005
CK_UTF8CHAR_PTR new_pin,
16006
CK_ULONG n_new_pin);
16008
CK_RV gkm_module_login_user (GkmModule *self,
16009
CK_SLOT_ID slot_id,
16010
CK_UTF8CHAR_PTR pin,
16013
CK_RV gkm_module_logout_user (GkmModule *self,
16014
CK_SLOT_ID slot_id);
16016
CK_RV gkm_module_login_so (GkmModule *self,
16017
CK_SLOT_ID slot_id,
16018
CK_UTF8CHAR_PTR pin,
16021
CK_RV gkm_module_logout_so (GkmModule *self,
16022
CK_SLOT_ID slot_id);
16024
CK_RV gkm_module_refresh_token (GkmModule *self);
16026
void gkm_module_add_token_object (GkmModule *self,
16027
GkmTransaction *transaction,
16028
GkmObject *object);
16030
void gkm_module_store_token_object (GkmModule *self,
16031
GkmTransaction *transaction,
16032
GkmObject *object);
16034
void gkm_module_remove_token_object (GkmModule *self,
16035
GkmTransaction *transaction,
16036
GkmObject *object);
16038
GkmFactory* gkm_module_find_factory (GkmModule *self,
16039
CK_ATTRIBUTE_PTR attrs,
16042
void gkm_module_register_factory (GkmModule *self,
16043
GkmFactory *factory);
16045
CK_RV gkm_module_C_GetInfo (GkmModule *self,
16048
CK_RV gkm_module_C_GetSlotList (GkmModule *self,
16049
CK_BBOOL token_present,
16050
CK_SLOT_ID_PTR slot_list,
16051
CK_ULONG_PTR count);
16053
CK_RV gkm_module_C_GetSlotInfo (GkmModule *self,
16055
CK_SLOT_INFO_PTR info);
16057
CK_RV gkm_module_C_GetTokenInfo (GkmModule *self,
16059
CK_TOKEN_INFO_PTR info);
16061
CK_RV gkm_module_C_GetMechanismList (GkmModule *self,
16063
CK_MECHANISM_TYPE_PTR mech_list,
16064
CK_ULONG_PTR count);
16066
CK_RV gkm_module_C_GetMechanismInfo (GkmModule *self,
16068
CK_MECHANISM_TYPE type,
16069
CK_MECHANISM_INFO_PTR info);
16071
CK_RV gkm_module_C_InitToken (GkmModule *self,
16073
CK_UTF8CHAR_PTR pin,
16075
CK_UTF8CHAR_PTR label);
16077
CK_RV gkm_module_C_OpenSession (GkmModule *self,
16080
CK_VOID_PTR user_data,
16081
CK_NOTIFY callback,
16082
CK_SESSION_HANDLE_PTR session);
16084
CK_RV gkm_module_C_CloseSession (GkmModule *self,
16085
CK_SESSION_HANDLE session);
16087
CK_RV gkm_module_C_CloseAllSessions (GkmModule *self,
16090
CK_RV gkm_module_C_InitPIN (GkmModule* self,
16091
CK_SESSION_HANDLE session,
16092
CK_UTF8CHAR_PTR pin,
16095
CK_RV gkm_module_C_SetPIN (GkmModule* self,
16096
CK_SESSION_HANDLE session,
16097
CK_UTF8CHAR_PTR old_pin,
16098
CK_ULONG old_pin_len,
16099
CK_UTF8CHAR_PTR new_pin,
16100
CK_ULONG new_pin_len);
16102
CK_RV gkm_module_C_Login (GkmModule *self,
16103
CK_SESSION_HANDLE session,
16104
CK_USER_TYPE user_type,
16105
CK_UTF8CHAR_PTR pin,
16108
CK_RV gkm_module_C_Logout (GkmModule *self,
16109
CK_SESSION_HANDLE session);
16110
# 29 "test-xdg-trust.c" 2
16111
# 1 "./../../gkm/gkm-session.h" 1
16112
# 27 "./../../gkm/gkm-session.h"
16113
# 1 "./../../gkm/gkm-module.h" 1
16114
# 28 "./../../gkm/gkm-session.h" 2
16115
# 1 "./../../gkm/gkm-manager.h" 1
16116
# 25 "./../../gkm/gkm-manager.h"
16117
# 1 "/usr/include/gcrypt.h" 1 3 4
16118
# 29 "/usr/include/gcrypt.h" 3 4
16119
# 1 "/usr/include/gpg-error.h" 1 3 4
16120
# 26 "/usr/include/gpg-error.h" 3 4
16121
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
16122
# 27 "/usr/include/gpg-error.h" 2 3 4
16123
# 78 "/usr/include/gpg-error.h" 3 4
16126
GPG_ERR_SOURCE_UNKNOWN = 0,
16127
GPG_ERR_SOURCE_GCRYPT = 1,
16128
GPG_ERR_SOURCE_GPG = 2,
16129
GPG_ERR_SOURCE_GPGSM = 3,
16130
GPG_ERR_SOURCE_GPGAGENT = 4,
16131
GPG_ERR_SOURCE_PINENTRY = 5,
16132
GPG_ERR_SOURCE_SCD = 6,
16133
GPG_ERR_SOURCE_GPGME = 7,
16134
GPG_ERR_SOURCE_KEYBOX = 8,
16135
GPG_ERR_SOURCE_KSBA = 9,
16136
GPG_ERR_SOURCE_DIRMNGR = 10,
16137
GPG_ERR_SOURCE_GSTI = 11,
16138
GPG_ERR_SOURCE_GPA = 12,
16139
GPG_ERR_SOURCE_KLEO = 13,
16140
GPG_ERR_SOURCE_G13 = 14,
16141
GPG_ERR_SOURCE_ANY = 31,
16142
GPG_ERR_SOURCE_USER_1 = 32,
16143
GPG_ERR_SOURCE_USER_2 = 33,
16144
GPG_ERR_SOURCE_USER_3 = 34,
16145
GPG_ERR_SOURCE_USER_4 = 35,
16148
GPG_ERR_SOURCE_DIM = 128
16149
} gpg_err_source_t;
16158
GPG_ERR_NO_ERROR = 0,
16159
GPG_ERR_GENERAL = 1,
16160
GPG_ERR_UNKNOWN_PACKET = 2,
16161
GPG_ERR_UNKNOWN_VERSION = 3,
16162
GPG_ERR_PUBKEY_ALGO = 4,
16163
GPG_ERR_DIGEST_ALGO = 5,
16164
GPG_ERR_BAD_PUBKEY = 6,
16165
GPG_ERR_BAD_SECKEY = 7,
16166
GPG_ERR_BAD_SIGNATURE = 8,
16167
GPG_ERR_NO_PUBKEY = 9,
16168
GPG_ERR_CHECKSUM = 10,
16169
GPG_ERR_BAD_PASSPHRASE = 11,
16170
GPG_ERR_CIPHER_ALGO = 12,
16171
GPG_ERR_KEYRING_OPEN = 13,
16172
GPG_ERR_INV_PACKET = 14,
16173
GPG_ERR_INV_ARMOR = 15,
16174
GPG_ERR_NO_USER_ID = 16,
16175
GPG_ERR_NO_SECKEY = 17,
16176
GPG_ERR_WRONG_SECKEY = 18,
16177
GPG_ERR_BAD_KEY = 19,
16178
GPG_ERR_COMPR_ALGO = 20,
16179
GPG_ERR_NO_PRIME = 21,
16180
GPG_ERR_NO_ENCODING_METHOD = 22,
16181
GPG_ERR_NO_ENCRYPTION_SCHEME = 23,
16182
GPG_ERR_NO_SIGNATURE_SCHEME = 24,
16183
GPG_ERR_INV_ATTR = 25,
16184
GPG_ERR_NO_VALUE = 26,
16185
GPG_ERR_NOT_FOUND = 27,
16186
GPG_ERR_VALUE_NOT_FOUND = 28,
16187
GPG_ERR_SYNTAX = 29,
16188
GPG_ERR_BAD_MPI = 30,
16189
GPG_ERR_INV_PASSPHRASE = 31,
16190
GPG_ERR_SIG_CLASS = 32,
16191
GPG_ERR_RESOURCE_LIMIT = 33,
16192
GPG_ERR_INV_KEYRING = 34,
16193
GPG_ERR_TRUSTDB = 35,
16194
GPG_ERR_BAD_CERT = 36,
16195
GPG_ERR_INV_USER_ID = 37,
16196
GPG_ERR_UNEXPECTED = 38,
16197
GPG_ERR_TIME_CONFLICT = 39,
16198
GPG_ERR_KEYSERVER = 40,
16199
GPG_ERR_WRONG_PUBKEY_ALGO = 41,
16200
GPG_ERR_TRIBUTE_TO_D_A = 42,
16201
GPG_ERR_WEAK_KEY = 43,
16202
GPG_ERR_INV_KEYLEN = 44,
16203
GPG_ERR_INV_ARG = 45,
16204
GPG_ERR_BAD_URI = 46,
16205
GPG_ERR_INV_URI = 47,
16206
GPG_ERR_NETWORK = 48,
16207
GPG_ERR_UNKNOWN_HOST = 49,
16208
GPG_ERR_SELFTEST_FAILED = 50,
16209
GPG_ERR_NOT_ENCRYPTED = 51,
16210
GPG_ERR_NOT_PROCESSED = 52,
16211
GPG_ERR_UNUSABLE_PUBKEY = 53,
16212
GPG_ERR_UNUSABLE_SECKEY = 54,
16213
GPG_ERR_INV_VALUE = 55,
16214
GPG_ERR_BAD_CERT_CHAIN = 56,
16215
GPG_ERR_MISSING_CERT = 57,
16216
GPG_ERR_NO_DATA = 58,
16218
GPG_ERR_NOT_SUPPORTED = 60,
16219
GPG_ERR_INV_OP = 61,
16220
GPG_ERR_TIMEOUT = 62,
16221
GPG_ERR_INTERNAL = 63,
16222
GPG_ERR_EOF_GCRYPT = 64,
16223
GPG_ERR_INV_OBJ = 65,
16224
GPG_ERR_TOO_SHORT = 66,
16225
GPG_ERR_TOO_LARGE = 67,
16226
GPG_ERR_NO_OBJ = 68,
16227
GPG_ERR_NOT_IMPLEMENTED = 69,
16228
GPG_ERR_CONFLICT = 70,
16229
GPG_ERR_INV_CIPHER_MODE = 71,
16230
GPG_ERR_INV_FLAG = 72,
16231
GPG_ERR_INV_HANDLE = 73,
16232
GPG_ERR_TRUNCATED = 74,
16233
GPG_ERR_INCOMPLETE_LINE = 75,
16234
GPG_ERR_INV_RESPONSE = 76,
16235
GPG_ERR_NO_AGENT = 77,
16236
GPG_ERR_AGENT = 78,
16237
GPG_ERR_INV_DATA = 79,
16238
GPG_ERR_ASSUAN_SERVER_FAULT = 80,
16239
GPG_ERR_ASSUAN = 81,
16240
GPG_ERR_INV_SESSION_KEY = 82,
16241
GPG_ERR_INV_SEXP = 83,
16242
GPG_ERR_UNSUPPORTED_ALGORITHM = 84,
16243
GPG_ERR_NO_PIN_ENTRY = 85,
16244
GPG_ERR_PIN_ENTRY = 86,
16245
GPG_ERR_BAD_PIN = 87,
16246
GPG_ERR_INV_NAME = 88,
16247
GPG_ERR_BAD_DATA = 89,
16248
GPG_ERR_INV_PARAMETER = 90,
16249
GPG_ERR_WRONG_CARD = 91,
16250
GPG_ERR_NO_DIRMNGR = 92,
16251
GPG_ERR_DIRMNGR = 93,
16252
GPG_ERR_CERT_REVOKED = 94,
16253
GPG_ERR_NO_CRL_KNOWN = 95,
16254
GPG_ERR_CRL_TOO_OLD = 96,
16255
GPG_ERR_LINE_TOO_LONG = 97,
16256
GPG_ERR_NOT_TRUSTED = 98,
16257
GPG_ERR_CANCELED = 99,
16258
GPG_ERR_BAD_CA_CERT = 100,
16259
GPG_ERR_CERT_EXPIRED = 101,
16260
GPG_ERR_CERT_TOO_YOUNG = 102,
16261
GPG_ERR_UNSUPPORTED_CERT = 103,
16262
GPG_ERR_UNKNOWN_SEXP = 104,
16263
GPG_ERR_UNSUPPORTED_PROTECTION = 105,
16264
GPG_ERR_CORRUPTED_PROTECTION = 106,
16265
GPG_ERR_AMBIGUOUS_NAME = 107,
16266
GPG_ERR_CARD = 108,
16267
GPG_ERR_CARD_RESET = 109,
16268
GPG_ERR_CARD_REMOVED = 110,
16269
GPG_ERR_INV_CARD = 111,
16270
GPG_ERR_CARD_NOT_PRESENT = 112,
16271
GPG_ERR_NO_PKCS15_APP = 113,
16272
GPG_ERR_NOT_CONFIRMED = 114,
16273
GPG_ERR_CONFIGURATION = 115,
16274
GPG_ERR_NO_POLICY_MATCH = 116,
16275
GPG_ERR_INV_INDEX = 117,
16276
GPG_ERR_INV_ID = 118,
16277
GPG_ERR_NO_SCDAEMON = 119,
16278
GPG_ERR_SCDAEMON = 120,
16279
GPG_ERR_UNSUPPORTED_PROTOCOL = 121,
16280
GPG_ERR_BAD_PIN_METHOD = 122,
16281
GPG_ERR_CARD_NOT_INITIALIZED = 123,
16282
GPG_ERR_UNSUPPORTED_OPERATION = 124,
16283
GPG_ERR_WRONG_KEY_USAGE = 125,
16284
GPG_ERR_NOTHING_FOUND = 126,
16285
GPG_ERR_WRONG_BLOB_TYPE = 127,
16286
GPG_ERR_MISSING_VALUE = 128,
16287
GPG_ERR_HARDWARE = 129,
16288
GPG_ERR_PIN_BLOCKED = 130,
16289
GPG_ERR_USE_CONDITIONS = 131,
16290
GPG_ERR_PIN_NOT_SYNCED = 132,
16291
GPG_ERR_INV_CRL = 133,
16292
GPG_ERR_BAD_BER = 134,
16293
GPG_ERR_INV_BER = 135,
16294
GPG_ERR_ELEMENT_NOT_FOUND = 136,
16295
GPG_ERR_IDENTIFIER_NOT_FOUND = 137,
16296
GPG_ERR_INV_TAG = 138,
16297
GPG_ERR_INV_LENGTH = 139,
16298
GPG_ERR_INV_KEYINFO = 140,
16299
GPG_ERR_UNEXPECTED_TAG = 141,
16300
GPG_ERR_NOT_DER_ENCODED = 142,
16301
GPG_ERR_NO_CMS_OBJ = 143,
16302
GPG_ERR_INV_CMS_OBJ = 144,
16303
GPG_ERR_UNKNOWN_CMS_OBJ = 145,
16304
GPG_ERR_UNSUPPORTED_CMS_OBJ = 146,
16305
GPG_ERR_UNSUPPORTED_ENCODING = 147,
16306
GPG_ERR_UNSUPPORTED_CMS_VERSION = 148,
16307
GPG_ERR_UNKNOWN_ALGORITHM = 149,
16308
GPG_ERR_INV_ENGINE = 150,
16309
GPG_ERR_PUBKEY_NOT_TRUSTED = 151,
16310
GPG_ERR_DECRYPT_FAILED = 152,
16311
GPG_ERR_KEY_EXPIRED = 153,
16312
GPG_ERR_SIG_EXPIRED = 154,
16313
GPG_ERR_ENCODING_PROBLEM = 155,
16314
GPG_ERR_INV_STATE = 156,
16315
GPG_ERR_DUP_VALUE = 157,
16316
GPG_ERR_MISSING_ACTION = 158,
16317
GPG_ERR_MODULE_NOT_FOUND = 159,
16318
GPG_ERR_INV_OID_STRING = 160,
16319
GPG_ERR_INV_TIME = 161,
16320
GPG_ERR_INV_CRL_OBJ = 162,
16321
GPG_ERR_UNSUPPORTED_CRL_VERSION = 163,
16322
GPG_ERR_INV_CERT_OBJ = 164,
16323
GPG_ERR_UNKNOWN_NAME = 165,
16324
GPG_ERR_LOCALE_PROBLEM = 166,
16325
GPG_ERR_NOT_LOCKED = 167,
16326
GPG_ERR_PROTOCOL_VIOLATION = 168,
16327
GPG_ERR_INV_MAC = 169,
16328
GPG_ERR_INV_REQUEST = 170,
16329
GPG_ERR_UNKNOWN_EXTN = 171,
16330
GPG_ERR_UNKNOWN_CRIT_EXTN = 172,
16331
GPG_ERR_LOCKED = 173,
16332
GPG_ERR_UNKNOWN_OPTION = 174,
16333
GPG_ERR_UNKNOWN_COMMAND = 175,
16334
GPG_ERR_NOT_OPERATIONAL = 176,
16335
GPG_ERR_NO_PASSPHRASE = 177,
16336
GPG_ERR_NO_PIN = 178,
16337
GPG_ERR_NOT_ENABLED = 179,
16338
GPG_ERR_NO_ENGINE = 180,
16339
GPG_ERR_MISSING_KEY = 181,
16340
GPG_ERR_TOO_MANY = 182,
16341
GPG_ERR_LIMIT_REACHED = 183,
16342
GPG_ERR_NOT_INITIALIZED = 184,
16343
GPG_ERR_MISSING_ISSUER_CERT = 185,
16344
GPG_ERR_FULLY_CANCELED = 198,
16345
GPG_ERR_UNFINISHED = 199,
16346
GPG_ERR_BUFFER_TOO_SHORT = 200,
16347
GPG_ERR_SEXP_INV_LEN_SPEC = 201,
16348
GPG_ERR_SEXP_STRING_TOO_LONG = 202,
16349
GPG_ERR_SEXP_UNMATCHED_PAREN = 203,
16350
GPG_ERR_SEXP_NOT_CANONICAL = 204,
16351
GPG_ERR_SEXP_BAD_CHARACTER = 205,
16352
GPG_ERR_SEXP_BAD_QUOTATION = 206,
16353
GPG_ERR_SEXP_ZERO_PREFIX = 207,
16354
GPG_ERR_SEXP_NESTED_DH = 208,
16355
GPG_ERR_SEXP_UNMATCHED_DH = 209,
16356
GPG_ERR_SEXP_UNEXPECTED_PUNC = 210,
16357
GPG_ERR_SEXP_BAD_HEX_CHAR = 211,
16358
GPG_ERR_SEXP_ODD_HEX_NUMBERS = 212,
16359
GPG_ERR_SEXP_BAD_OCT_CHAR = 213,
16360
GPG_ERR_ASS_GENERAL = 257,
16361
GPG_ERR_ASS_ACCEPT_FAILED = 258,
16362
GPG_ERR_ASS_CONNECT_FAILED = 259,
16363
GPG_ERR_ASS_INV_RESPONSE = 260,
16364
GPG_ERR_ASS_INV_VALUE = 261,
16365
GPG_ERR_ASS_INCOMPLETE_LINE = 262,
16366
GPG_ERR_ASS_LINE_TOO_LONG = 263,
16367
GPG_ERR_ASS_NESTED_COMMANDS = 264,
16368
GPG_ERR_ASS_NO_DATA_CB = 265,
16369
GPG_ERR_ASS_NO_INQUIRE_CB = 266,
16370
GPG_ERR_ASS_NOT_A_SERVER = 267,
16371
GPG_ERR_ASS_NOT_A_CLIENT = 268,
16372
GPG_ERR_ASS_SERVER_START = 269,
16373
GPG_ERR_ASS_READ_ERROR = 270,
16374
GPG_ERR_ASS_WRITE_ERROR = 271,
16375
GPG_ERR_ASS_TOO_MUCH_DATA = 273,
16376
GPG_ERR_ASS_UNEXPECTED_CMD = 274,
16377
GPG_ERR_ASS_UNKNOWN_CMD = 275,
16378
GPG_ERR_ASS_SYNTAX = 276,
16379
GPG_ERR_ASS_CANCELED = 277,
16380
GPG_ERR_ASS_NO_INPUT = 278,
16381
GPG_ERR_ASS_NO_OUTPUT = 279,
16382
GPG_ERR_ASS_PARAMETER = 280,
16383
GPG_ERR_ASS_UNKNOWN_INQUIRE = 281,
16384
GPG_ERR_USER_1 = 1024,
16385
GPG_ERR_USER_2 = 1025,
16386
GPG_ERR_USER_3 = 1026,
16387
GPG_ERR_USER_4 = 1027,
16388
GPG_ERR_USER_5 = 1028,
16389
GPG_ERR_USER_6 = 1029,
16390
GPG_ERR_USER_7 = 1030,
16391
GPG_ERR_USER_8 = 1031,
16392
GPG_ERR_USER_9 = 1032,
16393
GPG_ERR_USER_10 = 1033,
16394
GPG_ERR_USER_11 = 1034,
16395
GPG_ERR_USER_12 = 1035,
16396
GPG_ERR_USER_13 = 1036,
16397
GPG_ERR_USER_14 = 1037,
16398
GPG_ERR_USER_15 = 1038,
16399
GPG_ERR_USER_16 = 1039,
16400
GPG_ERR_MISSING_ERRNO = 16381,
16401
GPG_ERR_UNKNOWN_ERRNO = 16382,
16402
GPG_ERR_EOF = 16383,
16406
GPG_ERR_E2BIG = (1 << 15) | 0,
16407
GPG_ERR_EACCES = (1 << 15) | 1,
16408
GPG_ERR_EADDRINUSE = (1 << 15) | 2,
16409
GPG_ERR_EADDRNOTAVAIL = (1 << 15) | 3,
16410
GPG_ERR_EADV = (1 << 15) | 4,
16411
GPG_ERR_EAFNOSUPPORT = (1 << 15) | 5,
16412
GPG_ERR_EAGAIN = (1 << 15) | 6,
16413
GPG_ERR_EALREADY = (1 << 15) | 7,
16414
GPG_ERR_EAUTH = (1 << 15) | 8,
16415
GPG_ERR_EBACKGROUND = (1 << 15) | 9,
16416
GPG_ERR_EBADE = (1 << 15) | 10,
16417
GPG_ERR_EBADF = (1 << 15) | 11,
16418
GPG_ERR_EBADFD = (1 << 15) | 12,
16419
GPG_ERR_EBADMSG = (1 << 15) | 13,
16420
GPG_ERR_EBADR = (1 << 15) | 14,
16421
GPG_ERR_EBADRPC = (1 << 15) | 15,
16422
GPG_ERR_EBADRQC = (1 << 15) | 16,
16423
GPG_ERR_EBADSLT = (1 << 15) | 17,
16424
GPG_ERR_EBFONT = (1 << 15) | 18,
16425
GPG_ERR_EBUSY = (1 << 15) | 19,
16426
GPG_ERR_ECANCELED = (1 << 15) | 20,
16427
GPG_ERR_ECHILD = (1 << 15) | 21,
16428
GPG_ERR_ECHRNG = (1 << 15) | 22,
16429
GPG_ERR_ECOMM = (1 << 15) | 23,
16430
GPG_ERR_ECONNABORTED = (1 << 15) | 24,
16431
GPG_ERR_ECONNREFUSED = (1 << 15) | 25,
16432
GPG_ERR_ECONNRESET = (1 << 15) | 26,
16433
GPG_ERR_ED = (1 << 15) | 27,
16434
GPG_ERR_EDEADLK = (1 << 15) | 28,
16435
GPG_ERR_EDEADLOCK = (1 << 15) | 29,
16436
GPG_ERR_EDESTADDRREQ = (1 << 15) | 30,
16437
GPG_ERR_EDIED = (1 << 15) | 31,
16438
GPG_ERR_EDOM = (1 << 15) | 32,
16439
GPG_ERR_EDOTDOT = (1 << 15) | 33,
16440
GPG_ERR_EDQUOT = (1 << 15) | 34,
16441
GPG_ERR_EEXIST = (1 << 15) | 35,
16442
GPG_ERR_EFAULT = (1 << 15) | 36,
16443
GPG_ERR_EFBIG = (1 << 15) | 37,
16444
GPG_ERR_EFTYPE = (1 << 15) | 38,
16445
GPG_ERR_EGRATUITOUS = (1 << 15) | 39,
16446
GPG_ERR_EGREGIOUS = (1 << 15) | 40,
16447
GPG_ERR_EHOSTDOWN = (1 << 15) | 41,
16448
GPG_ERR_EHOSTUNREACH = (1 << 15) | 42,
16449
GPG_ERR_EIDRM = (1 << 15) | 43,
16450
GPG_ERR_EIEIO = (1 << 15) | 44,
16451
GPG_ERR_EILSEQ = (1 << 15) | 45,
16452
GPG_ERR_EINPROGRESS = (1 << 15) | 46,
16453
GPG_ERR_EINTR = (1 << 15) | 47,
16454
GPG_ERR_EINVAL = (1 << 15) | 48,
16455
GPG_ERR_EIO = (1 << 15) | 49,
16456
GPG_ERR_EISCONN = (1 << 15) | 50,
16457
GPG_ERR_EISDIR = (1 << 15) | 51,
16458
GPG_ERR_EISNAM = (1 << 15) | 52,
16459
GPG_ERR_EL2HLT = (1 << 15) | 53,
16460
GPG_ERR_EL2NSYNC = (1 << 15) | 54,
16461
GPG_ERR_EL3HLT = (1 << 15) | 55,
16462
GPG_ERR_EL3RST = (1 << 15) | 56,
16463
GPG_ERR_ELIBACC = (1 << 15) | 57,
16464
GPG_ERR_ELIBBAD = (1 << 15) | 58,
16465
GPG_ERR_ELIBEXEC = (1 << 15) | 59,
16466
GPG_ERR_ELIBMAX = (1 << 15) | 60,
16467
GPG_ERR_ELIBSCN = (1 << 15) | 61,
16468
GPG_ERR_ELNRNG = (1 << 15) | 62,
16469
GPG_ERR_ELOOP = (1 << 15) | 63,
16470
GPG_ERR_EMEDIUMTYPE = (1 << 15) | 64,
16471
GPG_ERR_EMFILE = (1 << 15) | 65,
16472
GPG_ERR_EMLINK = (1 << 15) | 66,
16473
GPG_ERR_EMSGSIZE = (1 << 15) | 67,
16474
GPG_ERR_EMULTIHOP = (1 << 15) | 68,
16475
GPG_ERR_ENAMETOOLONG = (1 << 15) | 69,
16476
GPG_ERR_ENAVAIL = (1 << 15) | 70,
16477
GPG_ERR_ENEEDAUTH = (1 << 15) | 71,
16478
GPG_ERR_ENETDOWN = (1 << 15) | 72,
16479
GPG_ERR_ENETRESET = (1 << 15) | 73,
16480
GPG_ERR_ENETUNREACH = (1 << 15) | 74,
16481
GPG_ERR_ENFILE = (1 << 15) | 75,
16482
GPG_ERR_ENOANO = (1 << 15) | 76,
16483
GPG_ERR_ENOBUFS = (1 << 15) | 77,
16484
GPG_ERR_ENOCSI = (1 << 15) | 78,
16485
GPG_ERR_ENODATA = (1 << 15) | 79,
16486
GPG_ERR_ENODEV = (1 << 15) | 80,
16487
GPG_ERR_ENOENT = (1 << 15) | 81,
16488
GPG_ERR_ENOEXEC = (1 << 15) | 82,
16489
GPG_ERR_ENOLCK = (1 << 15) | 83,
16490
GPG_ERR_ENOLINK = (1 << 15) | 84,
16491
GPG_ERR_ENOMEDIUM = (1 << 15) | 85,
16492
GPG_ERR_ENOMEM = (1 << 15) | 86,
16493
GPG_ERR_ENOMSG = (1 << 15) | 87,
16494
GPG_ERR_ENONET = (1 << 15) | 88,
16495
GPG_ERR_ENOPKG = (1 << 15) | 89,
16496
GPG_ERR_ENOPROTOOPT = (1 << 15) | 90,
16497
GPG_ERR_ENOSPC = (1 << 15) | 91,
16498
GPG_ERR_ENOSR = (1 << 15) | 92,
16499
GPG_ERR_ENOSTR = (1 << 15) | 93,
16500
GPG_ERR_ENOSYS = (1 << 15) | 94,
16501
GPG_ERR_ENOTBLK = (1 << 15) | 95,
16502
GPG_ERR_ENOTCONN = (1 << 15) | 96,
16503
GPG_ERR_ENOTDIR = (1 << 15) | 97,
16504
GPG_ERR_ENOTEMPTY = (1 << 15) | 98,
16505
GPG_ERR_ENOTNAM = (1 << 15) | 99,
16506
GPG_ERR_ENOTSOCK = (1 << 15) | 100,
16507
GPG_ERR_ENOTSUP = (1 << 15) | 101,
16508
GPG_ERR_ENOTTY = (1 << 15) | 102,
16509
GPG_ERR_ENOTUNIQ = (1 << 15) | 103,
16510
GPG_ERR_ENXIO = (1 << 15) | 104,
16511
GPG_ERR_EOPNOTSUPP = (1 << 15) | 105,
16512
GPG_ERR_EOVERFLOW = (1 << 15) | 106,
16513
GPG_ERR_EPERM = (1 << 15) | 107,
16514
GPG_ERR_EPFNOSUPPORT = (1 << 15) | 108,
16515
GPG_ERR_EPIPE = (1 << 15) | 109,
16516
GPG_ERR_EPROCLIM = (1 << 15) | 110,
16517
GPG_ERR_EPROCUNAVAIL = (1 << 15) | 111,
16518
GPG_ERR_EPROGMISMATCH = (1 << 15) | 112,
16519
GPG_ERR_EPROGUNAVAIL = (1 << 15) | 113,
16520
GPG_ERR_EPROTO = (1 << 15) | 114,
16521
GPG_ERR_EPROTONOSUPPORT = (1 << 15) | 115,
16522
GPG_ERR_EPROTOTYPE = (1 << 15) | 116,
16523
GPG_ERR_ERANGE = (1 << 15) | 117,
16524
GPG_ERR_EREMCHG = (1 << 15) | 118,
16525
GPG_ERR_EREMOTE = (1 << 15) | 119,
16526
GPG_ERR_EREMOTEIO = (1 << 15) | 120,
16527
GPG_ERR_ERESTART = (1 << 15) | 121,
16528
GPG_ERR_EROFS = (1 << 15) | 122,
16529
GPG_ERR_ERPCMISMATCH = (1 << 15) | 123,
16530
GPG_ERR_ESHUTDOWN = (1 << 15) | 124,
16531
GPG_ERR_ESOCKTNOSUPPORT = (1 << 15) | 125,
16532
GPG_ERR_ESPIPE = (1 << 15) | 126,
16533
GPG_ERR_ESRCH = (1 << 15) | 127,
16534
GPG_ERR_ESRMNT = (1 << 15) | 128,
16535
GPG_ERR_ESTALE = (1 << 15) | 129,
16536
GPG_ERR_ESTRPIPE = (1 << 15) | 130,
16537
GPG_ERR_ETIME = (1 << 15) | 131,
16538
GPG_ERR_ETIMEDOUT = (1 << 15) | 132,
16539
GPG_ERR_ETOOMANYREFS = (1 << 15) | 133,
16540
GPG_ERR_ETXTBSY = (1 << 15) | 134,
16541
GPG_ERR_EUCLEAN = (1 << 15) | 135,
16542
GPG_ERR_EUNATCH = (1 << 15) | 136,
16543
GPG_ERR_EUSERS = (1 << 15) | 137,
16544
GPG_ERR_EWOULDBLOCK = (1 << 15) | 138,
16545
GPG_ERR_EXDEV = (1 << 15) | 139,
16546
GPG_ERR_EXFULL = (1 << 15) | 140,
16549
GPG_ERR_CODE_DIM = 65536
16551
# 513 "/usr/include/gpg-error.h" 3 4
16552
typedef unsigned int gpg_error_t;
16553
# 551 "/usr/include/gpg-error.h" 3 4
16554
gpg_error_t gpg_err_init (void) __attribute__ ((__constructor__));
16555
# 562 "/usr/include/gpg-error.h" 3 4
16556
void gpg_err_deinit (int mode);
16563
static __inline__ gpg_error_t
16564
gpg_err_make (gpg_err_source_t source, gpg_err_code_t code)
16566
return code == GPG_ERR_NO_ERROR ? GPG_ERR_NO_ERROR
16567
: (((source & (GPG_ERR_SOURCE_DIM - 1)) << 24)
16568
| (code & (GPG_ERR_CODE_DIM - 1)));
16570
# 584 "/usr/include/gpg-error.h" 3 4
16571
static __inline__ gpg_error_t
16572
gpg_error (gpg_err_code_t code)
16574
return gpg_err_make (GPG_ERR_SOURCE_UNKNOWN, code);
16579
static __inline__ gpg_err_code_t
16580
gpg_err_code (gpg_error_t err)
16582
return (gpg_err_code_t) (err & (GPG_ERR_CODE_DIM - 1));
16587
static __inline__ gpg_err_source_t
16588
gpg_err_source (gpg_error_t err)
16590
return (gpg_err_source_t) ((err >> 24)
16591
& (GPG_ERR_SOURCE_DIM - 1));
16599
const char *gpg_strerror (gpg_error_t err);
16600
# 621 "/usr/include/gpg-error.h" 3 4
16601
int gpg_strerror_r (gpg_error_t err, char *buf, size_t buflen);
16605
const char *gpg_strsource (gpg_error_t err);
16613
gpg_err_code_t gpg_err_code_from_errno (int err);
16618
int gpg_err_code_to_errno (gpg_err_code_t code);
16624
gpg_err_code_t gpg_err_code_from_syserror (void);
16629
void gpg_err_set_errno (int err);
16634
static __inline__ gpg_error_t
16635
gpg_err_make_from_errno (gpg_err_source_t source, int err)
16637
return gpg_err_make (source, gpg_err_code_from_errno (err));
16641
static __inline__ gpg_error_t
16642
gpg_error_from_errno (int err)
16644
return gpg_error (gpg_err_code_from_errno (err));
16647
static __inline__ gpg_error_t
16648
gpg_error_from_syserror (void)
16650
return gpg_error (gpg_err_code_from_syserror ());
16652
# 30 "/usr/include/gcrypt.h" 2 3 4
16653
# 42 "/usr/include/gcrypt.h" 3 4
16654
# 1 "/usr/include/sys/socket.h" 1 3 4
16655
# 26 "/usr/include/sys/socket.h" 3 4
16658
# 1 "/usr/include/sys/uio.h" 1 3 4
16659
# 26 "/usr/include/sys/uio.h" 3 4
16663
# 1 "/usr/include/bits/uio.h" 1 3 4
16664
# 44 "/usr/include/bits/uio.h" 3 4
16670
# 30 "/usr/include/sys/uio.h" 2 3 4
16671
# 40 "/usr/include/sys/uio.h" 3 4
16672
extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count)
16673
__attribute__ ((__warn_unused_result__));
16674
# 51 "/usr/include/sys/uio.h" 3 4
16675
extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count)
16676
__attribute__ ((__warn_unused_result__));
16677
# 66 "/usr/include/sys/uio.h" 3 4
16678
extern ssize_t preadv (int __fd, __const struct iovec *__iovec, int __count,
16679
__off_t __offset) __attribute__ ((__warn_unused_result__));
16680
# 78 "/usr/include/sys/uio.h" 3 4
16681
extern ssize_t pwritev (int __fd, __const struct iovec *__iovec, int __count,
16682
__off_t __offset) __attribute__ ((__warn_unused_result__));
16683
# 104 "/usr/include/sys/uio.h" 3 4
16684
extern ssize_t preadv64 (int __fd, __const struct iovec *__iovec, int __count,
16685
__off64_t __offset) __attribute__ ((__warn_unused_result__));
16686
# 116 "/usr/include/sys/uio.h" 3 4
16687
extern ssize_t pwritev64 (int __fd, __const struct iovec *__iovec, int __count,
16688
__off64_t __offset) __attribute__ ((__warn_unused_result__));
16693
# 29 "/usr/include/sys/socket.h" 2 3 4
16695
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
16696
# 31 "/usr/include/sys/socket.h" 2 3 4
16699
# 1 "/usr/include/bits/sigset.h" 1 3 4
16700
# 34 "/usr/include/sys/socket.h" 2 3 4
16707
# 1 "/usr/include/bits/socket.h" 1 3 4
16708
# 29 "/usr/include/bits/socket.h" 3 4
16709
# 1 "/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/include/stddef.h" 1 3 4
16710
# 30 "/usr/include/bits/socket.h" 2 3 4
16711
# 40 "/usr/include/bits/socket.h" 3 4
16724
SOCK_SEQPACKET = 5,
16737
SOCK_CLOEXEC = 02000000,
16740
SOCK_NONBLOCK = 04000
16744
# 175 "/usr/include/bits/socket.h" 3 4
16745
# 1 "/usr/include/bits/sockaddr.h" 1 3 4
16746
# 29 "/usr/include/bits/sockaddr.h" 3 4
16747
typedef unsigned short int sa_family_t;
16748
# 176 "/usr/include/bits/socket.h" 2 3 4
16753
sa_family_t sa_family;
16756
# 191 "/usr/include/bits/socket.h" 3 4
16757
struct sockaddr_storage
16759
sa_family_t ss_family;
16760
unsigned long int __ss_align;
16761
char __ss_padding[(128 - (2 * sizeof (unsigned long int)))];
16772
MSG_DONTROUTE = 0x04,
16776
MSG_TRYHARD = MSG_DONTROUTE,
16785
MSG_DONTWAIT = 0x40,
16789
MSG_WAITALL = 0x100,
16795
MSG_CONFIRM = 0x800,
16799
MSG_ERRQUEUE = 0x2000,
16801
MSG_NOSIGNAL = 0x4000,
16805
MSG_WAITFORONE = 0x10000,
16808
MSG_CMSG_CLOEXEC = 0x40000000
16820
socklen_t msg_namelen;
16822
struct iovec *msg_iov;
16826
size_t msg_controllen;
16838
struct msghdr msg_hdr;
16839
unsigned int msg_len;
16854
__extension__ unsigned char __cmsg_data [];
16857
# 308 "/usr/include/bits/socket.h" 3 4
16858
extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
16859
struct cmsghdr *__cmsg) __attribute__ ((__nothrow__));
16864
extern __inline struct cmsghdr *
16865
__attribute__ ((__nothrow__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)
16867
if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr))
16871
__cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg
16872
+ (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)));
16873
if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control
16874
+ __mhdr->msg_controllen)
16875
|| ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))
16876
> ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen)))
16890
, SCM_CREDENTIALS = 0x02
16903
# 381 "/usr/include/bits/socket.h" 3 4
16904
# 1 "/usr/include/asm/socket.h" 1 3 4
16905
# 1 "/usr/include/asm-generic/socket.h" 1 3 4
16909
# 1 "/usr/include/asm/sockios.h" 1 3 4
16910
# 1 "/usr/include/asm-generic/sockios.h" 1 3 4
16911
# 1 "/usr/include/asm/sockios.h" 2 3 4
16912
# 5 "/usr/include/asm-generic/socket.h" 2 3 4
16913
# 1 "/usr/include/asm/socket.h" 2 3 4
16914
# 382 "/usr/include/bits/socket.h" 2 3 4
16915
# 415 "/usr/include/bits/socket.h" 3 4
16930
extern int recvmmsg (int __fd, struct mmsghdr *__vmessages,
16931
unsigned int __vlen, int __flags,
16932
__const struct timespec *__tmo);
16935
# 41 "/usr/include/sys/socket.h" 2 3 4
16942
unsigned short int sa_family;
16943
unsigned char sa_data[14];
16958
# 92 "/usr/include/sys/socket.h" 3 4
16959
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__;
16960
} __SOCKADDR_ARG __attribute__ ((__transparent_union__));
16963
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__;
16964
} __CONST_SOCKADDR_ARG __attribute__ ((__transparent_union__));
16972
extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__));
16978
extern int socketpair (int __domain, int __type, int __protocol,
16979
int __fds[2]) __attribute__ ((__nothrow__));
16982
extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len)
16983
__attribute__ ((__nothrow__));
16986
extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
16987
socklen_t *__restrict __len) __attribute__ ((__nothrow__));
16988
# 129 "/usr/include/sys/socket.h" 3 4
16989
extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len);
16993
extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
16994
socklen_t *__restrict __len) __attribute__ ((__nothrow__));
17001
extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags);
17008
extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
17015
extern ssize_t sendto (int __fd, __const void *__buf, size_t __n,
17016
int __flags, __CONST_SOCKADDR_ARG __addr,
17017
socklen_t __addr_len);
17018
# 166 "/usr/include/sys/socket.h" 3 4
17019
extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
17020
int __flags, __SOCKADDR_ARG __addr,
17021
socklen_t *__restrict __addr_len);
17029
extern ssize_t sendmsg (int __fd, __const struct msghdr *__message,
17037
extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags);
17043
extern int getsockopt (int __fd, int __level, int __optname,
17044
void *__restrict __optval,
17045
socklen_t *__restrict __optlen) __attribute__ ((__nothrow__));
17050
extern int setsockopt (int __fd, int __level, int __optname,
17051
__const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__));
17057
extern int listen (int __fd, int __n) __attribute__ ((__nothrow__));
17058
# 214 "/usr/include/sys/socket.h" 3 4
17059
extern int accept (int __fd, __SOCKADDR_ARG __addr,
17060
socklen_t *__restrict __addr_len);
17067
extern int accept4 (int __fd, __SOCKADDR_ARG __addr,
17068
socklen_t *__restrict __addr_len, int __flags);
17069
# 232 "/usr/include/sys/socket.h" 3 4
17070
extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__));
17075
extern int sockatmark (int __fd) __attribute__ ((__nothrow__));
17083
extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__));
17089
# 1 "/usr/include/bits/socket2.h" 1 3 4
17090
# 24 "/usr/include/bits/socket2.h" 3 4
17091
extern ssize_t __recv_chk (int __fd, void *__buf, size_t __n, size_t __buflen,
17093
extern ssize_t __recv_alias (int __fd, void *__buf, size_t __n, int __flags) __asm__ ("" "recv")
17095
extern ssize_t __recv_chk_warn (int __fd, void *__buf, size_t __n, size_t __buflen, int __flags) __asm__ ("" "__recv_chk")
17098
__attribute__((__warning__ ("recv called with bigger length than size of destination " "buffer")))
17101
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) ssize_t
17102
recv (int __fd, void *__buf, size_t __n, int __flags)
17104
if (__builtin_object_size (__buf, 0) != (size_t) -1)
17106
if (!__builtin_constant_p (__n))
17107
return __recv_chk (__fd, __buf, __n, __builtin_object_size (__buf, 0), __flags);
17109
if (__n > __builtin_object_size (__buf, 0))
17110
return __recv_chk_warn (__fd, __buf, __n, __builtin_object_size (__buf, 0), __flags);
17112
return __recv_alias (__fd, __buf, __n, __flags);
17115
extern ssize_t __recvfrom_chk (int __fd, void *__restrict __buf, size_t __n,
17116
size_t __buflen, int __flags,
17117
__SOCKADDR_ARG __addr,
17118
socklen_t *__restrict __addr_len);
17119
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")
17123
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")
17128
__attribute__((__warning__ ("recvfrom called with bigger length than size of " "destination buffer")))
17131
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) ssize_t
17132
recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags,
17133
__SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len)
17135
if (__builtin_object_size (__buf, 0) != (size_t) -1)
17137
if (!__builtin_constant_p (__n))
17138
return __recvfrom_chk (__fd, __buf, __n, __builtin_object_size (__buf, 0), __flags,
17139
__addr, __addr_len);
17140
if (__n > __builtin_object_size (__buf, 0))
17141
return __recvfrom_chk_warn (__fd, __buf, __n, __builtin_object_size (__buf, 0), __flags,
17142
__addr, __addr_len);
17144
return __recvfrom_alias (__fd, __buf, __n, __flags, __addr, __addr_len);
17146
# 252 "/usr/include/sys/socket.h" 2 3 4
17150
# 43 "/usr/include/gcrypt.h" 2 3 4
17151
# 1 "/usr/include/sys/time.h" 1 3 4
17152
# 29 "/usr/include/sys/time.h" 3 4
17153
# 1 "/usr/include/bits/time.h" 1 3 4
17154
# 30 "/usr/include/sys/time.h" 2 3 4
17155
# 39 "/usr/include/sys/time.h" 3 4
17157
# 57 "/usr/include/sys/time.h" 3 4
17160
int tz_minuteswest;
17164
typedef struct timezone *__restrict __timezone_ptr_t;
17165
# 73 "/usr/include/sys/time.h" 3 4
17166
extern int gettimeofday (struct timeval *__restrict __tv,
17167
__timezone_ptr_t __tz) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
17172
extern int settimeofday (__const struct timeval *__tv,
17173
__const struct timezone *__tz)
17174
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
17180
extern int adjtime (__const struct timeval *__delta,
17181
struct timeval *__olddelta) __attribute__ ((__nothrow__));
17186
enum __itimer_which
17192
ITIMER_VIRTUAL = 1,
17205
struct timeval it_interval;
17207
struct timeval it_value;
17213
typedef enum __itimer_which __itimer_which_t;
17220
extern int getitimer (__itimer_which_t __which,
17221
struct itimerval *__value) __attribute__ ((__nothrow__));
17226
extern int setitimer (__itimer_which_t __which,
17227
__const struct itimerval *__restrict __new,
17228
struct itimerval *__restrict __old) __attribute__ ((__nothrow__));
17233
extern int utimes (__const char *__file, __const struct timeval __tvp[2])
17234
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
17238
extern int lutimes (__const char *__file, __const struct timeval __tvp[2])
17239
__attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
17242
extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__));
17249
extern int futimesat (int __fd, __const char *__file,
17250
__const struct timeval __tvp[2]) __attribute__ ((__nothrow__));
17251
# 191 "/usr/include/sys/time.h" 3 4
17253
# 44 "/usr/include/gcrypt.h" 2 3 4
17256
typedef socklen_t gcry_socklen_t;
17257
# 118 "/usr/include/gcrypt.h" 3 4
17258
typedef gpg_error_t gcry_error_t;
17259
typedef gpg_err_code_t gcry_err_code_t;
17260
typedef gpg_err_source_t gcry_err_source_t;
17262
static __inline__ gcry_error_t
17263
gcry_err_make (gcry_err_source_t source, gcry_err_code_t code)
17265
return gpg_err_make (source, code);
17274
static __inline__ gcry_error_t
17275
gcry_error (gcry_err_code_t code)
17277
return gcry_err_make (GPG_ERR_SOURCE_USER_1, code);
17280
static __inline__ gcry_err_code_t
17281
gcry_err_code (gcry_error_t err)
17283
return gpg_err_code (err);
17287
static __inline__ gcry_err_source_t
17288
gcry_err_source (gcry_error_t err)
17290
return gpg_err_source (err);
17295
const char *gcry_strerror (gcry_error_t err);
17299
const char *gcry_strsource (gcry_error_t err);
17304
gcry_err_code_t gcry_err_code_from_errno (int err);
17308
int gcry_err_code_to_errno (gcry_err_code_t code);
17312
gcry_error_t gcry_err_make_from_errno (gcry_err_source_t source, int err);
17315
gcry_err_code_t gcry_error_from_errno (int err);
17320
enum gcry_thread_option
17322
_GCRY_THREAD_OPTION_DUMMY
17323
} __attribute__ ((__deprecated__));
17324
# 198 "/usr/include/gcrypt.h" 3 4
17325
struct gcry_thread_cbs
17332
unsigned int option;
17334
int (*init) (void);
17335
int (*mutex_init) (void **priv);
17336
int (*mutex_destroy) (void **priv);
17337
int (*mutex_lock) (void **priv);
17338
int (*mutex_unlock) (void **priv);
17339
ssize_t (*read) (int fd, void *buf, size_t nbytes);
17340
ssize_t (*write) (int fd, const void *buf, size_t nbytes);
17341
# 223 "/usr/include/gcrypt.h" 3 4
17342
ssize_t (*select) (int nfd, fd_set *rset, fd_set *wset, fd_set *eset,
17343
struct timeval *timeout);
17344
ssize_t (*waitpid) (pid_t pid, int *status, int options);
17345
int (*accept) (int s, struct sockaddr *addr, gcry_socklen_t *length_ptr);
17346
int (*connect) (int s, struct sockaddr *addr, gcry_socklen_t length);
17347
int (*sendmsg) (int s, const struct msghdr *msg, int flags);
17348
int (*recvmsg) (int s, struct msghdr *msg, int flags);
17351
# 344 "/usr/include/gcrypt.h" 3 4
17353
typedef struct gcry_mpi *gcry_mpi_t;
17356
typedef struct gcry_mpi *GCRY_MPI __attribute__ ((__deprecated__));
17357
typedef struct gcry_mpi *GcryMPI __attribute__ ((__deprecated__));
17363
const char *gcry_check_version (const char *req_version);
17370
GCRYCTL_SET_KEY = 1,
17371
GCRYCTL_SET_IV = 2,
17372
GCRYCTL_CFB_SYNC = 3,
17374
GCRYCTL_FINALIZE = 5,
17375
GCRYCTL_GET_KEYLEN = 6,
17376
GCRYCTL_GET_BLKLEN = 7,
17377
GCRYCTL_TEST_ALGO = 8,
17378
GCRYCTL_IS_SECURE = 9,
17379
GCRYCTL_GET_ASNOID = 10,
17380
GCRYCTL_ENABLE_ALGO = 11,
17381
GCRYCTL_DISABLE_ALGO = 12,
17382
GCRYCTL_DUMP_RANDOM_STATS = 13,
17383
GCRYCTL_DUMP_SECMEM_STATS = 14,
17384
GCRYCTL_GET_ALGO_NPKEY = 15,
17385
GCRYCTL_GET_ALGO_NSKEY = 16,
17386
GCRYCTL_GET_ALGO_NSIGN = 17,
17387
GCRYCTL_GET_ALGO_NENCR = 18,
17388
GCRYCTL_SET_VERBOSITY = 19,
17389
GCRYCTL_SET_DEBUG_FLAGS = 20,
17390
GCRYCTL_CLEAR_DEBUG_FLAGS = 21,
17391
GCRYCTL_USE_SECURE_RNDPOOL= 22,
17392
GCRYCTL_DUMP_MEMORY_STATS = 23,
17393
GCRYCTL_INIT_SECMEM = 24,
17394
GCRYCTL_TERM_SECMEM = 25,
17395
GCRYCTL_DISABLE_SECMEM_WARN = 27,
17396
GCRYCTL_SUSPEND_SECMEM_WARN = 28,
17397
GCRYCTL_RESUME_SECMEM_WARN = 29,
17398
GCRYCTL_DROP_PRIVS = 30,
17399
GCRYCTL_ENABLE_M_GUARD = 31,
17400
GCRYCTL_START_DUMP = 32,
17401
GCRYCTL_STOP_DUMP = 33,
17402
GCRYCTL_GET_ALGO_USAGE = 34,
17403
GCRYCTL_IS_ALGO_ENABLED = 35,
17404
GCRYCTL_DISABLE_INTERNAL_LOCKING = 36,
17405
GCRYCTL_DISABLE_SECMEM = 37,
17406
GCRYCTL_INITIALIZATION_FINISHED = 38,
17407
GCRYCTL_INITIALIZATION_FINISHED_P = 39,
17408
GCRYCTL_ANY_INITIALIZATION_P = 40,
17409
GCRYCTL_SET_CBC_CTS = 41,
17410
GCRYCTL_SET_CBC_MAC = 42,
17411
GCRYCTL_SET_CTR = 43,
17412
GCRYCTL_ENABLE_QUICK_RANDOM = 44,
17413
GCRYCTL_SET_RANDOM_SEED_FILE = 45,
17414
GCRYCTL_UPDATE_RANDOM_SEED_FILE = 46,
17415
GCRYCTL_SET_THREAD_CBS = 47,
17416
GCRYCTL_FAST_POLL = 48,
17417
GCRYCTL_SET_RANDOM_DAEMON_SOCKET = 49,
17418
GCRYCTL_USE_RANDOM_DAEMON = 50,
17419
GCRYCTL_FAKED_RANDOM_P = 51,
17420
GCRYCTL_SET_RNDEGD_SOCKET = 52,
17421
GCRYCTL_PRINT_CONFIG = 53,
17422
GCRYCTL_OPERATIONAL_P = 54,
17423
GCRYCTL_FIPS_MODE_P = 55,
17424
GCRYCTL_FORCE_FIPS_MODE = 56,
17425
GCRYCTL_SELFTEST = 57
17430
gcry_error_t gcry_control (enum gcry_ctl_cmds CMD, ...);
17438
typedef struct gcry_sexp *gcry_sexp_t;
17441
typedef struct gcry_sexp *GCRY_SEXP __attribute__ ((__deprecated__));
17442
typedef struct gcry_sexp *GcrySexp __attribute__ ((__deprecated__));
17446
enum gcry_sexp_format
17448
GCRYSEXP_FMT_DEFAULT = 0,
17449
GCRYSEXP_FMT_CANON = 1,
17450
GCRYSEXP_FMT_BASE64 = 2,
17451
GCRYSEXP_FMT_ADVANCED = 3
17457
gcry_error_t gcry_sexp_new (gcry_sexp_t *retsexp,
17458
const void *buffer, size_t length,
17463
gcry_error_t gcry_sexp_create (gcry_sexp_t *retsexp,
17464
void *buffer, size_t length,
17465
int autodetect, void (*freefnc) (void *));
17469
gcry_error_t gcry_sexp_sscan (gcry_sexp_t *retsexp, size_t *erroff,
17470
const char *buffer, size_t length);
17474
gcry_error_t gcry_sexp_build (gcry_sexp_t *retsexp, size_t *erroff,
17475
const char *format, ...);
17479
gcry_error_t gcry_sexp_build_array (gcry_sexp_t *retsexp, size_t *erroff,
17480
const char *format, void **arg_list);
17483
void gcry_sexp_release (gcry_sexp_t sexp);
17487
size_t gcry_sexp_canon_len (const unsigned char *buffer, size_t length,
17488
size_t *erroff, gcry_error_t *errcode);
17492
size_t gcry_sexp_sprint (gcry_sexp_t sexp, int mode, void *buffer,
17497
void gcry_sexp_dump (const gcry_sexp_t a);
17499
gcry_sexp_t gcry_sexp_cons (const gcry_sexp_t a, const gcry_sexp_t b);
17500
gcry_sexp_t gcry_sexp_alist (const gcry_sexp_t *array);
17501
gcry_sexp_t gcry_sexp_vlist (const gcry_sexp_t a, ...);
17502
gcry_sexp_t gcry_sexp_append (const gcry_sexp_t a, const gcry_sexp_t n);
17503
gcry_sexp_t gcry_sexp_prepend (const gcry_sexp_t a, const gcry_sexp_t n);
17510
gcry_sexp_t gcry_sexp_find_token (gcry_sexp_t list,
17511
const char *tok, size_t toklen);
17514
int gcry_sexp_length (const gcry_sexp_t list);
17519
gcry_sexp_t gcry_sexp_nth (const gcry_sexp_t list, int number);
17524
gcry_sexp_t gcry_sexp_car (const gcry_sexp_t list);
17531
gcry_sexp_t gcry_sexp_cdr (const gcry_sexp_t list);
17533
gcry_sexp_t gcry_sexp_cadr (const gcry_sexp_t list);
17534
# 534 "/usr/include/gcrypt.h" 3 4
17535
const char *gcry_sexp_nth_data (const gcry_sexp_t list, int number,
17543
char *gcry_sexp_nth_string (gcry_sexp_t list, int number);
17551
gcry_mpi_t gcry_sexp_nth_mpi (gcry_sexp_t list, int number, int mpifmt);
17552
# 561 "/usr/include/gcrypt.h" 3 4
17553
enum gcry_mpi_format
17555
GCRYMPI_FMT_NONE= 0,
17556
GCRYMPI_FMT_STD = 1,
17557
GCRYMPI_FMT_PGP = 2,
17558
GCRYMPI_FMT_SSH = 3,
17559
GCRYMPI_FMT_HEX = 4,
17560
GCRYMPI_FMT_USG = 5
17566
GCRYMPI_FLAG_SECURE = 1,
17567
GCRYMPI_FLAG_OPAQUE = 2
17575
gcry_mpi_t gcry_mpi_new (unsigned int nbits);
17578
gcry_mpi_t gcry_mpi_snew (unsigned int nbits);
17581
void gcry_mpi_release (gcry_mpi_t a);
17584
gcry_mpi_t gcry_mpi_copy (const gcry_mpi_t a);
17587
gcry_mpi_t gcry_mpi_set (gcry_mpi_t w, const gcry_mpi_t u);
17590
gcry_mpi_t gcry_mpi_set_ui (gcry_mpi_t w, unsigned long u);
17593
void gcry_mpi_swap (gcry_mpi_t a, gcry_mpi_t b);
17597
int gcry_mpi_cmp (const gcry_mpi_t u, const gcry_mpi_t v);
17602
int gcry_mpi_cmp_ui (const gcry_mpi_t u, unsigned long v);
17608
gcry_error_t gcry_mpi_scan (gcry_mpi_t *ret_mpi, enum gcry_mpi_format format,
17609
const void *buffer, size_t buflen,
17617
gcry_error_t gcry_mpi_print (enum gcry_mpi_format format,
17618
unsigned char *buffer, size_t buflen,
17620
const gcry_mpi_t a);
17626
gcry_error_t gcry_mpi_aprint (enum gcry_mpi_format format,
17627
unsigned char **buffer, size_t *nwritten,
17628
const gcry_mpi_t a);
17634
void gcry_mpi_dump (const gcry_mpi_t a);
17638
void gcry_mpi_add (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v);
17641
void gcry_mpi_add_ui (gcry_mpi_t w, gcry_mpi_t u, unsigned long v);
17644
void gcry_mpi_addm (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v, gcry_mpi_t m);
17647
void gcry_mpi_sub (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v);
17650
void gcry_mpi_sub_ui (gcry_mpi_t w, gcry_mpi_t u, unsigned long v );
17653
void gcry_mpi_subm (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v, gcry_mpi_t m);
17656
void gcry_mpi_mul (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v);
17659
void gcry_mpi_mul_ui (gcry_mpi_t w, gcry_mpi_t u, unsigned long v );
17662
void gcry_mpi_mulm (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v, gcry_mpi_t m);
17665
void gcry_mpi_mul_2exp (gcry_mpi_t w, gcry_mpi_t u, unsigned long cnt);
17669
void gcry_mpi_div (gcry_mpi_t q, gcry_mpi_t r,
17670
gcry_mpi_t dividend, gcry_mpi_t divisor, int round);
17673
void gcry_mpi_mod (gcry_mpi_t r, gcry_mpi_t dividend, gcry_mpi_t divisor);
17676
void gcry_mpi_powm (gcry_mpi_t w,
17677
const gcry_mpi_t b, const gcry_mpi_t e,
17678
const gcry_mpi_t m);
17682
int gcry_mpi_gcd (gcry_mpi_t g, gcry_mpi_t a, gcry_mpi_t b);
17686
int gcry_mpi_invm (gcry_mpi_t x, gcry_mpi_t a, gcry_mpi_t m);
17690
unsigned int gcry_mpi_get_nbits (gcry_mpi_t a);
17693
int gcry_mpi_test_bit (gcry_mpi_t a, unsigned int n);
17696
void gcry_mpi_set_bit (gcry_mpi_t a, unsigned int n);
17699
void gcry_mpi_clear_bit (gcry_mpi_t a, unsigned int n);
17702
void gcry_mpi_set_highbit (gcry_mpi_t a, unsigned int n);
17705
void gcry_mpi_clear_highbit (gcry_mpi_t a, unsigned int n);
17708
void gcry_mpi_rshift (gcry_mpi_t x, gcry_mpi_t a, unsigned int n);
17711
void gcry_mpi_lshift (gcry_mpi_t x, gcry_mpi_t a, unsigned int n);
17716
gcry_mpi_t gcry_mpi_set_opaque (gcry_mpi_t a, void *p, unsigned int nbits);
17721
void *gcry_mpi_get_opaque (gcry_mpi_t a, unsigned int *nbits);
17726
void gcry_mpi_set_flag (gcry_mpi_t a, enum gcry_mpi_flag flag);
17730
void gcry_mpi_clear_flag (gcry_mpi_t a, enum gcry_mpi_flag flag);
17733
int gcry_mpi_get_flag (gcry_mpi_t a, enum gcry_mpi_flag flag);
17734
# 801 "/usr/include/gcrypt.h" 3 4
17735
struct gcry_cipher_handle;
17736
typedef struct gcry_cipher_handle *gcry_cipher_hd_t;
17739
typedef struct gcry_cipher_handle *GCRY_CIPHER_HD __attribute__ ((__deprecated__));
17740
typedef struct gcry_cipher_handle *GcryCipherHd __attribute__ ((__deprecated__));
17745
enum gcry_cipher_algos
17747
GCRY_CIPHER_NONE = 0,
17748
GCRY_CIPHER_IDEA = 1,
17749
GCRY_CIPHER_3DES = 2,
17750
GCRY_CIPHER_CAST5 = 3,
17751
GCRY_CIPHER_BLOWFISH = 4,
17752
GCRY_CIPHER_SAFER_SK128 = 5,
17753
GCRY_CIPHER_DES_SK = 6,
17754
GCRY_CIPHER_AES = 7,
17755
GCRY_CIPHER_AES192 = 8,
17756
GCRY_CIPHER_AES256 = 9,
17757
GCRY_CIPHER_TWOFISH = 10,
17760
GCRY_CIPHER_ARCFOUR = 301,
17761
GCRY_CIPHER_DES = 302,
17762
GCRY_CIPHER_TWOFISH128 = 303,
17763
GCRY_CIPHER_SERPENT128 = 304,
17764
GCRY_CIPHER_SERPENT192 = 305,
17765
GCRY_CIPHER_SERPENT256 = 306,
17766
GCRY_CIPHER_RFC2268_40 = 307,
17767
GCRY_CIPHER_RFC2268_128 = 308,
17768
GCRY_CIPHER_SEED = 309,
17769
GCRY_CIPHER_CAMELLIA128 = 310,
17770
GCRY_CIPHER_CAMELLIA192 = 311,
17771
GCRY_CIPHER_CAMELLIA256 = 312
17773
# 849 "/usr/include/gcrypt.h" 3 4
17774
enum gcry_cipher_modes
17776
GCRY_CIPHER_MODE_NONE = 0,
17777
GCRY_CIPHER_MODE_ECB = 1,
17778
GCRY_CIPHER_MODE_CFB = 2,
17779
GCRY_CIPHER_MODE_CBC = 3,
17780
GCRY_CIPHER_MODE_STREAM = 4,
17781
GCRY_CIPHER_MODE_OFB = 5,
17782
GCRY_CIPHER_MODE_CTR = 6,
17783
GCRY_CIPHER_MODE_AESWRAP= 7
17787
enum gcry_cipher_flags
17789
GCRY_CIPHER_SECURE = 1,
17790
GCRY_CIPHER_ENABLE_SYNC = 2,
17791
GCRY_CIPHER_CBC_CTS = 4,
17792
GCRY_CIPHER_CBC_MAC = 8
17798
gcry_error_t gcry_cipher_open (gcry_cipher_hd_t *handle,
17799
int algo, int mode, unsigned int flags);
17802
void gcry_cipher_close (gcry_cipher_hd_t h);
17805
gcry_error_t gcry_cipher_ctl (gcry_cipher_hd_t h, int cmd, void *buffer,
17809
gcry_error_t gcry_cipher_info (gcry_cipher_hd_t h, int what, void *buffer,
17813
gcry_error_t gcry_cipher_algo_info (int algo, int what, void *buffer,
17819
const char *gcry_cipher_algo_name (int algorithm) __attribute__ ((__pure__));
17823
int gcry_cipher_map_name (const char *name) __attribute__ ((__pure__));
17828
int gcry_cipher_mode_from_oid (const char *string) __attribute__ ((__pure__));
17834
gcry_error_t gcry_cipher_encrypt (gcry_cipher_hd_t h,
17835
void *out, size_t outsize,
17836
const void *in, size_t inlen);
17839
gcry_error_t gcry_cipher_decrypt (gcry_cipher_hd_t h,
17840
void *out, size_t outsize,
17841
const void *in, size_t inlen);
17844
gcry_error_t gcry_cipher_setkey (gcry_cipher_hd_t hd,
17845
const void *key, size_t keylen);
17849
gcry_error_t gcry_cipher_setiv (gcry_cipher_hd_t hd,
17850
const void *iv, size_t ivlen);
17851
# 941 "/usr/include/gcrypt.h" 3 4
17852
gpg_error_t gcry_cipher_setctr (gcry_cipher_hd_t hd,
17853
const void *ctr, size_t ctrlen);
17856
size_t gcry_cipher_get_algo_keylen (int algo);
17859
size_t gcry_cipher_get_algo_blklen (int algo);
17860
# 960 "/usr/include/gcrypt.h" 3 4
17861
gcry_error_t gcry_cipher_list (int *list, int *list_length);
17862
# 970 "/usr/include/gcrypt.h" 3 4
17868
GCRY_PK_ELG_E = 16,
17871
GCRY_PK_ECDSA = 301
17873
# 990 "/usr/include/gcrypt.h" 3 4
17874
gcry_error_t gcry_pk_encrypt (gcry_sexp_t *result,
17875
gcry_sexp_t data, gcry_sexp_t pkey);
17879
gcry_error_t gcry_pk_decrypt (gcry_sexp_t *result,
17880
gcry_sexp_t data, gcry_sexp_t skey);
17884
gcry_error_t gcry_pk_sign (gcry_sexp_t *result,
17885
gcry_sexp_t data, gcry_sexp_t skey);
17888
gcry_error_t gcry_pk_verify (gcry_sexp_t sigval,
17889
gcry_sexp_t data, gcry_sexp_t pkey);
17892
gcry_error_t gcry_pk_testkey (gcry_sexp_t key);
17897
gcry_error_t gcry_pk_genkey (gcry_sexp_t *r_key, gcry_sexp_t s_parms);
17900
gcry_error_t gcry_pk_ctl (int cmd, void *buffer, size_t buflen);
17903
gcry_error_t gcry_pk_algo_info (int algo, int what,
17904
void *buffer, size_t *nbytes);
17909
const char *gcry_pk_algo_name (int algorithm) __attribute__ ((__pure__));
17913
int gcry_pk_map_name (const char* name) __attribute__ ((__pure__));
17917
unsigned int gcry_pk_get_nbits (gcry_sexp_t key) __attribute__ ((__pure__));
17921
unsigned char *gcry_pk_get_keygrip (gcry_sexp_t key, unsigned char *array);
17922
# 1049 "/usr/include/gcrypt.h" 3 4
17923
gcry_error_t gcry_pk_list (int *list, int *list_length);
17924
# 1061 "/usr/include/gcrypt.h" 3 4
17930
GCRY_MD_RMD160 = 3,
17934
GCRY_MD_SHA256 = 8,
17935
GCRY_MD_SHA384 = 9,
17936
GCRY_MD_SHA512 = 10,
17937
GCRY_MD_SHA224 = 11,
17939
GCRY_MD_CRC32 = 302,
17940
GCRY_MD_CRC32_RFC1510 = 303,
17941
GCRY_MD_CRC24_RFC2440 = 304,
17942
GCRY_MD_WHIRLPOOL = 305,
17943
GCRY_MD_TIGER1 = 306,
17944
GCRY_MD_TIGER2 = 307
17950
GCRY_MD_FLAG_SECURE = 1,
17951
GCRY_MD_FLAG_HMAC = 2
17955
struct gcry_md_context;
17960
typedef struct gcry_md_handle
17963
struct gcry_md_context *ctx;
17968
unsigned char buf[1];
17973
typedef struct gcry_md_handle *GCRY_MD_HD __attribute__ ((__deprecated__));
17974
typedef struct gcry_md_handle *GcryMDHd __attribute__ ((__deprecated__));
17981
gcry_error_t gcry_md_open (gcry_md_hd_t *h, int algo, unsigned int flags);
17984
void gcry_md_close (gcry_md_hd_t hd);
17987
gcry_error_t gcry_md_enable (gcry_md_hd_t hd, int algo);
17990
gcry_error_t gcry_md_copy (gcry_md_hd_t *bhd, gcry_md_hd_t ahd);
17993
void gcry_md_reset (gcry_md_hd_t hd);
17996
gcry_error_t gcry_md_ctl (gcry_md_hd_t hd, int cmd,
17997
void *buffer, size_t buflen);
18002
void gcry_md_write (gcry_md_hd_t hd, const void *buffer, size_t length);
18006
unsigned char *gcry_md_read (gcry_md_hd_t hd, int algo);
18013
void gcry_md_hash_buffer (int algo, void *digest,
18014
const void *buffer, size_t length);
18018
int gcry_md_get_algo (gcry_md_hd_t hd);
18022
unsigned int gcry_md_get_algo_dlen (int algo);
18026
int gcry_md_is_enabled (gcry_md_hd_t a, int algo);
18029
int gcry_md_is_secure (gcry_md_hd_t a);
18032
gcry_error_t gcry_md_info (gcry_md_hd_t h, int what, void *buffer,
18036
gcry_error_t gcry_md_algo_info (int algo, int what, void *buffer,
18042
const char *gcry_md_algo_name (int algo) __attribute__ ((__pure__));
18046
int gcry_md_map_name (const char* name) __attribute__ ((__pure__));
18050
gcry_error_t gcry_md_setkey (gcry_md_hd_t hd, const void *key, size_t keylen);
18055
void gcry_md_debug (gcry_md_hd_t hd, const char *suffix);
18056
# 1240 "/usr/include/gcrypt.h" 3 4
18057
gcry_error_t gcry_md_list (int *list, int *list_length);
18065
typedef enum gcry_ac_id
18075
typedef enum gcry_ac_key_type
18077
GCRY_AC_KEY_SECRET,
18080
gcry_ac_key_type_t;
18083
typedef enum gcry_ac_em
18085
GCRY_AC_EME_PKCS_V1_5,
18086
GCRY_AC_EMSA_PKCS_V1_5
18091
typedef enum gcry_ac_scheme
18093
GCRY_AC_ES_PKCS_V1_5,
18094
GCRY_AC_SSA_PKCS_V1_5
18104
typedef struct gcry_ac_data *gcry_ac_data_t;
18108
typedef struct gcry_ac_key *gcry_ac_key_t;
18112
typedef struct gcry_ac_key_pair *gcry_ac_key_pair_t;
18116
typedef struct gcry_ac_handle *gcry_ac_handle_t;
18118
typedef gpg_error_t (*gcry_ac_data_read_cb_t) (void *opaque,
18119
unsigned char *buffer,
18122
typedef gpg_error_t (*gcry_ac_data_write_cb_t) (void *opaque,
18123
unsigned char *buffer,
18128
GCRY_AC_IO_READABLE,
18129
GCRY_AC_IO_WRITABLE
18136
GCRY_AC_IO_CALLBACK
18140
typedef struct gcry_ac_io
18143
gcry_ac_io_mode_t mode __attribute__ ((__deprecated__));
18144
gcry_ac_io_type_t type __attribute__ ((__deprecated__));
18151
gcry_ac_data_read_cb_t cb;
18156
unsigned char *data;
18165
gcry_ac_data_write_cb_t cb;
18170
unsigned char **data;
18175
} io __attribute__ ((__deprecated__));
18182
typedef struct gcry_ac_key_spec_rsa
18185
} gcry_ac_key_spec_rsa_t;
18189
typedef struct gcry_ac_eme_pkcs_v1_5
18192
} gcry_ac_eme_pkcs_v1_5_t;
18194
typedef enum gcry_md_algos gcry_md_algo_t;
18198
typedef struct gcry_ac_emsa_pkcs_v1_5
18202
} gcry_ac_emsa_pkcs_v1_5_t;
18206
typedef struct gcry_ac_ssa_pkcs_v1_5
18209
} gcry_ac_ssa_pkcs_v1_5_t;
18212
gcry_error_t gcry_ac_data_new (gcry_ac_data_t *data);
18215
void gcry_ac_data_destroy (gcry_ac_data_t data);
18218
gcry_error_t gcry_ac_data_copy (gcry_ac_data_t *data_cp,
18219
gcry_ac_data_t data);
18223
unsigned int gcry_ac_data_length (gcry_ac_data_t data);
18226
void gcry_ac_data_clear (gcry_ac_data_t data);
18233
gcry_error_t gcry_ac_data_set (gcry_ac_data_t data, unsigned int flags,
18234
const char *name, gcry_mpi_t mpi);
18239
gcry_error_t gcry_ac_data_get_name (gcry_ac_data_t data, unsigned int flags,
18240
const char *name, gcry_mpi_t *mpi);
18246
gcry_error_t gcry_ac_data_get_index (gcry_ac_data_t data, unsigned int flags,
18248
const char **name, gcry_mpi_t *mpi);
18253
gcry_error_t gcry_ac_data_to_sexp (gcry_ac_data_t data, gcry_sexp_t *sexp,
18254
const char **identifiers);
18259
gcry_error_t gcry_ac_data_from_sexp (gcry_ac_data_t *data, gcry_sexp_t sexp,
18260
const char **identifiers);
18265
void gcry_ac_io_init (gcry_ac_io_t *ac_io, gcry_ac_io_mode_t mode,
18266
gcry_ac_io_type_t type, ...);
18271
void gcry_ac_io_init_va (gcry_ac_io_t *ac_io, gcry_ac_io_mode_t mode,
18272
gcry_ac_io_type_t type, va_list ap);
18275
gcry_error_t gcry_ac_open (gcry_ac_handle_t *handle,
18276
gcry_ac_id_t algorithm, unsigned int flags);
18279
void gcry_ac_close (gcry_ac_handle_t handle);
18282
gcry_error_t gcry_ac_key_init (gcry_ac_key_t *key, gcry_ac_handle_t handle,
18283
gcry_ac_key_type_t type, gcry_ac_data_t data);
18290
gcry_error_t gcry_ac_key_pair_generate (gcry_ac_handle_t handle,
18291
unsigned int nbits, void *spec,
18292
gcry_ac_key_pair_t *key_pair,
18293
gcry_mpi_t **misc_data);
18296
gcry_ac_key_t gcry_ac_key_pair_extract (gcry_ac_key_pair_t key_pair,
18297
gcry_ac_key_type_t which);
18300
gcry_ac_data_t gcry_ac_key_data_get (gcry_ac_key_t key);
18303
gcry_error_t gcry_ac_key_test (gcry_ac_handle_t handle, gcry_ac_key_t key);
18306
gcry_error_t gcry_ac_key_get_nbits (gcry_ac_handle_t handle,
18307
gcry_ac_key_t key, unsigned int *nbits);
18311
gcry_error_t gcry_ac_key_get_grip (gcry_ac_handle_t handle, gcry_ac_key_t key,
18312
unsigned char *key_grip);
18315
void gcry_ac_key_destroy (gcry_ac_key_t key);
18318
void gcry_ac_key_pair_destroy (gcry_ac_key_pair_t key_pair);
18323
gcry_error_t gcry_ac_data_encode (gcry_ac_em_t method,
18324
unsigned int flags, void *options,
18325
gcry_ac_io_t *io_read,
18326
gcry_ac_io_t *io_write);
18331
gcry_error_t gcry_ac_data_decode (gcry_ac_em_t method,
18332
unsigned int flags, void *options,
18333
gcry_ac_io_t *io_read,
18334
gcry_ac_io_t *io_write);
18339
gcry_error_t gcry_ac_data_encrypt (gcry_ac_handle_t handle,
18340
unsigned int flags,
18342
gcry_mpi_t data_plain,
18343
gcry_ac_data_t *data_encrypted);
18348
gcry_error_t gcry_ac_data_decrypt (gcry_ac_handle_t handle,
18349
unsigned int flags,
18351
gcry_mpi_t *data_plain,
18352
gcry_ac_data_t data_encrypted);
18356
gcry_error_t gcry_ac_data_sign (gcry_ac_handle_t handle,
18359
gcry_ac_data_t *data_signature);
18364
gcry_error_t gcry_ac_data_verify (gcry_ac_handle_t handle,
18367
gcry_ac_data_t data_signature);
18374
gcry_error_t gcry_ac_data_encrypt_scheme (gcry_ac_handle_t handle,
18375
gcry_ac_scheme_t scheme,
18376
unsigned int flags, void *opts,
18378
gcry_ac_io_t *io_message,
18379
gcry_ac_io_t *io_cipher);
18386
gcry_error_t gcry_ac_data_decrypt_scheme (gcry_ac_handle_t handle,
18387
gcry_ac_scheme_t scheme,
18388
unsigned int flags, void *opts,
18390
gcry_ac_io_t *io_cipher,
18391
gcry_ac_io_t *io_message);
18398
gcry_error_t gcry_ac_data_sign_scheme (gcry_ac_handle_t handle,
18399
gcry_ac_scheme_t scheme,
18400
unsigned int flags, void *opts,
18402
gcry_ac_io_t *io_message,
18403
gcry_ac_io_t *io_signature);
18411
gcry_error_t gcry_ac_data_verify_scheme (gcry_ac_handle_t handle,
18412
gcry_ac_scheme_t scheme,
18413
unsigned int flags, void *opts,
18415
gcry_ac_io_t *io_message,
18416
gcry_ac_io_t *io_signature);
18422
gcry_error_t gcry_ac_id_to_name (gcry_ac_id_t algorithm,
18424
__attribute__ ((__deprecated__));
18428
gcry_error_t gcry_ac_name_to_id (const char *name,
18429
gcry_ac_id_t *algorithm)
18430
__attribute__ ((__deprecated__));
18431
# 1627 "/usr/include/gcrypt.h" 3 4
18432
typedef enum gcry_random_level
18434
GCRY_WEAK_RANDOM = 0,
18435
GCRY_STRONG_RANDOM = 1,
18436
GCRY_VERY_STRONG_RANDOM = 2
18438
gcry_random_level_t;
18442
void gcry_randomize (void *buffer, size_t length,
18443
enum gcry_random_level level);
18448
gcry_error_t gcry_random_add_bytes (const void *buffer, size_t length,
18450
# 1654 "/usr/include/gcrypt.h" 3 4
18451
void *gcry_random_bytes (size_t nbytes, enum gcry_random_level level)
18452
__attribute__ ((__malloc__));
18457
void *gcry_random_bytes_secure (size_t nbytes, enum gcry_random_level level)
18458
__attribute__ ((__malloc__));
18464
void gcry_mpi_randomize (gcry_mpi_t w,
18465
unsigned int nbits, enum gcry_random_level level);
18469
void gcry_create_nonce (void *buffer, size_t length);
18470
# 1691 "/usr/include/gcrypt.h" 3 4
18471
typedef int (*gcry_prime_check_func_t) (void *arg, int mode,
18472
gcry_mpi_t candidate);
18473
# 1709 "/usr/include/gcrypt.h" 3 4
18474
gcry_error_t gcry_prime_generate (gcry_mpi_t *prime,
18475
unsigned int prime_bits,
18476
unsigned int factor_bits,
18477
gcry_mpi_t **factors,
18478
gcry_prime_check_func_t cb_func,
18480
gcry_random_level_t random_level,
18481
unsigned int flags);
18487
gcry_error_t gcry_prime_group_generator (gcry_mpi_t *r_g,
18489
gcry_mpi_t *factors,
18490
gcry_mpi_t start_g);
18494
void gcry_prime_release_factors (gcry_mpi_t *factors);
18498
gcry_error_t gcry_prime_check (gcry_mpi_t x, unsigned int flags);
18499
# 1744 "/usr/include/gcrypt.h" 3 4
18500
enum gcry_log_levels
18503
GCRY_LOG_INFO = 10,
18504
GCRY_LOG_WARN = 20,
18505
GCRY_LOG_ERROR = 30,
18506
GCRY_LOG_FATAL = 40,
18508
GCRY_LOG_DEBUG = 100
18512
typedef void (*gcry_handler_progress_t) (void *, const char *, int, int, int);
18515
typedef void *(*gcry_handler_alloc_t) (size_t n);
18518
typedef int (*gcry_handler_secure_check_t) (const void *);
18521
typedef void *(*gcry_handler_realloc_t) (void *p, size_t n);
18524
typedef void (*gcry_handler_free_t) (void *);
18527
typedef int (*gcry_handler_no_mem_t) (void *, size_t, unsigned int);
18530
typedef void (*gcry_handler_error_t) (void *, int, const char *);
18533
typedef void (*gcry_handler_log_t) (void *, int, const char *, va_list);
18537
void gcry_set_progress_handler (gcry_handler_progress_t cb, void *cb_data);
18541
void gcry_set_allocation_handler (
18542
gcry_handler_alloc_t func_alloc,
18543
gcry_handler_alloc_t func_alloc_secure,
18544
gcry_handler_secure_check_t func_secure_check,
18545
gcry_handler_realloc_t func_realloc,
18546
gcry_handler_free_t func_free);
18550
void gcry_set_outofcore_handler (gcry_handler_no_mem_t h, void *opaque);
18554
void gcry_set_fatalerror_handler (gcry_handler_error_t fnc, void *opaque);
18558
void gcry_set_log_handler (gcry_handler_log_t f, void *opaque);
18561
void gcry_set_gettext_handler (const char *(*f)(const char*));
18565
void *gcry_malloc (size_t n) __attribute__ ((__malloc__));
18566
void *gcry_calloc (size_t n, size_t m) __attribute__ ((__malloc__));
18567
void *gcry_malloc_secure (size_t n) __attribute__ ((__malloc__));
18568
void *gcry_calloc_secure (size_t n, size_t m) __attribute__ ((__malloc__));
18569
void *gcry_realloc (void *a, size_t n);
18570
char *gcry_strdup (const char *string) __attribute__ ((__malloc__));
18571
void *gcry_xmalloc (size_t n) __attribute__ ((__malloc__));
18572
void *gcry_xcalloc (size_t n, size_t m) __attribute__ ((__malloc__));
18573
void *gcry_xmalloc_secure (size_t n) __attribute__ ((__malloc__));
18574
void *gcry_xcalloc_secure (size_t n, size_t m) __attribute__ ((__malloc__));
18575
void *gcry_xrealloc (void *a, size_t n);
18576
char *gcry_xstrdup (const char * a) __attribute__ ((__malloc__));
18577
void gcry_free (void *a);
18580
int gcry_is_secure (const void *a) __attribute__ ((__pure__));
18587
# 1 "/usr/include/gcrypt-module.h" 1 3 4
18588
# 43 "/usr/include/gcrypt-module.h" 3 4
18589
typedef struct gcry_module *gcry_module_t;
18594
typedef gcry_err_code_t (*gcry_cipher_setkey_t) (void *c,
18595
const unsigned char *key,
18599
typedef void (*gcry_cipher_encrypt_t) (void *c,
18600
unsigned char *outbuf,
18601
const unsigned char *inbuf);
18604
typedef void (*gcry_cipher_decrypt_t) (void *c,
18605
unsigned char *outbuf,
18606
const unsigned char *inbuf);
18609
typedef void (*gcry_cipher_stencrypt_t) (void *c,
18610
unsigned char *outbuf,
18611
const unsigned char *inbuf,
18615
typedef void (*gcry_cipher_stdecrypt_t) (void *c,
18616
unsigned char *outbuf,
18617
const unsigned char *inbuf,
18620
typedef struct gcry_cipher_oid_spec
18624
} gcry_cipher_oid_spec_t;
18627
typedef struct gcry_cipher_spec
18630
const char **aliases;
18631
gcry_cipher_oid_spec_t *oids;
18634
size_t contextsize;
18635
gcry_cipher_setkey_t setkey;
18636
gcry_cipher_encrypt_t encrypt;
18637
gcry_cipher_decrypt_t decrypt;
18638
gcry_cipher_stencrypt_t stencrypt;
18639
gcry_cipher_stdecrypt_t stdecrypt;
18640
} gcry_cipher_spec_t;
18645
gcry_error_t gcry_cipher_register (gcry_cipher_spec_t *cipher,
18647
gcry_module_t *module);
18651
void gcry_cipher_unregister (gcry_module_t module);
18656
typedef gcry_err_code_t (*gcry_pk_generate_t) (int algo,
18657
unsigned int nbits,
18658
unsigned long use_e,
18660
gcry_mpi_t **retfactors);
18663
typedef gcry_err_code_t (*gcry_pk_check_secret_key_t) (int algo,
18667
typedef gcry_err_code_t (*gcry_pk_encrypt_t) (int algo,
18668
gcry_mpi_t *resarr,
18674
typedef gcry_err_code_t (*gcry_pk_decrypt_t) (int algo,
18675
gcry_mpi_t *result,
18681
typedef gcry_err_code_t (*gcry_pk_sign_t) (int algo,
18682
gcry_mpi_t *resarr,
18687
typedef gcry_err_code_t (*gcry_pk_verify_t) (int algo,
18691
int (*cmp) (void *, gcry_mpi_t),
18695
typedef unsigned (*gcry_pk_get_nbits_t) (int algo, gcry_mpi_t *pkey);
18698
typedef struct gcry_pk_spec
18701
const char **aliases;
18702
const char *elements_pkey;
18703
const char *elements_skey;
18704
const char *elements_enc;
18705
const char *elements_sig;
18706
const char *elements_grip;
18708
gcry_pk_generate_t generate;
18709
gcry_pk_check_secret_key_t check_secret_key;
18710
gcry_pk_encrypt_t encrypt;
18711
gcry_pk_decrypt_t decrypt;
18712
gcry_pk_sign_t sign;
18713
gcry_pk_verify_t verify;
18714
gcry_pk_get_nbits_t get_nbits;
18720
gcry_error_t gcry_pk_register (gcry_pk_spec_t *pubkey,
18721
unsigned int *algorithm_id,
18722
gcry_module_t *module);
18726
void gcry_pk_unregister (gcry_module_t module);
18731
typedef void (*gcry_md_init_t) (void *c);
18734
typedef void (*gcry_md_write_t) (void *c, const void *buf, size_t nbytes);
18737
typedef void (*gcry_md_final_t) (void *c);
18740
typedef unsigned char *(*gcry_md_read_t) (void *c);
18742
typedef struct gcry_md_oid_spec
18744
const char *oidstring;
18745
} gcry_md_oid_spec_t;
18748
typedef struct gcry_md_spec
18751
unsigned char *asnoid;
18753
gcry_md_oid_spec_t *oids;
18755
gcry_md_init_t init;
18756
gcry_md_write_t write;
18757
gcry_md_final_t final;
18758
gcry_md_read_t read;
18759
size_t contextsize;
18765
gcry_error_t gcry_md_register (gcry_md_spec_t *digest,
18766
unsigned int *algorithm_id,
18767
gcry_module_t *module);
18771
void gcry_md_unregister (gcry_module_t module);
18772
# 1832 "/usr/include/gcrypt.h" 2 3 4
18773
# 26 "./../../gkm/gkm-manager.h" 2
18776
# 1 "./../../gkm/gkm-object.h" 1
18777
# 38 "./../../gkm/gkm-object.h"
18778
typedef struct _GkmObjectClass GkmObjectClass;
18779
typedef struct _GkmObjectPrivate GkmObjectPrivate;
18781
struct _GkmObject {
18783
GkmObjectPrivate *pv;
18786
struct _GkmObjectClass {
18787
GObjectClass parent_class;
18791
void (*expose_object) (GkmObject *object, gboolean exposed);
18793
void (*notify_attribute) (GkmObject *object, CK_ATTRIBUTE_TYPE attr_type);
18797
CK_RV (*get_attribute) (GkmObject *object, GkmSession *session,
18798
CK_ATTRIBUTE *attr);
18800
void (*set_attribute) (GkmObject *object, GkmSession *session,
18801
GkmTransaction *transaction, CK_ATTRIBUTE *attr);
18803
void (*create_attributes) (GkmObject *object, GkmSession *session,
18804
GkmTransaction *transaction, CK_ATTRIBUTE *attrs, CK_ULONG n_attrs);
18806
CK_RV (*unlock) (GkmObject *self, GkmCredential *cred);
18809
GType gkm_object_get_type (void);
18811
CK_OBJECT_HANDLE gkm_object_get_handle (GkmObject *self);
18813
void gkm_object_set_handle (GkmObject *self,
18814
CK_OBJECT_HANDLE handle);
18816
GkmModule* gkm_object_get_module (GkmObject *self);
18818
GkmManager* gkm_object_get_manager (GkmObject *self);
18820
const gchar* gkm_object_get_unique (GkmObject *self);
18822
gboolean gkm_object_is_token (GkmObject *self);
18824
gboolean gkm_object_is_transient (GkmObject *self);
18826
void gkm_object_mark_used (GkmObject *self);
18828
CK_RV gkm_object_unlock (GkmObject *self,
18829
GkmCredential *cred);
18831
void gkm_object_destroy (GkmObject *self,
18832
GkmTransaction *transaction);
18834
gboolean gkm_object_is_exposed (GkmObject *self);
18836
void gkm_object_expose (GkmObject *self,
18839
void gkm_object_expose_full (GkmObject *self,
18840
GkmTransaction *transaction,
18843
gboolean gkm_object_match (GkmObject *self,
18844
GkmSession *session,
18845
CK_ATTRIBUTE_PTR attr);
18847
gboolean gkm_object_match_all (GkmObject *self,
18848
GkmSession *session,
18849
CK_ATTRIBUTE_PTR attrs,
18852
CK_RV gkm_object_get_attribute (GkmObject *self,
18853
GkmSession *session,
18854
CK_ATTRIBUTE_PTR attr);
18856
void gkm_object_set_attribute (GkmObject *self,
18857
GkmSession *session,
18858
GkmTransaction *transaction,
18859
CK_ATTRIBUTE_PTR attr);
18861
void gkm_object_create_attributes (GkmObject *self,
18862
GkmSession *session,
18863
GkmTransaction *transaction,
18864
CK_ATTRIBUTE_PTR attrs,
18867
void gkm_object_notify_attribute (GkmObject *self,
18868
CK_ATTRIBUTE_TYPE attr_type);
18870
gboolean gkm_object_get_attribute_boolean (GkmObject *self,
18871
GkmSession *session,
18872
CK_ATTRIBUTE_TYPE type,
18875
gboolean gkm_object_get_attribute_ulong (GkmObject *self,
18876
GkmSession *session,
18877
CK_ATTRIBUTE_TYPE type,
18880
void* gkm_object_get_attribute_data (GkmObject *self,
18881
GkmSession *session,
18882
CK_ATTRIBUTE_TYPE type,
18885
gboolean gkm_object_has_attribute_ulong (GkmObject *self,
18886
GkmSession *session,
18887
CK_ATTRIBUTE_TYPE type,
18890
gboolean gkm_object_has_attribute_boolean (GkmObject *self,
18891
GkmSession *session,
18892
CK_ATTRIBUTE_TYPE type,
18894
# 29 "./../../gkm/gkm-manager.h" 2
18895
# 49 "./../../gkm/gkm-manager.h"
18897
# 64 "./../../gkm/gkm-manager.h"
18898
typedef struct _GkmManagerClass GkmManagerClass;
18899
typedef struct _GkmManagerPrivate GkmManagerPrivate;
18901
struct _GkmManager {
18903
GkmManagerPrivate *pv;
18906
struct _GkmManagerClass {
18907
GObjectClass parent_class;
18911
void (*object_added) (GkmManager *self, GkmObject *object);
18913
void (*object_removed) (GkmManager *self, GkmObject *object);
18915
void (*attribute_changed) (GkmManager *self, GkmObject *object, CK_ATTRIBUTE_TYPE type);
18918
GType gkm_manager_get_type (void) __attribute__((__const__));
18920
GkmManager* gkm_manager_for_template (CK_ATTRIBUTE_PTR attrs,
18922
GkmSession *session);
18924
gboolean gkm_manager_get_for_token (GkmManager *self);
18926
void gkm_manager_add_attribute_index (GkmManager *self,
18927
CK_ATTRIBUTE_TYPE attr,
18930
void gkm_manager_add_property_index (GkmManager *self,
18931
const gchar *property,
18934
GkmObject* gkm_manager_find_by_handle (GkmManager *self,
18935
CK_OBJECT_HANDLE obj);
18937
GList* gkm_manager_find_by_number_property (GkmManager *self,
18938
const gchar *property,
18941
GkmObject* gkm_manager_find_one_by_number_property (GkmManager *self,
18942
const gchar *property,
18945
GList* gkm_manager_find_by_string_property (GkmManager *self,
18946
const gchar *property,
18947
const gchar *value);
18949
GkmObject* gkm_manager_find_one_by_string_property (GkmManager *self,
18950
const gchar *property,
18951
const gchar *value);
18953
GList* gkm_manager_find_by_attributes (GkmManager *self,
18954
GkmSession *session,
18955
CK_ATTRIBUTE_PTR template,
18958
GList* gkm_manager_find_by_class (GkmManager *self,
18959
GkmSession *session,
18960
CK_OBJECT_CLASS klass);
18962
GkmObject* gkm_manager_find_one_by_attributes (GkmManager *self,
18963
GkmSession *session,
18964
CK_ATTRIBUTE_PTR template,
18967
GkmObject* gkm_manager_find_related (GkmManager *self,
18968
GkmSession *session,
18969
CK_OBJECT_CLASS klass,
18970
GkmObject *related_to);
18972
CK_RV gkm_manager_find_handles (GkmManager *self,
18973
GkmSession *session,
18974
gboolean include_private,
18975
CK_ATTRIBUTE_PTR template,
18980
# 29 "./../../gkm/gkm-session.h" 2
18981
# 37 "./../../gkm/gkm-session.h"
18982
typedef struct _GkmSessionClass GkmSessionClass;
18983
typedef struct _GkmSessionPrivate GkmSessionPrivate;
18985
struct _GkmSession {
18987
GkmSessionPrivate *pv;
18990
struct _GkmSessionClass {
18991
GObjectClass parent_class;
19000
GType gkm_session_get_type (void);
19002
GkmSession* gkm_session_for_session_object (GkmObject *obj);
19004
GkmSession* gkm_session_for_session_object (GkmObject *obj);
19006
CK_SESSION_HANDLE gkm_session_get_handle (GkmSession *self);
19008
CK_SLOT_ID gkm_session_get_slot_id (GkmSession *self);
19010
CK_ULONG gkm_session_get_apartment (GkmSession *self);
19012
GkmModule* gkm_session_get_module (GkmSession *self);
19014
GkmManager* gkm_session_get_manager (GkmSession *self);
19016
gboolean gkm_session_get_read_only (GkmSession *self);
19018
gulong gkm_session_get_logged_in (GkmSession *self);
19020
void gkm_session_set_logged_in (GkmSession *self,
19023
gpointer gkm_session_get_crypto_state (GkmSession *self);
19025
void gkm_session_set_crypto_state (GkmSession *self,
19027
GDestroyNotify destroy);
19029
GkmCredential* gkm_session_get_credential (GkmSession *self);
19031
CK_RV gkm_session_lookup_readable_object (GkmSession *self,
19032
CK_OBJECT_HANDLE handle,
19033
GkmObject **result);
19035
CK_RV gkm_session_lookup_writable_object (GkmSession *self,
19036
CK_OBJECT_HANDLE handle,
19037
GkmObject **result);
19039
CK_RV gkm_session_login_context_specific (GkmSession *self,
19040
CK_UTF8CHAR_PTR pin,
19043
void gkm_session_add_session_object (GkmSession *self,
19044
GkmTransaction *transaction,
19047
void gkm_session_destroy_session_object (GkmSession *self,
19048
GkmTransaction *transaction,
19051
GkmObject* gkm_session_create_object_for_factory (GkmSession *self,
19052
GkmFactory *factory,
19053
GkmTransaction *transaction,
19054
CK_ATTRIBUTE_PTR attrs,
19057
GkmObject* gkm_session_create_object_for_attributes (GkmSession *self,
19058
GkmTransaction *transaction,
19059
CK_ATTRIBUTE_PTR attrs,
19062
void gkm_session_complete_object_creation (GkmSession *self,
19063
GkmTransaction *transaction,
19066
CK_ATTRIBUTE_PTR attrs,
19069
CK_RV gkm_session_C_GetFunctionStatus (GkmSession *self);
19071
CK_RV gkm_session_C_CancelFunction (GkmSession *self);
19073
CK_RV gkm_session_C_GetSessionInfo (GkmSession* self,
19074
CK_SESSION_INFO_PTR info);
19076
CK_RV gkm_session_C_GetOperationState (GkmSession* self,
19077
CK_BYTE_PTR operation_state,
19078
CK_ULONG_PTR operation_state_len);
19080
CK_RV gkm_session_C_SetOperationState (GkmSession* self,
19081
CK_BYTE_PTR operation_state,
19082
CK_ULONG operation_state_len,
19083
CK_OBJECT_HANDLE encryption_key,
19084
CK_OBJECT_HANDLE authentication_key);
19086
CK_RV gkm_session_C_CreateObject (GkmSession* self,
19087
CK_ATTRIBUTE_PTR template,
19089
CK_OBJECT_HANDLE_PTR new_object);
19091
CK_RV gkm_session_C_CopyObject (GkmSession* self,
19092
CK_OBJECT_HANDLE object,
19093
CK_ATTRIBUTE_PTR template,
19095
CK_OBJECT_HANDLE_PTR new_object);
19097
CK_RV gkm_session_C_DestroyObject (GkmSession* self,
19098
CK_OBJECT_HANDLE object);
19100
CK_RV gkm_session_C_GetObjectSize (GkmSession* self,
19101
CK_OBJECT_HANDLE object,
19102
CK_ULONG_PTR size);
19104
CK_RV gkm_session_C_GetAttributeValue (GkmSession* self,
19105
CK_OBJECT_HANDLE handle,
19106
CK_ATTRIBUTE_PTR template,
19109
CK_RV gkm_session_C_SetAttributeValue (GkmSession* self,
19110
CK_OBJECT_HANDLE handle,
19111
CK_ATTRIBUTE_PTR template,
19114
CK_RV gkm_session_C_FindObjectsInit (GkmSession* self,
19115
CK_ATTRIBUTE_PTR template,
19118
CK_RV gkm_session_C_FindObjects (GkmSession* self,
19119
CK_OBJECT_HANDLE_PTR objects,
19120
CK_ULONG max_count,
19121
CK_ULONG_PTR count);
19123
CK_RV gkm_session_C_FindObjectsFinal (GkmSession* self);
19125
CK_RV gkm_session_C_EncryptInit (GkmSession *self,
19126
CK_MECHANISM_PTR mechanism,
19127
CK_OBJECT_HANDLE key);
19129
CK_RV gkm_session_C_Encrypt (GkmSession *self,
19132
CK_BYTE_PTR encrypted_data,
19133
CK_ULONG_PTR encrypted_data_len);
19135
CK_RV gkm_session_C_EncryptUpdate (GkmSession *self,
19138
CK_BYTE_PTR encrypted_part,
19139
CK_ULONG_PTR encrypted_part_len);
19141
CK_RV gkm_session_C_EncryptFinal (GkmSession *self,
19142
CK_BYTE_PTR last_part,
19143
CK_ULONG_PTR last_part_len);
19145
CK_RV gkm_session_C_DecryptInit (GkmSession *self,
19146
CK_MECHANISM_PTR mechanism,
19147
CK_OBJECT_HANDLE key);
19149
CK_RV gkm_session_C_Decrypt (GkmSession *self,
19150
CK_BYTE_PTR enc_data,
19151
CK_ULONG enc_data_len,
19153
CK_ULONG_PTR data_len);
19155
CK_RV gkm_session_C_DecryptUpdate (GkmSession *self,
19156
CK_BYTE_PTR enc_part,
19157
CK_ULONG enc_part_len,
19159
CK_ULONG_PTR part_len);
19161
CK_RV gkm_session_C_DecryptFinal (GkmSession *self,
19162
CK_BYTE_PTR last_part,
19163
CK_ULONG_PTR last_part_len);
19165
CK_RV gkm_session_C_DigestInit (GkmSession *self,
19166
CK_MECHANISM_PTR mechanism);
19168
CK_RV gkm_session_C_Digest (GkmSession *self,
19171
CK_BYTE_PTR digest,
19172
CK_ULONG_PTR digest_len);
19174
CK_RV gkm_session_C_DigestUpdate (GkmSession *self,
19176
CK_ULONG part_len);
19178
CK_RV gkm_session_C_DigestKey (GkmSession *self,
19179
CK_OBJECT_HANDLE key);
19181
CK_RV gkm_session_C_DigestFinal (GkmSession *self,
19182
CK_BYTE_PTR digest,
19183
CK_ULONG_PTR digest_len);
19185
CK_RV gkm_session_C_SignInit (GkmSession *self,
19186
CK_MECHANISM_PTR mechanism,
19187
CK_OBJECT_HANDLE key);
19189
CK_RV gkm_session_C_Sign (GkmSession *self,
19192
CK_BYTE_PTR signature,
19193
CK_ULONG_PTR signature_len);
19195
CK_RV gkm_session_C_SignUpdate (GkmSession *self,
19197
CK_ULONG part_len);
19199
CK_RV gkm_session_C_SignFinal (GkmSession *self,
19200
CK_BYTE_PTR signature,
19201
CK_ULONG_PTR signature_len);
19203
CK_RV gkm_session_C_SignRecoverInit (GkmSession *self,
19204
CK_MECHANISM_PTR mechanism,
19205
CK_OBJECT_HANDLE key);
19207
CK_RV gkm_session_C_SignRecover (GkmSession *self,
19210
CK_BYTE_PTR signature,
19211
CK_ULONG_PTR signature_len);
19213
CK_RV gkm_session_C_VerifyInit (GkmSession *self,
19214
CK_MECHANISM_PTR mechanism,
19215
CK_OBJECT_HANDLE key);
19217
CK_RV gkm_session_C_Verify (GkmSession *self,
19220
CK_BYTE_PTR signature,
19221
CK_ULONG signature_len);
19223
CK_RV gkm_session_C_VerifyUpdate (GkmSession *self,
19225
CK_ULONG part_len);
19227
CK_RV gkm_session_C_VerifyFinal (GkmSession *self,
19228
CK_BYTE_PTR signature,
19229
CK_ULONG signature_len);
19231
CK_RV gkm_session_C_VerifyRecoverInit (GkmSession *self,
19232
CK_MECHANISM_PTR mechanism,
19233
CK_OBJECT_HANDLE key);
19235
CK_RV gkm_session_C_VerifyRecover (GkmSession *self,
19236
CK_BYTE_PTR signature,
19237
CK_ULONG signature_len,
19239
CK_ULONG_PTR data_len);
19241
CK_RV gkm_session_C_DigestEncryptUpdate (GkmSession *self,
19244
CK_BYTE_PTR enc_part,
19245
CK_ULONG_PTR enc_part_len);
19247
CK_RV gkm_session_C_DecryptDigestUpdate (GkmSession *self,
19248
CK_BYTE_PTR enc_part,
19249
CK_ULONG enc_part_len,
19251
CK_ULONG_PTR part_len);
19253
CK_RV gkm_session_C_SignEncryptUpdate (GkmSession *self,
19256
CK_BYTE_PTR enc_part,
19257
CK_ULONG_PTR enc_part_len);
19259
CK_RV gkm_session_C_DecryptVerifyUpdate (GkmSession *self,
19260
CK_BYTE_PTR enc_part,
19261
CK_ULONG enc_part_len,
19263
CK_ULONG_PTR part_len);
19265
CK_RV gkm_session_C_GenerateKey (GkmSession* self,
19266
CK_MECHANISM_PTR mechanism,
19267
CK_ATTRIBUTE_PTR template,
19269
CK_OBJECT_HANDLE_PTR key);
19271
CK_RV gkm_session_C_GenerateKeyPair (GkmSession* self,
19272
CK_MECHANISM_PTR mechanism,
19273
CK_ATTRIBUTE_PTR pub_template,
19274
CK_ULONG pub_count,
19275
CK_ATTRIBUTE_PTR priv_template,
19276
CK_ULONG priv_count,
19277
CK_OBJECT_HANDLE_PTR pub_key,
19278
CK_OBJECT_HANDLE_PTR priv_key);
19280
CK_RV gkm_session_C_WrapKey (GkmSession* self,
19281
CK_MECHANISM_PTR mechanism,
19282
CK_OBJECT_HANDLE wrapping_key,
19283
CK_OBJECT_HANDLE key,
19284
CK_BYTE_PTR wrapped_key,
19285
CK_ULONG_PTR wrapped_key_len);
19287
CK_RV gkm_session_C_UnwrapKey (GkmSession* self,
19288
CK_MECHANISM_PTR mechanism,
19289
CK_OBJECT_HANDLE unwrapping_key,
19290
CK_BYTE_PTR wrapped_key,
19291
CK_ULONG wrapped_key_len,
19292
CK_ATTRIBUTE_PTR template,
19294
CK_OBJECT_HANDLE_PTR key);
19296
CK_RV gkm_session_C_DeriveKey (GkmSession* self,
19297
CK_MECHANISM_PTR mechanism,
19298
CK_OBJECT_HANDLE base_key,
19299
CK_ATTRIBUTE_PTR template,
19301
CK_OBJECT_HANDLE_PTR key);
19303
CK_RV gkm_session_C_SeedRandom (GkmSession* self,
19305
CK_ULONG seed_len);
19307
CK_RV gkm_session_C_GenerateRandom (GkmSession* self,
19308
CK_BYTE_PTR random_data,
19309
CK_ULONG random_len);
19310
# 30 "test-xdg-trust.c" 2
19313
# 1 "../../../pkcs11/pkcs11n.h" 1
19314
# 199 "../../../pkcs11/pkcs11n.h"
19315
typedef CK_ULONG CK_TRUST;
19316
# 33 "test-xdg-trust.c" 2
19317
# 1 "../../../pkcs11/pkcs11x.h" 1
19318
# 36 "../../../pkcs11/pkcs11x.h"
19319
typedef CK_ULONG CK_X_ASSERTION_TYPE;
19320
# 34 "test-xdg-trust.c" 2
19322
static GkmModule *module = ((void *)0);
19323
static GkmSession *session = ((void *)0);
19324
static gpointer cert_data = ((void *)0);
19325
static gsize n_cert_data;
19332
static const char DER_ISSUER[] =
19333
"\x30\x81\xCF\x31\x0B\x30\x09\x06\x03\x55\x04\x06\x13\x02\x5A\x41"
19334
"\x31\x15\x30\x13\x06\x03\x55\x04\x08\x13\x0C\x57\x65\x73\x74\x65"
19335
"\x72\x6E\x20\x43\x61\x70\x65\x31\x12\x30\x10\x06\x03\x55\x04\x07"
19336
"\x13\x09\x43\x61\x70\x65\x20\x54\x6F\x77\x6E\x31\x1A\x30\x18\x06"
19337
"\x03\x55\x04\x0A\x13\x11\x54\x68\x61\x77\x74\x65\x20\x43\x6F\x6E"
19338
"\x73\x75\x6C\x74\x69\x6E\x67\x31\x28\x30\x26\x06\x03\x55\x04\x0B"
19339
"\x13\x1F\x43\x65\x72\x74\x69\x66\x69\x63\x61\x74\x69\x6F\x6E\x20"
19340
"\x53\x65\x72\x76\x69\x63\x65\x73\x20\x44\x69\x76\x69\x73\x69\x6F"
19341
"\x6E\x31\x23\x30\x21\x06\x03\x55\x04\x03\x13\x1A\x54\x68\x61\x77"
19342
"\x74\x65\x20\x50\x65\x72\x73\x6F\x6E\x61\x6C\x20\x50\x72\x65\x6D"
19343
"\x69\x75\x6D\x20\x43\x41\x31\x2A\x30\x28\x06\x09\x2A\x86\x48\x86"
19344
"\xF7\x0D\x01\x09\x01\x16\x1B\x70\x65\x72\x73\x6F\x6E\x61\x6C\x2D"
19345
"\x70\x72\x65\x6D\x69\x75\x6D\x40\x74\x68\x61\x77\x74\x65\x2E\x63"
19348
static const char SHA1_CHECKSUM[] =
19349
"\x36\x86\x35\x63\xfd\x51\x28\xc7\xbe\xa6\xf0\x05\xcf\xe9\xb4\x36"
19350
"\x68\x08\x6c\xce";
19352
static const char MD5_CHECKSUM[] =
19353
"\x3a\xb2\xde\x22\x9a\x20\x93\x49\xf9\xed\xc8\xd2\x8a\xe7\x68\x0d";
19355
static const char SERIAL_NUMBER[] =
19357
# 117 "test-xdg-trust.c"
19358
void testing__setup__trust_setup(int *__unused, gconstpointer __data)
19362
module = test_xdg_module_initialize_and_enter ();
19363
session = test_xdg_module_open_session ((!(0)));
19365
rv = gkm_module_C_Login (module, gkm_session_get_handle (session), (1UL), ((void *)0), 0);
19366
do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (rv == (0UL)) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "test-xdg-trust.c", 125, ((const char*) (__PRETTY_FUNCTION__)), "rv == CKR_OK"); } while (0);
19368
cert_data = testing_data_read ("test-certificate-2.cer", &n_cert_data);
19369
do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (cert_data) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "test-xdg-trust.c", 128, ((const char*) (__PRETTY_FUNCTION__)), "cert_data"); } while (0);
19372
void testing__teardown__trust_teardown(int *__unused, gconstpointer __data)
19374
test_xdg_module_leave_and_finalize ();
19375
module = ((void *)0);
19376
session = ((void *)0);
19378
g_free (cert_data);
19379
cert_data = ((void *)0);
19383
void testing__test__trust_load_objects(int *__unused, gconstpointer __data)
19385
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31))|0x4E534350) + 3);
19387
CK_ATTRIBUTE attrs[] = {
19388
{ (0UL), &klass, sizeof (klass) },
19391
CK_ULONG n_objects;
19392
CK_OBJECT_HANDLE objects[16];
19395
rv = gkm_session_C_FindObjectsInit (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])));
19396
do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (rv == (0UL)) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "test-xdg-trust.c", 155, ((const char*) (__PRETTY_FUNCTION__)), "rv == CKR_OK"); } while (0);
19397
rv = gkm_session_C_FindObjects (session, objects, (sizeof (objects) / sizeof ((objects)[0])), &n_objects);
19398
do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (rv == (0UL)) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "test-xdg-trust.c", 157, ((const char*) (__PRETTY_FUNCTION__)), "rv == CKR_OK"); } while (0);
19399
rv = gkm_session_C_FindObjectsFinal (session);
19400
do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (rv == (0UL)) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "test-xdg-trust.c", 159, ((const char*) (__PRETTY_FUNCTION__)), "rv == CKR_OK"); } while (0);
19402
do { CK_RV __v1 = (n_objects), __v2 = (1); if (__v1 >= __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 161, ((const char*) (__PRETTY_FUNCTION__)), "n_objects" " " ">=" " " "1", __v1, ">=", __v2); } while (0);
19405
void testing__test__trust_create_assertion_complete(int *__unused, gconstpointer __data)
19407
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19408
CK_X_ASSERTION_TYPE atype = 3UL;
19409
CK_OBJECT_HANDLE object = 0;
19410
CK_OBJECT_HANDLE check = 0;
19411
CK_ULONG n_objects = 0;
19414
CK_ATTRIBUTE attrs[] = {
19415
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 2), cert_data, n_cert_data },
19416
{ (0UL), &klass, sizeof (klass) },
19417
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19418
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), "test-purpose", 12 },
19421
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19422
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 181, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19423
do { CK_RV __v1 = (object), __v2 = (0); if (__v1 != __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 182, ((const char*) (__PRETTY_FUNCTION__)), "object" " " "!=" " " "0", __v1, "!=", __v2); } while (0);
19425
rv = gkm_session_C_FindObjectsInit (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])));
19426
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 185, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19427
rv = gkm_session_C_FindObjects (session, &check, 1, &n_objects);
19428
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 187, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19429
rv = gkm_session_C_FindObjectsFinal (session);
19430
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 189, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19432
do { CK_RV __v1 = (n_objects), __v2 = (1); if (__v1 == __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 191, ((const char*) (__PRETTY_FUNCTION__)), "n_objects" " " "==" " " "1", __v1, "==", __v2); } while (0);
19433
do { CK_RV __v1 = (check), __v2 = (object); if (__v1 == __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 192, ((const char*) (__PRETTY_FUNCTION__)), "check" " " "==" " " "object", __v1, "==", __v2); } while (0);
19436
void testing__test__trust_complete_assertion_has_no_serial_or_issuer(int *__unused, gconstpointer __data)
19438
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19439
CK_X_ASSERTION_TYPE atype = 3UL;
19440
CK_OBJECT_HANDLE object = 0;
19441
CK_ATTRIBUTE check;
19444
CK_ATTRIBUTE attrs[] = {
19445
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 2), cert_data, n_cert_data },
19446
{ (0UL), &klass, sizeof (klass) },
19447
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19448
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), "test-purpose", 12 },
19451
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19452
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 211, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19453
do { CK_RV __v1 = (object), __v2 = (0); if (__v1 != __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 212, ((const char*) (__PRETTY_FUNCTION__)), "object" " " "!=" " " "0", __v1, "!=", __v2); } while (0);
19455
check.type = (0x82UL);
19456
check.pValue = ((void *)0);
19457
check.ulValueLen = 0;
19458
rv = gkm_session_C_GetAttributeValue (session, object, &check, 1);
19459
do { CK_RV __v1 = (rv), __v2 = ((0x12UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 218, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_ATTRIBUTE_TYPE_INVALID", __v1, "==", __v2); } while (0);
19461
check.type = (0x81UL);
19462
check.pValue = ((void *)0);
19463
check.ulValueLen = 0;
19464
rv = gkm_session_C_GetAttributeValue (session, object, &check, 1);
19465
do { CK_RV __v1 = (rv), __v2 = ((0x12UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 224, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_ATTRIBUTE_TYPE_INVALID", __v1, "==", __v2); } while (0);
19468
void testing__test__trust_complete_assertion_netscape_md5_hash(int *__unused, gconstpointer __data)
19470
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19471
CK_OBJECT_CLASS nklass = ((((unsigned long) (1UL << 31))|0x4E534350) + 3);
19472
CK_X_ASSERTION_TYPE atype = 2UL;
19473
CK_OBJECT_HANDLE object = 0;
19474
CK_OBJECT_HANDLE check = 0;
19475
CK_ULONG n_objects = 0;
19478
CK_ATTRIBUTE attrs[] = {
19479
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 2), cert_data, n_cert_data },
19480
{ (0UL), &klass, sizeof (klass) },
19481
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19482
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), "test-purpose", 12 },
19485
CK_ATTRIBUTE lookup[] = {
19486
{ (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 101), (void*)MD5_CHECKSUM, (sizeof (MD5_CHECKSUM) / sizeof ((MD5_CHECKSUM)[0])) - 1 },
19487
{ (0UL), &nklass, sizeof (nklass) },
19490
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19491
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 250, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19492
do { CK_RV __v1 = (object), __v2 = (0); if (__v1 != __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 251, ((const char*) (__PRETTY_FUNCTION__)), "object" " " "!=" " " "0", __v1, "!=", __v2); } while (0);
19494
rv = gkm_session_C_FindObjectsInit (session, lookup, (sizeof (lookup) / sizeof ((lookup)[0])));
19495
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 254, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19496
rv = gkm_session_C_FindObjects (session, &check, 1, &n_objects);
19497
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 256, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19498
rv = gkm_session_C_FindObjectsFinal (session);
19499
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 258, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19501
do { CK_RV __v1 = (check), __v2 = (0); if (__v1 != __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 260, ((const char*) (__PRETTY_FUNCTION__)), "check" " " "!=" " " "0", __v1, "!=", __v2); } while (0);
19502
do { CK_RV __v1 = (n_objects), __v2 = (0); if (__v1 > __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 261, ((const char*) (__PRETTY_FUNCTION__)), "n_objects" " " ">" " " "0", __v1, ">", __v2); } while (0);
19505
void testing__test__trust_complete_assertion_netscape_sha1_hash(int *__unused, gconstpointer __data)
19507
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19508
CK_OBJECT_CLASS nklass = ((((unsigned long) (1UL << 31))|0x4E534350) + 3);
19509
CK_X_ASSERTION_TYPE atype = 2UL;
19510
CK_OBJECT_HANDLE object = 0;
19511
CK_OBJECT_HANDLE check = 0;
19512
CK_ULONG n_objects = 0;
19515
CK_ATTRIBUTE attrs[] = {
19516
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 2), cert_data, n_cert_data },
19517
{ (0UL), &klass, sizeof (klass) },
19518
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19519
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), "test-purpose", 12 },
19522
CK_ATTRIBUTE lookup[] = {
19523
{ (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 100), (void*)SHA1_CHECKSUM, (sizeof (SHA1_CHECKSUM) / sizeof ((SHA1_CHECKSUM)[0])) - 1 },
19524
{ (0UL), &nklass, sizeof (nklass) },
19527
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19528
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 287, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19529
do { CK_RV __v1 = (object), __v2 = (0); if (__v1 != __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 288, ((const char*) (__PRETTY_FUNCTION__)), "object" " " "!=" " " "0", __v1, "!=", __v2); } while (0);
19531
rv = gkm_session_C_FindObjectsInit (session, lookup, (sizeof (lookup) / sizeof ((lookup)[0])));
19532
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 291, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19533
rv = gkm_session_C_FindObjects (session, &check, 1, &n_objects);
19534
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 293, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19535
rv = gkm_session_C_FindObjectsFinal (session);
19536
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 295, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19538
do { CK_RV __v1 = (check), __v2 = (0); if (__v1 != __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 297, ((const char*) (__PRETTY_FUNCTION__)), "check" " " "!=" " " "0", __v1, "!=", __v2); } while (0);
19539
do { CK_RV __v1 = (n_objects), __v2 = (0); if (__v1 > __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 298, ((const char*) (__PRETTY_FUNCTION__)), "n_objects" " " ">" " " "0", __v1, ">", __v2); } while (0);
19542
void testing__test__trust_create_assertion_missing_type(int *__unused, gconstpointer __data)
19544
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19545
CK_OBJECT_HANDLE object = 0;
19549
CK_ATTRIBUTE attrs[] = {
19550
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 2), cert_data, n_cert_data },
19551
{ (0UL), &klass, sizeof (klass) },
19552
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), "test-purpose", 12 },
19555
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19556
do { CK_RV __v1 = (rv), __v2 = ((0xd0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 315, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_TEMPLATE_INCOMPLETE", __v1, "==", __v2); } while (0);
19559
void testing__test__trust_create_assertion_bad_type(int *__unused, gconstpointer __data)
19561
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19562
CK_X_ASSERTION_TYPE atype = 0xFFFF;
19563
CK_OBJECT_HANDLE object = 0;
19567
CK_ATTRIBUTE attrs[] = {
19568
{ (0UL), &klass, sizeof (klass) },
19569
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19570
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), "test-purpose", 12 },
19573
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19574
do { CK_RV __v1 = (rv), __v2 = ((0xd1UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 333, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_TEMPLATE_INCONSISTENT", __v1, "==", __v2); } while (0);
19577
void testing__test__trust_create_assertion_missing_cert_value(int *__unused, gconstpointer __data)
19579
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19580
CK_X_ASSERTION_TYPE atype = 3UL;
19581
CK_OBJECT_HANDLE object = 0;
19585
CK_ATTRIBUTE attrs[] = {
19586
{ (0UL), &klass, sizeof (klass) },
19587
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19588
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), "test-purpose", 12 },
19591
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19592
do { CK_RV __v1 = (rv), __v2 = ((0xd0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 351, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_TEMPLATE_INCOMPLETE", __v1, "==", __v2); } while (0);
19595
void testing__test__trust_create_assertion_bad_cert_value(int *__unused, gconstpointer __data)
19597
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19598
CK_X_ASSERTION_TYPE atype = 3UL;
19599
CK_OBJECT_HANDLE object = 0;
19603
CK_ATTRIBUTE attrs[] = {
19604
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 2), "12", 2 },
19605
{ (0UL), &klass, sizeof (klass) },
19606
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19607
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), "test-purpose", 12 },
19610
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19611
do { CK_RV __v1 = (rv), __v2 = ((0x13UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 370, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_ATTRIBUTE_VALUE_INVALID", __v1, "==", __v2); } while (0);
19614
void testing__test__trust_create_assertion_null_cert_value(int *__unused, gconstpointer __data)
19616
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19617
CK_X_ASSERTION_TYPE atype = 3UL;
19618
CK_OBJECT_HANDLE object = 0;
19622
CK_ATTRIBUTE attrs[] = {
19623
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 2), ((void *)0), 0 },
19624
{ (0UL), &klass, sizeof (klass) },
19625
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19626
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), "test-purpose", 12 },
19629
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19630
do { CK_RV __v1 = (rv), __v2 = ((0x13UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 389, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_ATTRIBUTE_VALUE_INVALID", __v1, "==", __v2); } while (0);
19633
void testing__test__trust_create_assertion_for_distrusted(int *__unused, gconstpointer __data)
19635
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19636
CK_X_ASSERTION_TYPE atype = 1UL;
19637
CK_OBJECT_HANDLE object = 0;
19638
CK_OBJECT_HANDLE check = 0;
19639
CK_ULONG n_objects = 0;
19642
CK_ATTRIBUTE attrs[] = {
19643
{ (0UL), &klass, sizeof (klass) },
19644
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19645
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), "test-purpose", 12 },
19646
{ (0x82UL), (void*)SERIAL_NUMBER, (sizeof (SERIAL_NUMBER) / sizeof ((SERIAL_NUMBER)[0])) - 1 },
19647
{ (0x81UL), (void*)DER_ISSUER, (sizeof (DER_ISSUER) / sizeof ((DER_ISSUER)[0])) - 1 }
19650
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19651
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 410, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19652
do { CK_RV __v1 = (object), __v2 = (0); if (__v1 != __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 411, ((const char*) (__PRETTY_FUNCTION__)), "object" " " "!=" " " "0", __v1, "!=", __v2); } while (0);
19654
rv = gkm_session_C_FindObjectsInit (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])));
19655
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 414, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19656
rv = gkm_session_C_FindObjects (session, &check, 1, &n_objects);
19657
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 416, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19658
rv = gkm_session_C_FindObjectsFinal (session);
19659
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 418, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19661
do { CK_RV __v1 = (n_objects), __v2 = (1); if (__v1 == __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 420, ((const char*) (__PRETTY_FUNCTION__)), "n_objects" " " "==" " " "1", __v1, "==", __v2); } while (0);
19662
do { CK_RV __v1 = (check), __v2 = (object); if (__v1 == __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 421, ((const char*) (__PRETTY_FUNCTION__)), "check" " " "==" " " "object", __v1, "==", __v2); } while (0);
19665
void testing__test__trust_create_assertion_for_distrusted_no_purpose(int *__unused, gconstpointer __data)
19667
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19668
CK_X_ASSERTION_TYPE atype = 1UL;
19669
CK_OBJECT_HANDLE object = 0;
19672
CK_ATTRIBUTE attrs[] = {
19673
{ (0UL), &klass, sizeof (klass) },
19674
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19675
{ (0x82UL), (void*)SERIAL_NUMBER, (sizeof (SERIAL_NUMBER) / sizeof ((SERIAL_NUMBER)[0])) - 1 },
19676
{ (0x81UL), (void*)DER_ISSUER, (sizeof (DER_ISSUER) / sizeof ((DER_ISSUER)[0])) - 1 }
19679
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19680
do { CK_RV __v1 = (rv), __v2 = ((0xd0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 439, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_TEMPLATE_INCOMPLETE", __v1, "==", __v2); } while (0);
19683
void testing__test__trust_create_assertion_for_distrusted_no_serial(int *__unused, gconstpointer __data)
19685
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19686
CK_X_ASSERTION_TYPE atype = 1UL;
19687
CK_OBJECT_HANDLE object = 0;
19690
CK_ATTRIBUTE attrs[] = {
19691
{ (0UL), &klass, sizeof (klass) },
19692
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19693
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), "test-purpose", 12 },
19694
{ (0x81UL), (void*)DER_ISSUER, (sizeof (DER_ISSUER) / sizeof ((DER_ISSUER)[0])) - 1 }
19697
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19698
do { CK_RV __v1 = (rv), __v2 = ((0xd0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 457, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_TEMPLATE_INCOMPLETE", __v1, "==", __v2); } while (0);
19701
void testing__test__trust_create_assertion_twice(int *__unused, gconstpointer __data)
19703
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19704
CK_X_ASSERTION_TYPE atype = 1UL;
19705
CK_OBJECT_HANDLE object_1 = 0;
19706
CK_OBJECT_HANDLE object_2 = 0;
19709
CK_ATTRIBUTE attrs[] = {
19710
{ (0UL), &klass, sizeof (klass) },
19711
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19712
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), "test-purpose", 12 },
19713
{ (0x82UL), (void*)SERIAL_NUMBER, (sizeof (SERIAL_NUMBER) / sizeof ((SERIAL_NUMBER)[0])) - 1 },
19714
{ (0x81UL), (void*)DER_ISSUER, (sizeof (DER_ISSUER) / sizeof ((DER_ISSUER)[0])) - 1 }
19719
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object_1);
19720
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 479, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19721
do { CK_RV __v1 = (object_1), __v2 = (0); if (__v1 != __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 480, ((const char*) (__PRETTY_FUNCTION__)), "object_1" " " "!=" " " "0", __v1, "!=", __v2); } while (0);
19723
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object_2);
19724
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 483, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19725
do { CK_RV __v1 = (object_2), __v2 = (0); if (__v1 != __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 484, ((const char*) (__PRETTY_FUNCTION__)), "object_2" " " "!=" " " "0", __v1, "!=", __v2); } while (0);
19727
do { CK_RV __v1 = (object_1), __v2 = (object_2); if (__v1 != __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 486, ((const char*) (__PRETTY_FUNCTION__)), "object_1" " " "!=" " " "object_2", __v1, "!=", __v2); } while (0);
19730
rv = gkm_session_C_DestroyObject (session, object_1);
19731
do { CK_RV __v1 = (rv), __v2 = ((0x82UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 490, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OBJECT_HANDLE_INVALID", __v1, "==", __v2); } while (0);
19734
void testing__test__trust_distrusted_assertion_has_no_cert_value(int *__unused, gconstpointer __data)
19736
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19737
CK_X_ASSERTION_TYPE atype = 1UL;
19738
CK_OBJECT_HANDLE object = 0;
19739
CK_ATTRIBUTE check;
19742
CK_ATTRIBUTE attrs[] = {
19743
{ (0UL), &klass, sizeof (klass) },
19744
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19745
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), "test-purpose", 12 },
19746
{ (0x82UL), (void*)SERIAL_NUMBER, (sizeof (SERIAL_NUMBER) / sizeof ((SERIAL_NUMBER)[0])) - 1 },
19747
{ (0x81UL), (void*)DER_ISSUER, (sizeof (DER_ISSUER) / sizeof ((DER_ISSUER)[0])) - 1 }
19752
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19753
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 512, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19754
do { CK_RV __v1 = (object), __v2 = (0); if (__v1 != __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 513, ((const char*) (__PRETTY_FUNCTION__)), "object" " " "!=" " " "0", __v1, "!=", __v2); } while (0);
19756
check.type = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 2);
19757
check.pValue = ((void *)0);
19758
check.ulValueLen = 0;
19759
rv = gkm_session_C_GetAttributeValue (session, object, &check, 1);
19760
do { CK_RV __v1 = (rv), __v2 = ((0x12UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 519, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_ATTRIBUTE_TYPE_INVALID", __v1, "==", __v2); } while (0);
19763
void testing__test__trust_create_assertion_complete_on_token(int *__unused, gconstpointer __data)
19765
CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19766
CK_X_ASSERTION_TYPE atype = 2UL;
19767
CK_OBJECT_HANDLE object = 0;
19768
CK_OBJECT_HANDLE check = 0;
19769
CK_OBJECT_HANDLE results[8];
19770
CK_BBOOL token = 1;
19771
CK_ULONG n_objects = 0;
19774
CK_ATTRIBUTE attrs[] = {
19775
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 2), cert_data, n_cert_data },
19776
{ (0UL), &klass, sizeof (klass) },
19777
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19778
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), "other", 5 },
19779
{ (1UL), &token, sizeof (token) },
19782
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19783
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 542, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19784
do { CK_RV __v1 = (object), __v2 = (0); if (__v1 != __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 543, ((const char*) (__PRETTY_FUNCTION__)), "object" " " "!=" " " "0", __v1, "!=", __v2); } while (0);
19786
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &check);
19787
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 546, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19788
do { CK_RV __v1 = (check), __v2 = (0); if (__v1 != __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 547, ((const char*) (__PRETTY_FUNCTION__)), "check" " " "!=" " " "0", __v1, "!=", __v2); } while (0);
19790
rv = gkm_session_C_FindObjectsInit (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])));
19791
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 550, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19792
rv = gkm_session_C_FindObjects (session, results, (sizeof (results) / sizeof ((results)[0])), &n_objects);
19793
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 552, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19794
rv = gkm_session_C_FindObjectsFinal (session);
19795
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 554, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19798
do { CK_RV __v1 = (n_objects), __v2 = (1); if (__v1 == __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 557, ((const char*) (__PRETTY_FUNCTION__)), "n_objects" " " "==" " " "1", __v1, "==", __v2); } while (0);
19799
do { CK_RV __v1 = (results[0]), __v2 = (check); if (__v1 == __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 558, ((const char*) (__PRETTY_FUNCTION__)), "results[0]" " " "==" " " "check", __v1, "==", __v2); } while (0);
19802
void testing__test__trust_destroy_assertion_on_token(int *__unused, gconstpointer __data)
19804
CK_X_ASSERTION_TYPE atype = 2UL;
19805
CK_OBJECT_HANDLE results[8];
19806
CK_BBOOL token = 1;
19807
CK_ULONG n_objects = 0;
19810
CK_ATTRIBUTE attrs[] = {
19811
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19812
{ (1UL), &token, sizeof (token) },
19815
rv = gkm_session_C_FindObjectsInit (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])));
19816
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 575, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19817
rv = gkm_session_C_FindObjects (session, results, (sizeof (results) / sizeof ((results)[0])), &n_objects);
19818
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 577, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19819
rv = gkm_session_C_FindObjectsFinal (session);
19820
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 579, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19822
do { CK_RV __v1 = (n_objects), __v2 = (1); if (__v1 == __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 581, ((const char*) (__PRETTY_FUNCTION__)), "n_objects" " " "==" " " "1", __v1, "==", __v2); } while (0);
19824
rv = gkm_session_C_DestroyObject (session, results[0]);
19825
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 584, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19827
rv = gkm_session_C_FindObjectsInit (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])));
19828
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 587, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19829
rv = gkm_session_C_FindObjects (session, results, (sizeof (results) / sizeof ((results)[0])), &n_objects);
19830
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 589, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19831
rv = gkm_session_C_FindObjectsFinal (session);
19832
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 591, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19834
do { CK_RV __v1 = (n_objects), __v2 = (0); if (__v1 == __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 593, ((const char*) (__PRETTY_FUNCTION__)), "n_objects" " " "==" " " "0", __v1, "==", __v2); } while (0);
19838
_assert_positive_netscape (CK_X_ASSERTION_TYPE assertion_type, const gchar *purpose,
19839
CK_ATTRIBUTE_TYPE netscape_type, CK_TRUST netscape_trust,
19840
const gchar *description)
19842
CK_OBJECT_CLASS aklass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19843
CK_OBJECT_CLASS nklass = ((((unsigned long) (1UL << 31))|0x4E534350) + 3);
19844
CK_OBJECT_HANDLE object = 0;
19845
CK_OBJECT_HANDLE results[256];
19846
CK_ULONG n_results = 0;
19847
CK_BYTE checksum[20];
19855
CK_ATTRIBUTE attrs[] = {
19856
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 2), cert_data, n_cert_data },
19857
{ (0UL), &aklass, sizeof (aklass) },
19858
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &assertion_type, sizeof (assertion_type) },
19859
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), (void*)purpose, strlen (purpose) },
19860
{ (1UL), &fval, sizeof (fval) },
19863
CK_ATTRIBUTE lookup[] = {
19864
{ (0UL), &nklass, sizeof (nklass) },
19865
{ (1UL), &fval, sizeof (fval) },
19866
{ (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 100), checksum, sizeof (checksum) },
19869
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19870
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 629, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19871
do { CK_RV __v1 = (object), __v2 = (0); if (__v1 != __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 630, ((const char*) (__PRETTY_FUNCTION__)), "object" " " "!=" " " "0", __v1, "!=", __v2); } while (0);
19873
md = g_checksum_new (G_CHECKSUM_SHA1);
19874
g_checksum_update (md, cert_data, n_cert_data);
19875
n_checksum = sizeof (checksum);
19876
g_checksum_get_digest (md, checksum, &n_checksum);
19877
do { if (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (n_checksum == sizeof (checksum)) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 1)) ; else g_assertion_message_expr (((gchar*) 0), "test-xdg-trust.c", 636, ((const char*) (__PRETTY_FUNCTION__)), "n_checksum == sizeof (checksum)"); } while (0);
19879
rv = gkm_session_C_FindObjectsInit (session, lookup, (sizeof (lookup) / sizeof ((lookup)[0])));
19880
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 639, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19881
rv = gkm_session_C_FindObjects (session, results, (sizeof (results) / sizeof ((results)[0])), &n_results);
19882
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 641, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19883
rv = gkm_session_C_FindObjectsFinal (session);
19884
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 643, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19886
do { CK_RV __v1 = (n_results), __v2 = (1); if (__v1 == __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 645, ((const char*) (__PRETTY_FUNCTION__)), "n_results" " " "==" " " "1", __v1, "==", __v2); } while (0);
19888
check = (CK_ULONG)-1;
19889
attr.type = netscape_type;
19890
attr.pValue = ✓
19891
attr.ulValueLen = sizeof (check);
19893
rv = gkm_session_C_GetAttributeValue (session, results[0], &attr, 1);
19894
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 653, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19896
if (check != netscape_trust)
19897
g_log (((gchar*) 0), G_LOG_LEVEL_WARNING, "netscape trust was not mapped correctly: \"%s\"", description);
19898
do { CK_RV __v1 = (check), __v2 = (netscape_trust); if (__v1 == __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 657, ((const char*) (__PRETTY_FUNCTION__)), "check" " " "==" " " "netscape_trust", __v1, "==", __v2); } while (0);
19902
_assert_negative_netscape (CK_X_ASSERTION_TYPE assertion_type, const gchar *purpose,
19903
CK_ATTRIBUTE_TYPE netscape_type, CK_TRUST netscape_trust,
19904
const gchar *description)
19906
CK_OBJECT_CLASS aklass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19907
CK_OBJECT_CLASS nklass = ((((unsigned long) (1UL << 31))|0x4E534350) + 3);
19908
CK_OBJECT_HANDLE object = 0;
19909
CK_OBJECT_HANDLE results[256];
19910
CK_ULONG n_results = 0;
19916
CK_ATTRIBUTE attrs[] = {
19917
{ (0x82UL), (void*)SERIAL_NUMBER, (sizeof (SERIAL_NUMBER) / sizeof ((SERIAL_NUMBER)[0])) - 1 },
19918
{ (0x81UL), (void*)DER_ISSUER, (sizeof (DER_ISSUER) / sizeof ((DER_ISSUER)[0])) - 1 },
19919
{ (0UL), &aklass, sizeof (aklass) },
19920
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &assertion_type, sizeof (assertion_type) },
19921
{ ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 3), (void*)purpose, strlen (purpose) },
19922
{ (1UL), &fval, sizeof (fval) },
19925
CK_ATTRIBUTE lookup[] = {
19926
{ (0UL), &nklass, sizeof (nklass) },
19927
{ (1UL), &fval, sizeof (fval) },
19928
{ (0x82UL), (void*)SERIAL_NUMBER, (sizeof (SERIAL_NUMBER) / sizeof ((SERIAL_NUMBER)[0])) - 1 },
19929
{ (0x81UL), (void*)DER_ISSUER, (sizeof (DER_ISSUER) / sizeof ((DER_ISSUER)[0])) - 1 },
19932
rv = gkm_session_C_CreateObject (session, attrs, (sizeof (attrs) / sizeof ((attrs)[0])), &object);
19933
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 692, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19934
do { CK_RV __v1 = (object), __v2 = (0); if (__v1 != __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 693, ((const char*) (__PRETTY_FUNCTION__)), "object" " " "!=" " " "0", __v1, "!=", __v2); } while (0);
19936
rv = gkm_session_C_FindObjectsInit (session, lookup, (sizeof (lookup) / sizeof ((lookup)[0])));
19937
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 696, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19938
rv = gkm_session_C_FindObjects (session, results, (sizeof (results) / sizeof ((results)[0])), &n_results);
19939
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 698, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19940
rv = gkm_session_C_FindObjectsFinal (session);
19941
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 700, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19943
do { CK_RV __v1 = (n_results), __v2 = (1); if (__v1 == __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 702, ((const char*) (__PRETTY_FUNCTION__)), "n_results" " " "==" " " "1", __v1, "==", __v2); } while (0);
19945
check = (CK_ULONG)-1;
19946
attr.type = netscape_type;
19947
attr.pValue = ✓
19948
attr.ulValueLen = sizeof (check);
19950
rv = gkm_session_C_GetAttributeValue (session, results[0], &attr, 1);
19951
do { CK_RV __v1 = (rv), __v2 = ((0UL)); if (__v1 == __v2) ; else gkm_assertion_message_cmprv (((gchar*) 0), "test-xdg-trust.c", 710, ((const char*) (__PRETTY_FUNCTION__)), "rv" " " "==" " " "CKR_OK", __v1, "==", __v2); } while (0);
19953
if (check != netscape_trust)
19954
g_log (((gchar*) 0), G_LOG_LEVEL_WARNING, "netscape trust was not mapped correctly: \"%s\"", description);
19955
do { CK_RV __v1 = (check), __v2 = (netscape_trust); if (__v1 == __v2) ; else gkm_assertion_message_cmpulong (((gchar*) 0), "test-xdg-trust.c", 714, ((const char*) (__PRETTY_FUNCTION__)), "check" " " "==" " " "netscape_trust", __v1, "==", __v2); } while (0);
19964
void testing__test__trust_netscape_map_server_auth(int *__unused, gconstpointer __data)
19966
_assert_positive_netscape (2UL, "1.3.6.1.5.5.7.3.1", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 8), ((0x80000000|0x4E534350) + 1), "CKT_X_PINNED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.1\"" ", " "CKA_TRUST_SERVER_AUTH" ", " "CKT_NETSCAPE_TRUSTED")
19968
_assert_positive_netscape (3UL, "1.3.6.1.5.5.7.3.1", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 8), ((0x80000000|0x4E534350) + 2), "CKT_X_ANCHORED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.1\"" ", " "CKA_TRUST_SERVER_AUTH" ", " "CKT_NETSCAPE_TRUSTED_DELEGATOR")
19970
_assert_negative_netscape (1UL, "1.3.6.1.5.5.7.3.1", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 8), ((0x80000000|0x4E534350) + 3), "CKT_X_DISTRUSTED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.1\"" ", " "CKA_TRUST_SERVER_AUTH" ", " "CKT_NETSCAPE_UNTRUSTED")
19974
void testing__test__trust_netscape_map_client_auth(int *__unused, gconstpointer __data)
19976
_assert_positive_netscape (2UL, "1.3.6.1.5.5.7.3.2", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 9), ((0x80000000|0x4E534350) + 1), "CKT_X_PINNED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.2\"" ", " "CKA_TRUST_CLIENT_AUTH" ", " "CKT_NETSCAPE_TRUSTED")
19978
_assert_positive_netscape (3UL, "1.3.6.1.5.5.7.3.2", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 9), ((0x80000000|0x4E534350) + 2), "CKT_X_ANCHORED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.2\"" ", " "CKA_TRUST_CLIENT_AUTH" ", " "CKT_NETSCAPE_TRUSTED_DELEGATOR")
19980
_assert_negative_netscape (1UL, "1.3.6.1.5.5.7.3.2", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 9), ((0x80000000|0x4E534350) + 3), "CKT_X_DISTRUSTED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.2\"" ", " "CKA_TRUST_CLIENT_AUTH" ", " "CKT_NETSCAPE_UNTRUSTED")
19984
void testing__test__trust_netscape_map_code_signing(int *__unused, gconstpointer __data)
19986
_assert_positive_netscape (2UL, "1.3.6.1.5.5.7.3.3", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 10), ((0x80000000|0x4E534350) + 1), "CKT_X_PINNED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.3\"" ", " "CKA_TRUST_CODE_SIGNING" ", " "CKT_NETSCAPE_TRUSTED")
19988
_assert_positive_netscape (3UL, "1.3.6.1.5.5.7.3.3", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 10), ((0x80000000|0x4E534350) + 2), "CKT_X_ANCHORED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.3\"" ", " "CKA_TRUST_CODE_SIGNING" ", " "CKT_NETSCAPE_TRUSTED_DELEGATOR")
19990
_assert_negative_netscape (1UL, "1.3.6.1.5.5.7.3.3", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 10), ((0x80000000|0x4E534350) + 3), "CKT_X_DISTRUSTED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.3\"" ", " "CKA_TRUST_CODE_SIGNING" ", " "CKT_NETSCAPE_UNTRUSTED")
19994
void testing__test__trust_netscape_map_email(int *__unused, gconstpointer __data)
19996
_assert_positive_netscape (2UL, "1.3.6.1.5.5.7.3.4", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 11), ((0x80000000|0x4E534350) + 1), "CKT_X_PINNED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.4\"" ", " "CKA_TRUST_EMAIL_PROTECTION" ", " "CKT_NETSCAPE_TRUSTED")
19998
_assert_positive_netscape (3UL, "1.3.6.1.5.5.7.3.4", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 11), ((0x80000000|0x4E534350) + 2), "CKT_X_ANCHORED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.4\"" ", " "CKA_TRUST_EMAIL_PROTECTION" ", " "CKT_NETSCAPE_TRUSTED_DELEGATOR")
20000
_assert_negative_netscape (1UL, "1.3.6.1.5.5.7.3.4", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 11), ((0x80000000|0x4E534350) + 3), "CKT_X_DISTRUSTED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.4\"" ", " "CKA_TRUST_EMAIL_PROTECTION" ", " "CKT_NETSCAPE_UNTRUSTED")
20004
void testing__test__trust_netscape_map_ipsec_endpoint(int *__unused, gconstpointer __data)
20006
_assert_positive_netscape (2UL, "1.3.6.1.5.5.7.3.5", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 12), ((0x80000000|0x4E534350) + 1), "CKT_X_PINNED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.5\"" ", " "CKA_TRUST_IPSEC_END_SYSTEM" ", " "CKT_NETSCAPE_TRUSTED")
20008
_assert_positive_netscape (3UL, "1.3.6.1.5.5.7.3.5", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 12), ((0x80000000|0x4E534350) + 2), "CKT_X_ANCHORED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.5\"" ", " "CKA_TRUST_IPSEC_END_SYSTEM" ", " "CKT_NETSCAPE_TRUSTED_DELEGATOR")
20010
_assert_negative_netscape (1UL, "1.3.6.1.5.5.7.3.5", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 12), ((0x80000000|0x4E534350) + 3), "CKT_X_DISTRUSTED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.5\"" ", " "CKA_TRUST_IPSEC_END_SYSTEM" ", " "CKT_NETSCAPE_UNTRUSTED")
20014
void testing__test__trust_netscape_map_ipsec_tunnel(int *__unused, gconstpointer __data)
20016
_assert_positive_netscape (2UL, "1.3.6.1.5.5.7.3.6", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 13), ((0x80000000|0x4E534350) + 1), "CKT_X_PINNED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.6\"" ", " "CKA_TRUST_IPSEC_TUNNEL" ", " "CKT_NETSCAPE_TRUSTED")
20018
_assert_positive_netscape (3UL, "1.3.6.1.5.5.7.3.6", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 13), ((0x80000000|0x4E534350) + 2), "CKT_X_ANCHORED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.6\"" ", " "CKA_TRUST_IPSEC_TUNNEL" ", " "CKT_NETSCAPE_TRUSTED_DELEGATOR")
20020
_assert_negative_netscape (1UL, "1.3.6.1.5.5.7.3.6", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 13), ((0x80000000|0x4E534350) + 3), "CKT_X_DISTRUSTED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.6\"" ", " "CKA_TRUST_IPSEC_TUNNEL" ", " "CKT_NETSCAPE_UNTRUSTED")
20024
void testing__test__trust_netscape_map_ipsec_user(int *__unused, gconstpointer __data)
20026
_assert_positive_netscape (2UL, "1.3.6.1.5.5.7.3.7", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 14), ((0x80000000|0x4E534350) + 1), "CKT_X_PINNED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.7\"" ", " "CKA_TRUST_IPSEC_USER" ", " "CKT_NETSCAPE_TRUSTED")
20028
_assert_positive_netscape (3UL, "1.3.6.1.5.5.7.3.7", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 14), ((0x80000000|0x4E534350) + 2), "CKT_X_ANCHORED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.7\"" ", " "CKA_TRUST_IPSEC_USER" ", " "CKT_NETSCAPE_TRUSTED_DELEGATOR")
20030
_assert_negative_netscape (1UL, "1.3.6.1.5.5.7.3.7", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 14), ((0x80000000|0x4E534350) + 3), "CKT_X_DISTRUSTED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.7\"" ", " "CKA_TRUST_IPSEC_USER" ", " "CKT_NETSCAPE_UNTRUSTED")
20034
void testing__test__trust_netscape_map_time_stamping(int *__unused, gconstpointer __data)
20036
_assert_positive_netscape (2UL, "1.3.6.1.5.5.7.3.8", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 15), ((0x80000000|0x4E534350) + 1), "CKT_X_PINNED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.8\"" ", " "CKA_TRUST_TIME_STAMPING" ", " "CKT_NETSCAPE_TRUSTED")
20038
_assert_positive_netscape (3UL, "1.3.6.1.5.5.7.3.8", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 15), ((0x80000000|0x4E534350) + 2), "CKT_X_ANCHORED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.8\"" ", " "CKA_TRUST_TIME_STAMPING" ", " "CKT_NETSCAPE_TRUSTED_DELEGATOR")
20040
_assert_negative_netscape (1UL, "1.3.6.1.5.5.7.3.8", (((((unsigned long) (1UL << 31))|0x4E534350) + 0x2000) + 15), ((0x80000000|0x4E534350) + 3), "CKT_X_DISTRUSTED_CERTIFICATE" ", " "\"1.3.6.1.5.5.7.3.8\"" ", " "CKA_TRUST_TIME_STAMPING" ", " "CKT_NETSCAPE_UNTRUSTED")