~noskcaj/ubuntu/vivid/gnome-keyring/3.15.90

« back to all changes in this revision

Viewing changes to pkcs11/xdg-store/tests/test-xdg-trust.i

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach
  • Date: 2012-05-14 22:13:02 UTC
  • mfrom: (1.3.1)
  • mto: (80.2.8 experimental) (1.1.77)
  • mto: This revision was merged to the branch mainline in revision 148.
  • Revision ID: package-import@ubuntu.com-20120514221302-0l3gjmqpe6xopond
ImportĀ upstreamĀ versionĀ 3.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# 1 "test-xdg-trust.c"
2
 
# 1 "/data/projects/gnome-keyring/pkcs11/xdg-store/tests//"
3
 
# 1 "<built-in>"
4
 
# 1 "<command-line>"
5
 
# 1 "test-xdg-trust.c"
6
 
# 24 "test-xdg-trust.c"
7
 
# 1 "../../../config.h" 1
8
 
# 25 "test-xdg-trust.c" 2
9
 
 
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
28
 
typedef int wchar_t;
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
31
 
 
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
35
 
 
36
 
 
37
 
 
38
 
 
39
 
 
40
 
 
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
57
 
 
58
 
 
59
 
 
60
 
# 1 "/usr/include/bits/wordsize.h" 1 3 4
61
 
# 5 "/usr/include/gnu/stubs.h" 2 3 4
62
 
 
63
 
 
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
77
 
 
78
 
 
79
 
 
80
 
# 1 "/usr/include/bits/posix2_lim.h" 1 3 4
81
 
# 150 "/usr/include/limits.h" 2 3 4
82
 
 
83
 
 
84
 
 
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"
97
 
 
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;
103
 
 
104
 
 
105
 
 
106
 
typedef signed int gint32;
107
 
typedef unsigned int guint32;
108
 
 
109
 
 
110
 
 
111
 
 
112
 
 
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;
125
 
struct _GStaticMutex
126
 
{
127
 
  struct _GMutex *runtime_mutex;
128
 
  union {
129
 
    char pad[24];
130
 
    double dummy_double;
131
 
    void *dummy_pointer;
132
 
    long dummy_long;
133
 
  } static_mutex;
134
 
};
135
 
# 178 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
136
 
typedef union _GSystemThread GSystemThread;
137
 
union _GSystemThread
138
 
{
139
 
  char data[4];
140
 
  double dummy_double;
141
 
  void *dummy_pointer;
142
 
  long dummy_long;
143
 
};
144
 
# 231 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
145
 
typedef int GPid;
146
 
# 241 "/usr/lib/i386-linux-gnu/glib-2.0/include/glibconfig.h"
147
 
 
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
153
 
 
154
 
 
155
 
 
156
 
 
157
 
 
158
 
 
159
 
 
160
 
 
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
163
 
 
164
 
 
165
 
 
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
173
 
 
174
 
 
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;
179
 
 
180
 
 
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;
187
 
 
188
 
 
189
 
 
190
 
 
191
 
__extension__ typedef signed long long int __int64_t;
192
 
__extension__ typedef unsigned long long int __uint64_t;
193
 
 
194
 
 
195
 
 
196
 
 
197
 
 
198
 
 
199
 
 
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
205
 
 
206
 
 
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;
225
 
 
226
 
__extension__ typedef int __daddr_t;
227
 
__extension__ typedef long int __swblk_t;
228
 
__extension__ typedef int __key_t;
229
 
 
230
 
 
231
 
__extension__ typedef int __clockid_t;
232
 
 
233
 
 
234
 
__extension__ typedef void * __timer_t;
235
 
 
236
 
 
237
 
__extension__ typedef long int __blksize_t;
238
 
 
239
 
 
240
 
 
241
 
 
242
 
__extension__ typedef long int __blkcnt_t;
243
 
__extension__ typedef __quad_t __blkcnt64_t;
244
 
 
245
 
 
246
 
__extension__ typedef unsigned long int __fsblkcnt_t;
247
 
__extension__ typedef __u_quad_t __fsblkcnt64_t;
248
 
 
249
 
 
250
 
__extension__ typedef unsigned long int __fsfilcnt_t;
251
 
__extension__ typedef __u_quad_t __fsfilcnt64_t;
252
 
 
253
 
__extension__ typedef int __ssize_t;
254
 
 
255
 
 
256
 
 
257
 
typedef __off64_t __loff_t;
258
 
typedef __quad_t *__qaddr_t;
259
 
typedef char *__caddr_t;
260
 
 
261
 
 
262
 
__extension__ typedef int __intptr_t;
263
 
 
264
 
 
265
 
__extension__ typedef unsigned int __socklen_t;
266
 
# 57 "/usr/include/time.h" 2 3 4
267
 
 
268
 
 
269
 
 
270
 
typedef __clock_t clock_t;
271
 
 
272
 
 
273
 
 
274
 
# 74 "/usr/include/time.h" 3 4
275
 
 
276
 
 
277
 
typedef __time_t time_t;
278
 
 
279
 
 
280
 
 
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
286
 
struct timespec
287
 
  {
288
 
    __time_t tv_sec;
289
 
    long int tv_nsec;
290
 
  };
291
 
 
292
 
 
293
 
 
294
 
 
295
 
 
296
 
 
297
 
 
298
 
 
299
 
struct tm
300
 
{
301
 
  int tm_sec;
302
 
  int tm_min;
303
 
  int tm_hour;
304
 
  int tm_mday;
305
 
  int tm_mon;
306
 
  int tm_year;
307
 
  int tm_wday;
308
 
  int tm_yday;
309
 
  int tm_isdst;
310
 
 
311
 
 
312
 
  long int tm_gmtoff;
313
 
  __const char *tm_zone;
314
 
 
315
 
 
316
 
 
317
 
 
318
 
};
319
 
 
320
 
 
321
 
 
322
 
 
323
 
 
324
 
 
325
 
 
326
 
 
327
 
struct itimerspec
328
 
  {
329
 
    struct timespec it_interval;
330
 
    struct timespec it_value;
331
 
  };
332
 
 
333
 
 
334
 
struct sigevent;
335
 
 
336
 
 
337
 
 
338
 
 
339
 
 
340
 
typedef __pid_t pid_t;
341
 
 
342
 
 
343
 
 
344
 
 
345
 
 
346
 
 
347
 
 
348
 
 
349
 
extern clock_t clock (void) __attribute__ ((__nothrow__));
350
 
 
351
 
 
352
 
extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
353
 
 
354
 
 
355
 
extern double difftime (time_t __time1, time_t __time0)
356
 
     __attribute__ ((__nothrow__)) __attribute__ ((__const__));
357
 
 
358
 
 
359
 
extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
360
 
 
361
 
 
362
 
 
363
 
 
364
 
 
365
 
extern size_t strftime (char *__restrict __s, size_t __maxsize,
366
 
   __const char *__restrict __format,
367
 
   __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
368
 
 
369
 
 
370
 
 
371
 
 
372
 
 
373
 
extern char *strptime (__const char *__restrict __s,
374
 
         __const char *__restrict __fmt, struct tm *__tp)
375
 
     __attribute__ ((__nothrow__));
376
 
 
377
 
 
378
 
 
379
 
 
380
 
 
381
 
# 1 "/usr/include/xlocale.h" 1 3 4
382
 
# 28 "/usr/include/xlocale.h" 3 4
383
 
typedef struct __locale_struct
384
 
{
385
 
 
386
 
  struct __locale_data *__locales[13];
387
 
 
388
 
 
389
 
  const unsigned short int *__ctype_b;
390
 
  const int *__ctype_tolower;
391
 
  const int *__ctype_toupper;
392
 
 
393
 
 
394
 
  const char *__names[13];
395
 
} *__locale_t;
396
 
 
397
 
 
398
 
typedef __locale_t locale_t;
399
 
# 216 "/usr/include/time.h" 2 3 4
400
 
 
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__));
405
 
 
406
 
 
407
 
 
408
 
extern char *strptime_l (__const char *__restrict __s,
409
 
    __const char *__restrict __fmt, struct tm *__tp,
410
 
    __locale_t __loc) __attribute__ ((__nothrow__));
411
 
 
412
 
 
413
 
 
414
 
 
415
 
 
416
 
 
417
 
extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
418
 
 
419
 
 
420
 
 
421
 
extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
422
 
 
423
 
 
424
 
 
425
 
 
426
 
 
427
 
extern struct tm *gmtime_r (__const time_t *__restrict __timer,
428
 
       struct tm *__restrict __tp) __attribute__ ((__nothrow__));
429
 
 
430
 
 
431
 
 
432
 
extern struct tm *localtime_r (__const time_t *__restrict __timer,
433
 
          struct tm *__restrict __tp) __attribute__ ((__nothrow__));
434
 
 
435
 
 
436
 
 
437
 
 
438
 
 
439
 
extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
440
 
 
441
 
 
442
 
extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
443
 
 
444
 
 
445
 
 
446
 
 
447
 
 
448
 
 
449
 
 
450
 
extern char *asctime_r (__const struct tm *__restrict __tp,
451
 
   char *__restrict __buf) __attribute__ ((__nothrow__));
452
 
 
453
 
 
454
 
extern char *ctime_r (__const time_t *__restrict __timer,
455
 
        char *__restrict __buf) __attribute__ ((__nothrow__));
456
 
 
457
 
 
458
 
 
459
 
 
460
 
extern char *__tzname[2];
461
 
extern int __daylight;
462
 
extern long int __timezone;
463
 
 
464
 
 
465
 
 
466
 
 
467
 
extern char *tzname[2];
468
 
 
469
 
 
470
 
 
471
 
extern void tzset (void) __attribute__ ((__nothrow__));
472
 
 
473
 
 
474
 
 
475
 
extern int daylight;
476
 
extern long int timezone;
477
 
 
478
 
 
479
 
 
480
 
 
481
 
 
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__));
485
 
 
486
 
 
487
 
extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
488
 
 
489
 
 
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);
494
 
 
495
 
 
496
 
 
497
 
extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
498
 
 
499
 
 
500
 
extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
501
 
 
502
 
 
503
 
extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
504
 
     __attribute__ ((__nothrow__));
505
 
 
506
 
 
507
 
 
508
 
 
509
 
 
510
 
 
511
 
extern int clock_nanosleep (clockid_t __clock_id, int __flags,
512
 
       __const struct timespec *__req,
513
 
       struct timespec *__rem);
514
 
 
515
 
 
516
 
extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
517
 
 
518
 
 
519
 
 
520
 
 
521
 
extern int timer_create (clockid_t __clock_id,
522
 
    struct sigevent *__restrict __evp,
523
 
    timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
524
 
 
525
 
 
526
 
extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
527
 
 
528
 
 
529
 
extern int timer_settime (timer_t __timerid, int __flags,
530
 
     __const struct itimerspec *__restrict __value,
531
 
     struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
532
 
 
533
 
 
534
 
extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
535
 
     __attribute__ ((__nothrow__));
536
 
 
537
 
 
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);
546
 
 
547
 
 
548
 
 
549
 
# 37 "/usr/include/glib-2.0/glib/gtypes.h" 2
550
 
 
551
 
 
552
 
# 47 "/usr/include/glib-2.0/glib/gtypes.h"
553
 
typedef char gchar;
554
 
typedef short gshort;
555
 
typedef long glong;
556
 
typedef int gint;
557
 
typedef gint gboolean;
558
 
 
559
 
typedef unsigned char guchar;
560
 
typedef unsigned short gushort;
561
 
typedef unsigned long gulong;
562
 
typedef unsigned int guint;
563
 
 
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;
569
 
 
570
 
typedef gint (*GCompareFunc) (gconstpointer a,
571
 
                                                 gconstpointer b);
572
 
typedef gint (*GCompareDataFunc) (gconstpointer a,
573
 
                                                 gconstpointer b,
574
 
       gpointer user_data);
575
 
typedef gboolean (*GEqualFunc) (gconstpointer a,
576
 
                                                 gconstpointer b);
577
 
typedef void (*GDestroyNotify) (gpointer data);
578
 
typedef void (*GFunc) (gpointer data,
579
 
                                                 gpointer user_data);
580
 
typedef guint (*GHashFunc) (gconstpointer key);
581
 
typedef void (*GHFunc) (gpointer key,
582
 
                                                 gpointer value,
583
 
                                                 gpointer user_data);
584
 
typedef void (*GFreeFunc) (gpointer data);
585
 
# 109 "/usr/include/glib-2.0/glib/gtypes.h"
586
 
typedef const gchar * (*GTranslateFunc) (const gchar *str,
587
 
       gpointer data);
588
 
# 369 "/usr/include/glib-2.0/glib/gtypes.h"
589
 
typedef union _GDoubleIEEE754 GDoubleIEEE754;
590
 
typedef union _GFloatIEEE754 GFloatIEEE754;
591
 
 
592
 
 
593
 
 
594
 
 
595
 
 
596
 
union _GFloatIEEE754
597
 
{
598
 
  gfloat v_float;
599
 
  struct {
600
 
    guint mantissa : 23;
601
 
    guint biased_exponent : 8;
602
 
    guint sign : 1;
603
 
  } mpn;
604
 
};
605
 
union _GDoubleIEEE754
606
 
{
607
 
  gdouble v_double;
608
 
  struct {
609
 
    guint mantissa_low : 32;
610
 
    guint mantissa_high : 20;
611
 
    guint biased_exponent : 11;
612
 
    guint sign : 1;
613
 
  } mpn;
614
 
};
615
 
# 419 "/usr/include/glib-2.0/glib/gtypes.h"
616
 
typedef struct _GTimeVal GTimeVal;
617
 
 
618
 
struct _GTimeVal
619
 
{
620
 
  glong tv_sec;
621
 
  glong tv_usec;
622
 
};
623
 
 
624
 
 
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
631
 
 
632
 
 
633
 
 
634
 
typedef struct _GArray GArray;
635
 
typedef struct _GByteArray GByteArray;
636
 
typedef struct _GPtrArray GPtrArray;
637
 
 
638
 
struct _GArray
639
 
{
640
 
  gchar *data;
641
 
  guint len;
642
 
};
643
 
 
644
 
struct _GByteArray
645
 
{
646
 
  guint8 *data;
647
 
  guint len;
648
 
};
649
 
 
650
 
struct _GPtrArray
651
 
{
652
 
  gpointer *pdata;
653
 
  guint len;
654
 
};
655
 
# 70 "/usr/include/glib-2.0/glib/garray.h"
656
 
GArray* g_array_new (gboolean zero_terminated,
657
 
       gboolean clear_,
658
 
       guint element_size);
659
 
GArray* g_array_sized_new (gboolean zero_terminated,
660
 
       gboolean clear_,
661
 
       guint element_size,
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,
669
 
       gconstpointer data,
670
 
       guint len);
671
 
GArray* g_array_prepend_vals (GArray *array,
672
 
       gconstpointer data,
673
 
       guint len);
674
 
GArray* g_array_insert_vals (GArray *array,
675
 
       guint index_,
676
 
       gconstpointer data,
677
 
       guint len);
678
 
GArray* g_array_set_size (GArray *array,
679
 
       guint length);
680
 
GArray* g_array_remove_index (GArray *array,
681
 
       guint index_);
682
 
GArray* g_array_remove_index_fast (GArray *array,
683
 
       guint index_);
684
 
GArray* g_array_remove_range (GArray *array,
685
 
       guint index_,
686
 
       guint length);
687
 
void g_array_sort (GArray *array,
688
 
       GCompareFunc compare_func);
689
 
void g_array_sort_with_data (GArray *array,
690
 
       GCompareDataFunc compare_func,
691
 
       gpointer user_data);
692
 
 
693
 
 
694
 
 
695
 
 
696
 
 
697
 
 
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,
702
 
        gboolean free_seg);
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,
708
 
        gint length);
709
 
gpointer g_ptr_array_remove_index (GPtrArray *array,
710
 
        guint index_);
711
 
gpointer g_ptr_array_remove_index_fast (GPtrArray *array,
712
 
        guint index_);
713
 
gboolean g_ptr_array_remove (GPtrArray *array,
714
 
        gpointer data);
715
 
gboolean g_ptr_array_remove_fast (GPtrArray *array,
716
 
        gpointer data);
717
 
void g_ptr_array_remove_range (GPtrArray *array,
718
 
        guint index_,
719
 
        guint length);
720
 
void g_ptr_array_add (GPtrArray *array,
721
 
        gpointer data);
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,
726
 
        gpointer user_data);
727
 
void g_ptr_array_foreach (GPtrArray *array,
728
 
        GFunc func,
729
 
        gpointer user_data);
730
 
 
731
 
 
732
 
 
733
 
 
734
 
 
735
 
 
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,
743
 
         const guint8 *data,
744
 
         guint len);
745
 
GByteArray* g_byte_array_prepend (GByteArray *array,
746
 
         const guint8 *data,
747
 
         guint len);
748
 
GByteArray* g_byte_array_set_size (GByteArray *array,
749
 
         guint length);
750
 
GByteArray* g_byte_array_remove_index (GByteArray *array,
751
 
         guint index_);
752
 
GByteArray* g_byte_array_remove_index_fast (GByteArray *array,
753
 
         guint index_);
754
 
GByteArray* g_byte_array_remove_range (GByteArray *array,
755
 
         guint index_,
756
 
         guint length);
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,
761
 
         gpointer user_data);
762
 
 
763
 
 
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
777
 
 
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
782
 
 
783
 
 
784
 
 
785
 
typedef guint32 GQuark;
786
 
 
787
 
 
788
 
 
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__));
793
 
 
794
 
const gchar* g_intern_string (const gchar *string);
795
 
const gchar* g_intern_static_string (const gchar *string);
796
 
 
797
 
 
798
 
# 31 "/usr/include/glib-2.0/glib/gerror.h" 2
799
 
 
800
 
 
801
 
 
802
 
typedef struct _GError GError;
803
 
 
804
 
struct _GError
805
 
{
806
 
  GQuark domain;
807
 
  gint code;
808
 
  gchar *message;
809
 
};
810
 
 
811
 
GError* g_error_new (GQuark domain,
812
 
                                gint code,
813
 
                                const gchar *format,
814
 
                                ...) __attribute__((__format__ (__printf__, 3, 4)));
815
 
 
816
 
GError* g_error_new_literal (GQuark domain,
817
 
                                gint code,
818
 
                                const gchar *message);
819
 
GError* g_error_new_valist (GQuark domain,
820
 
                                gint code,
821
 
                                const gchar *format,
822
 
                                va_list args);
823
 
 
824
 
void g_error_free (GError *error);
825
 
GError* g_error_copy (const GError *error);
826
 
 
827
 
gboolean g_error_matches (const GError *error,
828
 
                                GQuark domain,
829
 
                                gint code);
830
 
 
831
 
 
832
 
 
833
 
 
834
 
void g_set_error (GError **err,
835
 
                                GQuark domain,
836
 
                                gint code,
837
 
                                const gchar *format,
838
 
                                ...) __attribute__((__format__ (__printf__, 4, 5)));
839
 
 
840
 
void g_set_error_literal (GError **err,
841
 
                                GQuark domain,
842
 
                                gint code,
843
 
                                const gchar *message);
844
 
 
845
 
 
846
 
 
847
 
void g_propagate_error (GError **dest,
848
 
    GError *src);
849
 
 
850
 
 
851
 
void g_clear_error (GError **err);
852
 
 
853
 
 
854
 
void g_prefix_error (GError **err,
855
 
                                       const gchar *format,
856
 
                                       ...) __attribute__((__format__ (__printf__, 2, 3)));
857
 
 
858
 
 
859
 
void g_propagate_prefixed_error (GError **dest,
860
 
                                       GError *src,
861
 
                                       const gchar *format,
862
 
                                       ...) __attribute__((__format__ (__printf__, 3, 4)));
863
 
 
864
 
 
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
870
 
 
871
 
 
872
 
 
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);
883
 
 
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);
891
 
 
892
 
const gchar * g_get_user_runtime_dir (void);
893
 
 
894
 
const gchar* const * g_get_language_names (void);
895
 
 
896
 
gchar **g_get_locale_variants (const gchar *locale);
897
 
# 184 "/usr/include/glib-2.0/glib/gutils.h"
898
 
typedef enum {
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,
907
 
 
908
 
  G_USER_N_DIRECTORIES
909
 
} GUserDirectory;
910
 
 
911
 
const gchar* g_get_user_special_dir (GUserDirectory directory);
912
 
 
913
 
typedef struct _GDebugKey GDebugKey;
914
 
struct _GDebugKey
915
 
{
916
 
  const gchar *key;
917
 
  guint value;
918
 
};
919
 
 
920
 
 
921
 
 
922
 
guint g_parse_debug_string (const gchar *string,
923
 
         const GDebugKey *keys,
924
 
         guint nkeys);
925
 
 
926
 
gint g_snprintf (gchar *string,
927
 
         gulong n,
928
 
         gchar const *format,
929
 
         ...) __attribute__((__format__ (__printf__, 3, 4)));
930
 
gint g_vsnprintf (gchar *string,
931
 
         gulong n,
932
 
         gchar const *format,
933
 
         va_list args);
934
 
 
935
 
 
936
 
gboolean g_path_is_absolute (const gchar *file_name);
937
 
 
938
 
 
939
 
const gchar* g_path_skip_root (const gchar *file_name);
940
 
 
941
 
 
942
 
 
943
 
 
944
 
 
945
 
 
946
 
 
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__));
952
 
 
953
 
 
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,
958
 
         const gchar *value,
959
 
         gboolean overwrite);
960
 
void g_unsetenv (const gchar *variable);
961
 
gchar** g_listenv (void);
962
 
gchar** g_get_environ (void);
963
 
 
964
 
 
965
 
const gchar* _g_getenv_nomalloc (const gchar *variable,
966
 
         gchar buffer[1024]);
967
 
 
968
 
 
969
 
 
970
 
 
971
 
 
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);
977
 
 
978
 
 
979
 
 
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__));
985
 
 
986
 
 
987
 
 
988
 
 
989
 
typedef struct _GTrashStack GTrashStack;
990
 
struct _GTrashStack
991
 
{
992
 
  GTrashStack *next;
993
 
};
994
 
 
995
 
static __inline __attribute__ ((unused)) void g_trash_stack_push (GTrashStack **stack_p,
996
 
       gpointer data_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);
1000
 
 
1001
 
 
1002
 
 
1003
 
 
1004
 
static __inline __attribute__ ((unused)) gint
1005
 
g_bit_nth_lsf (gulong mask,
1006
 
        gint nth_bit)
1007
 
{
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)))
1009
 
    nth_bit = -1;
1010
 
  while (nth_bit < ((4 * 8) - 1))
1011
 
    {
1012
 
      nth_bit++;
1013
 
      if (mask & (1UL << nth_bit))
1014
 
 return nth_bit;
1015
 
    }
1016
 
  return -1;
1017
 
}
1018
 
static __inline __attribute__ ((unused)) gint
1019
 
g_bit_nth_msf (gulong mask,
1020
 
        gint nth_bit)
1021
 
{
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)))
1023
 
    nth_bit = 4 * 8;
1024
 
  while (nth_bit > 0)
1025
 
    {
1026
 
      nth_bit--;
1027
 
      if (mask & (1UL << nth_bit))
1028
 
 return nth_bit;
1029
 
    }
1030
 
  return -1;
1031
 
}
1032
 
static __inline __attribute__ ((unused)) guint
1033
 
g_bit_storage (gulong number)
1034
 
{
1035
 
 
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"
1039
 
}
1040
 
static __inline __attribute__ ((unused)) void
1041
 
g_trash_stack_push (GTrashStack **stack_p,
1042
 
      gpointer data_p)
1043
 
{
1044
 
  GTrashStack *data = (GTrashStack *) data_p;
1045
 
 
1046
 
  data->next = *stack_p;
1047
 
  *stack_p = data;
1048
 
}
1049
 
static __inline __attribute__ ((unused)) gpointer
1050
 
g_trash_stack_pop (GTrashStack **stack_p)
1051
 
{
1052
 
  GTrashStack *data;
1053
 
 
1054
 
  data = *stack_p;
1055
 
  if (data)
1056
 
    {
1057
 
      *stack_p = data->next;
1058
 
 
1059
 
 
1060
 
 
1061
 
      data->next = ((void *)0);
1062
 
    }
1063
 
 
1064
 
  return data;
1065
 
}
1066
 
static __inline __attribute__ ((unused)) gpointer
1067
 
g_trash_stack_peek (GTrashStack **stack_p)
1068
 
{
1069
 
  GTrashStack *data;
1070
 
 
1071
 
  data = *stack_p;
1072
 
 
1073
 
  return data;
1074
 
}
1075
 
static __inline __attribute__ ((unused)) guint
1076
 
g_trash_stack_height (GTrashStack **stack_p)
1077
 
{
1078
 
  GTrashStack *data;
1079
 
  guint i = 0;
1080
 
 
1081
 
  for (data = *stack_p; data; data = data->next)
1082
 
    i++;
1083
 
 
1084
 
  return i;
1085
 
}
1086
 
 
1087
 
 
1088
 
 
1089
 
 
1090
 
 
1091
 
 
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;
1097
 
 
1098
 
const gchar * glib_check_version (guint required_major,
1099
 
                                  guint required_minor,
1100
 
                                  guint required_micro);
1101
 
 
1102
 
 
1103
 
 
1104
 
 
1105
 
 
1106
 
 
1107
 
 
1108
 
 
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
1114
 
 
1115
 
 
1116
 
 
1117
 
gint g_atomic_int_exchange_and_add (volatile gint __attribute__((may_alias)) *atomic,
1118
 
      gint val);
1119
 
void g_atomic_int_add (volatile gint __attribute__((may_alias)) *atomic,
1120
 
      gint val);
1121
 
gboolean g_atomic_int_compare_and_exchange (volatile gint __attribute__((may_alias)) *atomic,
1122
 
      gint oldval,
1123
 
      gint newval);
1124
 
gboolean g_atomic_pointer_compare_and_exchange (volatile gpointer __attribute__((may_alias)) *atomic,
1125
 
      gpointer oldval,
1126
 
      gpointer newval);
1127
 
 
1128
 
gint g_atomic_int_get (volatile gint __attribute__((may_alias)) *atomic);
1129
 
void g_atomic_int_set (volatile gint __attribute__((may_alias)) *atomic,
1130
 
      gint newval);
1131
 
gpointer g_atomic_pointer_get (volatile gpointer __attribute__((may_alias)) *atomic);
1132
 
void g_atomic_pointer_set (volatile gpointer __attribute__((may_alias)) *atomic,
1133
 
      gpointer newval);
1134
 
# 103 "/usr/include/glib-2.0/glib/gatomic.h"
1135
 
 
1136
 
# 37 "/usr/include/glib-2.0/glib/gthread.h" 2
1137
 
 
1138
 
 
1139
 
 
1140
 
 
1141
 
 
1142
 
 
1143
 
extern GQuark g_thread_error_quark (void);
1144
 
 
1145
 
 
1146
 
typedef enum
1147
 
{
1148
 
  G_THREAD_ERROR_AGAIN
1149
 
} GThreadError;
1150
 
 
1151
 
typedef gpointer (*GThreadFunc) (gpointer data);
1152
 
 
1153
 
typedef enum
1154
 
{
1155
 
  G_THREAD_PRIORITY_LOW,
1156
 
  G_THREAD_PRIORITY_NORMAL,
1157
 
  G_THREAD_PRIORITY_HIGH,
1158
 
  G_THREAD_PRIORITY_URGENT
1159
 
} GThreadPriority;
1160
 
 
1161
 
typedef struct _GThread GThread;
1162
 
struct _GThread
1163
 
{
1164
 
 
1165
 
  GThreadFunc func;
1166
 
  gpointer data;
1167
 
  gboolean joinable;
1168
 
  GThreadPriority priority;
1169
 
};
1170
 
 
1171
 
typedef struct _GMutex GMutex;
1172
 
typedef struct _GCond GCond;
1173
 
typedef struct _GPrivate GPrivate;
1174
 
typedef struct _GStaticPrivate GStaticPrivate;
1175
 
 
1176
 
typedef struct _GThreadFunctions GThreadFunctions;
1177
 
struct _GThreadFunctions
1178
 
{
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,
1188
 
                                   GMutex *mutex);
1189
 
  gboolean (*cond_timed_wait) (GCond *cond,
1190
 
                                   GMutex *mutex,
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,
1196
 
                                   gpointer data);
1197
 
  void (*thread_create) (GThreadFunc func,
1198
 
                                   gpointer data,
1199
 
                                   gulong stack_size,
1200
 
                                   gboolean joinable,
1201
 
                                   gboolean bound,
1202
 
                                   GThreadPriority priority,
1203
 
                                   gpointer thread,
1204
 
                                   GError **error);
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,
1212
 
       gpointer thread2);
1213
 
};
1214
 
 
1215
 
extern GThreadFunctions g_thread_functions_for_glib_use;
1216
 
extern gboolean g_thread_use_default_impl;
1217
 
extern gboolean g_threads_got_initialized;
1218
 
 
1219
 
extern guint64 (*g_thread_gettime) (void);
1220
 
 
1221
 
 
1222
 
 
1223
 
 
1224
 
 
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);
1228
 
 
1229
 
 
1230
 
 
1231
 
 
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,
1237
 
                                gpointer data,
1238
 
                                gulong stack_size,
1239
 
                                gboolean joinable,
1240
 
                                gboolean bound,
1241
 
                                GThreadPriority priority,
1242
 
                                GError **error);
1243
 
GThread* g_thread_self (void);
1244
 
void g_thread_exit (gpointer retval);
1245
 
gpointer g_thread_join (GThread *thread);
1246
 
 
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);
1252
 
 
1253
 
struct _GStaticPrivate
1254
 
{
1255
 
 
1256
 
  guint index;
1257
 
};
1258
 
 
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,
1262
 
       gpointer data,
1263
 
       GDestroyNotify notify);
1264
 
void g_static_private_free (GStaticPrivate *private_key);
1265
 
 
1266
 
typedef struct _GStaticRecMutex GStaticRecMutex;
1267
 
struct _GStaticRecMutex
1268
 
{
1269
 
 
1270
 
  GStaticMutex mutex;
1271
 
  guint depth;
1272
 
  GSystemThread owner;
1273
 
};
1274
 
 
1275
 
 
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,
1281
 
                                         guint depth);
1282
 
guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex);
1283
 
void g_static_rec_mutex_free (GStaticRecMutex *mutex);
1284
 
 
1285
 
typedef struct _GStaticRWLock GStaticRWLock;
1286
 
struct _GStaticRWLock
1287
 
{
1288
 
 
1289
 
  GStaticMutex mutex;
1290
 
  GCond *read_cond;
1291
 
  GCond *write_cond;
1292
 
  guint read_counter;
1293
 
  gboolean have_writer;
1294
 
  guint want_to_read;
1295
 
  guint want_to_write;
1296
 
};
1297
 
 
1298
 
 
1299
 
 
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);
1308
 
 
1309
 
void g_thread_foreach (GFunc thread_func,
1310
 
        gpointer user_data);
1311
 
 
1312
 
typedef enum
1313
 
{
1314
 
  G_ONCE_STATUS_NOTCALLED,
1315
 
  G_ONCE_STATUS_PROGRESS,
1316
 
  G_ONCE_STATUS_READY
1317
 
} GOnceStatus;
1318
 
 
1319
 
typedef struct _GOnce GOnce;
1320
 
struct _GOnce
1321
 
{
1322
 
  volatile GOnceStatus status;
1323
 
  volatile gpointer retval;
1324
 
};
1325
 
 
1326
 
 
1327
 
 
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);
1334
 
 
1335
 
static __inline __attribute__ ((unused)) gboolean
1336
 
g_once_init_enter (volatile gsize *value_location)
1337
 
{
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))
1339
 
    return (0);
1340
 
  else
1341
 
    return g_once_init_enter_impl (value_location);
1342
 
}
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"
1346
 
 
1347
 
# 35 "/usr/include/glib-2.0/glib/gasyncqueue.h" 2
1348
 
 
1349
 
 
1350
 
 
1351
 
typedef struct _GAsyncQueue GAsyncQueue;
1352
 
 
1353
 
 
1354
 
 
1355
 
 
1356
 
GAsyncQueue* g_async_queue_new (void);
1357
 
 
1358
 
GAsyncQueue* g_async_queue_new_full (GDestroyNotify item_free_func);
1359
 
 
1360
 
 
1361
 
 
1362
 
 
1363
 
 
1364
 
void g_async_queue_lock (GAsyncQueue *queue);
1365
 
void g_async_queue_unlock (GAsyncQueue *queue);
1366
 
 
1367
 
 
1368
 
GAsyncQueue* g_async_queue_ref (GAsyncQueue *queue);
1369
 
void g_async_queue_unref (GAsyncQueue *queue);
1370
 
 
1371
 
 
1372
 
 
1373
 
void g_async_queue_ref_unlocked (GAsyncQueue *queue);
1374
 
void g_async_queue_unref_and_unlock (GAsyncQueue *queue);
1375
 
 
1376
 
 
1377
 
 
1378
 
void g_async_queue_push (GAsyncQueue *queue,
1379
 
       gpointer data);
1380
 
void g_async_queue_push_unlocked (GAsyncQueue *queue,
1381
 
       gpointer data);
1382
 
 
1383
 
void g_async_queue_push_sorted (GAsyncQueue *queue,
1384
 
       gpointer data,
1385
 
       GCompareDataFunc func,
1386
 
       gpointer user_data);
1387
 
void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue,
1388
 
       gpointer data,
1389
 
       GCompareDataFunc func,
1390
 
       gpointer user_data);
1391
 
 
1392
 
 
1393
 
 
1394
 
 
1395
 
gpointer g_async_queue_pop (GAsyncQueue *queue);
1396
 
gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue);
1397
 
 
1398
 
 
1399
 
gpointer g_async_queue_try_pop (GAsyncQueue *queue);
1400
 
gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue);
1401
 
 
1402
 
 
1403
 
 
1404
 
 
1405
 
 
1406
 
 
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);
1420
 
 
1421
 
 
1422
 
GMutex* _g_async_queue_get_mutex (GAsyncQueue *queue);
1423
 
 
1424
 
 
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
1434
 
 
1435
 
 
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;
1439
 
 
1440
 
 
1441
 
 
1442
 
 
1443
 
typedef struct
1444
 
  {
1445
 
    unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1446
 
  } __sigset_t;
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
1456
 
 
1457
 
 
1458
 
 
1459
 
 
1460
 
 
1461
 
 
1462
 
 
1463
 
typedef __sig_atomic_t sig_atomic_t;
1464
 
 
1465
 
 
1466
 
 
1467
 
 
1468
 
 
1469
 
 
1470
 
 
1471
 
 
1472
 
typedef __sigset_t sigset_t;
1473
 
 
1474
 
 
1475
 
 
1476
 
 
1477
 
 
1478
 
 
1479
 
 
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
1489
 
 
1490
 
 
1491
 
 
1492
 
 
1493
 
 
1494
 
 
1495
 
 
1496
 
typedef union sigval
1497
 
  {
1498
 
    int sival_int;
1499
 
    void *sival_ptr;
1500
 
  } sigval_t;
1501
 
# 51 "/usr/include/bits/siginfo.h" 3 4
1502
 
typedef struct siginfo
1503
 
  {
1504
 
    int si_signo;
1505
 
    int si_errno;
1506
 
 
1507
 
    int si_code;
1508
 
 
1509
 
    union
1510
 
      {
1511
 
 int _pad[((128 / sizeof (int)) - 3)];
1512
 
 
1513
 
 
1514
 
 struct
1515
 
   {
1516
 
     __pid_t si_pid;
1517
 
     __uid_t si_uid;
1518
 
   } _kill;
1519
 
 
1520
 
 
1521
 
 struct
1522
 
   {
1523
 
     int si_tid;
1524
 
     int si_overrun;
1525
 
     sigval_t si_sigval;
1526
 
   } _timer;
1527
 
 
1528
 
 
1529
 
 struct
1530
 
   {
1531
 
     __pid_t si_pid;
1532
 
     __uid_t si_uid;
1533
 
     sigval_t si_sigval;
1534
 
   } _rt;
1535
 
 
1536
 
 
1537
 
 struct
1538
 
   {
1539
 
     __pid_t si_pid;
1540
 
     __uid_t si_uid;
1541
 
     int si_status;
1542
 
     __clock_t si_utime;
1543
 
     __clock_t si_stime;
1544
 
   } _sigchld;
1545
 
 
1546
 
 
1547
 
 struct
1548
 
   {
1549
 
     void *si_addr;
1550
 
   } _sigfault;
1551
 
 
1552
 
 
1553
 
 struct
1554
 
   {
1555
 
     long int si_band;
1556
 
     int si_fd;
1557
 
   } _sigpoll;
1558
 
      } _sifields;
1559
 
  } siginfo_t;
1560
 
# 129 "/usr/include/bits/siginfo.h" 3 4
1561
 
enum
1562
 
{
1563
 
  SI_ASYNCNL = -60,
1564
 
 
1565
 
  SI_TKILL = -6,
1566
 
 
1567
 
  SI_SIGIO,
1568
 
 
1569
 
  SI_ASYNCIO,
1570
 
 
1571
 
  SI_MESGQ,
1572
 
 
1573
 
  SI_TIMER,
1574
 
 
1575
 
  SI_QUEUE,
1576
 
 
1577
 
  SI_USER,
1578
 
 
1579
 
  SI_KERNEL = 0x80
1580
 
 
1581
 
};
1582
 
 
1583
 
 
1584
 
 
1585
 
enum
1586
 
{
1587
 
  ILL_ILLOPC = 1,
1588
 
 
1589
 
  ILL_ILLOPN,
1590
 
 
1591
 
  ILL_ILLADR,
1592
 
 
1593
 
  ILL_ILLTRP,
1594
 
 
1595
 
  ILL_PRVOPC,
1596
 
 
1597
 
  ILL_PRVREG,
1598
 
 
1599
 
  ILL_COPROC,
1600
 
 
1601
 
  ILL_BADSTK
1602
 
 
1603
 
};
1604
 
 
1605
 
 
1606
 
enum
1607
 
{
1608
 
  FPE_INTDIV = 1,
1609
 
 
1610
 
  FPE_INTOVF,
1611
 
 
1612
 
  FPE_FLTDIV,
1613
 
 
1614
 
  FPE_FLTOVF,
1615
 
 
1616
 
  FPE_FLTUND,
1617
 
 
1618
 
  FPE_FLTRES,
1619
 
 
1620
 
  FPE_FLTINV,
1621
 
 
1622
 
  FPE_FLTSUB
1623
 
 
1624
 
};
1625
 
 
1626
 
 
1627
 
enum
1628
 
{
1629
 
  SEGV_MAPERR = 1,
1630
 
 
1631
 
  SEGV_ACCERR
1632
 
 
1633
 
};
1634
 
 
1635
 
 
1636
 
enum
1637
 
{
1638
 
  BUS_ADRALN = 1,
1639
 
 
1640
 
  BUS_ADRERR,
1641
 
 
1642
 
  BUS_OBJERR
1643
 
 
1644
 
};
1645
 
 
1646
 
 
1647
 
enum
1648
 
{
1649
 
  TRAP_BRKPT = 1,
1650
 
 
1651
 
  TRAP_TRACE
1652
 
 
1653
 
};
1654
 
 
1655
 
 
1656
 
enum
1657
 
{
1658
 
  CLD_EXITED = 1,
1659
 
 
1660
 
  CLD_KILLED,
1661
 
 
1662
 
  CLD_DUMPED,
1663
 
 
1664
 
  CLD_TRAPPED,
1665
 
 
1666
 
  CLD_STOPPED,
1667
 
 
1668
 
  CLD_CONTINUED
1669
 
 
1670
 
};
1671
 
 
1672
 
 
1673
 
enum
1674
 
{
1675
 
  POLL_IN = 1,
1676
 
 
1677
 
  POLL_OUT,
1678
 
 
1679
 
  POLL_MSG,
1680
 
 
1681
 
  POLL_ERR,
1682
 
 
1683
 
  POLL_PRI,
1684
 
 
1685
 
  POLL_HUP
1686
 
 
1687
 
};
1688
 
# 273 "/usr/include/bits/siginfo.h" 3 4
1689
 
typedef struct sigevent
1690
 
  {
1691
 
    sigval_t sigev_value;
1692
 
    int sigev_signo;
1693
 
    int sigev_notify;
1694
 
 
1695
 
    union
1696
 
      {
1697
 
 int _pad[((64 / sizeof (int)) - 3)];
1698
 
 
1699
 
 
1700
 
 
1701
 
 __pid_t _tid;
1702
 
 
1703
 
 struct
1704
 
   {
1705
 
     void (*_function) (sigval_t);
1706
 
     void *_attribute;
1707
 
   } _sigev_thread;
1708
 
      } _sigev_un;
1709
 
  } sigevent_t;
1710
 
 
1711
 
 
1712
 
 
1713
 
 
1714
 
 
1715
 
 
1716
 
enum
1717
 
{
1718
 
  SIGEV_SIGNAL = 0,
1719
 
 
1720
 
  SIGEV_NONE,
1721
 
 
1722
 
  SIGEV_THREAD,
1723
 
 
1724
 
 
1725
 
  SIGEV_THREAD_ID = 4
1726
 
 
1727
 
};
1728
 
# 80 "/usr/include/signal.h" 2 3 4
1729
 
 
1730
 
 
1731
 
 
1732
 
 
1733
 
typedef void (*__sighandler_t) (int);
1734
 
 
1735
 
 
1736
 
 
1737
 
 
1738
 
extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
1739
 
     __attribute__ ((__nothrow__));
1740
 
 
1741
 
extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler)
1742
 
     __attribute__ ((__nothrow__));
1743
 
 
1744
 
 
1745
 
 
1746
 
 
1747
 
 
1748
 
 
1749
 
 
1750
 
extern __sighandler_t signal (int __sig, __sighandler_t __handler)
1751
 
     __attribute__ ((__nothrow__));
1752
 
# 113 "/usr/include/signal.h" 3 4
1753
 
 
1754
 
 
1755
 
 
1756
 
 
1757
 
 
1758
 
extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler)
1759
 
     __attribute__ ((__nothrow__));
1760
 
 
1761
 
 
1762
 
 
1763
 
 
1764
 
 
1765
 
 
1766
 
extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__));
1767
 
 
1768
 
 
1769
 
 
1770
 
 
1771
 
 
1772
 
 
1773
 
extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__));
1774
 
 
1775
 
 
1776
 
 
1777
 
 
1778
 
extern int raise (int __sig) __attribute__ ((__nothrow__));
1779
 
 
1780
 
 
1781
 
 
1782
 
 
1783
 
extern __sighandler_t ssignal (int __sig, __sighandler_t __handler)
1784
 
     __attribute__ ((__nothrow__));
1785
 
extern int gsignal (int __sig) __attribute__ ((__nothrow__));
1786
 
 
1787
 
 
1788
 
 
1789
 
 
1790
 
extern void psignal (int __sig, __const char *__s);
1791
 
 
1792
 
 
1793
 
 
1794
 
 
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__));
1802
 
 
1803
 
 
1804
 
extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
1805
 
 
1806
 
 
1807
 
extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
1808
 
# 211 "/usr/include/signal.h" 3 4
1809
 
typedef __sighandler_t sighandler_t;
1810
 
 
1811
 
 
1812
 
 
1813
 
 
1814
 
typedef __sighandler_t sig_t;
1815
 
 
1816
 
 
1817
 
 
1818
 
 
1819
 
 
1820
 
extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1821
 
 
1822
 
 
1823
 
extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1824
 
 
1825
 
 
1826
 
extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1827
 
 
1828
 
 
1829
 
extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1830
 
 
1831
 
 
1832
 
extern int sigismember (__const sigset_t *__set, int __signo)
1833
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1834
 
 
1835
 
 
1836
 
 
1837
 
extern int sigisemptyset (__const sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1838
 
 
1839
 
 
1840
 
extern int sigandset (sigset_t *__set, __const sigset_t *__left,
1841
 
        __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
1842
 
 
1843
 
 
1844
 
extern int sigorset (sigset_t *__set, __const sigset_t *__left,
1845
 
       __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
1846
 
 
1847
 
 
1848
 
 
1849
 
 
1850
 
# 1 "/usr/include/bits/sigaction.h" 1 3 4
1851
 
# 25 "/usr/include/bits/sigaction.h" 3 4
1852
 
struct sigaction
1853
 
  {
1854
 
 
1855
 
 
1856
 
    union
1857
 
      {
1858
 
 
1859
 
 __sighandler_t sa_handler;
1860
 
 
1861
 
 void (*sa_sigaction) (int, siginfo_t *, void *);
1862
 
      }
1863
 
    __sigaction_handler;
1864
 
 
1865
 
 
1866
 
 
1867
 
 
1868
 
 
1869
 
 
1870
 
 
1871
 
    __sigset_t sa_mask;
1872
 
 
1873
 
 
1874
 
    int sa_flags;
1875
 
 
1876
 
 
1877
 
    void (*sa_restorer) (void);
1878
 
  };
1879
 
# 253 "/usr/include/signal.h" 2 3 4
1880
 
 
1881
 
 
1882
 
extern int sigprocmask (int __how, __const sigset_t *__restrict __set,
1883
 
   sigset_t *__restrict __oset) __attribute__ ((__nothrow__));
1884
 
 
1885
 
 
1886
 
 
1887
 
 
1888
 
 
1889
 
 
1890
 
extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1)));
1891
 
 
1892
 
 
1893
 
extern int sigaction (int __sig, __const struct sigaction *__restrict __act,
1894
 
        struct sigaction *__restrict __oact) __attribute__ ((__nothrow__));
1895
 
 
1896
 
 
1897
 
extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1898
 
 
1899
 
 
1900
 
 
1901
 
 
1902
 
 
1903
 
 
1904
 
extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig)
1905
 
     __attribute__ ((__nonnull__ (1, 2)));
1906
 
 
1907
 
 
1908
 
 
1909
 
 
1910
 
 
1911
 
 
1912
 
extern int sigwaitinfo (__const sigset_t *__restrict __set,
1913
 
   siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1)));
1914
 
 
1915
 
 
1916
 
 
1917
 
 
1918
 
 
1919
 
 
1920
 
extern int sigtimedwait (__const sigset_t *__restrict __set,
1921
 
    siginfo_t *__restrict __info,
1922
 
    __const struct timespec *__restrict __timeout)
1923
 
     __attribute__ ((__nonnull__ (1)));
1924
 
 
1925
 
 
1926
 
 
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];
1932
 
 
1933
 
 
1934
 
struct sigvec
1935
 
  {
1936
 
    __sighandler_t sv_handler;
1937
 
    int sv_mask;
1938
 
 
1939
 
    int sv_flags;
1940
 
 
1941
 
  };
1942
 
# 334 "/usr/include/signal.h" 3 4
1943
 
extern int sigvec (int __sig, __const struct sigvec *__vec,
1944
 
     struct sigvec *__ovec) __attribute__ ((__nothrow__));
1945
 
 
1946
 
 
1947
 
 
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
1952
 
 
1953
 
struct _fpreg
1954
 
{
1955
 
  unsigned short significand[4];
1956
 
  unsigned short exponent;
1957
 
};
1958
 
 
1959
 
struct _fpxreg
1960
 
{
1961
 
  unsigned short significand[4];
1962
 
  unsigned short exponent;
1963
 
  unsigned short padding[3];
1964
 
};
1965
 
 
1966
 
struct _xmmreg
1967
 
{
1968
 
  __uint32_t element[4];
1969
 
};
1970
 
 
1971
 
 
1972
 
 
1973
 
 
1974
 
 
1975
 
struct _fpstate
1976
 
{
1977
 
 
1978
 
  __uint32_t cw;
1979
 
  __uint32_t sw;
1980
 
  __uint32_t tag;
1981
 
  __uint32_t ipoff;
1982
 
  __uint32_t cssel;
1983
 
  __uint32_t dataoff;
1984
 
  __uint32_t datasel;
1985
 
  struct _fpreg _st[8];
1986
 
  unsigned short status;
1987
 
  unsigned short magic;
1988
 
 
1989
 
 
1990
 
  __uint32_t _fxsr_env[6];
1991
 
  __uint32_t mxcsr;
1992
 
  __uint32_t reserved;
1993
 
  struct _fpxreg _fxsr_st[8];
1994
 
  struct _xmmreg _xmm[8];
1995
 
  __uint32_t padding[56];
1996
 
};
1997
 
# 81 "/usr/include/bits/sigcontext.h" 3 4
1998
 
struct sigcontext
1999
 
{
2000
 
  unsigned short gs, __gsh;
2001
 
  unsigned short fs, __fsh;
2002
 
  unsigned short es, __esh;
2003
 
  unsigned short ds, __dsh;
2004
 
  unsigned long edi;
2005
 
  unsigned long esi;
2006
 
  unsigned long ebp;
2007
 
  unsigned long esp;
2008
 
  unsigned long ebx;
2009
 
  unsigned long edx;
2010
 
  unsigned long ecx;
2011
 
  unsigned long eax;
2012
 
  unsigned long trapno;
2013
 
  unsigned long err;
2014
 
  unsigned long eip;
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;
2021
 
  unsigned long cr2;
2022
 
};
2023
 
# 340 "/usr/include/signal.h" 2 3 4
2024
 
 
2025
 
 
2026
 
extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__));
2027
 
 
2028
 
 
2029
 
 
2030
 
 
2031
 
 
2032
 
 
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
2035
 
 
2036
 
 
2037
 
 
2038
 
 
2039
 
extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__));
2040
 
 
2041
 
# 1 "/usr/include/bits/sigstack.h" 1 3 4
2042
 
# 26 "/usr/include/bits/sigstack.h" 3 4
2043
 
struct sigstack
2044
 
  {
2045
 
    void *ss_sp;
2046
 
    int ss_onstack;
2047
 
  };
2048
 
 
2049
 
 
2050
 
 
2051
 
enum
2052
 
{
2053
 
  SS_ONSTACK = 1,
2054
 
 
2055
 
  SS_DISABLE
2056
 
 
2057
 
};
2058
 
# 50 "/usr/include/bits/sigstack.h" 3 4
2059
 
typedef struct sigaltstack
2060
 
  {
2061
 
    void *ss_sp;
2062
 
    int ss_flags;
2063
 
    size_t ss_size;
2064
 
  } stack_t;
2065
 
# 357 "/usr/include/signal.h" 2 3 4
2066
 
 
2067
 
 
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
2075
 
typedef int greg_t;
2076
 
 
2077
 
 
2078
 
 
2079
 
 
2080
 
 
2081
 
typedef greg_t gregset_t[19];
2082
 
 
2083
 
 
2084
 
 
2085
 
enum
2086
 
{
2087
 
  REG_GS = 0,
2088
 
 
2089
 
  REG_FS,
2090
 
 
2091
 
  REG_ES,
2092
 
 
2093
 
  REG_DS,
2094
 
 
2095
 
  REG_EDI,
2096
 
 
2097
 
  REG_ESI,
2098
 
 
2099
 
  REG_EBP,
2100
 
 
2101
 
  REG_ESP,
2102
 
 
2103
 
  REG_EBX,
2104
 
 
2105
 
  REG_EDX,
2106
 
 
2107
 
  REG_ECX,
2108
 
 
2109
 
  REG_EAX,
2110
 
 
2111
 
  REG_TRAPNO,
2112
 
 
2113
 
  REG_ERR,
2114
 
 
2115
 
  REG_EIP,
2116
 
 
2117
 
  REG_CS,
2118
 
 
2119
 
  REG_EFL,
2120
 
 
2121
 
  REG_UESP,
2122
 
 
2123
 
  REG_SS
2124
 
 
2125
 
};
2126
 
 
2127
 
 
2128
 
 
2129
 
struct _libc_fpreg
2130
 
{
2131
 
  unsigned short int significand[4];
2132
 
  unsigned short int exponent;
2133
 
};
2134
 
 
2135
 
struct _libc_fpstate
2136
 
{
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;
2146
 
};
2147
 
 
2148
 
 
2149
 
typedef struct _libc_fpstate *fpregset_t;
2150
 
 
2151
 
 
2152
 
typedef struct
2153
 
  {
2154
 
    gregset_t gregs;
2155
 
 
2156
 
 
2157
 
    fpregset_t fpregs;
2158
 
    unsigned long int oldmask;
2159
 
    unsigned long int cr2;
2160
 
  } mcontext_t;
2161
 
 
2162
 
 
2163
 
typedef struct ucontext
2164
 
  {
2165
 
    unsigned long int uc_flags;
2166
 
    struct ucontext *uc_link;
2167
 
    stack_t uc_stack;
2168
 
    mcontext_t uc_mcontext;
2169
 
    __sigset_t uc_sigmask;
2170
 
    struct _libc_fpstate __fpregs_mem;
2171
 
  } ucontext_t;
2172
 
# 360 "/usr/include/signal.h" 2 3 4
2173
 
 
2174
 
 
2175
 
 
2176
 
 
2177
 
 
2178
 
extern int sigstack (struct sigstack *__ss, struct sigstack *__oss)
2179
 
     __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
2180
 
 
2181
 
 
2182
 
 
2183
 
extern int sigaltstack (__const struct sigaltstack *__restrict __ss,
2184
 
   struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__));
2185
 
 
2186
 
 
2187
 
 
2188
 
 
2189
 
 
2190
 
 
2191
 
 
2192
 
extern int sighold (int __sig) __attribute__ ((__nothrow__));
2193
 
 
2194
 
 
2195
 
extern int sigrelse (int __sig) __attribute__ ((__nothrow__));
2196
 
 
2197
 
 
2198
 
extern int sigignore (int __sig) __attribute__ ((__nothrow__));
2199
 
 
2200
 
 
2201
 
extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__));
2202
 
 
2203
 
 
2204
 
 
2205
 
 
2206
 
 
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;
2213
 
 
2214
 
 
2215
 
typedef union
2216
 
{
2217
 
  char __size[36];
2218
 
  long int __align;
2219
 
} pthread_attr_t;
2220
 
# 67 "/usr/include/bits/pthreadtypes.h" 3 4
2221
 
typedef struct __pthread_internal_slist
2222
 
{
2223
 
  struct __pthread_internal_slist *__next;
2224
 
} __pthread_slist_t;
2225
 
 
2226
 
 
2227
 
 
2228
 
 
2229
 
 
2230
 
typedef union
2231
 
{
2232
 
  struct __pthread_mutex_s
2233
 
  {
2234
 
    int __lock;
2235
 
    unsigned int __count;
2236
 
    int __owner;
2237
 
 
2238
 
 
2239
 
 
2240
 
 
2241
 
 
2242
 
    int __kind;
2243
 
 
2244
 
 
2245
 
 
2246
 
 
2247
 
 
2248
 
    unsigned int __nusers;
2249
 
    __extension__ union
2250
 
    {
2251
 
      int __spins;
2252
 
      __pthread_slist_t __list;
2253
 
    };
2254
 
 
2255
 
  } __data;
2256
 
  char __size[24];
2257
 
  long int __align;
2258
 
} pthread_mutex_t;
2259
 
 
2260
 
typedef union
2261
 
{
2262
 
  char __size[4];
2263
 
  int __align;
2264
 
} pthread_mutexattr_t;
2265
 
 
2266
 
 
2267
 
 
2268
 
 
2269
 
typedef union
2270
 
{
2271
 
  struct
2272
 
  {
2273
 
    int __lock;
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;
2278
 
    void *__mutex;
2279
 
    unsigned int __nwaiters;
2280
 
    unsigned int __broadcast_seq;
2281
 
  } __data;
2282
 
  char __size[48];
2283
 
  __extension__ long long int __align;
2284
 
} pthread_cond_t;
2285
 
 
2286
 
typedef union
2287
 
{
2288
 
  char __size[4];
2289
 
  int __align;
2290
 
} pthread_condattr_t;
2291
 
 
2292
 
 
2293
 
 
2294
 
typedef unsigned int pthread_key_t;
2295
 
 
2296
 
 
2297
 
 
2298
 
typedef int pthread_once_t;
2299
 
 
2300
 
 
2301
 
 
2302
 
 
2303
 
 
2304
 
typedef union
2305
 
{
2306
 
# 170 "/usr/include/bits/pthreadtypes.h" 3 4
2307
 
  struct
2308
 
  {
2309
 
    int __lock;
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;
2315
 
 
2316
 
 
2317
 
    unsigned char __flags;
2318
 
    unsigned char __shared;
2319
 
    unsigned char __pad1;
2320
 
    unsigned char __pad2;
2321
 
    int __writer;
2322
 
  } __data;
2323
 
 
2324
 
  char __size[32];
2325
 
  long int __align;
2326
 
} pthread_rwlock_t;
2327
 
 
2328
 
typedef union
2329
 
{
2330
 
  char __size[8];
2331
 
  long int __align;
2332
 
} pthread_rwlockattr_t;
2333
 
 
2334
 
 
2335
 
 
2336
 
 
2337
 
 
2338
 
typedef volatile int pthread_spinlock_t;
2339
 
 
2340
 
 
2341
 
 
2342
 
 
2343
 
typedef union
2344
 
{
2345
 
  char __size[20];
2346
 
  long int __align;
2347
 
} pthread_barrier_t;
2348
 
 
2349
 
typedef union
2350
 
{
2351
 
  char __size[4];
2352
 
  int __align;
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__));
2360
 
 
2361
 
 
2362
 
extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__));
2363
 
 
2364
 
 
2365
 
 
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
2369
 
 
2370
 
 
2371
 
 
2372
 
 
2373
 
 
2374
 
 
2375
 
extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__));
2376
 
 
2377
 
extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__));
2378
 
 
2379
 
 
2380
 
 
2381
 
 
2382
 
# 36 "/usr/include/glib-2.0/glib/gbacktrace.h" 2
2383
 
 
2384
 
 
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"
2389
 
 
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
2395
 
 
2396
 
 
2397
 
 
2398
 
gsize g_base64_encode_step (const guchar *in,
2399
 
                                 gsize len,
2400
 
                                 gboolean break_lines,
2401
 
                                 gchar *out,
2402
 
                                 gint *state,
2403
 
                                 gint *save);
2404
 
gsize g_base64_encode_close (gboolean break_lines,
2405
 
                                 gchar *out,
2406
 
                                 gint *state,
2407
 
                                 gint *save);
2408
 
gchar* g_base64_encode (const guchar *data,
2409
 
                                 gsize len) __attribute__((__malloc__));
2410
 
gsize g_base64_decode_step (const gchar *in,
2411
 
                                 gsize len,
2412
 
                                 guchar *out,
2413
 
                                 gint *state,
2414
 
                                 guint *save);
2415
 
guchar *g_base64_decode (const gchar *text,
2416
 
                                 gsize *out_len) __attribute__((__malloc__));
2417
 
guchar *g_base64_decode_inplace (gchar *text,
2418
 
                                 gsize *out_len);
2419
 
 
2420
 
 
2421
 
 
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
2427
 
 
2428
 
 
2429
 
 
2430
 
 
2431
 
 
2432
 
 
2433
 
 
2434
 
void g_bit_lock (volatile gint *address,
2435
 
                                           gint lock_bit);
2436
 
gboolean g_bit_trylock (volatile gint *address,
2437
 
                                           gint lock_bit);
2438
 
void g_bit_unlock (volatile gint *address,
2439
 
                                           gint lock_bit);
2440
 
 
2441
 
 
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
2447
 
 
2448
 
 
2449
 
 
2450
 
# 57 "/usr/include/glib-2.0/glib/gbookmarkfile.h"
2451
 
typedef enum
2452
 
{
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;
2462
 
 
2463
 
GQuark g_bookmark_file_error_quark (void);
2464
 
 
2465
 
 
2466
 
 
2467
 
 
2468
 
 
2469
 
 
2470
 
 
2471
 
typedef struct _GBookmarkFile GBookmarkFile;
2472
 
 
2473
 
GBookmarkFile *g_bookmark_file_new (void);
2474
 
void g_bookmark_file_free (GBookmarkFile *bookmark);
2475
 
 
2476
 
gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark,
2477
 
          const gchar *filename,
2478
 
          GError **error);
2479
 
gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark,
2480
 
          const gchar *data,
2481
 
          gsize length,
2482
 
          GError **error);
2483
 
gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark,
2484
 
          const gchar *file,
2485
 
          gchar **full_path,
2486
 
          GError **error);
2487
 
gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark,
2488
 
          gsize *length,
2489
 
          GError **error) __attribute__((__malloc__));
2490
 
gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark,
2491
 
          const gchar *filename,
2492
 
          GError **error);
2493
 
 
2494
 
void g_bookmark_file_set_title (GBookmarkFile *bookmark,
2495
 
          const gchar *uri,
2496
 
          const gchar *title);
2497
 
gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark,
2498
 
          const gchar *uri,
2499
 
          GError **error) __attribute__((__malloc__));
2500
 
void g_bookmark_file_set_description (GBookmarkFile *bookmark,
2501
 
          const gchar *uri,
2502
 
          const gchar *description);
2503
 
gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark,
2504
 
          const gchar *uri,
2505
 
          GError **error) __attribute__((__malloc__));
2506
 
void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark,
2507
 
          const gchar *uri,
2508
 
          const gchar *mime_type);
2509
 
gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark,
2510
 
          const gchar *uri,
2511
 
          GError **error) __attribute__((__malloc__));
2512
 
void g_bookmark_file_set_groups (GBookmarkFile *bookmark,
2513
 
          const gchar *uri,
2514
 
          const gchar **groups,
2515
 
          gsize length);
2516
 
void g_bookmark_file_add_group (GBookmarkFile *bookmark,
2517
 
          const gchar *uri,
2518
 
          const gchar *group);
2519
 
gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark,
2520
 
          const gchar *uri,
2521
 
          const gchar *group,
2522
 
          GError **error);
2523
 
gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark,
2524
 
          const gchar *uri,
2525
 
          gsize *length,
2526
 
          GError **error) __attribute__((__malloc__));
2527
 
void g_bookmark_file_add_application (GBookmarkFile *bookmark,
2528
 
          const gchar *uri,
2529
 
          const gchar *name,
2530
 
          const gchar *exec);
2531
 
gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark,
2532
 
          const gchar *uri,
2533
 
          const gchar *name,
2534
 
          GError **error);
2535
 
gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark,
2536
 
          const gchar *uri,
2537
 
          gsize *length,
2538
 
          GError **error) __attribute__((__malloc__));
2539
 
gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark,
2540
 
          const gchar *uri,
2541
 
          const gchar *name,
2542
 
          const gchar *exec,
2543
 
          gint count,
2544
 
          time_t stamp,
2545
 
          GError **error);
2546
 
gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark,
2547
 
          const gchar *uri,
2548
 
          const gchar *name,
2549
 
          gchar **exec,
2550
 
          guint *count,
2551
 
          time_t *stamp,
2552
 
          GError **error);
2553
 
void g_bookmark_file_set_is_private (GBookmarkFile *bookmark,
2554
 
          const gchar *uri,
2555
 
          gboolean is_private);
2556
 
gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark,
2557
 
          const gchar *uri,
2558
 
          GError **error);
2559
 
void g_bookmark_file_set_icon (GBookmarkFile *bookmark,
2560
 
          const gchar *uri,
2561
 
          const gchar *href,
2562
 
          const gchar *mime_type);
2563
 
gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark,
2564
 
          const gchar *uri,
2565
 
          gchar **href,
2566
 
          gchar **mime_type,
2567
 
          GError **error);
2568
 
void g_bookmark_file_set_added (GBookmarkFile *bookmark,
2569
 
          const gchar *uri,
2570
 
          time_t added);
2571
 
time_t g_bookmark_file_get_added (GBookmarkFile *bookmark,
2572
 
          const gchar *uri,
2573
 
          GError **error);
2574
 
void g_bookmark_file_set_modified (GBookmarkFile *bookmark,
2575
 
          const gchar *uri,
2576
 
          time_t modified);
2577
 
time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark,
2578
 
          const gchar *uri,
2579
 
          GError **error);
2580
 
void g_bookmark_file_set_visited (GBookmarkFile *bookmark,
2581
 
          const gchar *uri,
2582
 
          time_t visited);
2583
 
time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark,
2584
 
          const gchar *uri,
2585
 
          GError **error);
2586
 
gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark,
2587
 
          const gchar *uri);
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,
2592
 
          const gchar *uri,
2593
 
          const gchar *group,
2594
 
          GError **error);
2595
 
gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark,
2596
 
          const gchar *uri,
2597
 
          const gchar *name,
2598
 
          GError **error);
2599
 
gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark,
2600
 
          const gchar *uri,
2601
 
          GError **error);
2602
 
gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark,
2603
 
          const gchar *old_uri,
2604
 
          const gchar *new_uri,
2605
 
          GError **error);
2606
 
 
2607
 
 
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
2619
 
 
2620
 
 
2621
 
 
2622
 
 
2623
 
 
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,
2631
 
      gpointer mem_chain,
2632
 
      gsize next_offset);
2633
 
# 72 "/usr/include/glib-2.0/glib/gslice.h"
2634
 
typedef enum {
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
2641
 
} GSliceConfig;
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);
2645
 
 
2646
 
 
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
2650
 
 
2651
 
 
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);
2656
 
 
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));
2665
 
 
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,
2671
 
      gsize n_blocks,
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,
2678
 
      gsize n_blocks,
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,
2684
 
      gsize n_bytes);
2685
 
  void (*free) (gpointer mem);
2686
 
 
2687
 
  gpointer (*calloc) (gsize n_blocks,
2688
 
      gsize n_block_bytes);
2689
 
  gpointer (*try_malloc) (gsize n_bytes);
2690
 
  gpointer (*try_realloc) (gpointer mem,
2691
 
      gsize n_bytes);
2692
 
};
2693
 
void g_mem_set_vtable (GMemVTable *vtable);
2694
 
gboolean g_mem_is_system_malloc (void);
2695
 
 
2696
 
extern gboolean g_mem_gc_friendly;
2697
 
 
2698
 
 
2699
 
 
2700
 
extern GMemVTable *glib_mem_profiler_table;
2701
 
void g_mem_profile (void);
2702
 
 
2703
 
 
2704
 
 
2705
 
 
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,
2710
 
    gint atom_size,
2711
 
    gsize area_size,
2712
 
    gint type);
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,
2717
 
    gpointer mem);
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,
2724
 
    guint n_preallocs);
2725
 
void g_allocator_free (GAllocator *allocator);
2726
 
 
2727
 
 
2728
 
 
2729
 
 
2730
 
 
2731
 
 
2732
 
# 35 "/usr/include/glib-2.0/glib/glist.h" 2
2733
 
 
2734
 
 
2735
 
 
2736
 
typedef struct _GList GList;
2737
 
 
2738
 
struct _GList
2739
 
{
2740
 
  gpointer data;
2741
 
  GList *next;
2742
 
  GList *prev;
2743
 
};
2744
 
 
2745
 
 
2746
 
 
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);
2750
 
 
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,
2758
 
      gpointer data,
2759
 
      gint position) __attribute__((warn_unused_result));
2760
 
GList* g_list_insert_sorted (GList *list,
2761
 
      gpointer data,
2762
 
      GCompareFunc func) __attribute__((warn_unused_result));
2763
 
GList* g_list_insert_sorted_with_data (GList *list,
2764
 
      gpointer data,
2765
 
      GCompareDataFunc func,
2766
 
      gpointer user_data) __attribute__((warn_unused_result));
2767
 
GList* g_list_insert_before (GList *list,
2768
 
      GList *sibling,
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,
2783
 
      guint n);
2784
 
GList* g_list_nth_prev (GList *list,
2785
 
      guint n);
2786
 
GList* g_list_find (GList *list,
2787
 
      gconstpointer data);
2788
 
GList* g_list_find_custom (GList *list,
2789
 
      gconstpointer data,
2790
 
      GCompareFunc func);
2791
 
gint g_list_position (GList *list,
2792
 
      GList *llink);
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,
2799
 
      GFunc func,
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,
2807
 
      guint n);
2808
 
 
2809
 
 
2810
 
 
2811
 
 
2812
 
 
2813
 
 
2814
 
void g_list_push_allocator (gpointer allocator);
2815
 
void g_list_pop_allocator (void);
2816
 
 
2817
 
 
2818
 
 
2819
 
# 35 "/usr/include/glib-2.0/glib/gcache.h" 2
2820
 
 
2821
 
 
2822
 
 
2823
 
typedef struct _GCache GCache;
2824
 
 
2825
 
typedef gpointer (*GCacheNewFunc) (gpointer key);
2826
 
typedef gpointer (*GCacheDupFunc) (gpointer value);
2827
 
typedef void (*GCacheDestroyFunc) (gpointer value);
2828
 
 
2829
 
 
2830
 
 
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,
2840
 
                                gpointer key);
2841
 
void g_cache_remove (GCache *cache,
2842
 
                                gconstpointer value);
2843
 
void g_cache_key_foreach (GCache *cache,
2844
 
                                GHFunc func,
2845
 
                                gpointer user_data);
2846
 
 
2847
 
void g_cache_value_foreach (GCache *cache,
2848
 
                                GHFunc func,
2849
 
                                gpointer user_data);
2850
 
 
2851
 
 
2852
 
 
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
2858
 
 
2859
 
 
2860
 
# 46 "/usr/include/glib-2.0/glib/gchecksum.h"
2861
 
typedef enum {
2862
 
  G_CHECKSUM_MD5,
2863
 
  G_CHECKSUM_SHA1,
2864
 
  G_CHECKSUM_SHA256
2865
 
} GChecksumType;
2866
 
# 61 "/usr/include/glib-2.0/glib/gchecksum.h"
2867
 
typedef struct _GChecksum GChecksum;
2868
 
 
2869
 
gssize g_checksum_type_get_length (GChecksumType checksum_type);
2870
 
 
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,
2876
 
                                                     const guchar *data,
2877
 
                                                     gssize length);
2878
 
const gchar *g_checksum_get_string (GChecksum *checksum);
2879
 
void g_checksum_get_digest (GChecksum *checksum,
2880
 
                                                     guint8 *buffer,
2881
 
                                                     gsize *digest_len);
2882
 
 
2883
 
gchar *g_compute_checksum_for_data (GChecksumType checksum_type,
2884
 
                                                     const guchar *data,
2885
 
                                                     gsize length);
2886
 
gchar *g_compute_checksum_for_string (GChecksumType checksum_type,
2887
 
                                                     const gchar *str,
2888
 
                                                     gssize length);
2889
 
 
2890
 
 
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
2896
 
 
2897
 
 
2898
 
 
2899
 
typedef struct _GCompletion GCompletion;
2900
 
 
2901
 
typedef gchar* (*GCompletionFunc) (gpointer);
2902
 
 
2903
 
 
2904
 
 
2905
 
 
2906
 
typedef gint (*GCompletionStrncmpFunc) (const gchar *s1,
2907
 
     const gchar *s2,
2908
 
     gsize n);
2909
 
 
2910
 
struct _GCompletion
2911
 
{
2912
 
  GList* items;
2913
 
  GCompletionFunc func;
2914
 
 
2915
 
  gchar* prefix;
2916
 
  GList* cache;
2917
 
  GCompletionStrncmpFunc strncmp_func;
2918
 
};
2919
 
 
2920
 
 
2921
 
 
2922
 
GCompletion* g_completion_new (GCompletionFunc func);
2923
 
void g_completion_add_items (GCompletion* cmp,
2924
 
                                         GList* items);
2925
 
void g_completion_remove_items (GCompletion* cmp,
2926
 
                                         GList* items);
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);
2937
 
 
2938
 
 
2939
 
 
2940
 
 
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
2946
 
 
2947
 
 
2948
 
# 50 "/usr/include/glib-2.0/glib/gconvert.h"
2949
 
typedef enum
2950
 
{
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
2957
 
} GConvertError;
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;
2962
 
 
2963
 
GIConv g_iconv_open (const gchar *to_codeset,
2964
 
         const gchar *from_codeset);
2965
 
gsize g_iconv (GIConv converter,
2966
 
         gchar **inbuf,
2967
 
         gsize *inbytes_left,
2968
 
         gchar **outbuf,
2969
 
         gsize *outbytes_left);
2970
 
gint g_iconv_close (GIConv converter);
2971
 
 
2972
 
 
2973
 
gchar* g_convert (const gchar *str,
2974
 
    gssize len,
2975
 
    const gchar *to_codeset,
2976
 
    const gchar *from_codeset,
2977
 
    gsize *bytes_read,
2978
 
    gsize *bytes_written,
2979
 
    GError **error) __attribute__((__malloc__));
2980
 
gchar* g_convert_with_iconv (const gchar *str,
2981
 
    gssize len,
2982
 
    GIConv converter,
2983
 
    gsize *bytes_read,
2984
 
    gsize *bytes_written,
2985
 
    GError **error) __attribute__((__malloc__));
2986
 
gchar* g_convert_with_fallback (const gchar *str,
2987
 
    gssize len,
2988
 
    const gchar *to_codeset,
2989
 
    const gchar *from_codeset,
2990
 
    const gchar *fallback,
2991
 
    gsize *bytes_read,
2992
 
    gsize *bytes_written,
2993
 
    GError **error) __attribute__((__malloc__));
2994
 
 
2995
 
 
2996
 
 
2997
 
 
2998
 
gchar* g_locale_to_utf8 (const gchar *opsysstring,
2999
 
      gssize len,
3000
 
      gsize *bytes_read,
3001
 
      gsize *bytes_written,
3002
 
      GError **error) __attribute__((__malloc__));
3003
 
gchar* g_locale_from_utf8 (const gchar *utf8string,
3004
 
      gssize len,
3005
 
      gsize *bytes_read,
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,
3010
 
        gssize len,
3011
 
        gsize *bytes_read,
3012
 
        gsize *bytes_written,
3013
 
        GError **error) __attribute__((__malloc__));
3014
 
gchar* g_filename_from_utf8 (const gchar *utf8string,
3015
 
        gssize len,
3016
 
        gsize *bytes_read,
3017
 
        gsize *bytes_written,
3018
 
        GError **error) __attribute__((__malloc__));
3019
 
 
3020
 
gchar *g_filename_from_uri (const gchar *uri,
3021
 
       gchar **hostname,
3022
 
       GError **error) __attribute__((__malloc__));
3023
 
 
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);
3029
 
 
3030
 
gchar *g_filename_display_basename (const gchar *filename) __attribute__((__malloc__));
3031
 
 
3032
 
gchar **g_uri_list_extract_uris (const gchar *uri_list) __attribute__((__malloc__));
3033
 
 
3034
 
 
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
3040
 
 
3041
 
 
3042
 
 
3043
 
typedef struct _GData GData;
3044
 
 
3045
 
typedef void (*GDataForeachFunc) (GQuark key_id,
3046
 
                                                 gpointer data,
3047
 
                                                 gpointer user_data);
3048
 
 
3049
 
 
3050
 
 
3051
 
void g_datalist_init (GData **datalist);
3052
 
void g_datalist_clear (GData **datalist);
3053
 
gpointer g_datalist_id_get_data (GData **datalist,
3054
 
      GQuark key_id);
3055
 
void g_datalist_id_set_data_full (GData **datalist,
3056
 
      GQuark key_id,
3057
 
      gpointer data,
3058
 
      GDestroyNotify destroy_func);
3059
 
gpointer g_datalist_id_remove_no_notify (GData **datalist,
3060
 
      GQuark key_id);
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,
3066
 
      guint flags);
3067
 
void g_datalist_unset_flags (GData **datalist,
3068
 
      guint flags);
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,
3073
 
                                         GQuark key_id);
3074
 
void g_dataset_id_set_data_full (gconstpointer dataset_location,
3075
 
                                         GQuark key_id,
3076
 
                                         gpointer data,
3077
 
                                         GDestroyNotify destroy_func);
3078
 
gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location,
3079
 
                                         GQuark key_id);
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"
3084
 
 
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
3092
 
 
3093
 
 
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;
3099
 
 
3100
 
 
3101
 
typedef enum
3102
 
{
3103
 
  G_DATE_DAY = 0,
3104
 
  G_DATE_MONTH = 1,
3105
 
  G_DATE_YEAR = 2
3106
 
} GDateDMY;
3107
 
 
3108
 
 
3109
 
typedef enum
3110
 
{
3111
 
  G_DATE_BAD_WEEKDAY = 0,
3112
 
  G_DATE_MONDAY = 1,
3113
 
  G_DATE_TUESDAY = 2,
3114
 
  G_DATE_WEDNESDAY = 3,
3115
 
  G_DATE_THURSDAY = 4,
3116
 
  G_DATE_FRIDAY = 5,
3117
 
  G_DATE_SATURDAY = 6,
3118
 
  G_DATE_SUNDAY = 7
3119
 
} GDateWeekday;
3120
 
typedef enum
3121
 
{
3122
 
  G_DATE_BAD_MONTH = 0,
3123
 
  G_DATE_JANUARY = 1,
3124
 
  G_DATE_FEBRUARY = 2,
3125
 
  G_DATE_MARCH = 3,
3126
 
  G_DATE_APRIL = 4,
3127
 
  G_DATE_MAY = 5,
3128
 
  G_DATE_JUNE = 6,
3129
 
  G_DATE_JULY = 7,
3130
 
  G_DATE_AUGUST = 8,
3131
 
  G_DATE_SEPTEMBER = 9,
3132
 
  G_DATE_OCTOBER = 10,
3133
 
  G_DATE_NOVEMBER = 11,
3134
 
  G_DATE_DECEMBER = 12
3135
 
} GDateMonth;
3136
 
# 101 "/usr/include/glib-2.0/glib/gdate.h"
3137
 
struct _GDate
3138
 
{
3139
 
  guint julian_days : 32;
3140
 
 
3141
 
 
3142
 
 
3143
 
 
3144
 
 
3145
 
  guint julian : 1;
3146
 
  guint dmy : 1;
3147
 
 
3148
 
 
3149
 
  guint day : 6;
3150
 
  guint month : 4;
3151
 
  guint year : 16;
3152
 
};
3153
 
 
3154
 
 
3155
 
 
3156
 
 
3157
 
 
3158
 
GDate* g_date_new (void);
3159
 
GDate* g_date_new_dmy (GDateDay day,
3160
 
                                           GDateMonth month,
3161
 
                                           GDateYear year);
3162
 
GDate* g_date_new_julian (guint32 julian_day);
3163
 
void g_date_free (GDate *date);
3164
 
 
3165
 
 
3166
 
 
3167
 
 
3168
 
 
3169
 
 
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,
3177
 
                                           GDateMonth month,
3178
 
                                           GDateYear year) __attribute__((__const__));
3179
 
 
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);
3186
 
 
3187
 
 
3188
 
 
3189
 
 
3190
 
 
3191
 
 
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);
3195
 
 
3196
 
 
3197
 
 
3198
 
 
3199
 
 
3200
 
void g_date_clear (GDate *date,
3201
 
                                           guint n_dates);
3202
 
 
3203
 
 
3204
 
 
3205
 
 
3206
 
 
3207
 
void g_date_set_parse (GDate *date,
3208
 
                                           const gchar *str);
3209
 
void g_date_set_time_t (GDate *date,
3210
 
        time_t timet);
3211
 
void g_date_set_time_val (GDate *date,
3212
 
        GTimeVal *timeval);
3213
 
 
3214
 
void g_date_set_time (GDate *date,
3215
 
                                           GTime time_);
3216
 
 
3217
 
void g_date_set_month (GDate *date,
3218
 
                                           GDateMonth month);
3219
 
void g_date_set_day (GDate *date,
3220
 
                                           GDateDay day);
3221
 
void g_date_set_year (GDate *date,
3222
 
                                           GDateYear year);
3223
 
void g_date_set_dmy (GDate *date,
3224
 
                                           GDateDay day,
3225
 
                                           GDateMonth month,
3226
 
                                           GDateYear y);
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);
3231
 
 
3232
 
 
3233
 
void g_date_add_days (GDate *date,
3234
 
                                           guint n_days);
3235
 
void g_date_subtract_days (GDate *date,
3236
 
                                           guint n_days);
3237
 
 
3238
 
 
3239
 
void g_date_add_months (GDate *date,
3240
 
                                           guint n_months);
3241
 
void g_date_subtract_months (GDate *date,
3242
 
                                           guint n_months);
3243
 
 
3244
 
 
3245
 
void g_date_add_years (GDate *date,
3246
 
                                           guint n_years);
3247
 
void g_date_subtract_years (GDate *date,
3248
 
                                           guint n_years);
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__));
3254
 
 
3255
 
 
3256
 
 
3257
 
gint g_date_days_between (const GDate *date1,
3258
 
        const GDate *date2);
3259
 
 
3260
 
 
3261
 
gint g_date_compare (const GDate *lhs,
3262
 
                                           const GDate *rhs);
3263
 
void g_date_to_struct_tm (const GDate *date,
3264
 
                                           struct tm *tm);
3265
 
 
3266
 
void g_date_clamp (GDate *date,
3267
 
        const GDate *min_date,
3268
 
        const GDate *max_date);
3269
 
 
3270
 
 
3271
 
void g_date_order (GDate *date1, GDate *date2);
3272
 
 
3273
 
 
3274
 
 
3275
 
 
3276
 
gsize g_date_strftime (gchar *s,
3277
 
                                           gsize slen,
3278
 
                                           const gchar *format,
3279
 
                                           const GDate *date);
3280
 
# 261 "/usr/include/glib-2.0/glib/gdate.h"
3281
 
 
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
3289
 
 
3290
 
 
3291
 
 
3292
 
typedef struct _GTimeZone GTimeZone;
3293
 
# 50 "/usr/include/glib-2.0/glib/gtimezone.h"
3294
 
typedef enum
3295
 
{
3296
 
  G_TIME_TYPE_STANDARD,
3297
 
  G_TIME_TYPE_DAYLIGHT,
3298
 
  G_TIME_TYPE_UNIVERSAL
3299
 
} GTimeType;
3300
 
 
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);
3304
 
 
3305
 
GTimeZone * g_time_zone_ref (GTimeZone *tz);
3306
 
void g_time_zone_unref (GTimeZone *tz);
3307
 
 
3308
 
gint g_time_zone_find_interval (GTimeZone *tz,
3309
 
                                                                         GTimeType type,
3310
 
                                                                         gint64 time);
3311
 
 
3312
 
gint g_time_zone_adjust_time (GTimeZone *tz,
3313
 
                                                                         GTimeType type,
3314
 
                                                                         gint64 *time);
3315
 
 
3316
 
const gchar * g_time_zone_get_abbreviation (GTimeZone *tz,
3317
 
                                                                         gint interval);
3318
 
gint32 g_time_zone_get_offset (GTimeZone *tz,
3319
 
                                                                         gint interval);
3320
 
gboolean g_time_zone_is_dst (GTimeZone *tz,
3321
 
                                                                         gint interval);
3322
 
 
3323
 
 
3324
 
# 34 "/usr/include/glib-2.0/glib/gdatetime.h" 2
3325
 
 
3326
 
 
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;
3331
 
 
3332
 
void g_date_time_unref (GDateTime *datetime);
3333
 
GDateTime * g_date_time_ref (GDateTime *datetime);
3334
 
 
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);
3338
 
 
3339
 
GDateTime * g_date_time_new_from_unix_local (gint64 t);
3340
 
GDateTime * g_date_time_new_from_unix_utc (gint64 t);
3341
 
 
3342
 
GDateTime * g_date_time_new_from_timeval_local (const GTimeVal *tv);
3343
 
GDateTime * g_date_time_new_from_timeval_utc (const GTimeVal *tv);
3344
 
 
3345
 
GDateTime * g_date_time_new (GTimeZone *tz,
3346
 
                                                                         gint year,
3347
 
                                                                         gint month,
3348
 
                                                                         gint day,
3349
 
                                                                         gint hour,
3350
 
                                                                         gint minute,
3351
 
                                                                         gdouble seconds);
3352
 
GDateTime * g_date_time_new_local (gint year,
3353
 
                                                                         gint month,
3354
 
                                                                         gint day,
3355
 
                                                                         gint hour,
3356
 
                                                                         gint minute,
3357
 
                                                                         gdouble seconds);
3358
 
GDateTime * g_date_time_new_utc (gint year,
3359
 
                                                                         gint month,
3360
 
                                                                         gint day,
3361
 
                                                                         gint hour,
3362
 
                                                                         gint minute,
3363
 
                                                                         gdouble seconds);
3364
 
 
3365
 
__attribute__((warn_unused_result))
3366
 
GDateTime * g_date_time_add (GDateTime *datetime,
3367
 
                                                                         GTimeSpan timespan);
3368
 
 
3369
 
__attribute__((warn_unused_result))
3370
 
GDateTime * g_date_time_add_years (GDateTime *datetime,
3371
 
                                                                         gint years);
3372
 
__attribute__((warn_unused_result))
3373
 
GDateTime * g_date_time_add_months (GDateTime *datetime,
3374
 
                                                                         gint months);
3375
 
__attribute__((warn_unused_result))
3376
 
GDateTime * g_date_time_add_weeks (GDateTime *datetime,
3377
 
                                                                         gint weeks);
3378
 
__attribute__((warn_unused_result))
3379
 
GDateTime * g_date_time_add_days (GDateTime *datetime,
3380
 
                                                                         gint days);
3381
 
 
3382
 
__attribute__((warn_unused_result))
3383
 
GDateTime * g_date_time_add_hours (GDateTime *datetime,
3384
 
                                                                         gint hours);
3385
 
__attribute__((warn_unused_result))
3386
 
GDateTime * g_date_time_add_minutes (GDateTime *datetime,
3387
 
                                                                         gint minutes);
3388
 
__attribute__((warn_unused_result))
3389
 
GDateTime * g_date_time_add_seconds (GDateTime *datetime,
3390
 
                                                                         gdouble seconds);
3391
 
 
3392
 
__attribute__((warn_unused_result))
3393
 
GDateTime * g_date_time_add_full (GDateTime *datetime,
3394
 
                                                                         gint years,
3395
 
                                                                         gint months,
3396
 
                                                                         gint days,
3397
 
                                                                         gint hours,
3398
 
                                                                         gint minutes,
3399
 
                                                                         gdouble seconds);
3400
 
 
3401
 
gint g_date_time_compare (gconstpointer dt1,
3402
 
                                                                         gconstpointer dt2);
3403
 
GTimeSpan g_date_time_difference (GDateTime *end,
3404
 
                                                                         GDateTime *begin);
3405
 
guint g_date_time_hash (gconstpointer datetime);
3406
 
gboolean g_date_time_equal (gconstpointer dt1,
3407
 
                                                                         gconstpointer dt2);
3408
 
 
3409
 
void g_date_time_get_ymd (GDateTime *datetime,
3410
 
                                                                         gint *year,
3411
 
                                                                         gint *month,
3412
 
                                                                         gint *day);
3413
 
 
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);
3417
 
 
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);
3421
 
 
3422
 
gint g_date_time_get_day_of_year (GDateTime *datetime);
3423
 
 
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);
3429
 
 
3430
 
gint64 g_date_time_to_unix (GDateTime *datetime);
3431
 
gboolean g_date_time_to_timeval (GDateTime *datetime,
3432
 
                                                                         GTimeVal *tv);
3433
 
 
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);
3437
 
 
3438
 
GDateTime * g_date_time_to_timezone (GDateTime *datetime,
3439
 
                                                                         GTimeZone *tz);
3440
 
GDateTime * g_date_time_to_local (GDateTime *datetime);
3441
 
GDateTime * g_date_time_to_utc (GDateTime *datetime);
3442
 
 
3443
 
gchar * g_date_time_format (GDateTime *datetime,
3444
 
                                                                         const gchar *format) __attribute__((__malloc__));
3445
 
 
3446
 
 
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
3452
 
 
3453
 
 
3454
 
 
3455
 
typedef struct _GDir GDir;
3456
 
 
3457
 
 
3458
 
 
3459
 
 
3460
 
 
3461
 
 
3462
 
 
3463
 
GDir * g_dir_open (const gchar *path,
3464
 
            guint flags,
3465
 
            GError **error);
3466
 
const gchar *g_dir_read_name (GDir *dir);
3467
 
void g_dir_rewind (GDir *dir);
3468
 
void g_dir_close (GDir *dir);
3469
 
 
3470
 
 
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
3478
 
 
3479
 
 
3480
 
 
3481
 
 
3482
 
 
3483
 
typedef enum
3484
 
{
3485
 
  G_FILE_ERROR_EXIST,
3486
 
  G_FILE_ERROR_ISDIR,
3487
 
  G_FILE_ERROR_ACCES,
3488
 
  G_FILE_ERROR_NAMETOOLONG,
3489
 
  G_FILE_ERROR_NOENT,
3490
 
  G_FILE_ERROR_NOTDIR,
3491
 
  G_FILE_ERROR_NXIO,
3492
 
  G_FILE_ERROR_NODEV,
3493
 
  G_FILE_ERROR_ROFS,
3494
 
  G_FILE_ERROR_TXTBSY,
3495
 
  G_FILE_ERROR_FAULT,
3496
 
  G_FILE_ERROR_LOOP,
3497
 
  G_FILE_ERROR_NOSPC,
3498
 
  G_FILE_ERROR_NOMEM,
3499
 
  G_FILE_ERROR_MFILE,
3500
 
  G_FILE_ERROR_NFILE,
3501
 
  G_FILE_ERROR_BADF,
3502
 
  G_FILE_ERROR_INVAL,
3503
 
  G_FILE_ERROR_PIPE,
3504
 
  G_FILE_ERROR_AGAIN,
3505
 
  G_FILE_ERROR_INTR,
3506
 
  G_FILE_ERROR_IO,
3507
 
  G_FILE_ERROR_PERM,
3508
 
  G_FILE_ERROR_NOSYS,
3509
 
  G_FILE_ERROR_FAILED
3510
 
} GFileError;
3511
 
 
3512
 
 
3513
 
 
3514
 
 
3515
 
 
3516
 
typedef enum
3517
 
{
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
3523
 
} GFileTest;
3524
 
 
3525
 
GQuark g_file_error_quark (void);
3526
 
 
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,
3530
 
                              GFileTest test);
3531
 
gboolean g_file_get_contents (const gchar *filename,
3532
 
                              gchar **contents,
3533
 
                              gsize *length,
3534
 
                              GError **error);
3535
 
gboolean g_file_set_contents (const gchar *filename,
3536
 
         const gchar *contents,
3537
 
         gssize length,
3538
 
         GError **error);
3539
 
gchar *g_file_read_link (const gchar *filename,
3540
 
         GError **error);
3541
 
 
3542
 
 
3543
 
gint g_mkstemp (gchar *tmpl);
3544
 
gint g_mkstemp_full (gchar *tmpl,
3545
 
                              int flags,
3546
 
                              int mode);
3547
 
 
3548
 
 
3549
 
gint g_file_open_tmp (const gchar *tmpl,
3550
 
         gchar **name_used,
3551
 
         GError **error);
3552
 
 
3553
 
char *g_format_size_for_display (goffset size);
3554
 
 
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__));
3560
 
 
3561
 
gchar *g_build_filename (const gchar *first_element,
3562
 
    ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
3563
 
gchar *g_build_filenamev (gchar **args) __attribute__((__malloc__));
3564
 
 
3565
 
int g_mkdir_with_parents (const gchar *pathname,
3566
 
        int mode);
3567
 
 
3568
 
 
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
3576
 
 
3577
 
 
3578
 
 
3579
 
typedef struct _GHashTable GHashTable;
3580
 
 
3581
 
typedef gboolean (*GHRFunc) (gpointer key,
3582
 
                               gpointer value,
3583
 
                               gpointer user_data);
3584
 
 
3585
 
typedef struct _GHashTableIter GHashTableIter;
3586
 
 
3587
 
struct _GHashTableIter
3588
 
{
3589
 
 
3590
 
  gpointer dummy1;
3591
 
  gpointer dummy2;
3592
 
  gpointer dummy3;
3593
 
  int dummy4;
3594
 
  gboolean dummy5;
3595
 
  gpointer dummy6;
3596
 
};
3597
 
 
3598
 
 
3599
 
 
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,
3608
 
         gpointer key,
3609
 
         gpointer value);
3610
 
void g_hash_table_replace (GHashTable *hash_table,
3611
 
         gpointer key,
3612
 
         gpointer value);
3613
 
gboolean g_hash_table_remove (GHashTable *hash_table,
3614
 
         gconstpointer key);
3615
 
void g_hash_table_remove_all (GHashTable *hash_table);
3616
 
gboolean g_hash_table_steal (GHashTable *hash_table,
3617
 
         gconstpointer key);
3618
 
void g_hash_table_steal_all (GHashTable *hash_table);
3619
 
gpointer g_hash_table_lookup (GHashTable *hash_table,
3620
 
         gconstpointer key);
3621
 
gboolean g_hash_table_lookup_extended (GHashTable *hash_table,
3622
 
         gconstpointer lookup_key,
3623
 
         gpointer *orig_key,
3624
 
         gpointer *value);
3625
 
void g_hash_table_foreach (GHashTable *hash_table,
3626
 
         GHFunc func,
3627
 
         gpointer user_data);
3628
 
gpointer g_hash_table_find (GHashTable *hash_table,
3629
 
         GHRFunc predicate,
3630
 
         gpointer user_data);
3631
 
guint g_hash_table_foreach_remove (GHashTable *hash_table,
3632
 
         GHRFunc func,
3633
 
         gpointer user_data);
3634
 
guint g_hash_table_foreach_steal (GHashTable *hash_table,
3635
 
         GHRFunc func,
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);
3640
 
 
3641
 
void g_hash_table_iter_init (GHashTableIter *iter,
3642
 
         GHashTable *hash_table);
3643
 
gboolean g_hash_table_iter_next (GHashTableIter *iter,
3644
 
         gpointer *key,
3645
 
         gpointer *value);
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);
3649
 
 
3650
 
 
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,
3655
 
                      gconstpointer v2);
3656
 
guint g_str_hash (gconstpointer v);
3657
 
 
3658
 
gboolean g_int_equal (gconstpointer v1,
3659
 
                      gconstpointer v2);
3660
 
guint g_int_hash (gconstpointer v);
3661
 
 
3662
 
gboolean g_int64_equal (gconstpointer v1,
3663
 
                        gconstpointer v2);
3664
 
guint g_int64_hash (gconstpointer v);
3665
 
 
3666
 
gboolean g_double_equal (gconstpointer v1,
3667
 
                         gconstpointer v2);
3668
 
guint g_double_hash (gconstpointer v);
3669
 
 
3670
 
 
3671
 
 
3672
 
 
3673
 
 
3674
 
 
3675
 
 
3676
 
guint g_direct_hash (gconstpointer v) __attribute__((__const__));
3677
 
gboolean g_direct_equal (gconstpointer v1,
3678
 
                         gconstpointer v2) __attribute__((__const__));
3679
 
 
3680
 
 
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
3686
 
 
3687
 
 
3688
 
 
3689
 
 
3690
 
 
3691
 
typedef struct _GHook GHook;
3692
 
typedef struct _GHookList GHookList;
3693
 
 
3694
 
typedef gint (*GHookCompareFunc) (GHook *new_hook,
3695
 
       GHook *sibling);
3696
 
typedef gboolean (*GHookFindFunc) (GHook *hook,
3697
 
       gpointer data);
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,
3705
 
       GHook *hook);
3706
 
typedef enum
3707
 
{
3708
 
  G_HOOK_FLAG_ACTIVE = 1 << 0,
3709
 
  G_HOOK_FLAG_IN_CALL = 1 << 1,
3710
 
  G_HOOK_FLAG_MASK = 0x0f
3711
 
} GHookFlagMask;
3712
 
 
3713
 
 
3714
 
 
3715
 
 
3716
 
struct _GHookList
3717
 
{
3718
 
  gulong seq_id;
3719
 
  guint hook_size : 16;
3720
 
  guint is_setup : 1;
3721
 
  GHook *hooks;
3722
 
  gpointer dummy3;
3723
 
  GHookFinalizeFunc finalize_hook;
3724
 
  gpointer dummy[2];
3725
 
};
3726
 
struct _GHook
3727
 
{
3728
 
  gpointer data;
3729
 
  GHook *next;
3730
 
  GHook *prev;
3731
 
  guint ref_count;
3732
 
  gulong hook_id;
3733
 
  guint flags;
3734
 
  gpointer func;
3735
 
  GDestroyNotify destroy;
3736
 
};
3737
 
# 106 "/usr/include/glib-2.0/glib/ghook.h"
3738
 
void g_hook_list_init (GHookList *hook_list,
3739
 
      guint hook_size);
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,
3743
 
      GHook *hook);
3744
 
GHook * g_hook_ref (GHookList *hook_list,
3745
 
      GHook *hook);
3746
 
void g_hook_unref (GHookList *hook_list,
3747
 
      GHook *hook);
3748
 
gboolean g_hook_destroy (GHookList *hook_list,
3749
 
      gulong hook_id);
3750
 
void g_hook_destroy_link (GHookList *hook_list,
3751
 
      GHook *hook);
3752
 
void g_hook_prepend (GHookList *hook_list,
3753
 
      GHook *hook);
3754
 
void g_hook_insert_before (GHookList *hook_list,
3755
 
      GHook *sibling,
3756
 
      GHook *hook);
3757
 
void g_hook_insert_sorted (GHookList *hook_list,
3758
 
      GHook *hook,
3759
 
      GHookCompareFunc func);
3760
 
GHook* g_hook_get (GHookList *hook_list,
3761
 
      gulong hook_id);
3762
 
GHook* g_hook_find (GHookList *hook_list,
3763
 
      gboolean need_valids,
3764
 
      GHookFindFunc func,
3765
 
      gpointer data);
3766
 
GHook* g_hook_find_data (GHookList *hook_list,
3767
 
      gboolean need_valids,
3768
 
      gpointer data);
3769
 
GHook* g_hook_find_func (GHookList *hook_list,
3770
 
      gboolean need_valids,
3771
 
      gpointer func);
3772
 
GHook* g_hook_find_func_data (GHookList *hook_list,
3773
 
      gboolean need_valids,
3774
 
      gpointer func,
3775
 
      gpointer data);
3776
 
 
3777
 
GHook* g_hook_first_valid (GHookList *hook_list,
3778
 
      gboolean may_be_in_call);
3779
 
 
3780
 
 
3781
 
 
3782
 
GHook* g_hook_next_valid (GHookList *hook_list,
3783
 
      GHook *hook,
3784
 
      gboolean may_be_in_call);
3785
 
 
3786
 
gint g_hook_compare_ids (GHook *new_hook,
3787
 
      GHook *sibling);
3788
 
 
3789
 
 
3790
 
 
3791
 
 
3792
 
 
3793
 
void g_hook_list_invoke (GHookList *hook_list,
3794
 
      gboolean may_recurse);
3795
 
 
3796
 
 
3797
 
 
3798
 
void g_hook_list_invoke_check (GHookList *hook_list,
3799
 
      gboolean may_recurse);
3800
 
 
3801
 
 
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);
3810
 
 
3811
 
 
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
3817
 
 
3818
 
 
3819
 
 
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);
3823
 
 
3824
 
gchar *g_hostname_to_ascii (const gchar *hostname);
3825
 
gchar *g_hostname_to_unicode (const gchar *hostname);
3826
 
 
3827
 
 
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
3839
 
 
3840
 
 
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,
3845
 
                                 guint nfsd,
3846
 
                                 gint timeout_);
3847
 
# 90 "/usr/include/glib-2.0/glib/gpoll.h"
3848
 
struct _GPollFD
3849
 
{
3850
 
 
3851
 
 
3852
 
 
3853
 
  gint fd;
3854
 
 
3855
 
  gushort events;
3856
 
  gushort revents;
3857
 
};
3858
 
# 111 "/usr/include/glib-2.0/glib/gpoll.h"
3859
 
gint g_poll (GPollFD *fds,
3860
 
      guint nfds,
3861
 
      gint timeout);
3862
 
 
3863
 
 
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
3869
 
 
3870
 
 
3871
 
 
3872
 
typedef struct _GSList GSList;
3873
 
 
3874
 
struct _GSList
3875
 
{
3876
 
  gpointer data;
3877
 
  GSList *next;
3878
 
};
3879
 
 
3880
 
 
3881
 
 
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);
3885
 
 
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,
3893
 
       gpointer data,
3894
 
       gint position) __attribute__((warn_unused_result));
3895
 
GSList* g_slist_insert_sorted (GSList *list,
3896
 
       gpointer data,
3897
 
       GCompareFunc func) __attribute__((warn_unused_result));
3898
 
GSList* g_slist_insert_sorted_with_data (GSList *list,
3899
 
       gpointer data,
3900
 
       GCompareDataFunc func,
3901
 
       gpointer user_data) __attribute__((warn_unused_result));
3902
 
GSList* g_slist_insert_before (GSList *slist,
3903
 
       GSList *sibling,
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,
3918
 
       guint n);
3919
 
GSList* g_slist_find (GSList *list,
3920
 
       gconstpointer data);
3921
 
GSList* g_slist_find_custom (GSList *list,
3922
 
       gconstpointer data,
3923
 
       GCompareFunc func);
3924
 
gint g_slist_position (GSList *list,
3925
 
       GSList *llink);
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,
3931
 
       GFunc func,
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,
3939
 
       guint n);
3940
 
 
3941
 
 
3942
 
 
3943
 
 
3944
 
void g_slist_push_allocator (gpointer dummy);
3945
 
void g_slist_pop_allocator (void);
3946
 
 
3947
 
 
3948
 
 
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
3952
 
 
3953
 
 
3954
 
 
3955
 
 
3956
 
 
3957
 
 
3958
 
 
3959
 
 
3960
 
 
3961
 
typedef struct _GMainContext GMainContext;
3962
 
 
3963
 
 
3964
 
 
3965
 
 
3966
 
 
3967
 
 
3968
 
 
3969
 
typedef struct _GMainLoop GMainLoop;
3970
 
 
3971
 
 
3972
 
 
3973
 
 
3974
 
 
3975
 
 
3976
 
 
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,
3987
 
                                       gint status,
3988
 
                                       gpointer data);
3989
 
struct _GSource
3990
 
{
3991
 
 
3992
 
  gpointer callback_data;
3993
 
  GSourceCallbackFuncs *callback_funcs;
3994
 
 
3995
 
  GSourceFuncs *source_funcs;
3996
 
  guint ref_count;
3997
 
 
3998
 
  GMainContext *context;
3999
 
 
4000
 
  gint priority;
4001
 
  guint flags;
4002
 
  guint source_id;
4003
 
 
4004
 
  GSList *poll_fds;
4005
 
 
4006
 
  GSource *prev;
4007
 
  GSource *next;
4008
 
 
4009
 
  char *name;
4010
 
 
4011
 
  GSourcePrivate *priv;
4012
 
};
4013
 
 
4014
 
struct _GSourceCallbackFuncs
4015
 
{
4016
 
  void (*ref) (gpointer cb_data);
4017
 
  void (*unref) (gpointer cb_data);
4018
 
  void (*get) (gpointer cb_data,
4019
 
                 GSource *source,
4020
 
                 GSourceFunc *func,
4021
 
                 gpointer *data);
4022
 
};
4023
 
 
4024
 
typedef void (*GSourceDummyMarshal) (void);
4025
 
 
4026
 
struct _GSourceFuncs
4027
 
{
4028
 
  gboolean (*prepare) (GSource *source,
4029
 
                        gint *timeout_);
4030
 
  gboolean (*check) (GSource *source);
4031
 
  gboolean (*dispatch) (GSource *source,
4032
 
                        GSourceFunc callback,
4033
 
                        gpointer user_data);
4034
 
  void (*finalize) (GSource *source);
4035
 
 
4036
 
 
4037
 
  GSourceFunc closure_callback;
4038
 
  GSourceDummyMarshal closure_marshal;
4039
 
};
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);
4045
 
 
4046
 
gboolean g_main_context_iteration (GMainContext *context,
4047
 
                                        gboolean may_block);
4048
 
gboolean g_main_context_pending (GMainContext *context);
4049
 
 
4050
 
 
4051
 
 
4052
 
GSource *g_main_context_find_source_by_id (GMainContext *context,
4053
 
                                                             guint source_id);
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);
4059
 
 
4060
 
 
4061
 
 
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,
4067
 
                                 GCond *cond,
4068
 
                                 GMutex *mutex);
4069
 
 
4070
 
gboolean g_main_context_prepare (GMainContext *context,
4071
 
                                  gint *priority);
4072
 
gint g_main_context_query (GMainContext *context,
4073
 
                                  gint max_priority,
4074
 
                                  gint *timeout_,
4075
 
                                  GPollFD *fds,
4076
 
                                  gint n_fds);
4077
 
gint g_main_context_check (GMainContext *context,
4078
 
                                  gint max_priority,
4079
 
                                  GPollFD *fds,
4080
 
                                  gint n_fds);
4081
 
void g_main_context_dispatch (GMainContext *context);
4082
 
 
4083
 
void g_main_context_set_poll_func (GMainContext *context,
4084
 
                                       GPollFunc func);
4085
 
GPollFunc g_main_context_get_poll_func (GMainContext *context);
4086
 
 
4087
 
 
4088
 
 
4089
 
void g_main_context_add_poll (GMainContext *context,
4090
 
                                     GPollFD *fd,
4091
 
                                     gint priority);
4092
 
void g_main_context_remove_poll (GMainContext *context,
4093
 
                                     GPollFD *fd);
4094
 
 
4095
 
gint g_main_depth (void);
4096
 
GSource *g_main_current_source (void);
4097
 
 
4098
 
 
4099
 
 
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);
4103
 
 
4104
 
 
4105
 
 
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);
4114
 
 
4115
 
 
4116
 
 
4117
 
GSource *g_source_new (GSourceFuncs *source_funcs,
4118
 
                                   guint struct_size);
4119
 
GSource *g_source_ref (GSource *source);
4120
 
void g_source_unref (GSource *source);
4121
 
 
4122
 
guint g_source_attach (GSource *source,
4123
 
                                   GMainContext *context);
4124
 
void g_source_destroy (GSource *source);
4125
 
 
4126
 
void g_source_set_priority (GSource *source,
4127
 
                                   gint priority);
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);
4133
 
 
4134
 
GMainContext *g_source_get_context (GSource *source);
4135
 
 
4136
 
void g_source_set_callback (GSource *source,
4137
 
                                   GSourceFunc func,
4138
 
                                   gpointer data,
4139
 
                                   GDestroyNotify notify);
4140
 
 
4141
 
void g_source_set_funcs (GSource *source,
4142
 
                                   GSourceFuncs *funcs);
4143
 
gboolean g_source_is_destroyed (GSource *source);
4144
 
 
4145
 
void g_source_set_name (GSource *source,
4146
 
                                              const char *name);
4147
 
const char* g_source_get_name (GSource *source);
4148
 
void g_source_set_name_by_id (guint tag,
4149
 
                                              const char *name);
4150
 
 
4151
 
 
4152
 
 
4153
 
void g_source_set_callback_indirect (GSource *source,
4154
 
                                     gpointer callback_data,
4155
 
                                     GSourceCallbackFuncs *callback_funcs);
4156
 
 
4157
 
void g_source_add_poll (GSource *source,
4158
 
           GPollFD *fd);
4159
 
void g_source_remove_poll (GSource *source,
4160
 
           GPollFD *fd);
4161
 
 
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);
4166
 
 
4167
 
 
4168
 
void g_source_get_current_time (GSource *source,
4169
 
                                    GTimeVal *timeval);
4170
 
 
4171
 
gint64 g_source_get_time (GSource *source);
4172
 
 
4173
 
 
4174
 
 
4175
 
 
4176
 
 
4177
 
 
4178
 
 
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);
4183
 
 
4184
 
 
4185
 
 
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);
4194
 
 
4195
 
 
4196
 
guint g_timeout_add_full (gint priority,
4197
 
                                     guint interval,
4198
 
                                     GSourceFunc function,
4199
 
                                     gpointer data,
4200
 
                                     GDestroyNotify notify);
4201
 
guint g_timeout_add (guint interval,
4202
 
                                     GSourceFunc function,
4203
 
                                     gpointer data);
4204
 
guint g_timeout_add_seconds_full (gint priority,
4205
 
                                     guint interval,
4206
 
                                     GSourceFunc function,
4207
 
                                     gpointer data,
4208
 
                                     GDestroyNotify notify);
4209
 
guint g_timeout_add_seconds (guint interval,
4210
 
                                     GSourceFunc function,
4211
 
                                     gpointer data);
4212
 
guint g_child_watch_add_full (gint priority,
4213
 
                                     GPid pid,
4214
 
                                     GChildWatchFunc function,
4215
 
                                     gpointer data,
4216
 
                                     GDestroyNotify notify);
4217
 
guint g_child_watch_add (GPid pid,
4218
 
                                     GChildWatchFunc function,
4219
 
                                     gpointer data);
4220
 
guint g_idle_add (GSourceFunc function,
4221
 
                                     gpointer data);
4222
 
guint g_idle_add_full (gint priority,
4223
 
                                     GSourceFunc function,
4224
 
                                     gpointer data,
4225
 
                                     GDestroyNotify notify);
4226
 
gboolean g_idle_remove_by_data (gpointer data);
4227
 
 
4228
 
void g_main_context_invoke_full (GMainContext *context,
4229
 
                                     gint priority,
4230
 
                                     GSourceFunc function,
4231
 
                                     gpointer data,
4232
 
                                     GDestroyNotify notify);
4233
 
void g_main_context_invoke (GMainContext *context,
4234
 
                                     GSourceFunc function,
4235
 
                                     gpointer data);
4236
 
 
4237
 
 
4238
 
extern GSourceFuncs g_timeout_funcs;
4239
 
extern GSourceFuncs g_child_watch_funcs;
4240
 
extern GSourceFuncs g_idle_funcs;
4241
 
 
4242
 
 
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
4254
 
 
4255
 
 
4256
 
 
4257
 
typedef guint32 gunichar;
4258
 
typedef guint16 gunichar2;
4259
 
 
4260
 
 
4261
 
 
4262
 
 
4263
 
typedef enum
4264
 
{
4265
 
  G_UNICODE_CONTROL,
4266
 
  G_UNICODE_FORMAT,
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
4295
 
} GUnicodeType;
4296
 
 
4297
 
 
4298
 
 
4299
 
 
4300
 
 
4301
 
 
4302
 
typedef enum
4303
 
{
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;
4342
 
 
4343
 
typedef enum
4344
 
{
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,
4392
 
 
4393
 
 
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,
4402
 
 
4403
 
 
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,
4411
 
 
4412
 
 
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,
4419
 
 
4420
 
 
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,
4432
 
 
4433
 
 
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,
4449
 
 
4450
 
 
4451
 
  G_UNICODE_SCRIPT_BATAK,
4452
 
  G_UNICODE_SCRIPT_BRAHMI,
4453
 
  G_UNICODE_SCRIPT_MANDAIC
4454
 
} GUnicodeScript;
4455
 
 
4456
 
 
4457
 
 
4458
 
 
4459
 
 
4460
 
 
4461
 
 
4462
 
gboolean g_get_charset (const char **charset);
4463
 
 
4464
 
 
4465
 
 
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__));
4483
 
 
4484
 
 
4485
 
 
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__));
4489
 
 
4490
 
 
4491
 
 
4492
 
gint g_unichar_digit_value (gunichar c) __attribute__((__const__));
4493
 
 
4494
 
gint g_unichar_xdigit_value (gunichar c) __attribute__((__const__));
4495
 
 
4496
 
 
4497
 
GUnicodeType g_unichar_type (gunichar c) __attribute__((__const__));
4498
 
 
4499
 
 
4500
 
GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__((__const__));
4501
 
 
4502
 
 
4503
 
gint g_unichar_combining_class (gunichar uc) __attribute__((__const__));
4504
 
 
4505
 
 
4506
 
 
4507
 
 
4508
 
 
4509
 
void g_unicode_canonical_ordering (gunichar *string,
4510
 
       gsize len);
4511
 
 
4512
 
 
4513
 
 
4514
 
 
4515
 
gunichar *g_unicode_canonical_decomposition (gunichar ch,
4516
 
          gsize *result_len) __attribute__((__malloc__));
4517
 
 
4518
 
 
4519
 
 
4520
 
extern const gchar * const g_utf8_skip;
4521
 
 
4522
 
 
4523
 
 
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__));
4527
 
 
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__));
4537
 
 
4538
 
glong g_utf8_strlen (const gchar *p,
4539
 
       gssize max) __attribute__((__pure__));
4540
 
 
4541
 
 
4542
 
gchar* g_utf8_strncpy (gchar *dest,
4543
 
         const gchar *src,
4544
 
         gsize n);
4545
 
 
4546
 
 
4547
 
 
4548
 
gchar* g_utf8_strchr (const gchar *p,
4549
 
         gssize len,
4550
 
         gunichar c);
4551
 
gchar* g_utf8_strrchr (const gchar *p,
4552
 
         gssize len,
4553
 
         gunichar c);
4554
 
gchar* g_utf8_strreverse (const gchar *str,
4555
 
     gssize len);
4556
 
 
4557
 
gunichar2 *g_utf8_to_utf16 (const gchar *str,
4558
 
    glong len,
4559
 
    glong *items_read,
4560
 
    glong *items_written,
4561
 
    GError **error) __attribute__((__malloc__));
4562
 
gunichar * g_utf8_to_ucs4 (const gchar *str,
4563
 
    glong len,
4564
 
    glong *items_read,
4565
 
    glong *items_written,
4566
 
    GError **error) __attribute__((__malloc__));
4567
 
gunichar * g_utf8_to_ucs4_fast (const gchar *str,
4568
 
    glong len,
4569
 
    glong *items_written) __attribute__((__malloc__));
4570
 
gunichar * g_utf16_to_ucs4 (const gunichar2 *str,
4571
 
    glong len,
4572
 
    glong *items_read,
4573
 
    glong *items_written,
4574
 
    GError **error) __attribute__((__malloc__));
4575
 
gchar* g_utf16_to_utf8 (const gunichar2 *str,
4576
 
    glong len,
4577
 
    glong *items_read,
4578
 
    glong *items_written,
4579
 
    GError **error) __attribute__((__malloc__));
4580
 
gunichar2 *g_ucs4_to_utf16 (const gunichar *str,
4581
 
    glong len,
4582
 
    glong *items_read,
4583
 
    glong *items_written,
4584
 
    GError **error) __attribute__((__malloc__));
4585
 
gchar* g_ucs4_to_utf8 (const gunichar *str,
4586
 
    glong len,
4587
 
    glong *items_read,
4588
 
    glong *items_written,
4589
 
    GError **error) __attribute__((__malloc__));
4590
 
 
4591
 
 
4592
 
 
4593
 
 
4594
 
 
4595
 
gint g_unichar_to_utf8 (gunichar c,
4596
 
        gchar *outbuf);
4597
 
 
4598
 
 
4599
 
 
4600
 
 
4601
 
 
4602
 
gboolean g_utf8_validate (const gchar *str,
4603
 
                          gssize max_len,
4604
 
                          const gchar **end);
4605
 
 
4606
 
 
4607
 
gboolean g_unichar_validate (gunichar ch) __attribute__((__const__));
4608
 
 
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__));
4615
 
 
4616
 
typedef enum {
4617
 
  G_NORMALIZE_DEFAULT,
4618
 
  G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT,
4619
 
  G_NORMALIZE_DEFAULT_COMPOSE,
4620
 
  G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE,
4621
 
  G_NORMALIZE_ALL,
4622
 
  G_NORMALIZE_NFKD = G_NORMALIZE_ALL,
4623
 
  G_NORMALIZE_ALL_COMPOSE,
4624
 
  G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE
4625
 
} GNormalizeMode;
4626
 
 
4627
 
gchar *g_utf8_normalize (const gchar *str,
4628
 
    gssize len,
4629
 
    GNormalizeMode mode) __attribute__((__malloc__));
4630
 
 
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__));
4637
 
 
4638
 
gboolean g_unichar_get_mirror_char (gunichar ch,
4639
 
                                    gunichar *mirrored_ch);
4640
 
 
4641
 
GUnicodeScript g_unichar_get_script (gunichar ch) __attribute__((__const__));
4642
 
 
4643
 
 
4644
 
 
4645
 
 
4646
 
gchar *_g_utf8_make_valid (const gchar *name);
4647
 
 
4648
 
 
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
4652
 
 
4653
 
 
4654
 
 
4655
 
typedef struct _GString GString;
4656
 
typedef struct _GStringChunk GStringChunk;
4657
 
 
4658
 
struct _GString
4659
 
{
4660
 
  gchar *str;
4661
 
  gsize len;
4662
 
  gsize allocated_len;
4663
 
};
4664
 
 
4665
 
 
4666
 
 
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,
4674
 
         gssize len);
4675
 
gchar* g_string_chunk_insert_const (GStringChunk *chunk,
4676
 
         const gchar *string);
4677
 
 
4678
 
 
4679
 
 
4680
 
 
4681
 
GString* g_string_new (const gchar *init);
4682
 
GString* g_string_new_len (const gchar *init,
4683
 
                                         gssize len);
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,
4688
 
      const GString *v2);
4689
 
guint g_string_hash (const GString *str);
4690
 
GString* g_string_assign (GString *string,
4691
 
      const gchar *rval);
4692
 
GString* g_string_truncate (GString *string,
4693
 
      gsize len);
4694
 
GString* g_string_set_size (GString *string,
4695
 
      gsize len);
4696
 
GString* g_string_insert_len (GString *string,
4697
 
                                         gssize pos,
4698
 
                                         const gchar *val,
4699
 
                                         gssize len);
4700
 
GString* g_string_append (GString *string,
4701
 
                    const gchar *val);
4702
 
GString* g_string_append_len (GString *string,
4703
 
                    const gchar *val,
4704
 
                                         gssize len);
4705
 
GString* g_string_append_c (GString *string,
4706
 
      gchar c);
4707
 
GString* g_string_append_unichar (GString *string,
4708
 
      gunichar wc);
4709
 
GString* g_string_prepend (GString *string,
4710
 
      const gchar *val);
4711
 
GString* g_string_prepend_c (GString *string,
4712
 
      gchar c);
4713
 
GString* g_string_prepend_unichar (GString *string,
4714
 
      gunichar wc);
4715
 
GString* g_string_prepend_len (GString *string,
4716
 
                    const gchar *val,
4717
 
                                         gssize len);
4718
 
GString* g_string_insert (GString *string,
4719
 
      gssize pos,
4720
 
      const gchar *val);
4721
 
GString* g_string_insert_c (GString *string,
4722
 
      gssize pos,
4723
 
      gchar c);
4724
 
GString* g_string_insert_unichar (GString *string,
4725
 
      gssize pos,
4726
 
      gunichar wc);
4727
 
GString* g_string_overwrite (GString *string,
4728
 
      gsize pos,
4729
 
      const gchar *val);
4730
 
GString* g_string_overwrite_len (GString *string,
4731
 
      gsize pos,
4732
 
      const gchar *val,
4733
 
      gssize len);
4734
 
GString* g_string_erase (GString *string,
4735
 
      gssize pos,
4736
 
      gssize len);
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,
4741
 
      va_list args);
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,
4747
 
      va_list args);
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);
4755
 
 
4756
 
 
4757
 
 
4758
 
static inline GString*
4759
 
g_string_append_c_inline (GString *gstring,
4760
 
                          gchar c)
4761
 
{
4762
 
  if (gstring->len + 1 < gstring->allocated_len)
4763
 
    {
4764
 
      gstring->str[gstring->len++] = c;
4765
 
      gstring->str[gstring->len] = 0;
4766
 
    }
4767
 
  else
4768
 
    g_string_insert_c (gstring, -1, c);
4769
 
  return gstring;
4770
 
}
4771
 
# 167 "/usr/include/glib-2.0/glib/gstring.h"
4772
 
GString* g_string_down (GString *string);
4773
 
GString* g_string_up (GString *string);
4774
 
 
4775
 
 
4776
 
 
4777
 
 
4778
 
 
4779
 
 
4780
 
 
4781
 
 
4782
 
# 37 "/usr/include/glib-2.0/glib/giochannel.h" 2
4783
 
 
4784
 
 
4785
 
 
4786
 
 
4787
 
 
4788
 
 
4789
 
typedef struct _GIOChannel GIOChannel;
4790
 
typedef struct _GIOFuncs GIOFuncs;
4791
 
 
4792
 
typedef enum
4793
 
{
4794
 
  G_IO_ERROR_NONE,
4795
 
  G_IO_ERROR_AGAIN,
4796
 
  G_IO_ERROR_INVAL,
4797
 
  G_IO_ERROR_UNKNOWN
4798
 
} GIOError;
4799
 
 
4800
 
 
4801
 
 
4802
 
typedef enum
4803
 
{
4804
 
 
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,
4813
 
 
4814
 
  G_IO_CHANNEL_ERROR_FAILED
4815
 
} GIOChannelError;
4816
 
 
4817
 
typedef enum
4818
 
{
4819
 
  G_IO_STATUS_ERROR,
4820
 
  G_IO_STATUS_NORMAL,
4821
 
  G_IO_STATUS_EOF,
4822
 
  G_IO_STATUS_AGAIN
4823
 
} GIOStatus;
4824
 
 
4825
 
typedef enum
4826
 
{
4827
 
  G_SEEK_CUR,
4828
 
  G_SEEK_SET,
4829
 
  G_SEEK_END
4830
 
} GSeekType;
4831
 
 
4832
 
typedef enum
4833
 
{
4834
 
  G_IO_IN =1,
4835
 
  G_IO_OUT =4,
4836
 
  G_IO_PRI =2,
4837
 
  G_IO_ERR =8,
4838
 
  G_IO_HUP =16,
4839
 
  G_IO_NVAL =32
4840
 
} GIOCondition;
4841
 
 
4842
 
typedef enum
4843
 
{
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
4852
 
} GIOFlags;
4853
 
 
4854
 
struct _GIOChannel
4855
 
{
4856
 
 
4857
 
  gint ref_count;
4858
 
  GIOFuncs *funcs;
4859
 
 
4860
 
  gchar *encoding;
4861
 
  GIConv read_cd;
4862
 
  GIConv write_cd;
4863
 
  gchar *line_term;
4864
 
  guint line_term_len;
4865
 
 
4866
 
  gsize buf_size;
4867
 
  GString *read_buf;
4868
 
  GString *encoded_read_buf;
4869
 
  GString *write_buf;
4870
 
  gchar partial_write_buf[6];
4871
 
 
4872
 
 
4873
 
 
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;
4880
 
 
4881
 
  gpointer reserved1;
4882
 
  gpointer reserved2;
4883
 
};
4884
 
 
4885
 
typedef gboolean (*GIOFunc) (GIOChannel *source,
4886
 
        GIOCondition condition,
4887
 
        gpointer data);
4888
 
struct _GIOFuncs
4889
 
{
4890
 
  GIOStatus (*io_read) (GIOChannel *channel,
4891
 
             gchar *buf,
4892
 
      gsize count,
4893
 
      gsize *bytes_read,
4894
 
      GError **err);
4895
 
  GIOStatus (*io_write) (GIOChannel *channel,
4896
 
      const gchar *buf,
4897
 
      gsize count,
4898
 
      gsize *bytes_written,
4899
 
      GError **err);
4900
 
  GIOStatus (*io_seek) (GIOChannel *channel,
4901
 
      gint64 offset,
4902
 
      GSeekType type,
4903
 
      GError **err);
4904
 
  GIOStatus (*io_close) (GIOChannel *channel,
4905
 
      GError **err);
4906
 
  GSource* (*io_create_watch) (GIOChannel *channel,
4907
 
      GIOCondition condition);
4908
 
  void (*io_free) (GIOChannel *channel);
4909
 
  GIOStatus (*io_set_flags) (GIOChannel *channel,
4910
 
                                  GIOFlags flags,
4911
 
      GError **err);
4912
 
  GIOFlags (*io_get_flags) (GIOChannel *channel);
4913
 
};
4914
 
 
4915
 
void g_io_channel_init (GIOChannel *channel);
4916
 
GIOChannel *g_io_channel_ref (GIOChannel *channel);
4917
 
void g_io_channel_unref (GIOChannel *channel);
4918
 
 
4919
 
 
4920
 
GIOError g_io_channel_read (GIOChannel *channel,
4921
 
            gchar *buf,
4922
 
            gsize count,
4923
 
            gsize *bytes_read);
4924
 
GIOError g_io_channel_write (GIOChannel *channel,
4925
 
            const gchar *buf,
4926
 
            gsize count,
4927
 
            gsize *bytes_written);
4928
 
GIOError g_io_channel_seek (GIOChannel *channel,
4929
 
            gint64 offset,
4930
 
            GSeekType type);
4931
 
void g_io_channel_close (GIOChannel *channel);
4932
 
 
4933
 
 
4934
 
GIOStatus g_io_channel_shutdown (GIOChannel *channel,
4935
 
     gboolean flush,
4936
 
     GError **err);
4937
 
guint g_io_add_watch_full (GIOChannel *channel,
4938
 
     gint priority,
4939
 
     GIOCondition condition,
4940
 
     GIOFunc func,
4941
 
     gpointer user_data,
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,
4947
 
     GIOFunc func,
4948
 
     gpointer user_data);
4949
 
 
4950
 
 
4951
 
 
4952
 
 
4953
 
void g_io_channel_set_buffer_size (GIOChannel *channel,
4954
 
        gsize size);
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,
4958
 
        GIOFlags flags,
4959
 
        GError **error);
4960
 
GIOFlags g_io_channel_get_flags (GIOChannel *channel);
4961
 
void g_io_channel_set_line_term (GIOChannel *channel,
4962
 
        const gchar *line_term,
4963
 
        gint length);
4964
 
const gchar* g_io_channel_get_line_term (GIOChannel *channel,
4965
 
        gint *length);
4966
 
void g_io_channel_set_buffered (GIOChannel *channel,
4967
 
        gboolean buffered);
4968
 
gboolean g_io_channel_get_buffered (GIOChannel *channel);
4969
 
GIOStatus g_io_channel_set_encoding (GIOChannel *channel,
4970
 
        const gchar *encoding,
4971
 
        GError **error);
4972
 
const gchar* g_io_channel_get_encoding (GIOChannel *channel);
4973
 
void g_io_channel_set_close_on_unref (GIOChannel *channel,
4974
 
        gboolean do_close);
4975
 
gboolean g_io_channel_get_close_on_unref (GIOChannel *channel);
4976
 
 
4977
 
 
4978
 
GIOStatus g_io_channel_flush (GIOChannel *channel,
4979
 
        GError **error);
4980
 
GIOStatus g_io_channel_read_line (GIOChannel *channel,
4981
 
        gchar **str_return,
4982
 
        gsize *length,
4983
 
        gsize *terminator_pos,
4984
 
        GError **error);
4985
 
GIOStatus g_io_channel_read_line_string (GIOChannel *channel,
4986
 
        GString *buffer,
4987
 
        gsize *terminator_pos,
4988
 
        GError **error);
4989
 
GIOStatus g_io_channel_read_to_end (GIOChannel *channel,
4990
 
        gchar **str_return,
4991
 
        gsize *length,
4992
 
        GError **error);
4993
 
GIOStatus g_io_channel_read_chars (GIOChannel *channel,
4994
 
        gchar *buf,
4995
 
        gsize count,
4996
 
        gsize *bytes_read,
4997
 
        GError **error);
4998
 
GIOStatus g_io_channel_read_unichar (GIOChannel *channel,
4999
 
        gunichar *thechar,
5000
 
        GError **error);
5001
 
GIOStatus g_io_channel_write_chars (GIOChannel *channel,
5002
 
        const gchar *buf,
5003
 
        gssize count,
5004
 
        gsize *bytes_written,
5005
 
        GError **error);
5006
 
GIOStatus g_io_channel_write_unichar (GIOChannel *channel,
5007
 
        gunichar thechar,
5008
 
        GError **error);
5009
 
GIOStatus g_io_channel_seek_position (GIOChannel *channel,
5010
 
        gint64 offset,
5011
 
        GSeekType type,
5012
 
        GError **error);
5013
 
 
5014
 
 
5015
 
 
5016
 
 
5017
 
GIOChannel* g_io_channel_new_file (const gchar *filename,
5018
 
        const gchar *mode,
5019
 
        GError **error);
5020
 
 
5021
 
 
5022
 
 
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);
5028
 
 
5029
 
 
5030
 
 
5031
 
extern GSourceFuncs g_io_watch_funcs;
5032
 
# 364 "/usr/include/glib-2.0/glib/giochannel.h"
5033
 
 
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
5039
 
 
5040
 
 
5041
 
 
5042
 
typedef enum
5043
 
{
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
5050
 
} GKeyFileError;
5051
 
 
5052
 
 
5053
 
 
5054
 
GQuark g_key_file_error_quark (void);
5055
 
 
5056
 
typedef struct _GKeyFile GKeyFile;
5057
 
 
5058
 
typedef enum
5059
 
{
5060
 
  G_KEY_FILE_NONE = 0,
5061
 
  G_KEY_FILE_KEEP_COMMENTS = 1 << 0,
5062
 
  G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1
5063
 
} GKeyFileFlags;
5064
 
 
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,
5068
 
          gchar separator);
5069
 
gboolean g_key_file_load_from_file (GKeyFile *key_file,
5070
 
          const gchar *file,
5071
 
          GKeyFileFlags flags,
5072
 
          GError **error);
5073
 
gboolean g_key_file_load_from_data (GKeyFile *key_file,
5074
 
          const gchar *data,
5075
 
          gsize length,
5076
 
          GKeyFileFlags flags,
5077
 
          GError **error);
5078
 
gboolean g_key_file_load_from_dirs (GKeyFile *key_file,
5079
 
          const gchar *file,
5080
 
          const gchar **search_dirs,
5081
 
          gchar **full_path,
5082
 
          GKeyFileFlags flags,
5083
 
          GError **error);
5084
 
gboolean g_key_file_load_from_data_dirs (GKeyFile *key_file,
5085
 
          const gchar *file,
5086
 
          gchar **full_path,
5087
 
          GKeyFileFlags flags,
5088
 
          GError **error);
5089
 
gchar *g_key_file_to_data (GKeyFile *key_file,
5090
 
          gsize *length,
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,
5097
 
          gsize *length,
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,
5103
 
          const gchar *key,
5104
 
          GError **error);
5105
 
gchar *g_key_file_get_value (GKeyFile *key_file,
5106
 
          const gchar *group_name,
5107
 
          const gchar *key,
5108
 
          GError **error) __attribute__((__malloc__));
5109
 
void g_key_file_set_value (GKeyFile *key_file,
5110
 
          const gchar *group_name,
5111
 
          const gchar *key,
5112
 
          const gchar *value);
5113
 
gchar *g_key_file_get_string (GKeyFile *key_file,
5114
 
          const gchar *group_name,
5115
 
          const gchar *key,
5116
 
          GError **error) __attribute__((__malloc__));
5117
 
void g_key_file_set_string (GKeyFile *key_file,
5118
 
          const gchar *group_name,
5119
 
          const gchar *key,
5120
 
          const gchar *string);
5121
 
gchar *g_key_file_get_locale_string (GKeyFile *key_file,
5122
 
          const gchar *group_name,
5123
 
          const gchar *key,
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,
5128
 
          const gchar *key,
5129
 
          const gchar *locale,
5130
 
          const gchar *string);
5131
 
gboolean g_key_file_get_boolean (GKeyFile *key_file,
5132
 
          const gchar *group_name,
5133
 
          const gchar *key,
5134
 
          GError **error);
5135
 
void g_key_file_set_boolean (GKeyFile *key_file,
5136
 
          const gchar *group_name,
5137
 
          const gchar *key,
5138
 
          gboolean value);
5139
 
gint g_key_file_get_integer (GKeyFile *key_file,
5140
 
          const gchar *group_name,
5141
 
          const gchar *key,
5142
 
          GError **error);
5143
 
void g_key_file_set_integer (GKeyFile *key_file,
5144
 
          const gchar *group_name,
5145
 
          const gchar *key,
5146
 
          gint value);
5147
 
gint64 g_key_file_get_int64 (GKeyFile *key_file,
5148
 
          const gchar *group_name,
5149
 
          const gchar *key,
5150
 
          GError **error);
5151
 
void g_key_file_set_int64 (GKeyFile *key_file,
5152
 
          const gchar *group_name,
5153
 
          const gchar *key,
5154
 
          gint64 value);
5155
 
guint64 g_key_file_get_uint64 (GKeyFile *key_file,
5156
 
          const gchar *group_name,
5157
 
          const gchar *key,
5158
 
          GError **error);
5159
 
void g_key_file_set_uint64 (GKeyFile *key_file,
5160
 
          const gchar *group_name,
5161
 
          const gchar *key,
5162
 
          guint64 value);
5163
 
gdouble g_key_file_get_double (GKeyFile *key_file,
5164
 
                                             const gchar *group_name,
5165
 
                                             const gchar *key,
5166
 
                                             GError **error);
5167
 
void g_key_file_set_double (GKeyFile *key_file,
5168
 
                                             const gchar *group_name,
5169
 
                                             const gchar *key,
5170
 
                                             gdouble value);
5171
 
gchar **g_key_file_get_string_list (GKeyFile *key_file,
5172
 
          const gchar *group_name,
5173
 
          const gchar *key,
5174
 
          gsize *length,
5175
 
          GError **error) __attribute__((__malloc__));
5176
 
void g_key_file_set_string_list (GKeyFile *key_file,
5177
 
          const gchar *group_name,
5178
 
          const gchar *key,
5179
 
          const gchar * const list[],
5180
 
          gsize length);
5181
 
gchar **g_key_file_get_locale_string_list (GKeyFile *key_file,
5182
 
          const gchar *group_name,
5183
 
          const gchar *key,
5184
 
          const gchar *locale,
5185
 
          gsize *length,
5186
 
          GError **error) __attribute__((__malloc__));
5187
 
void g_key_file_set_locale_string_list (GKeyFile *key_file,
5188
 
          const gchar *group_name,
5189
 
          const gchar *key,
5190
 
          const gchar *locale,
5191
 
          const gchar * const list[],
5192
 
          gsize length);
5193
 
gboolean *g_key_file_get_boolean_list (GKeyFile *key_file,
5194
 
          const gchar *group_name,
5195
 
          const gchar *key,
5196
 
          gsize *length,
5197
 
          GError **error) __attribute__((__malloc__));
5198
 
void g_key_file_set_boolean_list (GKeyFile *key_file,
5199
 
          const gchar *group_name,
5200
 
          const gchar *key,
5201
 
          gboolean list[],
5202
 
          gsize length);
5203
 
gint *g_key_file_get_integer_list (GKeyFile *key_file,
5204
 
          const gchar *group_name,
5205
 
          const gchar *key,
5206
 
          gsize *length,
5207
 
          GError **error) __attribute__((__malloc__));
5208
 
void g_key_file_set_double_list (GKeyFile *key_file,
5209
 
                                             const gchar *group_name,
5210
 
                                             const gchar *key,
5211
 
                                             gdouble list[],
5212
 
                                             gsize length);
5213
 
gdouble *g_key_file_get_double_list (GKeyFile *key_file,
5214
 
                                             const gchar *group_name,
5215
 
                                             const gchar *key,
5216
 
                                             gsize *length,
5217
 
                                             GError **error) __attribute__((__malloc__));
5218
 
void g_key_file_set_integer_list (GKeyFile *key_file,
5219
 
          const gchar *group_name,
5220
 
          const gchar *key,
5221
 
          gint list[],
5222
 
          gsize length);
5223
 
gboolean g_key_file_set_comment (GKeyFile *key_file,
5224
 
                                             const gchar *group_name,
5225
 
                                             const gchar *key,
5226
 
                                             const gchar *comment,
5227
 
                                             GError **error);
5228
 
gchar *g_key_file_get_comment (GKeyFile *key_file,
5229
 
                                             const gchar *group_name,
5230
 
                                             const gchar *key,
5231
 
                                             GError **error) __attribute__((__malloc__));
5232
 
 
5233
 
gboolean g_key_file_remove_comment (GKeyFile *key_file,
5234
 
                                             const gchar *group_name,
5235
 
                                             const gchar *key,
5236
 
          GError **error);
5237
 
gboolean g_key_file_remove_key (GKeyFile *key_file,
5238
 
          const gchar *group_name,
5239
 
          const gchar *key,
5240
 
          GError **error);
5241
 
gboolean g_key_file_remove_group (GKeyFile *key_file,
5242
 
          const gchar *group_name,
5243
 
          GError **error);
5244
 
# 266 "/usr/include/glib-2.0/glib/gkeyfile.h"
5245
 
 
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
5257
 
 
5258
 
 
5259
 
 
5260
 
typedef struct _GMappedFile GMappedFile;
5261
 
 
5262
 
GMappedFile *g_mapped_file_new (const gchar *filename,
5263
 
             gboolean writable,
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);
5269
 
 
5270
 
 
5271
 
void g_mapped_file_free (GMappedFile *file);
5272
 
 
5273
 
 
5274
 
 
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
5282
 
 
5283
 
 
5284
 
# 51 "/usr/include/glib-2.0/glib/gmarkup.h"
5285
 
typedef enum
5286
 
{
5287
 
  G_MARKUP_ERROR_BAD_UTF8,
5288
 
  G_MARKUP_ERROR_EMPTY,
5289
 
  G_MARKUP_ERROR_PARSE,
5290
 
 
5291
 
 
5292
 
 
5293
 
  G_MARKUP_ERROR_UNKNOWN_ELEMENT,
5294
 
  G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE,
5295
 
  G_MARKUP_ERROR_INVALID_CONTENT,
5296
 
  G_MARKUP_ERROR_MISSING_ATTRIBUTE
5297
 
} GMarkupError;
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"
5301
 
typedef enum
5302
 
{
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
5312
 
{
5313
 
 
5314
 
  void (*start_element) (GMarkupParseContext *context,
5315
 
                          const gchar *element_name,
5316
 
                          const gchar **attribute_names,
5317
 
                          const gchar **attribute_values,
5318
 
                          gpointer user_data,
5319
 
                          GError **error);
5320
 
 
5321
 
 
5322
 
  void (*end_element) (GMarkupParseContext *context,
5323
 
                          const gchar *element_name,
5324
 
                          gpointer user_data,
5325
 
                          GError **error);
5326
 
 
5327
 
 
5328
 
 
5329
 
  void (*text) (GMarkupParseContext *context,
5330
 
                          const gchar *text,
5331
 
                          gsize text_len,
5332
 
                          gpointer user_data,
5333
 
                          GError **error);
5334
 
 
5335
 
 
5336
 
 
5337
 
 
5338
 
 
5339
 
 
5340
 
  void (*passthrough) (GMarkupParseContext *context,
5341
 
                          const gchar *passthrough_text,
5342
 
                          gsize text_len,
5343
 
                          gpointer user_data,
5344
 
                          GError **error);
5345
 
 
5346
 
 
5347
 
 
5348
 
 
5349
 
  void (*error) (GMarkupParseContext *context,
5350
 
                          GError *error,
5351
 
                          gpointer user_data);
5352
 
};
5353
 
 
5354
 
GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser,
5355
 
                                                   GMarkupParseFlags flags,
5356
 
                                                   gpointer user_data,
5357
 
                                                   GDestroyNotify user_data_dnotify);
5358
 
void g_markup_parse_context_free (GMarkupParseContext *context);
5359
 
gboolean g_markup_parse_context_parse (GMarkupParseContext *context,
5360
 
                                                   const gchar *text,
5361
 
                                                   gssize text_len,
5362
 
                                                   GError **error);
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);
5367
 
 
5368
 
gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context,
5369
 
                                                       GError **error);
5370
 
const gchar *g_markup_parse_context_get_element (GMarkupParseContext *context);
5371
 
const GSList *g_markup_parse_context_get_element_stack (GMarkupParseContext *context);
5372
 
 
5373
 
 
5374
 
void g_markup_parse_context_get_position (GMarkupParseContext *context,
5375
 
                                                          gint *line_number,
5376
 
                                                          gint *char_number);
5377
 
gpointer g_markup_parse_context_get_user_data (GMarkupParseContext *context);
5378
 
 
5379
 
 
5380
 
gchar* g_markup_escape_text (const gchar *text,
5381
 
                             gssize length);
5382
 
 
5383
 
gchar *g_markup_printf_escaped (const char *format,
5384
 
    ...) __attribute__((__format__ (__printf__, 1, 2)));
5385
 
gchar *g_markup_vprintf_escaped (const char *format,
5386
 
     va_list args);
5387
 
 
5388
 
typedef enum
5389
 
{
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,
5395
 
 
5396
 
  G_MARKUP_COLLECT_OPTIONAL = (1 << 16)
5397
 
} GMarkupCollectType;
5398
 
 
5399
 
 
5400
 
 
5401
 
gboolean g_markup_collect_attributes (const gchar *element_name,
5402
 
                                        const gchar **attribute_names,
5403
 
                                        const gchar **attribute_values,
5404
 
                                        GError **error,
5405
 
                                        GMarkupCollectType first_type,
5406
 
                                        const gchar *first_attr,
5407
 
                                        ...);
5408
 
 
5409
 
 
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
5419
 
 
5420
 
 
5421
 
 
5422
 
 
5423
 
       
5424
 
# 42 "/usr/include/glib-2.0/glib/gmessages.h" 3
5425
 
 
5426
 
 
5427
 
 
5428
 
 
5429
 
 
5430
 
 
5431
 
gsize g_printf_string_upper_bound (const gchar* format,
5432
 
         va_list args);
5433
 
# 58 "/usr/include/glib-2.0/glib/gmessages.h" 3
5434
 
typedef enum
5435
 
{
5436
 
 
5437
 
  G_LOG_FLAG_RECURSION = 1 << 0,
5438
 
  G_LOG_FLAG_FATAL = 1 << 1,
5439
 
 
5440
 
 
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,
5447
 
 
5448
 
  G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL)
5449
 
} GLogLevelFlags;
5450
 
 
5451
 
 
5452
 
 
5453
 
 
5454
 
typedef void (*GLogFunc) (const gchar *log_domain,
5455
 
                                                 GLogLevelFlags log_level,
5456
 
                                                 const gchar *message,
5457
 
                                                 gpointer user_data);
5458
 
 
5459
 
 
5460
 
 
5461
 
guint g_log_set_handler (const gchar *log_domain,
5462
 
                                         GLogLevelFlags log_levels,
5463
 
                                         GLogFunc log_func,
5464
 
                                         gpointer user_data);
5465
 
void g_log_remove_handler (const gchar *log_domain,
5466
 
                                         guint handler_id);
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,
5480
 
                                         va_list args);
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);
5484
 
 
5485
 
 
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);
5490
 
 
5491
 
 
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,
5496
 
                               const char *file,
5497
 
                               int line,
5498
 
                               const char *func,
5499
 
                               const char *warnexpr);
5500
 
 
5501
 
void g_assert_warning (const char *log_domain,
5502
 
          const char *file,
5503
 
          const int line,
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
5515
 
 
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
5521
 
 
5522
 
 
5523
 
 
5524
 
typedef struct _GNode GNode;
5525
 
 
5526
 
 
5527
 
typedef enum
5528
 
{
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
5535
 
} GTraverseFlags;
5536
 
 
5537
 
 
5538
 
typedef enum
5539
 
{
5540
 
  G_IN_ORDER,
5541
 
  G_PRE_ORDER,
5542
 
  G_POST_ORDER,
5543
 
  G_LEVEL_ORDER
5544
 
} GTraverseType;
5545
 
 
5546
 
typedef gboolean (*GNodeTraverseFunc) (GNode *node,
5547
 
       gpointer data);
5548
 
typedef void (*GNodeForeachFunc) (GNode *node,
5549
 
       gpointer data);
5550
 
# 77 "/usr/include/glib-2.0/glib/gnode.h"
5551
 
typedef gpointer (*GCopyFunc) (gconstpointer src,
5552
 
                                                 gpointer data);
5553
 
 
5554
 
 
5555
 
 
5556
 
struct _GNode
5557
 
{
5558
 
  gpointer data;
5559
 
  GNode *next;
5560
 
  GNode *prev;
5561
 
  GNode *parent;
5562
 
  GNode *children;
5563
 
};
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,
5570
 
     gpointer data);
5571
 
GNode* g_node_copy (GNode *node);
5572
 
GNode* g_node_insert (GNode *parent,
5573
 
     gint position,
5574
 
     GNode *node);
5575
 
GNode* g_node_insert_before (GNode *parent,
5576
 
     GNode *sibling,
5577
 
     GNode *node);
5578
 
GNode* g_node_insert_after (GNode *parent,
5579
 
     GNode *sibling,
5580
 
     GNode *node);
5581
 
GNode* g_node_prepend (GNode *parent,
5582
 
     GNode *node);
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,
5587
 
     GNode *descendant);
5588
 
guint g_node_depth (GNode *node);
5589
 
GNode* g_node_find (GNode *root,
5590
 
     GTraverseType order,
5591
 
     GTraverseFlags flags,
5592
 
     gpointer data);
5593
 
# 213 "/usr/include/glib-2.0/glib/gnode.h"
5594
 
void g_node_traverse (GNode *root,
5595
 
     GTraverseType order,
5596
 
     GTraverseFlags flags,
5597
 
     gint max_depth,
5598
 
     GNodeTraverseFunc func,
5599
 
     gpointer data);
5600
 
 
5601
 
 
5602
 
 
5603
 
 
5604
 
 
5605
 
 
5606
 
guint g_node_max_height (GNode *root);
5607
 
 
5608
 
void g_node_children_foreach (GNode *node,
5609
 
      GTraverseFlags flags,
5610
 
      GNodeForeachFunc func,
5611
 
      gpointer data);
5612
 
void g_node_reverse_children (GNode *node);
5613
 
guint g_node_n_children (GNode *node);
5614
 
GNode* g_node_nth_child (GNode *node,
5615
 
      guint n);
5616
 
GNode* g_node_last_child (GNode *node);
5617
 
GNode* g_node_find_child (GNode *node,
5618
 
      GTraverseFlags flags,
5619
 
      gpointer data);
5620
 
gint g_node_child_position (GNode *node,
5621
 
      GNode *child);
5622
 
gint g_node_child_index (GNode *node,
5623
 
      gpointer data);
5624
 
 
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);
5630
 
 
5631
 
 
5632
 
 
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
5640
 
 
5641
 
 
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"
5648
 
typedef enum
5649
 
{
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
5657
 
} GOptionFlags;
5658
 
# 118 "/usr/include/glib-2.0/glib/goption.h"
5659
 
typedef enum
5660
 
{
5661
 
  G_OPTION_ARG_NONE,
5662
 
  G_OPTION_ARG_STRING,
5663
 
  G_OPTION_ARG_INT,
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,
5669
 
  G_OPTION_ARG_INT64
5670
 
} GOptionArg;
5671
 
# 148 "/usr/include/glib-2.0/glib/goption.h"
5672
 
typedef gboolean (*GOptionArgFunc) (const gchar *option_name,
5673
 
        const gchar *value,
5674
 
        gpointer data,
5675
 
        GError **error);
5676
 
# 166 "/usr/include/glib-2.0/glib/goption.h"
5677
 
typedef gboolean (*GOptionParseFunc) (GOptionContext *context,
5678
 
          GOptionGroup *group,
5679
 
          gpointer data,
5680
 
          GError **error);
5681
 
# 181 "/usr/include/glib-2.0/glib/goption.h"
5682
 
typedef void (*GOptionErrorFunc) (GOptionContext *context,
5683
 
      GOptionGroup *group,
5684
 
      gpointer data,
5685
 
      GError **error);
5686
 
# 205 "/usr/include/glib-2.0/glib/goption.h"
5687
 
typedef enum
5688
 
{
5689
 
  G_OPTION_ERROR_UNKNOWN_OPTION,
5690
 
  G_OPTION_ERROR_BAD_VALUE,
5691
 
  G_OPTION_ERROR_FAILED
5692
 
} GOptionError;
5693
 
 
5694
 
GQuark g_option_error_quark (void);
5695
 
# 279 "/usr/include/glib-2.0/glib/goption.h"
5696
 
struct _GOptionEntry
5697
 
{
5698
 
  const gchar *long_name;
5699
 
  gchar short_name;
5700
 
  gint flags;
5701
 
 
5702
 
  GOptionArg arg;
5703
 
  gpointer arg_data;
5704
 
 
5705
 
  const gchar *description;
5706
 
  const gchar *arg_description;
5707
 
};
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);
5723
 
 
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,
5728
 
         gint *argc,
5729
 
         gchar ***argv,
5730
 
         GError **error);
5731
 
void g_option_context_set_translate_func (GOptionContext *context,
5732
 
           GTranslateFunc func,
5733
 
           gpointer data,
5734
 
           GDestroyNotify destroy_notify);
5735
 
void g_option_context_set_translation_domain (GOptionContext *context,
5736
 
        const gchar *domain);
5737
 
 
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,
5744
 
                                               gboolean main_help,
5745
 
                                               GOptionGroup *group);
5746
 
 
5747
 
GOptionGroup *g_option_group_new (const gchar *name,
5748
 
           const gchar *description,
5749
 
           const gchar *help_description,
5750
 
           gpointer user_data,
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,
5762
 
           gpointer data,
5763
 
           GDestroyNotify destroy_notify);
5764
 
void g_option_group_set_translation_domain (GOptionGroup *group,
5765
 
           const gchar *domain);
5766
 
 
5767
 
 
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
5773
 
 
5774
 
 
5775
 
 
5776
 
 
5777
 
typedef struct _GPatternSpec GPatternSpec;
5778
 
 
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);
5791
 
 
5792
 
 
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
5800
 
 
5801
 
 
5802
 
# 47 "/usr/include/glib-2.0/glib/gprimes.h"
5803
 
guint g_spaced_primes_closest (guint num) __attribute__((__const__));
5804
 
 
5805
 
 
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
5811
 
 
5812
 
 
5813
 
 
5814
 
void g_qsort_with_data (gconstpointer pbase,
5815
 
   gint total_elems,
5816
 
   gsize size,
5817
 
   GCompareDataFunc compare_func,
5818
 
   gpointer user_data);
5819
 
 
5820
 
 
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
5828
 
 
5829
 
 
5830
 
 
5831
 
typedef struct _GQueue GQueue;
5832
 
 
5833
 
struct _GQueue
5834
 
{
5835
 
  GList *head;
5836
 
  GList *tail;
5837
 
  guint length;
5838
 
};
5839
 
 
5840
 
 
5841
 
 
5842
 
 
5843
 
 
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,
5853
 
     GFunc func,
5854
 
     gpointer user_data);
5855
 
GList * g_queue_find (GQueue *queue,
5856
 
     gconstpointer data);
5857
 
GList * g_queue_find_custom (GQueue *queue,
5858
 
     gconstpointer data,
5859
 
     GCompareFunc func);
5860
 
void g_queue_sort (GQueue *queue,
5861
 
     GCompareDataFunc compare_func,
5862
 
     gpointer user_data);
5863
 
 
5864
 
void g_queue_push_head (GQueue *queue,
5865
 
     gpointer data);
5866
 
void g_queue_push_tail (GQueue *queue,
5867
 
     gpointer data);
5868
 
void g_queue_push_nth (GQueue *queue,
5869
 
     gpointer data,
5870
 
     gint n);
5871
 
gpointer g_queue_pop_head (GQueue *queue);
5872
 
gpointer g_queue_pop_tail (GQueue *queue);
5873
 
gpointer g_queue_pop_nth (GQueue *queue,
5874
 
     guint n);
5875
 
gpointer g_queue_peek_head (GQueue *queue);
5876
 
gpointer g_queue_peek_tail (GQueue *queue);
5877
 
gpointer g_queue_peek_nth (GQueue *queue,
5878
 
     guint n);
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,
5886
 
     GList *sibling,
5887
 
     gpointer data);
5888
 
void g_queue_insert_after (GQueue *queue,
5889
 
     GList *sibling,
5890
 
     gpointer data);
5891
 
void g_queue_insert_sorted (GQueue *queue,
5892
 
     gpointer data,
5893
 
     GCompareDataFunc func,
5894
 
     gpointer user_data);
5895
 
 
5896
 
void g_queue_push_head_link (GQueue *queue,
5897
 
     GList *link_);
5898
 
void g_queue_push_tail_link (GQueue *queue,
5899
 
     GList *link_);
5900
 
void g_queue_push_nth_link (GQueue *queue,
5901
 
     gint n,
5902
 
     GList *link_);
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,
5906
 
     guint n);
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,
5910
 
     guint n);
5911
 
gint g_queue_link_index (GQueue *queue,
5912
 
     GList *link_);
5913
 
void g_queue_unlink (GQueue *queue,
5914
 
     GList *link_);
5915
 
void g_queue_delete_link (GQueue *queue,
5916
 
     GList *link_);
5917
 
 
5918
 
 
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
5924
 
 
5925
 
 
5926
 
 
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,
5931
 
        guint seed_length);
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_,
5936
 
          guint32 seed);
5937
 
void g_rand_set_seed_array (GRand *rand_,
5938
 
          const guint32 *seed,
5939
 
          guint seed_length);
5940
 
 
5941
 
 
5942
 
 
5943
 
guint32 g_rand_int (GRand *rand_);
5944
 
gint32 g_rand_int_range (GRand *rand_,
5945
 
          gint32 begin,
5946
 
          gint32 end);
5947
 
gdouble g_rand_double (GRand *rand_);
5948
 
gdouble g_rand_double_range (GRand *rand_,
5949
 
          gdouble begin,
5950
 
          gdouble end);
5951
 
void g_random_set_seed (guint32 seed);
5952
 
 
5953
 
 
5954
 
 
5955
 
guint32 g_random_int (void);
5956
 
gint32 g_random_int_range (gint32 begin,
5957
 
          gint32 end);
5958
 
gdouble g_random_double (void);
5959
 
gdouble g_random_double_range (gdouble begin,
5960
 
          gdouble end);
5961
 
 
5962
 
 
5963
 
 
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
5969
 
 
5970
 
 
5971
 
 
5972
 
typedef struct _GRelation GRelation;
5973
 
typedef struct _GTuples GTuples;
5974
 
 
5975
 
struct _GTuples
5976
 
{
5977
 
  guint len;
5978
 
};
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,
5983
 
                               gint field,
5984
 
                               GHashFunc hash_func,
5985
 
                               GEqualFunc key_equal_func);
5986
 
void g_relation_insert (GRelation *relation,
5987
 
                               ...);
5988
 
gint g_relation_delete (GRelation *relation,
5989
 
                               gconstpointer key,
5990
 
                               gint field);
5991
 
GTuples* g_relation_select (GRelation *relation,
5992
 
                               gconstpointer key,
5993
 
                               gint field);
5994
 
gint g_relation_count (GRelation *relation,
5995
 
                               gconstpointer key,
5996
 
                               gint field);
5997
 
gboolean g_relation_exists (GRelation *relation,
5998
 
                               ...);
5999
 
void g_relation_print (GRelation *relation);
6000
 
 
6001
 
void g_tuples_destroy (GTuples *tuples);
6002
 
gpointer g_tuples_index (GTuples *tuples,
6003
 
                               gint index_,
6004
 
                               gint field);
6005
 
 
6006
 
 
6007
 
 
6008
 
 
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
6016
 
 
6017
 
 
6018
 
# 117 "/usr/include/glib-2.0/glib/gregex.h"
6019
 
typedef enum
6020
 
{
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,
6026
 
 
6027
 
 
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
6065
 
} GRegexError;
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"
6069
 
typedef enum
6070
 
{
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"
6087
 
typedef enum
6088
 
{
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
6098
 
} GRegexMatchFlags;
6099
 
# 327 "/usr/include/glib-2.0/glib/gregex.h"
6100
 
typedef struct _GRegex GRegex;
6101
 
 
6102
 
 
6103
 
typedef struct _GMatchInfo GMatchInfo;
6104
 
# 349 "/usr/include/glib-2.0/glib/gregex.h"
6105
 
typedef gboolean (*GRegexEvalCallback) (const GMatchInfo *match_info,
6106
 
       GString *result,
6107
 
       gpointer user_data);
6108
 
 
6109
 
 
6110
 
GRegex *g_regex_new (const gchar *pattern,
6111
 
       GRegexCompileFlags compile_options,
6112
 
       GRegexMatchFlags match_options,
6113
 
       GError **error);
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,
6120
 
       const gchar *name);
6121
 
gchar *g_regex_escape_string (const gchar *string,
6122
 
       gint length);
6123
 
 
6124
 
GRegexCompileFlags g_regex_get_compile_flags (const GRegex *regex);
6125
 
GRegexMatchFlags g_regex_get_match_flags (const GRegex *regex);
6126
 
 
6127
 
 
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,
6138
 
       gssize string_len,
6139
 
       gint start_position,
6140
 
       GRegexMatchFlags match_options,
6141
 
       GMatchInfo **match_info,
6142
 
       GError **error);
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,
6149
 
       gssize string_len,
6150
 
       gint start_position,
6151
 
       GRegexMatchFlags match_options,
6152
 
       GMatchInfo **match_info,
6153
 
       GError **error);
6154
 
 
6155
 
 
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,
6165
 
       gssize string_len,
6166
 
       gint start_position,
6167
 
       GRegexMatchFlags match_options,
6168
 
       gint max_tokens,
6169
 
       GError **error);
6170
 
 
6171
 
 
6172
 
gchar *g_regex_replace (const GRegex *regex,
6173
 
       const gchar *string,
6174
 
       gssize string_len,
6175
 
       gint start_position,
6176
 
       const gchar *replacement,
6177
 
       GRegexMatchFlags match_options,
6178
 
       GError **error);
6179
 
gchar *g_regex_replace_literal (const GRegex *regex,
6180
 
       const gchar *string,
6181
 
       gssize string_len,
6182
 
       gint start_position,
6183
 
       const gchar *replacement,
6184
 
       GRegexMatchFlags match_options,
6185
 
       GError **error);
6186
 
gchar *g_regex_replace_eval (const GRegex *regex,
6187
 
       const gchar *string,
6188
 
       gssize string_len,
6189
 
       gint start_position,
6190
 
       GRegexMatchFlags match_options,
6191
 
       GRegexEvalCallback eval,
6192
 
       gpointer user_data,
6193
 
       GError **error);
6194
 
gboolean g_regex_check_replacement (const gchar *replacement,
6195
 
       gboolean *has_references,
6196
 
       GError **error);
6197
 
 
6198
 
 
6199
 
GRegex *g_match_info_get_regex (const GMatchInfo *match_info);
6200
 
const gchar *g_match_info_get_string (const GMatchInfo *match_info);
6201
 
 
6202
 
void g_match_info_free (GMatchInfo *match_info);
6203
 
gboolean g_match_info_next (GMatchInfo *match_info,
6204
 
       GError **error);
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,
6210
 
       GError **error);
6211
 
gchar *g_match_info_fetch (const GMatchInfo *match_info,
6212
 
       gint match_num);
6213
 
gboolean g_match_info_fetch_pos (const GMatchInfo *match_info,
6214
 
       gint match_num,
6215
 
       gint *start_pos,
6216
 
       gint *end_pos);
6217
 
gchar *g_match_info_fetch_named (const GMatchInfo *match_info,
6218
 
       const gchar *name);
6219
 
gboolean g_match_info_fetch_named_pos (const GMatchInfo *match_info,
6220
 
       const gchar *name,
6221
 
       gint *start_pos,
6222
 
       gint *end_pos);
6223
 
gchar **g_match_info_fetch_all (const GMatchInfo *match_info);
6224
 
 
6225
 
 
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
6233
 
 
6234
 
 
6235
 
 
6236
 
typedef struct _GScanner GScanner;
6237
 
typedef struct _GScannerConfig GScannerConfig;
6238
 
typedef union _GTokenValue GTokenValue;
6239
 
 
6240
 
typedef void (*GScannerMsgFunc) (GScanner *scanner,
6241
 
       gchar *message,
6242
 
       gboolean error);
6243
 
# 64 "/usr/include/glib-2.0/glib/gscanner.h"
6244
 
typedef enum
6245
 
{
6246
 
  G_ERR_UNKNOWN,
6247
 
  G_ERR_UNEXP_EOF,
6248
 
  G_ERR_UNEXP_EOF_IN_STRING,
6249
 
  G_ERR_UNEXP_EOF_IN_COMMENT,
6250
 
  G_ERR_NON_DIGIT_IN_CONST,
6251
 
  G_ERR_DIGIT_RADIX,
6252
 
  G_ERR_FLOAT_RADIX,
6253
 
  G_ERR_FLOAT_MALFORMED
6254
 
} GErrorType;
6255
 
 
6256
 
 
6257
 
typedef enum
6258
 
{
6259
 
  G_TOKEN_EOF = 0,
6260
 
 
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 = ',',
6269
 
 
6270
 
  G_TOKEN_NONE = 256,
6271
 
 
6272
 
  G_TOKEN_ERROR,
6273
 
 
6274
 
  G_TOKEN_CHAR,
6275
 
  G_TOKEN_BINARY,
6276
 
  G_TOKEN_OCTAL,
6277
 
  G_TOKEN_INT,
6278
 
  G_TOKEN_HEX,
6279
 
  G_TOKEN_FLOAT,
6280
 
  G_TOKEN_STRING,
6281
 
 
6282
 
  G_TOKEN_SYMBOL,
6283
 
  G_TOKEN_IDENTIFIER,
6284
 
  G_TOKEN_IDENTIFIER_NULL,
6285
 
 
6286
 
  G_TOKEN_COMMENT_SINGLE,
6287
 
  G_TOKEN_COMMENT_MULTI,
6288
 
  G_TOKEN_LAST
6289
 
} GTokenType;
6290
 
 
6291
 
union _GTokenValue
6292
 
{
6293
 
  gpointer v_symbol;
6294
 
  gchar *v_identifier;
6295
 
  gulong v_binary;
6296
 
  gulong v_octal;
6297
 
  gulong v_int;
6298
 
  guint64 v_int64;
6299
 
  gdouble v_float;
6300
 
  gulong v_hex;
6301
 
  gchar *v_string;
6302
 
  gchar *v_comment;
6303
 
  guchar v_char;
6304
 
  guint v_error;
6305
 
};
6306
 
 
6307
 
struct _GScannerConfig
6308
 
{
6309
 
 
6310
 
 
6311
 
  gchar *cset_skip_characters;
6312
 
  gchar *cset_identifier_first;
6313
 
  gchar *cset_identifier_nth;
6314
 
  gchar *cpair_comment_single;
6315
 
 
6316
 
 
6317
 
 
6318
 
  guint case_sensitive : 1;
6319
 
 
6320
 
 
6321
 
 
6322
 
 
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;
6333
 
  guint scan_hex : 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;
6345
 
};
6346
 
 
6347
 
struct _GScanner
6348
 
{
6349
 
 
6350
 
  gpointer user_data;
6351
 
  guint max_parse_errors;
6352
 
 
6353
 
 
6354
 
  guint parse_errors;
6355
 
 
6356
 
 
6357
 
  const gchar *input_name;
6358
 
 
6359
 
 
6360
 
  GData *qdata;
6361
 
 
6362
 
 
6363
 
  GScannerConfig *config;
6364
 
 
6365
 
 
6366
 
  GTokenType token;
6367
 
  GTokenValue value;
6368
 
  guint line;
6369
 
  guint position;
6370
 
 
6371
 
 
6372
 
  GTokenType next_token;
6373
 
  GTokenValue next_value;
6374
 
  guint next_line;
6375
 
  guint next_position;
6376
 
 
6377
 
 
6378
 
  GHashTable *symbol_table;
6379
 
  gint input_fd;
6380
 
  const gchar *text;
6381
 
  const gchar *text_end;
6382
 
  gchar *buffer;
6383
 
  guint scope_id;
6384
 
 
6385
 
 
6386
 
  GScannerMsgFunc msg_handler;
6387
 
};
6388
 
 
6389
 
GScanner* g_scanner_new (const GScannerConfig *config_templ);
6390
 
void g_scanner_destroy (GScanner *scanner);
6391
 
void g_scanner_input_file (GScanner *scanner,
6392
 
       gint input_fd);
6393
 
void g_scanner_sync_file_offset (GScanner *scanner);
6394
 
void g_scanner_input_text (GScanner *scanner,
6395
 
       const gchar *text,
6396
 
       guint text_len);
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,
6405
 
       guint scope_id);
6406
 
void g_scanner_scope_add_symbol (GScanner *scanner,
6407
 
       guint scope_id,
6408
 
       const gchar *symbol,
6409
 
       gpointer value);
6410
 
void g_scanner_scope_remove_symbol (GScanner *scanner,
6411
 
       guint scope_id,
6412
 
       const gchar *symbol);
6413
 
gpointer g_scanner_scope_lookup_symbol (GScanner *scanner,
6414
 
       guint scope_id,
6415
 
       const gchar *symbol);
6416
 
void g_scanner_scope_foreach_symbol (GScanner *scanner,
6417
 
       guint scope_id,
6418
 
       GHFunc func,
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,
6428
 
       gint is_error);
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"
6436
 
 
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
6442
 
 
6443
 
 
6444
 
 
6445
 
typedef struct _GSequence GSequence;
6446
 
typedef struct _GSequenceNode GSequenceIter;
6447
 
 
6448
 
typedef gint (* GSequenceIterCompareFunc) (GSequenceIter *a,
6449
 
                                           GSequenceIter *b,
6450
 
                                           gpointer data);
6451
 
 
6452
 
 
6453
 
 
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,
6458
 
                                              GFunc func,
6459
 
                                              gpointer user_data);
6460
 
void g_sequence_foreach_range (GSequenceIter *begin,
6461
 
                                              GSequenceIter *end,
6462
 
                                              GFunc func,
6463
 
                                              gpointer user_data);
6464
 
void g_sequence_sort (GSequence *seq,
6465
 
                                              GCompareDataFunc cmp_func,
6466
 
                                              gpointer cmp_data);
6467
 
void g_sequence_sort_iter (GSequence *seq,
6468
 
                                              GSequenceIterCompareFunc cmp_func,
6469
 
                                              gpointer cmp_data);
6470
 
 
6471
 
 
6472
 
 
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,
6476
 
                                              gint pos);
6477
 
GSequenceIter *g_sequence_append (GSequence *seq,
6478
 
                                              gpointer data);
6479
 
GSequenceIter *g_sequence_prepend (GSequence *seq,
6480
 
                                              gpointer data);
6481
 
GSequenceIter *g_sequence_insert_before (GSequenceIter *iter,
6482
 
                                              gpointer data);
6483
 
void g_sequence_move (GSequenceIter *src,
6484
 
                                              GSequenceIter *dest);
6485
 
void g_sequence_swap (GSequenceIter *a,
6486
 
                                              GSequenceIter *b);
6487
 
GSequenceIter *g_sequence_insert_sorted (GSequence *seq,
6488
 
                                              gpointer data,
6489
 
                                              GCompareDataFunc cmp_func,
6490
 
                                              gpointer cmp_data);
6491
 
GSequenceIter *g_sequence_insert_sorted_iter (GSequence *seq,
6492
 
                                              gpointer data,
6493
 
                                              GSequenceIterCompareFunc iter_cmp,
6494
 
                                              gpointer cmp_data);
6495
 
void g_sequence_sort_changed (GSequenceIter *iter,
6496
 
                                              GCompareDataFunc cmp_func,
6497
 
                                              gpointer cmp_data);
6498
 
void g_sequence_sort_changed_iter (GSequenceIter *iter,
6499
 
                                              GSequenceIterCompareFunc iter_cmp,
6500
 
                                              gpointer cmp_data);
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,
6508
 
                                              gpointer data,
6509
 
                                              GCompareDataFunc cmp_func,
6510
 
                                              gpointer cmp_data);
6511
 
GSequenceIter *g_sequence_search_iter (GSequence *seq,
6512
 
                                              gpointer data,
6513
 
                                              GSequenceIterCompareFunc iter_cmp,
6514
 
                                              gpointer cmp_data);
6515
 
GSequenceIter *g_sequence_lookup (GSequence *seq,
6516
 
                                              gpointer data,
6517
 
                                              GCompareDataFunc cmp_func,
6518
 
                                              gpointer cmp_data);
6519
 
GSequenceIter *g_sequence_lookup_iter (GSequence *seq,
6520
 
                                              gpointer data,
6521
 
                                              GSequenceIterCompareFunc iter_cmp,
6522
 
                                              gpointer cmp_data);
6523
 
 
6524
 
 
6525
 
 
6526
 
gpointer g_sequence_get (GSequenceIter *iter);
6527
 
void g_sequence_set (GSequenceIter *iter,
6528
 
                                              gpointer data);
6529
 
 
6530
 
 
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,
6537
 
                                              gint delta);
6538
 
GSequence * g_sequence_iter_get_sequence (GSequenceIter *iter);
6539
 
 
6540
 
 
6541
 
 
6542
 
gint g_sequence_iter_compare (GSequenceIter *a,
6543
 
                                              GSequenceIter *b);
6544
 
GSequenceIter *g_sequence_range_get_midpoint (GSequenceIter *begin,
6545
 
                                              GSequenceIter *end);
6546
 
 
6547
 
 
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
6553
 
 
6554
 
 
6555
 
 
6556
 
 
6557
 
 
6558
 
typedef enum
6559
 
{
6560
 
 
6561
 
  G_SHELL_ERROR_BAD_QUOTING,
6562
 
 
6563
 
  G_SHELL_ERROR_EMPTY_STRING,
6564
 
  G_SHELL_ERROR_FAILED
6565
 
} GShellError;
6566
 
 
6567
 
GQuark g_shell_error_quark (void);
6568
 
 
6569
 
gchar* g_shell_quote (const gchar *unquoted_string);
6570
 
gchar* g_shell_unquote (const gchar *quoted_string,
6571
 
                             GError **error);
6572
 
gboolean g_shell_parse_argv (const gchar *command_line,
6573
 
                             gint *argcp,
6574
 
                             gchar ***argvp,
6575
 
                             GError **error);
6576
 
 
6577
 
 
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
6587
 
 
6588
 
 
6589
 
 
6590
 
 
6591
 
 
6592
 
 
6593
 
typedef enum
6594
 
{
6595
 
  G_SPAWN_ERROR_FORK,
6596
 
  G_SPAWN_ERROR_READ,
6597
 
  G_SPAWN_ERROR_CHDIR,
6598
 
  G_SPAWN_ERROR_ACCES,
6599
 
  G_SPAWN_ERROR_PERM,
6600
 
  G_SPAWN_ERROR_2BIG,
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,
6606
 
  G_SPAWN_ERROR_LOOP,
6607
 
  G_SPAWN_ERROR_TXTBUSY,
6608
 
  G_SPAWN_ERROR_IO,
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
6615
 
 
6616
 
 
6617
 
} GSpawnError;
6618
 
 
6619
 
typedef void (* GSpawnChildSetupFunc) (gpointer user_data);
6620
 
 
6621
 
typedef enum
6622
 
{
6623
 
  G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0,
6624
 
  G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1,
6625
 
 
6626
 
  G_SPAWN_SEARCH_PATH = 1 << 2,
6627
 
 
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
6632
 
} GSpawnFlags;
6633
 
 
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,
6637
 
                        gchar **argv,
6638
 
                        gchar **envp,
6639
 
                        GSpawnFlags flags,
6640
 
                        GSpawnChildSetupFunc child_setup,
6641
 
                        gpointer user_data,
6642
 
                        GPid *child_pid,
6643
 
                        GError **error);
6644
 
 
6645
 
 
6646
 
 
6647
 
 
6648
 
 
6649
 
gboolean g_spawn_async_with_pipes (const gchar *working_directory,
6650
 
                                   gchar **argv,
6651
 
                                   gchar **envp,
6652
 
                                   GSpawnFlags flags,
6653
 
                                   GSpawnChildSetupFunc child_setup,
6654
 
                                   gpointer user_data,
6655
 
                                   GPid *child_pid,
6656
 
                                   gint *standard_input,
6657
 
                                   gint *standard_output,
6658
 
                                   gint *standard_error,
6659
 
                                   GError **error);
6660
 
 
6661
 
 
6662
 
 
6663
 
 
6664
 
 
6665
 
 
6666
 
gboolean g_spawn_sync (const gchar *working_directory,
6667
 
                               gchar **argv,
6668
 
                               gchar **envp,
6669
 
                               GSpawnFlags flags,
6670
 
                               GSpawnChildSetupFunc child_setup,
6671
 
                               gpointer user_data,
6672
 
                               gchar **standard_output,
6673
 
                               gchar **standard_error,
6674
 
                               gint *exit_status,
6675
 
                               GError **error);
6676
 
 
6677
 
gboolean g_spawn_command_line_sync (const gchar *command_line,
6678
 
                                     gchar **standard_output,
6679
 
                                     gchar **standard_error,
6680
 
                                     gint *exit_status,
6681
 
                                     GError **error);
6682
 
gboolean g_spawn_command_line_async (const gchar *command_line,
6683
 
                                     GError **error);
6684
 
 
6685
 
void g_spawn_close_pid (GPid pid);
6686
 
 
6687
 
 
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
6695
 
 
6696
 
 
6697
 
 
6698
 
 
6699
 
typedef enum {
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
6711
 
} GAsciiType;
6712
 
 
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__));
6717
 
 
6718
 
gint g_ascii_digit_value (gchar c) __attribute__((__const__));
6719
 
gint g_ascii_xdigit_value (gchar c) __attribute__((__const__));
6720
 
 
6721
 
 
6722
 
 
6723
 
 
6724
 
 
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,
6730
 
     gchar substitutor);
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,
6735
 
     const gchar *src,
6736
 
     gsize dest_size);
6737
 
gsize g_strlcat (gchar *dest,
6738
 
     const gchar *src,
6739
 
     gsize dest_size);
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);
6748
 
 
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);
6753
 
 
6754
 
 
6755
 
 
6756
 
gdouble g_strtod (const gchar *nptr,
6757
 
     gchar **endptr);
6758
 
gdouble g_ascii_strtod (const gchar *nptr,
6759
 
     gchar **endptr);
6760
 
guint64 g_ascii_strtoull (const gchar *nptr,
6761
 
     gchar **endptr,
6762
 
     guint base);
6763
 
gint64 g_ascii_strtoll (const gchar *nptr,
6764
 
     gchar **endptr,
6765
 
     guint base);
6766
 
 
6767
 
 
6768
 
 
6769
 
 
6770
 
gchar * g_ascii_dtostr (gchar *buffer,
6771
 
     gint buf_len,
6772
 
     gdouble d);
6773
 
gchar * g_ascii_formatd (gchar *buffer,
6774
 
     gint buf_len,
6775
 
     const gchar *format,
6776
 
     gdouble d);
6777
 
 
6778
 
 
6779
 
gchar* g_strchug (gchar *string);
6780
 
 
6781
 
gchar* g_strchomp (gchar *string);
6782
 
 
6783
 
 
6784
 
 
6785
 
gint g_ascii_strcasecmp (const gchar *s1,
6786
 
        const gchar *s2);
6787
 
gint g_ascii_strncasecmp (const gchar *s1,
6788
 
        const gchar *s2,
6789
 
        gsize n);
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,
6796
 
     const gchar *s2);
6797
 
gint g_strncasecmp (const gchar *s1,
6798
 
     const gchar *s2,
6799
 
     guint n);
6800
 
gchar* g_strdown (gchar *string);
6801
 
gchar* g_strup (gchar *string);
6802
 
 
6803
 
 
6804
 
 
6805
 
 
6806
 
 
6807
 
 
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__));
6821
 
 
6822
 
 
6823
 
 
6824
 
 
6825
 
 
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__));
6830
 
 
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);
6845
 
 
6846
 
gchar* g_stpcpy (gchar *dest,
6847
 
                                        const char *src);
6848
 
 
6849
 
const gchar *g_strip_context (const gchar *msgid,
6850
 
     const gchar *msgval) __attribute__((__format_arg__ (1)));
6851
 
 
6852
 
const gchar *g_dgettext (const gchar *domain,
6853
 
     const gchar *msgid) __attribute__((__format_arg__ (2)));
6854
 
const gchar *g_dcgettext (const gchar *domain,
6855
 
     const gchar *msgid,
6856
 
                                        int category) __attribute__((__format_arg__ (2)));
6857
 
const gchar *g_dngettext (const gchar *domain,
6858
 
     const gchar *msgid,
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)));
6867
 
 
6868
 
 
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
6882
 
 
6883
 
 
6884
 
 
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,
6893
 
                                         const char *str2);
6894
 
 
6895
 
 
6896
 
void g_test_minimized_result (double minimized_quantity,
6897
 
                                         const char *format,
6898
 
                                         ...) __attribute__((__format__ (__printf__, 2, 3)));
6899
 
void g_test_maximized_result (double maximized_quantity,
6900
 
                                         const char *format,
6901
 
                                         ...) __attribute__((__format__ (__printf__, 2, 3)));
6902
 
 
6903
 
 
6904
 
void g_test_init (int *argc,
6905
 
                                         char ***argv,
6906
 
                                         ...);
6907
 
# 102 "/usr/include/glib-2.0/glib/gtestutils.h"
6908
 
int g_test_run (void);
6909
 
 
6910
 
void g_test_add_func (const char *testpath,
6911
 
                                         GTestFunc test_func);
6912
 
 
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);
6921
 
 
6922
 
void g_test_timer_start (void);
6923
 
double g_test_timer_elapsed (void);
6924
 
double g_test_timer_last (void);
6925
 
 
6926
 
 
6927
 
void g_test_queue_free (gpointer gfree_pointer);
6928
 
void g_test_queue_destroy (GDestroyNotify destroy_func,
6929
 
                                         gpointer destroy_data);
6930
 
 
6931
 
 
6932
 
 
6933
 
typedef enum {
6934
 
  G_TEST_TRAP_SILENCE_STDOUT = 1 << 7,
6935
 
  G_TEST_TRAP_SILENCE_STDERR = 1 << 8,
6936
 
  G_TEST_TRAP_INHERIT_STDIN = 1 << 9
6937
 
} GTestTrapFlags;
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,
6945
 
                                         gint32 end);
6946
 
double g_test_rand_double (void);
6947
 
double g_test_rand_double_range (double range_start,
6948
 
                                         double range_end);
6949
 
 
6950
 
 
6951
 
GTestCase* g_test_create_case (const char *test_name,
6952
 
                                         gsize data_size,
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);
6964
 
 
6965
 
 
6966
 
void g_test_trap_assertions (const char *domain,
6967
 
                                         const char *file,
6968
 
                                         int line,
6969
 
                                         const char *func,
6970
 
                                         guint64 assertion_flags,
6971
 
                                         const char *pattern);
6972
 
void g_assertion_message (const char *domain,
6973
 
                                         const char *file,
6974
 
                                         int line,
6975
 
                                         const char *func,
6976
 
                                         const char *message) __attribute__((__noreturn__));
6977
 
void g_assertion_message_expr (const char *domain,
6978
 
                                         const char *file,
6979
 
                                         int line,
6980
 
                                         const char *func,
6981
 
                                         const char *expr) __attribute__((__noreturn__));
6982
 
void g_assertion_message_cmpstr (const char *domain,
6983
 
                                         const char *file,
6984
 
                                         int line,
6985
 
                                         const char *func,
6986
 
                                         const char *expr,
6987
 
                                         const char *arg1,
6988
 
                                         const char *cmp,
6989
 
                                         const char *arg2) __attribute__((__noreturn__));
6990
 
void g_assertion_message_cmpnum (const char *domain,
6991
 
                                         const char *file,
6992
 
                                         int line,
6993
 
                                         const char *func,
6994
 
                                         const char *expr,
6995
 
                                         long double arg1,
6996
 
                                         const char *cmp,
6997
 
                                         long double arg2,
6998
 
                                         char numtype) __attribute__((__noreturn__));
6999
 
void g_assertion_message_error (const char *domain,
7000
 
                                         const char *file,
7001
 
                                         int line,
7002
 
                                         const char *func,
7003
 
                                         const char *expr,
7004
 
                                         const GError *error,
7005
 
                                         GQuark error_domain,
7006
 
                                         int error_code) __attribute__((__noreturn__));
7007
 
void g_test_add_vtable (const char *testpath,
7008
 
                                         gsize data_size,
7009
 
                                         gconstpointer test_data,
7010
 
                                         GTestFixtureFunc data_setup,
7011
 
                                         GTestFixtureFunc data_test,
7012
 
                                         GTestFixtureFunc data_teardown);
7013
 
typedef struct {
7014
 
  gboolean test_initialized;
7015
 
  gboolean test_quick;
7016
 
  gboolean test_perf;
7017
 
  gboolean test_verbose;
7018
 
  gboolean test_quiet;
7019
 
} GTestConfig;
7020
 
extern const GTestConfig * const g_test_config_vars;
7021
 
 
7022
 
 
7023
 
typedef enum {
7024
 
  G_TEST_LOG_NONE,
7025
 
  G_TEST_LOG_ERROR,
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,
7033
 
  G_TEST_LOG_MESSAGE
7034
 
} GTestLogType;
7035
 
 
7036
 
typedef struct {
7037
 
  GTestLogType log_type;
7038
 
  guint n_strings;
7039
 
  gchar **strings;
7040
 
  guint n_nums;
7041
 
  long double *nums;
7042
 
} GTestLogMsg;
7043
 
typedef struct {
7044
 
 
7045
 
  GString *data;
7046
 
  GSList *msgs;
7047
 
} GTestLogBuffer;
7048
 
 
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,
7053
 
                                         guint n_bytes,
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);
7062
 
void
7063
 
g_test_log_set_fatal_handler (GTestLogFatalFunc log_func,
7064
 
                                         gpointer user_data);
7065
 
 
7066
 
 
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
7074
 
 
7075
 
 
7076
 
 
7077
 
typedef struct _GThreadPool GThreadPool;
7078
 
 
7079
 
 
7080
 
 
7081
 
 
7082
 
 
7083
 
 
7084
 
struct _GThreadPool
7085
 
{
7086
 
  GFunc func;
7087
 
  gpointer user_data;
7088
 
  gboolean exclusive;
7089
 
};
7090
 
 
7091
 
 
7092
 
 
7093
 
 
7094
 
 
7095
 
 
7096
 
GThreadPool* g_thread_pool_new (GFunc func,
7097
 
                                               gpointer user_data,
7098
 
                                               gint max_threads,
7099
 
                                               gboolean exclusive,
7100
 
                                               GError **error);
7101
 
 
7102
 
 
7103
 
 
7104
 
 
7105
 
 
7106
 
void g_thread_pool_push (GThreadPool *pool,
7107
 
                                               gpointer data,
7108
 
                                               GError **error);
7109
 
 
7110
 
 
7111
 
 
7112
 
 
7113
 
void g_thread_pool_set_max_threads (GThreadPool *pool,
7114
 
                                               gint max_threads,
7115
 
                                               GError **error);
7116
 
gint g_thread_pool_get_max_threads (GThreadPool *pool);
7117
 
 
7118
 
 
7119
 
 
7120
 
guint g_thread_pool_get_num_threads (GThreadPool *pool);
7121
 
 
7122
 
 
7123
 
guint g_thread_pool_unprocessed (GThreadPool *pool);
7124
 
 
7125
 
 
7126
 
 
7127
 
 
7128
 
 
7129
 
void g_thread_pool_free (GThreadPool *pool,
7130
 
                                               gboolean immediate,
7131
 
                                               gboolean wait_);
7132
 
 
7133
 
 
7134
 
 
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);
7138
 
 
7139
 
 
7140
 
void g_thread_pool_stop_unused_threads (void);
7141
 
 
7142
 
 
7143
 
void g_thread_pool_set_sort_function (GThreadPool *pool,
7144
 
                                        GCompareDataFunc func,
7145
 
            gpointer user_data);
7146
 
 
7147
 
 
7148
 
void g_thread_pool_set_max_idle_time (guint interval);
7149
 
guint g_thread_pool_get_max_idle_time (void);
7150
 
 
7151
 
 
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
7157
 
 
7158
 
 
7159
 
 
7160
 
 
7161
 
 
7162
 
 
7163
 
 
7164
 
typedef struct _GTimer GTimer;
7165
 
 
7166
 
 
7167
 
 
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);
7176
 
 
7177
 
void g_usleep (gulong microseconds);
7178
 
 
7179
 
void g_time_val_add (GTimeVal *time_,
7180
 
                                  glong microseconds);
7181
 
gboolean g_time_val_from_iso8601 (const gchar *iso_date,
7182
 
      GTimeVal *time_);
7183
 
gchar* g_time_val_to_iso8601 (GTimeVal *time_) __attribute__((__malloc__));
7184
 
 
7185
 
 
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
7193
 
 
7194
 
 
7195
 
 
7196
 
typedef struct _GTree GTree;
7197
 
 
7198
 
typedef gboolean (*GTraverseFunc) (gpointer key,
7199
 
                                   gpointer value,
7200
 
                                   gpointer data);
7201
 
 
7202
 
 
7203
 
 
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,
7215
 
                                 gpointer key,
7216
 
                                 gpointer value);
7217
 
void g_tree_replace (GTree *tree,
7218
 
                                 gpointer key,
7219
 
                                 gpointer value);
7220
 
gboolean g_tree_remove (GTree *tree,
7221
 
                                 gconstpointer key);
7222
 
gboolean g_tree_steal (GTree *tree,
7223
 
                                 gconstpointer key);
7224
 
gpointer g_tree_lookup (GTree *tree,
7225
 
                                 gconstpointer key);
7226
 
gboolean g_tree_lookup_extended (GTree *tree,
7227
 
                                 gconstpointer lookup_key,
7228
 
                                 gpointer *orig_key,
7229
 
                                 gpointer *value);
7230
 
void g_tree_foreach (GTree *tree,
7231
 
                                 GTraverseFunc func,
7232
 
                                 gpointer user_data);
7233
 
 
7234
 
 
7235
 
void g_tree_traverse (GTree *tree,
7236
 
                                 GTraverseFunc traverse_func,
7237
 
                                 GTraverseType traverse_type,
7238
 
                                 gpointer user_data);
7239
 
 
7240
 
 
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);
7246
 
 
7247
 
 
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
7257
 
 
7258
 
 
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);
7269
 
 
7270
 
 
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
7280
 
 
7281
 
 
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,
7287
 
                                                                         const gchar *limit,
7288
 
                                                                         const gchar **endptr);
7289
 
 
7290
 
 
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);
7294
 
 
7295
 
 
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);
7299
 
 
7300
 
 
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);
7309
 
 
7310
 
 
7311
 
guint g_variant_type_hash (gconstpointer type);
7312
 
gboolean g_variant_type_equal (gconstpointer type1,
7313
 
                                                                         gconstpointer type2);
7314
 
 
7315
 
 
7316
 
gboolean g_variant_type_is_subtype_of (const GVariantType *type,
7317
 
                                                                         const GVariantType *supertype);
7318
 
 
7319
 
 
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);
7326
 
 
7327
 
 
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,
7331
 
                                                                         gint length);
7332
 
GVariantType * g_variant_type_new_dict_entry (const GVariantType *key,
7333
 
                                                                         const GVariantType *value);
7334
 
 
7335
 
 
7336
 
const GVariantType * g_variant_type_checked_ (const gchar *);
7337
 
 
7338
 
 
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
7346
 
 
7347
 
 
7348
 
 
7349
 
typedef struct _GVariant GVariant;
7350
 
 
7351
 
typedef enum
7352
 
{
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 = '{'
7371
 
} GVariantClass;
7372
 
 
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);
7377
 
 
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,
7401
 
                                                                         gssize length);
7402
 
GVariant * g_variant_new_bytestring (const gchar *string);
7403
 
GVariant * g_variant_new_bytestring_array (const gchar * const *strv,
7404
 
                                                                         gssize length);
7405
 
 
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,
7418
 
                                                                         gsize *length);
7419
 
gchar * g_variant_dup_string (GVariant *value,
7420
 
                                                                         gsize *length);
7421
 
const gchar ** g_variant_get_strv (GVariant *value,
7422
 
                                                                         gsize *length);
7423
 
gchar ** g_variant_dup_strv (GVariant *value,
7424
 
                                                                         gsize *length);
7425
 
const gchar * g_variant_get_bytestring (GVariant *value);
7426
 
gchar * g_variant_dup_bytestring (GVariant *value,
7427
 
                                                                         gsize *length);
7428
 
const gchar ** g_variant_get_bytestring_array (GVariant *value,
7429
 
                                                                         gsize *length);
7430
 
gchar ** g_variant_dup_bytestring_array (GVariant *value,
7431
 
                                                                         gsize *length);
7432
 
 
7433
 
GVariant * g_variant_new_maybe (const GVariantType *child_type,
7434
 
                                                                         GVariant *child);
7435
 
GVariant * g_variant_new_array (const GVariantType *child_type,
7436
 
                                                                         GVariant * const *children,
7437
 
                                                                         gsize n_children);
7438
 
GVariant * g_variant_new_tuple (GVariant * const *children,
7439
 
                                                                         gsize n_children);
7440
 
GVariant * g_variant_new_dict_entry (GVariant *key,
7441
 
                                                                         GVariant *value);
7442
 
 
7443
 
GVariant * g_variant_get_maybe (GVariant *value);
7444
 
gsize g_variant_n_children (GVariant *value);
7445
 
void g_variant_get_child (GVariant *value,
7446
 
                                                                         gsize index_,
7447
 
                                                                         const gchar *format_string,
7448
 
                                                                         ...);
7449
 
GVariant * g_variant_get_child_value (GVariant *value,
7450
 
                                                                         gsize index_);
7451
 
gboolean g_variant_lookup (GVariant *dictionary,
7452
 
                                                                         const gchar *key,
7453
 
                                                                         const gchar *format_string,
7454
 
                                                                         ...);
7455
 
GVariant * g_variant_lookup_value (GVariant *dictionary,
7456
 
                                                                         const gchar *key,
7457
 
                                                                         const GVariantType *expected_type);
7458
 
gconstpointer g_variant_get_fixed_array (GVariant *value,
7459
 
                                                                         gsize *n_elements,
7460
 
                                                                         gsize element_size);
7461
 
 
7462
 
gsize g_variant_get_size (GVariant *value);
7463
 
gconstpointer g_variant_get_data (GVariant *value);
7464
 
void g_variant_store (GVariant *value,
7465
 
                                                                         gpointer data);
7466
 
 
7467
 
gchar * g_variant_print (GVariant *value,
7468
 
                                                                         gboolean type_annotate);
7469
 
GString * g_variant_print_string (GVariant *value,
7470
 
                                                                         GString *string,
7471
 
                                                                         gboolean type_annotate);
7472
 
 
7473
 
guint g_variant_hash (gconstpointer value);
7474
 
gboolean g_variant_equal (gconstpointer one,
7475
 
                                                                         gconstpointer two);
7476
 
 
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,
7481
 
                                                                         gconstpointer data,
7482
 
                                                                         gsize size,
7483
 
                                                                         gboolean trusted,
7484
 
                                                                         GDestroyNotify notify,
7485
 
                                                                         gpointer user_data);
7486
 
 
7487
 
typedef struct _GVariantIter GVariantIter;
7488
 
struct _GVariantIter {
7489
 
 
7490
 
  gsize x[16];
7491
 
};
7492
 
 
7493
 
GVariantIter * g_variant_iter_new (GVariant *value);
7494
 
gsize g_variant_iter_init (GVariantIter *iter,
7495
 
                                                                         GVariant *value);
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,
7502
 
                                                                         ...);
7503
 
gboolean g_variant_iter_loop (GVariantIter *iter,
7504
 
                                                                         const gchar *format_string,
7505
 
                                                                         ...);
7506
 
 
7507
 
 
7508
 
typedef struct _GVariantBuilder GVariantBuilder;
7509
 
struct _GVariantBuilder {
7510
 
 
7511
 
  gsize x[16];
7512
 
};
7513
 
 
7514
 
typedef enum
7515
 
{
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;
7535
 
 
7536
 
 
7537
 
GQuark g_variant_parser_get_error_quark (void);
7538
 
 
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,
7550
 
                                                                         GVariant *value);
7551
 
void g_variant_builder_add (GVariantBuilder *builder,
7552
 
                                                                         const gchar *format_string,
7553
 
                                                                         ...);
7554
 
void g_variant_builder_add_parsed (GVariantBuilder *builder,
7555
 
                                                                         const gchar *format,
7556
 
                                                                         ...);
7557
 
 
7558
 
GVariant * g_variant_new (const gchar *format_string,
7559
 
                                                                         ...);
7560
 
void g_variant_get (GVariant *value,
7561
 
                                                                         const gchar *format_string,
7562
 
                                                                         ...);
7563
 
GVariant * g_variant_new_va (const gchar *format_string,
7564
 
                                                                         const gchar **endptr,
7565
 
                                                                         va_list *app);
7566
 
void g_variant_get_va (GVariant *value,
7567
 
                                                                         const gchar *format_string,
7568
 
                                                                         const gchar **endptr,
7569
 
                                                                         va_list *app);
7570
 
 
7571
 
 
7572
 
GVariant * g_variant_parse (const GVariantType *type,
7573
 
                                                                         const gchar *text,
7574
 
                                                                         const gchar *limit,
7575
 
                                                                         const gchar **endptr,
7576
 
                                                                         GError **error);
7577
 
GVariant * g_variant_new_parsed (const gchar *format,
7578
 
                                                                         ...);
7579
 
GVariant * g_variant_new_parsed_va (const gchar *format,
7580
 
                                                                         va_list *app);
7581
 
 
7582
 
gint g_variant_compare (gconstpointer one,
7583
 
                                                                         gconstpointer two);
7584
 
 
7585
 
# 93 "/usr/include/glib-2.0/glib.h" 2
7586
 
# 28 "test-xdg-module.h" 2
7587
 
 
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;
7593
 
 
7594
 
struct _CK_VERSION
7595
 
{
7596
 
  unsigned char major;
7597
 
  unsigned char minor;
7598
 
};
7599
 
 
7600
 
 
7601
 
struct _CK_INFO
7602
 
{
7603
 
  struct _CK_VERSION cryptokiVersion;
7604
 
  unsigned char manufacturerID[32];
7605
 
  CK_FLAGS flags;
7606
 
  unsigned char libraryDescription[32];
7607
 
  struct _CK_VERSION libraryVersion;
7608
 
};
7609
 
 
7610
 
 
7611
 
typedef unsigned long CK_NOTIFICATION;
7612
 
 
7613
 
 
7614
 
 
7615
 
 
7616
 
typedef unsigned long CK_SLOT_ID;
7617
 
 
7618
 
 
7619
 
struct _CK_SLOT_INFO
7620
 
{
7621
 
  unsigned char slotDescription[64];
7622
 
  unsigned char manufacturerID[32];
7623
 
  CK_FLAGS flags;
7624
 
  struct _CK_VERSION hardwareVersion;
7625
 
  struct _CK_VERSION firmwareVersion;
7626
 
};
7627
 
# 229 "../../../pkcs11/pkcs11.h"
7628
 
struct _CK_TOKEN_INFO
7629
 
{
7630
 
  unsigned char label[32];
7631
 
  unsigned char manufacturerID[32];
7632
 
  unsigned char model[16];
7633
 
  unsigned char serialNumber[16];
7634
 
  CK_FLAGS flags;
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];
7648
 
};
7649
 
# 275 "../../../pkcs11/pkcs11.h"
7650
 
typedef unsigned long CK_SESSION_HANDLE;
7651
 
 
7652
 
 
7653
 
 
7654
 
 
7655
 
typedef unsigned long CK_USER_TYPE;
7656
 
 
7657
 
 
7658
 
 
7659
 
 
7660
 
 
7661
 
 
7662
 
typedef unsigned long CK_STATE;
7663
 
# 296 "../../../pkcs11/pkcs11.h"
7664
 
struct _CK_SESSION_INFO
7665
 
{
7666
 
  CK_SLOT_ID slotID;
7667
 
  CK_STATE state;
7668
 
  CK_FLAGS flags;
7669
 
  unsigned long ulDeviceError;
7670
 
};
7671
 
 
7672
 
 
7673
 
 
7674
 
 
7675
 
 
7676
 
typedef unsigned long CK_OBJECT_HANDLE;
7677
 
 
7678
 
 
7679
 
typedef unsigned long CK_OBJECT_CLASS;
7680
 
# 324 "../../../pkcs11/pkcs11.h"
7681
 
typedef unsigned long CK_HW_FEATURE_TYPE;
7682
 
 
7683
 
 
7684
 
 
7685
 
 
7686
 
 
7687
 
 
7688
 
 
7689
 
typedef unsigned long CK_KEY_TYPE;
7690
 
# 362 "../../../pkcs11/pkcs11.h"
7691
 
typedef unsigned long CK_CERTIFICATE_TYPE;
7692
 
 
7693
 
 
7694
 
 
7695
 
 
7696
 
 
7697
 
 
7698
 
 
7699
 
typedef unsigned long CK_ATTRIBUTE_TYPE;
7700
 
# 459 "../../../pkcs11/pkcs11.h"
7701
 
struct _CK_ATTRIBUTE
7702
 
{
7703
 
  CK_ATTRIBUTE_TYPE type;
7704
 
  void *pValue;
7705
 
  unsigned long ulValueLen;
7706
 
};
7707
 
 
7708
 
 
7709
 
struct _CK_DATE
7710
 
{
7711
 
  unsigned char year[4];
7712
 
  unsigned char month[2];
7713
 
  unsigned char day[2];
7714
 
};
7715
 
 
7716
 
 
7717
 
typedef unsigned long CK_MECHANISM_TYPE;
7718
 
# 678 "../../../pkcs11/pkcs11.h"
7719
 
struct _CK_MECHANISM
7720
 
{
7721
 
  CK_MECHANISM_TYPE mechanism;
7722
 
  void *pParameter;
7723
 
  unsigned long ulParameterLen;
7724
 
};
7725
 
 
7726
 
 
7727
 
struct _CK_MECHANISM_INFO
7728
 
{
7729
 
  unsigned long ulMinKeySize;
7730
 
  unsigned long ulMaxKeySize;
7731
 
  CK_FLAGS flags;
7732
 
};
7733
 
# 713 "../../../pkcs11/pkcs11.h"
7734
 
typedef unsigned long CK_RV;
7735
 
 
7736
 
 
7737
 
typedef CK_RV (*CK_NOTIFY) (CK_SESSION_HANDLE session,
7738
 
    CK_NOTIFICATION event, void *application);
7739
 
 
7740
 
 
7741
 
struct _CK_FUNCTION_LIST;
7742
 
 
7743
 
 
7744
 
 
7745
 
 
7746
 
 
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);
7750
 
typedef CK_RV (*
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)
7754
 
                                                  ;
7755
 
 
7756
 
typedef CK_RV (*
7757
 
 
7758
 
 CK_C_GetSlotList
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)
7761
 
 
7762
 
                               ;
7763
 
typedef CK_RV (*
7764
 
 CK_C_GetSlotInfo
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)
7767
 
                                                          ;
7768
 
typedef CK_RV (*
7769
 
 CK_C_GetTokenInfo
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)
7772
 
                                                           ;
7773
 
typedef CK_RV (*
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)
7777
 
                                                               ;
7778
 
typedef CK_RV (*
7779
 
 
7780
 
 
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)
7784
 
 
7785
 
 
7786
 
                               ;
7787
 
typedef CK_RV (*
7788
 
 
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)
7792
 
 
7793
 
                                         ;
7794
 
typedef CK_RV (*
7795
 
 
7796
 
 CK_C_InitToken
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)
7799
 
 
7800
 
                                                      ;
7801
 
typedef CK_RV (*
7802
 
 
7803
 
 CK_C_InitPIN
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)
7806
 
 
7807
 
                                ;
7808
 
typedef CK_RV (*
7809
 
 
7810
 
 
7811
 
 CK_C_SetPIN
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)
7814
 
 
7815
 
 
7816
 
                                ;
7817
 
 
7818
 
typedef CK_RV (*
7819
 
 
7820
 
 
7821
 
 CK_C_OpenSession
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)
7824
 
 
7825
 
 
7826
 
                                       ;
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);
7829
 
typedef CK_RV (*
7830
 
 
7831
 
 CK_C_GetSessionInfo
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)
7834
 
 
7835
 
                                       ;
7836
 
typedef CK_RV (*
7837
 
 
7838
 
 
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)
7842
 
 
7843
 
 
7844
 
                                             ;
7845
 
typedef CK_RV (*
7846
 
 
7847
 
 
7848
 
 
7849
 
 
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)
7853
 
 
7854
 
 
7855
 
 
7856
 
 
7857
 
                                               ;
7858
 
typedef CK_RV (*
7859
 
 
7860
 
 CK_C_Login
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)
7863
 
 
7864
 
                                                    ;
7865
 
typedef CK_RV (*CK_C_Logout) (CK_SESSION_HANDLE session); CK_RV C_Logout (CK_SESSION_HANDLE session);
7866
 
 
7867
 
typedef CK_RV (*
7868
 
 
7869
 
 
7870
 
 CK_C_CreateObject
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)
7873
 
 
7874
 
 
7875
 
                                                          ;
7876
 
typedef CK_RV (*
7877
 
 
7878
 
 
7879
 
 CK_C_CopyObject
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)
7882
 
 
7883
 
 
7884
 
                                         ;
7885
 
typedef CK_RV (*
7886
 
 
7887
 
 CK_C_DestroyObject
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)
7890
 
 
7891
 
                                    ;
7892
 
typedef CK_RV (*
7893
 
 
7894
 
 
7895
 
 CK_C_GetObjectSize
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)
7898
 
 
7899
 
 
7900
 
                              ;
7901
 
typedef CK_RV (*
7902
 
 
7903
 
 
7904
 
 
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)
7908
 
 
7909
 
 
7910
 
 
7911
 
                              ;
7912
 
typedef CK_RV (*
7913
 
 
7914
 
 
7915
 
 
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)
7919
 
 
7920
 
 
7921
 
 
7922
 
                              ;
7923
 
typedef CK_RV (*
7924
 
 
7925
 
 
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)
7929
 
 
7930
 
 
7931
 
                              ;
7932
 
typedef CK_RV (*
7933
 
 
7934
 
 
7935
 
 
7936
 
 CK_C_FindObjects
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)
7939
 
 
7940
 
 
7941
 
 
7942
 
                                      ;
7943
 
typedef CK_RV (*
7944
 
 CK_C_FindObjectsFinal
7945
 
# 817 "../../../pkcs11/pkcs11.h"
7946
 
 ) (CK_SESSION_HANDLE session); CK_RV C_FindObjectsFinal (CK_SESSION_HANDLE session)
7947
 
                                      ;
7948
 
 
7949
 
typedef CK_RV (*
7950
 
 
7951
 
 
7952
 
 CK_C_EncryptInit
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)
7955
 
 
7956
 
 
7957
 
                                 ;
7958
 
typedef CK_RV (*
7959
 
 
7960
 
 
7961
 
 
7962
 
 CK_C_Encrypt
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)
7965
 
 
7966
 
 
7967
 
 
7968
 
                                            ;
7969
 
typedef CK_RV (*
7970
 
 
7971
 
 
7972
 
 
7973
 
 CK_C_EncryptUpdate
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)
7976
 
 
7977
 
 
7978
 
 
7979
 
                                            ;
7980
 
typedef CK_RV (*
7981
 
 
7982
 
 
7983
 
 CK_C_EncryptFinal
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)
7986
 
 
7987
 
 
7988
 
                                                 ;
7989
 
 
7990
 
typedef CK_RV (*
7991
 
 
7992
 
 
7993
 
 CK_C_DecryptInit
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)
7996
 
 
7997
 
 
7998
 
                                 ;
7999
 
typedef CK_RV (*
8000
 
 
8001
 
 
8002
 
 
8003
 
 CK_C_Decrypt
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)
8006
 
 
8007
 
 
8008
 
 
8009
 
                                                       ;
8010
 
typedef CK_RV (*
8011
 
 
8012
 
 
8013
 
 
8014
 
 CK_C_DecryptUpdate
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)
8017
 
 
8018
 
 
8019
 
 
8020
 
                                                       ;
8021
 
typedef CK_RV (*
8022
 
 
8023
 
 
8024
 
 CK_C_DecryptFinal
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)
8027
 
 
8028
 
 
8029
 
                                       ;
8030
 
 
8031
 
typedef CK_RV (*
8032
 
 
8033
 
 CK_C_DigestInit
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)
8036
 
 
8037
 
                                         ;
8038
 
typedef CK_RV (*
8039
 
 
8040
 
 
8041
 
 
8042
 
 CK_C_Digest
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)
8045
 
 
8046
 
 
8047
 
 
8048
 
                                    ;
8049
 
typedef CK_RV (*
8050
 
 
8051
 
 CK_C_DigestUpdate
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)
8054
 
 
8055
 
                                                      ;
8056
 
typedef CK_RV (*
8057
 
 CK_C_DigestKey
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)
8060
 
                                                              ;
8061
 
typedef CK_RV (*
8062
 
 
8063
 
 
8064
 
 CK_C_DigestFinal
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)
8067
 
 
8068
 
 
8069
 
                                    ;
8070
 
 
8071
 
typedef CK_RV (*
8072
 
 
8073
 
 
8074
 
 CK_C_SignInit
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)
8077
 
 
8078
 
 
8079
 
                                 ;
8080
 
typedef CK_RV (*
8081
 
 
8082
 
 
8083
 
 
8084
 
 CK_C_Sign
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)
8087
 
 
8088
 
 
8089
 
 
8090
 
                                       ;
8091
 
typedef CK_RV (*
8092
 
 
8093
 
 CK_C_SignUpdate
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)
8096
 
 
8097
 
                                                      ;
8098
 
typedef CK_RV (*
8099
 
 
8100
 
 
8101
 
 CK_C_SignFinal
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)
8104
 
 
8105
 
 
8106
 
                                       ;
8107
 
typedef CK_RV (*
8108
 
 
8109
 
 
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)
8113
 
 
8114
 
 
8115
 
                                 ;
8116
 
typedef CK_RV (*
8117
 
 
8118
 
 
8119
 
 
8120
 
 CK_C_SignRecover
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)
8123
 
 
8124
 
 
8125
 
 
8126
 
                                       ;
8127
 
 
8128
 
typedef CK_RV (*
8129
 
 
8130
 
 
8131
 
 CK_C_VerifyInit
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)
8134
 
 
8135
 
 
8136
 
                                 ;
8137
 
typedef CK_RV (*
8138
 
 
8139
 
 
8140
 
 
8141
 
 CK_C_Verify
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)
8144
 
 
8145
 
 
8146
 
 
8147
 
                                      ;
8148
 
typedef CK_RV (*
8149
 
 
8150
 
 CK_C_VerifyUpdate
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)
8153
 
 
8154
 
                                                      ;
8155
 
typedef CK_RV (*
8156
 
 
8157
 
 
8158
 
 CK_C_VerifyFinal
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)
8161
 
 
8162
 
 
8163
 
                                      ;
8164
 
typedef CK_RV (*
8165
 
 
8166
 
 
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)
8170
 
 
8171
 
 
8172
 
                                 ;
8173
 
typedef CK_RV (*
8174
 
 
8175
 
 
8176
 
 
8177
 
 
8178
 
 CK_C_VerifyRecover
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)
8181
 
 
8182
 
 
8183
 
 
8184
 
 
8185
 
                                  ;
8186
 
 
8187
 
typedef CK_RV (*
8188
 
 
8189
 
 
8190
 
 
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)
8194
 
 
8195
 
 
8196
 
 
8197
 
                                            ;
8198
 
typedef CK_RV (*
8199
 
 
8200
 
 
8201
 
 
8202
 
 
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)
8206
 
 
8207
 
 
8208
 
 
8209
 
 
8210
 
                                  ;
8211
 
typedef CK_RV (*
8212
 
 
8213
 
 
8214
 
 
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)
8218
 
 
8219
 
 
8220
 
 
8221
 
                                            ;
8222
 
typedef CK_RV (*
8223
 
 
8224
 
 
8225
 
 
8226
 
 
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)
8230
 
 
8231
 
 
8232
 
 
8233
 
 
8234
 
                                  ;
8235
 
 
8236
 
typedef CK_RV (*
8237
 
 
8238
 
 
8239
 
 
8240
 
 
8241
 
 CK_C_GenerateKey
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)
8244
 
 
8245
 
 
8246
 
 
8247
 
 
8248
 
                                  ;
8249
 
typedef CK_RV (*
8250
 
 
8251
 
 
8252
 
 
8253
 
 
8254
 
 
8255
 
 
8256
 
 
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)
8260
 
 
8261
 
 
8262
 
 
8263
 
 
8264
 
 
8265
 
 
8266
 
 
8267
 
                                          ;
8268
 
typedef CK_RV (*
8269
 
 
8270
 
 
8271
 
 
8272
 
 
8273
 
 
8274
 
 CK_C_WrapKey
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)
8277
 
 
8278
 
 
8279
 
 
8280
 
 
8281
 
 
8282
 
                                         ;
8283
 
typedef CK_RV (*
8284
 
 
8285
 
 
8286
 
 
8287
 
 
8288
 
 
8289
 
 
8290
 
 
8291
 
 CK_C_UnwrapKey
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)
8294
 
 
8295
 
 
8296
 
 
8297
 
 
8298
 
 
8299
 
 
8300
 
 
8301
 
                                  ;
8302
 
typedef CK_RV (*
8303
 
 
8304
 
 
8305
 
 
8306
 
 
8307
 
 
8308
 
 CK_C_DeriveKey
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)
8311
 
 
8312
 
 
8313
 
 
8314
 
 
8315
 
 
8316
 
                                  ;
8317
 
 
8318
 
typedef CK_RV (*
8319
 
 
8320
 
 CK_C_SeedRandom
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)
8323
 
 
8324
 
                                 ;
8325
 
typedef CK_RV (*
8326
 
 
8327
 
 
8328
 
 CK_C_GenerateRandom
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)
8331
 
 
8332
 
 
8333
 
                                   ;
8334
 
 
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);
8337
 
 
8338
 
 
8339
 
struct _CK_FUNCTION_LIST
8340
 
{
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;
8360
 
  CK_C_Login C_Login;
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;
8385
 
  CK_C_Sign C_Sign;
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;
8410
 
};
8411
 
 
8412
 
 
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);
8417
 
 
8418
 
 
8419
 
struct _CK_C_INITIALIZE_ARGS
8420
 
{
8421
 
  CK_CREATEMUTEX CreateMutex;
8422
 
  CK_DESTROYMUTEX DestroyMutex;
8423
 
  CK_LOCKMUTEX LockMutex;
8424
 
  CK_UNLOCKMUTEX UnlockMutex;
8425
 
  CK_FLAGS flags;
8426
 
  void *pReserved;
8427
 
};
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
8431
 
 
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;
8447
 
 
8448
 
typedef struct _CK_INFO CK_INFO;
8449
 
typedef struct _CK_INFO *CK_INFO_PTR;
8450
 
 
8451
 
typedef CK_SLOT_ID *CK_SLOT_ID_PTR;
8452
 
 
8453
 
typedef struct _CK_SLOT_INFO CK_SLOT_INFO;
8454
 
typedef struct _CK_SLOT_INFO *CK_SLOT_INFO_PTR;
8455
 
 
8456
 
typedef struct _CK_TOKEN_INFO CK_TOKEN_INFO;
8457
 
typedef struct _CK_TOKEN_INFO *CK_TOKEN_INFO_PTR;
8458
 
 
8459
 
typedef CK_SESSION_HANDLE *CK_SESSION_HANDLE_PTR;
8460
 
 
8461
 
typedef struct _CK_SESSION_INFO CK_SESSION_INFO;
8462
 
typedef struct _CK_SESSION_INFO *CK_SESSION_INFO_PTR;
8463
 
 
8464
 
typedef CK_OBJECT_HANDLE *CK_OBJECT_HANDLE_PTR;
8465
 
 
8466
 
typedef CK_OBJECT_CLASS *CK_OBJECT_CLASS_PTR;
8467
 
 
8468
 
typedef struct _CK_ATTRIBUTE CK_ATTRIBUTE;
8469
 
typedef struct _CK_ATTRIBUTE *CK_ATTRIBUTE_PTR;
8470
 
 
8471
 
typedef struct _CK_DATE CK_DATE;
8472
 
typedef struct _CK_DATE *CK_DATE_PTR;
8473
 
 
8474
 
typedef CK_MECHANISM_TYPE *CK_MECHANISM_TYPE_PTR;
8475
 
 
8476
 
typedef struct _CK_MECHANISM CK_MECHANISM;
8477
 
typedef struct _CK_MECHANISM *CK_MECHANISM_PTR;
8478
 
 
8479
 
typedef struct _CK_MECHANISM_INFO CK_MECHANISM_INFO;
8480
 
typedef struct _CK_MECHANISM_INFO *CK_MECHANISM_INFO_PTR;
8481
 
 
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;
8485
 
 
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;
8495
 
 
8496
 
typedef struct CK_G_APPLICATION {
8497
 
 CK_VOID_PTR applicationData;
8498
 
 CK_G_APPLICATION_ID applicationId;
8499
 
} CK_G_APPLICATION;
8500
 
 
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,
8505
 
                                                    const gchar *file,
8506
 
                                                    int line,
8507
 
                                                    const gchar *func,
8508
 
                                                    const gchar *expr,
8509
 
                                                    CK_RV arg1,
8510
 
                                                    const gchar *cmp,
8511
 
                                                    CK_RV arg2);
8512
 
 
8513
 
void gkm_assertion_message_cmpulong (const gchar *domain,
8514
 
                                                    const gchar *file,
8515
 
                                                    gint line,
8516
 
                                                    const gchar *func,
8517
 
                                                    const gchar *expr,
8518
 
                                                    CK_ULONG arg1,
8519
 
                                                    const gchar *cmp,
8520
 
                                                    CK_ULONG arg2);
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
8552
 
 
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
8560
 
 
8561
 
 
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"
8570
 
 
8571
 
# 385 "/usr/include/glib-2.0/gobject/gtype.h"
8572
 
typedef gsize GType;
8573
 
 
8574
 
 
8575
 
 
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"
8588
 
struct _GTypeClass
8589
 
{
8590
 
 
8591
 
  GType g_type;
8592
 
};
8593
 
 
8594
 
 
8595
 
 
8596
 
 
8597
 
 
8598
 
struct _GTypeInstance
8599
 
{
8600
 
 
8601
 
  GTypeClass *g_class;
8602
 
};
8603
 
 
8604
 
 
8605
 
 
8606
 
 
8607
 
 
8608
 
struct _GTypeInterface
8609
 
{
8610
 
 
8611
 
  GType g_type;
8612
 
  GType g_instance_type;
8613
 
};
8614
 
# 445 "/usr/include/glib-2.0/gobject/gtype.h"
8615
 
struct _GTypeQuery
8616
 
{
8617
 
  GType type;
8618
 
  const gchar *type_name;
8619
 
  guint class_size;
8620
 
  guint instance_size;
8621
 
};
8622
 
# 657 "/usr/include/glib-2.0/gobject/gtype.h"
8623
 
typedef enum
8624
 
{
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
8629
 
} GTypeDebugFlags;
8630
 
 
8631
 
 
8632
 
 
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,
8641
 
            GType root_type);
8642
 
gboolean g_type_is_a (GType type,
8643
 
            GType is_a_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,
8650
 
            GType iface_type);
8651
 
gpointer g_type_interface_peek_parent (gpointer g_iface);
8652
 
 
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);
8656
 
 
8657
 
 
8658
 
GType* g_type_children (GType type,
8659
 
            guint *n_children);
8660
 
GType* g_type_interfaces (GType type,
8661
 
            guint *n_interfaces);
8662
 
 
8663
 
 
8664
 
void g_type_set_qdata (GType type,
8665
 
            GQuark quark,
8666
 
            gpointer data);
8667
 
gpointer g_type_get_qdata (GType type,
8668
 
            GQuark quark);
8669
 
void g_type_query (GType type,
8670
 
            GTypeQuery *query);
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,
8683
 
           gpointer g_class);
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,
8695
 
           gpointer g_iface);
8696
 
# 933 "/usr/include/glib-2.0/gobject/gtype.h"
8697
 
typedef enum
8698
 
{
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"
8705
 
typedef enum
8706
 
{
8707
 
  G_TYPE_FLAG_ABSTRACT = (1 << 4),
8708
 
  G_TYPE_FLAG_VALUE_ABSTRACT = (1 << 5)
8709
 
} GTypeFlags;
8710
 
# 985 "/usr/include/glib-2.0/gobject/gtype.h"
8711
 
struct _GTypeInfo
8712
 
{
8713
 
 
8714
 
  guint16 class_size;
8715
 
 
8716
 
  GBaseInitFunc base_init;
8717
 
  GBaseFinalizeFunc base_finalize;
8718
 
 
8719
 
 
8720
 
  GClassInitFunc class_init;
8721
 
  GClassFinalizeFunc class_finalize;
8722
 
  gconstpointer class_data;
8723
 
 
8724
 
 
8725
 
  guint16 instance_size;
8726
 
  guint16 n_preallocs;
8727
 
  GInstanceInitFunc instance_init;
8728
 
 
8729
 
 
8730
 
  const GTypeValueTable *value_table;
8731
 
};
8732
 
 
8733
 
 
8734
 
 
8735
 
 
8736
 
 
8737
 
 
8738
 
 
8739
 
struct _GTypeFundamentalInfo
8740
 
{
8741
 
  GTypeFundamentalFlags type_flags;
8742
 
};
8743
 
# 1026 "/usr/include/glib-2.0/gobject/gtype.h"
8744
 
struct _GInterfaceInfo
8745
 
{
8746
 
  GInterfaceInitFunc interface_init;
8747
 
  GInterfaceFinalizeFunc interface_finalize;
8748
 
  gpointer interface_data;
8749
 
};
8750
 
# 1200 "/usr/include/glib-2.0/gobject/gtype.h"
8751
 
struct _GTypeValueTable
8752
 
{
8753
 
  void (*value_init) (GValue *value);
8754
 
  void (*value_free) (GValue *value);
8755
 
  void (*value_copy) (const GValue *src_value,
8756
 
      GValue *dest_value);
8757
 
 
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);
8769
 
};
8770
 
GType g_type_register_static (GType parent_type,
8771
 
      const gchar *type_name,
8772
 
      const GTypeInfo *info,
8773
 
      GTypeFlags flags);
8774
 
GType g_type_register_static_simple (GType parent_type,
8775
 
      const gchar *type_name,
8776
 
      guint class_size,
8777
 
      GClassInitFunc class_init,
8778
 
      guint instance_size,
8779
 
      GInstanceInitFunc instance_init,
8780
 
      GTypeFlags flags);
8781
 
 
8782
 
GType g_type_register_dynamic (GType parent_type,
8783
 
      const gchar *type_name,
8784
 
      GTypePlugin *plugin,
8785
 
      GTypeFlags flags);
8786
 
GType g_type_register_fundamental (GType type_id,
8787
 
      const gchar *type_name,
8788
 
      const GTypeInfo *info,
8789
 
      const GTypeFundamentalInfo *finfo,
8790
 
      GTypeFlags flags);
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);
8805
 
 
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);
8818
 
 
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);
8824
 
 
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);
8829
 
 
8830
 
GTypeValueTable* g_type_value_table_peek (GType type);
8831
 
 
8832
 
 
8833
 
 
8834
 
gboolean g_type_check_instance (GTypeInstance *instance) __attribute__((__pure__));
8835
 
GTypeInstance* g_type_check_instance_cast (GTypeInstance *instance,
8836
 
       GType iface_type);
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,
8840
 
       GType is_a_type);
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__));
8849
 
 
8850
 
 
8851
 
 
8852
 
const gchar* g_type_name_from_instance (GTypeInstance *instance);
8853
 
const gchar* g_type_name_from_class (GTypeClass *g_class);
8854
 
 
8855
 
 
8856
 
 
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;
8868
 
 
8869
 
 
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
8875
 
 
8876
 
 
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"
8881
 
struct _GValue
8882
 
{
8883
 
 
8884
 
  GType g_type;
8885
 
 
8886
 
 
8887
 
  union {
8888
 
    gint v_int;
8889
 
    guint v_uint;
8890
 
    glong v_long;
8891
 
    gulong v_ulong;
8892
 
    gint64 v_int64;
8893
 
    guint64 v_uint64;
8894
 
    gfloat v_float;
8895
 
    gdouble v_double;
8896
 
    gpointer v_pointer;
8897
 
  } data[2];
8898
 
};
8899
 
 
8900
 
 
8901
 
 
8902
 
GValue* g_value_init (GValue *value,
8903
 
      GType g_type);
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,
8909
 
      gpointer instance);
8910
 
 
8911
 
 
8912
 
 
8913
 
gboolean g_value_fits_pointer (const GValue *value);
8914
 
gpointer g_value_peek_pointer (const GValue *value);
8915
 
 
8916
 
 
8917
 
 
8918
 
gboolean g_value_type_compatible (GType src_type,
8919
 
      GType dest_type);
8920
 
gboolean g_value_type_transformable (GType src_type,
8921
 
      GType dest_type);
8922
 
gboolean g_value_transform (const GValue *src_value,
8923
 
      GValue *dest_value);
8924
 
void g_value_register_transform_func (GType src_type,
8925
 
      GType dest_type,
8926
 
      GValueTransform transform_func);
8927
 
# 165 "/usr/include/glib-2.0/gobject/gvalue.h"
8928
 
 
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
8934
 
 
8935
 
 
8936
 
# 143 "/usr/include/glib-2.0/gobject/gparam.h"
8937
 
typedef enum
8938
 
{
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,
8945
 
 
8946
 
  G_PARAM_PRIVATE = G_PARAM_STATIC_NAME,
8947
 
 
8948
 
  G_PARAM_STATIC_NICK = 1 << 6,
8949
 
  G_PARAM_STATIC_BLURB = 1 << 7,
8950
 
 
8951
 
  G_PARAM_DEPRECATED = 1 << 31
8952
 
} GParamFlags;
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"
8959
 
struct _GParamSpec
8960
 
{
8961
 
  GTypeInstance g_type_instance;
8962
 
 
8963
 
  gchar *name;
8964
 
  GParamFlags flags;
8965
 
  GType value_type;
8966
 
  GType owner_type;
8967
 
 
8968
 
 
8969
 
  gchar *_nick;
8970
 
  gchar *_blurb;
8971
 
  GData *qdata;
8972
 
  guint ref_count;
8973
 
  guint param_id;
8974
 
};
8975
 
# 239 "/usr/include/glib-2.0/gobject/gparam.h"
8976
 
struct _GParamSpecClass
8977
 
{
8978
 
  GTypeClass g_type_class;
8979
 
 
8980
 
  GType value_type;
8981
 
 
8982
 
  void (*finalize) (GParamSpec *pspec);
8983
 
 
8984
 
 
8985
 
  void (*value_set_default) (GParamSpec *pspec,
8986
 
      GValue *value);
8987
 
  gboolean (*value_validate) (GParamSpec *pspec,
8988
 
      GValue *value);
8989
 
  gint (*values_cmp) (GParamSpec *pspec,
8990
 
      const GValue *value1,
8991
 
      const GValue *value2);
8992
 
 
8993
 
  gpointer dummy[4];
8994
 
};
8995
 
# 266 "/usr/include/glib-2.0/gobject/gparam.h"
8996
 
struct _GParameter
8997
 
{
8998
 
  const gchar *name;
8999
 
  GValue value;
9000
 
};
9001
 
 
9002
 
 
9003
 
 
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,
9009
 
       GQuark quark);
9010
 
void g_param_spec_set_qdata (GParamSpec *pspec,
9011
 
       GQuark quark,
9012
 
       gpointer data);
9013
 
void g_param_spec_set_qdata_full (GParamSpec *pspec,
9014
 
       GQuark quark,
9015
 
       gpointer data,
9016
 
       GDestroyNotify destroy);
9017
 
gpointer g_param_spec_steal_qdata (GParamSpec *pspec,
9018
 
       GQuark quark);
9019
 
GParamSpec* g_param_spec_get_redirect_target (GParamSpec *pspec);
9020
 
 
9021
 
void g_param_value_set_default (GParamSpec *pspec,
9022
 
       GValue *value);
9023
 
gboolean g_param_value_defaults (GParamSpec *pspec,
9024
 
       GValue *value);
9025
 
gboolean g_param_value_validate (GParamSpec *pspec,
9026
 
       GValue *value);
9027
 
gboolean g_param_value_convert (GParamSpec *pspec,
9028
 
       const GValue *src_value,
9029
 
       GValue *dest_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,
9038
 
       GParamSpec *param);
9039
 
GParamSpec* g_value_get_param (const GValue *value);
9040
 
GParamSpec* g_value_dup_param (const GValue *value);
9041
 
 
9042
 
 
9043
 
void g_value_take_param (GValue *value,
9044
 
              GParamSpec *param);
9045
 
 
9046
 
void g_value_set_param_take_ownership (GValue *value,
9047
 
              GParamSpec *param);
9048
 
 
9049
 
 
9050
 
 
9051
 
typedef struct _GParamSpecTypeInfo GParamSpecTypeInfo;
9052
 
# 346 "/usr/include/glib-2.0/gobject/gparam.h"
9053
 
struct _GParamSpecTypeInfo
9054
 
{
9055
 
 
9056
 
  guint16 instance_size;
9057
 
  guint16 n_preallocs;
9058
 
  void (*instance_init) (GParamSpec *pspec);
9059
 
 
9060
 
 
9061
 
  GType value_type;
9062
 
  void (*finalize) (GParamSpec *pspec);
9063
 
  void (*value_set_default) (GParamSpec *pspec,
9064
 
      GValue *value);
9065
 
  gboolean (*value_validate) (GParamSpec *pspec,
9066
 
      GValue *value);
9067
 
  gint (*values_cmp) (GParamSpec *pspec,
9068
 
      const GValue *value1,
9069
 
      const GValue *value2);
9070
 
};
9071
 
GType g_param_type_register_static (const gchar *name,
9072
 
      const GParamSpecTypeInfo *pspec_info);
9073
 
 
9074
 
 
9075
 
GType _g_param_type_register_static_constant (const gchar *name,
9076
 
            const GParamSpecTypeInfo *pspec_info,
9077
 
            GType opt_type);
9078
 
 
9079
 
 
9080
 
 
9081
 
gpointer g_param_spec_internal (GType param_type,
9082
 
       const gchar *name,
9083
 
       const gchar *nick,
9084
 
       const gchar *blurb,
9085
 
       GParamFlags flags);
9086
 
GParamSpecPool* g_param_spec_pool_new (gboolean type_prefixing);
9087
 
void g_param_spec_pool_insert (GParamSpecPool *pool,
9088
 
       GParamSpec *pspec,
9089
 
       GType owner_type);
9090
 
void g_param_spec_pool_remove (GParamSpecPool *pool,
9091
 
       GParamSpec *pspec);
9092
 
GParamSpec* g_param_spec_pool_lookup (GParamSpecPool *pool,
9093
 
       const gchar *param_name,
9094
 
       GType owner_type,
9095
 
       gboolean walk_ancestors);
9096
 
GList* g_param_spec_pool_list_owned (GParamSpecPool *pool,
9097
 
       GType owner_type);
9098
 
GParamSpec** g_param_spec_pool_list (GParamSpecPool *pool,
9099
 
       GType owner_type,
9100
 
       guint *n_pspecs_p);
9101
 
# 413 "/usr/include/glib-2.0/gobject/gparam.h"
9102
 
 
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
9108
 
 
9109
 
 
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,
9117
 
      GClosure *closure);
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);
9125
 
 
9126
 
 
9127
 
 
9128
 
 
9129
 
 
9130
 
 
9131
 
 
9132
 
typedef struct _GCClosure GCClosure;
9133
 
 
9134
 
 
9135
 
 
9136
 
struct _GClosureNotifyData
9137
 
{
9138
 
  gpointer data;
9139
 
  GClosureNotify notify;
9140
 
};
9141
 
# 145 "/usr/include/glib-2.0/gobject/gclosure.h"
9142
 
struct _GClosure
9143
 
{
9144
 
 
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;
9152
 
 
9153
 
  volatile guint derivative_flag : 1;
9154
 
 
9155
 
  volatile guint in_marshal : 1;
9156
 
  volatile guint is_invalid : 1;
9157
 
 
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);
9164
 
                    gpointer data;
9165
 
 
9166
 
                  GClosureNotifyData *notifiers;
9167
 
# 181 "/usr/include/glib-2.0/gobject/gclosure.h"
9168
 
};
9169
 
 
9170
 
 
9171
 
struct _GCClosure
9172
 
{
9173
 
  GClosure closure;
9174
 
  gpointer callback;
9175
 
};
9176
 
 
9177
 
 
9178
 
 
9179
 
GClosure* g_cclosure_new (GCallback callback_func,
9180
 
       gpointer user_data,
9181
 
       GClosureNotify destroy_data);
9182
 
GClosure* g_cclosure_new_swap (GCallback callback_func,
9183
 
       gpointer user_data,
9184
 
       GClosureNotify destroy_data);
9185
 
GClosure* g_signal_type_cclosure_new (GType itype,
9186
 
       guint struct_offset);
9187
 
 
9188
 
 
9189
 
 
9190
 
GClosure* g_closure_ref (GClosure *closure);
9191
 
void g_closure_sink (GClosure *closure);
9192
 
void g_closure_unref (GClosure *closure);
9193
 
 
9194
 
GClosure* g_closure_new_simple (guint sizeof_closure,
9195
 
       gpointer data);
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"
9225
 
 
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
9236
 
 
9237
 
 
9238
 
 
9239
 
 
9240
 
 
9241
 
 
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);
9248
 
 
9249
 
 
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);
9256
 
 
9257
 
 
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);
9264
 
 
9265
 
 
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);
9272
 
 
9273
 
 
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);
9280
 
 
9281
 
 
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);
9288
 
 
9289
 
 
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);
9296
 
 
9297
 
 
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);
9304
 
 
9305
 
 
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);
9312
 
 
9313
 
 
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);
9320
 
 
9321
 
 
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);
9328
 
 
9329
 
 
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);
9336
 
 
9337
 
 
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);
9344
 
 
9345
 
 
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);
9352
 
 
9353
 
 
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);
9360
 
 
9361
 
 
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);
9368
 
 
9369
 
 
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);
9376
 
 
9377
 
 
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);
9384
 
 
9385
 
 
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);
9392
 
 
9393
 
 
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);
9400
 
 
9401
 
 
9402
 
 
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);
9409
 
 
9410
 
 
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);
9417
 
 
9418
 
 
9419
 
 
9420
 
# 30 "/usr/include/glib-2.0/gobject/gsignal.h" 2
9421
 
 
9422
 
 
9423
 
 
9424
 
 
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,
9433
 
      gpointer data);
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,
9438
 
      gpointer data);
9439
 
# 116 "/usr/include/glib-2.0/gobject/gsignal.h"
9440
 
typedef enum
9441
 
{
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
9449
 
} GSignalFlags;
9450
 
# 142 "/usr/include/glib-2.0/gobject/gsignal.h"
9451
 
typedef enum
9452
 
{
9453
 
  G_CONNECT_AFTER = 1 << 0,
9454
 
  G_CONNECT_SWAPPED = 1 << 1
9455
 
} GConnectFlags;
9456
 
# 160 "/usr/include/glib-2.0/gobject/gsignal.h"
9457
 
typedef enum
9458
 
{
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
9465
 
} GSignalMatchType;
9466
 
# 211 "/usr/include/glib-2.0/gobject/gsignal.h"
9467
 
struct _GSignalInvocationHint
9468
 
{
9469
 
  guint signal_id;
9470
 
  GQuark detail;
9471
 
  GSignalFlags run_type;
9472
 
};
9473
 
# 237 "/usr/include/glib-2.0/gobject/gsignal.h"
9474
 
struct _GSignalQuery
9475
 
{
9476
 
  guint signal_id;
9477
 
  const gchar *signal_name;
9478
 
  GType itype;
9479
 
  GSignalFlags signal_flags;
9480
 
  GType return_type;
9481
 
  guint n_params;
9482
 
  const GType *param_types;
9483
 
};
9484
 
 
9485
 
 
9486
 
 
9487
 
guint g_signal_newv (const gchar *signal_name,
9488
 
          GType itype,
9489
 
          GSignalFlags signal_flags,
9490
 
          GClosure *class_closure,
9491
 
          GSignalAccumulator accumulator,
9492
 
          gpointer accu_data,
9493
 
          GSignalCMarshaller c_marshaller,
9494
 
          GType return_type,
9495
 
          guint n_params,
9496
 
          GType *param_types);
9497
 
guint g_signal_new_valist (const gchar *signal_name,
9498
 
          GType itype,
9499
 
          GSignalFlags signal_flags,
9500
 
          GClosure *class_closure,
9501
 
          GSignalAccumulator accumulator,
9502
 
          gpointer accu_data,
9503
 
          GSignalCMarshaller c_marshaller,
9504
 
          GType return_type,
9505
 
          guint n_params,
9506
 
          va_list args);
9507
 
guint g_signal_new (const gchar *signal_name,
9508
 
          GType itype,
9509
 
          GSignalFlags signal_flags,
9510
 
          guint class_offset,
9511
 
          GSignalAccumulator accumulator,
9512
 
          gpointer accu_data,
9513
 
          GSignalCMarshaller c_marshaller,
9514
 
          GType return_type,
9515
 
          guint n_params,
9516
 
          ...);
9517
 
guint g_signal_new_class_handler (const gchar *signal_name,
9518
 
                                             GType itype,
9519
 
                                             GSignalFlags signal_flags,
9520
 
                                             GCallback class_handler,
9521
 
                                             GSignalAccumulator accumulator,
9522
 
                                             gpointer accu_data,
9523
 
                                             GSignalCMarshaller c_marshaller,
9524
 
                                             GType return_type,
9525
 
                                             guint n_params,
9526
 
                                             ...);
9527
 
 
9528
 
void g_signal_emitv (const GValue *instance_and_params,
9529
 
          guint signal_id,
9530
 
          GQuark detail,
9531
 
          GValue *return_value);
9532
 
void g_signal_emit_valist (gpointer instance,
9533
 
          guint signal_id,
9534
 
          GQuark detail,
9535
 
          va_list var_args);
9536
 
void g_signal_emit (gpointer instance,
9537
 
          guint signal_id,
9538
 
          GQuark detail,
9539
 
          ...);
9540
 
void g_signal_emit_by_name (gpointer instance,
9541
 
          const gchar *detailed_signal,
9542
 
          ...);
9543
 
guint g_signal_lookup (const gchar *name,
9544
 
          GType itype);
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,
9549
 
          guint *n_ids);
9550
 
gboolean g_signal_parse_name (const gchar *detailed_signal,
9551
 
          GType itype,
9552
 
          guint *signal_id_p,
9553
 
          GQuark *detail_p,
9554
 
          gboolean force_detail_quark);
9555
 
GSignalInvocationHint* g_signal_get_invocation_hint (gpointer instance);
9556
 
 
9557
 
 
9558
 
 
9559
 
void g_signal_stop_emission (gpointer instance,
9560
 
          guint signal_id,
9561
 
          GQuark detail);
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,
9565
 
          GQuark detail,
9566
 
          GSignalEmissionHook hook_func,
9567
 
          gpointer hook_data,
9568
 
          GDestroyNotify data_destroy);
9569
 
void g_signal_remove_emission_hook (guint signal_id,
9570
 
          gulong hook_id);
9571
 
 
9572
 
 
9573
 
 
9574
 
gboolean g_signal_has_handler_pending (gpointer instance,
9575
 
            guint signal_id,
9576
 
            GQuark detail,
9577
 
            gboolean may_be_blocked);
9578
 
gulong g_signal_connect_closure_by_id (gpointer instance,
9579
 
            guint signal_id,
9580
 
            GQuark detail,
9581
 
            GClosure *closure,
9582
 
            gboolean after);
9583
 
gulong g_signal_connect_closure (gpointer instance,
9584
 
            const gchar *detailed_signal,
9585
 
            GClosure *closure,
9586
 
            gboolean after);
9587
 
gulong g_signal_connect_data (gpointer instance,
9588
 
            const gchar *detailed_signal,
9589
 
            GCallback c_handler,
9590
 
            gpointer data,
9591
 
            GClosureNotify destroy_data,
9592
 
            GConnectFlags connect_flags);
9593
 
void g_signal_handler_block (gpointer instance,
9594
 
            gulong handler_id);
9595
 
void g_signal_handler_unblock (gpointer instance,
9596
 
            gulong handler_id);
9597
 
void g_signal_handler_disconnect (gpointer instance,
9598
 
            gulong handler_id);
9599
 
gboolean g_signal_handler_is_connected (gpointer instance,
9600
 
            gulong handler_id);
9601
 
gulong g_signal_handler_find (gpointer instance,
9602
 
            GSignalMatchType mask,
9603
 
            guint signal_id,
9604
 
            GQuark detail,
9605
 
            GClosure *closure,
9606
 
            gpointer func,
9607
 
            gpointer data);
9608
 
guint g_signal_handlers_block_matched (gpointer instance,
9609
 
            GSignalMatchType mask,
9610
 
            guint signal_id,
9611
 
            GQuark detail,
9612
 
            GClosure *closure,
9613
 
            gpointer func,
9614
 
            gpointer data);
9615
 
guint g_signal_handlers_unblock_matched (gpointer instance,
9616
 
            GSignalMatchType mask,
9617
 
            guint signal_id,
9618
 
            GQuark detail,
9619
 
            GClosure *closure,
9620
 
            gpointer func,
9621
 
            gpointer data);
9622
 
guint g_signal_handlers_disconnect_matched (gpointer instance,
9623
 
            GSignalMatchType mask,
9624
 
            guint signal_id,
9625
 
            GQuark detail,
9626
 
            GClosure *closure,
9627
 
            gpointer func,
9628
 
            gpointer data);
9629
 
 
9630
 
 
9631
 
 
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,
9641
 
                                               ...);
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,
9646
 
         gpointer dummy);
9647
 
 
9648
 
gboolean g_signal_accumulator_first_wins (GSignalInvocationHint *ihint,
9649
 
                                            GValue *return_accu,
9650
 
                                            const GValue *handler_return,
9651
 
                                            gpointer dummy);
9652
 
 
9653
 
 
9654
 
void g_signal_handlers_destroy (gpointer instance);
9655
 
void _g_signals_destroy (GType itype);
9656
 
 
9657
 
 
9658
 
# 31 "/usr/include/glib-2.0/gobject/gobject.h" 2
9659
 
 
9660
 
 
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,
9669
 
                                         guint property_id,
9670
 
                                         GValue *value,
9671
 
                                         GParamSpec *pspec);
9672
 
# 213 "/usr/include/glib-2.0/gobject/gobject.h"
9673
 
typedef void (*GObjectSetPropertyFunc) (GObject *object,
9674
 
                                         guint property_id,
9675
 
                                         const GValue *value,
9676
 
                                         GParamSpec *pspec);
9677
 
 
9678
 
 
9679
 
 
9680
 
 
9681
 
 
9682
 
 
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);
9687
 
 
9688
 
 
9689
 
 
9690
 
 
9691
 
 
9692
 
 
9693
 
struct _GObject
9694
 
{
9695
 
  GTypeInstance g_type_instance;
9696
 
 
9697
 
 
9698
 
  volatile guint ref_count;
9699
 
  GData *qdata;
9700
 
};
9701
 
# 312 "/usr/include/glib-2.0/gobject/gobject.h"
9702
 
struct _GObjectClass
9703
 
{
9704
 
  GTypeClass g_type_class;
9705
 
 
9706
 
 
9707
 
  GSList *construct_properties;
9708
 
 
9709
 
 
9710
 
 
9711
 
  GObject* (*constructor) (GType type,
9712
 
                                 guint n_construct_properties,
9713
 
                                 GObjectConstructParam *construct_properties);
9714
 
 
9715
 
  void (*set_property) (GObject *object,
9716
 
                                         guint property_id,
9717
 
                                         const GValue *value,
9718
 
                                         GParamSpec *pspec);
9719
 
  void (*get_property) (GObject *object,
9720
 
                                         guint property_id,
9721
 
                                         GValue *value,
9722
 
                                         GParamSpec *pspec);
9723
 
  void (*dispose) (GObject *object);
9724
 
  void (*finalize) (GObject *object);
9725
 
 
9726
 
  void (*dispatch_properties_changed) (GObject *object,
9727
 
          guint n_pspecs,
9728
 
          GParamSpec **pspecs);
9729
 
 
9730
 
  void (*notify) (GObject *object,
9731
 
      GParamSpec *pspec);
9732
 
 
9733
 
 
9734
 
  void (*constructed) (GObject *object);
9735
 
 
9736
 
 
9737
 
  gsize flags;
9738
 
 
9739
 
 
9740
 
  gpointer pdummy[6];
9741
 
};
9742
 
# 361 "/usr/include/glib-2.0/gobject/gobject.h"
9743
 
struct _GObjectConstructParam
9744
 
{
9745
 
  GParamSpec *pspec;
9746
 
  GValue *value;
9747
 
};
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,
9751
 
            guint property_id,
9752
 
            GParamSpec *pspec);
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,
9758
 
            guint property_id,
9759
 
            const gchar *name);
9760
 
void g_object_class_install_properties (GObjectClass *oclass,
9761
 
                                               guint n_pspecs,
9762
 
                                               GParamSpec **pspecs);
9763
 
 
9764
 
void g_object_interface_install_property (gpointer g_iface,
9765
 
       GParamSpec *pspec);
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);
9770
 
 
9771
 
GType g_object_get_type (void) __attribute__((__const__));
9772
 
gpointer g_object_new (GType object_type,
9773
 
            const gchar *first_property_name,
9774
 
            ...);
9775
 
gpointer g_object_newv (GType object_type,
9776
 
            guint n_parameters,
9777
 
            GParameter *parameters);
9778
 
GObject* g_object_new_valist (GType object_type,
9779
 
            const gchar *first_property_name,
9780
 
            va_list var_args);
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,
9795
 
            va_list var_args);
9796
 
void g_object_get_valist (GObject *object,
9797
 
            const gchar *first_property_name,
9798
 
            va_list var_args);
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,
9804
 
            GValue *value);
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,
9809
 
            GParamSpec *pspec);
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,
9816
 
            GWeakNotify notify,
9817
 
            gpointer data);
9818
 
void g_object_weak_unref (GObject *object,
9819
 
            GWeakNotify notify,
9820
 
            gpointer data);
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,
9827
 
          GObject *object,
9828
 
          gboolean is_last_ref);
9829
 
 
9830
 
void g_object_add_toggle_ref (GObject *object,
9831
 
     GToggleNotify notify,
9832
 
     gpointer data);
9833
 
void g_object_remove_toggle_ref (GObject *object,
9834
 
     GToggleNotify notify,
9835
 
     gpointer data);
9836
 
 
9837
 
gpointer g_object_get_qdata (GObject *object,
9838
 
            GQuark quark);
9839
 
void g_object_set_qdata (GObject *object,
9840
 
            GQuark quark,
9841
 
            gpointer data);
9842
 
void g_object_set_qdata_full (GObject *object,
9843
 
            GQuark quark,
9844
 
            gpointer data,
9845
 
            GDestroyNotify destroy);
9846
 
gpointer g_object_steal_qdata (GObject *object,
9847
 
            GQuark quark);
9848
 
gpointer g_object_get_data (GObject *object,
9849
 
            const gchar *key);
9850
 
void g_object_set_data (GObject *object,
9851
 
            const gchar *key,
9852
 
            gpointer data);
9853
 
void g_object_set_data_full (GObject *object,
9854
 
            const gchar *key,
9855
 
            gpointer data,
9856
 
            GDestroyNotify destroy);
9857
 
gpointer g_object_steal_data (GObject *object,
9858
 
            const gchar *key);
9859
 
void g_object_watch_closure (GObject *object,
9860
 
            GClosure *closure);
9861
 
GClosure* g_cclosure_new_object (GCallback callback_func,
9862
 
            GObject *object);
9863
 
GClosure* g_cclosure_new_object_swap (GCallback callback_func,
9864
 
            GObject *object);
9865
 
GClosure* g_closure_new_object (guint sizeof_closure,
9866
 
            GObject *object);
9867
 
void g_value_set_object (GValue *value,
9868
 
            gpointer v_object);
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,
9874
 
            gpointer gobject,
9875
 
            GConnectFlags connect_flags);
9876
 
 
9877
 
 
9878
 
void g_object_force_floating (GObject *object);
9879
 
void g_object_run_dispose (GObject *object);
9880
 
 
9881
 
 
9882
 
void g_value_take_object (GValue *value,
9883
 
            gpointer v_object);
9884
 
 
9885
 
void g_value_set_object_take_ownership (GValue *value,
9886
 
            gpointer v_object);
9887
 
 
9888
 
 
9889
 
 
9890
 
gsize g_object_compat_control (gsize what,
9891
 
            gpointer data);
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"
9895
 
 
9896
 
# 32 "/usr/include/glib-2.0/gobject/gbinding.h" 2
9897
 
 
9898
 
 
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"
9907
 
typedef enum {
9908
 
  G_BINDING_DEFAULT = 0,
9909
 
 
9910
 
  G_BINDING_BIDIRECTIONAL = 1 << 0,
9911
 
  G_BINDING_SYNC_CREATE = 1 << 1,
9912
 
  G_BINDING_INVERT_BOOLEAN = 1 << 2
9913
 
} GBindingFlags;
9914
 
 
9915
 
GType g_binding_flags_get_type (void) __attribute__((__const__));
9916
 
GType g_binding_get_type (void) __attribute__((__const__));
9917
 
 
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);
9923
 
 
9924
 
GBinding *g_object_bind_property (gpointer source,
9925
 
                                                const gchar *source_property,
9926
 
                                                gpointer target,
9927
 
                                                const gchar *target_property,
9928
 
                                                GBindingFlags flags);
9929
 
GBinding *g_object_bind_property_full (gpointer source,
9930
 
                                                const gchar *source_property,
9931
 
                                                gpointer target,
9932
 
                                                const gchar *target_property,
9933
 
                                                GBindingFlags flags,
9934
 
                                                GBindingTransformFunc transform_to,
9935
 
                                                GBindingTransformFunc transform_from,
9936
 
                                                gpointer user_data,
9937
 
                                                GDestroyNotify notify);
9938
 
GBinding *g_object_bind_property_with_closures (gpointer source,
9939
 
                                                const gchar *source_property,
9940
 
                                                gpointer target,
9941
 
                                                const gchar *target_property,
9942
 
                                                GBindingFlags flags,
9943
 
                                                GClosure *transform_to,
9944
 
                                                GClosure *transform_from);
9945
 
 
9946
 
 
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
9952
 
 
9953
 
 
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);
9958
 
 
9959
 
 
9960
 
 
9961
 
gpointer g_boxed_copy (GType boxed_type,
9962
 
       gconstpointer src_boxed);
9963
 
void g_boxed_free (GType boxed_type,
9964
 
       gpointer boxed);
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);
9971
 
 
9972
 
 
9973
 
 
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);
9980
 
 
9981
 
void g_value_set_boxed_take_ownership (GValue *value,
9982
 
       gconstpointer v_boxed);
9983
 
 
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__));
9998
 
 
9999
 
 
10000
 
GType g_variant_get_gtype (void) __attribute__((__const__));
10001
 
 
10002
 
 
10003
 
 
10004
 
 
10005
 
 
10006
 
 
10007
 
 
10008
 
typedef gchar** GStrv;
10009
 
 
10010
 
 
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
10016
 
 
10017
 
 
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"
10024
 
struct _GEnumClass
10025
 
{
10026
 
  GTypeClass g_type_class;
10027
 
 
10028
 
 
10029
 
  gint minimum;
10030
 
  gint maximum;
10031
 
  guint n_values;
10032
 
  GEnumValue *values;
10033
 
};
10034
 
# 178 "/usr/include/glib-2.0/gobject/genums.h"
10035
 
struct _GFlagsClass
10036
 
{
10037
 
  GTypeClass g_type_class;
10038
 
 
10039
 
 
10040
 
  guint mask;
10041
 
  guint n_values;
10042
 
  GFlagsValue *values;
10043
 
};
10044
 
# 196 "/usr/include/glib-2.0/gobject/genums.h"
10045
 
struct _GEnumValue
10046
 
{
10047
 
  gint value;
10048
 
  const gchar *value_name;
10049
 
  const gchar *value_nick;
10050
 
};
10051
 
# 211 "/usr/include/glib-2.0/gobject/genums.h"
10052
 
struct _GFlagsValue
10053
 
{
10054
 
  guint value;
10055
 
  const gchar *value_name;
10056
 
  const gchar *value_nick;
10057
 
};
10058
 
 
10059
 
 
10060
 
 
10061
 
GEnumValue* g_enum_get_value (GEnumClass *enum_class,
10062
 
       gint value);
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,
10068
 
       guint value);
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,
10074
 
       gint v_enum);
10075
 
gint g_value_get_enum (const GValue *value);
10076
 
void g_value_set_flags (GValue *value,
10077
 
       guint v_flags);
10078
 
guint g_value_get_flags (const GValue *value);
10079
 
 
10080
 
 
10081
 
 
10082
 
 
10083
 
 
10084
 
 
10085
 
 
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);
10090
 
 
10091
 
 
10092
 
 
10093
 
void g_enum_complete_type_info (GType g_enum_type,
10094
 
        GTypeInfo *info,
10095
 
        const GEnumValue *const_values);
10096
 
void g_flags_complete_type_info (GType g_flags_type,
10097
 
        GTypeInfo *info,
10098
 
        const GFlagsValue *const_values);
10099
 
 
10100
 
 
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
10116
 
 
10117
 
 
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
10144
 
{
10145
 
  GParamSpec parent_instance;
10146
 
 
10147
 
  gint8 minimum;
10148
 
  gint8 maximum;
10149
 
  gint8 default_value;
10150
 
};
10151
 
# 632 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10152
 
struct _GParamSpecUChar
10153
 
{
10154
 
  GParamSpec parent_instance;
10155
 
 
10156
 
  guint8 minimum;
10157
 
  guint8 maximum;
10158
 
  guint8 default_value;
10159
 
};
10160
 
 
10161
 
 
10162
 
 
10163
 
 
10164
 
 
10165
 
 
10166
 
 
10167
 
struct _GParamSpecBoolean
10168
 
{
10169
 
  GParamSpec parent_instance;
10170
 
 
10171
 
  gboolean default_value;
10172
 
};
10173
 
# 662 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10174
 
struct _GParamSpecInt
10175
 
{
10176
 
  GParamSpec parent_instance;
10177
 
 
10178
 
  gint minimum;
10179
 
  gint maximum;
10180
 
  gint default_value;
10181
 
};
10182
 
# 679 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10183
 
struct _GParamSpecUInt
10184
 
{
10185
 
  GParamSpec parent_instance;
10186
 
 
10187
 
  guint minimum;
10188
 
  guint maximum;
10189
 
  guint default_value;
10190
 
};
10191
 
# 696 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10192
 
struct _GParamSpecLong
10193
 
{
10194
 
  GParamSpec parent_instance;
10195
 
 
10196
 
  glong minimum;
10197
 
  glong maximum;
10198
 
  glong default_value;
10199
 
};
10200
 
# 713 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10201
 
struct _GParamSpecULong
10202
 
{
10203
 
  GParamSpec parent_instance;
10204
 
 
10205
 
  gulong minimum;
10206
 
  gulong maximum;
10207
 
  gulong default_value;
10208
 
};
10209
 
# 730 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10210
 
struct _GParamSpecInt64
10211
 
{
10212
 
  GParamSpec parent_instance;
10213
 
 
10214
 
  gint64 minimum;
10215
 
  gint64 maximum;
10216
 
  gint64 default_value;
10217
 
};
10218
 
# 747 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10219
 
struct _GParamSpecUInt64
10220
 
{
10221
 
  GParamSpec parent_instance;
10222
 
 
10223
 
  guint64 minimum;
10224
 
  guint64 maximum;
10225
 
  guint64 default_value;
10226
 
};
10227
 
 
10228
 
 
10229
 
 
10230
 
 
10231
 
 
10232
 
 
10233
 
 
10234
 
struct _GParamSpecUnichar
10235
 
{
10236
 
  GParamSpec parent_instance;
10237
 
 
10238
 
  gunichar default_value;
10239
 
};
10240
 
# 777 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10241
 
struct _GParamSpecEnum
10242
 
{
10243
 
  GParamSpec parent_instance;
10244
 
 
10245
 
  GEnumClass *enum_class;
10246
 
  gint default_value;
10247
 
};
10248
 
# 793 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10249
 
struct _GParamSpecFlags
10250
 
{
10251
 
  GParamSpec parent_instance;
10252
 
 
10253
 
  GFlagsClass *flags_class;
10254
 
  guint default_value;
10255
 
};
10256
 
# 811 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10257
 
struct _GParamSpecFloat
10258
 
{
10259
 
  GParamSpec parent_instance;
10260
 
 
10261
 
  gfloat minimum;
10262
 
  gfloat maximum;
10263
 
  gfloat default_value;
10264
 
  gfloat epsilon;
10265
 
};
10266
 
# 831 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10267
 
struct _GParamSpecDouble
10268
 
{
10269
 
  GParamSpec parent_instance;
10270
 
 
10271
 
  gdouble minimum;
10272
 
  gdouble maximum;
10273
 
  gdouble default_value;
10274
 
  gdouble epsilon;
10275
 
};
10276
 
# 853 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10277
 
struct _GParamSpecString
10278
 
{
10279
 
  GParamSpec parent_instance;
10280
 
 
10281
 
  gchar *default_value;
10282
 
  gchar *cset_first;
10283
 
  gchar *cset_nth;
10284
 
  gchar substitutor;
10285
 
  guint null_fold_if_empty : 1;
10286
 
  guint ensure_non_null : 1;
10287
 
};
10288
 
 
10289
 
 
10290
 
 
10291
 
 
10292
 
 
10293
 
 
10294
 
 
10295
 
struct _GParamSpecParam
10296
 
{
10297
 
  GParamSpec parent_instance;
10298
 
};
10299
 
 
10300
 
 
10301
 
 
10302
 
 
10303
 
 
10304
 
 
10305
 
struct _GParamSpecBoxed
10306
 
{
10307
 
  GParamSpec parent_instance;
10308
 
};
10309
 
 
10310
 
 
10311
 
 
10312
 
 
10313
 
 
10314
 
 
10315
 
struct _GParamSpecPointer
10316
 
{
10317
 
  GParamSpec parent_instance;
10318
 
};
10319
 
# 903 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10320
 
struct _GParamSpecValueArray
10321
 
{
10322
 
  GParamSpec parent_instance;
10323
 
  GParamSpec *element_spec;
10324
 
  guint fixed_n_elements;
10325
 
};
10326
 
 
10327
 
 
10328
 
 
10329
 
 
10330
 
 
10331
 
 
10332
 
struct _GParamSpecObject
10333
 
{
10334
 
  GParamSpec parent_instance;
10335
 
};
10336
 
# 933 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10337
 
struct _GParamSpecOverride
10338
 
{
10339
 
 
10340
 
  GParamSpec parent_instance;
10341
 
  GParamSpec *overridden;
10342
 
};
10343
 
# 948 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10344
 
struct _GParamSpecGType
10345
 
{
10346
 
  GParamSpec parent_instance;
10347
 
  GType is_a_type;
10348
 
};
10349
 
# 963 "/usr/include/glib-2.0/gobject/gparamspecs.h"
10350
 
struct _GParamSpecVariant
10351
 
{
10352
 
  GParamSpec parent_instance;
10353
 
  GVariantType *type;
10354
 
  GVariant *default_value;
10355
 
 
10356
 
 
10357
 
  gpointer padding[4];
10358
 
};
10359
 
 
10360
 
 
10361
 
GParamSpec* g_param_spec_char (const gchar *name,
10362
 
       const gchar *nick,
10363
 
       const gchar *blurb,
10364
 
       gint8 minimum,
10365
 
       gint8 maximum,
10366
 
       gint8 default_value,
10367
 
       GParamFlags flags);
10368
 
GParamSpec* g_param_spec_uchar (const gchar *name,
10369
 
       const gchar *nick,
10370
 
       const gchar *blurb,
10371
 
       guint8 minimum,
10372
 
       guint8 maximum,
10373
 
       guint8 default_value,
10374
 
       GParamFlags flags);
10375
 
GParamSpec* g_param_spec_boolean (const gchar *name,
10376
 
       const gchar *nick,
10377
 
       const gchar *blurb,
10378
 
       gboolean default_value,
10379
 
       GParamFlags flags);
10380
 
GParamSpec* g_param_spec_int (const gchar *name,
10381
 
       const gchar *nick,
10382
 
       const gchar *blurb,
10383
 
       gint minimum,
10384
 
       gint maximum,
10385
 
       gint default_value,
10386
 
       GParamFlags flags);
10387
 
GParamSpec* g_param_spec_uint (const gchar *name,
10388
 
       const gchar *nick,
10389
 
       const gchar *blurb,
10390
 
       guint minimum,
10391
 
       guint maximum,
10392
 
       guint default_value,
10393
 
       GParamFlags flags);
10394
 
GParamSpec* g_param_spec_long (const gchar *name,
10395
 
       const gchar *nick,
10396
 
       const gchar *blurb,
10397
 
       glong minimum,
10398
 
       glong maximum,
10399
 
       glong default_value,
10400
 
       GParamFlags flags);
10401
 
GParamSpec* g_param_spec_ulong (const gchar *name,
10402
 
       const gchar *nick,
10403
 
       const gchar *blurb,
10404
 
       gulong minimum,
10405
 
       gulong maximum,
10406
 
       gulong default_value,
10407
 
       GParamFlags flags);
10408
 
GParamSpec* g_param_spec_int64 (const gchar *name,
10409
 
       const gchar *nick,
10410
 
       const gchar *blurb,
10411
 
       gint64 minimum,
10412
 
       gint64 maximum,
10413
 
       gint64 default_value,
10414
 
       GParamFlags flags);
10415
 
GParamSpec* g_param_spec_uint64 (const gchar *name,
10416
 
       const gchar *nick,
10417
 
       const gchar *blurb,
10418
 
       guint64 minimum,
10419
 
       guint64 maximum,
10420
 
       guint64 default_value,
10421
 
       GParamFlags flags);
10422
 
GParamSpec* g_param_spec_unichar (const gchar *name,
10423
 
              const gchar *nick,
10424
 
              const gchar *blurb,
10425
 
              gunichar default_value,
10426
 
              GParamFlags flags);
10427
 
GParamSpec* g_param_spec_enum (const gchar *name,
10428
 
       const gchar *nick,
10429
 
       const gchar *blurb,
10430
 
       GType enum_type,
10431
 
       gint default_value,
10432
 
       GParamFlags flags);
10433
 
GParamSpec* g_param_spec_flags (const gchar *name,
10434
 
       const gchar *nick,
10435
 
       const gchar *blurb,
10436
 
       GType flags_type,
10437
 
       guint default_value,
10438
 
       GParamFlags flags);
10439
 
GParamSpec* g_param_spec_float (const gchar *name,
10440
 
       const gchar *nick,
10441
 
       const gchar *blurb,
10442
 
       gfloat minimum,
10443
 
       gfloat maximum,
10444
 
       gfloat default_value,
10445
 
       GParamFlags flags);
10446
 
GParamSpec* g_param_spec_double (const gchar *name,
10447
 
       const gchar *nick,
10448
 
       const gchar *blurb,
10449
 
       gdouble minimum,
10450
 
       gdouble maximum,
10451
 
       gdouble default_value,
10452
 
       GParamFlags flags);
10453
 
GParamSpec* g_param_spec_string (const gchar *name,
10454
 
       const gchar *nick,
10455
 
       const gchar *blurb,
10456
 
       const gchar *default_value,
10457
 
       GParamFlags flags);
10458
 
GParamSpec* g_param_spec_param (const gchar *name,
10459
 
       const gchar *nick,
10460
 
       const gchar *blurb,
10461
 
       GType param_type,
10462
 
       GParamFlags flags);
10463
 
GParamSpec* g_param_spec_boxed (const gchar *name,
10464
 
       const gchar *nick,
10465
 
       const gchar *blurb,
10466
 
       GType boxed_type,
10467
 
       GParamFlags flags);
10468
 
GParamSpec* g_param_spec_pointer (const gchar *name,
10469
 
       const gchar *nick,
10470
 
       const gchar *blurb,
10471
 
       GParamFlags flags);
10472
 
GParamSpec* g_param_spec_value_array (const gchar *name,
10473
 
       const gchar *nick,
10474
 
       const gchar *blurb,
10475
 
       GParamSpec *element_spec,
10476
 
       GParamFlags flags);
10477
 
GParamSpec* g_param_spec_object (const gchar *name,
10478
 
       const gchar *nick,
10479
 
       const gchar *blurb,
10480
 
       GType object_type,
10481
 
       GParamFlags flags);
10482
 
GParamSpec* g_param_spec_override (const gchar *name,
10483
 
       GParamSpec *overridden);
10484
 
GParamSpec* g_param_spec_gtype (const gchar *name,
10485
 
       const gchar *nick,
10486
 
       const gchar *blurb,
10487
 
       GType is_a_type,
10488
 
       GParamFlags flags);
10489
 
GParamSpec* g_param_spec_variant (const gchar *name,
10490
 
       const gchar *nick,
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;
10497
 
 
10498
 
 
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
10506
 
 
10507
 
 
10508
 
 
10509
 
void g_source_set_closure (GSource *source,
10510
 
      GClosure *closure);
10511
 
 
10512
 
void g_source_set_dummy_callback (GSource *source);
10513
 
 
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"
10517
 
 
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
10527
 
 
10528
 
 
10529
 
 
10530
 
typedef struct _GTypeModule GTypeModule;
10531
 
typedef struct _GTypeModuleClass GTypeModuleClass;
10532
 
# 48 "/usr/include/glib-2.0/gobject/gtypemodule.h"
10533
 
struct _GTypeModule
10534
 
{
10535
 
  GObject parent_instance;
10536
 
 
10537
 
  guint use_count;
10538
 
  GSList *type_infos;
10539
 
  GSList *interface_infos;
10540
 
 
10541
 
 
10542
 
  gchar *name;
10543
 
};
10544
 
# 70 "/usr/include/glib-2.0/gobject/gtypemodule.h"
10545
 
struct _GTypeModuleClass
10546
 
{
10547
 
  GObjectClass parent_class;
10548
 
 
10549
 
 
10550
 
  gboolean (* load) (GTypeModule *module);
10551
 
  void (* unload) (GTypeModule *module);
10552
 
 
10553
 
 
10554
 
 
10555
 
  void (*reserved1) (void);
10556
 
  void (*reserved2) (void);
10557
 
  void (*reserved3) (void);
10558
 
  void (*reserved4) (void);
10559
 
};
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,
10567
 
                                       GType parent_type,
10568
 
                                       const gchar *type_name,
10569
 
                                       const GTypeInfo *type_info,
10570
 
                                       GTypeFlags flags);
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,
10576
 
                                       const gchar *name,
10577
 
                                       const GEnumValue *const_static_values);
10578
 
GType g_type_module_register_flags (GTypeModule *module,
10579
 
                                       const gchar *name,
10580
 
                                       const GFlagsValue *const_static_values);
10581
 
 
10582
 
 
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
10588
 
 
10589
 
 
10590
 
# 40 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
10591
 
typedef struct _GTypePluginClass GTypePluginClass;
10592
 
 
10593
 
 
10594
 
 
10595
 
 
10596
 
 
10597
 
 
10598
 
 
10599
 
typedef void (*GTypePluginUse) (GTypePlugin *plugin);
10600
 
 
10601
 
 
10602
 
 
10603
 
 
10604
 
 
10605
 
 
10606
 
typedef void (*GTypePluginUnuse) (GTypePlugin *plugin);
10607
 
# 65 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
10608
 
typedef void (*GTypePluginCompleteTypeInfo) (GTypePlugin *plugin,
10609
 
         GType g_type,
10610
 
         GTypeInfo *info,
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
10619
 
{
10620
 
 
10621
 
  GTypeInterface base_iface;
10622
 
 
10623
 
 
10624
 
  GTypePluginUse use_plugin;
10625
 
  GTypePluginUnuse unuse_plugin;
10626
 
  GTypePluginCompleteTypeInfo complete_type_info;
10627
 
  GTypePluginCompleteInterfaceInfo complete_interface_info;
10628
 
};
10629
 
 
10630
 
 
10631
 
 
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,
10636
 
       GType g_type,
10637
 
       GTypeInfo *info,
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);
10643
 
 
10644
 
 
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
10652
 
 
10653
 
 
10654
 
 
10655
 
 
10656
 
 
10657
 
 
10658
 
typedef struct _GValueArray GValueArray;
10659
 
 
10660
 
 
10661
 
 
10662
 
 
10663
 
 
10664
 
 
10665
 
 
10666
 
struct _GValueArray
10667
 
{
10668
 
  guint n_values;
10669
 
  GValue *values;
10670
 
 
10671
 
 
10672
 
  guint n_prealloced;
10673
 
};
10674
 
 
10675
 
 
10676
 
 
10677
 
GValue* g_value_array_get_nth (GValueArray *value_array,
10678
 
           guint index_);
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,
10687
 
           guint index_,
10688
 
           const GValue *value);
10689
 
GValueArray* g_value_array_remove (GValueArray *value_array,
10690
 
           guint index_);
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);
10696
 
 
10697
 
 
10698
 
 
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
10704
 
 
10705
 
 
10706
 
# 180 "/usr/include/glib-2.0/gobject/gvaluetypes.h"
10707
 
void g_value_set_char (GValue *value,
10708
 
       gchar v_char);
10709
 
gchar g_value_get_char (const GValue *value);
10710
 
void g_value_set_uchar (GValue *value,
10711
 
       guchar v_uchar);
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,
10717
 
       gint v_int);
10718
 
gint g_value_get_int (const GValue *value);
10719
 
void g_value_set_uint (GValue *value,
10720
 
       guint v_uint);
10721
 
guint g_value_get_uint (const GValue *value);
10722
 
void g_value_set_long (GValue *value,
10723
 
       glong v_long);
10724
 
glong g_value_get_long (const GValue *value);
10725
 
void g_value_set_ulong (GValue *value,
10726
 
       gulong v_ulong);
10727
 
gulong g_value_get_ulong (const GValue *value);
10728
 
void g_value_set_int64 (GValue *value,
10729
 
       gint64 v_int64);
10730
 
gint64 g_value_get_int64 (const GValue *value);
10731
 
void g_value_set_uint64 (GValue *value,
10732
 
       guint64 v_uint64);
10733
 
guint64 g_value_get_uint64 (const GValue *value);
10734
 
void g_value_set_float (GValue *value,
10735
 
       gfloat v_float);
10736
 
gfloat g_value_get_float (const GValue *value);
10737
 
void g_value_set_double (GValue *value,
10738
 
       gdouble v_double);
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,
10751
 
       GType v_gtype);
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);
10759
 
 
10760
 
 
10761
 
 
10762
 
GType g_pointer_type_register_static (const gchar *name);
10763
 
 
10764
 
 
10765
 
gchar* g_strdup_value_contents (const GValue *value);
10766
 
 
10767
 
 
10768
 
void g_value_take_string (GValue *value,
10769
 
       gchar *v_string);
10770
 
 
10771
 
void g_value_set_string_take_ownership (GValue *value,
10772
 
       gchar *v_string);
10773
 
# 255 "/usr/include/glib-2.0/gobject/gvaluetypes.h"
10774
 
typedef gchar* gchararray;
10775
 
 
10776
 
 
10777
 
 
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
10786
 
 
10787
 
 
10788
 
 
10789
 
 
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
10793
 
struct _IO_FILE;
10794
 
 
10795
 
 
10796
 
 
10797
 
typedef struct _IO_FILE FILE;
10798
 
 
10799
 
 
10800
 
 
10801
 
 
10802
 
 
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
10812
 
 
10813
 
 
10814
 
 
10815
 
 
10816
 
# 1 "/usr/include/wchar.h" 1 3 4
10817
 
# 83 "/usr/include/wchar.h" 3 4
10818
 
typedef struct
10819
 
{
10820
 
  int __count;
10821
 
  union
10822
 
  {
10823
 
 
10824
 
    unsigned int __wch;
10825
 
 
10826
 
 
10827
 
 
10828
 
    char __wchb[4];
10829
 
  } __value;
10830
 
} __mbstate_t;
10831
 
# 21 "/usr/include/_G_config.h" 2 3 4
10832
 
 
10833
 
typedef struct
10834
 
{
10835
 
  __off_t __pos;
10836
 
  __mbstate_t __state;
10837
 
} _G_fpos_t;
10838
 
typedef struct
10839
 
{
10840
 
  __off64_t __pos;
10841
 
  __mbstate_t __state;
10842
 
} _G_fpos64_t;
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;
10853
 
 
10854
 
 
10855
 
 
10856
 
 
10857
 
 
10858
 
struct _IO_marker {
10859
 
  struct _IO_marker *_next;
10860
 
  struct _IO_FILE *_sbuf;
10861
 
 
10862
 
 
10863
 
 
10864
 
  int _pos;
10865
 
# 203 "/usr/include/libio.h" 3 4
10866
 
};
10867
 
 
10868
 
 
10869
 
enum __codecvt_result
10870
 
{
10871
 
  __codecvt_ok,
10872
 
  __codecvt_partial,
10873
 
  __codecvt_error,
10874
 
  __codecvt_noconv
10875
 
};
10876
 
# 271 "/usr/include/libio.h" 3 4
10877
 
struct _IO_FILE {
10878
 
  int _flags;
10879
 
 
10880
 
 
10881
 
 
10882
 
 
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;
10890
 
  char* _IO_buf_end;
10891
 
 
10892
 
  char *_IO_save_base;
10893
 
  char *_IO_backup_base;
10894
 
  char *_IO_save_end;
10895
 
 
10896
 
  struct _IO_marker *_markers;
10897
 
 
10898
 
  struct _IO_FILE *_chain;
10899
 
 
10900
 
  int _fileno;
10901
 
 
10902
 
 
10903
 
 
10904
 
  int _flags2;
10905
 
 
10906
 
  __off_t _old_offset;
10907
 
 
10908
 
 
10909
 
 
10910
 
  unsigned short _cur_column;
10911
 
  signed char _vtable_offset;
10912
 
  char _shortbuf[1];
10913
 
 
10914
 
 
10915
 
 
10916
 
  _IO_lock_t *_lock;
10917
 
# 319 "/usr/include/libio.h" 3 4
10918
 
  __off64_t _offset;
10919
 
# 328 "/usr/include/libio.h" 3 4
10920
 
  void *__pad1;
10921
 
  void *__pad2;
10922
 
  void *__pad3;
10923
 
  void *__pad4;
10924
 
  size_t __pad5;
10925
 
 
10926
 
  int _mode;
10927
 
 
10928
 
  char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
10929
 
 
10930
 
};
10931
 
 
10932
 
 
10933
 
typedef struct _IO_FILE _IO_FILE;
10934
 
 
10935
 
 
10936
 
struct _IO_FILE_plus;
10937
 
 
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);
10943
 
 
10944
 
 
10945
 
 
10946
 
 
10947
 
 
10948
 
 
10949
 
 
10950
 
typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
10951
 
     size_t __n);
10952
 
 
10953
 
 
10954
 
 
10955
 
 
10956
 
 
10957
 
 
10958
 
 
10959
 
typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
10960
 
 
10961
 
 
10962
 
typedef int __io_close_fn (void *__cookie);
10963
 
 
10964
 
 
10965
 
 
10966
 
 
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;
10971
 
 
10972
 
 
10973
 
typedef struct
10974
 
{
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;
10981
 
 
10982
 
struct _IO_cookie_file;
10983
 
 
10984
 
 
10985
 
extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write,
10986
 
        void *__cookie, _IO_cookie_io_functions_t __fns);
10987
 
 
10988
 
 
10989
 
 
10990
 
 
10991
 
 
10992
 
 
10993
 
 
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__));
11002
 
 
11003
 
extern int _IO_peekc_locked (_IO_FILE *__fp);
11004
 
 
11005
 
 
11006
 
 
11007
 
 
11008
 
 
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,
11016
 
    __gnuc_va_list);
11017
 
extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
11018
 
extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
11019
 
 
11020
 
extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
11021
 
extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
11022
 
 
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;
11027
 
 
11028
 
 
11029
 
 
11030
 
 
11031
 
 
11032
 
 
11033
 
typedef __off64_t off64_t;
11034
 
 
11035
 
 
11036
 
 
11037
 
 
11038
 
typedef __ssize_t ssize_t;
11039
 
 
11040
 
 
11041
 
 
11042
 
 
11043
 
 
11044
 
 
11045
 
 
11046
 
typedef _G_fpos_t fpos_t;
11047
 
 
11048
 
 
11049
 
 
11050
 
 
11051
 
 
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
11056
 
 
11057
 
 
11058
 
 
11059
 
extern struct _IO_FILE *stdin;
11060
 
extern struct _IO_FILE *stdout;
11061
 
extern struct _IO_FILE *stderr;
11062
 
 
11063
 
 
11064
 
 
11065
 
 
11066
 
 
11067
 
 
11068
 
 
11069
 
extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
11070
 
 
11071
 
extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
11072
 
 
11073
 
 
11074
 
 
11075
 
 
11076
 
extern int renameat (int __oldfd, __const char *__old, int __newfd,
11077
 
       __const char *__new) __attribute__ ((__nothrow__));
11078
 
 
11079
 
 
11080
 
 
11081
 
 
11082
 
 
11083
 
 
11084
 
 
11085
 
 
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__));
11089
 
 
11090
 
 
11091
 
 
11092
 
extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11093
 
 
11094
 
 
11095
 
 
11096
 
 
11097
 
 
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__));
11102
 
 
11103
 
 
11104
 
 
11105
 
 
11106
 
 
11107
 
 
11108
 
 
11109
 
 
11110
 
extern int fclose (FILE *__stream);
11111
 
 
11112
 
 
11113
 
 
11114
 
 
11115
 
extern int fflush (FILE *__stream);
11116
 
 
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);
11121
 
 
11122
 
 
11123
 
 
11124
 
 
11125
 
 
11126
 
 
11127
 
 
11128
 
 
11129
 
 
11130
 
extern FILE *fopen (__const char *__restrict __filename,
11131
 
      __const char *__restrict __modes) __attribute__ ((__warn_unused_result__));
11132
 
 
11133
 
 
11134
 
 
11135
 
 
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
11140
 
 
11141
 
 
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__));
11147
 
 
11148
 
 
11149
 
 
11150
 
 
11151
 
extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11152
 
 
11153
 
 
11154
 
 
11155
 
 
11156
 
 
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__));
11160
 
 
11161
 
 
11162
 
 
11163
 
 
11164
 
extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
11165
 
  __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11166
 
 
11167
 
 
11168
 
 
11169
 
 
11170
 
extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11171
 
 
11172
 
 
11173
 
 
11174
 
 
11175
 
 
11176
 
 
11177
 
extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
11178
 
 
11179
 
 
11180
 
 
11181
 
extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
11182
 
      int __modes, size_t __n) __attribute__ ((__nothrow__));
11183
 
 
11184
 
 
11185
 
 
11186
 
 
11187
 
 
11188
 
extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
11189
 
         size_t __size) __attribute__ ((__nothrow__));
11190
 
 
11191
 
 
11192
 
extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
11193
 
 
11194
 
 
11195
 
 
11196
 
 
11197
 
 
11198
 
 
11199
 
 
11200
 
 
11201
 
extern int fprintf (FILE *__restrict __stream,
11202
 
      __const char *__restrict __format, ...);
11203
 
 
11204
 
 
11205
 
 
11206
 
 
11207
 
extern int printf (__const char *__restrict __format, ...);
11208
 
 
11209
 
extern int sprintf (char *__restrict __s,
11210
 
      __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
11211
 
 
11212
 
 
11213
 
 
11214
 
 
11215
 
 
11216
 
extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
11217
 
       __gnuc_va_list __arg);
11218
 
 
11219
 
 
11220
 
 
11221
 
 
11222
 
extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
11223
 
 
11224
 
extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
11225
 
       __gnuc_va_list __arg) __attribute__ ((__nothrow__));
11226
 
 
11227
 
 
11228
 
 
11229
 
 
11230
 
 
11231
 
extern int snprintf (char *__restrict __s, size_t __maxlen,
11232
 
       __const char *__restrict __format, ...)
11233
 
     __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
11234
 
 
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)));
11238
 
 
11239
 
 
11240
 
 
11241
 
 
11242
 
 
11243
 
 
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)));
11259
 
 
11260
 
 
11261
 
 
11262
 
 
11263
 
 
11264
 
 
11265
 
 
11266
 
 
11267
 
extern int fscanf (FILE *__restrict __stream,
11268
 
     __const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
11269
 
 
11270
 
 
11271
 
 
11272
 
 
11273
 
extern int scanf (__const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
11274
 
 
11275
 
extern int sscanf (__const char *__restrict __s,
11276
 
     __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
11277
 
# 465 "/usr/include/stdio.h" 3 4
11278
 
 
11279
 
 
11280
 
 
11281
 
 
11282
 
 
11283
 
 
11284
 
 
11285
 
 
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__));
11289
 
 
11290
 
 
11291
 
 
11292
 
 
11293
 
 
11294
 
extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
11295
 
     __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__));
11296
 
 
11297
 
 
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
11302
 
 
11303
 
 
11304
 
 
11305
 
 
11306
 
 
11307
 
 
11308
 
 
11309
 
 
11310
 
 
11311
 
extern int fgetc (FILE *__stream);
11312
 
extern int getc (FILE *__stream);
11313
 
 
11314
 
 
11315
 
 
11316
 
 
11317
 
 
11318
 
extern int getchar (void);
11319
 
 
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);
11325
 
 
11326
 
 
11327
 
 
11328
 
 
11329
 
 
11330
 
 
11331
 
 
11332
 
 
11333
 
 
11334
 
 
11335
 
 
11336
 
extern int fputc (int __c, FILE *__stream);
11337
 
extern int putc (int __c, FILE *__stream);
11338
 
 
11339
 
 
11340
 
 
11341
 
 
11342
 
 
11343
 
extern int putchar (int __c);
11344
 
 
11345
 
# 596 "/usr/include/stdio.h" 3 4
11346
 
extern int fputc_unlocked (int __c, FILE *__stream);
11347
 
 
11348
 
 
11349
 
 
11350
 
 
11351
 
 
11352
 
 
11353
 
 
11354
 
extern int putc_unlocked (int __c, FILE *__stream);
11355
 
extern int putchar_unlocked (int __c);
11356
 
 
11357
 
 
11358
 
 
11359
 
 
11360
 
 
11361
 
 
11362
 
extern int getw (FILE *__stream);
11363
 
 
11364
 
 
11365
 
extern int putw (int __w, FILE *__stream);
11366
 
 
11367
 
 
11368
 
 
11369
 
 
11370
 
 
11371
 
 
11372
 
 
11373
 
 
11374
 
extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
11375
 
     __attribute__ ((__warn_unused_result__));
11376
 
 
11377
 
 
11378
 
 
11379
 
 
11380
 
 
11381
 
 
11382
 
extern char *gets (char *__s) __attribute__ ((__warn_unused_result__));
11383
 
 
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__));
11394
 
 
11395
 
 
11396
 
 
11397
 
 
11398
 
 
11399
 
 
11400
 
 
11401
 
extern __ssize_t getline (char **__restrict __lineptr,
11402
 
       size_t *__restrict __n,
11403
 
       FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
11404
 
 
11405
 
 
11406
 
 
11407
 
 
11408
 
 
11409
 
 
11410
 
 
11411
 
 
11412
 
extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
11413
 
 
11414
 
 
11415
 
 
11416
 
 
11417
 
 
11418
 
extern int puts (__const char *__s);
11419
 
 
11420
 
 
11421
 
 
11422
 
 
11423
 
 
11424
 
 
11425
 
extern int ungetc (int __c, FILE *__stream);
11426
 
 
11427
 
 
11428
 
 
11429
 
 
11430
 
 
11431
 
 
11432
 
extern size_t fread (void *__restrict __ptr, size_t __size,
11433
 
       size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
11434
 
 
11435
 
 
11436
 
 
11437
 
 
11438
 
extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
11439
 
        size_t __n, FILE *__restrict __s);
11440
 
 
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);
11449
 
 
11450
 
 
11451
 
 
11452
 
 
11453
 
 
11454
 
 
11455
 
 
11456
 
 
11457
 
extern int fseek (FILE *__stream, long int __off, int __whence);
11458
 
 
11459
 
 
11460
 
 
11461
 
 
11462
 
extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__));
11463
 
 
11464
 
 
11465
 
 
11466
 
 
11467
 
extern void rewind (FILE *__stream);
11468
 
 
11469
 
# 766 "/usr/include/stdio.h" 3 4
11470
 
extern int fseeko (FILE *__stream, __off_t __off, int __whence);
11471
 
 
11472
 
 
11473
 
 
11474
 
 
11475
 
extern __off_t ftello (FILE *__stream) __attribute__ ((__warn_unused_result__));
11476
 
# 785 "/usr/include/stdio.h" 3 4
11477
 
 
11478
 
 
11479
 
 
11480
 
 
11481
 
 
11482
 
 
11483
 
extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
11484
 
 
11485
 
 
11486
 
 
11487
 
 
11488
 
extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
11489
 
# 808 "/usr/include/stdio.h" 3 4
11490
 
 
11491
 
 
11492
 
 
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);
11497
 
 
11498
 
 
11499
 
 
11500
 
 
11501
 
extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
11502
 
 
11503
 
extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11504
 
 
11505
 
extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11506
 
 
11507
 
 
11508
 
 
11509
 
 
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__));
11513
 
 
11514
 
 
11515
 
 
11516
 
 
11517
 
 
11518
 
 
11519
 
 
11520
 
 
11521
 
extern void perror (__const char *__s);
11522
 
 
11523
 
 
11524
 
 
11525
 
 
11526
 
 
11527
 
 
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[];
11532
 
 
11533
 
 
11534
 
extern int _sys_nerr;
11535
 
extern __const char *__const _sys_errlist[];
11536
 
# 847 "/usr/include/stdio.h" 2 3 4
11537
 
 
11538
 
 
11539
 
 
11540
 
 
11541
 
extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11542
 
 
11543
 
 
11544
 
 
11545
 
 
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__));
11549
 
 
11550
 
 
11551
 
 
11552
 
 
11553
 
 
11554
 
extern int pclose (FILE *__stream);
11555
 
 
11556
 
 
11557
 
 
11558
 
 
11559
 
 
11560
 
extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
11561
 
 
11562
 
 
11563
 
 
11564
 
 
11565
 
 
11566
 
extern char *cuserid (char *__s);
11567
 
 
11568
 
 
11569
 
 
11570
 
 
11571
 
struct obstack;
11572
 
 
11573
 
 
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)));
11581
 
 
11582
 
 
11583
 
 
11584
 
 
11585
 
 
11586
 
 
11587
 
 
11588
 
extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
11589
 
 
11590
 
 
11591
 
 
11592
 
extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
11593
 
 
11594
 
 
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
11600
 
getchar (void)
11601
 
{
11602
 
  return _IO_getc (stdin);
11603
 
}
11604
 
 
11605
 
 
11606
 
 
11607
 
 
11608
 
extern __inline int
11609
 
fgetc_unlocked (FILE *__fp)
11610
 
{
11611
 
  return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
11612
 
}
11613
 
 
11614
 
 
11615
 
 
11616
 
 
11617
 
 
11618
 
extern __inline int
11619
 
getc_unlocked (FILE *__fp)
11620
 
{
11621
 
  return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
11622
 
}
11623
 
 
11624
 
 
11625
 
extern __inline int
11626
 
getchar_unlocked (void)
11627
 
{
11628
 
  return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
11629
 
}
11630
 
 
11631
 
 
11632
 
 
11633
 
 
11634
 
extern __inline int
11635
 
putchar (int __c)
11636
 
{
11637
 
  return _IO_putc (__c, stdout);
11638
 
}
11639
 
 
11640
 
 
11641
 
 
11642
 
 
11643
 
extern __inline int
11644
 
fputc_unlocked (int __c, FILE *__stream)
11645
 
{
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)));
11647
 
}
11648
 
 
11649
 
 
11650
 
 
11651
 
 
11652
 
 
11653
 
extern __inline int
11654
 
putc_unlocked (int __c, FILE *__stream)
11655
 
{
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)));
11657
 
}
11658
 
 
11659
 
 
11660
 
extern __inline int
11661
 
putchar_unlocked (int __c)
11662
 
{
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)));
11664
 
}
11665
 
 
11666
 
 
11667
 
 
11668
 
 
11669
 
 
11670
 
extern __inline __ssize_t
11671
 
getline (char **__lineptr, size_t *__n, FILE *__stream)
11672
 
{
11673
 
  return __getdelim (__lineptr, __n, '\n', __stream);
11674
 
}
11675
 
 
11676
 
 
11677
 
 
11678
 
 
11679
 
 
11680
 
extern __inline int
11681
 
__attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream)
11682
 
{
11683
 
  return (((__stream)->_flags & 0x10) != 0);
11684
 
}
11685
 
 
11686
 
 
11687
 
extern __inline int
11688
 
__attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream)
11689
 
{
11690
 
  return (((__stream)->_flags & 0x20) != 0);
11691
 
}
11692
 
# 928 "/usr/include/stdio.h" 2 3 4
11693
 
 
11694
 
 
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__));
11702
 
 
11703
 
 
11704
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11705
 
__attribute__ ((__nothrow__)) sprintf (char *__restrict __s, __const char *__restrict __fmt, ...)
11706
 
{
11707
 
  return __builtin___sprintf_chk (__s, 2 - 1,
11708
 
      __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ());
11709
 
}
11710
 
 
11711
 
 
11712
 
 
11713
 
 
11714
 
 
11715
 
 
11716
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11717
 
__attribute__ ((__nothrow__)) vsprintf (char *__restrict __s, __const char *__restrict __fmt, __gnuc_va_list __ap)
11718
 
 
11719
 
{
11720
 
  return __builtin___vsprintf_chk (__s, 2 - 1,
11721
 
       __builtin_object_size (__s, 2 > 1), __fmt, __ap);
11722
 
}
11723
 
 
11724
 
 
11725
 
 
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__));
11732
 
 
11733
 
 
11734
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11735
 
__attribute__ ((__nothrow__)) snprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, ...)
11736
 
 
11737
 
{
11738
 
  return __builtin___snprintf_chk (__s, __n, 2 - 1,
11739
 
       __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ());
11740
 
}
11741
 
 
11742
 
 
11743
 
 
11744
 
 
11745
 
 
11746
 
 
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)
11749
 
 
11750
 
{
11751
 
  return __builtin___vsnprintf_chk (__s, __n, 2 - 1,
11752
 
        __builtin_object_size (__s, 2 > 1), __fmt, __ap);
11753
 
}
11754
 
 
11755
 
 
11756
 
 
11757
 
 
11758
 
 
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);
11766
 
 
11767
 
 
11768
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11769
 
fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...)
11770
 
{
11771
 
  return __fprintf_chk (__stream, 2 - 1, __fmt,
11772
 
   __builtin_va_arg_pack ());
11773
 
}
11774
 
 
11775
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11776
 
printf (__const char *__restrict __fmt, ...)
11777
 
{
11778
 
  return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ());
11779
 
}
11780
 
 
11781
 
 
11782
 
 
11783
 
 
11784
 
 
11785
 
 
11786
 
 
11787
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11788
 
vprintf (__const char *__restrict __fmt, __gnuc_va_list __ap)
11789
 
{
11790
 
 
11791
 
  return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap);
11792
 
 
11793
 
 
11794
 
 
11795
 
}
11796
 
 
11797
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11798
 
vfprintf (FILE *__restrict __stream,
11799
 
   __const char *__restrict __fmt, __gnuc_va_list __ap)
11800
 
{
11801
 
  return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap);
11802
 
}
11803
 
 
11804
 
 
11805
 
 
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,
11819
 
     ...)
11820
 
     __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
11821
 
extern int __obstack_vprintf_chk (struct obstack *__restrict __obstack,
11822
 
      int __flag,
11823
 
      __const char *__restrict __format,
11824
 
      __gnuc_va_list __args)
11825
 
     __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
11826
 
 
11827
 
 
11828
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11829
 
__attribute__ ((__nothrow__)) asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...)
11830
 
{
11831
 
  return __asprintf_chk (__ptr, 2 - 1, __fmt,
11832
 
    __builtin_va_arg_pack ());
11833
 
}
11834
 
 
11835
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11836
 
__attribute__ ((__nothrow__)) __asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...)
11837
 
 
11838
 
{
11839
 
  return __asprintf_chk (__ptr, 2 - 1, __fmt,
11840
 
    __builtin_va_arg_pack ());
11841
 
}
11842
 
 
11843
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11844
 
dprintf (int __fd, __const char *__restrict __fmt, ...)
11845
 
{
11846
 
  return __dprintf_chk (__fd, 2 - 1, __fmt,
11847
 
   __builtin_va_arg_pack ());
11848
 
}
11849
 
 
11850
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11851
 
__attribute__ ((__nothrow__)) obstack_printf (struct obstack *__restrict __obstack, __const char *__restrict __fmt, ...)
11852
 
 
11853
 
{
11854
 
  return __obstack_printf_chk (__obstack, 2 - 1, __fmt,
11855
 
          __builtin_va_arg_pack ());
11856
 
}
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)
11860
 
 
11861
 
{
11862
 
  return __vasprintf_chk (__ptr, 2 - 1, __fmt, __ap);
11863
 
}
11864
 
 
11865
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
11866
 
vdprintf (int __fd, __const char *__restrict __fmt, __gnuc_va_list __ap)
11867
 
{
11868
 
  return __vdprintf_chk (__fd, 2 - 1, __fmt, __ap);
11869
 
}
11870
 
 
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)
11873
 
 
11874
 
{
11875
 
  return __obstack_vprintf_chk (__obstack, 2 - 1, __fmt,
11876
 
    __ap);
11877
 
}
11878
 
 
11879
 
 
11880
 
 
11881
 
 
11882
 
 
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")))
11886
 
                               ;
11887
 
 
11888
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
11889
 
gets (char *__str)
11890
 
{
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);
11894
 
}
11895
 
 
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")
11899
 
 
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")
11902
 
 
11903
 
 
11904
 
     __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer")))
11905
 
                                 ;
11906
 
 
11907
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
11908
 
fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
11909
 
{
11910
 
  if (__builtin_object_size (__s, 2 > 1) != (size_t) -1)
11911
 
    {
11912
 
      if (!__builtin_constant_p (__n) || __n <= 0)
11913
 
 return __fgets_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
11914
 
 
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);
11917
 
    }
11918
 
  return __fgets_alias (__s, __n, __stream);
11919
 
}
11920
 
 
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")
11925
 
 
11926
 
 
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")
11929
 
 
11930
 
 
11931
 
 
11932
 
 
11933
 
     __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer")))
11934
 
                                 ;
11935
 
 
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)
11939
 
{
11940
 
  if (__builtin_object_size (__ptr, 0) != (size_t) -1)
11941
 
    {
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);
11946
 
 
11947
 
      if (__size * __n > __builtin_object_size (__ptr, 0))
11948
 
 return __fread_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream);
11949
 
    }
11950
 
  return __fread_alias (__ptr, __size, __n, __stream);
11951
 
}
11952
 
 
11953
 
 
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")
11957
 
 
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")
11960
 
 
11961
 
 
11962
 
     __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets_unlocked called with bigger size than length " "of destination buffer")))
11963
 
                                 ;
11964
 
 
11965
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
11966
 
fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream)
11967
 
{
11968
 
  if (__builtin_object_size (__s, 2 > 1) != (size_t) -1)
11969
 
    {
11970
 
      if (!__builtin_constant_p (__n) || __n <= 0)
11971
 
 return __fgets_unlocked_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
11972
 
 
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);
11975
 
    }
11976
 
  return __fgets_unlocked_alias (__s, __n, __stream);
11977
 
}
11978
 
 
11979
 
 
11980
 
 
11981
 
 
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")
11986
 
 
11987
 
 
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")
11990
 
 
11991
 
 
11992
 
 
11993
 
 
11994
 
     __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer")))
11995
 
                                        ;
11996
 
 
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)
12000
 
{
12001
 
  if (__builtin_object_size (__ptr, 0) != (size_t) -1)
12002
 
    {
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,
12007
 
         __stream);
12008
 
 
12009
 
      if (__size * __n > __builtin_object_size (__ptr, 0))
12010
 
 return __fread_unlocked_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n,
12011
 
       __stream);
12012
 
    }
12013
 
 
12014
 
 
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)
12019
 
    {
12020
 
      size_t __cnt = __size * __n;
12021
 
      char *__cptr = (char *) __ptr;
12022
 
      if (__cnt == 0)
12023
 
 return 0;
12024
 
 
12025
 
      for (; __cnt > 0; --__cnt)
12026
 
 {
12027
 
   int __c = (__builtin_expect (((__stream)->_IO_read_ptr >= (__stream)->_IO_read_end), 0) ? __uflow (__stream) : *(unsigned char *) (__stream)->_IO_read_ptr++);
12028
 
   if (__c == (-1))
12029
 
     break;
12030
 
   *__cptr++ = __c;
12031
 
 }
12032
 
      return (__cptr - (char *) __ptr) / __size;
12033
 
    }
12034
 
 
12035
 
  return __fread_unlocked_alias (__ptr, __size, __n, __stream);
12036
 
}
12037
 
# 931 "/usr/include/stdio.h" 2 3 4
12038
 
 
12039
 
 
12040
 
 
12041
 
 
12042
 
 
12043
 
 
12044
 
# 25 "/usr/include/glib-2.0/glib/gprintf.h" 2
12045
 
 
12046
 
 
12047
 
 
12048
 
 
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)));
12057
 
 
12058
 
gint g_vprintf (gchar const *format,
12059
 
                                   va_list args);
12060
 
gint g_vfprintf (FILE *file,
12061
 
       gchar const *format,
12062
 
       va_list args);
12063
 
gint g_vsprintf (gchar *string,
12064
 
       gchar const *format,
12065
 
       va_list args);
12066
 
gint g_vasprintf (gchar **string,
12067
 
       gchar const *format,
12068
 
       va_list args);
12069
 
 
12070
 
 
12071
 
# 25 "/usr/include/glib-2.0/glib/gstdio.h" 2
12072
 
 
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;
12076
 
 
12077
 
 
12078
 
 
12079
 
 
12080
 
typedef __gid_t gid_t;
12081
 
 
12082
 
 
12083
 
 
12084
 
 
12085
 
 
12086
 
typedef __ino_t ino_t;
12087
 
 
12088
 
 
12089
 
 
12090
 
 
12091
 
 
12092
 
 
12093
 
 
12094
 
typedef __mode_t mode_t;
12095
 
 
12096
 
 
12097
 
 
12098
 
 
12099
 
typedef __nlink_t nlink_t;
12100
 
# 92 "/usr/include/sys/stat.h" 3 4
12101
 
typedef __blkcnt_t blkcnt_t;
12102
 
 
12103
 
 
12104
 
 
12105
 
 
12106
 
 
12107
 
 
12108
 
 
12109
 
typedef __blksize_t blksize_t;
12110
 
 
12111
 
 
12112
 
 
12113
 
 
12114
 
 
12115
 
 
12116
 
# 1 "/usr/include/bits/stat.h" 1 3 4
12117
 
# 46 "/usr/include/bits/stat.h" 3 4
12118
 
struct stat
12119
 
  {
12120
 
    __dev_t st_dev;
12121
 
 
12122
 
    unsigned short int __pad1;
12123
 
 
12124
 
 
12125
 
    __ino_t st_ino;
12126
 
 
12127
 
 
12128
 
 
12129
 
 
12130
 
    __mode_t st_mode;
12131
 
    __nlink_t st_nlink;
12132
 
 
12133
 
 
12134
 
 
12135
 
 
12136
 
    __uid_t st_uid;
12137
 
    __gid_t st_gid;
12138
 
 
12139
 
 
12140
 
 
12141
 
    __dev_t st_rdev;
12142
 
 
12143
 
    unsigned short int __pad2;
12144
 
 
12145
 
 
12146
 
    __off_t st_size;
12147
 
 
12148
 
 
12149
 
 
12150
 
    __blksize_t st_blksize;
12151
 
 
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;
12160
 
 
12161
 
 
12162
 
 
12163
 
 
12164
 
  };
12165
 
 
12166
 
 
12167
 
 
12168
 
struct stat64
12169
 
  {
12170
 
    __dev_t st_dev;
12171
 
 
12172
 
 
12173
 
 
12174
 
 
12175
 
 
12176
 
    unsigned int __pad1;
12177
 
    __ino_t __st_ino;
12178
 
    __mode_t st_mode;
12179
 
    __nlink_t st_nlink;
12180
 
 
12181
 
    __uid_t st_uid;
12182
 
    __gid_t st_gid;
12183
 
 
12184
 
 
12185
 
 
12186
 
 
12187
 
 
12188
 
    __dev_t st_rdev;
12189
 
    unsigned int __pad2;
12190
 
    __off64_t st_size;
12191
 
 
12192
 
    __blksize_t st_blksize;
12193
 
    __blkcnt64_t st_blocks;
12194
 
 
12195
 
 
12196
 
 
12197
 
 
12198
 
 
12199
 
 
12200
 
 
12201
 
    struct timespec st_atim;
12202
 
    struct timespec st_mtim;
12203
 
    struct timespec st_ctim;
12204
 
# 169 "/usr/include/bits/stat.h" 3 4
12205
 
    __ino64_t st_ino;
12206
 
 
12207
 
  };
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)));
12212
 
 
12213
 
 
12214
 
 
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)));
12220
 
 
12221
 
 
12222
 
 
12223
 
 
12224
 
 
12225
 
 
12226
 
 
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)));
12234
 
 
12235
 
 
12236
 
 
12237
 
 
12238
 
 
12239
 
 
12240
 
 
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)));
12247
 
 
12248
 
 
12249
 
 
12250
 
 
12251
 
 
12252
 
extern int chmod (__const char *__file, __mode_t __mode)
12253
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12254
 
 
12255
 
 
12256
 
 
12257
 
 
12258
 
 
12259
 
extern int lchmod (__const char *__file, __mode_t __mode)
12260
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12261
 
 
12262
 
 
12263
 
 
12264
 
 
12265
 
extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__));
12266
 
 
12267
 
 
12268
 
 
12269
 
 
12270
 
 
12271
 
extern int fchmodat (int __fd, __const char *__file, __mode_t __mode,
12272
 
       int __flag)
12273
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
12274
 
 
12275
 
 
12276
 
 
12277
 
 
12278
 
 
12279
 
 
12280
 
extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__));
12281
 
 
12282
 
 
12283
 
 
12284
 
 
12285
 
extern __mode_t getumask (void) __attribute__ ((__nothrow__));
12286
 
 
12287
 
 
12288
 
 
12289
 
extern int mkdir (__const char *__path, __mode_t __mode)
12290
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12291
 
 
12292
 
 
12293
 
 
12294
 
 
12295
 
 
12296
 
extern int mkdirat (int __fd, __const char *__path, __mode_t __mode)
12297
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12298
 
 
12299
 
 
12300
 
 
12301
 
 
12302
 
 
12303
 
 
12304
 
extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
12305
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12306
 
 
12307
 
 
12308
 
 
12309
 
 
12310
 
 
12311
 
extern int mknodat (int __fd, __const char *__path, __mode_t __mode,
12312
 
      __dev_t __dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12313
 
 
12314
 
 
12315
 
 
12316
 
 
12317
 
 
12318
 
extern int mkfifo (__const char *__path, __mode_t __mode)
12319
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12320
 
 
12321
 
 
12322
 
 
12323
 
 
12324
 
 
12325
 
extern int mkfifoat (int __fd, __const char *__path, __mode_t __mode)
12326
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12327
 
 
12328
 
 
12329
 
 
12330
 
 
12331
 
 
12332
 
extern int utimensat (int __fd, __const char *__path,
12333
 
        __const struct timespec __times[2],
12334
 
        int __flags)
12335
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12336
 
 
12337
 
 
12338
 
 
12339
 
 
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)));
12361
 
 
12362
 
extern int __xmknod (int __ver, __const char *__path, __mode_t __mode,
12363
 
       __dev_t *__dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
12364
 
 
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)));
12368
 
 
12369
 
 
12370
 
 
12371
 
 
12372
 
extern __inline int
12373
 
__attribute__ ((__nothrow__)) stat (__const char *__path, struct stat *__statbuf)
12374
 
{
12375
 
  return __xstat (3, __path, __statbuf);
12376
 
}
12377
 
 
12378
 
 
12379
 
extern __inline int
12380
 
__attribute__ ((__nothrow__)) lstat (__const char *__path, struct stat *__statbuf)
12381
 
{
12382
 
  return __lxstat (3, __path, __statbuf);
12383
 
}
12384
 
 
12385
 
 
12386
 
extern __inline int
12387
 
__attribute__ ((__nothrow__)) fstat (int __fd, struct stat *__statbuf)
12388
 
{
12389
 
  return __fxstat (3, __fd, __statbuf);
12390
 
}
12391
 
 
12392
 
 
12393
 
extern __inline int
12394
 
__attribute__ ((__nothrow__)) fstatat (int __fd, __const char *__filename, struct stat *__statbuf, int __flag)
12395
 
 
12396
 
{
12397
 
  return __fxstatat (3, __fd, __filename, __statbuf, __flag);
12398
 
}
12399
 
 
12400
 
 
12401
 
 
12402
 
extern __inline int
12403
 
__attribute__ ((__nothrow__)) mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
12404
 
{
12405
 
  return __xmknod (1, __path, __mode, &__dev);
12406
 
}
12407
 
 
12408
 
 
12409
 
 
12410
 
extern __inline int
12411
 
__attribute__ ((__nothrow__)) mknodat (int __fd, __const char *__path, __mode_t __mode, __dev_t __dev)
12412
 
 
12413
 
{
12414
 
  return __xmknodat (1, __fd, __path, __mode, &__dev);
12415
 
}
12416
 
 
12417
 
 
12418
 
 
12419
 
 
12420
 
 
12421
 
extern __inline int
12422
 
__attribute__ ((__nothrow__)) stat64 (__const char *__path, struct stat64 *__statbuf)
12423
 
{
12424
 
  return __xstat64 (3, __path, __statbuf);
12425
 
}
12426
 
 
12427
 
 
12428
 
extern __inline int
12429
 
__attribute__ ((__nothrow__)) lstat64 (__const char *__path, struct stat64 *__statbuf)
12430
 
{
12431
 
  return __lxstat64 (3, __path, __statbuf);
12432
 
}
12433
 
 
12434
 
 
12435
 
extern __inline int
12436
 
__attribute__ ((__nothrow__)) fstat64 (int __fd, struct stat64 *__statbuf)
12437
 
{
12438
 
  return __fxstat64 (3, __fd, __statbuf);
12439
 
}
12440
 
 
12441
 
 
12442
 
extern __inline int
12443
 
__attribute__ ((__nothrow__)) fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf, int __flag)
12444
 
 
12445
 
{
12446
 
  return __fxstatat64 (3, __fd, __filename, __statbuf, __flag);
12447
 
}
12448
 
 
12449
 
 
12450
 
 
12451
 
 
12452
 
 
12453
 
 
12454
 
 
12455
 
# 27 "/usr/include/glib-2.0/glib/gstdio.h" 2
12456
 
 
12457
 
 
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,
12462
 
       int mode);
12463
 
 
12464
 
int g_chdir (const gchar *path);
12465
 
 
12466
 
int g_unlink (const gchar *filename);
12467
 
 
12468
 
int g_rmdir (const gchar *filename);
12469
 
# 145 "/usr/include/glib-2.0/glib/gstdio.h"
12470
 
 
12471
 
# 36 "../../../testing/testing.h" 2
12472
 
 
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
12477
 
 
12478
 
 
12479
 
 
12480
 
 
12481
 
 
12482
 
 
12483
 
 
12484
 
 
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
12500
 
 
12501
 
union wait
12502
 
  {
12503
 
    int w_status;
12504
 
    struct
12505
 
      {
12506
 
 
12507
 
 unsigned int __w_termsig:7;
12508
 
 unsigned int __w_coredump:1;
12509
 
 unsigned int __w_retcode:8;
12510
 
 unsigned int:16;
12511
 
 
12512
 
 
12513
 
 
12514
 
 
12515
 
 
12516
 
 
12517
 
 
12518
 
      } __wait_terminated;
12519
 
    struct
12520
 
      {
12521
 
 
12522
 
 unsigned int __w_stopval:8;
12523
 
 unsigned int __w_stopsig:8;
12524
 
 unsigned int:16;
12525
 
 
12526
 
 
12527
 
 
12528
 
 
12529
 
 
12530
 
 
12531
 
      } __wait_stopped;
12532
 
  };
12533
 
# 44 "/usr/include/stdlib.h" 2 3 4
12534
 
# 68 "/usr/include/stdlib.h" 3 4
12535
 
typedef union
12536
 
  {
12537
 
    union wait *__uptr;
12538
 
    int *__iptr;
12539
 
  } __WAIT_STATUS __attribute__ ((__transparent_union__));
12540
 
# 96 "/usr/include/stdlib.h" 3 4
12541
 
 
12542
 
 
12543
 
typedef struct
12544
 
  {
12545
 
    int quot;
12546
 
    int rem;
12547
 
  } div_t;
12548
 
 
12549
 
 
12550
 
 
12551
 
typedef struct
12552
 
  {
12553
 
    long int quot;
12554
 
    long int rem;
12555
 
  } ldiv_t;
12556
 
 
12557
 
 
12558
 
 
12559
 
 
12560
 
 
12561
 
 
12562
 
 
12563
 
__extension__ typedef struct
12564
 
  {
12565
 
    long long int quot;
12566
 
    long long int rem;
12567
 
  } lldiv_t;
12568
 
 
12569
 
 
12570
 
# 140 "/usr/include/stdlib.h" 3 4
12571
 
extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
12572
 
 
12573
 
 
12574
 
 
12575
 
 
12576
 
extern double atof (__const char *__nptr)
12577
 
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12578
 
 
12579
 
extern int atoi (__const char *__nptr)
12580
 
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12581
 
 
12582
 
extern long int atol (__const char *__nptr)
12583
 
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12584
 
 
12585
 
 
12586
 
 
12587
 
 
12588
 
 
12589
 
__extension__ extern long long int atoll (__const char *__nptr)
12590
 
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12591
 
 
12592
 
 
12593
 
 
12594
 
 
12595
 
 
12596
 
extern double strtod (__const char *__restrict __nptr,
12597
 
        char **__restrict __endptr)
12598
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12599
 
 
12600
 
 
12601
 
 
12602
 
 
12603
 
 
12604
 
extern float strtof (__const char *__restrict __nptr,
12605
 
       char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12606
 
 
12607
 
extern long double strtold (__const char *__restrict __nptr,
12608
 
       char **__restrict __endptr)
12609
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12610
 
 
12611
 
 
12612
 
 
12613
 
 
12614
 
 
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__));
12618
 
 
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__));
12622
 
 
12623
 
 
12624
 
 
12625
 
 
12626
 
__extension__
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__));
12630
 
 
12631
 
__extension__
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__));
12635
 
 
12636
 
 
12637
 
 
12638
 
 
12639
 
 
12640
 
__extension__
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__));
12644
 
 
12645
 
__extension__
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__));
12649
 
 
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__));
12654
 
 
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__));
12659
 
 
12660
 
__extension__
12661
 
extern long long int strtoll_l (__const char *__restrict __nptr,
12662
 
    char **__restrict __endptr, int __base,
12663
 
    __locale_t __loc)
12664
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
12665
 
 
12666
 
__extension__
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__));
12671
 
 
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__));
12675
 
 
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__));
12679
 
 
12680
 
extern long double strtold_l (__const char *__restrict __nptr,
12681
 
         char **__restrict __endptr,
12682
 
         __locale_t __loc)
12683
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
12684
 
 
12685
 
 
12686
 
 
12687
 
 
12688
 
 
12689
 
extern __inline double
12690
 
__attribute__ ((__nothrow__)) atof (__const char *__nptr)
12691
 
{
12692
 
  return strtod (__nptr, (char **) ((void *)0));
12693
 
}
12694
 
extern __inline int
12695
 
__attribute__ ((__nothrow__)) atoi (__const char *__nptr)
12696
 
{
12697
 
  return (int) strtol (__nptr, (char **) ((void *)0), 10);
12698
 
}
12699
 
extern __inline long int
12700
 
__attribute__ ((__nothrow__)) atol (__const char *__nptr)
12701
 
{
12702
 
  return strtol (__nptr, (char **) ((void *)0), 10);
12703
 
}
12704
 
 
12705
 
 
12706
 
 
12707
 
 
12708
 
__extension__ extern __inline long long int
12709
 
__attribute__ ((__nothrow__)) atoll (__const char *__nptr)
12710
 
{
12711
 
  return strtoll (__nptr, (char **) ((void *)0), 10);
12712
 
}
12713
 
 
12714
 
# 311 "/usr/include/stdlib.h" 3 4
12715
 
extern char *l64a (long int __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
12716
 
 
12717
 
 
12718
 
extern long int a64l (__const char *__s)
12719
 
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
12720
 
 
12721
 
 
12722
 
 
12723
 
 
12724
 
# 1 "/usr/include/sys/types.h" 1 3 4
12725
 
# 28 "/usr/include/sys/types.h" 3 4
12726
 
 
12727
 
 
12728
 
 
12729
 
 
12730
 
 
12731
 
 
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;
12739
 
 
12740
 
 
12741
 
 
12742
 
 
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;
12751
 
 
12752
 
 
12753
 
 
12754
 
 
12755
 
 
12756
 
typedef __key_t key_t;
12757
 
# 137 "/usr/include/sys/types.h" 3 4
12758
 
typedef __useconds_t useconds_t;
12759
 
 
12760
 
 
12761
 
 
12762
 
typedef __suseconds_t suseconds_t;
12763
 
 
12764
 
 
12765
 
 
12766
 
 
12767
 
 
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
12770
 
 
12771
 
 
12772
 
 
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__)));
12781
 
 
12782
 
 
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__)));
12787
 
 
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
12797
 
 
12798
 
 
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
12804
 
struct timeval
12805
 
  {
12806
 
    __time_t tv_sec;
12807
 
    __suseconds_t tv_usec;
12808
 
  };
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
12813
 
typedef struct
12814
 
  {
12815
 
 
12816
 
 
12817
 
 
12818
 
    __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))];
12819
 
 
12820
 
 
12821
 
 
12822
 
 
12823
 
 
12824
 
  } fd_set;
12825
 
 
12826
 
 
12827
 
 
12828
 
 
12829
 
 
12830
 
 
12831
 
typedef __fd_mask fd_mask;
12832
 
# 99 "/usr/include/sys/select.h" 3 4
12833
 
 
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);
12845
 
 
12846
 
 
12847
 
 
12848
 
# 221 "/usr/include/sys/types.h" 2 3 4
12849
 
 
12850
 
 
12851
 
# 1 "/usr/include/sys/sysmacros.h" 1 3 4
12852
 
# 30 "/usr/include/sys/sysmacros.h" 3 4
12853
 
__extension__
12854
 
extern unsigned int gnu_dev_major (unsigned long long int __dev)
12855
 
     __attribute__ ((__nothrow__));
12856
 
__extension__
12857
 
extern unsigned int gnu_dev_minor (unsigned long long int __dev)
12858
 
     __attribute__ ((__nothrow__));
12859
 
__extension__
12860
 
extern unsigned long long int gnu_dev_makedev (unsigned int __major,
12861
 
            unsigned int __minor)
12862
 
     __attribute__ ((__nothrow__));
12863
 
 
12864
 
 
12865
 
__extension__ extern __inline unsigned int
12866
 
__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
12867
 
{
12868
 
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
12869
 
}
12870
 
 
12871
 
__extension__ extern __inline unsigned int
12872
 
__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
12873
 
{
12874
 
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
12875
 
}
12876
 
 
12877
 
__extension__ extern __inline unsigned long long int
12878
 
__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
12879
 
{
12880
 
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)
12881
 
   | (((unsigned long long int) (__minor & ~0xff)) << 12)
12882
 
   | (((unsigned long long int) (__major & ~0xfff)) << 32));
12883
 
}
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;
12887
 
 
12888
 
 
12889
 
 
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
12896
 
 
12897
 
# 321 "/usr/include/stdlib.h" 2 3 4
12898
 
 
12899
 
 
12900
 
 
12901
 
 
12902
 
 
12903
 
 
12904
 
extern long int random (void) __attribute__ ((__nothrow__));
12905
 
 
12906
 
 
12907
 
extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
12908
 
 
12909
 
 
12910
 
 
12911
 
 
12912
 
 
12913
 
extern char *initstate (unsigned int __seed, char *__statebuf,
12914
 
   size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12915
 
 
12916
 
 
12917
 
 
12918
 
extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12919
 
 
12920
 
 
12921
 
 
12922
 
 
12923
 
 
12924
 
 
12925
 
 
12926
 
struct random_data
12927
 
  {
12928
 
    int32_t *fptr;
12929
 
    int32_t *rptr;
12930
 
    int32_t *state;
12931
 
    int rand_type;
12932
 
    int rand_deg;
12933
 
    int rand_sep;
12934
 
    int32_t *end_ptr;
12935
 
  };
12936
 
 
12937
 
extern int random_r (struct random_data *__restrict __buf,
12938
 
       int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12939
 
 
12940
 
extern int srandom_r (unsigned int __seed, struct random_data *__buf)
12941
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12942
 
 
12943
 
extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
12944
 
   size_t __statelen,
12945
 
   struct random_data *__restrict __buf)
12946
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
12947
 
 
12948
 
extern int setstate_r (char *__restrict __statebuf,
12949
 
         struct random_data *__restrict __buf)
12950
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12951
 
 
12952
 
 
12953
 
 
12954
 
 
12955
 
 
12956
 
 
12957
 
extern int rand (void) __attribute__ ((__nothrow__));
12958
 
 
12959
 
extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
12960
 
 
12961
 
 
12962
 
 
12963
 
 
12964
 
extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
12965
 
 
12966
 
 
12967
 
 
12968
 
 
12969
 
 
12970
 
 
12971
 
 
12972
 
extern double drand48 (void) __attribute__ ((__nothrow__));
12973
 
extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12974
 
 
12975
 
 
12976
 
extern long int lrand48 (void) __attribute__ ((__nothrow__));
12977
 
extern long int nrand48 (unsigned short int __xsubi[3])
12978
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12979
 
 
12980
 
 
12981
 
extern long int mrand48 (void) __attribute__ ((__nothrow__));
12982
 
extern long int jrand48 (unsigned short int __xsubi[3])
12983
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12984
 
 
12985
 
 
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)));
12990
 
 
12991
 
 
12992
 
 
12993
 
 
12994
 
 
12995
 
struct drand48_data
12996
 
  {
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;
13002
 
  };
13003
 
 
13004
 
 
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)));
13010
 
 
13011
 
 
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)));
13019
 
 
13020
 
 
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)));
13028
 
 
13029
 
 
13030
 
extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
13031
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13032
 
 
13033
 
extern int seed48_r (unsigned short int __seed16v[3],
13034
 
       struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13035
 
 
13036
 
extern int lcong48_r (unsigned short int __param[7],
13037
 
        struct drand48_data *__buffer)
13038
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13039
 
 
13040
 
 
13041
 
 
13042
 
 
13043
 
 
13044
 
 
13045
 
 
13046
 
 
13047
 
 
13048
 
extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
13049
 
 
13050
 
extern void *calloc (size_t __nmemb, size_t __size)
13051
 
     __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
13052
 
 
13053
 
 
13054
 
 
13055
 
 
13056
 
 
13057
 
 
13058
 
 
13059
 
 
13060
 
 
13061
 
 
13062
 
extern void *realloc (void *__ptr, size_t __size)
13063
 
     __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13064
 
 
13065
 
extern void free (void *__ptr) __attribute__ ((__nothrow__));
13066
 
 
13067
 
 
13068
 
 
13069
 
 
13070
 
extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
13071
 
 
13072
 
 
13073
 
 
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
13078
 
 
13079
 
 
13080
 
 
13081
 
 
13082
 
 
13083
 
 
13084
 
 
13085
 
extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
13086
 
 
13087
 
 
13088
 
 
13089
 
 
13090
 
 
13091
 
 
13092
 
# 498 "/usr/include/stdlib.h" 2 3 4
13093
 
 
13094
 
 
13095
 
 
13096
 
 
13097
 
 
13098
 
extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
13099
 
 
13100
 
 
13101
 
 
13102
 
 
13103
 
extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
13104
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13105
 
 
13106
 
 
13107
 
 
13108
 
 
13109
 
extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
13110
 
 
13111
 
 
13112
 
 
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)));
13116
 
 
13117
 
 
13118
 
 
13119
 
 
13120
 
 
13121
 
 
13122
 
 
13123
 
extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
13124
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13125
 
 
13126
 
 
13127
 
 
13128
 
 
13129
 
 
13130
 
 
13131
 
extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
13132
 
 
13133
 
 
13134
 
 
13135
 
 
13136
 
 
13137
 
 
13138
 
 
13139
 
extern void quick_exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
13140
 
 
13141
 
 
13142
 
 
13143
 
 
13144
 
 
13145
 
 
13146
 
 
13147
 
extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
13148
 
 
13149
 
 
13150
 
 
13151
 
 
13152
 
 
13153
 
 
13154
 
extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13155
 
 
13156
 
 
13157
 
 
13158
 
 
13159
 
extern char *__secure_getenv (__const char *__name)
13160
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
13161
 
 
13162
 
 
13163
 
 
13164
 
 
13165
 
 
13166
 
extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13167
 
 
13168
 
 
13169
 
 
13170
 
 
13171
 
 
13172
 
extern int setenv (__const char *__name, __const char *__value, int __replace)
13173
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13174
 
 
13175
 
 
13176
 
extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13177
 
 
13178
 
 
13179
 
 
13180
 
 
13181
 
 
13182
 
 
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__));
13207
 
 
13208
 
 
13209
 
 
13210
 
 
13211
 
 
13212
 
 
13213
 
 
13214
 
 
13215
 
 
13216
 
extern int system (__const char *__command) __attribute__ ((__warn_unused_result__));
13217
 
 
13218
 
 
13219
 
 
13220
 
 
13221
 
 
13222
 
 
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__));
13228
 
 
13229
 
 
13230
 
 
13231
 
 
13232
 
 
13233
 
 
13234
 
typedef int (*__compar_fn_t) (__const void *, __const void *);
13235
 
 
13236
 
 
13237
 
typedef __compar_fn_t comparison_fn_t;
13238
 
 
13239
 
 
13240
 
 
13241
 
typedef int (*__compar_d_fn_t) (__const void *, __const void *, void *);
13242
 
 
13243
 
 
13244
 
 
13245
 
 
13246
 
 
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__));
13250
 
 
13251
 
 
13252
 
 
13253
 
extern void qsort (void *__base, size_t __nmemb, size_t __size,
13254
 
     __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
13255
 
 
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)));
13259
 
 
13260
 
 
13261
 
 
13262
 
 
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__));
13265
 
 
13266
 
 
13267
 
 
13268
 
__extension__ extern long long int llabs (long long int __x)
13269
 
     __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
13270
 
 
13271
 
 
13272
 
 
13273
 
 
13274
 
 
13275
 
 
13276
 
 
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__));
13281
 
 
13282
 
 
13283
 
 
13284
 
 
13285
 
__extension__ extern lldiv_t lldiv (long long int __numer,
13286
 
        long long int __denom)
13287
 
     __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
13288
 
 
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__));
13292
 
 
13293
 
 
13294
 
 
13295
 
 
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__));
13298
 
 
13299
 
 
13300
 
 
13301
 
 
13302
 
extern char *gcvt (double __value, int __ndigit, char *__buf)
13303
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
13304
 
 
13305
 
 
13306
 
 
13307
 
 
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__));
13316
 
 
13317
 
 
13318
 
 
13319
 
 
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)));
13326
 
 
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)));
13335
 
 
13336
 
 
13337
 
 
13338
 
 
13339
 
 
13340
 
 
13341
 
 
13342
 
extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13343
 
 
13344
 
 
13345
 
extern int mbtowc (wchar_t *__restrict __pwc,
13346
 
     __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13347
 
 
13348
 
 
13349
 
extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13350
 
 
13351
 
 
13352
 
 
13353
 
extern size_t mbstowcs (wchar_t *__restrict __pwcs,
13354
 
   __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
13355
 
 
13356
 
extern size_t wcstombs (char *__restrict __s,
13357
 
   __const wchar_t *__restrict __pwcs, size_t __n)
13358
 
     __attribute__ ((__nothrow__));
13359
 
 
13360
 
 
13361
 
 
13362
 
 
13363
 
 
13364
 
 
13365
 
 
13366
 
 
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__));
13373
 
 
13374
 
 
13375
 
 
13376
 
 
13377
 
 
13378
 
extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13379
 
 
13380
 
 
13381
 
 
13382
 
 
13383
 
 
13384
 
 
13385
 
 
13386
 
extern int posix_openpt (int __oflag) __attribute__ ((__warn_unused_result__));
13387
 
 
13388
 
 
13389
 
 
13390
 
 
13391
 
 
13392
 
 
13393
 
 
13394
 
extern int grantpt (int __fd) __attribute__ ((__nothrow__));
13395
 
 
13396
 
 
13397
 
 
13398
 
extern int unlockpt (int __fd) __attribute__ ((__nothrow__));
13399
 
 
13400
 
 
13401
 
 
13402
 
 
13403
 
extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
13404
 
 
13405
 
 
13406
 
 
13407
 
 
13408
 
 
13409
 
 
13410
 
extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
13411
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13412
 
 
13413
 
 
13414
 
extern int getpt (void);
13415
 
 
13416
 
 
13417
 
 
13418
 
 
13419
 
 
13420
 
 
13421
 
extern int getloadavg (double __loadavg[], int __nelem)
13422
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13423
 
 
13424
 
 
13425
 
 
13426
 
 
13427
 
 
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__))
13434
 
 
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__))
13437
 
 
13438
 
 
13439
 
                                                __attribute__ ((__warn_unused_result__))
13440
 
     __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer")))
13441
 
                                      ;
13442
 
 
13443
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
13444
 
__attribute__ ((__nothrow__)) realpath (__const char *__restrict __name, char *__restrict __resolved)
13445
 
{
13446
 
  if (__builtin_object_size (__resolved, 2 > 1) != (size_t) -1)
13447
 
    {
13448
 
 
13449
 
      if (__builtin_object_size (__resolved, 2 > 1) < 4096)
13450
 
 return __realpath_chk_warn (__name, __resolved, __builtin_object_size (__resolved, 2 > 1));
13451
 
 
13452
 
      return __realpath_chk (__name, __resolved, __builtin_object_size (__resolved, 2 > 1));
13453
 
    }
13454
 
 
13455
 
  return __realpath_alias (__name, __resolved);
13456
 
}
13457
 
 
13458
 
 
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__))
13462
 
 
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__))
13465
 
 
13466
 
 
13467
 
     __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf")))
13468
 
                   ;
13469
 
 
13470
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
13471
 
__attribute__ ((__nothrow__)) ptsname_r (int __fd, char *__buf, size_t __buflen)
13472
 
{
13473
 
  if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
13474
 
    {
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));
13479
 
    }
13480
 
  return __ptsname_r_alias (__fd, __buf, __buflen);
13481
 
}
13482
 
 
13483
 
 
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__));
13488
 
 
13489
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) int
13490
 
__attribute__ ((__nothrow__)) wctomb (char *__s, wchar_t __wchar)
13491
 
{
13492
 
 
13493
 
 
13494
 
 
13495
 
 
13496
 
 
13497
 
 
13498
 
 
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);
13502
 
}
13503
 
 
13504
 
 
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__))
13509
 
 
13510
 
 
13511
 
                                  ;
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__))
13513
 
 
13514
 
 
13515
 
 
13516
 
     __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)")))
13517
 
                        ;
13518
 
 
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)
13521
 
 
13522
 
{
13523
 
  if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
13524
 
    {
13525
 
      if (!__builtin_constant_p (__len))
13526
 
 return __mbstowcs_chk (__dst, __src, __len,
13527
 
          __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t));
13528
 
 
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));
13532
 
    }
13533
 
  return __mbstowcs_alias (__dst, __src, __len);
13534
 
}
13535
 
 
13536
 
 
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__))
13541
 
 
13542
 
 
13543
 
                                  ;
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__))
13545
 
 
13546
 
 
13547
 
 
13548
 
     __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len")));
13549
 
 
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)
13552
 
 
13553
 
{
13554
 
  if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
13555
 
    {
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));
13560
 
    }
13561
 
  return __wcstombs_alias (__dst, __src, __len);
13562
 
}
13563
 
# 956 "/usr/include/stdlib.h" 2 3 4
13564
 
# 964 "/usr/include/stdlib.h" 3 4
13565
 
 
13566
 
# 38 "../../../testing/testing.h" 2
13567
 
 
13568
 
# 1 "/usr/include/string.h" 1 3 4
13569
 
# 29 "/usr/include/string.h" 3 4
13570
 
 
13571
 
 
13572
 
 
13573
 
 
13574
 
 
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
13577
 
 
13578
 
 
13579
 
 
13580
 
 
13581
 
 
13582
 
 
13583
 
 
13584
 
 
13585
 
 
13586
 
extern void *memcpy (void *__restrict __dest,
13587
 
       __const void *__restrict __src, size_t __n)
13588
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13589
 
 
13590
 
 
13591
 
extern void *memmove (void *__dest, __const void *__src, size_t __n)
13592
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13593
 
 
13594
 
 
13595
 
 
13596
 
 
13597
 
 
13598
 
 
13599
 
extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
13600
 
        int __c, size_t __n)
13601
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13602
 
 
13603
 
 
13604
 
 
13605
 
 
13606
 
 
13607
 
extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13608
 
 
13609
 
 
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)));
13615
 
 
13616
 
 
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)));
13623
 
 
13624
 
 
13625
 
 
13626
 
 
13627
 
 
13628
 
 
13629
 
extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
13630
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13631
 
 
13632
 
extern char *strncpy (char *__restrict __dest,
13633
 
        __const char *__restrict __src, size_t __n)
13634
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13635
 
 
13636
 
 
13637
 
extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
13638
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13639
 
 
13640
 
extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
13641
 
        size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13642
 
 
13643
 
 
13644
 
extern int strcmp (__const char *__s1, __const char *__s2)
13645
 
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13646
 
 
13647
 
extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
13648
 
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13649
 
 
13650
 
 
13651
 
extern int strcoll (__const char *__s1, __const char *__s2)
13652
 
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13653
 
 
13654
 
extern size_t strxfrm (char *__restrict __dest,
13655
 
         __const char *__restrict __src, size_t __n)
13656
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13657
 
 
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)));
13661
 
 
13662
 
extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
13663
 
    __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
13664
 
 
13665
 
 
13666
 
 
13667
 
 
13668
 
 
13669
 
extern char *strdup (__const char *__s)
13670
 
     __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
13671
 
 
13672
 
 
13673
 
 
13674
 
 
13675
 
 
13676
 
 
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
13680
 
 
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)));
13687
 
 
13688
 
 
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)));
13692
 
 
13693
 
 
13694
 
 
13695
 
 
13696
 
 
13697
 
 
13698
 
extern size_t strcspn (__const char *__s, __const char *__reject)
13699
 
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13700
 
 
13701
 
 
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)));
13710
 
 
13711
 
 
13712
 
 
13713
 
 
13714
 
extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
13715
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13716
 
 
13717
 
 
13718
 
 
13719
 
 
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)));
13724
 
 
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)));
13731
 
 
13732
 
 
13733
 
 
13734
 
 
13735
 
 
13736
 
 
13737
 
 
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)));
13741
 
 
13742
 
 
13743
 
 
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)));
13750
 
 
13751
 
 
13752
 
 
13753
 
 
13754
 
 
13755
 
extern size_t strlen (__const char *__s)
13756
 
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
13757
 
 
13758
 
 
13759
 
 
13760
 
 
13761
 
 
13762
 
extern size_t strnlen (__const char *__string, size_t __maxlen)
13763
 
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
13764
 
 
13765
 
 
13766
 
 
13767
 
 
13768
 
 
13769
 
extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
13770
 
 
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)));
13774
 
 
13775
 
 
13776
 
 
13777
 
 
13778
 
 
13779
 
extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__));
13780
 
 
13781
 
 
13782
 
 
13783
 
 
13784
 
 
13785
 
extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13786
 
 
13787
 
 
13788
 
 
13789
 
extern void bcopy (__const void *__src, void *__dest, size_t __n)
13790
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13791
 
 
13792
 
 
13793
 
extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13794
 
 
13795
 
 
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)));
13804
 
 
13805
 
 
13806
 
 
13807
 
 
13808
 
extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
13809
 
 
13810
 
 
13811
 
 
13812
 
 
13813
 
extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
13814
 
 
13815
 
__extension__ extern int ffsll (long long int __ll)
13816
 
     __attribute__ ((__nothrow__)) __attribute__ ((__const__));
13817
 
 
13818
 
 
13819
 
 
13820
 
 
13821
 
extern int strcasecmp (__const char *__s1, __const char *__s2)
13822
 
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13823
 
 
13824
 
 
13825
 
extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
13826
 
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13827
 
 
13828
 
 
13829
 
 
13830
 
 
13831
 
 
13832
 
extern int strcasecmp_l (__const char *__s1, __const char *__s2,
13833
 
    __locale_t __loc)
13834
 
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
13835
 
 
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)));
13839
 
 
13840
 
 
13841
 
 
13842
 
 
13843
 
 
13844
 
extern char *strsep (char **__restrict __stringp,
13845
 
       __const char *__restrict __delim)
13846
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13847
 
 
13848
 
 
13849
 
 
13850
 
 
13851
 
extern char *strsignal (int __sig) __attribute__ ((__nothrow__));
13852
 
 
13853
 
 
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)));
13858
 
 
13859
 
 
13860
 
 
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)));
13867
 
 
13868
 
 
13869
 
 
13870
 
 
13871
 
extern int strverscmp (__const char *__s1, __const char *__s2)
13872
 
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
13873
 
 
13874
 
 
13875
 
extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13876
 
 
13877
 
 
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
13884
 
 
13885
 
 
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)
13893
 
{
13894
 
  register size_t __result = 0;
13895
 
  while (__s[__result] != '\0' && __s[__result] != __reject)
13896
 
    ++__result;
13897
 
  return __result;
13898
 
}
13899
 
 
13900
 
extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
13901
 
         int __reject2);
13902
 
extern __inline size_t
13903
 
__strcspn_c2 (__const char *__s, int __reject1, int __reject2)
13904
 
{
13905
 
  register size_t __result = 0;
13906
 
  while (__s[__result] != '\0' && __s[__result] != __reject1
13907
 
  && __s[__result] != __reject2)
13908
 
    ++__result;
13909
 
  return __result;
13910
 
}
13911
 
 
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,
13916
 
       int __reject3)
13917
 
{
13918
 
  register size_t __result = 0;
13919
 
  while (__s[__result] != '\0' && __s[__result] != __reject1
13920
 
  && __s[__result] != __reject2 && __s[__result] != __reject3)
13921
 
    ++__result;
13922
 
  return __result;
13923
 
}
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)
13928
 
{
13929
 
  register size_t __result = 0;
13930
 
 
13931
 
  while (__s[__result] == __accept)
13932
 
    ++__result;
13933
 
  return __result;
13934
 
}
13935
 
 
13936
 
extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
13937
 
        int __accept2);
13938
 
extern __inline size_t
13939
 
__strspn_c2 (__const char *__s, int __accept1, int __accept2)
13940
 
{
13941
 
  register size_t __result = 0;
13942
 
 
13943
 
  while (__s[__result] == __accept1 || __s[__result] == __accept2)
13944
 
    ++__result;
13945
 
  return __result;
13946
 
}
13947
 
 
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)
13952
 
{
13953
 
  register size_t __result = 0;
13954
 
 
13955
 
  while (__s[__result] == __accept1 || __s[__result] == __accept2
13956
 
  || __s[__result] == __accept3)
13957
 
    ++__result;
13958
 
  return __result;
13959
 
}
13960
 
# 1121 "/usr/include/bits/string2.h" 3 4
13961
 
extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
13962
 
         int __accept2);
13963
 
extern __inline char *
13964
 
__strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
13965
 
{
13966
 
 
13967
 
  while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
13968
 
    ++__s;
13969
 
  return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
13970
 
}
13971
 
 
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,
13976
 
       int __accept3)
13977
 
{
13978
 
 
13979
 
  while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
13980
 
  && *__s != __accept3)
13981
 
    ++__s;
13982
 
  return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
13983
 
}
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)
13988
 
{
13989
 
  char *__result;
13990
 
  if (__s == ((void *)0))
13991
 
    __s = *__nextp;
13992
 
  while (*__s == __sep)
13993
 
    ++__s;
13994
 
  __result = ((void *)0);
13995
 
  if (*__s != '\0')
13996
 
    {
13997
 
      __result = __s++;
13998
 
      while (*__s != '\0')
13999
 
 if (*__s++ == __sep)
14000
 
   {
14001
 
     __s[-1] = '\0';
14002
 
     break;
14003
 
   }
14004
 
    }
14005
 
  *__nextp = __s;
14006
 
  return __result;
14007
 
}
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)
14014
 
{
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))
14017
 
    *(*__s)++ = '\0';
14018
 
  return __retval;
14019
 
}
14020
 
 
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)
14024
 
{
14025
 
  register char *__retval = *__s;
14026
 
  if (__retval != ((void *)0))
14027
 
    {
14028
 
      register char *__cp = __retval;
14029
 
      while (1)
14030
 
 {
14031
 
   if (*__cp == '\0')
14032
 
     {
14033
 
       __cp = ((void *)0);
14034
 
   break;
14035
 
     }
14036
 
   if (*__cp == __reject1 || *__cp == __reject2)
14037
 
     {
14038
 
       *__cp++ = '\0';
14039
 
       break;
14040
 
     }
14041
 
   ++__cp;
14042
 
 }
14043
 
      *__s = __cp;
14044
 
    }
14045
 
  return __retval;
14046
 
}
14047
 
 
14048
 
extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
14049
 
       char __reject3);
14050
 
extern __inline char *
14051
 
__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
14052
 
{
14053
 
  register char *__retval = *__s;
14054
 
  if (__retval != ((void *)0))
14055
 
    {
14056
 
      register char *__cp = __retval;
14057
 
      while (1)
14058
 
 {
14059
 
   if (*__cp == '\0')
14060
 
     {
14061
 
       __cp = ((void *)0);
14062
 
   break;
14063
 
     }
14064
 
   if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
14065
 
     {
14066
 
       *__cp++ = '\0';
14067
 
       break;
14068
 
     }
14069
 
   ++__cp;
14070
 
 }
14071
 
      *__s = __cp;
14072
 
    }
14073
 
  return __retval;
14074
 
}
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
14081
 
 
14082
 
 
14083
 
 
14084
 
 
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")))
14088
 
                                                                                                   ;
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)
14092
 
 
14093
 
{
14094
 
  return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
14095
 
}
14096
 
 
14097
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void *
14098
 
__attribute__ ((__nothrow__)) memmove (void *__dest, __const void *__src, size_t __len)
14099
 
{
14100
 
  return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
14101
 
}
14102
 
 
14103
 
 
14104
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void *
14105
 
__attribute__ ((__nothrow__)) mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len)
14106
 
 
14107
 
{
14108
 
  return __builtin___mempcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
14109
 
}
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)
14113
 
{
14114
 
  if (__builtin_constant_p (__len) && __len == 0
14115
 
      && (!__builtin_constant_p (__ch) || __ch != 0))
14116
 
    {
14117
 
      __warn_memset_zero_len ();
14118
 
      return __dest;
14119
 
    }
14120
 
  return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0));
14121
 
}
14122
 
 
14123
 
 
14124
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void
14125
 
__attribute__ ((__nothrow__)) bcopy (__const void *__src, void *__dest, size_t __len)
14126
 
{
14127
 
  (void) __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
14128
 
}
14129
 
 
14130
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void
14131
 
__attribute__ ((__nothrow__)) bzero (void *__dest, size_t __len)
14132
 
{
14133
 
  (void) __builtin___memset_chk (__dest, '\0', __len, __builtin_object_size (__dest, 0));
14134
 
}
14135
 
 
14136
 
 
14137
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
14138
 
__attribute__ ((__nothrow__)) strcpy (char *__restrict __dest, __const char *__restrict __src)
14139
 
{
14140
 
  return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
14141
 
}
14142
 
 
14143
 
 
14144
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
14145
 
__attribute__ ((__nothrow__)) stpcpy (char *__restrict __dest, __const char *__restrict __src)
14146
 
{
14147
 
  return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
14148
 
}
14149
 
 
14150
 
 
14151
 
 
14152
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
14153
 
__attribute__ ((__nothrow__)) strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __len)
14154
 
 
14155
 
{
14156
 
  return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
14157
 
}
14158
 
 
14159
 
 
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__))
14163
 
 
14164
 
                                 ;
14165
 
 
14166
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
14167
 
__attribute__ ((__nothrow__)) stpncpy (char *__dest, __const char *__src, size_t __n)
14168
 
{
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);
14173
 
}
14174
 
 
14175
 
 
14176
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
14177
 
__attribute__ ((__nothrow__)) strcat (char *__restrict __dest, __const char *__restrict __src)
14178
 
{
14179
 
  return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
14180
 
}
14181
 
 
14182
 
 
14183
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
14184
 
__attribute__ ((__nothrow__)) strncat (char *__restrict __dest, __const char *__restrict __src, size_t __len)
14185
 
 
14186
 
{
14187
 
  return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
14188
 
}
14189
 
# 643 "/usr/include/string.h" 2 3 4
14190
 
 
14191
 
 
14192
 
 
14193
 
 
14194
 
# 40 "../../../testing/testing.h" 2
14195
 
# 1 "/usr/include/unistd.h" 1 3 4
14196
 
# 28 "/usr/include/unistd.h" 3 4
14197
 
 
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
14201
 
 
14202
 
 
14203
 
 
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;
14214
 
 
14215
 
 
14216
 
 
14217
 
 
14218
 
 
14219
 
 
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)));
14223
 
 
14224
 
 
14225
 
 
14226
 
 
14227
 
extern int euidaccess (__const char *__name, int __type)
14228
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
14229
 
 
14230
 
 
14231
 
extern int eaccess (__const char *__name, int __type)
14232
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
14233
 
 
14234
 
 
14235
 
 
14236
 
 
14237
 
 
14238
 
 
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__));
14246
 
 
14247
 
 
14248
 
 
14249
 
 
14250
 
 
14251
 
 
14252
 
extern int close (int __fd);
14253
 
 
14254
 
 
14255
 
 
14256
 
 
14257
 
 
14258
 
 
14259
 
extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __attribute__ ((__warn_unused_result__));
14260
 
 
14261
 
 
14262
 
 
14263
 
 
14264
 
 
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__));
14269
 
 
14270
 
 
14271
 
 
14272
 
 
14273
 
 
14274
 
 
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__));
14280
 
 
14281
 
 
14282
 
extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n,
14283
 
    __off64_t __offset) __attribute__ ((__warn_unused_result__));
14284
 
 
14285
 
 
14286
 
 
14287
 
 
14288
 
 
14289
 
 
14290
 
 
14291
 
extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14292
 
 
14293
 
 
14294
 
 
14295
 
 
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);
14301
 
 
14302
 
 
14303
 
 
14304
 
 
14305
 
 
14306
 
 
14307
 
 
14308
 
extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval)
14309
 
     __attribute__ ((__nothrow__));
14310
 
 
14311
 
 
14312
 
 
14313
 
 
14314
 
 
14315
 
 
14316
 
extern int usleep (__useconds_t __useconds);
14317
 
# 466 "/usr/include/unistd.h" 3 4
14318
 
extern int pause (void);
14319
 
 
14320
 
 
14321
 
 
14322
 
extern int chown (__const char *__file, __uid_t __owner, __gid_t __group)
14323
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14324
 
 
14325
 
 
14326
 
 
14327
 
extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14328
 
 
14329
 
 
14330
 
 
14331
 
 
14332
 
extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group)
14333
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14334
 
 
14335
 
 
14336
 
 
14337
 
 
14338
 
 
14339
 
 
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__));
14343
 
 
14344
 
 
14345
 
 
14346
 
extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
14347
 
 
14348
 
 
14349
 
 
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__));
14353
 
 
14354
 
 
14355
 
 
14356
 
 
14357
 
 
14358
 
extern char *get_current_dir_name (void) __attribute__ ((__nothrow__));
14359
 
 
14360
 
 
14361
 
 
14362
 
 
14363
 
 
14364
 
 
14365
 
 
14366
 
extern char *getwd (char *__buf)
14367
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__));
14368
 
 
14369
 
 
14370
 
 
14371
 
 
14372
 
extern int dup (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14373
 
 
14374
 
 
14375
 
extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__));
14376
 
 
14377
 
 
14378
 
 
14379
 
 
14380
 
extern int dup3 (int __fd, int __fd2, int __flags) __attribute__ ((__nothrow__));
14381
 
 
14382
 
 
14383
 
 
14384
 
extern char **__environ;
14385
 
 
14386
 
extern char **environ;
14387
 
 
14388
 
 
14389
 
 
14390
 
 
14391
 
 
14392
 
extern int execve (__const char *__path, char *__const __argv[],
14393
 
     char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14394
 
 
14395
 
 
14396
 
 
14397
 
 
14398
 
extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[])
14399
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
14400
 
 
14401
 
 
14402
 
 
14403
 
 
14404
 
extern int execv (__const char *__path, char *__const __argv[])
14405
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14406
 
 
14407
 
 
14408
 
 
14409
 
extern int execle (__const char *__path, __const char *__arg, ...)
14410
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14411
 
 
14412
 
 
14413
 
 
14414
 
extern int execl (__const char *__path, __const char *__arg, ...)
14415
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14416
 
 
14417
 
 
14418
 
 
14419
 
extern int execvp (__const char *__file, char *__const __argv[])
14420
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14421
 
 
14422
 
 
14423
 
 
14424
 
 
14425
 
extern int execlp (__const char *__file, __const char *__arg, ...)
14426
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14427
 
 
14428
 
 
14429
 
 
14430
 
 
14431
 
extern int execvpe (__const char *__file, char *__const __argv[],
14432
 
      char *__const __envp[])
14433
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
14434
 
 
14435
 
 
14436
 
 
14437
 
 
14438
 
 
14439
 
extern int nice (int __inc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
14440
 
 
14441
 
 
14442
 
 
14443
 
 
14444
 
extern void _exit (int __status) __attribute__ ((__noreturn__));
14445
 
 
14446
 
 
14447
 
 
14448
 
 
14449
 
 
14450
 
# 1 "/usr/include/bits/confname.h" 1 3 4
14451
 
# 26 "/usr/include/bits/confname.h" 3 4
14452
 
enum
14453
 
  {
14454
 
    _PC_LINK_MAX,
14455
 
 
14456
 
    _PC_MAX_CANON,
14457
 
 
14458
 
    _PC_MAX_INPUT,
14459
 
 
14460
 
    _PC_NAME_MAX,
14461
 
 
14462
 
    _PC_PATH_MAX,
14463
 
 
14464
 
    _PC_PIPE_BUF,
14465
 
 
14466
 
    _PC_CHOWN_RESTRICTED,
14467
 
 
14468
 
    _PC_NO_TRUNC,
14469
 
 
14470
 
    _PC_VDISABLE,
14471
 
 
14472
 
    _PC_SYNC_IO,
14473
 
 
14474
 
    _PC_ASYNC_IO,
14475
 
 
14476
 
    _PC_PRIO_IO,
14477
 
 
14478
 
    _PC_SOCK_MAXBUF,
14479
 
 
14480
 
    _PC_FILESIZEBITS,
14481
 
 
14482
 
    _PC_REC_INCR_XFER_SIZE,
14483
 
 
14484
 
    _PC_REC_MAX_XFER_SIZE,
14485
 
 
14486
 
    _PC_REC_MIN_XFER_SIZE,
14487
 
 
14488
 
    _PC_REC_XFER_ALIGN,
14489
 
 
14490
 
    _PC_ALLOC_SIZE_MIN,
14491
 
 
14492
 
    _PC_SYMLINK_MAX,
14493
 
 
14494
 
    _PC_2_SYMLINKS
14495
 
 
14496
 
  };
14497
 
 
14498
 
 
14499
 
enum
14500
 
  {
14501
 
    _SC_ARG_MAX,
14502
 
 
14503
 
    _SC_CHILD_MAX,
14504
 
 
14505
 
    _SC_CLK_TCK,
14506
 
 
14507
 
    _SC_NGROUPS_MAX,
14508
 
 
14509
 
    _SC_OPEN_MAX,
14510
 
 
14511
 
    _SC_STREAM_MAX,
14512
 
 
14513
 
    _SC_TZNAME_MAX,
14514
 
 
14515
 
    _SC_JOB_CONTROL,
14516
 
 
14517
 
    _SC_SAVED_IDS,
14518
 
 
14519
 
    _SC_REALTIME_SIGNALS,
14520
 
 
14521
 
    _SC_PRIORITY_SCHEDULING,
14522
 
 
14523
 
    _SC_TIMERS,
14524
 
 
14525
 
    _SC_ASYNCHRONOUS_IO,
14526
 
 
14527
 
    _SC_PRIORITIZED_IO,
14528
 
 
14529
 
    _SC_SYNCHRONIZED_IO,
14530
 
 
14531
 
    _SC_FSYNC,
14532
 
 
14533
 
    _SC_MAPPED_FILES,
14534
 
 
14535
 
    _SC_MEMLOCK,
14536
 
 
14537
 
    _SC_MEMLOCK_RANGE,
14538
 
 
14539
 
    _SC_MEMORY_PROTECTION,
14540
 
 
14541
 
    _SC_MESSAGE_PASSING,
14542
 
 
14543
 
    _SC_SEMAPHORES,
14544
 
 
14545
 
    _SC_SHARED_MEMORY_OBJECTS,
14546
 
 
14547
 
    _SC_AIO_LISTIO_MAX,
14548
 
 
14549
 
    _SC_AIO_MAX,
14550
 
 
14551
 
    _SC_AIO_PRIO_DELTA_MAX,
14552
 
 
14553
 
    _SC_DELAYTIMER_MAX,
14554
 
 
14555
 
    _SC_MQ_OPEN_MAX,
14556
 
 
14557
 
    _SC_MQ_PRIO_MAX,
14558
 
 
14559
 
    _SC_VERSION,
14560
 
 
14561
 
    _SC_PAGESIZE,
14562
 
 
14563
 
 
14564
 
    _SC_RTSIG_MAX,
14565
 
 
14566
 
    _SC_SEM_NSEMS_MAX,
14567
 
 
14568
 
    _SC_SEM_VALUE_MAX,
14569
 
 
14570
 
    _SC_SIGQUEUE_MAX,
14571
 
 
14572
 
    _SC_TIMER_MAX,
14573
 
 
14574
 
 
14575
 
 
14576
 
 
14577
 
    _SC_BC_BASE_MAX,
14578
 
 
14579
 
    _SC_BC_DIM_MAX,
14580
 
 
14581
 
    _SC_BC_SCALE_MAX,
14582
 
 
14583
 
    _SC_BC_STRING_MAX,
14584
 
 
14585
 
    _SC_COLL_WEIGHTS_MAX,
14586
 
 
14587
 
    _SC_EQUIV_CLASS_MAX,
14588
 
 
14589
 
    _SC_EXPR_NEST_MAX,
14590
 
 
14591
 
    _SC_LINE_MAX,
14592
 
 
14593
 
    _SC_RE_DUP_MAX,
14594
 
 
14595
 
    _SC_CHARCLASS_NAME_MAX,
14596
 
 
14597
 
 
14598
 
    _SC_2_VERSION,
14599
 
 
14600
 
    _SC_2_C_BIND,
14601
 
 
14602
 
    _SC_2_C_DEV,
14603
 
 
14604
 
    _SC_2_FORT_DEV,
14605
 
 
14606
 
    _SC_2_FORT_RUN,
14607
 
 
14608
 
    _SC_2_SW_DEV,
14609
 
 
14610
 
    _SC_2_LOCALEDEF,
14611
 
 
14612
 
 
14613
 
    _SC_PII,
14614
 
 
14615
 
    _SC_PII_XTI,
14616
 
 
14617
 
    _SC_PII_SOCKET,
14618
 
 
14619
 
    _SC_PII_INTERNET,
14620
 
 
14621
 
    _SC_PII_OSI,
14622
 
 
14623
 
    _SC_POLL,
14624
 
 
14625
 
    _SC_SELECT,
14626
 
 
14627
 
    _SC_UIO_MAXIOV,
14628
 
 
14629
 
    _SC_IOV_MAX = _SC_UIO_MAXIOV,
14630
 
 
14631
 
    _SC_PII_INTERNET_STREAM,
14632
 
 
14633
 
    _SC_PII_INTERNET_DGRAM,
14634
 
 
14635
 
    _SC_PII_OSI_COTS,
14636
 
 
14637
 
    _SC_PII_OSI_CLTS,
14638
 
 
14639
 
    _SC_PII_OSI_M,
14640
 
 
14641
 
    _SC_T_IOV_MAX,
14642
 
 
14643
 
 
14644
 
 
14645
 
    _SC_THREADS,
14646
 
 
14647
 
    _SC_THREAD_SAFE_FUNCTIONS,
14648
 
 
14649
 
    _SC_GETGR_R_SIZE_MAX,
14650
 
 
14651
 
    _SC_GETPW_R_SIZE_MAX,
14652
 
 
14653
 
    _SC_LOGIN_NAME_MAX,
14654
 
 
14655
 
    _SC_TTY_NAME_MAX,
14656
 
 
14657
 
    _SC_THREAD_DESTRUCTOR_ITERATIONS,
14658
 
 
14659
 
    _SC_THREAD_KEYS_MAX,
14660
 
 
14661
 
    _SC_THREAD_STACK_MIN,
14662
 
 
14663
 
    _SC_THREAD_THREADS_MAX,
14664
 
 
14665
 
    _SC_THREAD_ATTR_STACKADDR,
14666
 
 
14667
 
    _SC_THREAD_ATTR_STACKSIZE,
14668
 
 
14669
 
    _SC_THREAD_PRIORITY_SCHEDULING,
14670
 
 
14671
 
    _SC_THREAD_PRIO_INHERIT,
14672
 
 
14673
 
    _SC_THREAD_PRIO_PROTECT,
14674
 
 
14675
 
    _SC_THREAD_PROCESS_SHARED,
14676
 
 
14677
 
 
14678
 
    _SC_NPROCESSORS_CONF,
14679
 
 
14680
 
    _SC_NPROCESSORS_ONLN,
14681
 
 
14682
 
    _SC_PHYS_PAGES,
14683
 
 
14684
 
    _SC_AVPHYS_PAGES,
14685
 
 
14686
 
    _SC_ATEXIT_MAX,
14687
 
 
14688
 
    _SC_PASS_MAX,
14689
 
 
14690
 
 
14691
 
    _SC_XOPEN_VERSION,
14692
 
 
14693
 
    _SC_XOPEN_XCU_VERSION,
14694
 
 
14695
 
    _SC_XOPEN_UNIX,
14696
 
 
14697
 
    _SC_XOPEN_CRYPT,
14698
 
 
14699
 
    _SC_XOPEN_ENH_I18N,
14700
 
 
14701
 
    _SC_XOPEN_SHM,
14702
 
 
14703
 
 
14704
 
    _SC_2_CHAR_TERM,
14705
 
 
14706
 
    _SC_2_C_VERSION,
14707
 
 
14708
 
    _SC_2_UPE,
14709
 
 
14710
 
 
14711
 
    _SC_XOPEN_XPG2,
14712
 
 
14713
 
    _SC_XOPEN_XPG3,
14714
 
 
14715
 
    _SC_XOPEN_XPG4,
14716
 
 
14717
 
 
14718
 
    _SC_CHAR_BIT,
14719
 
 
14720
 
    _SC_CHAR_MAX,
14721
 
 
14722
 
    _SC_CHAR_MIN,
14723
 
 
14724
 
    _SC_INT_MAX,
14725
 
 
14726
 
    _SC_INT_MIN,
14727
 
 
14728
 
    _SC_LONG_BIT,
14729
 
 
14730
 
    _SC_WORD_BIT,
14731
 
 
14732
 
    _SC_MB_LEN_MAX,
14733
 
 
14734
 
    _SC_NZERO,
14735
 
 
14736
 
    _SC_SSIZE_MAX,
14737
 
 
14738
 
    _SC_SCHAR_MAX,
14739
 
 
14740
 
    _SC_SCHAR_MIN,
14741
 
 
14742
 
    _SC_SHRT_MAX,
14743
 
 
14744
 
    _SC_SHRT_MIN,
14745
 
 
14746
 
    _SC_UCHAR_MAX,
14747
 
 
14748
 
    _SC_UINT_MAX,
14749
 
 
14750
 
    _SC_ULONG_MAX,
14751
 
 
14752
 
    _SC_USHRT_MAX,
14753
 
 
14754
 
 
14755
 
    _SC_NL_ARGMAX,
14756
 
 
14757
 
    _SC_NL_LANGMAX,
14758
 
 
14759
 
    _SC_NL_MSGMAX,
14760
 
 
14761
 
    _SC_NL_NMAX,
14762
 
 
14763
 
    _SC_NL_SETMAX,
14764
 
 
14765
 
    _SC_NL_TEXTMAX,
14766
 
 
14767
 
 
14768
 
    _SC_XBS5_ILP32_OFF32,
14769
 
 
14770
 
    _SC_XBS5_ILP32_OFFBIG,
14771
 
 
14772
 
    _SC_XBS5_LP64_OFF64,
14773
 
 
14774
 
    _SC_XBS5_LPBIG_OFFBIG,
14775
 
 
14776
 
 
14777
 
    _SC_XOPEN_LEGACY,
14778
 
 
14779
 
    _SC_XOPEN_REALTIME,
14780
 
 
14781
 
    _SC_XOPEN_REALTIME_THREADS,
14782
 
 
14783
 
 
14784
 
    _SC_ADVISORY_INFO,
14785
 
 
14786
 
    _SC_BARRIERS,
14787
 
 
14788
 
    _SC_BASE,
14789
 
 
14790
 
    _SC_C_LANG_SUPPORT,
14791
 
 
14792
 
    _SC_C_LANG_SUPPORT_R,
14793
 
 
14794
 
    _SC_CLOCK_SELECTION,
14795
 
 
14796
 
    _SC_CPUTIME,
14797
 
 
14798
 
    _SC_THREAD_CPUTIME,
14799
 
 
14800
 
    _SC_DEVICE_IO,
14801
 
 
14802
 
    _SC_DEVICE_SPECIFIC,
14803
 
 
14804
 
    _SC_DEVICE_SPECIFIC_R,
14805
 
 
14806
 
    _SC_FD_MGMT,
14807
 
 
14808
 
    _SC_FIFO,
14809
 
 
14810
 
    _SC_PIPE,
14811
 
 
14812
 
    _SC_FILE_ATTRIBUTES,
14813
 
 
14814
 
    _SC_FILE_LOCKING,
14815
 
 
14816
 
    _SC_FILE_SYSTEM,
14817
 
 
14818
 
    _SC_MONOTONIC_CLOCK,
14819
 
 
14820
 
    _SC_MULTI_PROCESS,
14821
 
 
14822
 
    _SC_SINGLE_PROCESS,
14823
 
 
14824
 
    _SC_NETWORKING,
14825
 
 
14826
 
    _SC_READER_WRITER_LOCKS,
14827
 
 
14828
 
    _SC_SPIN_LOCKS,
14829
 
 
14830
 
    _SC_REGEXP,
14831
 
 
14832
 
    _SC_REGEX_VERSION,
14833
 
 
14834
 
    _SC_SHELL,
14835
 
 
14836
 
    _SC_SIGNALS,
14837
 
 
14838
 
    _SC_SPAWN,
14839
 
 
14840
 
    _SC_SPORADIC_SERVER,
14841
 
 
14842
 
    _SC_THREAD_SPORADIC_SERVER,
14843
 
 
14844
 
    _SC_SYSTEM_DATABASE,
14845
 
 
14846
 
    _SC_SYSTEM_DATABASE_R,
14847
 
 
14848
 
    _SC_TIMEOUTS,
14849
 
 
14850
 
    _SC_TYPED_MEMORY_OBJECTS,
14851
 
 
14852
 
    _SC_USER_GROUPS,
14853
 
 
14854
 
    _SC_USER_GROUPS_R,
14855
 
 
14856
 
    _SC_2_PBS,
14857
 
 
14858
 
    _SC_2_PBS_ACCOUNTING,
14859
 
 
14860
 
    _SC_2_PBS_LOCATE,
14861
 
 
14862
 
    _SC_2_PBS_MESSAGE,
14863
 
 
14864
 
    _SC_2_PBS_TRACK,
14865
 
 
14866
 
    _SC_SYMLOOP_MAX,
14867
 
 
14868
 
    _SC_STREAMS,
14869
 
 
14870
 
    _SC_2_PBS_CHECKPOINT,
14871
 
 
14872
 
 
14873
 
    _SC_V6_ILP32_OFF32,
14874
 
 
14875
 
    _SC_V6_ILP32_OFFBIG,
14876
 
 
14877
 
    _SC_V6_LP64_OFF64,
14878
 
 
14879
 
    _SC_V6_LPBIG_OFFBIG,
14880
 
 
14881
 
 
14882
 
    _SC_HOST_NAME_MAX,
14883
 
 
14884
 
    _SC_TRACE,
14885
 
 
14886
 
    _SC_TRACE_EVENT_FILTER,
14887
 
 
14888
 
    _SC_TRACE_INHERIT,
14889
 
 
14890
 
    _SC_TRACE_LOG,
14891
 
 
14892
 
 
14893
 
    _SC_LEVEL1_ICACHE_SIZE,
14894
 
 
14895
 
    _SC_LEVEL1_ICACHE_ASSOC,
14896
 
 
14897
 
    _SC_LEVEL1_ICACHE_LINESIZE,
14898
 
 
14899
 
    _SC_LEVEL1_DCACHE_SIZE,
14900
 
 
14901
 
    _SC_LEVEL1_DCACHE_ASSOC,
14902
 
 
14903
 
    _SC_LEVEL1_DCACHE_LINESIZE,
14904
 
 
14905
 
    _SC_LEVEL2_CACHE_SIZE,
14906
 
 
14907
 
    _SC_LEVEL2_CACHE_ASSOC,
14908
 
 
14909
 
    _SC_LEVEL2_CACHE_LINESIZE,
14910
 
 
14911
 
    _SC_LEVEL3_CACHE_SIZE,
14912
 
 
14913
 
    _SC_LEVEL3_CACHE_ASSOC,
14914
 
 
14915
 
    _SC_LEVEL3_CACHE_LINESIZE,
14916
 
 
14917
 
    _SC_LEVEL4_CACHE_SIZE,
14918
 
 
14919
 
    _SC_LEVEL4_CACHE_ASSOC,
14920
 
 
14921
 
    _SC_LEVEL4_CACHE_LINESIZE,
14922
 
 
14923
 
 
14924
 
 
14925
 
    _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
14926
 
 
14927
 
    _SC_RAW_SOCKETS,
14928
 
 
14929
 
 
14930
 
    _SC_V7_ILP32_OFF32,
14931
 
 
14932
 
    _SC_V7_ILP32_OFFBIG,
14933
 
 
14934
 
    _SC_V7_LP64_OFF64,
14935
 
 
14936
 
    _SC_V7_LPBIG_OFFBIG,
14937
 
 
14938
 
 
14939
 
    _SC_SS_REPL_MAX,
14940
 
 
14941
 
 
14942
 
    _SC_TRACE_EVENT_NAME_MAX,
14943
 
 
14944
 
    _SC_TRACE_NAME_MAX,
14945
 
 
14946
 
    _SC_TRACE_SYS_MAX,
14947
 
 
14948
 
    _SC_TRACE_USER_EVENT_MAX,
14949
 
 
14950
 
 
14951
 
    _SC_XOPEN_STREAMS,
14952
 
 
14953
 
 
14954
 
    _SC_THREAD_ROBUST_PRIO_INHERIT,
14955
 
 
14956
 
    _SC_THREAD_ROBUST_PRIO_PROTECT
14957
 
 
14958
 
  };
14959
 
 
14960
 
 
14961
 
enum
14962
 
  {
14963
 
    _CS_PATH,
14964
 
 
14965
 
 
14966
 
    _CS_V6_WIDTH_RESTRICTED_ENVS,
14967
 
 
14968
 
 
14969
 
 
14970
 
    _CS_GNU_LIBC_VERSION,
14971
 
 
14972
 
    _CS_GNU_LIBPTHREAD_VERSION,
14973
 
 
14974
 
 
14975
 
    _CS_V5_WIDTH_RESTRICTED_ENVS,
14976
 
 
14977
 
 
14978
 
 
14979
 
    _CS_V7_WIDTH_RESTRICTED_ENVS,
14980
 
 
14981
 
 
14982
 
 
14983
 
    _CS_LFS_CFLAGS = 1000,
14984
 
 
14985
 
    _CS_LFS_LDFLAGS,
14986
 
 
14987
 
    _CS_LFS_LIBS,
14988
 
 
14989
 
    _CS_LFS_LINTFLAGS,
14990
 
 
14991
 
    _CS_LFS64_CFLAGS,
14992
 
 
14993
 
    _CS_LFS64_LDFLAGS,
14994
 
 
14995
 
    _CS_LFS64_LIBS,
14996
 
 
14997
 
    _CS_LFS64_LINTFLAGS,
14998
 
 
14999
 
 
15000
 
    _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
15001
 
 
15002
 
    _CS_XBS5_ILP32_OFF32_LDFLAGS,
15003
 
 
15004
 
    _CS_XBS5_ILP32_OFF32_LIBS,
15005
 
 
15006
 
    _CS_XBS5_ILP32_OFF32_LINTFLAGS,
15007
 
 
15008
 
    _CS_XBS5_ILP32_OFFBIG_CFLAGS,
15009
 
 
15010
 
    _CS_XBS5_ILP32_OFFBIG_LDFLAGS,
15011
 
 
15012
 
    _CS_XBS5_ILP32_OFFBIG_LIBS,
15013
 
 
15014
 
    _CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
15015
 
 
15016
 
    _CS_XBS5_LP64_OFF64_CFLAGS,
15017
 
 
15018
 
    _CS_XBS5_LP64_OFF64_LDFLAGS,
15019
 
 
15020
 
    _CS_XBS5_LP64_OFF64_LIBS,
15021
 
 
15022
 
    _CS_XBS5_LP64_OFF64_LINTFLAGS,
15023
 
 
15024
 
    _CS_XBS5_LPBIG_OFFBIG_CFLAGS,
15025
 
 
15026
 
    _CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
15027
 
 
15028
 
    _CS_XBS5_LPBIG_OFFBIG_LIBS,
15029
 
 
15030
 
    _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
15031
 
 
15032
 
 
15033
 
    _CS_POSIX_V6_ILP32_OFF32_CFLAGS,
15034
 
 
15035
 
    _CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
15036
 
 
15037
 
    _CS_POSIX_V6_ILP32_OFF32_LIBS,
15038
 
 
15039
 
    _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
15040
 
 
15041
 
    _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
15042
 
 
15043
 
    _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
15044
 
 
15045
 
    _CS_POSIX_V6_ILP32_OFFBIG_LIBS,
15046
 
 
15047
 
    _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
15048
 
 
15049
 
    _CS_POSIX_V6_LP64_OFF64_CFLAGS,
15050
 
 
15051
 
    _CS_POSIX_V6_LP64_OFF64_LDFLAGS,
15052
 
 
15053
 
    _CS_POSIX_V6_LP64_OFF64_LIBS,
15054
 
 
15055
 
    _CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
15056
 
 
15057
 
    _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
15058
 
 
15059
 
    _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
15060
 
 
15061
 
    _CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
15062
 
 
15063
 
    _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS,
15064
 
 
15065
 
 
15066
 
    _CS_POSIX_V7_ILP32_OFF32_CFLAGS,
15067
 
 
15068
 
    _CS_POSIX_V7_ILP32_OFF32_LDFLAGS,
15069
 
 
15070
 
    _CS_POSIX_V7_ILP32_OFF32_LIBS,
15071
 
 
15072
 
    _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS,
15073
 
 
15074
 
    _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS,
15075
 
 
15076
 
    _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS,
15077
 
 
15078
 
    _CS_POSIX_V7_ILP32_OFFBIG_LIBS,
15079
 
 
15080
 
    _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS,
15081
 
 
15082
 
    _CS_POSIX_V7_LP64_OFF64_CFLAGS,
15083
 
 
15084
 
    _CS_POSIX_V7_LP64_OFF64_LDFLAGS,
15085
 
 
15086
 
    _CS_POSIX_V7_LP64_OFF64_LIBS,
15087
 
 
15088
 
    _CS_POSIX_V7_LP64_OFF64_LINTFLAGS,
15089
 
 
15090
 
    _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS,
15091
 
 
15092
 
    _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS,
15093
 
 
15094
 
    _CS_POSIX_V7_LPBIG_OFFBIG_LIBS,
15095
 
 
15096
 
    _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS,
15097
 
 
15098
 
 
15099
 
    _CS_V6_ENV,
15100
 
 
15101
 
    _CS_V7_ENV
15102
 
 
15103
 
  };
15104
 
# 607 "/usr/include/unistd.h" 2 3 4
15105
 
 
15106
 
 
15107
 
extern long int pathconf (__const char *__path, int __name)
15108
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
15109
 
 
15110
 
 
15111
 
extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__));
15112
 
 
15113
 
 
15114
 
extern long int sysconf (int __name) __attribute__ ((__nothrow__));
15115
 
 
15116
 
 
15117
 
 
15118
 
extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__));
15119
 
 
15120
 
 
15121
 
 
15122
 
 
15123
 
extern __pid_t getpid (void) __attribute__ ((__nothrow__));
15124
 
 
15125
 
 
15126
 
extern __pid_t getppid (void) __attribute__ ((__nothrow__));
15127
 
 
15128
 
 
15129
 
 
15130
 
 
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__));
15134
 
 
15135
 
extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__));
15136
 
 
15137
 
 
15138
 
 
15139
 
 
15140
 
 
15141
 
 
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__));
15147
 
 
15148
 
 
15149
 
 
15150
 
extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__));
15151
 
 
15152
 
 
15153
 
 
15154
 
extern __uid_t getuid (void) __attribute__ ((__nothrow__));
15155
 
 
15156
 
 
15157
 
extern __uid_t geteuid (void) __attribute__ ((__nothrow__));
15158
 
 
15159
 
 
15160
 
extern __gid_t getgid (void) __attribute__ ((__nothrow__));
15161
 
 
15162
 
 
15163
 
extern __gid_t getegid (void) __attribute__ ((__nothrow__));
15164
 
 
15165
 
 
15166
 
 
15167
 
 
15168
 
extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
15169
 
 
15170
 
 
15171
 
 
15172
 
extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__));
15173
 
 
15174
 
 
15175
 
 
15176
 
 
15177
 
 
15178
 
 
15179
 
extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__));
15180
 
 
15181
 
 
15182
 
 
15183
 
 
15184
 
extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__));
15185
 
 
15186
 
 
15187
 
 
15188
 
 
15189
 
extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__));
15190
 
 
15191
 
 
15192
 
 
15193
 
 
15194
 
 
15195
 
 
15196
 
extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__));
15197
 
 
15198
 
 
15199
 
 
15200
 
 
15201
 
extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__));
15202
 
 
15203
 
 
15204
 
 
15205
 
 
15206
 
extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__));
15207
 
 
15208
 
 
15209
 
 
15210
 
 
15211
 
 
15212
 
extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid)
15213
 
     __attribute__ ((__nothrow__));
15214
 
 
15215
 
 
15216
 
 
15217
 
extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid)
15218
 
     __attribute__ ((__nothrow__));
15219
 
 
15220
 
 
15221
 
 
15222
 
extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid)
15223
 
     __attribute__ ((__nothrow__));
15224
 
 
15225
 
 
15226
 
 
15227
 
extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid)
15228
 
     __attribute__ ((__nothrow__));
15229
 
 
15230
 
 
15231
 
 
15232
 
 
15233
 
 
15234
 
 
15235
 
extern __pid_t fork (void) __attribute__ ((__nothrow__));
15236
 
 
15237
 
 
15238
 
 
15239
 
 
15240
 
 
15241
 
 
15242
 
 
15243
 
extern __pid_t vfork (void) __attribute__ ((__nothrow__));
15244
 
 
15245
 
 
15246
 
 
15247
 
 
15248
 
 
15249
 
extern char *ttyname (int __fd) __attribute__ ((__nothrow__));
15250
 
 
15251
 
 
15252
 
 
15253
 
extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
15254
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
15255
 
 
15256
 
 
15257
 
 
15258
 
extern int isatty (int __fd) __attribute__ ((__nothrow__));
15259
 
 
15260
 
 
15261
 
 
15262
 
 
15263
 
 
15264
 
extern int ttyslot (void) __attribute__ ((__nothrow__));
15265
 
 
15266
 
 
15267
 
 
15268
 
 
15269
 
extern int link (__const char *__from, __const char *__to)
15270
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
15271
 
 
15272
 
 
15273
 
 
15274
 
 
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__));
15278
 
 
15279
 
 
15280
 
 
15281
 
 
15282
 
extern int symlink (__const char *__from, __const char *__to)
15283
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
15284
 
 
15285
 
 
15286
 
 
15287
 
 
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__));
15291
 
 
15292
 
 
15293
 
 
15294
 
 
15295
 
extern int symlinkat (__const char *__from, int __tofd,
15296
 
        __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
15297
 
 
15298
 
 
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__));
15302
 
 
15303
 
 
15304
 
 
15305
 
extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
15306
 
 
15307
 
 
15308
 
 
15309
 
extern int unlinkat (int __fd, __const char *__name, int __flag)
15310
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
15311
 
 
15312
 
 
15313
 
 
15314
 
extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
15315
 
 
15316
 
 
15317
 
 
15318
 
extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__));
15319
 
 
15320
 
 
15321
 
extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__));
15322
 
 
15323
 
 
15324
 
 
15325
 
 
15326
 
 
15327
 
 
15328
 
extern char *getlogin (void);
15329
 
 
15330
 
 
15331
 
 
15332
 
 
15333
 
 
15334
 
 
15335
 
 
15336
 
extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1)));
15337
 
 
15338
 
 
15339
 
 
15340
 
 
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
15347
 
extern int optind;
15348
 
 
15349
 
 
15350
 
 
15351
 
 
15352
 
extern int opterr;
15353
 
 
15354
 
 
15355
 
 
15356
 
extern int optopt;
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
15361
 
 
15362
 
 
15363
 
 
15364
 
 
15365
 
 
15366
 
 
15367
 
 
15368
 
extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
15369
 
 
15370
 
 
15371
 
 
15372
 
 
15373
 
 
15374
 
 
15375
 
extern int sethostname (__const char *__name, size_t __len)
15376
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
15377
 
 
15378
 
 
15379
 
 
15380
 
extern int sethostid (long int __id) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
15381
 
 
15382
 
 
15383
 
 
15384
 
 
15385
 
 
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__));
15390
 
 
15391
 
 
15392
 
 
15393
 
 
15394
 
 
15395
 
extern int vhangup (void) __attribute__ ((__nothrow__));
15396
 
 
15397
 
 
15398
 
extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
15399
 
 
15400
 
 
15401
 
 
15402
 
 
15403
 
 
15404
 
 
15405
 
 
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)));
15409
 
 
15410
 
 
15411
 
 
15412
 
 
15413
 
 
15414
 
extern int acct (__const char *__name) __attribute__ ((__nothrow__));
15415
 
 
15416
 
 
15417
 
 
15418
 
extern char *getusershell (void) __attribute__ ((__nothrow__));
15419
 
extern void endusershell (void) __attribute__ ((__nothrow__));
15420
 
extern void setusershell (void) __attribute__ ((__nothrow__));
15421
 
 
15422
 
 
15423
 
 
15424
 
 
15425
 
 
15426
 
extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
15427
 
 
15428
 
 
15429
 
 
15430
 
 
15431
 
 
15432
 
 
15433
 
extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
15434
 
 
15435
 
 
15436
 
 
15437
 
extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1)));
15438
 
# 976 "/usr/include/unistd.h" 3 4
15439
 
extern int fsync (int __fd);
15440
 
 
15441
 
 
15442
 
 
15443
 
 
15444
 
 
15445
 
 
15446
 
extern long int gethostid (void);
15447
 
 
15448
 
 
15449
 
extern void sync (void) __attribute__ ((__nothrow__));
15450
 
 
15451
 
 
15452
 
 
15453
 
 
15454
 
 
15455
 
extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
15456
 
 
15457
 
 
15458
 
 
15459
 
 
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__));
15473
 
 
15474
 
 
15475
 
 
15476
 
 
15477
 
 
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);
15487
 
 
15488
 
 
15489
 
 
15490
 
 
15491
 
 
15492
 
 
15493
 
 
15494
 
extern char *crypt (__const char *__key, __const char *__salt)
15495
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
15496
 
 
15497
 
 
15498
 
 
15499
 
extern void encrypt (char *__libc_block, int __edflag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
15500
 
 
15501
 
 
15502
 
 
15503
 
 
15504
 
 
15505
 
 
15506
 
extern void swab (__const void *__restrict __from, void *__restrict __to,
15507
 
    ssize_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
15508
 
 
15509
 
 
15510
 
 
15511
 
 
15512
 
 
15513
 
 
15514
 
 
15515
 
extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
15516
 
 
15517
 
 
15518
 
 
15519
 
 
15520
 
 
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")
15528
 
 
15529
 
 
15530
 
     __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("read called with bigger length than size of " "the destination buffer")))
15531
 
                                  ;
15532
 
 
15533
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
15534
 
read (int __fd, void *__buf, size_t __nbytes)
15535
 
{
15536
 
  if (__builtin_object_size (__buf, 0) != (size_t) -1)
15537
 
    {
15538
 
      if (!__builtin_constant_p (__nbytes))
15539
 
 return __read_chk (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0));
15540
 
 
15541
 
      if (__nbytes > __builtin_object_size (__buf, 0))
15542
 
 return __read_chk_warn (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0));
15543
 
    }
15544
 
  return __read_alias (__fd, __buf, __nbytes);
15545
 
}
15546
 
 
15547
 
 
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")
15553
 
 
15554
 
                                 __attribute__ ((__warn_unused_result__));
15555
 
extern ssize_t __pread64_alias (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64")
15556
 
 
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")
15559
 
 
15560
 
 
15561
 
     __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread called with bigger length than size of " "the destination buffer")))
15562
 
                                  ;
15563
 
extern ssize_t __pread64_chk_warn (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize) __asm__ ("" "__pread64_chk")
15564
 
 
15565
 
 
15566
 
 
15567
 
     __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread64 called with bigger length than size of " "the destination buffer")))
15568
 
                                  ;
15569
 
 
15570
 
 
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)
15573
 
{
15574
 
  if (__builtin_object_size (__buf, 0) != (size_t) -1)
15575
 
    {
15576
 
      if (!__builtin_constant_p (__nbytes))
15577
 
 return __pread_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0));
15578
 
 
15579
 
      if ( __nbytes > __builtin_object_size (__buf, 0))
15580
 
 return __pread_chk_warn (__fd, __buf, __nbytes, __offset,
15581
 
     __builtin_object_size (__buf, 0));
15582
 
    }
15583
 
  return __pread_alias (__fd, __buf, __nbytes, __offset);
15584
 
}
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)
15588
 
{
15589
 
  if (__builtin_object_size (__buf, 0) != (size_t) -1)
15590
 
    {
15591
 
      if (!__builtin_constant_p (__nbytes))
15592
 
 return __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0));
15593
 
 
15594
 
      if ( __nbytes > __builtin_object_size (__buf, 0))
15595
 
 return __pread64_chk_warn (__fd, __buf, __nbytes, __offset,
15596
 
       __builtin_object_size (__buf, 0));
15597
 
    }
15598
 
 
15599
 
  return __pread64_alias (__fd, __buf, __nbytes, __offset);
15600
 
}
15601
 
 
15602
 
 
15603
 
 
15604
 
 
15605
 
extern ssize_t __readlink_chk (__const char *__restrict __path,
15606
 
          char *__restrict __buf, size_t __len,
15607
 
          size_t __buflen)
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__))
15610
 
 
15611
 
 
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__))
15614
 
 
15615
 
 
15616
 
 
15617
 
     __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlink called with bigger length " "than size of destination buffer")))
15618
 
                                         ;
15619
 
 
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)
15622
 
 
15623
 
{
15624
 
  if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15625
 
    {
15626
 
      if (!__builtin_constant_p (__len))
15627
 
 return __readlink_chk (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1));
15628
 
 
15629
 
      if ( __len > __builtin_object_size (__buf, 2 > 1))
15630
 
 return __readlink_chk_warn (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1));
15631
 
    }
15632
 
  return __readlink_alias (__path, __buf, __len);
15633
 
}
15634
 
 
15635
 
 
15636
 
 
15637
 
extern ssize_t __readlinkat_chk (int __fd, __const char *__restrict __path,
15638
 
     char *__restrict __buf, size_t __len,
15639
 
     size_t __buflen)
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__))
15642
 
 
15643
 
 
15644
 
 
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__))
15647
 
 
15648
 
 
15649
 
 
15650
 
     __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlinkat called with bigger " "length than size of destination " "buffer")))
15651
 
 
15652
 
                ;
15653
 
 
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)
15656
 
 
15657
 
{
15658
 
  if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15659
 
    {
15660
 
      if (!__builtin_constant_p (__len))
15661
 
 return __readlinkat_chk (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1));
15662
 
 
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));
15666
 
    }
15667
 
  return __readlinkat_alias (__fd, __path, __buf, __len);
15668
 
}
15669
 
 
15670
 
 
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__))
15676
 
 
15677
 
 
15678
 
     __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getcwd caller with bigger length than size of " "destination buffer")))
15679
 
                              ;
15680
 
 
15681
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
15682
 
__attribute__ ((__nothrow__)) getcwd (char *__buf, size_t __size)
15683
 
{
15684
 
  if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15685
 
    {
15686
 
      if (!__builtin_constant_p (__size))
15687
 
 return __getcwd_chk (__buf, __size, __builtin_object_size (__buf, 2 > 1));
15688
 
 
15689
 
      if (__size > __builtin_object_size (__buf, 2 > 1))
15690
 
 return __getcwd_chk_warn (__buf, __size, __builtin_object_size (__buf, 2 > 1));
15691
 
    }
15692
 
  return __getcwd_alias (__buf, __size);
15693
 
}
15694
 
 
15695
 
 
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")))
15700
 
                                         ;
15701
 
 
15702
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)) char *
15703
 
__attribute__ ((__nothrow__)) getwd (char *__buf)
15704
 
{
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);
15708
 
}
15709
 
 
15710
 
 
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__))
15714
 
                             ;
15715
 
extern size_t __confstr_chk_warn (int __name, char *__buf, size_t __len, size_t __buflen) __asm__ ("" "__confstr_chk") __attribute__ ((__nothrow__))
15716
 
 
15717
 
 
15718
 
     __attribute__((__warning__ ("confstr called with bigger length than size of destination " "buffer")))
15719
 
            ;
15720
 
 
15721
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t
15722
 
__attribute__ ((__nothrow__)) confstr (int __name, char *__buf, size_t __len)
15723
 
{
15724
 
  if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15725
 
    {
15726
 
      if (!__builtin_constant_p (__len))
15727
 
 return __confstr_chk (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1));
15728
 
 
15729
 
      if (__builtin_object_size (__buf, 2 > 1) < __len)
15730
 
 return __confstr_chk_warn (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1));
15731
 
    }
15732
 
  return __confstr_alias (__name, __buf, __len);
15733
 
}
15734
 
 
15735
 
 
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__))
15741
 
 
15742
 
 
15743
 
     __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getgroups called with bigger group count than what " "can fit into destination buffer")))
15744
 
                                           ;
15745
 
 
15746
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
15747
 
__attribute__ ((__nothrow__)) getgroups (int __size, __gid_t __list[])
15748
 
{
15749
 
  if (__builtin_object_size (__list, 2 > 1) != (size_t) -1)
15750
 
    {
15751
 
      if (!__builtin_constant_p (__size) || __size < 0)
15752
 
 return __getgroups_chk (__size, __list, __builtin_object_size (__list, 2 > 1));
15753
 
 
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));
15756
 
    }
15757
 
  return __getgroups_alias (__size, __list);
15758
 
}
15759
 
 
15760
 
 
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__))
15764
 
 
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__))
15767
 
 
15768
 
 
15769
 
     __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ttyname_r called with bigger buflen than " "size of destination buffer")))
15770
 
                                  ;
15771
 
 
15772
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
15773
 
__attribute__ ((__nothrow__)) ttyname_r (int __fd, char *__buf, size_t __buflen)
15774
 
{
15775
 
  if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15776
 
    {
15777
 
      if (!__builtin_constant_p (__buflen))
15778
 
 return __ttyname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15779
 
 
15780
 
      if (__buflen > __builtin_object_size (__buf, 2 > 1))
15781
 
 return __ttyname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15782
 
    }
15783
 
  return __ttyname_r_alias (__fd, __buf, __buflen);
15784
 
}
15785
 
 
15786
 
 
15787
 
 
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")
15793
 
 
15794
 
 
15795
 
     __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("getlogin_r called with bigger buflen than " "size of destination buffer")))
15796
 
                                  ;
15797
 
 
15798
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
15799
 
getlogin_r (char *__buf, size_t __buflen)
15800
 
{
15801
 
  if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15802
 
    {
15803
 
      if (!__builtin_constant_p (__buflen))
15804
 
 return __getlogin_r_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15805
 
 
15806
 
      if (__buflen > __builtin_object_size (__buf, 2 > 1))
15807
 
 return __getlogin_r_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15808
 
    }
15809
 
  return __getlogin_r_alias (__buf, __buflen);
15810
 
}
15811
 
 
15812
 
 
15813
 
 
15814
 
 
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__))
15820
 
 
15821
 
 
15822
 
     __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("gethostname called with bigger buflen than " "size of destination buffer")))
15823
 
                                  ;
15824
 
 
15825
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
15826
 
__attribute__ ((__nothrow__)) gethostname (char *__buf, size_t __buflen)
15827
 
{
15828
 
  if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15829
 
    {
15830
 
      if (!__builtin_constant_p (__buflen))
15831
 
 return __gethostname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15832
 
 
15833
 
      if (__buflen > __builtin_object_size (__buf, 2 > 1))
15834
 
 return __gethostname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15835
 
    }
15836
 
  return __gethostname_alias (__buf, __buflen);
15837
 
}
15838
 
 
15839
 
 
15840
 
 
15841
 
 
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__))
15845
 
 
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__))
15848
 
 
15849
 
 
15850
 
     __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getdomainname called with bigger " "buflen than size of destination " "buffer")))
15851
 
 
15852
 
                    ;
15853
 
 
15854
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
15855
 
__attribute__ ((__nothrow__)) getdomainname (char *__buf, size_t __buflen)
15856
 
{
15857
 
  if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
15858
 
    {
15859
 
      if (!__builtin_constant_p (__buflen))
15860
 
 return __getdomainname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15861
 
 
15862
 
      if (__buflen > __builtin_object_size (__buf, 2 > 1))
15863
 
 return __getdomainname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
15864
 
    }
15865
 
  return __getdomainname_alias (__buf, __buflen);
15866
 
}
15867
 
# 1161 "/usr/include/unistd.h" 2 3 4
15868
 
 
15869
 
 
15870
 
 
15871
 
# 41 "../../../testing/testing.h" 2
15872
 
 
15873
 
gboolean testing_wait_until (gint timeout);
15874
 
 
15875
 
void testing_wait_stop (void);
15876
 
 
15877
 
const gchar* testing_data_directory (void);
15878
 
 
15879
 
const gchar* testing_scratch_directory (void);
15880
 
 
15881
 
guchar* testing_data_read (const gchar *basename,
15882
 
                                                   gsize *n_data);
15883
 
 
15884
 
void testing_data_to_scratch (const gchar *basename,
15885
 
                                                   const gchar *newname);
15886
 
 
15887
 
gchar* testing_scratch_filename (const gchar *basename);
15888
 
 
15889
 
void testing_scratch_empty (const gchar *basename);
15890
 
 
15891
 
void testing_scratch_touch (const gchar *basename,
15892
 
                                                   gint future);
15893
 
 
15894
 
void testing_scratch_remove (const gchar *basename);
15895
 
 
15896
 
void testing_scratch_remove_all (void);
15897
 
 
15898
 
gchar* testing_data_filename (const gchar *basename);
15899
 
 
15900
 
 
15901
 
 
15902
 
void testing_test_p11_module (CK_FUNCTION_LIST_PTR module,
15903
 
                                                   const gchar *config);
15904
 
 
15905
 
 
15906
 
 
15907
 
typedef void (*TestingExternalFunc) (void);
15908
 
 
15909
 
void testing_external_run (const gchar *name,
15910
 
                                                   TestingExternalFunc func,
15911
 
                                                   int *result);
15912
 
 
15913
 
const gchar* testing_external_name (void);
15914
 
 
15915
 
void testing_external_fail (void);
15916
 
# 1 "test-suite.h" 2
15917
 
# 34 "test-xdg-module.h" 2
15918
 
 
15919
 
void test_xdg_module_leave (void);
15920
 
 
15921
 
void test_xdg_module_enter (void);
15922
 
 
15923
 
GkmModule* test_xdg_module_initialize_and_enter (void);
15924
 
 
15925
 
void test_xdg_module_leave_and_finalize (void);
15926
 
 
15927
 
GkmSession* test_xdg_module_open_session (gboolean writable);
15928
 
# 27 "test-xdg-trust.c" 2
15929
 
 
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
15936
 
 
15937
 
typedef GkmObject* (*GkmFactoryFunc) (GkmSession *session, GkmTransaction *transaction,
15938
 
                                      CK_ATTRIBUTE_PTR attrs, CK_ULONG n_attrs);
15939
 
 
15940
 
struct _GkmFactory {
15941
 
 CK_ATTRIBUTE_PTR attrs;
15942
 
 CK_ULONG n_attrs;
15943
 
 GkmFactoryFunc func;
15944
 
};
15945
 
# 30 "./../../gkm/gkm-module.h" 2
15946
 
# 39 "./../../gkm/gkm-module.h"
15947
 
typedef struct _GkmModuleClass GkmModuleClass;
15948
 
typedef struct _GkmModulePrivate GkmModulePrivate;
15949
 
 
15950
 
struct _GkmModule {
15951
 
 GObject parent;
15952
 
 CK_FUNCTION_LIST pkcs11_funcs;
15953
 
 GkmModulePrivate *pv;
15954
 
};
15955
 
 
15956
 
struct _GkmModuleClass {
15957
 
 GObjectClass parent_class;
15958
 
 
15959
 
 
15960
 
 
15961
 
 void (*parse_argument) (GkmModule *self, const gchar *name, const gchar *value);
15962
 
 
15963
 
 const CK_SLOT_INFO* (*get_slot_info) (GkmModule *self);
15964
 
 
15965
 
 const CK_TOKEN_INFO* (*get_token_info) (GkmModule *self);
15966
 
 
15967
 
 CK_RV (*refresh_token) (GkmModule *self);
15968
 
 
15969
 
 void (*add_token_object) (GkmModule *self, GkmTransaction *transaction, GkmObject *object);
15970
 
 
15971
 
 void (*store_token_object) (GkmModule *self, GkmTransaction *transaction, GkmObject *object);
15972
 
 
15973
 
 void (*remove_token_object) (GkmModule *self, GkmTransaction *transaction, GkmObject *object);
15974
 
 
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);
15978
 
 
15979
 
 CK_RV (*login_user) (GkmModule *self, CK_SLOT_ID slot_id,
15980
 
                      CK_UTF8CHAR_PTR pin, CK_ULONG n_pin);
15981
 
 
15982
 
 CK_RV (*logout_user) (GkmModule *self, CK_SLOT_ID slot_id);
15983
 
 
15984
 
 CK_RV (*login_so) (GkmModule *self, CK_SLOT_ID slot_id,
15985
 
                    CK_UTF8CHAR_PTR pin, CK_ULONG n_pin);
15986
 
 
15987
 
 CK_RV (*logout_so) (GkmModule *self, CK_SLOT_ID slot_id);
15988
 
};
15989
 
# 103 "./../../gkm/gkm-module.h"
15990
 
GType gkm_module_get_type (void);
15991
 
 
15992
 
GkmManager* gkm_module_get_manager (GkmModule *self);
15993
 
 
15994
 
gboolean gkm_module_get_write_protected (GkmModule *self);
15995
 
 
15996
 
CK_ULONG gkm_module_next_handle (GkmModule *self);
15997
 
 
15998
 
GkmSession* gkm_module_lookup_session (GkmModule *self,
15999
 
                                                                   CK_SESSION_HANDLE handle);
16000
 
 
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);
16007
 
 
16008
 
CK_RV gkm_module_login_user (GkmModule *self,
16009
 
                                                                   CK_SLOT_ID slot_id,
16010
 
                                                                   CK_UTF8CHAR_PTR pin,
16011
 
                                                                   CK_ULONG n_pin);
16012
 
 
16013
 
CK_RV gkm_module_logout_user (GkmModule *self,
16014
 
                                                                   CK_SLOT_ID slot_id);
16015
 
 
16016
 
CK_RV gkm_module_login_so (GkmModule *self,
16017
 
                                                                   CK_SLOT_ID slot_id,
16018
 
                                                                   CK_UTF8CHAR_PTR pin,
16019
 
                                                                   CK_ULONG n_pin);
16020
 
 
16021
 
CK_RV gkm_module_logout_so (GkmModule *self,
16022
 
                                                                   CK_SLOT_ID slot_id);
16023
 
 
16024
 
CK_RV gkm_module_refresh_token (GkmModule *self);
16025
 
 
16026
 
void gkm_module_add_token_object (GkmModule *self,
16027
 
                                                                   GkmTransaction *transaction,
16028
 
                                                                   GkmObject *object);
16029
 
 
16030
 
void gkm_module_store_token_object (GkmModule *self,
16031
 
                                                                   GkmTransaction *transaction,
16032
 
                                                                   GkmObject *object);
16033
 
 
16034
 
void gkm_module_remove_token_object (GkmModule *self,
16035
 
                                                                   GkmTransaction *transaction,
16036
 
                                                                   GkmObject *object);
16037
 
 
16038
 
GkmFactory* gkm_module_find_factory (GkmModule *self,
16039
 
                                                                   CK_ATTRIBUTE_PTR attrs,
16040
 
                                                                   CK_ULONG n_attrs);
16041
 
 
16042
 
void gkm_module_register_factory (GkmModule *self,
16043
 
                                                                   GkmFactory *factory);
16044
 
 
16045
 
CK_RV gkm_module_C_GetInfo (GkmModule *self,
16046
 
                                                                   CK_INFO_PTR info);
16047
 
 
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);
16052
 
 
16053
 
CK_RV gkm_module_C_GetSlotInfo (GkmModule *self,
16054
 
                                                                   CK_SLOT_ID id,
16055
 
                                                                   CK_SLOT_INFO_PTR info);
16056
 
 
16057
 
CK_RV gkm_module_C_GetTokenInfo (GkmModule *self,
16058
 
                                                                   CK_SLOT_ID id,
16059
 
                                                                   CK_TOKEN_INFO_PTR info);
16060
 
 
16061
 
CK_RV gkm_module_C_GetMechanismList (GkmModule *self,
16062
 
                                                                   CK_SLOT_ID id,
16063
 
                                                                   CK_MECHANISM_TYPE_PTR mech_list,
16064
 
                                                                   CK_ULONG_PTR count);
16065
 
 
16066
 
CK_RV gkm_module_C_GetMechanismInfo (GkmModule *self,
16067
 
                                                                   CK_SLOT_ID id,
16068
 
                                                                   CK_MECHANISM_TYPE type,
16069
 
                                                                   CK_MECHANISM_INFO_PTR info);
16070
 
 
16071
 
CK_RV gkm_module_C_InitToken (GkmModule *self,
16072
 
                                                                   CK_SLOT_ID id,
16073
 
                                                                   CK_UTF8CHAR_PTR pin,
16074
 
                                                                   CK_ULONG pin_len,
16075
 
                                                                   CK_UTF8CHAR_PTR label);
16076
 
 
16077
 
CK_RV gkm_module_C_OpenSession (GkmModule *self,
16078
 
                                                                   CK_SLOT_ID id,
16079
 
                                                                   CK_FLAGS flags,
16080
 
                                                                   CK_VOID_PTR user_data,
16081
 
                                                                   CK_NOTIFY callback,
16082
 
                                                                   CK_SESSION_HANDLE_PTR session);
16083
 
 
16084
 
CK_RV gkm_module_C_CloseSession (GkmModule *self,
16085
 
                                                                   CK_SESSION_HANDLE session);
16086
 
 
16087
 
CK_RV gkm_module_C_CloseAllSessions (GkmModule *self,
16088
 
                                                                   CK_SLOT_ID id);
16089
 
 
16090
 
CK_RV gkm_module_C_InitPIN (GkmModule* self,
16091
 
                                                                   CK_SESSION_HANDLE session,
16092
 
                                                                   CK_UTF8CHAR_PTR pin,
16093
 
                                                                   CK_ULONG pin_len);
16094
 
 
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);
16101
 
 
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,
16106
 
                                                                   CK_ULONG pin_len);
16107
 
 
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
16124
 
typedef enum
16125
 
  {
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,
16146
 
 
16147
 
 
16148
 
    GPG_ERR_SOURCE_DIM = 128
16149
 
  } gpg_err_source_t;
16150
 
 
16151
 
 
16152
 
 
16153
 
 
16154
 
 
16155
 
 
16156
 
typedef enum
16157
 
  {
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,
16217
 
    GPG_ERR_BUG = 59,
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,
16403
 
 
16404
 
 
16405
 
 
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,
16547
 
 
16548
 
 
16549
 
    GPG_ERR_CODE_DIM = 65536
16550
 
  } gpg_err_code_t;
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);
16557
 
 
16558
 
 
16559
 
 
16560
 
 
16561
 
 
16562
 
 
16563
 
static __inline__ gpg_error_t
16564
 
gpg_err_make (gpg_err_source_t source, gpg_err_code_t code)
16565
 
{
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)));
16569
 
}
16570
 
# 584 "/usr/include/gpg-error.h" 3 4
16571
 
static __inline__ gpg_error_t
16572
 
gpg_error (gpg_err_code_t code)
16573
 
{
16574
 
  return gpg_err_make (GPG_ERR_SOURCE_UNKNOWN, code);
16575
 
}
16576
 
 
16577
 
 
16578
 
 
16579
 
static __inline__ gpg_err_code_t
16580
 
gpg_err_code (gpg_error_t err)
16581
 
{
16582
 
  return (gpg_err_code_t) (err & (GPG_ERR_CODE_DIM - 1));
16583
 
}
16584
 
 
16585
 
 
16586
 
 
16587
 
static __inline__ gpg_err_source_t
16588
 
gpg_err_source (gpg_error_t err)
16589
 
{
16590
 
  return (gpg_err_source_t) ((err >> 24)
16591
 
        & (GPG_ERR_SOURCE_DIM - 1));
16592
 
}
16593
 
 
16594
 
 
16595
 
 
16596
 
 
16597
 
 
16598
 
 
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);
16602
 
 
16603
 
 
16604
 
 
16605
 
const char *gpg_strsource (gpg_error_t err);
16606
 
 
16607
 
 
16608
 
 
16609
 
 
16610
 
 
16611
 
 
16612
 
 
16613
 
gpg_err_code_t gpg_err_code_from_errno (int err);
16614
 
 
16615
 
 
16616
 
 
16617
 
 
16618
 
int gpg_err_code_to_errno (gpg_err_code_t code);
16619
 
 
16620
 
 
16621
 
 
16622
 
 
16623
 
 
16624
 
gpg_err_code_t gpg_err_code_from_syserror (void);
16625
 
 
16626
 
 
16627
 
 
16628
 
 
16629
 
void gpg_err_set_errno (int err);
16630
 
 
16631
 
 
16632
 
 
16633
 
 
16634
 
static __inline__ gpg_error_t
16635
 
gpg_err_make_from_errno (gpg_err_source_t source, int err)
16636
 
{
16637
 
  return gpg_err_make (source, gpg_err_code_from_errno (err));
16638
 
}
16639
 
 
16640
 
 
16641
 
static __inline__ gpg_error_t
16642
 
gpg_error_from_errno (int err)
16643
 
{
16644
 
  return gpg_error (gpg_err_code_from_errno (err));
16645
 
}
16646
 
 
16647
 
static __inline__ gpg_error_t
16648
 
gpg_error_from_syserror (void)
16649
 
{
16650
 
  return gpg_error (gpg_err_code_from_syserror ());
16651
 
}
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
16656
 
 
16657
 
 
16658
 
# 1 "/usr/include/sys/uio.h" 1 3 4
16659
 
# 26 "/usr/include/sys/uio.h" 3 4
16660
 
 
16661
 
 
16662
 
 
16663
 
# 1 "/usr/include/bits/uio.h" 1 3 4
16664
 
# 44 "/usr/include/bits/uio.h" 3 4
16665
 
struct iovec
16666
 
  {
16667
 
    void *iov_base;
16668
 
    size_t iov_len;
16669
 
  };
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__));
16689
 
 
16690
 
 
16691
 
 
16692
 
 
16693
 
# 29 "/usr/include/sys/socket.h" 2 3 4
16694
 
 
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
16697
 
 
16698
 
 
16699
 
# 1 "/usr/include/bits/sigset.h" 1 3 4
16700
 
# 34 "/usr/include/sys/socket.h" 2 3 4
16701
 
 
16702
 
 
16703
 
 
16704
 
 
16705
 
 
16706
 
 
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
16712
 
enum __socket_type
16713
 
{
16714
 
  SOCK_STREAM = 1,
16715
 
 
16716
 
 
16717
 
  SOCK_DGRAM = 2,
16718
 
 
16719
 
 
16720
 
  SOCK_RAW = 3,
16721
 
 
16722
 
  SOCK_RDM = 4,
16723
 
 
16724
 
  SOCK_SEQPACKET = 5,
16725
 
 
16726
 
 
16727
 
  SOCK_DCCP = 6,
16728
 
 
16729
 
  SOCK_PACKET = 10,
16730
 
 
16731
 
 
16732
 
 
16733
 
 
16734
 
 
16735
 
 
16736
 
 
16737
 
  SOCK_CLOEXEC = 02000000,
16738
 
 
16739
 
 
16740
 
  SOCK_NONBLOCK = 04000
16741
 
 
16742
 
 
16743
 
};
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
16749
 
 
16750
 
 
16751
 
struct sockaddr
16752
 
  {
16753
 
    sa_family_t sa_family;
16754
 
    char sa_data[14];
16755
 
  };
16756
 
# 191 "/usr/include/bits/socket.h" 3 4
16757
 
struct sockaddr_storage
16758
 
  {
16759
 
    sa_family_t ss_family;
16760
 
    unsigned long int __ss_align;
16761
 
    char __ss_padding[(128 - (2 * sizeof (unsigned long int)))];
16762
 
  };
16763
 
 
16764
 
 
16765
 
 
16766
 
enum
16767
 
  {
16768
 
    MSG_OOB = 0x01,
16769
 
 
16770
 
    MSG_PEEK = 0x02,
16771
 
 
16772
 
    MSG_DONTROUTE = 0x04,
16773
 
 
16774
 
 
16775
 
 
16776
 
    MSG_TRYHARD = MSG_DONTROUTE,
16777
 
 
16778
 
 
16779
 
    MSG_CTRUNC = 0x08,
16780
 
 
16781
 
    MSG_PROXY = 0x10,
16782
 
 
16783
 
    MSG_TRUNC = 0x20,
16784
 
 
16785
 
    MSG_DONTWAIT = 0x40,
16786
 
 
16787
 
    MSG_EOR = 0x80,
16788
 
 
16789
 
    MSG_WAITALL = 0x100,
16790
 
 
16791
 
    MSG_FIN = 0x200,
16792
 
 
16793
 
    MSG_SYN = 0x400,
16794
 
 
16795
 
    MSG_CONFIRM = 0x800,
16796
 
 
16797
 
    MSG_RST = 0x1000,
16798
 
 
16799
 
    MSG_ERRQUEUE = 0x2000,
16800
 
 
16801
 
    MSG_NOSIGNAL = 0x4000,
16802
 
 
16803
 
    MSG_MORE = 0x8000,
16804
 
 
16805
 
    MSG_WAITFORONE = 0x10000,
16806
 
 
16807
 
 
16808
 
    MSG_CMSG_CLOEXEC = 0x40000000
16809
 
 
16810
 
 
16811
 
 
16812
 
  };
16813
 
 
16814
 
 
16815
 
 
16816
 
 
16817
 
struct msghdr
16818
 
  {
16819
 
    void *msg_name;
16820
 
    socklen_t msg_namelen;
16821
 
 
16822
 
    struct iovec *msg_iov;
16823
 
    size_t msg_iovlen;
16824
 
 
16825
 
    void *msg_control;
16826
 
    size_t msg_controllen;
16827
 
 
16828
 
 
16829
 
 
16830
 
 
16831
 
    int msg_flags;
16832
 
  };
16833
 
 
16834
 
 
16835
 
 
16836
 
struct mmsghdr
16837
 
  {
16838
 
    struct msghdr msg_hdr;
16839
 
    unsigned int msg_len;
16840
 
  };
16841
 
 
16842
 
 
16843
 
 
16844
 
struct cmsghdr
16845
 
  {
16846
 
    size_t cmsg_len;
16847
 
 
16848
 
 
16849
 
 
16850
 
 
16851
 
    int cmsg_level;
16852
 
    int cmsg_type;
16853
 
 
16854
 
    __extension__ unsigned char __cmsg_data [];
16855
 
 
16856
 
  };
16857
 
# 308 "/usr/include/bits/socket.h" 3 4
16858
 
extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
16859
 
          struct cmsghdr *__cmsg) __attribute__ ((__nothrow__));
16860
 
 
16861
 
 
16862
 
 
16863
 
 
16864
 
extern __inline struct cmsghdr *
16865
 
__attribute__ ((__nothrow__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)
16866
 
{
16867
 
  if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr))
16868
 
 
16869
 
    return 0;
16870
 
 
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)))
16877
 
 
16878
 
    return 0;
16879
 
  return __cmsg;
16880
 
}
16881
 
 
16882
 
 
16883
 
 
16884
 
 
16885
 
enum
16886
 
  {
16887
 
    SCM_RIGHTS = 0x01
16888
 
 
16889
 
 
16890
 
    , SCM_CREDENTIALS = 0x02
16891
 
 
16892
 
 
16893
 
  };
16894
 
 
16895
 
 
16896
 
 
16897
 
struct ucred
16898
 
{
16899
 
  pid_t pid;
16900
 
  uid_t uid;
16901
 
  gid_t gid;
16902
 
};
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
16906
 
 
16907
 
 
16908
 
 
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
16916
 
struct linger
16917
 
  {
16918
 
    int l_onoff;
16919
 
    int l_linger;
16920
 
  };
16921
 
 
16922
 
 
16923
 
 
16924
 
 
16925
 
 
16926
 
 
16927
 
 
16928
 
 
16929
 
 
16930
 
extern int recvmmsg (int __fd, struct mmsghdr *__vmessages,
16931
 
       unsigned int __vlen, int __flags,
16932
 
       __const struct timespec *__tmo);
16933
 
 
16934
 
 
16935
 
# 41 "/usr/include/sys/socket.h" 2 3 4
16936
 
 
16937
 
 
16938
 
 
16939
 
 
16940
 
struct osockaddr
16941
 
  {
16942
 
    unsigned short int sa_family;
16943
 
    unsigned char sa_data[14];
16944
 
  };
16945
 
 
16946
 
 
16947
 
 
16948
 
 
16949
 
enum
16950
 
{
16951
 
  SHUT_RD = 0,
16952
 
 
16953
 
  SHUT_WR,
16954
 
 
16955
 
  SHUT_RDWR
16956
 
 
16957
 
};
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__));
16961
 
 
16962
 
 
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__));
16965
 
 
16966
 
 
16967
 
 
16968
 
 
16969
 
 
16970
 
 
16971
 
 
16972
 
extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__));
16973
 
 
16974
 
 
16975
 
 
16976
 
 
16977
 
 
16978
 
extern int socketpair (int __domain, int __type, int __protocol,
16979
 
         int __fds[2]) __attribute__ ((__nothrow__));
16980
 
 
16981
 
 
16982
 
extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len)
16983
 
     __attribute__ ((__nothrow__));
16984
 
 
16985
 
 
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);
16990
 
 
16991
 
 
16992
 
 
16993
 
extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
16994
 
   socklen_t *__restrict __len) __attribute__ ((__nothrow__));
16995
 
 
16996
 
 
16997
 
 
16998
 
 
16999
 
 
17000
 
 
17001
 
extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags);
17002
 
 
17003
 
 
17004
 
 
17005
 
 
17006
 
 
17007
 
 
17008
 
extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
17009
 
 
17010
 
 
17011
 
 
17012
 
 
17013
 
 
17014
 
 
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);
17022
 
 
17023
 
 
17024
 
 
17025
 
 
17026
 
 
17027
 
 
17028
 
 
17029
 
extern ssize_t sendmsg (int __fd, __const struct msghdr *__message,
17030
 
   int __flags);
17031
 
 
17032
 
 
17033
 
 
17034
 
 
17035
 
 
17036
 
 
17037
 
extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags);
17038
 
 
17039
 
 
17040
 
 
17041
 
 
17042
 
 
17043
 
extern int getsockopt (int __fd, int __level, int __optname,
17044
 
         void *__restrict __optval,
17045
 
         socklen_t *__restrict __optlen) __attribute__ ((__nothrow__));
17046
 
 
17047
 
 
17048
 
 
17049
 
 
17050
 
extern int setsockopt (int __fd, int __level, int __optname,
17051
 
         __const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__));
17052
 
 
17053
 
 
17054
 
 
17055
 
 
17056
 
 
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);
17061
 
 
17062
 
 
17063
 
 
17064
 
 
17065
 
 
17066
 
 
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__));
17071
 
 
17072
 
 
17073
 
 
17074
 
 
17075
 
extern int sockatmark (int __fd) __attribute__ ((__nothrow__));
17076
 
 
17077
 
 
17078
 
 
17079
 
 
17080
 
 
17081
 
 
17082
 
 
17083
 
extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__));
17084
 
 
17085
 
 
17086
 
 
17087
 
 
17088
 
 
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,
17092
 
      int __flags);
17093
 
extern ssize_t __recv_alias (int __fd, void *__buf, size_t __n, int __flags) __asm__ ("" "recv")
17094
 
                          ;
17095
 
extern ssize_t __recv_chk_warn (int __fd, void *__buf, size_t __n, size_t __buflen, int __flags) __asm__ ("" "__recv_chk")
17096
 
 
17097
 
 
17098
 
     __attribute__((__warning__ ("recv called with bigger length than size of destination " "buffer")))
17099
 
            ;
17100
 
 
17101
 
extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) ssize_t
17102
 
recv (int __fd, void *__buf, size_t __n, int __flags)
17103
 
{
17104
 
  if (__builtin_object_size (__buf, 0) != (size_t) -1)
17105
 
    {
17106
 
      if (!__builtin_constant_p (__n))
17107
 
 return __recv_chk (__fd, __buf, __n, __builtin_object_size (__buf, 0), __flags);
17108
 
 
17109
 
      if (__n > __builtin_object_size (__buf, 0))
17110
 
 return __recv_chk_warn (__fd, __buf, __n, __builtin_object_size (__buf, 0), __flags);
17111
 
    }
17112
 
  return __recv_alias (__fd, __buf, __n, __flags);
17113
 
}
17114
 
 
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")
17120
 
 
17121
 
 
17122
 
                                                   ;
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")
17124
 
 
17125
 
 
17126
 
 
17127
 
 
17128
 
     __attribute__((__warning__ ("recvfrom called with bigger length than size of " "destination buffer")))
17129
 
                        ;
17130
 
 
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)
17134
 
{
17135
 
  if (__builtin_object_size (__buf, 0) != (size_t) -1)
17136
 
    {
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);
17143
 
    }
17144
 
  return __recvfrom_alias (__fd, __buf, __n, __flags, __addr, __addr_len);
17145
 
}
17146
 
# 252 "/usr/include/sys/socket.h" 2 3 4
17147
 
 
17148
 
 
17149
 
 
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
17156
 
 
17157
 
# 57 "/usr/include/sys/time.h" 3 4
17158
 
struct timezone
17159
 
  {
17160
 
    int tz_minuteswest;
17161
 
    int tz_dsttime;
17162
 
  };
17163
 
 
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)));
17168
 
 
17169
 
 
17170
 
 
17171
 
 
17172
 
extern int settimeofday (__const struct timeval *__tv,
17173
 
    __const struct timezone *__tz)
17174
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
17175
 
 
17176
 
 
17177
 
 
17178
 
 
17179
 
 
17180
 
extern int adjtime (__const struct timeval *__delta,
17181
 
      struct timeval *__olddelta) __attribute__ ((__nothrow__));
17182
 
 
17183
 
 
17184
 
 
17185
 
 
17186
 
enum __itimer_which
17187
 
  {
17188
 
 
17189
 
    ITIMER_REAL = 0,
17190
 
 
17191
 
 
17192
 
    ITIMER_VIRTUAL = 1,
17193
 
 
17194
 
 
17195
 
 
17196
 
    ITIMER_PROF = 2
17197
 
 
17198
 
  };
17199
 
 
17200
 
 
17201
 
 
17202
 
struct itimerval
17203
 
  {
17204
 
 
17205
 
    struct timeval it_interval;
17206
 
 
17207
 
    struct timeval it_value;
17208
 
  };
17209
 
 
17210
 
 
17211
 
 
17212
 
 
17213
 
typedef enum __itimer_which __itimer_which_t;
17214
 
 
17215
 
 
17216
 
 
17217
 
 
17218
 
 
17219
 
 
17220
 
extern int getitimer (__itimer_which_t __which,
17221
 
        struct itimerval *__value) __attribute__ ((__nothrow__));
17222
 
 
17223
 
 
17224
 
 
17225
 
 
17226
 
extern int setitimer (__itimer_which_t __which,
17227
 
        __const struct itimerval *__restrict __new,
17228
 
        struct itimerval *__restrict __old) __attribute__ ((__nothrow__));
17229
 
 
17230
 
 
17231
 
 
17232
 
 
17233
 
extern int utimes (__const char *__file, __const struct timeval __tvp[2])
17234
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
17235
 
 
17236
 
 
17237
 
 
17238
 
extern int lutimes (__const char *__file, __const struct timeval __tvp[2])
17239
 
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
17240
 
 
17241
 
 
17242
 
extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__));
17243
 
 
17244
 
 
17245
 
 
17246
 
 
17247
 
 
17248
 
 
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
17252
 
 
17253
 
# 44 "/usr/include/gcrypt.h" 2 3 4
17254
 
 
17255
 
 
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;
17261
 
 
17262
 
static __inline__ gcry_error_t
17263
 
gcry_err_make (gcry_err_source_t source, gcry_err_code_t code)
17264
 
{
17265
 
  return gpg_err_make (source, code);
17266
 
}
17267
 
 
17268
 
 
17269
 
 
17270
 
 
17271
 
 
17272
 
 
17273
 
 
17274
 
static __inline__ gcry_error_t
17275
 
gcry_error (gcry_err_code_t code)
17276
 
{
17277
 
  return gcry_err_make (GPG_ERR_SOURCE_USER_1, code);
17278
 
}
17279
 
 
17280
 
static __inline__ gcry_err_code_t
17281
 
gcry_err_code (gcry_error_t err)
17282
 
{
17283
 
  return gpg_err_code (err);
17284
 
}
17285
 
 
17286
 
 
17287
 
static __inline__ gcry_err_source_t
17288
 
gcry_err_source (gcry_error_t err)
17289
 
{
17290
 
  return gpg_err_source (err);
17291
 
}
17292
 
 
17293
 
 
17294
 
 
17295
 
const char *gcry_strerror (gcry_error_t err);
17296
 
 
17297
 
 
17298
 
 
17299
 
const char *gcry_strsource (gcry_error_t err);
17300
 
 
17301
 
 
17302
 
 
17303
 
 
17304
 
gcry_err_code_t gcry_err_code_from_errno (int err);
17305
 
 
17306
 
 
17307
 
 
17308
 
int gcry_err_code_to_errno (gcry_err_code_t code);
17309
 
 
17310
 
 
17311
 
 
17312
 
gcry_error_t gcry_err_make_from_errno (gcry_err_source_t source, int err);
17313
 
 
17314
 
 
17315
 
gcry_err_code_t gcry_error_from_errno (int err);
17316
 
 
17317
 
 
17318
 
 
17319
 
 
17320
 
enum gcry_thread_option
17321
 
  {
17322
 
    _GCRY_THREAD_OPTION_DUMMY
17323
 
  } __attribute__ ((__deprecated__));
17324
 
# 198 "/usr/include/gcrypt.h" 3 4
17325
 
struct gcry_thread_cbs
17326
 
{
17327
 
 
17328
 
 
17329
 
 
17330
 
 
17331
 
 
17332
 
  unsigned int option;
17333
 
 
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);
17349
 
 
17350
 
};
17351
 
# 344 "/usr/include/gcrypt.h" 3 4
17352
 
struct gcry_mpi;
17353
 
typedef struct gcry_mpi *gcry_mpi_t;
17354
 
 
17355
 
 
17356
 
typedef struct gcry_mpi *GCRY_MPI __attribute__ ((__deprecated__));
17357
 
typedef struct gcry_mpi *GcryMPI __attribute__ ((__deprecated__));
17358
 
 
17359
 
 
17360
 
 
17361
 
 
17362
 
 
17363
 
const char *gcry_check_version (const char *req_version);
17364
 
 
17365
 
 
17366
 
 
17367
 
 
17368
 
enum gcry_ctl_cmds
17369
 
  {
17370
 
    GCRYCTL_SET_KEY = 1,
17371
 
    GCRYCTL_SET_IV = 2,
17372
 
    GCRYCTL_CFB_SYNC = 3,
17373
 
    GCRYCTL_RESET = 4,
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
17426
 
 
17427
 
  };
17428
 
 
17429
 
 
17430
 
gcry_error_t gcry_control (enum gcry_ctl_cmds CMD, ...);
17431
 
 
17432
 
 
17433
 
 
17434
 
 
17435
 
 
17436
 
 
17437
 
struct gcry_sexp;
17438
 
typedef struct gcry_sexp *gcry_sexp_t;
17439
 
 
17440
 
 
17441
 
typedef struct gcry_sexp *GCRY_SEXP __attribute__ ((__deprecated__));
17442
 
typedef struct gcry_sexp *GcrySexp __attribute__ ((__deprecated__));
17443
 
 
17444
 
 
17445
 
 
17446
 
enum gcry_sexp_format
17447
 
  {
17448
 
    GCRYSEXP_FMT_DEFAULT = 0,
17449
 
    GCRYSEXP_FMT_CANON = 1,
17450
 
    GCRYSEXP_FMT_BASE64 = 2,
17451
 
    GCRYSEXP_FMT_ADVANCED = 3
17452
 
  };
17453
 
 
17454
 
 
17455
 
 
17456
 
 
17457
 
gcry_error_t gcry_sexp_new (gcry_sexp_t *retsexp,
17458
 
                            const void *buffer, size_t length,
17459
 
                            int autodetect);
17460
 
 
17461
 
 
17462
 
 
17463
 
gcry_error_t gcry_sexp_create (gcry_sexp_t *retsexp,
17464
 
                               void *buffer, size_t length,
17465
 
                               int autodetect, void (*freefnc) (void *));
17466
 
 
17467
 
 
17468
 
 
17469
 
gcry_error_t gcry_sexp_sscan (gcry_sexp_t *retsexp, size_t *erroff,
17470
 
                              const char *buffer, size_t length);
17471
 
 
17472
 
 
17473
 
 
17474
 
gcry_error_t gcry_sexp_build (gcry_sexp_t *retsexp, size_t *erroff,
17475
 
                              const char *format, ...);
17476
 
 
17477
 
 
17478
 
 
17479
 
gcry_error_t gcry_sexp_build_array (gcry_sexp_t *retsexp, size_t *erroff,
17480
 
        const char *format, void **arg_list);
17481
 
 
17482
 
 
17483
 
void gcry_sexp_release (gcry_sexp_t sexp);
17484
 
 
17485
 
 
17486
 
 
17487
 
size_t gcry_sexp_canon_len (const unsigned char *buffer, size_t length,
17488
 
                            size_t *erroff, gcry_error_t *errcode);
17489
 
 
17490
 
 
17491
 
 
17492
 
size_t gcry_sexp_sprint (gcry_sexp_t sexp, int mode, void *buffer,
17493
 
                         size_t maxlength);
17494
 
 
17495
 
 
17496
 
 
17497
 
void gcry_sexp_dump (const gcry_sexp_t a);
17498
 
 
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);
17504
 
 
17505
 
 
17506
 
 
17507
 
 
17508
 
 
17509
 
 
17510
 
gcry_sexp_t gcry_sexp_find_token (gcry_sexp_t list,
17511
 
                                const char *tok, size_t toklen);
17512
 
 
17513
 
 
17514
 
int gcry_sexp_length (const gcry_sexp_t list);
17515
 
 
17516
 
 
17517
 
 
17518
 
 
17519
 
gcry_sexp_t gcry_sexp_nth (const gcry_sexp_t list, int number);
17520
 
 
17521
 
 
17522
 
 
17523
 
 
17524
 
gcry_sexp_t gcry_sexp_car (const gcry_sexp_t list);
17525
 
 
17526
 
 
17527
 
 
17528
 
 
17529
 
 
17530
 
 
17531
 
gcry_sexp_t gcry_sexp_cdr (const gcry_sexp_t list);
17532
 
 
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,
17536
 
                                size_t *datalen);
17537
 
 
17538
 
 
17539
 
 
17540
 
 
17541
 
 
17542
 
 
17543
 
char *gcry_sexp_nth_string (gcry_sexp_t list, int number);
17544
 
 
17545
 
 
17546
 
 
17547
 
 
17548
 
 
17549
 
 
17550
 
 
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
17554
 
  {
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
17561
 
  };
17562
 
 
17563
 
 
17564
 
enum gcry_mpi_flag
17565
 
  {
17566
 
    GCRYMPI_FLAG_SECURE = 1,
17567
 
    GCRYMPI_FLAG_OPAQUE = 2
17568
 
 
17569
 
 
17570
 
  };
17571
 
 
17572
 
 
17573
 
 
17574
 
 
17575
 
gcry_mpi_t gcry_mpi_new (unsigned int nbits);
17576
 
 
17577
 
 
17578
 
gcry_mpi_t gcry_mpi_snew (unsigned int nbits);
17579
 
 
17580
 
 
17581
 
void gcry_mpi_release (gcry_mpi_t a);
17582
 
 
17583
 
 
17584
 
gcry_mpi_t gcry_mpi_copy (const gcry_mpi_t a);
17585
 
 
17586
 
 
17587
 
gcry_mpi_t gcry_mpi_set (gcry_mpi_t w, const gcry_mpi_t u);
17588
 
 
17589
 
 
17590
 
gcry_mpi_t gcry_mpi_set_ui (gcry_mpi_t w, unsigned long u);
17591
 
 
17592
 
 
17593
 
void gcry_mpi_swap (gcry_mpi_t a, gcry_mpi_t b);
17594
 
 
17595
 
 
17596
 
 
17597
 
int gcry_mpi_cmp (const gcry_mpi_t u, const gcry_mpi_t v);
17598
 
 
17599
 
 
17600
 
 
17601
 
 
17602
 
int gcry_mpi_cmp_ui (const gcry_mpi_t u, unsigned long v);
17603
 
 
17604
 
 
17605
 
 
17606
 
 
17607
 
 
17608
 
gcry_error_t gcry_mpi_scan (gcry_mpi_t *ret_mpi, enum gcry_mpi_format format,
17609
 
                            const void *buffer, size_t buflen,
17610
 
                            size_t *nscanned);
17611
 
 
17612
 
 
17613
 
 
17614
 
 
17615
 
 
17616
 
 
17617
 
gcry_error_t gcry_mpi_print (enum gcry_mpi_format format,
17618
 
                             unsigned char *buffer, size_t buflen,
17619
 
                             size_t *nwritten,
17620
 
                             const gcry_mpi_t a);
17621
 
 
17622
 
 
17623
 
 
17624
 
 
17625
 
 
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);
17629
 
 
17630
 
 
17631
 
 
17632
 
 
17633
 
 
17634
 
void gcry_mpi_dump (const gcry_mpi_t a);
17635
 
 
17636
 
 
17637
 
 
17638
 
void gcry_mpi_add (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v);
17639
 
 
17640
 
 
17641
 
void gcry_mpi_add_ui (gcry_mpi_t w, gcry_mpi_t u, unsigned long v);
17642
 
 
17643
 
 
17644
 
void gcry_mpi_addm (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v, gcry_mpi_t m);
17645
 
 
17646
 
 
17647
 
void gcry_mpi_sub (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v);
17648
 
 
17649
 
 
17650
 
void gcry_mpi_sub_ui (gcry_mpi_t w, gcry_mpi_t u, unsigned long v );
17651
 
 
17652
 
 
17653
 
void gcry_mpi_subm (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v, gcry_mpi_t m);
17654
 
 
17655
 
 
17656
 
void gcry_mpi_mul (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v);
17657
 
 
17658
 
 
17659
 
void gcry_mpi_mul_ui (gcry_mpi_t w, gcry_mpi_t u, unsigned long v );
17660
 
 
17661
 
 
17662
 
void gcry_mpi_mulm (gcry_mpi_t w, gcry_mpi_t u, gcry_mpi_t v, gcry_mpi_t m);
17663
 
 
17664
 
 
17665
 
void gcry_mpi_mul_2exp (gcry_mpi_t w, gcry_mpi_t u, unsigned long cnt);
17666
 
 
17667
 
 
17668
 
 
17669
 
void gcry_mpi_div (gcry_mpi_t q, gcry_mpi_t r,
17670
 
                   gcry_mpi_t dividend, gcry_mpi_t divisor, int round);
17671
 
 
17672
 
 
17673
 
void gcry_mpi_mod (gcry_mpi_t r, gcry_mpi_t dividend, gcry_mpi_t divisor);
17674
 
 
17675
 
 
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);
17679
 
 
17680
 
 
17681
 
 
17682
 
int gcry_mpi_gcd (gcry_mpi_t g, gcry_mpi_t a, gcry_mpi_t b);
17683
 
 
17684
 
 
17685
 
 
17686
 
int gcry_mpi_invm (gcry_mpi_t x, gcry_mpi_t a, gcry_mpi_t m);
17687
 
 
17688
 
 
17689
 
 
17690
 
unsigned int gcry_mpi_get_nbits (gcry_mpi_t a);
17691
 
 
17692
 
 
17693
 
int gcry_mpi_test_bit (gcry_mpi_t a, unsigned int n);
17694
 
 
17695
 
 
17696
 
void gcry_mpi_set_bit (gcry_mpi_t a, unsigned int n);
17697
 
 
17698
 
 
17699
 
void gcry_mpi_clear_bit (gcry_mpi_t a, unsigned int n);
17700
 
 
17701
 
 
17702
 
void gcry_mpi_set_highbit (gcry_mpi_t a, unsigned int n);
17703
 
 
17704
 
 
17705
 
void gcry_mpi_clear_highbit (gcry_mpi_t a, unsigned int n);
17706
 
 
17707
 
 
17708
 
void gcry_mpi_rshift (gcry_mpi_t x, gcry_mpi_t a, unsigned int n);
17709
 
 
17710
 
 
17711
 
void gcry_mpi_lshift (gcry_mpi_t x, gcry_mpi_t a, unsigned int n);
17712
 
 
17713
 
 
17714
 
 
17715
 
 
17716
 
gcry_mpi_t gcry_mpi_set_opaque (gcry_mpi_t a, void *p, unsigned int nbits);
17717
 
 
17718
 
 
17719
 
 
17720
 
 
17721
 
void *gcry_mpi_get_opaque (gcry_mpi_t a, unsigned int *nbits);
17722
 
 
17723
 
 
17724
 
 
17725
 
 
17726
 
void gcry_mpi_set_flag (gcry_mpi_t a, enum gcry_mpi_flag flag);
17727
 
 
17728
 
 
17729
 
 
17730
 
void gcry_mpi_clear_flag (gcry_mpi_t a, enum gcry_mpi_flag flag);
17731
 
 
17732
 
 
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;
17737
 
 
17738
 
 
17739
 
typedef struct gcry_cipher_handle *GCRY_CIPHER_HD __attribute__ ((__deprecated__));
17740
 
typedef struct gcry_cipher_handle *GcryCipherHd __attribute__ ((__deprecated__));
17741
 
 
17742
 
 
17743
 
 
17744
 
 
17745
 
enum gcry_cipher_algos
17746
 
  {
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,
17758
 
 
17759
 
 
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
17772
 
  };
17773
 
# 849 "/usr/include/gcrypt.h" 3 4
17774
 
enum gcry_cipher_modes
17775
 
  {
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
17784
 
  };
17785
 
 
17786
 
 
17787
 
enum gcry_cipher_flags
17788
 
  {
17789
 
    GCRY_CIPHER_SECURE = 1,
17790
 
    GCRY_CIPHER_ENABLE_SYNC = 2,
17791
 
    GCRY_CIPHER_CBC_CTS = 4,
17792
 
    GCRY_CIPHER_CBC_MAC = 8
17793
 
  };
17794
 
 
17795
 
 
17796
 
 
17797
 
 
17798
 
gcry_error_t gcry_cipher_open (gcry_cipher_hd_t *handle,
17799
 
                              int algo, int mode, unsigned int flags);
17800
 
 
17801
 
 
17802
 
void gcry_cipher_close (gcry_cipher_hd_t h);
17803
 
 
17804
 
 
17805
 
gcry_error_t gcry_cipher_ctl (gcry_cipher_hd_t h, int cmd, void *buffer,
17806
 
                             size_t buflen);
17807
 
 
17808
 
 
17809
 
gcry_error_t gcry_cipher_info (gcry_cipher_hd_t h, int what, void *buffer,
17810
 
                              size_t *nbytes);
17811
 
 
17812
 
 
17813
 
gcry_error_t gcry_cipher_algo_info (int algo, int what, void *buffer,
17814
 
                                   size_t *nbytes);
17815
 
 
17816
 
 
17817
 
 
17818
 
 
17819
 
const char *gcry_cipher_algo_name (int algorithm) __attribute__ ((__pure__));
17820
 
 
17821
 
 
17822
 
 
17823
 
int gcry_cipher_map_name (const char *name) __attribute__ ((__pure__));
17824
 
 
17825
 
 
17826
 
 
17827
 
 
17828
 
int gcry_cipher_mode_from_oid (const char *string) __attribute__ ((__pure__));
17829
 
 
17830
 
 
17831
 
 
17832
 
 
17833
 
 
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);
17837
 
 
17838
 
 
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);
17842
 
 
17843
 
 
17844
 
gcry_error_t gcry_cipher_setkey (gcry_cipher_hd_t hd,
17845
 
                                 const void *key, size_t keylen);
17846
 
 
17847
 
 
17848
 
 
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);
17854
 
 
17855
 
 
17856
 
size_t gcry_cipher_get_algo_keylen (int algo);
17857
 
 
17858
 
 
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
17863
 
enum gcry_pk_algos
17864
 
  {
17865
 
    GCRY_PK_RSA = 1,
17866
 
    GCRY_PK_RSA_E = 2,
17867
 
    GCRY_PK_RSA_S = 3,
17868
 
    GCRY_PK_ELG_E = 16,
17869
 
    GCRY_PK_DSA = 17,
17870
 
    GCRY_PK_ELG = 20,
17871
 
    GCRY_PK_ECDSA = 301
17872
 
  };
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);
17876
 
 
17877
 
 
17878
 
 
17879
 
gcry_error_t gcry_pk_decrypt (gcry_sexp_t *result,
17880
 
                              gcry_sexp_t data, gcry_sexp_t skey);
17881
 
 
17882
 
 
17883
 
 
17884
 
gcry_error_t gcry_pk_sign (gcry_sexp_t *result,
17885
 
                           gcry_sexp_t data, gcry_sexp_t skey);
17886
 
 
17887
 
 
17888
 
gcry_error_t gcry_pk_verify (gcry_sexp_t sigval,
17889
 
                             gcry_sexp_t data, gcry_sexp_t pkey);
17890
 
 
17891
 
 
17892
 
gcry_error_t gcry_pk_testkey (gcry_sexp_t key);
17893
 
 
17894
 
 
17895
 
 
17896
 
 
17897
 
gcry_error_t gcry_pk_genkey (gcry_sexp_t *r_key, gcry_sexp_t s_parms);
17898
 
 
17899
 
 
17900
 
gcry_error_t gcry_pk_ctl (int cmd, void *buffer, size_t buflen);
17901
 
 
17902
 
 
17903
 
gcry_error_t gcry_pk_algo_info (int algo, int what,
17904
 
                                void *buffer, size_t *nbytes);
17905
 
 
17906
 
 
17907
 
 
17908
 
 
17909
 
const char *gcry_pk_algo_name (int algorithm) __attribute__ ((__pure__));
17910
 
 
17911
 
 
17912
 
 
17913
 
int gcry_pk_map_name (const char* name) __attribute__ ((__pure__));
17914
 
 
17915
 
 
17916
 
 
17917
 
unsigned int gcry_pk_get_nbits (gcry_sexp_t key) __attribute__ ((__pure__));
17918
 
 
17919
 
 
17920
 
 
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
17925
 
enum gcry_md_algos
17926
 
  {
17927
 
    GCRY_MD_NONE = 0,
17928
 
    GCRY_MD_MD5 = 1,
17929
 
    GCRY_MD_SHA1 = 2,
17930
 
    GCRY_MD_RMD160 = 3,
17931
 
    GCRY_MD_MD2 = 5,
17932
 
    GCRY_MD_TIGER = 6,
17933
 
    GCRY_MD_HAVAL = 7,
17934
 
    GCRY_MD_SHA256 = 8,
17935
 
    GCRY_MD_SHA384 = 9,
17936
 
    GCRY_MD_SHA512 = 10,
17937
 
    GCRY_MD_SHA224 = 11,
17938
 
    GCRY_MD_MD4 = 301,
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
17945
 
  };
17946
 
 
17947
 
 
17948
 
enum gcry_md_flags
17949
 
  {
17950
 
    GCRY_MD_FLAG_SECURE = 1,
17951
 
    GCRY_MD_FLAG_HMAC = 2
17952
 
  };
17953
 
 
17954
 
 
17955
 
struct gcry_md_context;
17956
 
 
17957
 
 
17958
 
 
17959
 
 
17960
 
typedef struct gcry_md_handle
17961
 
{
17962
 
 
17963
 
  struct gcry_md_context *ctx;
17964
 
 
17965
 
 
17966
 
  int bufpos;
17967
 
  int bufsize;
17968
 
  unsigned char buf[1];
17969
 
} *gcry_md_hd_t;
17970
 
 
17971
 
 
17972
 
 
17973
 
typedef struct gcry_md_handle *GCRY_MD_HD __attribute__ ((__deprecated__));
17974
 
typedef struct gcry_md_handle *GcryMDHd __attribute__ ((__deprecated__));
17975
 
 
17976
 
 
17977
 
 
17978
 
 
17979
 
 
17980
 
 
17981
 
gcry_error_t gcry_md_open (gcry_md_hd_t *h, int algo, unsigned int flags);
17982
 
 
17983
 
 
17984
 
void gcry_md_close (gcry_md_hd_t hd);
17985
 
 
17986
 
 
17987
 
gcry_error_t gcry_md_enable (gcry_md_hd_t hd, int algo);
17988
 
 
17989
 
 
17990
 
gcry_error_t gcry_md_copy (gcry_md_hd_t *bhd, gcry_md_hd_t ahd);
17991
 
 
17992
 
 
17993
 
void gcry_md_reset (gcry_md_hd_t hd);
17994
 
 
17995
 
 
17996
 
gcry_error_t gcry_md_ctl (gcry_md_hd_t hd, int cmd,
17997
 
                          void *buffer, size_t buflen);
17998
 
 
17999
 
 
18000
 
 
18001
 
 
18002
 
void gcry_md_write (gcry_md_hd_t hd, const void *buffer, size_t length);
18003
 
 
18004
 
 
18005
 
 
18006
 
unsigned char *gcry_md_read (gcry_md_hd_t hd, int algo);
18007
 
 
18008
 
 
18009
 
 
18010
 
 
18011
 
 
18012
 
 
18013
 
void gcry_md_hash_buffer (int algo, void *digest,
18014
 
                          const void *buffer, size_t length);
18015
 
 
18016
 
 
18017
 
 
18018
 
int gcry_md_get_algo (gcry_md_hd_t hd);
18019
 
 
18020
 
 
18021
 
 
18022
 
unsigned int gcry_md_get_algo_dlen (int algo);
18023
 
 
18024
 
 
18025
 
 
18026
 
int gcry_md_is_enabled (gcry_md_hd_t a, int algo);
18027
 
 
18028
 
 
18029
 
int gcry_md_is_secure (gcry_md_hd_t a);
18030
 
 
18031
 
 
18032
 
gcry_error_t gcry_md_info (gcry_md_hd_t h, int what, void *buffer,
18033
 
                          size_t *nbytes);
18034
 
 
18035
 
 
18036
 
gcry_error_t gcry_md_algo_info (int algo, int what, void *buffer,
18037
 
                               size_t *nbytes);
18038
 
 
18039
 
 
18040
 
 
18041
 
 
18042
 
const char *gcry_md_algo_name (int algo) __attribute__ ((__pure__));
18043
 
 
18044
 
 
18045
 
 
18046
 
int gcry_md_map_name (const char* name) __attribute__ ((__pure__));
18047
 
 
18048
 
 
18049
 
 
18050
 
gcry_error_t gcry_md_setkey (gcry_md_hd_t hd, const void *key, size_t keylen);
18051
 
 
18052
 
 
18053
 
 
18054
 
 
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);
18058
 
 
18059
 
 
18060
 
 
18061
 
 
18062
 
 
18063
 
 
18064
 
 
18065
 
typedef enum gcry_ac_id
18066
 
  {
18067
 
    GCRY_AC_RSA = 1,
18068
 
    GCRY_AC_DSA = 17,
18069
 
    GCRY_AC_ELG = 20,
18070
 
    GCRY_AC_ELG_E = 16
18071
 
  }
18072
 
gcry_ac_id_t;
18073
 
 
18074
 
 
18075
 
typedef enum gcry_ac_key_type
18076
 
  {
18077
 
    GCRY_AC_KEY_SECRET,
18078
 
    GCRY_AC_KEY_PUBLIC
18079
 
  }
18080
 
gcry_ac_key_type_t;
18081
 
 
18082
 
 
18083
 
typedef enum gcry_ac_em
18084
 
  {
18085
 
    GCRY_AC_EME_PKCS_V1_5,
18086
 
    GCRY_AC_EMSA_PKCS_V1_5
18087
 
  }
18088
 
gcry_ac_em_t;
18089
 
 
18090
 
 
18091
 
typedef enum gcry_ac_scheme
18092
 
  {
18093
 
    GCRY_AC_ES_PKCS_V1_5,
18094
 
    GCRY_AC_SSA_PKCS_V1_5
18095
 
  }
18096
 
gcry_ac_scheme_t;
18097
 
 
18098
 
 
18099
 
 
18100
 
 
18101
 
 
18102
 
 
18103
 
 
18104
 
typedef struct gcry_ac_data *gcry_ac_data_t;
18105
 
 
18106
 
 
18107
 
 
18108
 
typedef struct gcry_ac_key *gcry_ac_key_t;
18109
 
 
18110
 
 
18111
 
 
18112
 
typedef struct gcry_ac_key_pair *gcry_ac_key_pair_t;
18113
 
 
18114
 
 
18115
 
 
18116
 
typedef struct gcry_ac_handle *gcry_ac_handle_t;
18117
 
 
18118
 
typedef gpg_error_t (*gcry_ac_data_read_cb_t) (void *opaque,
18119
 
            unsigned char *buffer,
18120
 
            size_t *buffer_n);
18121
 
 
18122
 
typedef gpg_error_t (*gcry_ac_data_write_cb_t) (void *opaque,
18123
 
      unsigned char *buffer,
18124
 
      size_t buffer_n);
18125
 
 
18126
 
typedef enum
18127
 
  {
18128
 
    GCRY_AC_IO_READABLE,
18129
 
    GCRY_AC_IO_WRITABLE
18130
 
  }
18131
 
gcry_ac_io_mode_t;
18132
 
 
18133
 
typedef enum
18134
 
  {
18135
 
    GCRY_AC_IO_STRING,
18136
 
    GCRY_AC_IO_CALLBACK
18137
 
  }
18138
 
gcry_ac_io_type_t;
18139
 
 
18140
 
typedef struct gcry_ac_io
18141
 
{
18142
 
 
18143
 
  gcry_ac_io_mode_t mode __attribute__ ((__deprecated__));
18144
 
  gcry_ac_io_type_t type __attribute__ ((__deprecated__));
18145
 
  union
18146
 
  {
18147
 
    union
18148
 
    {
18149
 
      struct
18150
 
      {
18151
 
 gcry_ac_data_read_cb_t cb;
18152
 
 void *opaque;
18153
 
      } callback;
18154
 
      struct
18155
 
      {
18156
 
 unsigned char *data;
18157
 
 size_t data_n;
18158
 
      } string;
18159
 
      void *opaque;
18160
 
    } readable;
18161
 
    union
18162
 
    {
18163
 
      struct
18164
 
      {
18165
 
 gcry_ac_data_write_cb_t cb;
18166
 
 void *opaque;
18167
 
      } callback;
18168
 
      struct
18169
 
      {
18170
 
 unsigned char **data;
18171
 
 size_t *data_n;
18172
 
      } string;
18173
 
      void *opaque;
18174
 
    } writable;
18175
 
  } io __attribute__ ((__deprecated__));
18176
 
}
18177
 
gcry_ac_io_t;
18178
 
 
18179
 
 
18180
 
 
18181
 
 
18182
 
typedef struct gcry_ac_key_spec_rsa
18183
 
{
18184
 
  gcry_mpi_t e;
18185
 
} gcry_ac_key_spec_rsa_t;
18186
 
 
18187
 
 
18188
 
 
18189
 
typedef struct gcry_ac_eme_pkcs_v1_5
18190
 
{
18191
 
  size_t key_size;
18192
 
} gcry_ac_eme_pkcs_v1_5_t;
18193
 
 
18194
 
typedef enum gcry_md_algos gcry_md_algo_t;
18195
 
 
18196
 
 
18197
 
 
18198
 
typedef struct gcry_ac_emsa_pkcs_v1_5
18199
 
{
18200
 
  gcry_md_algo_t md;
18201
 
  size_t em_n;
18202
 
} gcry_ac_emsa_pkcs_v1_5_t;
18203
 
 
18204
 
 
18205
 
 
18206
 
typedef struct gcry_ac_ssa_pkcs_v1_5
18207
 
{
18208
 
  gcry_md_algo_t md;
18209
 
} gcry_ac_ssa_pkcs_v1_5_t;
18210
 
 
18211
 
 
18212
 
gcry_error_t gcry_ac_data_new (gcry_ac_data_t *data);
18213
 
 
18214
 
 
18215
 
void gcry_ac_data_destroy (gcry_ac_data_t data);
18216
 
 
18217
 
 
18218
 
gcry_error_t gcry_ac_data_copy (gcry_ac_data_t *data_cp,
18219
 
                               gcry_ac_data_t data);
18220
 
 
18221
 
 
18222
 
 
18223
 
unsigned int gcry_ac_data_length (gcry_ac_data_t data);
18224
 
 
18225
 
 
18226
 
void gcry_ac_data_clear (gcry_ac_data_t data);
18227
 
 
18228
 
 
18229
 
 
18230
 
 
18231
 
 
18232
 
 
18233
 
gcry_error_t gcry_ac_data_set (gcry_ac_data_t data, unsigned int flags,
18234
 
                               const char *name, gcry_mpi_t mpi);
18235
 
 
18236
 
 
18237
 
 
18238
 
 
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);
18241
 
 
18242
 
 
18243
 
 
18244
 
 
18245
 
 
18246
 
gcry_error_t gcry_ac_data_get_index (gcry_ac_data_t data, unsigned int flags,
18247
 
                                     unsigned int idx,
18248
 
                                     const char **name, gcry_mpi_t *mpi);
18249
 
 
18250
 
 
18251
 
 
18252
 
 
18253
 
gcry_error_t gcry_ac_data_to_sexp (gcry_ac_data_t data, gcry_sexp_t *sexp,
18254
 
       const char **identifiers);
18255
 
 
18256
 
 
18257
 
 
18258
 
 
18259
 
gcry_error_t gcry_ac_data_from_sexp (gcry_ac_data_t *data, gcry_sexp_t sexp,
18260
 
         const char **identifiers);
18261
 
 
18262
 
 
18263
 
 
18264
 
 
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, ...);
18267
 
 
18268
 
 
18269
 
 
18270
 
 
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);
18273
 
 
18274
 
 
18275
 
gcry_error_t gcry_ac_open (gcry_ac_handle_t *handle,
18276
 
                           gcry_ac_id_t algorithm, unsigned int flags);
18277
 
 
18278
 
 
18279
 
void gcry_ac_close (gcry_ac_handle_t handle);
18280
 
 
18281
 
 
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);
18284
 
 
18285
 
 
18286
 
 
18287
 
 
18288
 
 
18289
 
 
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);
18294
 
 
18295
 
 
18296
 
gcry_ac_key_t gcry_ac_key_pair_extract (gcry_ac_key_pair_t key_pair,
18297
 
                                        gcry_ac_key_type_t which);
18298
 
 
18299
 
 
18300
 
gcry_ac_data_t gcry_ac_key_data_get (gcry_ac_key_t key);
18301
 
 
18302
 
 
18303
 
gcry_error_t gcry_ac_key_test (gcry_ac_handle_t handle, gcry_ac_key_t key);
18304
 
 
18305
 
 
18306
 
gcry_error_t gcry_ac_key_get_nbits (gcry_ac_handle_t handle,
18307
 
                                    gcry_ac_key_t key, unsigned int *nbits);
18308
 
 
18309
 
 
18310
 
 
18311
 
gcry_error_t gcry_ac_key_get_grip (gcry_ac_handle_t handle, gcry_ac_key_t key,
18312
 
                                   unsigned char *key_grip);
18313
 
 
18314
 
 
18315
 
void gcry_ac_key_destroy (gcry_ac_key_t key);
18316
 
 
18317
 
 
18318
 
void gcry_ac_key_pair_destroy (gcry_ac_key_pair_t key_pair);
18319
 
 
18320
 
 
18321
 
 
18322
 
 
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);
18327
 
 
18328
 
 
18329
 
 
18330
 
 
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);
18335
 
 
18336
 
 
18337
 
 
18338
 
 
18339
 
gcry_error_t gcry_ac_data_encrypt (gcry_ac_handle_t handle,
18340
 
                                   unsigned int flags,
18341
 
                                   gcry_ac_key_t key,
18342
 
                                   gcry_mpi_t data_plain,
18343
 
                                   gcry_ac_data_t *data_encrypted);
18344
 
 
18345
 
 
18346
 
 
18347
 
 
18348
 
gcry_error_t gcry_ac_data_decrypt (gcry_ac_handle_t handle,
18349
 
                                   unsigned int flags,
18350
 
                                   gcry_ac_key_t key,
18351
 
                                   gcry_mpi_t *data_plain,
18352
 
                                   gcry_ac_data_t data_encrypted);
18353
 
 
18354
 
 
18355
 
 
18356
 
gcry_error_t gcry_ac_data_sign (gcry_ac_handle_t handle,
18357
 
                                gcry_ac_key_t key,
18358
 
                                gcry_mpi_t data,
18359
 
                                gcry_ac_data_t *data_signature);
18360
 
 
18361
 
 
18362
 
 
18363
 
 
18364
 
gcry_error_t gcry_ac_data_verify (gcry_ac_handle_t handle,
18365
 
                                  gcry_ac_key_t key,
18366
 
                                  gcry_mpi_t data,
18367
 
                                  gcry_ac_data_t data_signature);
18368
 
 
18369
 
 
18370
 
 
18371
 
 
18372
 
 
18373
 
 
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,
18377
 
       gcry_ac_key_t key,
18378
 
       gcry_ac_io_t *io_message,
18379
 
       gcry_ac_io_t *io_cipher);
18380
 
 
18381
 
 
18382
 
 
18383
 
 
18384
 
 
18385
 
 
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,
18389
 
       gcry_ac_key_t key,
18390
 
       gcry_ac_io_t *io_cipher,
18391
 
       gcry_ac_io_t *io_message);
18392
 
 
18393
 
 
18394
 
 
18395
 
 
18396
 
 
18397
 
 
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,
18401
 
           gcry_ac_key_t key,
18402
 
           gcry_ac_io_t *io_message,
18403
 
           gcry_ac_io_t *io_signature);
18404
 
 
18405
 
 
18406
 
 
18407
 
 
18408
 
 
18409
 
 
18410
 
 
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,
18414
 
      gcry_ac_key_t key,
18415
 
      gcry_ac_io_t *io_message,
18416
 
      gcry_ac_io_t *io_signature);
18417
 
 
18418
 
 
18419
 
 
18420
 
 
18421
 
 
18422
 
gcry_error_t gcry_ac_id_to_name (gcry_ac_id_t algorithm,
18423
 
                                 const char **name)
18424
 
                                __attribute__ ((__deprecated__));
18425
 
 
18426
 
 
18427
 
 
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
18433
 
  {
18434
 
    GCRY_WEAK_RANDOM = 0,
18435
 
    GCRY_STRONG_RANDOM = 1,
18436
 
    GCRY_VERY_STRONG_RANDOM = 2
18437
 
  }
18438
 
gcry_random_level_t;
18439
 
 
18440
 
 
18441
 
 
18442
 
void gcry_randomize (void *buffer, size_t length,
18443
 
                     enum gcry_random_level level);
18444
 
 
18445
 
 
18446
 
 
18447
 
 
18448
 
gcry_error_t gcry_random_add_bytes (const void *buffer, size_t length,
18449
 
                                    int quality);
18450
 
# 1654 "/usr/include/gcrypt.h" 3 4
18451
 
void *gcry_random_bytes (size_t nbytes, enum gcry_random_level level)
18452
 
                         __attribute__ ((__malloc__));
18453
 
 
18454
 
 
18455
 
 
18456
 
 
18457
 
void *gcry_random_bytes_secure (size_t nbytes, enum gcry_random_level level)
18458
 
                                __attribute__ ((__malloc__));
18459
 
 
18460
 
 
18461
 
 
18462
 
 
18463
 
 
18464
 
void gcry_mpi_randomize (gcry_mpi_t w,
18465
 
                         unsigned int nbits, enum gcry_random_level level);
18466
 
 
18467
 
 
18468
 
 
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,
18479
 
                                  void *cb_arg,
18480
 
                                  gcry_random_level_t random_level,
18481
 
                                  unsigned int flags);
18482
 
 
18483
 
 
18484
 
 
18485
 
 
18486
 
 
18487
 
gcry_error_t gcry_prime_group_generator (gcry_mpi_t *r_g,
18488
 
                                         gcry_mpi_t prime,
18489
 
                                         gcry_mpi_t *factors,
18490
 
                                         gcry_mpi_t start_g);
18491
 
 
18492
 
 
18493
 
 
18494
 
void gcry_prime_release_factors (gcry_mpi_t *factors);
18495
 
 
18496
 
 
18497
 
 
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
18501
 
  {
18502
 
    GCRY_LOG_CONT = 0,
18503
 
    GCRY_LOG_INFO = 10,
18504
 
    GCRY_LOG_WARN = 20,
18505
 
    GCRY_LOG_ERROR = 30,
18506
 
    GCRY_LOG_FATAL = 40,
18507
 
    GCRY_LOG_BUG = 50,
18508
 
    GCRY_LOG_DEBUG = 100
18509
 
  };
18510
 
 
18511
 
 
18512
 
typedef void (*gcry_handler_progress_t) (void *, const char *, int, int, int);
18513
 
 
18514
 
 
18515
 
typedef void *(*gcry_handler_alloc_t) (size_t n);
18516
 
 
18517
 
 
18518
 
typedef int (*gcry_handler_secure_check_t) (const void *);
18519
 
 
18520
 
 
18521
 
typedef void *(*gcry_handler_realloc_t) (void *p, size_t n);
18522
 
 
18523
 
 
18524
 
typedef void (*gcry_handler_free_t) (void *);
18525
 
 
18526
 
 
18527
 
typedef int (*gcry_handler_no_mem_t) (void *, size_t, unsigned int);
18528
 
 
18529
 
 
18530
 
typedef void (*gcry_handler_error_t) (void *, int, const char *);
18531
 
 
18532
 
 
18533
 
typedef void (*gcry_handler_log_t) (void *, int, const char *, va_list);
18534
 
 
18535
 
 
18536
 
 
18537
 
void gcry_set_progress_handler (gcry_handler_progress_t cb, void *cb_data);
18538
 
 
18539
 
 
18540
 
 
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);
18547
 
 
18548
 
 
18549
 
 
18550
 
void gcry_set_outofcore_handler (gcry_handler_no_mem_t h, void *opaque);
18551
 
 
18552
 
 
18553
 
 
18554
 
void gcry_set_fatalerror_handler (gcry_handler_error_t fnc, void *opaque);
18555
 
 
18556
 
 
18557
 
 
18558
 
void gcry_set_log_handler (gcry_handler_log_t f, void *opaque);
18559
 
 
18560
 
 
18561
 
void gcry_set_gettext_handler (const char *(*f)(const char*));
18562
 
 
18563
 
 
18564
 
 
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);
18578
 
 
18579
 
 
18580
 
int gcry_is_secure (const void *a) __attribute__ ((__pure__));
18581
 
 
18582
 
 
18583
 
 
18584
 
 
18585
 
 
18586
 
 
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;
18590
 
 
18591
 
 
18592
 
 
18593
 
 
18594
 
typedef gcry_err_code_t (*gcry_cipher_setkey_t) (void *c,
18595
 
       const unsigned char *key,
18596
 
       unsigned keylen);
18597
 
 
18598
 
 
18599
 
typedef void (*gcry_cipher_encrypt_t) (void *c,
18600
 
           unsigned char *outbuf,
18601
 
           const unsigned char *inbuf);
18602
 
 
18603
 
 
18604
 
typedef void (*gcry_cipher_decrypt_t) (void *c,
18605
 
           unsigned char *outbuf,
18606
 
           const unsigned char *inbuf);
18607
 
 
18608
 
 
18609
 
typedef void (*gcry_cipher_stencrypt_t) (void *c,
18610
 
      unsigned char *outbuf,
18611
 
      const unsigned char *inbuf,
18612
 
      unsigned int n);
18613
 
 
18614
 
 
18615
 
typedef void (*gcry_cipher_stdecrypt_t) (void *c,
18616
 
      unsigned char *outbuf,
18617
 
      const unsigned char *inbuf,
18618
 
      unsigned int n);
18619
 
 
18620
 
typedef struct gcry_cipher_oid_spec
18621
 
{
18622
 
  const char *oid;
18623
 
  int mode;
18624
 
} gcry_cipher_oid_spec_t;
18625
 
 
18626
 
 
18627
 
typedef struct gcry_cipher_spec
18628
 
{
18629
 
  const char *name;
18630
 
  const char **aliases;
18631
 
  gcry_cipher_oid_spec_t *oids;
18632
 
  size_t blocksize;
18633
 
  size_t keylen;
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;
18641
 
 
18642
 
 
18643
 
 
18644
 
 
18645
 
gcry_error_t gcry_cipher_register (gcry_cipher_spec_t *cipher,
18646
 
       int *algorithm_id,
18647
 
       gcry_module_t *module);
18648
 
 
18649
 
 
18650
 
 
18651
 
void gcry_cipher_unregister (gcry_module_t module);
18652
 
 
18653
 
 
18654
 
 
18655
 
 
18656
 
typedef gcry_err_code_t (*gcry_pk_generate_t) (int algo,
18657
 
            unsigned int nbits,
18658
 
            unsigned long use_e,
18659
 
            gcry_mpi_t *skey,
18660
 
            gcry_mpi_t **retfactors);
18661
 
 
18662
 
 
18663
 
typedef gcry_err_code_t (*gcry_pk_check_secret_key_t) (int algo,
18664
 
             gcry_mpi_t *skey);
18665
 
 
18666
 
 
18667
 
typedef gcry_err_code_t (*gcry_pk_encrypt_t) (int algo,
18668
 
           gcry_mpi_t *resarr,
18669
 
           gcry_mpi_t data,
18670
 
           gcry_mpi_t *pkey,
18671
 
           int flags);
18672
 
 
18673
 
 
18674
 
typedef gcry_err_code_t (*gcry_pk_decrypt_t) (int algo,
18675
 
           gcry_mpi_t *result,
18676
 
           gcry_mpi_t *data,
18677
 
           gcry_mpi_t *skey,
18678
 
           int flags);
18679
 
 
18680
 
 
18681
 
typedef gcry_err_code_t (*gcry_pk_sign_t) (int algo,
18682
 
        gcry_mpi_t *resarr,
18683
 
        gcry_mpi_t data,
18684
 
        gcry_mpi_t *skey);
18685
 
 
18686
 
 
18687
 
typedef gcry_err_code_t (*gcry_pk_verify_t) (int algo,
18688
 
          gcry_mpi_t hash,
18689
 
          gcry_mpi_t *data,
18690
 
          gcry_mpi_t *pkey,
18691
 
          int (*cmp) (void *, gcry_mpi_t),
18692
 
          void *opaquev);
18693
 
 
18694
 
 
18695
 
typedef unsigned (*gcry_pk_get_nbits_t) (int algo, gcry_mpi_t *pkey);
18696
 
 
18697
 
 
18698
 
typedef struct gcry_pk_spec
18699
 
{
18700
 
  const char *name;
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;
18707
 
  int use;
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;
18715
 
} gcry_pk_spec_t;
18716
 
 
18717
 
 
18718
 
 
18719
 
 
18720
 
gcry_error_t gcry_pk_register (gcry_pk_spec_t *pubkey,
18721
 
          unsigned int *algorithm_id,
18722
 
          gcry_module_t *module);
18723
 
 
18724
 
 
18725
 
 
18726
 
void gcry_pk_unregister (gcry_module_t module);
18727
 
 
18728
 
 
18729
 
 
18730
 
 
18731
 
typedef void (*gcry_md_init_t) (void *c);
18732
 
 
18733
 
 
18734
 
typedef void (*gcry_md_write_t) (void *c, const void *buf, size_t nbytes);
18735
 
 
18736
 
 
18737
 
typedef void (*gcry_md_final_t) (void *c);
18738
 
 
18739
 
 
18740
 
typedef unsigned char *(*gcry_md_read_t) (void *c);
18741
 
 
18742
 
typedef struct gcry_md_oid_spec
18743
 
{
18744
 
  const char *oidstring;
18745
 
} gcry_md_oid_spec_t;
18746
 
 
18747
 
 
18748
 
typedef struct gcry_md_spec
18749
 
{
18750
 
  const char *name;
18751
 
  unsigned char *asnoid;
18752
 
  int asnlen;
18753
 
  gcry_md_oid_spec_t *oids;
18754
 
  int mdlen;
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;
18760
 
} gcry_md_spec_t;
18761
 
 
18762
 
 
18763
 
 
18764
 
 
18765
 
gcry_error_t gcry_md_register (gcry_md_spec_t *digest,
18766
 
          unsigned int *algorithm_id,
18767
 
          gcry_module_t *module);
18768
 
 
18769
 
 
18770
 
 
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
18774
 
 
18775
 
 
18776
 
# 1 "./../../gkm/gkm-object.h" 1
18777
 
# 38 "./../../gkm/gkm-object.h"
18778
 
typedef struct _GkmObjectClass GkmObjectClass;
18779
 
typedef struct _GkmObjectPrivate GkmObjectPrivate;
18780
 
 
18781
 
struct _GkmObject {
18782
 
 GObject parent;
18783
 
 GkmObjectPrivate *pv;
18784
 
};
18785
 
 
18786
 
struct _GkmObjectClass {
18787
 
 GObjectClass parent_class;
18788
 
 
18789
 
 
18790
 
 
18791
 
 void (*expose_object) (GkmObject *object, gboolean exposed);
18792
 
 
18793
 
 void (*notify_attribute) (GkmObject *object, CK_ATTRIBUTE_TYPE attr_type);
18794
 
 
18795
 
 
18796
 
 
18797
 
 CK_RV (*get_attribute) (GkmObject *object, GkmSession *session,
18798
 
                         CK_ATTRIBUTE *attr);
18799
 
 
18800
 
 void (*set_attribute) (GkmObject *object, GkmSession *session,
18801
 
                        GkmTransaction *transaction, CK_ATTRIBUTE *attr);
18802
 
 
18803
 
 void (*create_attributes) (GkmObject *object, GkmSession *session,
18804
 
                            GkmTransaction *transaction, CK_ATTRIBUTE *attrs, CK_ULONG n_attrs);
18805
 
 
18806
 
 CK_RV (*unlock) (GkmObject *self, GkmCredential *cred);
18807
 
};
18808
 
 
18809
 
GType gkm_object_get_type (void);
18810
 
 
18811
 
CK_OBJECT_HANDLE gkm_object_get_handle (GkmObject *self);
18812
 
 
18813
 
void gkm_object_set_handle (GkmObject *self,
18814
 
                                                          CK_OBJECT_HANDLE handle);
18815
 
 
18816
 
GkmModule* gkm_object_get_module (GkmObject *self);
18817
 
 
18818
 
GkmManager* gkm_object_get_manager (GkmObject *self);
18819
 
 
18820
 
const gchar* gkm_object_get_unique (GkmObject *self);
18821
 
 
18822
 
gboolean gkm_object_is_token (GkmObject *self);
18823
 
 
18824
 
gboolean gkm_object_is_transient (GkmObject *self);
18825
 
 
18826
 
void gkm_object_mark_used (GkmObject *self);
18827
 
 
18828
 
CK_RV gkm_object_unlock (GkmObject *self,
18829
 
                                                          GkmCredential *cred);
18830
 
 
18831
 
void gkm_object_destroy (GkmObject *self,
18832
 
                                                          GkmTransaction *transaction);
18833
 
 
18834
 
gboolean gkm_object_is_exposed (GkmObject *self);
18835
 
 
18836
 
void gkm_object_expose (GkmObject *self,
18837
 
                                                          gboolean expose);
18838
 
 
18839
 
void gkm_object_expose_full (GkmObject *self,
18840
 
                                                          GkmTransaction *transaction,
18841
 
                                                          gboolean expose);
18842
 
 
18843
 
gboolean gkm_object_match (GkmObject *self,
18844
 
                                                          GkmSession *session,
18845
 
                                                          CK_ATTRIBUTE_PTR attr);
18846
 
 
18847
 
gboolean gkm_object_match_all (GkmObject *self,
18848
 
                                                          GkmSession *session,
18849
 
                                                          CK_ATTRIBUTE_PTR attrs,
18850
 
                                                          CK_ULONG n_attrs);
18851
 
 
18852
 
CK_RV gkm_object_get_attribute (GkmObject *self,
18853
 
                                                          GkmSession *session,
18854
 
                                                          CK_ATTRIBUTE_PTR attr);
18855
 
 
18856
 
void gkm_object_set_attribute (GkmObject *self,
18857
 
                                                          GkmSession *session,
18858
 
                                                          GkmTransaction *transaction,
18859
 
                                                          CK_ATTRIBUTE_PTR attr);
18860
 
 
18861
 
void gkm_object_create_attributes (GkmObject *self,
18862
 
                                                          GkmSession *session,
18863
 
                                                          GkmTransaction *transaction,
18864
 
                                                          CK_ATTRIBUTE_PTR attrs,
18865
 
                                                          CK_ULONG n_attrs);
18866
 
 
18867
 
void gkm_object_notify_attribute (GkmObject *self,
18868
 
                                                          CK_ATTRIBUTE_TYPE attr_type);
18869
 
 
18870
 
gboolean gkm_object_get_attribute_boolean (GkmObject *self,
18871
 
                                                          GkmSession *session,
18872
 
                                                          CK_ATTRIBUTE_TYPE type,
18873
 
                                                          gboolean *value);
18874
 
 
18875
 
gboolean gkm_object_get_attribute_ulong (GkmObject *self,
18876
 
                                                          GkmSession *session,
18877
 
                                                          CK_ATTRIBUTE_TYPE type,
18878
 
                                                          gulong *value);
18879
 
 
18880
 
void* gkm_object_get_attribute_data (GkmObject *self,
18881
 
                                                          GkmSession *session,
18882
 
                                                          CK_ATTRIBUTE_TYPE type,
18883
 
                                                          gsize *n_data);
18884
 
 
18885
 
gboolean gkm_object_has_attribute_ulong (GkmObject *self,
18886
 
                                                          GkmSession *session,
18887
 
                                                          CK_ATTRIBUTE_TYPE type,
18888
 
                                                          gulong value);
18889
 
 
18890
 
gboolean gkm_object_has_attribute_boolean (GkmObject *self,
18891
 
                                                          GkmSession *session,
18892
 
                                                          CK_ATTRIBUTE_TYPE type,
18893
 
                                                          gboolean value);
18894
 
# 29 "./../../gkm/gkm-manager.h" 2
18895
 
# 49 "./../../gkm/gkm-manager.h"
18896
 
 
18897
 
# 64 "./../../gkm/gkm-manager.h"
18898
 
typedef struct _GkmManagerClass GkmManagerClass;
18899
 
typedef struct _GkmManagerPrivate GkmManagerPrivate;
18900
 
 
18901
 
struct _GkmManager {
18902
 
  GObject parent;
18903
 
  GkmManagerPrivate *pv;
18904
 
};
18905
 
 
18906
 
struct _GkmManagerClass {
18907
 
 GObjectClass parent_class;
18908
 
 
18909
 
 
18910
 
 
18911
 
 void (*object_added) (GkmManager *self, GkmObject *object);
18912
 
 
18913
 
 void (*object_removed) (GkmManager *self, GkmObject *object);
18914
 
 
18915
 
 void (*attribute_changed) (GkmManager *self, GkmObject *object, CK_ATTRIBUTE_TYPE type);
18916
 
};
18917
 
 
18918
 
GType gkm_manager_get_type (void) __attribute__((__const__));
18919
 
 
18920
 
GkmManager* gkm_manager_for_template (CK_ATTRIBUTE_PTR attrs,
18921
 
                                                                 CK_ULONG n_attrs,
18922
 
                                                                 GkmSession *session);
18923
 
 
18924
 
gboolean gkm_manager_get_for_token (GkmManager *self);
18925
 
 
18926
 
void gkm_manager_add_attribute_index (GkmManager *self,
18927
 
                                                                 CK_ATTRIBUTE_TYPE attr,
18928
 
                                                                 gboolean unique);
18929
 
 
18930
 
void gkm_manager_add_property_index (GkmManager *self,
18931
 
                                                                 const gchar *property,
18932
 
                                                                 gboolean unique);
18933
 
 
18934
 
GkmObject* gkm_manager_find_by_handle (GkmManager *self,
18935
 
                                                                 CK_OBJECT_HANDLE obj);
18936
 
 
18937
 
GList* gkm_manager_find_by_number_property (GkmManager *self,
18938
 
                                                                 const gchar *property,
18939
 
                                                                 gulong value);
18940
 
 
18941
 
GkmObject* gkm_manager_find_one_by_number_property (GkmManager *self,
18942
 
                                                                 const gchar *property,
18943
 
                                                                 gulong value);
18944
 
 
18945
 
GList* gkm_manager_find_by_string_property (GkmManager *self,
18946
 
                                                                 const gchar *property,
18947
 
                                                                 const gchar *value);
18948
 
 
18949
 
GkmObject* gkm_manager_find_one_by_string_property (GkmManager *self,
18950
 
                                                                 const gchar *property,
18951
 
                                                                 const gchar *value);
18952
 
 
18953
 
GList* gkm_manager_find_by_attributes (GkmManager *self,
18954
 
                                                                 GkmSession *session,
18955
 
                                                                 CK_ATTRIBUTE_PTR template,
18956
 
                                                                 CK_ULONG n_attrs);
18957
 
 
18958
 
GList* gkm_manager_find_by_class (GkmManager *self,
18959
 
                                                                 GkmSession *session,
18960
 
                                                                 CK_OBJECT_CLASS klass);
18961
 
 
18962
 
GkmObject* gkm_manager_find_one_by_attributes (GkmManager *self,
18963
 
                                                                 GkmSession *session,
18964
 
                                                                 CK_ATTRIBUTE_PTR template,
18965
 
                                                                 CK_ULONG n_attrs);
18966
 
 
18967
 
GkmObject* gkm_manager_find_related (GkmManager *self,
18968
 
                                                                 GkmSession *session,
18969
 
                                                                 CK_OBJECT_CLASS klass,
18970
 
                                                                 GkmObject *related_to);
18971
 
 
18972
 
CK_RV gkm_manager_find_handles (GkmManager *self,
18973
 
                                                                 GkmSession *session,
18974
 
                                                                 gboolean include_private,
18975
 
                                                                 CK_ATTRIBUTE_PTR template,
18976
 
                                                                 CK_ULONG count,
18977
 
                                                                 GArray *found);
18978
 
 
18979
 
 
18980
 
# 29 "./../../gkm/gkm-session.h" 2
18981
 
# 37 "./../../gkm/gkm-session.h"
18982
 
typedef struct _GkmSessionClass GkmSessionClass;
18983
 
typedef struct _GkmSessionPrivate GkmSessionPrivate;
18984
 
 
18985
 
struct _GkmSession {
18986
 
 GObject parent;
18987
 
 GkmSessionPrivate *pv;
18988
 
};
18989
 
 
18990
 
struct _GkmSessionClass {
18991
 
 GObjectClass parent_class;
18992
 
 
18993
 
 
18994
 
 
18995
 
 
18996
 
 
18997
 
 
18998
 
};
18999
 
 
19000
 
GType gkm_session_get_type (void);
19001
 
 
19002
 
GkmSession* gkm_session_for_session_object (GkmObject *obj);
19003
 
 
19004
 
GkmSession* gkm_session_for_session_object (GkmObject *obj);
19005
 
 
19006
 
CK_SESSION_HANDLE gkm_session_get_handle (GkmSession *self);
19007
 
 
19008
 
CK_SLOT_ID gkm_session_get_slot_id (GkmSession *self);
19009
 
 
19010
 
CK_ULONG gkm_session_get_apartment (GkmSession *self);
19011
 
 
19012
 
GkmModule* gkm_session_get_module (GkmSession *self);
19013
 
 
19014
 
GkmManager* gkm_session_get_manager (GkmSession *self);
19015
 
 
19016
 
gboolean gkm_session_get_read_only (GkmSession *self);
19017
 
 
19018
 
gulong gkm_session_get_logged_in (GkmSession *self);
19019
 
 
19020
 
void gkm_session_set_logged_in (GkmSession *self,
19021
 
                                                                         gulong logged_in);
19022
 
 
19023
 
gpointer gkm_session_get_crypto_state (GkmSession *self);
19024
 
 
19025
 
void gkm_session_set_crypto_state (GkmSession *self,
19026
 
                                                                         gpointer state,
19027
 
                                                                         GDestroyNotify destroy);
19028
 
 
19029
 
GkmCredential* gkm_session_get_credential (GkmSession *self);
19030
 
 
19031
 
CK_RV gkm_session_lookup_readable_object (GkmSession *self,
19032
 
                                                                         CK_OBJECT_HANDLE handle,
19033
 
                                                                         GkmObject **result);
19034
 
 
19035
 
CK_RV gkm_session_lookup_writable_object (GkmSession *self,
19036
 
                                                                         CK_OBJECT_HANDLE handle,
19037
 
                                                                         GkmObject **result);
19038
 
 
19039
 
CK_RV gkm_session_login_context_specific (GkmSession *self,
19040
 
                                                                         CK_UTF8CHAR_PTR pin,
19041
 
                                                                         CK_ULONG n_pin);
19042
 
 
19043
 
void gkm_session_add_session_object (GkmSession *self,
19044
 
                                                                         GkmTransaction *transaction,
19045
 
                                                                         GkmObject *obj);
19046
 
 
19047
 
void gkm_session_destroy_session_object (GkmSession *self,
19048
 
                                                                         GkmTransaction *transaction,
19049
 
                                                                         GkmObject *obj);
19050
 
 
19051
 
GkmObject* gkm_session_create_object_for_factory (GkmSession *self,
19052
 
                                                                         GkmFactory *factory,
19053
 
                                                                         GkmTransaction *transaction,
19054
 
                                                                         CK_ATTRIBUTE_PTR attrs,
19055
 
                                                                         CK_ULONG n_attrs);
19056
 
 
19057
 
GkmObject* gkm_session_create_object_for_attributes (GkmSession *self,
19058
 
                                                                         GkmTransaction *transaction,
19059
 
                                                                         CK_ATTRIBUTE_PTR attrs,
19060
 
                                                                         CK_ULONG n_attrs);
19061
 
 
19062
 
void gkm_session_complete_object_creation (GkmSession *self,
19063
 
                                                                         GkmTransaction *transaction,
19064
 
                                                                         GkmObject *object,
19065
 
                                                                         gboolean add,
19066
 
                                                                         CK_ATTRIBUTE_PTR attrs,
19067
 
                                                                         CK_ULONG n_attrs);
19068
 
 
19069
 
CK_RV gkm_session_C_GetFunctionStatus (GkmSession *self);
19070
 
 
19071
 
CK_RV gkm_session_C_CancelFunction (GkmSession *self);
19072
 
 
19073
 
CK_RV gkm_session_C_GetSessionInfo (GkmSession* self,
19074
 
                                                                         CK_SESSION_INFO_PTR info);
19075
 
 
19076
 
CK_RV gkm_session_C_GetOperationState (GkmSession* self,
19077
 
                                                                         CK_BYTE_PTR operation_state,
19078
 
                                                                         CK_ULONG_PTR operation_state_len);
19079
 
 
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);
19085
 
 
19086
 
CK_RV gkm_session_C_CreateObject (GkmSession* self,
19087
 
                                                                         CK_ATTRIBUTE_PTR template,
19088
 
                                                                         CK_ULONG count,
19089
 
                                                                         CK_OBJECT_HANDLE_PTR new_object);
19090
 
 
19091
 
CK_RV gkm_session_C_CopyObject (GkmSession* self,
19092
 
                                                                         CK_OBJECT_HANDLE object,
19093
 
                                                                         CK_ATTRIBUTE_PTR template,
19094
 
                                                                         CK_ULONG count,
19095
 
                                                                         CK_OBJECT_HANDLE_PTR new_object);
19096
 
 
19097
 
CK_RV gkm_session_C_DestroyObject (GkmSession* self,
19098
 
                                                                         CK_OBJECT_HANDLE object);
19099
 
 
19100
 
CK_RV gkm_session_C_GetObjectSize (GkmSession* self,
19101
 
                                                                         CK_OBJECT_HANDLE object,
19102
 
                                                                         CK_ULONG_PTR size);
19103
 
 
19104
 
CK_RV gkm_session_C_GetAttributeValue (GkmSession* self,
19105
 
                                                                         CK_OBJECT_HANDLE handle,
19106
 
                                                                         CK_ATTRIBUTE_PTR template,
19107
 
                                                                         CK_ULONG count);
19108
 
 
19109
 
CK_RV gkm_session_C_SetAttributeValue (GkmSession* self,
19110
 
                                                                         CK_OBJECT_HANDLE handle,
19111
 
                                                                         CK_ATTRIBUTE_PTR template,
19112
 
                                                                         CK_ULONG count);
19113
 
 
19114
 
CK_RV gkm_session_C_FindObjectsInit (GkmSession* self,
19115
 
                                                                         CK_ATTRIBUTE_PTR template,
19116
 
                                                                         CK_ULONG count);
19117
 
 
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);
19122
 
 
19123
 
CK_RV gkm_session_C_FindObjectsFinal (GkmSession* self);
19124
 
 
19125
 
CK_RV gkm_session_C_EncryptInit (GkmSession *self,
19126
 
                                                                         CK_MECHANISM_PTR mechanism,
19127
 
                                                                         CK_OBJECT_HANDLE key);
19128
 
 
19129
 
CK_RV gkm_session_C_Encrypt (GkmSession *self,
19130
 
                                                                         CK_BYTE_PTR data,
19131
 
                                                                         CK_ULONG data_len,
19132
 
                                                                         CK_BYTE_PTR encrypted_data,
19133
 
                                                                         CK_ULONG_PTR encrypted_data_len);
19134
 
 
19135
 
CK_RV gkm_session_C_EncryptUpdate (GkmSession *self,
19136
 
                                                                         CK_BYTE_PTR part,
19137
 
                                                                         CK_ULONG part_len,
19138
 
                                                                         CK_BYTE_PTR encrypted_part,
19139
 
                                                                         CK_ULONG_PTR encrypted_part_len);
19140
 
 
19141
 
CK_RV gkm_session_C_EncryptFinal (GkmSession *self,
19142
 
                                                                         CK_BYTE_PTR last_part,
19143
 
                                                                         CK_ULONG_PTR last_part_len);
19144
 
 
19145
 
CK_RV gkm_session_C_DecryptInit (GkmSession *self,
19146
 
                                                                         CK_MECHANISM_PTR mechanism,
19147
 
                                                                         CK_OBJECT_HANDLE key);
19148
 
 
19149
 
CK_RV gkm_session_C_Decrypt (GkmSession *self,
19150
 
                                                                         CK_BYTE_PTR enc_data,
19151
 
                                                                         CK_ULONG enc_data_len,
19152
 
                                                                         CK_BYTE_PTR data,
19153
 
                                                                         CK_ULONG_PTR data_len);
19154
 
 
19155
 
CK_RV gkm_session_C_DecryptUpdate (GkmSession *self,
19156
 
                                                                         CK_BYTE_PTR enc_part,
19157
 
                                                                         CK_ULONG enc_part_len,
19158
 
                                                                         CK_BYTE_PTR part,
19159
 
                                                                         CK_ULONG_PTR part_len);
19160
 
 
19161
 
CK_RV gkm_session_C_DecryptFinal (GkmSession *self,
19162
 
                                                                         CK_BYTE_PTR last_part,
19163
 
                                                                         CK_ULONG_PTR last_part_len);
19164
 
 
19165
 
CK_RV gkm_session_C_DigestInit (GkmSession *self,
19166
 
                                                                         CK_MECHANISM_PTR mechanism);
19167
 
 
19168
 
CK_RV gkm_session_C_Digest (GkmSession *self,
19169
 
                                                                         CK_BYTE_PTR data,
19170
 
                                                                         CK_ULONG data_len,
19171
 
                                                                         CK_BYTE_PTR digest,
19172
 
                                                                         CK_ULONG_PTR digest_len);
19173
 
 
19174
 
CK_RV gkm_session_C_DigestUpdate (GkmSession *self,
19175
 
                                                                         CK_BYTE_PTR part,
19176
 
                                                                         CK_ULONG part_len);
19177
 
 
19178
 
CK_RV gkm_session_C_DigestKey (GkmSession *self,
19179
 
                                                                         CK_OBJECT_HANDLE key);
19180
 
 
19181
 
CK_RV gkm_session_C_DigestFinal (GkmSession *self,
19182
 
                                                                         CK_BYTE_PTR digest,
19183
 
                                                                         CK_ULONG_PTR digest_len);
19184
 
 
19185
 
CK_RV gkm_session_C_SignInit (GkmSession *self,
19186
 
                                                                         CK_MECHANISM_PTR mechanism,
19187
 
                                                                         CK_OBJECT_HANDLE key);
19188
 
 
19189
 
CK_RV gkm_session_C_Sign (GkmSession *self,
19190
 
                                                                         CK_BYTE_PTR data,
19191
 
                                                                         CK_ULONG data_len,
19192
 
                                                                         CK_BYTE_PTR signature,
19193
 
                                                                         CK_ULONG_PTR signature_len);
19194
 
 
19195
 
CK_RV gkm_session_C_SignUpdate (GkmSession *self,
19196
 
                                                                         CK_BYTE_PTR part,
19197
 
                                                                         CK_ULONG part_len);
19198
 
 
19199
 
CK_RV gkm_session_C_SignFinal (GkmSession *self,
19200
 
                                                                         CK_BYTE_PTR signature,
19201
 
                                                                         CK_ULONG_PTR signature_len);
19202
 
 
19203
 
CK_RV gkm_session_C_SignRecoverInit (GkmSession *self,
19204
 
                                                                         CK_MECHANISM_PTR mechanism,
19205
 
                                                                         CK_OBJECT_HANDLE key);
19206
 
 
19207
 
CK_RV gkm_session_C_SignRecover (GkmSession *self,
19208
 
                                                                         CK_BYTE_PTR data,
19209
 
                                                                         CK_ULONG data_len,
19210
 
                                                                         CK_BYTE_PTR signature,
19211
 
                                                                         CK_ULONG_PTR signature_len);
19212
 
 
19213
 
CK_RV gkm_session_C_VerifyInit (GkmSession *self,
19214
 
                                                                         CK_MECHANISM_PTR mechanism,
19215
 
                                                                         CK_OBJECT_HANDLE key);
19216
 
 
19217
 
CK_RV gkm_session_C_Verify (GkmSession *self,
19218
 
                                                                         CK_BYTE_PTR data,
19219
 
                                                                         CK_ULONG data_len,
19220
 
                                                                         CK_BYTE_PTR signature,
19221
 
                                                                         CK_ULONG signature_len);
19222
 
 
19223
 
CK_RV gkm_session_C_VerifyUpdate (GkmSession *self,
19224
 
                                                                         CK_BYTE_PTR part,
19225
 
                                                                         CK_ULONG part_len);
19226
 
 
19227
 
CK_RV gkm_session_C_VerifyFinal (GkmSession *self,
19228
 
                                                                         CK_BYTE_PTR signature,
19229
 
                                                                         CK_ULONG signature_len);
19230
 
 
19231
 
CK_RV gkm_session_C_VerifyRecoverInit (GkmSession *self,
19232
 
                                                                         CK_MECHANISM_PTR mechanism,
19233
 
                                                                         CK_OBJECT_HANDLE key);
19234
 
 
19235
 
CK_RV gkm_session_C_VerifyRecover (GkmSession *self,
19236
 
                                                                         CK_BYTE_PTR signature,
19237
 
                                                                         CK_ULONG signature_len,
19238
 
                                                                         CK_BYTE_PTR data,
19239
 
                                                                         CK_ULONG_PTR data_len);
19240
 
 
19241
 
CK_RV gkm_session_C_DigestEncryptUpdate (GkmSession *self,
19242
 
                                                                         CK_BYTE_PTR part,
19243
 
                                                                         CK_ULONG part_len,
19244
 
                                                                         CK_BYTE_PTR enc_part,
19245
 
                                                                         CK_ULONG_PTR enc_part_len);
19246
 
 
19247
 
CK_RV gkm_session_C_DecryptDigestUpdate (GkmSession *self,
19248
 
                                                                         CK_BYTE_PTR enc_part,
19249
 
                                                                         CK_ULONG enc_part_len,
19250
 
                                                                         CK_BYTE_PTR part,
19251
 
                                                                         CK_ULONG_PTR part_len);
19252
 
 
19253
 
CK_RV gkm_session_C_SignEncryptUpdate (GkmSession *self,
19254
 
                                                                         CK_BYTE_PTR part,
19255
 
                                                                         CK_ULONG part_len,
19256
 
                                                                         CK_BYTE_PTR enc_part,
19257
 
                                                                         CK_ULONG_PTR enc_part_len);
19258
 
 
19259
 
CK_RV gkm_session_C_DecryptVerifyUpdate (GkmSession *self,
19260
 
                                                                         CK_BYTE_PTR enc_part,
19261
 
                                                                         CK_ULONG enc_part_len,
19262
 
                                                                         CK_BYTE_PTR part,
19263
 
                                                                         CK_ULONG_PTR part_len);
19264
 
 
19265
 
CK_RV gkm_session_C_GenerateKey (GkmSession* self,
19266
 
                                                                         CK_MECHANISM_PTR mechanism,
19267
 
                                                                         CK_ATTRIBUTE_PTR template,
19268
 
                                                                         CK_ULONG count,
19269
 
                                                                         CK_OBJECT_HANDLE_PTR key);
19270
 
 
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);
19279
 
 
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);
19286
 
 
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,
19293
 
                                                                         CK_ULONG count,
19294
 
                                                                         CK_OBJECT_HANDLE_PTR key);
19295
 
 
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,
19300
 
                                                                         CK_ULONG count,
19301
 
                                                                         CK_OBJECT_HANDLE_PTR key);
19302
 
 
19303
 
CK_RV gkm_session_C_SeedRandom (GkmSession* self,
19304
 
                                                                         CK_BYTE_PTR seed,
19305
 
                                                                         CK_ULONG seed_len);
19306
 
 
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
19311
 
 
19312
 
 
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
19321
 
 
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;
19326
 
 
19327
 
 
19328
 
 
19329
 
 
19330
 
 
19331
 
 
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"
19346
 
 "\x6F\x6D";
19347
 
 
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";
19351
 
 
19352
 
static const char MD5_CHECKSUM[] =
19353
 
 "\x3a\xb2\xde\x22\x9a\x20\x93\x49\xf9\xed\xc8\xd2\x8a\xe7\x68\x0d";
19354
 
 
19355
 
static const char SERIAL_NUMBER[] =
19356
 
 "\x01\x02\x03";
19357
 
# 117 "test-xdg-trust.c"
19358
 
void testing__setup__trust_setup(int *__unused, gconstpointer __data)
19359
 
{
19360
 
 CK_RV rv;
19361
 
 
19362
 
 module = test_xdg_module_initialize_and_enter ();
19363
 
 session = test_xdg_module_open_session ((!(0)));
19364
 
 
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);
19367
 
 
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);
19370
 
}
19371
 
 
19372
 
void testing__teardown__trust_teardown(int *__unused, gconstpointer __data)
19373
 
{
19374
 
 test_xdg_module_leave_and_finalize ();
19375
 
 module = ((void *)0);
19376
 
 session = ((void *)0);
19377
 
 
19378
 
 g_free (cert_data);
19379
 
 cert_data = ((void *)0);
19380
 
 n_cert_data = 0;
19381
 
}
19382
 
 
19383
 
void testing__test__trust_load_objects(int *__unused, gconstpointer __data)
19384
 
{
19385
 
 CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31))|0x4E534350) + 3);
19386
 
 
19387
 
 CK_ATTRIBUTE attrs[] = {
19388
 
  { (0UL), &klass, sizeof (klass) },
19389
 
 };
19390
 
 
19391
 
 CK_ULONG n_objects;
19392
 
 CK_OBJECT_HANDLE objects[16];
19393
 
 CK_RV rv;
19394
 
 
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);
19401
 
 
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);
19403
 
}
19404
 
 
19405
 
void testing__test__trust_create_assertion_complete(int *__unused, gconstpointer __data)
19406
 
{
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;
19412
 
 CK_RV rv;
19413
 
 
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 },
19419
 
 };
19420
 
 
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);
19424
 
 
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);
19431
 
 
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);
19434
 
}
19435
 
 
19436
 
void testing__test__trust_complete_assertion_has_no_serial_or_issuer(int *__unused, gconstpointer __data)
19437
 
{
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;
19442
 
 CK_RV rv;
19443
 
 
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 },
19449
 
 };
19450
 
 
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);
19454
 
 
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);
19460
 
 
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);
19466
 
}
19467
 
 
19468
 
void testing__test__trust_complete_assertion_netscape_md5_hash(int *__unused, gconstpointer __data)
19469
 
{
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;
19476
 
 CK_RV rv;
19477
 
 
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 },
19483
 
 };
19484
 
 
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) },
19488
 
 };
19489
 
 
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);
19493
 
 
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);
19500
 
 
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);
19503
 
}
19504
 
 
19505
 
void testing__test__trust_complete_assertion_netscape_sha1_hash(int *__unused, gconstpointer __data)
19506
 
{
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;
19513
 
 CK_RV rv;
19514
 
 
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 },
19520
 
 };
19521
 
 
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) },
19525
 
 };
19526
 
 
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);
19530
 
 
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);
19537
 
 
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);
19540
 
}
19541
 
 
19542
 
void testing__test__trust_create_assertion_missing_type(int *__unused, gconstpointer __data)
19543
 
{
19544
 
 CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19545
 
 CK_OBJECT_HANDLE object = 0;
19546
 
 CK_RV rv;
19547
 
 
19548
 
 
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 },
19553
 
 };
19554
 
 
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);
19557
 
}
19558
 
 
19559
 
void testing__test__trust_create_assertion_bad_type(int *__unused, gconstpointer __data)
19560
 
{
19561
 
 CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19562
 
 CK_X_ASSERTION_TYPE atype = 0xFFFF;
19563
 
 CK_OBJECT_HANDLE object = 0;
19564
 
 CK_RV rv;
19565
 
 
19566
 
 
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 },
19571
 
 };
19572
 
 
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);
19575
 
}
19576
 
 
19577
 
void testing__test__trust_create_assertion_missing_cert_value(int *__unused, gconstpointer __data)
19578
 
{
19579
 
 CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19580
 
 CK_X_ASSERTION_TYPE atype = 3UL;
19581
 
 CK_OBJECT_HANDLE object = 0;
19582
 
 CK_RV rv;
19583
 
 
19584
 
 
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 },
19589
 
 };
19590
 
 
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);
19593
 
}
19594
 
 
19595
 
void testing__test__trust_create_assertion_bad_cert_value(int *__unused, gconstpointer __data)
19596
 
{
19597
 
 CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19598
 
 CK_X_ASSERTION_TYPE atype = 3UL;
19599
 
 CK_OBJECT_HANDLE object = 0;
19600
 
 CK_RV rv;
19601
 
 
19602
 
 
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 },
19608
 
 };
19609
 
 
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);
19612
 
}
19613
 
 
19614
 
void testing__test__trust_create_assertion_null_cert_value(int *__unused, gconstpointer __data)
19615
 
{
19616
 
 CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19617
 
 CK_X_ASSERTION_TYPE atype = 3UL;
19618
 
 CK_OBJECT_HANDLE object = 0;
19619
 
 CK_RV rv;
19620
 
 
19621
 
 
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 },
19627
 
 };
19628
 
 
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);
19631
 
}
19632
 
 
19633
 
void testing__test__trust_create_assertion_for_distrusted(int *__unused, gconstpointer __data)
19634
 
{
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;
19640
 
 CK_RV rv;
19641
 
 
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 }
19648
 
 };
19649
 
 
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);
19653
 
 
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);
19660
 
 
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);
19663
 
}
19664
 
 
19665
 
void testing__test__trust_create_assertion_for_distrusted_no_purpose(int *__unused, gconstpointer __data)
19666
 
{
19667
 
 CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19668
 
 CK_X_ASSERTION_TYPE atype = 1UL;
19669
 
 CK_OBJECT_HANDLE object = 0;
19670
 
 CK_RV rv;
19671
 
 
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 }
19677
 
 };
19678
 
 
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);
19681
 
}
19682
 
 
19683
 
void testing__test__trust_create_assertion_for_distrusted_no_serial(int *__unused, gconstpointer __data)
19684
 
{
19685
 
 CK_OBJECT_CLASS klass = ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 100);
19686
 
 CK_X_ASSERTION_TYPE atype = 1UL;
19687
 
 CK_OBJECT_HANDLE object = 0;
19688
 
 CK_RV rv;
19689
 
 
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 }
19695
 
 };
19696
 
 
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);
19699
 
}
19700
 
 
19701
 
void testing__test__trust_create_assertion_twice(int *__unused, gconstpointer __data)
19702
 
{
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;
19707
 
 CK_RV rv;
19708
 
 
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 }
19715
 
 };
19716
 
 
19717
 
 
19718
 
 
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);
19722
 
 
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);
19726
 
 
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);
19728
 
 
19729
 
 
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);
19732
 
}
19733
 
 
19734
 
void testing__test__trust_distrusted_assertion_has_no_cert_value(int *__unused, gconstpointer __data)
19735
 
{
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;
19740
 
 CK_RV rv;
19741
 
 
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 }
19748
 
 };
19749
 
 
19750
 
 
19751
 
 
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);
19755
 
 
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);
19761
 
}
19762
 
 
19763
 
void testing__test__trust_create_assertion_complete_on_token(int *__unused, gconstpointer __data)
19764
 
{
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;
19772
 
 CK_RV rv;
19773
 
 
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) },
19780
 
 };
19781
 
 
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);
19785
 
 
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);
19789
 
 
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);
19796
 
 
19797
 
 
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);
19800
 
}
19801
 
 
19802
 
void testing__test__trust_destroy_assertion_on_token(int *__unused, gconstpointer __data)
19803
 
{
19804
 
 CK_X_ASSERTION_TYPE atype = 2UL;
19805
 
 CK_OBJECT_HANDLE results[8];
19806
 
 CK_BBOOL token = 1;
19807
 
 CK_ULONG n_objects = 0;
19808
 
 CK_RV rv;
19809
 
 
19810
 
 CK_ATTRIBUTE attrs[] = {
19811
 
  { ((((unsigned long) (1UL << 31)) | 0x58444700UL ) + 1), &atype, sizeof (atype) },
19812
 
  { (1UL), &token, sizeof (token) },
19813
 
 };
19814
 
 
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);
19821
 
 
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);
19823
 
 
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);
19826
 
 
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);
19833
 
 
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);
19835
 
}
19836
 
 
19837
 
static void
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)
19841
 
{
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];
19848
 
 gsize n_checksum;
19849
 
 CK_ATTRIBUTE attr;
19850
 
 CK_TRUST check;
19851
 
 GChecksum *md;
19852
 
 CK_BBOOL fval = 0;
19853
 
 CK_RV rv;
19854
 
 
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) },
19861
 
 };
19862
 
 
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) },
19867
 
 };
19868
 
 
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);
19872
 
 
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);
19878
 
 
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);
19885
 
 
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);
19887
 
 
19888
 
 check = (CK_ULONG)-1;
19889
 
 attr.type = netscape_type;
19890
 
 attr.pValue = &check;
19891
 
 attr.ulValueLen = sizeof (check);
19892
 
 
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);
19895
 
 
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);
19899
 
}
19900
 
 
19901
 
static void
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)
19905
 
{
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;
19911
 
 CK_ATTRIBUTE attr;
19912
 
 CK_TRUST check;
19913
 
 CK_BBOOL fval = 0;
19914
 
 CK_RV rv;
19915
 
 
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) },
19923
 
 };
19924
 
 
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 },
19930
 
 };
19931
 
 
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);
19935
 
 
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);
19942
 
 
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);
19944
 
 
19945
 
 check = (CK_ULONG)-1;
19946
 
 attr.type = netscape_type;
19947
 
 attr.pValue = &check;
19948
 
 attr.ulValueLen = sizeof (check);
19949
 
 
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);
19952
 
 
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);
19956
 
}
19957
 
 
19958
 
 
19959
 
 
19960
 
 
19961
 
 
19962
 
 
19963
 
 
19964
 
void testing__test__trust_netscape_map_server_auth(int *__unused, gconstpointer __data)
19965
 
{
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")
19967
 
                                                                       ;
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")
19969
 
                                                                                 ;
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")
19971
 
                                                                         ;
19972
 
}
19973
 
 
19974
 
void testing__test__trust_netscape_map_client_auth(int *__unused, gconstpointer __data)
19975
 
{
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")
19977
 
                                                                       ;
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")
19979
 
                                                                                 ;
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")
19981
 
                                                                         ;
19982
 
}
19983
 
 
19984
 
void testing__test__trust_netscape_map_code_signing(int *__unused, gconstpointer __data)
19985
 
{
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")
19987
 
                                                                        ;
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")
19989
 
                                                                                  ;
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")
19991
 
                                                                          ;
19992
 
}
19993
 
 
19994
 
void testing__test__trust_netscape_map_email(int *__unused, gconstpointer __data)
19995
 
{
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")
19997
 
                                                                            ;
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")
19999
 
                                                                                      ;
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")
20001
 
                                                                              ;
20002
 
}
20003
 
 
20004
 
void testing__test__trust_netscape_map_ipsec_endpoint(int *__unused, gconstpointer __data)
20005
 
{
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")
20007
 
                                                                            ;
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")
20009
 
                                                                                      ;
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")
20011
 
                                                                              ;
20012
 
}
20013
 
 
20014
 
void testing__test__trust_netscape_map_ipsec_tunnel(int *__unused, gconstpointer __data)
20015
 
{
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")
20017
 
                                                                        ;
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")
20019
 
                                                                                  ;
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")
20021
 
                                                                          ;
20022
 
}
20023
 
 
20024
 
void testing__test__trust_netscape_map_ipsec_user(int *__unused, gconstpointer __data)
20025
 
{
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")
20027
 
                                                                      ;
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")
20029
 
                                                                                ;
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")
20031
 
                                                                        ;
20032
 
}
20033
 
 
20034
 
void testing__test__trust_netscape_map_time_stamping(int *__unused, gconstpointer __data)
20035
 
{
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")
20037
 
                                                                         ;
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")
20039
 
                                                                                   ;
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")
20041
 
                                                                           ;
20042
 
}