initial import
[ICEs.git] / 147533 / vartest.i.1
1 # 1 "vartest.c"
2 # 1 "/var/tmp/portage/wine-0.9.21/work/wine-0.9.21/dlls/oleaut32/tests//"
3 # 1 "<built-in>"
4 # 1 "<command line>"
5 # 1 "vartest.c"
6 # 22 "vartest.c"
7 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stdarg.h" 1 3 4
8 # 43 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stdarg.h" 3 4
9 typedef __builtin_va_list __gnuc_va_list;
10 # 105 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stdarg.h" 3 4
11 typedef __gnuc_va_list va_list;
12 # 23 "vartest.c" 2
13 # 1 "/usr/include/stdio.h" 1 3 4
14
15
16
17 # 1 "/usr/include/gentoo-multilib/x86/stdio.h" 1 3 4
18 # 28 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
19 # 1 "/usr/include/features.h" 1 3 4
20
21
22
23 # 1 "/usr/include/gentoo-multilib/x86/features.h" 1 3 4
24 # 309 "/usr/include/gentoo-multilib/x86/features.h" 3 4
25 # 1 "/usr/include/sys/cdefs.h" 1 3 4
26
27
28
29 # 1 "/usr/include/gentoo-multilib/x86/sys/cdefs.h" 1 3 4
30 # 5 "/usr/include/sys/cdefs.h" 2 3 4
31 # 310 "/usr/include/gentoo-multilib/x86/features.h" 2 3 4
32 # 332 "/usr/include/gentoo-multilib/x86/features.h" 3 4
33 # 1 "/usr/include/gnu/stubs.h" 1 3 4
34
35
36
37 # 1 "/usr/include/gentoo-multilib/x86/gnu/stubs.h" 1 3 4
38 # 5 "/usr/include/gnu/stubs.h" 2 3 4
39 # 333 "/usr/include/gentoo-multilib/x86/features.h" 2 3 4
40 # 5 "/usr/include/features.h" 2 3 4
41 # 29 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4
42
43
44
45
46
47 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
48 # 214 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 3 4
49 typedef unsigned int size_t;
50 # 35 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4
51
52 # 1 "/usr/include/bits/types.h" 1 3 4
53
54
55
56 # 1 "/usr/include/gentoo-multilib/x86/bits/types.h" 1 3 4
57 # 27 "/usr/include/gentoo-multilib/x86/bits/types.h" 3 4
58 # 1 "/usr/include/features.h" 1 3 4
59 # 28 "/usr/include/gentoo-multilib/x86/bits/types.h" 2 3 4
60 # 1 "/usr/include/bits/wordsize.h" 1 3 4
61
62
63
64 # 1 "/usr/include/gentoo-multilib/x86/bits/wordsize.h" 1 3 4
65 # 5 "/usr/include/bits/wordsize.h" 2 3 4
66 # 29 "/usr/include/gentoo-multilib/x86/bits/types.h" 2 3 4
67
68
69 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
70 # 32 "/usr/include/gentoo-multilib/x86/bits/types.h" 2 3 4
71
72
73 typedef unsigned char __u_char;
74 typedef unsigned short int __u_short;
75 typedef unsigned int __u_int;
76 typedef unsigned long int __u_long;
77
78
79 typedef signed char __int8_t;
80 typedef unsigned char __uint8_t;
81 typedef signed short int __int16_t;
82 typedef unsigned short int __uint16_t;
83 typedef signed int __int32_t;
84 typedef unsigned int __uint32_t;
85
86
87
88
89 __extension__ typedef signed long long int __int64_t;
90 __extension__ typedef unsigned long long int __uint64_t;
91
92
93
94
95
96
97
98 __extension__ typedef long long int __quad_t;
99 __extension__ typedef unsigned long long int __u_quad_t;
100 # 129 "/usr/include/gentoo-multilib/x86/bits/types.h" 3 4
101 # 1 "/usr/include/bits/typesizes.h" 1 3 4
102
103
104
105 # 1 "/usr/include/gentoo-multilib/x86/bits/typesizes.h" 1 3 4
106 # 5 "/usr/include/bits/typesizes.h" 2 3 4
107 # 130 "/usr/include/gentoo-multilib/x86/bits/types.h" 2 3 4
108
109
110
111
112
113
114 __extension__ typedef __u_quad_t __dev_t;
115 __extension__ typedef unsigned int __uid_t;
116 __extension__ typedef unsigned int __gid_t;
117 __extension__ typedef unsigned long int __ino_t;
118 __extension__ typedef __u_quad_t __ino64_t;
119 __extension__ typedef unsigned int __mode_t;
120 __extension__ typedef unsigned int __nlink_t;
121 __extension__ typedef long int __off_t;
122 __extension__ typedef __quad_t __off64_t;
123 __extension__ typedef int __pid_t;
124 __extension__ typedef struct { int __val[2]; } __fsid_t;
125 __extension__ typedef long int __clock_t;
126 __extension__ typedef unsigned long int __rlim_t;
127 __extension__ typedef __u_quad_t __rlim64_t;
128 __extension__ typedef unsigned int __id_t;
129 __extension__ typedef long int __time_t;
130 __extension__ typedef unsigned int __useconds_t;
131 __extension__ typedef long int __suseconds_t;
132
133 __extension__ typedef int __daddr_t;
134 __extension__ typedef long int __swblk_t;
135 __extension__ typedef int __key_t;
136
137
138 __extension__ typedef int __clockid_t;
139
140
141 __extension__ typedef void * __timer_t;
142
143
144 __extension__ typedef long int __blksize_t;
145
146
147
148
149 __extension__ typedef long int __blkcnt_t;
150 __extension__ typedef __quad_t __blkcnt64_t;
151
152
153 __extension__ typedef unsigned long int __fsblkcnt_t;
154 __extension__ typedef __u_quad_t __fsblkcnt64_t;
155
156
157 __extension__ typedef unsigned long int __fsfilcnt_t;
158 __extension__ typedef __u_quad_t __fsfilcnt64_t;
159
160 __extension__ typedef int __ssize_t;
161
162
163
164 typedef __off64_t __loff_t;
165 typedef __quad_t *__qaddr_t;
166 typedef char *__caddr_t;
167
168
169 __extension__ typedef int __intptr_t;
170
171
172 __extension__ typedef unsigned int __socklen_t;
173 # 5 "/usr/include/bits/types.h" 2 3 4
174 # 37 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4
175
176
177
178
179
180
181
182
183
184 typedef struct _IO_FILE FILE;
185
186
187
188
189
190 # 62 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
191 typedef struct _IO_FILE __FILE;
192 # 72 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
193 # 1 "/usr/include/libio.h" 1 3 4
194
195
196
197 # 1 "/usr/include/gentoo-multilib/x86/libio.h" 1 3 4
198 # 32 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
199 # 1 "/usr/include/_G_config.h" 1 3 4
200
201
202
203 # 1 "/usr/include/gentoo-multilib/x86/_G_config.h" 1 3 4
204 # 9 "/usr/include/gentoo-multilib/x86/_G_config.h" 3 4
205 # 1 "/usr/include/bits/types.h" 1 3 4
206 # 10 "/usr/include/gentoo-multilib/x86/_G_config.h" 2 3 4
207
208
209
210
211 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
212 # 326 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 3 4
213 typedef int wchar_t;
214 # 355 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 3 4
215 typedef unsigned int wint_t;
216 # 15 "/usr/include/gentoo-multilib/x86/_G_config.h" 2 3 4
217 # 24 "/usr/include/gentoo-multilib/x86/_G_config.h" 3 4
218 # 1 "/usr/include/wchar.h" 1 3 4
219
220
221
222 # 1 "/usr/include/gentoo-multilib/x86/wchar.h" 1 3 4
223 # 48 "/usr/include/gentoo-multilib/x86/wchar.h" 3 4
224 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
225 # 49 "/usr/include/gentoo-multilib/x86/wchar.h" 2 3 4
226
227 # 1 "/usr/include/bits/wchar.h" 1 3 4
228
229
230
231 # 1 "/usr/include/gentoo-multilib/x86/bits/wchar.h" 1 3 4
232 # 5 "/usr/include/bits/wchar.h" 2 3 4
233 # 51 "/usr/include/gentoo-multilib/x86/wchar.h" 2 3 4
234 # 76 "/usr/include/gentoo-multilib/x86/wchar.h" 3 4
235 typedef struct
236 {
237 int __count;
238 union
239 {
240 wint_t __wch;
241 char __wchb[4];
242 } __value;
243 } __mbstate_t;
244 # 5 "/usr/include/wchar.h" 2 3 4
245 # 25 "/usr/include/gentoo-multilib/x86/_G_config.h" 2 3 4
246
247 typedef struct
248 {
249 __off_t __pos;
250 __mbstate_t __state;
251 } _G_fpos_t;
252 typedef struct
253 {
254 __off64_t __pos;
255 __mbstate_t __state;
256 } _G_fpos64_t;
257 # 44 "/usr/include/gentoo-multilib/x86/_G_config.h" 3 4
258 # 1 "/usr/include/gconv.h" 1 3 4
259
260
261
262 # 1 "/usr/include/gentoo-multilib/x86/gconv.h" 1 3 4
263 # 26 "/usr/include/gentoo-multilib/x86/gconv.h" 3 4
264 # 1 "/usr/include/features.h" 1 3 4
265 # 27 "/usr/include/gentoo-multilib/x86/gconv.h" 2 3 4
266
267 # 1 "/usr/include/wchar.h" 1 3 4
268
269
270
271 # 1 "/usr/include/gentoo-multilib/x86/wchar.h" 1 3 4
272 # 48 "/usr/include/gentoo-multilib/x86/wchar.h" 3 4
273 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
274 # 49 "/usr/include/gentoo-multilib/x86/wchar.h" 2 3 4
275
276 # 1 "/usr/include/bits/wchar.h" 1 3 4
277 # 51 "/usr/include/gentoo-multilib/x86/wchar.h" 2 3 4
278 # 5 "/usr/include/wchar.h" 2 3 4
279 # 29 "/usr/include/gentoo-multilib/x86/gconv.h" 2 3 4
280
281
282 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
283 # 32 "/usr/include/gentoo-multilib/x86/gconv.h" 2 3 4
284
285
286
287
288
289 enum
290 {
291 __GCONV_OK = 0,
292 __GCONV_NOCONV,
293 __GCONV_NODB,
294 __GCONV_NOMEM,
295
296 __GCONV_EMPTY_INPUT,
297 __GCONV_FULL_OUTPUT,
298 __GCONV_ILLEGAL_INPUT,
299 __GCONV_INCOMPLETE_INPUT,
300
301 __GCONV_ILLEGAL_DESCRIPTOR,
302 __GCONV_INTERNAL_ERROR
303 };
304
305
306
307 enum
308 {
309 __GCONV_IS_LAST = 0x0001,
310 __GCONV_IGNORE_ERRORS = 0x0002
311 };
312
313
314
315 struct __gconv_step;
316 struct __gconv_step_data;
317 struct __gconv_loaded_object;
318 struct __gconv_trans_data;
319
320
321
322 typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *,
323 __const unsigned char **, __const unsigned char *,
324 unsigned char **, size_t *, int, int);
325
326
327 typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char);
328
329
330 typedef int (*__gconv_init_fct) (struct __gconv_step *);
331 typedef void (*__gconv_end_fct) (struct __gconv_step *);
332
333
334
335 typedef int (*__gconv_trans_fct) (struct __gconv_step *,
336 struct __gconv_step_data *, void *,
337 __const unsigned char *,
338 __const unsigned char **,
339 __const unsigned char *, unsigned char **,
340 size_t *);
341
342
343 typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *,
344 __const unsigned char *,
345 unsigned char *, unsigned char *);
346
347
348 typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***,
349 size_t *);
350
351
352 typedef int (*__gconv_trans_init_fct) (void **, const char *);
353 typedef void (*__gconv_trans_end_fct) (void *);
354
355 struct __gconv_trans_data
356 {
357
358 __gconv_trans_fct __trans_fct;
359 __gconv_trans_context_fct __trans_context_fct;
360 __gconv_trans_end_fct __trans_end_fct;
361 void *__data;
362 struct __gconv_trans_data *__next;
363 };
364
365
366
367 struct __gconv_step
368 {
369 struct __gconv_loaded_object *__shlib_handle;
370 __const char *__modname;
371
372 int __counter;
373
374 char *__from_name;
375 char *__to_name;
376
377 __gconv_fct __fct;
378 __gconv_btowc_fct __btowc_fct;
379 __gconv_init_fct __init_fct;
380 __gconv_end_fct __end_fct;
381
382
383
384 int __min_needed_from;
385 int __max_needed_from;
386 int __min_needed_to;
387 int __max_needed_to;
388
389
390 int __stateful;
391
392 void *__data;
393 };
394
395
396
397 struct __gconv_step_data
398 {
399 unsigned char *__outbuf;
400 unsigned char *__outbufend;
401
402
403
404 int __flags;
405
406
407
408 int __invocation_counter;
409
410
411
412 int __internal_use;
413
414 __mbstate_t *__statep;
415 __mbstate_t __state;
416
417
418
419 struct __gconv_trans_data *__trans;
420 };
421
422
423
424 typedef struct __gconv_info
425 {
426 size_t __nsteps;
427 struct __gconv_step *__steps;
428 __extension__ struct __gconv_step_data __data [];
429 } *__gconv_t;
430 # 5 "/usr/include/gconv.h" 2 3 4
431 # 45 "/usr/include/gentoo-multilib/x86/_G_config.h" 2 3 4
432 typedef union
433 {
434 struct __gconv_info __cd;
435 struct
436 {
437 struct __gconv_info __cd;
438 struct __gconv_step_data __data;
439 } __combined;
440 } _G_iconv_t;
441
442 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
443 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
444 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
445 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
446 # 5 "/usr/include/_G_config.h" 2 3 4
447 # 33 "/usr/include/gentoo-multilib/x86/libio.h" 2 3 4
448 # 166 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
449 struct _IO_jump_t; struct _IO_FILE;
450 # 176 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
451 typedef void _IO_lock_t;
452
453
454
455
456
457 struct _IO_marker {
458 struct _IO_marker *_next;
459 struct _IO_FILE *_sbuf;
460
461
462
463 int _pos;
464 # 199 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
465 };
466
467
468 enum __codecvt_result
469 {
470 __codecvt_ok,
471 __codecvt_partial,
472 __codecvt_error,
473 __codecvt_noconv
474 };
475 # 267 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
476 struct _IO_FILE {
477 int _flags;
478
479
480
481
482 char* _IO_read_ptr;
483 char* _IO_read_end;
484 char* _IO_read_base;
485 char* _IO_write_base;
486 char* _IO_write_ptr;
487 char* _IO_write_end;
488 char* _IO_buf_base;
489 char* _IO_buf_end;
490
491 char *_IO_save_base;
492 char *_IO_backup_base;
493 char *_IO_save_end;
494
495 struct _IO_marker *_markers;
496
497 struct _IO_FILE *_chain;
498
499 int _fileno;
500
501
502
503 int _flags2;
504
505 __off_t _old_offset;
506
507
508
509 unsigned short _cur_column;
510 signed char _vtable_offset;
511 char _shortbuf[1];
512
513
514
515 _IO_lock_t *_lock;
516 # 315 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
517 __off64_t _offset;
518
519
520
521
522
523 void *__pad1;
524 void *__pad2;
525
526 int _mode;
527
528 char _unused2[15 * sizeof (int) - 2 * sizeof (void *)];
529
530 };
531
532
533 typedef struct _IO_FILE _IO_FILE;
534
535
536 struct _IO_FILE_plus;
537
538 extern struct _IO_FILE_plus _IO_2_1_stdin_;
539 extern struct _IO_FILE_plus _IO_2_1_stdout_;
540 extern struct _IO_FILE_plus _IO_2_1_stderr_;
541 # 354 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
542 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
543
544
545
546
547
548
549
550 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
551 size_t __n);
552
553
554
555
556
557
558
559 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
560
561
562 typedef int __io_close_fn (void *__cookie);
563 # 406 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
564 extern int __underflow (_IO_FILE *) __attribute__ ((__nothrow__));
565 extern int __uflow (_IO_FILE *) __attribute__ ((__nothrow__));
566 extern int __overflow (_IO_FILE *, int) __attribute__ ((__nothrow__));
567 extern wint_t __wunderflow (_IO_FILE *) __attribute__ ((__nothrow__));
568 extern wint_t __wuflow (_IO_FILE *) __attribute__ ((__nothrow__));
569 extern wint_t __woverflow (_IO_FILE *, wint_t) __attribute__ ((__nothrow__));
570 # 444 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
571 extern int _IO_getc (_IO_FILE *__fp) __attribute__ ((__nothrow__));
572 extern int _IO_putc (int __c, _IO_FILE *__fp) __attribute__ ((__nothrow__));
573 extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
574 extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
575
576 extern int _IO_peekc_locked (_IO_FILE *__fp) __attribute__ ((__nothrow__));
577
578
579
580
581
582 extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
583 extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
584 extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
585 # 474 "/usr/include/gentoo-multilib/x86/libio.h" 3 4
586 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
587 __gnuc_va_list, int *__restrict) __attribute__ ((__nothrow__));
588 extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
589 __gnuc_va_list) __attribute__ ((__nothrow__));
590 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) __attribute__ ((__nothrow__));
591 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) __attribute__ ((__nothrow__));
592
593 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) __attribute__ ((__nothrow__));
594 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__));
595
596 extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
597 # 5 "/usr/include/libio.h" 2 3 4
598 # 73 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4
599 # 86 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
600
601
602 typedef _G_fpos_t fpos_t;
603
604
605
606
607 # 138 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
608 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
609
610
611
612 # 1 "/usr/include/gentoo-multilib/x86/bits/stdio_lim.h" 1 3 4
613 # 5 "/usr/include/bits/stdio_lim.h" 2 3 4
614 # 139 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4
615
616
617
618 extern struct _IO_FILE *stdin;
619 extern struct _IO_FILE *stdout;
620 extern struct _IO_FILE *stderr;
621
622
623
624
625
626
627
628 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
629
630 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
631
632
633
634
635
636
637
638
639
640 extern FILE *tmpfile (void);
641 # 178 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
642 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__));
643
644
645
646
647
648 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__));
649 # 196 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
650 extern char *tempnam (__const char *__dir, __const char *__pfx)
651 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
652
653
654
655
656
657
658
659
660 extern int fclose (FILE *__stream);
661
662
663
664
665 extern int fflush (FILE *__stream);
666
667 # 221 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
668 extern int fflush_unlocked (FILE *__stream);
669 # 235 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
670
671
672
673
674
675
676 extern FILE *fopen (__const char *__restrict __filename,
677 __const char *__restrict __modes);
678
679
680
681
682 extern FILE *freopen (__const char *__restrict __filename,
683 __const char *__restrict __modes,
684 FILE *__restrict __stream);
685 # 262 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
686
687 # 273 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
688 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__));
689 # 294 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
690
691
692
693 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
694
695
696
697 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
698 int __modes, size_t __n) __attribute__ ((__nothrow__));
699
700
701
702
703
704 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
705 size_t __size) __attribute__ ((__nothrow__));
706
707
708 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
709
710
711
712
713
714
715
716
717 extern int fprintf (FILE *__restrict __stream,
718 __const char *__restrict __format, ...);
719
720
721
722
723 extern int printf (__const char *__restrict __format, ...);
724
725 extern int sprintf (char *__restrict __s,
726 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
727
728
729
730
731
732 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
733 __gnuc_va_list __arg);
734
735
736
737
738 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
739
740 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
741 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
742
743
744
745
746
747 extern int snprintf (char *__restrict __s, size_t __maxlen,
748 __const char *__restrict __format, ...)
749 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
750
751 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
752 __const char *__restrict __format, __gnuc_va_list __arg)
753 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
754
755 # 388 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
756
757
758
759
760
761 extern int fscanf (FILE *__restrict __stream,
762 __const char *__restrict __format, ...);
763
764
765
766
767 extern int scanf (__const char *__restrict __format, ...);
768
769 extern int sscanf (__const char *__restrict __s,
770 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
771
772 # 430 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
773
774
775
776
777
778 extern int fgetc (FILE *__stream);
779 extern int getc (FILE *__stream);
780
781
782
783
784
785 extern int getchar (void);
786
787 # 454 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
788 extern int getc_unlocked (FILE *__stream);
789 extern int getchar_unlocked (void);
790 # 465 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
791 extern int fgetc_unlocked (FILE *__stream);
792
793
794
795
796
797
798
799
800
801
802
803 extern int fputc (int __c, FILE *__stream);
804 extern int putc (int __c, FILE *__stream);
805
806
807
808
809
810 extern int putchar (int __c);
811
812 # 498 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
813 extern int fputc_unlocked (int __c, FILE *__stream);
814
815
816
817
818
819
820
821 extern int putc_unlocked (int __c, FILE *__stream);
822 extern int putchar_unlocked (int __c);
823
824
825
826
827
828
829 extern int getw (FILE *__stream);
830
831
832 extern int putw (int __w, FILE *__stream);
833
834
835
836
837
838
839
840
841 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream);
842
843
844
845
846
847
848 extern char *gets (char *__s);
849
850 # 578 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
851
852
853
854
855
856 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
857
858
859
860
861
862 extern int puts (__const char *__s);
863
864
865
866
867
868
869 extern int ungetc (int __c, FILE *__stream);
870
871
872
873
874
875
876 extern size_t fread (void *__restrict __ptr, size_t __size,
877 size_t __n, FILE *__restrict __stream);
878
879
880
881
882 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
883 size_t __n, FILE *__restrict __s);
884
885 # 631 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
886 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
887 size_t __n, FILE *__restrict __stream);
888 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
889 size_t __n, FILE *__restrict __stream);
890
891
892
893
894
895
896
897
898 extern int fseek (FILE *__stream, long int __off, int __whence);
899
900
901
902
903 extern long int ftell (FILE *__stream);
904
905
906
907
908 extern void rewind (FILE *__stream);
909
910 # 686 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
911
912
913
914
915
916
917 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
918
919
920
921
922 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
923 # 709 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
924
925 # 718 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
926
927
928 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
929
930 extern int feof (FILE *__stream) __attribute__ ((__nothrow__));
931
932 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__));
933
934
935
936
937 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
938 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
939 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
940
941
942
943
944
945
946
947
948 extern void perror (__const char *__s);
949
950
951
952
953
954
955 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
956
957
958
959 # 1 "/usr/include/gentoo-multilib/x86/bits/sys_errlist.h" 1 3 4
960 # 27 "/usr/include/gentoo-multilib/x86/bits/sys_errlist.h" 3 4
961 extern int sys_nerr;
962 extern __const char *__const sys_errlist[];
963 # 5 "/usr/include/bits/sys_errlist.h" 2 3 4
964 # 748 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4
965
966
967
968
969 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__));
970
971
972
973
974 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
975 # 767 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
976 extern FILE *popen (__const char *__command, __const char *__modes);
977
978
979
980
981
982 extern int pclose (FILE *__stream);
983
984
985
986
987
988 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
989 # 807 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
990 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
991
992
993
994 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__));
995
996
997 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
998 # 828 "/usr/include/gentoo-multilib/x86/stdio.h" 3 4
999 # 1 "/usr/include/bits/stdio.h" 1 3 4
1000
1001
1002
1003 # 1 "/usr/include/gentoo-multilib/x86/bits/stdio.h" 1 3 4
1004 # 33 "/usr/include/gentoo-multilib/x86/bits/stdio.h" 3 4
1005 extern __inline int
1006 vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg)
1007 {
1008 return vfprintf (stdout, __fmt, __arg);
1009 }
1010
1011
1012 extern __inline int
1013 getchar (void)
1014 {
1015 return _IO_getc (stdin);
1016 }
1017
1018
1019
1020
1021 extern __inline int
1022 getc_unlocked (FILE *__fp)
1023 {
1024 return (__builtin_expect ((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end, 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
1025 }
1026
1027
1028 extern __inline int
1029 getchar_unlocked (void)
1030 {
1031 return (__builtin_expect ((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end, 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
1032 }
1033
1034
1035
1036
1037 extern __inline int
1038 putchar (int __c)
1039 {
1040 return _IO_putc (__c, stdout);
1041 }
1042
1043
1044
1045
1046 extern __inline int
1047 fputc_unlocked (int __c, FILE *__stream)
1048 {
1049 return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
1050 }
1051
1052
1053
1054
1055
1056 extern __inline int
1057 putc_unlocked (int __c, FILE *__stream)
1058 {
1059 return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
1060 }
1061
1062
1063 extern __inline int
1064 putchar_unlocked (int __c)
1065 {
1066 return (__builtin_expect ((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end, 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
1067 }
1068 # 111 "/usr/include/gentoo-multilib/x86/bits/stdio.h" 3 4
1069 extern __inline int
1070 __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream)
1071 {
1072 return (((__stream)->_flags & 0x10) != 0);
1073 }
1074
1075
1076 extern __inline int
1077 __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream)
1078 {
1079 return (((__stream)->_flags & 0x20) != 0);
1080 }
1081 # 5 "/usr/include/bits/stdio.h" 2 3 4
1082 # 829 "/usr/include/gentoo-multilib/x86/stdio.h" 2 3 4
1083
1084
1085
1086
1087
1088
1089 # 5 "/usr/include/stdio.h" 2 3 4
1090 # 24 "vartest.c" 2
1091 # 1 "/usr/include/math.h" 1 3 4
1092
1093
1094
1095 # 1 "/usr/include/gentoo-multilib/x86/math.h" 1 3 4
1096 # 27 "/usr/include/gentoo-multilib/x86/math.h" 3 4
1097 # 1 "/usr/include/features.h" 1 3 4
1098 # 28 "/usr/include/gentoo-multilib/x86/math.h" 2 3 4
1099
1100
1101
1102
1103
1104 # 1 "/usr/include/bits/huge_val.h" 1 3 4
1105
1106
1107
1108 # 1 "/usr/include/gentoo-multilib/x86/bits/huge_val.h" 1 3 4
1109 # 5 "/usr/include/bits/huge_val.h" 2 3 4
1110 # 34 "/usr/include/gentoo-multilib/x86/math.h" 2 3 4
1111 # 46 "/usr/include/gentoo-multilib/x86/math.h" 3 4
1112 # 1 "/usr/include/bits/mathdef.h" 1 3 4
1113
1114
1115
1116 # 1 "/usr/include/gentoo-multilib/x86/bits/mathdef.h" 1 3 4
1117 # 5 "/usr/include/bits/mathdef.h" 2 3 4
1118 # 47 "/usr/include/gentoo-multilib/x86/math.h" 2 3 4
1119 # 70 "/usr/include/gentoo-multilib/x86/math.h" 3 4
1120 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
1121
1122
1123
1124 # 1 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 1 3 4
1125 # 53 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1126
1127
1128 extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__));
1129
1130 extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__));
1131
1132 extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__));
1133
1134 extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__));
1135
1136
1137 extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__));
1138
1139 extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__));
1140
1141 extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__));
1142
1143
1144
1145
1146 extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__));
1147
1148 extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__));
1149
1150 extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__));
1151
1152 # 87 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1153
1154
1155 extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__));
1156
1157 extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__));
1158
1159 extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__));
1160
1161
1162
1163
1164
1165
1166
1167 extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__));
1168
1169
1170 extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__));
1171
1172
1173 extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__));
1174
1175
1176 extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__));
1177
1178
1179 extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__));
1180
1181
1182 extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__));
1183
1184 # 127 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1185
1186
1187 extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__));
1188
1189
1190 extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__));
1191
1192
1193 extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__));
1194
1195 # 152 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1196
1197
1198 extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__));
1199
1200
1201 extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__));
1202
1203
1204
1205
1206
1207 extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__));
1208
1209
1210
1211
1212
1213
1214 extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__));
1215
1216
1217
1218
1219
1220
1221
1222
1223 extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1224
1225
1226 extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1227
1228
1229 extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1230
1231
1232 extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__));
1233
1234
1235
1236
1237 extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1238
1239
1240 extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1241
1242
1243
1244
1245
1246 extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1247
1248
1249 extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1250
1251
1252 extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__));
1253
1254
1255
1256 extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__));
1257
1258
1259
1260
1261
1262 extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1263
1264 # 231 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1265 extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1266
1267
1268
1269 extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1270
1271
1272 extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__));
1273 extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__));
1274 extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__));
1275 extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__));
1276 extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__));
1277 extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__));
1278
1279
1280
1281
1282
1283
1284 extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__));
1285 extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__));
1286 extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__));
1287
1288 # 265 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1289 extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__));
1290
1291
1292
1293
1294
1295
1296 extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__));
1297
1298
1299
1300
1301
1302
1303
1304 extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__));
1305
1306
1307 extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1308
1309
1310
1311
1312
1313 extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__));
1314
1315
1316
1317 extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__));
1318
1319
1320
1321 extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__));
1322 # 5 "/usr/include/bits/mathcalls.h" 2 3 4
1323 # 71 "/usr/include/gentoo-multilib/x86/math.h" 2 3 4
1324 # 93 "/usr/include/gentoo-multilib/x86/math.h" 3 4
1325 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
1326
1327
1328
1329 # 1 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 1 3 4
1330 # 53 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1331
1332
1333 extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__));
1334
1335 extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__));
1336
1337 extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__));
1338
1339 extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__));
1340
1341
1342 extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__));
1343
1344 extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__));
1345
1346 extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__));
1347
1348
1349
1350
1351 extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__));
1352
1353 extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__));
1354
1355 extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__));
1356
1357 # 87 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1358
1359
1360 extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__));
1361
1362 extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__));
1363
1364 extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__));
1365
1366
1367
1368
1369
1370
1371
1372 extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__));
1373
1374
1375 extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__));
1376
1377
1378 extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__));
1379
1380
1381 extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__));
1382
1383
1384 extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__));
1385
1386
1387 extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__));
1388
1389 # 127 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1390
1391
1392 extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__));
1393
1394
1395 extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__));
1396
1397
1398 extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__));
1399
1400 # 152 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1401
1402
1403 extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__));
1404
1405
1406 extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__));
1407
1408
1409
1410
1411
1412 extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__));
1413
1414
1415
1416
1417
1418
1419 extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__));
1420
1421
1422
1423
1424
1425
1426
1427
1428 extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1429
1430
1431 extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1432
1433
1434 extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1435
1436
1437 extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__));
1438
1439
1440
1441
1442 extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1443
1444
1445 extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1446
1447
1448
1449
1450
1451 extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1452
1453
1454 extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1455
1456
1457 extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__));
1458
1459
1460
1461 extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__));
1462
1463
1464
1465
1466
1467 extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1468
1469 # 231 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1470 extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1471
1472
1473
1474 extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1475
1476
1477 extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__));
1478 extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__));
1479 extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__));
1480 extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__));
1481 extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__));
1482 extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__));
1483
1484
1485
1486
1487
1488
1489 extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__));
1490 extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__));
1491 extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__));
1492
1493 # 265 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1494 extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__));
1495
1496
1497
1498
1499
1500
1501 extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__));
1502
1503
1504
1505
1506
1507
1508
1509 extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__));
1510
1511
1512 extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1513
1514
1515
1516
1517
1518 extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__));
1519
1520
1521
1522 extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__));
1523
1524
1525
1526 extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__));
1527 # 5 "/usr/include/bits/mathcalls.h" 2 3 4
1528 # 94 "/usr/include/gentoo-multilib/x86/math.h" 2 3 4
1529 # 114 "/usr/include/gentoo-multilib/x86/math.h" 3 4
1530 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
1531
1532
1533
1534 # 1 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 1 3 4
1535 # 53 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1536
1537
1538 extern long double acosl (long double __x) __attribute__ ((__nothrow__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__));
1539
1540 extern long double asinl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__));
1541
1542 extern long double atanl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__));
1543
1544 extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__));
1545
1546
1547 extern long double cosl (long double __x) __attribute__ ((__nothrow__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__));
1548
1549 extern long double sinl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__));
1550
1551 extern long double tanl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__));
1552
1553
1554
1555
1556 extern long double coshl (long double __x) __attribute__ ((__nothrow__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__));
1557
1558 extern long double sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__));
1559
1560 extern long double tanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__));
1561
1562 # 87 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1563
1564
1565 extern long double acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__));
1566
1567 extern long double asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__));
1568
1569 extern long double atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__));
1570
1571
1572
1573
1574
1575
1576
1577 extern long double expl (long double __x) __attribute__ ((__nothrow__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__));
1578
1579
1580 extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__));
1581
1582
1583 extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__));
1584
1585
1586 extern long double logl (long double __x) __attribute__ ((__nothrow__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__));
1587
1588
1589 extern long double log10l (long double __x) __attribute__ ((__nothrow__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__));
1590
1591
1592 extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__));
1593
1594 # 127 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1595
1596
1597 extern long double expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__));
1598
1599
1600 extern long double log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__));
1601
1602
1603 extern long double logbl (long double __x) __attribute__ ((__nothrow__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__));
1604
1605 # 152 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1606
1607
1608 extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__));
1609
1610
1611 extern long double sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__));
1612
1613
1614
1615
1616
1617 extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__));
1618
1619
1620
1621
1622
1623
1624 extern long double cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__));
1625
1626
1627
1628
1629
1630
1631
1632
1633 extern long double ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1634
1635
1636 extern long double fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1637
1638
1639 extern long double floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1640
1641
1642 extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__));
1643
1644
1645
1646
1647 extern int __isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1648
1649
1650 extern int __finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1651
1652
1653
1654
1655
1656 extern int isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1657
1658
1659 extern int finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1660
1661
1662 extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__));
1663
1664
1665
1666 extern long double significandl (long double __x) __attribute__ ((__nothrow__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__));
1667
1668
1669
1670
1671
1672 extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1673
1674 # 231 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1675 extern int __isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1676
1677
1678
1679 extern int isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1680
1681
1682 extern long double j0l (long double) __attribute__ ((__nothrow__)); extern long double __j0l (long double) __attribute__ ((__nothrow__));
1683 extern long double j1l (long double) __attribute__ ((__nothrow__)); extern long double __j1l (long double) __attribute__ ((__nothrow__));
1684 extern long double jnl (int, long double) __attribute__ ((__nothrow__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__));
1685 extern long double y0l (long double) __attribute__ ((__nothrow__)); extern long double __y0l (long double) __attribute__ ((__nothrow__));
1686 extern long double y1l (long double) __attribute__ ((__nothrow__)); extern long double __y1l (long double) __attribute__ ((__nothrow__));
1687 extern long double ynl (int, long double) __attribute__ ((__nothrow__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__));
1688
1689
1690
1691
1692
1693
1694 extern long double erfl (long double) __attribute__ ((__nothrow__)); extern long double __erfl (long double) __attribute__ ((__nothrow__));
1695 extern long double erfcl (long double) __attribute__ ((__nothrow__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__));
1696 extern long double lgammal (long double) __attribute__ ((__nothrow__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__));
1697
1698 # 265 "/usr/include/gentoo-multilib/x86/bits/mathcalls.h" 3 4
1699 extern long double gammal (long double) __attribute__ ((__nothrow__)); extern long double __gammal (long double) __attribute__ ((__nothrow__));
1700
1701
1702
1703
1704
1705
1706 extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__));
1707
1708
1709
1710
1711
1712
1713
1714 extern long double rintl (long double __x) __attribute__ ((__nothrow__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__));
1715
1716
1717 extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1718
1719
1720
1721
1722
1723 extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__));
1724
1725
1726
1727 extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__));
1728
1729
1730
1731 extern int ilogbl (long double __x) __attribute__ ((__nothrow__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__));
1732 # 5 "/usr/include/bits/mathcalls.h" 2 3 4
1733 # 115 "/usr/include/gentoo-multilib/x86/math.h" 2 3 4
1734 # 130 "/usr/include/gentoo-multilib/x86/math.h" 3 4
1735 extern int signgam;
1736 # 257 "/usr/include/gentoo-multilib/x86/math.h" 3 4
1737 typedef enum
1738 {
1739 _IEEE_ = -1,
1740 _SVID_,
1741 _XOPEN_,
1742 _POSIX_,
1743 _ISOC_
1744 } _LIB_VERSION_TYPE;
1745
1746
1747
1748
1749 extern _LIB_VERSION_TYPE _LIB_VERSION;
1750 # 282 "/usr/include/gentoo-multilib/x86/math.h" 3 4
1751 struct exception
1752
1753 {
1754 int type;
1755 char *name;
1756 double arg1;
1757 double arg2;
1758 double retval;
1759 };
1760
1761
1762
1763
1764 extern int matherr (struct exception *__exc);
1765 # 382 "/usr/include/gentoo-multilib/x86/math.h" 3 4
1766 # 1 "/usr/include/bits/mathinline.h" 1 3 4
1767
1768
1769
1770 # 1 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 1 3 4
1771 # 291 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 3 4
1772 extern __inline double __sgn (double) __attribute__ ((__nothrow__)); extern __inline double __attribute__ ((__nothrow__)) __sgn (double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline float __sgnf (float) __attribute__ ((__nothrow__)); extern __inline float __attribute__ ((__nothrow__)) __sgnf (float __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline long double __sgnl (long double) __attribute__ ((__nothrow__)); extern __inline long double __attribute__ ((__nothrow__)) __sgnl (long double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); }
1773 # 433 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 3 4
1774 extern __inline long double __attribute__ ((__nothrow__)) __atan2l (long double __y, long double __x) { return __builtin_atan2l (__y, __x); }
1775 # 473 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 3 4
1776 extern __inline double __attribute__ ((__nothrow__)) fabs (double __x) { return __builtin_fabs (__x); }
1777
1778 extern __inline float __attribute__ ((__nothrow__)) fabsf (float __x) { return __builtin_fabsf (__x); }
1779 extern __inline long double __attribute__ ((__nothrow__)) fabsl (long double __x) { return __builtin_fabsl (__x); }
1780
1781 extern __inline long double __attribute__ ((__nothrow__)) __fabsl (long double __x) { return __builtin_fabsl (__x); }
1782 # 506 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 3 4
1783 extern __inline long double __sgn1l (long double) __attribute__ ((__nothrow__)); extern __inline long double __attribute__ ((__nothrow__)) __sgn1l (long double __x) { __extension__ union { long double __xld; unsigned int __xi[3]; } __n = { __xld: __x }; __n.__xi[2] = (__n.__xi[2] & 0x8000) | 0x3fff; __n.__xi[1] = 0x80000000; __n.__xi[0] = 0; return __n.__xld; }
1784 # 530 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 3 4
1785 extern __inline double __attribute__ ((__nothrow__)) floor (double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline float __attribute__ ((__nothrow__)) floorf (float __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline long double __attribute__ ((__nothrow__)) floorl (long double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; }
1786 # 541 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 3 4
1787 extern __inline double __attribute__ ((__nothrow__)) ceil (double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline float __attribute__ ((__nothrow__)) ceilf (float __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline long double __attribute__ ((__nothrow__)) ceill (long double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; }
1788 # 713 "/usr/include/gentoo-multilib/x86/bits/mathinline.h" 3 4
1789 extern __inline int
1790 __attribute__ ((__nothrow__)) __finite (double __x)
1791 {
1792 return (__extension__
1793 (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1]
1794 | 0x800fffffu) + 1) >> 31));
1795 }
1796 # 5 "/usr/include/bits/mathinline.h" 2 3 4
1797 # 383 "/usr/include/gentoo-multilib/x86/math.h" 2 3 4
1798 # 438 "/usr/include/gentoo-multilib/x86/math.h" 3 4
1799
1800 # 5 "/usr/include/math.h" 2 3 4
1801 # 25 "vartest.c" 2
1802 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/float.h" 1 3 4
1803 # 26 "vartest.c" 2
1804 # 1 "/usr/include/time.h" 1 3 4
1805
1806
1807
1808 # 1 "/usr/include/gentoo-multilib/x86/time.h" 1 3 4
1809 # 28 "/usr/include/gentoo-multilib/x86/time.h" 3 4
1810 # 1 "/usr/include/features.h" 1 3 4
1811 # 29 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
1822 # 39 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4
1823
1824
1825
1826 # 1 "/usr/include/bits/time.h" 1 3 4
1827
1828
1829
1830 # 1 "/usr/include/gentoo-multilib/x86/bits/time.h" 1 3 4
1831 # 39 "/usr/include/gentoo-multilib/x86/bits/time.h" 3 4
1832 # 1 "/usr/include/bits/types.h" 1 3 4
1833 # 40 "/usr/include/gentoo-multilib/x86/bits/time.h" 2 3 4
1834 extern long int __sysconf (int);
1835 # 5 "/usr/include/bits/time.h" 2 3 4
1836 # 43 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4
1837 # 56 "/usr/include/gentoo-multilib/x86/time.h" 3 4
1838 # 1 "/usr/include/bits/types.h" 1 3 4
1839 # 57 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4
1840
1841
1842
1843 typedef __clock_t clock_t;
1844
1845
1846
1847 # 72 "/usr/include/gentoo-multilib/x86/time.h" 3 4
1848 # 1 "/usr/include/bits/types.h" 1 3 4
1849 # 73 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4
1850
1851
1852
1853 typedef __time_t time_t;
1854
1855
1856
1857 # 89 "/usr/include/gentoo-multilib/x86/time.h" 3 4
1858 # 1 "/usr/include/bits/types.h" 1 3 4
1859 # 90 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4
1860
1861
1862 typedef __clockid_t clockid_t;
1863 # 101 "/usr/include/gentoo-multilib/x86/time.h" 3 4
1864 # 1 "/usr/include/bits/types.h" 1 3 4
1865 # 102 "/usr/include/gentoo-multilib/x86/time.h" 2 3 4
1866
1867
1868 typedef __timer_t timer_t;
1869 # 118 "/usr/include/gentoo-multilib/x86/time.h" 3 4
1870 struct timespec
1871 {
1872 __time_t tv_sec;
1873 long int tv_nsec;
1874 };
1875
1876
1877
1878
1879
1880
1881
1882
1883 struct tm
1884 {
1885 int tm_sec;
1886 int tm_min;
1887 int tm_hour;
1888 int tm_mday;
1889 int tm_mon;
1890 int tm_year;
1891 int tm_wday;
1892 int tm_yday;
1893 int tm_isdst;
1894
1895
1896 long int tm_gmtoff;
1897 __const char *tm_zone;
1898
1899
1900
1901
1902 };
1903
1904
1905
1906
1907
1908
1909
1910
1911 struct itimerspec
1912 {
1913 struct timespec it_interval;
1914 struct timespec it_value;
1915 };
1916
1917
1918 struct sigevent;
1919 # 178 "/usr/include/gentoo-multilib/x86/time.h" 3 4
1920
1921
1922
1923 extern clock_t clock (void) __attribute__ ((__nothrow__));
1924
1925
1926 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
1927
1928
1929 extern double difftime (time_t __time1, time_t __time0)
1930 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1931
1932
1933 extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
1934
1935
1936
1937
1938
1939 extern size_t strftime (char *__restrict __s, size_t __maxsize,
1940 __const char *__restrict __format,
1941 __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
1942
1943 # 226 "/usr/include/gentoo-multilib/x86/time.h" 3 4
1944
1945
1946
1947 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
1948
1949
1950
1951 extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
1952
1953
1954
1955
1956
1957 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
1958 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
1959
1960
1961
1962 extern struct tm *localtime_r (__const time_t *__restrict __timer,
1963 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
1964
1965
1966
1967
1968
1969 extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
1970
1971
1972 extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
1973
1974
1975
1976
1977
1978
1979
1980 extern char *asctime_r (__const struct tm *__restrict __tp,
1981 char *__restrict __buf) __attribute__ ((__nothrow__));
1982
1983
1984 extern char *ctime_r (__const time_t *__restrict __timer,
1985 char *__restrict __buf) __attribute__ ((__nothrow__));
1986
1987
1988
1989
1990 extern char *__tzname[2];
1991 extern int __daylight;
1992 extern long int __timezone;
1993
1994
1995
1996
1997 extern char *tzname[2];
1998
1999
2000
2001 extern void tzset (void) __attribute__ ((__nothrow__));
2002
2003
2004
2005 extern int daylight;
2006 extern long int timezone;
2007
2008
2009
2010
2011
2012 extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
2013 # 309 "/usr/include/gentoo-multilib/x86/time.h" 3 4
2014 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
2015
2016
2017 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
2018
2019
2020 extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2021 # 324 "/usr/include/gentoo-multilib/x86/time.h" 3 4
2022 extern int nanosleep (__const struct timespec *__requested_time,
2023 struct timespec *__remaining);
2024
2025
2026
2027 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
2028
2029
2030 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
2031
2032
2033 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
2034 __attribute__ ((__nothrow__));
2035 # 353 "/usr/include/gentoo-multilib/x86/time.h" 3 4
2036 extern int timer_create (clockid_t __clock_id,
2037 struct sigevent *__restrict __evp,
2038 timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
2039
2040
2041 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
2042
2043
2044 extern int timer_settime (timer_t __timerid, int __flags,
2045 __const struct itimerspec *__restrict __value,
2046 struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
2047
2048
2049 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
2050 __attribute__ ((__nothrow__));
2051
2052
2053 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
2054 # 413 "/usr/include/gentoo-multilib/x86/time.h" 3 4
2055
2056 # 5 "/usr/include/time.h" 2 3 4
2057 # 27 "vartest.c" 2
2058
2059 # 1 "../../../include/windef.h" 1
2060 # 188 "../../../include/windef.h"
2061 typedef void *LPVOID;
2062 typedef const void *LPCVOID;
2063 typedef int BOOL, *PBOOL, *LPBOOL;
2064 typedef unsigned char BYTE, *PBYTE, *LPBYTE;
2065 typedef unsigned char UCHAR, *PUCHAR;
2066 typedef unsigned short WORD, *PWORD, *LPWORD;
2067 typedef unsigned short USHORT, *PUSHORT;
2068 typedef int INT, *PINT, *LPINT;
2069 typedef unsigned int UINT, *PUINT;
2070 typedef float FLOAT, *PFLOAT;
2071 typedef char *PSZ;
2072
2073
2074
2075
2076
2077 typedef long *LPLONG;
2078 typedef unsigned long DWORD, *PDWORD, *LPDWORD;
2079 typedef unsigned long ULONG, *PULONG;
2080 # 234 "../../../include/windef.h"
2081 # 1 "../../../include/winnt.h" 1
2082 # 24 "../../../include/winnt.h"
2083 # 1 "../../../include/basetsd.h" 1
2084 # 81 "../../../include/basetsd.h"
2085 typedef signed char INT8, *PINT8;
2086 typedef signed short INT16, *PINT16;
2087 typedef signed int INT32, *PINT32;
2088 typedef unsigned char UINT8, *PUINT8;
2089 typedef unsigned short UINT16, *PUINT16;
2090 typedef unsigned int UINT32, *PUINT32;
2091 typedef signed int LONG32, *PLONG32;
2092 typedef unsigned int ULONG32, *PULONG32;
2093 typedef unsigned int DWORD32, *PDWORD32;
2094 # 98 "../../../include/basetsd.h"
2095 typedef signed long long __attribute__((aligned(8))) INT64, *PINT64;
2096 typedef unsigned long long __attribute__((aligned(8))) UINT64, *PUINT64;
2097 typedef signed long long __attribute__((aligned(8))) LONG64, *PLONG64;
2098 typedef unsigned long long __attribute__((aligned(8))) ULONG64, *PULONG64;
2099 typedef unsigned long long __attribute__((aligned(8))) DWORD64, *PDWORD64;
2100 # 128 "../../../include/basetsd.h"
2101 typedef int INT_PTR, *PINT_PTR;
2102 typedef long LONG_PTR, *PLONG_PTR;
2103 typedef unsigned int UINT_PTR, *PUINT_PTR;
2104 typedef unsigned long ULONG_PTR, *PULONG_PTR;
2105 typedef ULONG_PTR DWORD_PTR, *PDWORD_PTR;
2106
2107
2108
2109
2110
2111 typedef signed short HALF_PTR, *PHALF_PTR;
2112 typedef unsigned short UHALF_PTR, *PUHALF_PTR;
2113
2114
2115
2116
2117
2118
2119
2120 typedef LONG_PTR SSIZE_T, *PSSIZE_T;
2121 typedef ULONG_PTR SIZE_T, *PSIZE_T;
2122
2123 typedef ULONG_PTR KAFFINITY, *PKAFFINITY;
2124 # 25 "../../../include/winnt.h" 2
2125
2126
2127 # 1 "/usr/include/ctype.h" 1 3 4
2128
2129
2130
2131 # 1 "/usr/include/gentoo-multilib/x86/ctype.h" 1 3 4
2132 # 27 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4
2133 # 1 "/usr/include/features.h" 1 3 4
2134 # 28 "/usr/include/gentoo-multilib/x86/ctype.h" 2 3 4
2135 # 1 "/usr/include/bits/types.h" 1 3 4
2136 # 29 "/usr/include/gentoo-multilib/x86/ctype.h" 2 3 4
2137
2138
2139 # 41 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4
2140 # 1 "/usr/include/endian.h" 1 3 4
2141
2142
2143
2144 # 1 "/usr/include/gentoo-multilib/x86/endian.h" 1 3 4
2145 # 22 "/usr/include/gentoo-multilib/x86/endian.h" 3 4
2146 # 1 "/usr/include/features.h" 1 3 4
2147 # 23 "/usr/include/gentoo-multilib/x86/endian.h" 2 3 4
2148 # 37 "/usr/include/gentoo-multilib/x86/endian.h" 3 4
2149 # 1 "/usr/include/bits/endian.h" 1 3 4
2150
2151
2152
2153 # 1 "/usr/include/gentoo-multilib/x86/bits/endian.h" 1 3 4
2154 # 5 "/usr/include/bits/endian.h" 2 3 4
2155 # 38 "/usr/include/gentoo-multilib/x86/endian.h" 2 3 4
2156 # 5 "/usr/include/endian.h" 2 3 4
2157 # 42 "/usr/include/gentoo-multilib/x86/ctype.h" 2 3 4
2158
2159
2160
2161
2162
2163
2164 enum
2165 {
2166 _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)),
2167 _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)),
2168 _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)),
2169 _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)),
2170 _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)),
2171 _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)),
2172 _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)),
2173 _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)),
2174 _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)),
2175 _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)),
2176 _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)),
2177 _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8))
2178 };
2179 # 81 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4
2180 extern __const unsigned short int **__ctype_b_loc (void)
2181 __attribute__ ((__const));
2182 extern __const __int32_t **__ctype_tolower_loc (void)
2183 __attribute__ ((__const));
2184 extern __const __int32_t **__ctype_toupper_loc (void)
2185 __attribute__ ((__const));
2186 # 96 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4
2187
2188
2189
2190
2191
2192
2193 extern int isalnum (int) __attribute__ ((__nothrow__));
2194 extern int isalpha (int) __attribute__ ((__nothrow__));
2195 extern int iscntrl (int) __attribute__ ((__nothrow__));
2196 extern int isdigit (int) __attribute__ ((__nothrow__));
2197 extern int islower (int) __attribute__ ((__nothrow__));
2198 extern int isgraph (int) __attribute__ ((__nothrow__));
2199 extern int isprint (int) __attribute__ ((__nothrow__));
2200 extern int ispunct (int) __attribute__ ((__nothrow__));
2201 extern int isspace (int) __attribute__ ((__nothrow__));
2202 extern int isupper (int) __attribute__ ((__nothrow__));
2203 extern int isxdigit (int) __attribute__ ((__nothrow__));
2204
2205
2206
2207 extern int tolower (int __c) __attribute__ ((__nothrow__));
2208
2209
2210 extern int toupper (int __c) __attribute__ ((__nothrow__));
2211
2212
2213 # 142 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4
2214 extern int isascii (int __c) __attribute__ ((__nothrow__));
2215
2216
2217
2218 extern int toascii (int __c) __attribute__ ((__nothrow__));
2219
2220
2221
2222 extern int _toupper (int) __attribute__ ((__nothrow__));
2223 extern int _tolower (int) __attribute__ ((__nothrow__));
2224 # 190 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4
2225 extern __inline int
2226 __attribute__ ((__nothrow__)) tolower (int __c)
2227 {
2228 return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c;
2229 }
2230
2231 extern __inline int
2232 __attribute__ ((__nothrow__)) toupper (int __c)
2233 {
2234 return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c;
2235 }
2236 # 323 "/usr/include/gentoo-multilib/x86/ctype.h" 3 4
2237
2238 # 5 "/usr/include/ctype.h" 2 3 4
2239 # 28 "../../../include/winnt.h" 2
2240 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
2241 # 152 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 3 4
2242 typedef int ptrdiff_t;
2243 # 29 "../../../include/winnt.h" 2
2244 # 1 "/usr/include/string.h" 1 3 4
2245
2246
2247
2248 # 1 "/usr/include/gentoo-multilib/x86/string.h" 1 3 4
2249 # 26 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2250 # 1 "/usr/include/features.h" 1 3 4
2251 # 27 "/usr/include/gentoo-multilib/x86/string.h" 2 3 4
2252
2253
2254
2255
2256
2257
2258 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
2259 # 34 "/usr/include/gentoo-multilib/x86/string.h" 2 3 4
2260
2261
2262
2263
2264 extern void *memcpy (void *__restrict __dest,
2265 __const void *__restrict __src, size_t __n)
2266 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2267
2268
2269 extern void *memmove (void *__dest, __const void *__src, size_t __n)
2270 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2271
2272
2273
2274
2275
2276
2277 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
2278 int __c, size_t __n)
2279 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2280
2281
2282
2283
2284
2285 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2286
2287
2288 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
2289 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2290
2291
2292 extern void *memchr (__const void *__s, int __c, size_t __n)
2293 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2294
2295 # 82 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2296
2297
2298 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
2299 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2300
2301 extern char *strncpy (char *__restrict __dest,
2302 __const char *__restrict __src, size_t __n)
2303 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2304
2305
2306 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
2307 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2308
2309 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
2310 size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2311
2312
2313 extern int strcmp (__const char *__s1, __const char *__s2)
2314 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2315
2316 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
2317 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2318
2319
2320 extern int strcoll (__const char *__s1, __const char *__s2)
2321 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2322
2323 extern size_t strxfrm (char *__restrict __dest,
2324 __const char *__restrict __src, size_t __n)
2325 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2326
2327 # 130 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2328 extern char *strdup (__const char *__s)
2329 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
2330 # 165 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2331
2332
2333 extern char *strchr (__const char *__s, int __c)
2334 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2335
2336 extern char *strrchr (__const char *__s, int __c)
2337 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2338
2339 # 181 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2340
2341
2342
2343 extern size_t strcspn (__const char *__s, __const char *__reject)
2344 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2345
2346
2347 extern size_t strspn (__const char *__s, __const char *__accept)
2348 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2349
2350 extern char *strpbrk (__const char *__s, __const char *__accept)
2351 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2352
2353 extern char *strstr (__const char *__haystack, __const char *__needle)
2354 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2355
2356
2357
2358 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
2359 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2360
2361
2362
2363
2364 extern char *__strtok_r (char *__restrict __s,
2365 __const char *__restrict __delim,
2366 char **__restrict __save_ptr)
2367 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
2368
2369 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
2370 char **__restrict __save_ptr)
2371 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
2372 # 240 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2373
2374
2375 extern size_t strlen (__const char *__s)
2376 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2377
2378 # 254 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2379
2380
2381 extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
2382
2383 # 281 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2384 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
2385 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2386
2387
2388
2389
2390
2391 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2392
2393
2394
2395 extern void bcopy (__const void *__src, void *__dest, size_t __n)
2396 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2397
2398
2399 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2400
2401
2402 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
2403 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2404
2405
2406 extern char *index (__const char *__s, int __c)
2407 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2408
2409
2410 extern char *rindex (__const char *__s, int __c)
2411 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2412
2413
2414
2415 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2416 # 325 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2417 extern int strcasecmp (__const char *__s1, __const char *__s2)
2418 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2419
2420
2421 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
2422 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
2423 # 348 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2424 extern char *strsep (char **__restrict __stringp,
2425 __const char *__restrict __delim)
2426 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2427 # 414 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2428 # 1 "/usr/include/bits/string.h" 1 3 4
2429
2430
2431
2432 # 1 "/usr/include/gentoo-multilib/x86/bits/string.h" 1 3 4
2433 # 5 "/usr/include/bits/string.h" 2 3 4
2434 # 415 "/usr/include/gentoo-multilib/x86/string.h" 2 3 4
2435
2436
2437 # 1 "/usr/include/bits/string2.h" 1 3 4
2438
2439
2440
2441 # 1 "/usr/include/gentoo-multilib/x86/bits/string2.h" 1 3 4
2442 # 52 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2443 # 1 "/usr/include/endian.h" 1 3 4
2444 # 53 "/usr/include/gentoo-multilib/x86/bits/string2.h" 2 3 4
2445 # 1 "/usr/include/bits/types.h" 1 3 4
2446 # 54 "/usr/include/gentoo-multilib/x86/bits/string2.h" 2 3 4
2447 # 394 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2448 extern void *__rawmemchr (const void *__s, int __c);
2449 # 969 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2450 extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
2451 extern __inline size_t
2452 __strcspn_c1 (__const char *__s, int __reject)
2453 {
2454 register size_t __result = 0;
2455 while (__s[__result] != '\0' && __s[__result] != __reject)
2456 ++__result;
2457 return __result;
2458 }
2459
2460 extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
2461 int __reject2);
2462 extern __inline size_t
2463 __strcspn_c2 (__const char *__s, int __reject1, int __reject2)
2464 {
2465 register size_t __result = 0;
2466 while (__s[__result] != '\0' && __s[__result] != __reject1
2467 && __s[__result] != __reject2)
2468 ++__result;
2469 return __result;
2470 }
2471
2472 extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
2473 int __reject2, int __reject3);
2474 extern __inline size_t
2475 __strcspn_c3 (__const char *__s, int __reject1, int __reject2,
2476 int __reject3)
2477 {
2478 register size_t __result = 0;
2479 while (__s[__result] != '\0' && __s[__result] != __reject1
2480 && __s[__result] != __reject2 && __s[__result] != __reject3)
2481 ++__result;
2482 return __result;
2483 }
2484 # 1045 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2485 extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
2486 extern __inline size_t
2487 __strspn_c1 (__const char *__s, int __accept)
2488 {
2489 register size_t __result = 0;
2490
2491 while (__s[__result] == __accept)
2492 ++__result;
2493 return __result;
2494 }
2495
2496 extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
2497 int __accept2);
2498 extern __inline size_t
2499 __strspn_c2 (__const char *__s, int __accept1, int __accept2)
2500 {
2501 register size_t __result = 0;
2502
2503 while (__s[__result] == __accept1 || __s[__result] == __accept2)
2504 ++__result;
2505 return __result;
2506 }
2507
2508 extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
2509 int __accept2, int __accept3);
2510 extern __inline size_t
2511 __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
2512 {
2513 register size_t __result = 0;
2514
2515 while (__s[__result] == __accept1 || __s[__result] == __accept2
2516 || __s[__result] == __accept3)
2517 ++__result;
2518 return __result;
2519 }
2520 # 1121 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2521 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
2522 int __accept2);
2523 extern __inline char *
2524 __strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
2525 {
2526
2527 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
2528 ++__s;
2529 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
2530 }
2531
2532 extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
2533 int __accept2, int __accept3);
2534 extern __inline char *
2535 __strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
2536 int __accept3)
2537 {
2538
2539 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
2540 && *__s != __accept3)
2541 ++__s;
2542 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
2543 }
2544 # 1173 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2545 extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
2546 extern __inline char *
2547 __strtok_r_1c (char *__s, char __sep, char **__nextp)
2548 {
2549 char *__result;
2550 if (__s == ((void *)0))
2551 __s = *__nextp;
2552 while (*__s == __sep)
2553 ++__s;
2554 __result = ((void *)0);
2555 if (*__s != '\0')
2556 {
2557 __result = __s++;
2558 while (*__s != '\0')
2559 if (*__s++ == __sep)
2560 {
2561 __s[-1] = '\0';
2562 break;
2563 }
2564 *__nextp = __s;
2565 }
2566 return __result;
2567 }
2568 # 1205 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2569 extern char *__strsep_g (char **__stringp, __const char *__delim);
2570 # 1223 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2571 extern __inline char *__strsep_1c (char **__s, char __reject);
2572 extern __inline char *
2573 __strsep_1c (char **__s, char __reject)
2574 {
2575 register char *__retval = *__s;
2576 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))
2577 *(*__s)++ = '\0';
2578 return __retval;
2579 }
2580
2581 extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
2582 extern __inline char *
2583 __strsep_2c (char **__s, char __reject1, char __reject2)
2584 {
2585 register char *__retval = *__s;
2586 if (__retval != ((void *)0))
2587 {
2588 register char *__cp = __retval;
2589 while (1)
2590 {
2591 if (*__cp == '\0')
2592 {
2593 __cp = ((void *)0);
2594 break;
2595 }
2596 if (*__cp == __reject1 || *__cp == __reject2)
2597 {
2598 *__cp++ = '\0';
2599 break;
2600 }
2601 ++__cp;
2602 }
2603 *__s = __cp;
2604 }
2605 return __retval;
2606 }
2607
2608 extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
2609 char __reject3);
2610 extern __inline char *
2611 __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
2612 {
2613 register char *__retval = *__s;
2614 if (__retval != ((void *)0))
2615 {
2616 register char *__cp = __retval;
2617 while (1)
2618 {
2619 if (*__cp == '\0')
2620 {
2621 __cp = ((void *)0);
2622 break;
2623 }
2624 if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
2625 {
2626 *__cp++ = '\0';
2627 break;
2628 }
2629 ++__cp;
2630 }
2631 *__s = __cp;
2632 }
2633 return __retval;
2634 }
2635 # 1299 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2636 # 1 "/usr/include/stdlib.h" 1 3 4
2637
2638
2639
2640 # 1 "/usr/include/gentoo-multilib/x86/stdlib.h" 1 3 4
2641 # 25 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
2642 # 1 "/usr/include/features.h" 1 3 4
2643 # 26 "/usr/include/gentoo-multilib/x86/stdlib.h" 2 3 4
2644
2645
2646
2647
2648
2649
2650
2651 # 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/stddef.h" 1 3 4
2652 # 34 "/usr/include/gentoo-multilib/x86/stdlib.h" 2 3 4
2653
2654
2655 # 582 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
2656
2657
2658 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
2659
2660 extern void *calloc (size_t __nmemb, size_t __size)
2661 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
2662
2663 # 961 "/usr/include/gentoo-multilib/x86/stdlib.h" 3 4
2664
2665 # 5 "/usr/include/stdlib.h" 2 3 4
2666 # 1300 "/usr/include/gentoo-multilib/x86/bits/string2.h" 2 3 4
2667
2668
2669
2670
2671 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
2672 # 1323 "/usr/include/gentoo-multilib/x86/bits/string2.h" 3 4
2673 extern char *__strndup (__const char *__string, size_t __n)
2674 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
2675 # 5 "/usr/include/bits/string2.h" 2 3 4
2676 # 418 "/usr/include/gentoo-multilib/x86/string.h" 2 3 4
2677 # 426 "/usr/include/gentoo-multilib/x86/string.h" 3 4
2678
2679 # 5 "/usr/include/string.h" 2 3 4
2680 # 30 "../../../include/winnt.h" 2
2681 # 316 "../../../include/winnt.h"
2682 typedef void *PVOID;
2683 typedef void *PVOID64;
2684 typedef BYTE BOOLEAN, *PBOOLEAN;
2685 typedef char CHAR, *PCHAR;
2686 typedef short SHORT, *PSHORT;
2687
2688
2689
2690 typedef long LONG, *PLONG;
2691
2692
2693
2694
2695
2696
2697 typedef unsigned short WCHAR, *PWCHAR;
2698 # 341 "../../../include/winnt.h"
2699 typedef signed long long __attribute__((aligned(8))) LONGLONG, *PLONGLONG;
2700 typedef unsigned long long __attribute__((aligned(8))) ULONGLONG, *PULONGLONG;
2701 # 351 "../../../include/winnt.h"
2702 typedef ULONGLONG __attribute__((aligned(8))) DWORDLONG, *PDWORDLONG;
2703
2704
2705
2706
2707 typedef CHAR *PCH, *LPCH;
2708 typedef const CHAR *PCCH, *LPCCH;
2709 typedef CHAR *PSTR, *LPSTR, *NPSTR;
2710 typedef const CHAR *PCSTR, *LPCSTR;
2711
2712
2713 typedef WCHAR *PWCH, *LPWCH;
2714 typedef const WCHAR *PCWCH, *LPCWCH;
2715 typedef WCHAR *PWSTR, *LPWSTR, *NWPSTR;
2716 typedef const WCHAR *PCWSTR, *LPCWSTR;
2717 # 383 "../../../include/winnt.h"
2718 typedef CHAR TCHAR, *PTCHAR;
2719
2720
2721 typedef LPSTR PTSTR, LPTSTR;
2722 typedef LPCSTR PCTSTR, LPCTSTR;
2723
2724
2725
2726
2727
2728
2729 typedef char CCHAR;
2730 typedef LONG HRESULT;
2731 typedef DWORD LCID, *PLCID;
2732 typedef WORD LANGID;
2733 typedef DWORD EXECUTION_STATE;
2734
2735
2736
2737 typedef void *HANDLE;
2738 typedef HANDLE *PHANDLE, *LPHANDLE;
2739
2740
2741
2742
2743
2744
2745
2746 typedef BYTE FCHAR;
2747 typedef WORD FSHORT;
2748 typedef DWORD FLONG;
2749 # 517 "../../../include/winnt.h"
2750 typedef struct _MEMORY_BASIC_INFORMATION
2751 {
2752 LPVOID BaseAddress;
2753 LPVOID AllocationBase;
2754 DWORD AllocationProtect;
2755 SIZE_T RegionSize;
2756 DWORD State;
2757 DWORD Protect;
2758 DWORD Type;
2759 } MEMORY_BASIC_INFORMATION, *PMEMORY_BASIC_INFORMATION;
2760 # 579 "../../../include/winnt.h"
2761 typedef struct _LIST_ENTRY {
2762 struct _LIST_ENTRY *Flink;
2763 struct _LIST_ENTRY *Blink;
2764 } LIST_ENTRY, *PLIST_ENTRY, * PRLIST_ENTRY;
2765
2766 typedef struct _SINGLE_LIST_ENTRY {
2767 struct _SINGLE_LIST_ENTRY *Next;
2768 } SINGLE_LIST_ENTRY, *PSINGLE_LIST_ENTRY;
2769 # 639 "../../../include/winnt.h"
2770 typedef struct _FLOATING_SAVE_AREA
2771 {
2772 DWORD ControlWord;
2773 DWORD StatusWord;
2774 DWORD TagWord;
2775 DWORD ErrorOffset;
2776 DWORD ErrorSelector;
2777 DWORD DataOffset;
2778 DWORD DataSelector;
2779 BYTE RegisterArea[80];
2780 DWORD Cr0NpxState;
2781 } FLOATING_SAVE_AREA, *PFLOATING_SAVE_AREA;
2782
2783
2784
2785 typedef struct _CONTEXT86
2786 {
2787 DWORD ContextFlags;
2788
2789
2790 DWORD Dr0;
2791 DWORD Dr1;
2792 DWORD Dr2;
2793 DWORD Dr3;
2794 DWORD Dr6;
2795 DWORD Dr7;
2796
2797
2798 FLOATING_SAVE_AREA FloatSave;
2799
2800
2801 DWORD SegGs;
2802 DWORD SegFs;
2803 DWORD SegEs;
2804 DWORD SegDs;
2805
2806
2807 DWORD Edi;
2808 DWORD Esi;
2809 DWORD Ebx;
2810 DWORD Edx;
2811 DWORD Ecx;
2812 DWORD Eax;
2813
2814
2815 DWORD Ebp;
2816 DWORD Eip;
2817 DWORD SegCs;
2818 DWORD EFlags;
2819 DWORD Esp;
2820 DWORD SegSs;
2821
2822 BYTE ExtendedRegisters[512];
2823 } CONTEXT86;
2824 # 715 "../../../include/winnt.h"
2825 typedef CONTEXT86 CONTEXT;
2826
2827
2828
2829 typedef struct _LDT_ENTRY {
2830 WORD LimitLow;
2831 WORD BaseLow;
2832 union {
2833 struct {
2834 BYTE BaseMid;
2835 BYTE Flags1;
2836 BYTE Flags2;
2837 BYTE BaseHi;
2838 } Bytes;
2839 struct {
2840 unsigned BaseMid: 8;
2841 unsigned Type : 5;
2842 unsigned Dpl : 2;
2843 unsigned Pres : 1;
2844 unsigned LimitHi : 4;
2845 unsigned Sys : 1;
2846 unsigned Reserved_0 : 1;
2847 unsigned Default_Big : 1;
2848 unsigned Granularity : 1;
2849 unsigned BaseHi : 8;
2850 } Bits;
2851 } HighWord;
2852 } LDT_ENTRY, *PLDT_ENTRY;
2853 # 1326 "../../../include/winnt.h"
2854 typedef CONTEXT *PCONTEXT;
2855 # 1813 "../../../include/winnt.h"
2856 typedef struct _EXCEPTION_RECORD
2857 {
2858 DWORD ExceptionCode;
2859 DWORD ExceptionFlags;
2860 struct _EXCEPTION_RECORD *ExceptionRecord;
2861
2862 PVOID ExceptionAddress;
2863 DWORD NumberParameters;
2864 ULONG_PTR ExceptionInformation[15];
2865 } EXCEPTION_RECORD, *PEXCEPTION_RECORD;
2866
2867
2868
2869
2870
2871
2872 typedef struct _EXCEPTION_POINTERS
2873 {
2874 PEXCEPTION_RECORD ExceptionRecord;
2875 PCONTEXT ContextRecord;
2876 } EXCEPTION_POINTERS, *PEXCEPTION_POINTERS;
2877 # 1842 "../../../include/winnt.h"
2878 struct _EXCEPTION_REGISTRATION_RECORD;
2879
2880 typedef DWORD (*PEXCEPTION_HANDLER)(PEXCEPTION_RECORD,struct _EXCEPTION_REGISTRATION_RECORD*,
2881 PCONTEXT,struct _EXCEPTION_REGISTRATION_RECORD **);
2882
2883 typedef struct _EXCEPTION_REGISTRATION_RECORD
2884 {
2885 struct _EXCEPTION_REGISTRATION_RECORD *Prev;
2886 PEXCEPTION_HANDLER Handler;
2887 } EXCEPTION_REGISTRATION_RECORD;
2888
2889
2890
2891
2892
2893 typedef LONG (__attribute__((__stdcall__)) *PVECTORED_EXCEPTION_HANDLER)(PEXCEPTION_POINTERS ExceptionInfo);
2894 typedef LONG (__attribute__((__stdcall__)) *PTOP_LEVEL_EXCEPTION_FILTER)(PEXCEPTION_POINTERS ExceptionInfo);
2895 typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER;
2896
2897 DWORD __attribute__((__stdcall__)) UnhandledExceptionFilter( PEXCEPTION_POINTERS epointers );
2898 LPTOP_LEVEL_EXCEPTION_FILTER
2899 __attribute__((__stdcall__)) SetUnhandledExceptionFilter( LPTOP_LEVEL_EXCEPTION_FILTER filter );
2900
2901 typedef struct _NT_TIB
2902 {
2903 struct _EXCEPTION_REGISTRATION_RECORD *ExceptionList;
2904 PVOID StackBase;
2905 PVOID StackLimit;
2906 PVOID SubSystemTib;
2907 union {
2908 PVOID FiberData;
2909 DWORD Version;
2910 } ;
2911 PVOID ArbitraryUserPointer;
2912 struct _NT_TIB *Self;
2913 } NT_TIB, *PNT_TIB;
2914
2915 struct _TEB;
2916
2917
2918 extern inline struct _TEB * __attribute__((__stdcall__)) NtCurrentTeb(void);
2919 extern inline struct _TEB * __attribute__((__stdcall__)) NtCurrentTeb(void)
2920 {
2921 struct _TEB *teb;
2922 __asm__(".byte 0x64\n\tmovl (0x18),%0" : "=r" (teb));
2923 return teb;
2924 }
2925 # 1914 "../../../include/winnt.h"
2926 # 1 "../../../include/pshpack2.h" 1
2927 # 105 "../../../include/pshpack2.h"
2928 #pragma pack(2)
2929 # 1915 "../../../include/winnt.h" 2
2930 typedef struct _IMAGE_DOS_HEADER {
2931 WORD e_magic;
2932 WORD e_cblp;
2933 WORD e_cp;
2934 WORD e_crlc;
2935 WORD e_cparhdr;
2936 WORD e_minalloc;
2937 WORD e_maxalloc;
2938 WORD e_ss;
2939 WORD e_sp;
2940 WORD e_csum;
2941 WORD e_ip;
2942 WORD e_cs;
2943 WORD e_lfarlc;
2944 WORD e_ovno;
2945 WORD e_res[4];
2946 WORD e_oemid;
2947 WORD e_oeminfo;
2948 WORD e_res2[10];
2949 DWORD e_lfanew;
2950 } IMAGE_DOS_HEADER, *PIMAGE_DOS_HEADER;
2951 # 1 "../../../include/poppack.h" 1
2952 # 253 "../../../include/poppack.h"
2953 #pragma pack()
2954 # 1937 "../../../include/winnt.h" 2
2955 # 1949 "../../../include/winnt.h"
2956 # 1 "../../../include/pshpack2.h" 1
2957 # 105 "../../../include/pshpack2.h"
2958 #pragma pack(2)
2959 # 1950 "../../../include/winnt.h" 2
2960 typedef struct
2961 {
2962 WORD ne_magic;
2963 BYTE ne_ver;
2964 BYTE ne_rev;
2965 WORD ne_enttab;
2966 WORD ne_cbenttab;
2967 LONG ne_crc;
2968 WORD ne_flags;
2969 WORD ne_autodata;
2970 WORD ne_heap;
2971 WORD ne_stack;
2972 DWORD ne_csip;
2973 DWORD ne_sssp;
2974 WORD ne_cseg;
2975 WORD ne_cmod;
2976 WORD ne_cbnrestab;
2977 WORD ne_segtab;
2978 WORD ne_rsrctab;
2979 WORD ne_restab;
2980 WORD ne_modtab;
2981 WORD ne_imptab;
2982 DWORD ne_nrestab;
2983 WORD ne_cmovent;
2984 WORD ne_align;
2985 WORD ne_cres;
2986 BYTE ne_exetyp;
2987 BYTE ne_flagsothers;
2988 WORD ne_pretthunks;
2989 WORD ne_psegrefbytes;
2990 WORD ne_swaparea;
2991 WORD ne_expver;
2992 } IMAGE_OS2_HEADER, *PIMAGE_OS2_HEADER;
2993 # 1 "../../../include/poppack.h" 1
2994 # 253 "../../../include/poppack.h"
2995 #pragma pack()
2996 # 1984 "../../../include/winnt.h" 2
2997
2998 # 1 "../../../include/pshpack2.h" 1
2999 # 105 "../../../include/pshpack2.h"
3000 #pragma pack(2)
3001 # 1986 "../../../include/winnt.h" 2
3002 typedef struct _IMAGE_VXD_HEADER {
3003 WORD e32_magic;
3004 BYTE e32_border;
3005 BYTE e32_worder;
3006 DWORD e32_level;
3007 WORD e32_cpu;
3008 WORD e32_os;
3009 DWORD e32_ver;
3010 DWORD e32_mflags;
3011 DWORD e32_mpages;
3012 DWORD e32_startobj;
3013 DWORD e32_eip;
3014 DWORD e32_stackobj;
3015 DWORD e32_esp;
3016 DWORD e32_pagesize;
3017 DWORD e32_lastpagesize;
3018 DWORD e32_fixupsize;
3019 DWORD e32_fixupsum;
3020 DWORD e32_ldrsize;
3021 DWORD e32_ldrsum;
3022 DWORD e32_objtab;
3023 DWORD e32_objcnt;
3024 DWORD e32_objmap;
3025 DWORD e32_itermap;
3026 DWORD e32_rsrctab;
3027 DWORD e32_rsrccnt;
3028 DWORD e32_restab;
3029 DWORD e32_enttab;
3030 DWORD e32_dirtab;
3031 DWORD e32_dircnt;
3032 DWORD e32_fpagetab;
3033 DWORD e32_frectab;
3034 DWORD e32_impmod;
3035 DWORD e32_impmodcnt;
3036 DWORD e32_impproc;
3037 DWORD e32_pagesum;
3038 DWORD e32_datapage;
3039 DWORD e32_preload;
3040 DWORD e32_nrestab;
3041 DWORD e32_cbnrestab;
3042 DWORD e32_nressum;
3043 DWORD e32_autodata;
3044 DWORD e32_debuginfo;
3045 DWORD e32_debuglen;
3046 DWORD e32_instpreload;
3047 DWORD e32_instdemand;
3048 DWORD e32_heapsize;
3049 BYTE e32_res3[12];
3050 DWORD e32_winresoff;
3051 DWORD e32_winreslen;
3052 WORD e32_devid;
3053 WORD e32_ddkver;
3054 } IMAGE_VXD_HEADER, *PIMAGE_VXD_HEADER;
3055 # 1 "../../../include/poppack.h" 1
3056 # 253 "../../../include/poppack.h"
3057 #pragma pack()
3058 # 2040 "../../../include/winnt.h" 2
3059 # 2174 "../../../include/winnt.h"
3060 typedef struct _IMAGE_FILE_HEADER {
3061 WORD Machine;
3062 WORD NumberOfSections;
3063 DWORD TimeDateStamp;
3064 DWORD PointerToSymbolTable;
3065 DWORD NumberOfSymbols;
3066 WORD SizeOfOptionalHeader;
3067 WORD Characteristics;
3068 } IMAGE_FILE_HEADER, *PIMAGE_FILE_HEADER;
3069
3070 typedef struct _IMAGE_DATA_DIRECTORY {
3071 DWORD VirtualAddress;
3072 DWORD Size;
3073 } IMAGE_DATA_DIRECTORY, *PIMAGE_DATA_DIRECTORY;
3074
3075
3076
3077 typedef struct _IMAGE_OPTIONAL_HEADER64 {
3078 WORD Magic;
3079 BYTE MajorLinkerVersion;
3080 BYTE MinorLinkerVersion;
3081 DWORD SizeOfCode;
3082 DWORD SizeOfInitializedData;
3083 DWORD SizeOfUninitializedData;
3084 DWORD AddressOfEntryPoint;
3085 DWORD BaseOfCode;
3086 ULONGLONG ImageBase;
3087 DWORD SectionAlignment;
3088 DWORD FileAlignment;
3089 WORD MajorOperatingSystemVersion;
3090 WORD MinorOperatingSystemVersion;
3091 WORD MajorImageVersion;
3092 WORD MinorImageVersion;
3093 WORD MajorSubsystemVersion;
3094 WORD MinorSubsystemVersion;
3095 DWORD Win32VersionValue;
3096 DWORD SizeOfImage;
3097 DWORD SizeOfHeaders;
3098 DWORD CheckSum;
3099 WORD Subsystem;
3100 WORD DllCharacteristics;
3101 ULONGLONG SizeOfStackReserve;
3102 ULONGLONG SizeOfStackCommit;
3103 ULONGLONG SizeOfHeapReserve;
3104 ULONGLONG SizeOfHeapCommit;
3105 DWORD LoaderFlags;
3106 DWORD NumberOfRvaAndSizes;
3107 IMAGE_DATA_DIRECTORY DataDirectory[16];
3108 } IMAGE_OPTIONAL_HEADER64, *PIMAGE_OPTIONAL_HEADER64;
3109
3110 typedef struct _IMAGE_NT_HEADERS64 {
3111 DWORD Signature;
3112 IMAGE_FILE_HEADER FileHeader;
3113 IMAGE_OPTIONAL_HEADER64 OptionalHeader;
3114 } IMAGE_NT_HEADERS64, *PIMAGE_NT_HEADERS64;
3115
3116 typedef struct _IMAGE_OPTIONAL_HEADER {
3117
3118
3119
3120 WORD Magic;
3121 BYTE MajorLinkerVersion;
3122 BYTE MinorLinkerVersion;
3123 DWORD SizeOfCode;
3124 DWORD SizeOfInitializedData;
3125 DWORD SizeOfUninitializedData;
3126 DWORD AddressOfEntryPoint;
3127 DWORD BaseOfCode;
3128 DWORD BaseOfData;
3129
3130
3131
3132 DWORD ImageBase;
3133 DWORD SectionAlignment;
3134 DWORD FileAlignment;
3135 WORD MajorOperatingSystemVersion;
3136 WORD MinorOperatingSystemVersion;
3137 WORD MajorImageVersion;
3138 WORD MinorImageVersion;
3139 WORD MajorSubsystemVersion;
3140 WORD MinorSubsystemVersion;
3141 DWORD Win32VersionValue;
3142 DWORD SizeOfImage;
3143 DWORD SizeOfHeaders;
3144 DWORD CheckSum;
3145 WORD Subsystem;
3146 WORD DllCharacteristics;
3147 DWORD SizeOfStackReserve;
3148 DWORD SizeOfStackCommit;
3149 DWORD SizeOfHeapReserve;
3150 DWORD SizeOfHeapCommit;
3151 DWORD LoaderFlags;
3152 DWORD NumberOfRvaAndSizes;
3153 IMAGE_DATA_DIRECTORY DataDirectory[16];
3154
3155 } IMAGE_OPTIONAL_HEADER32, *PIMAGE_OPTIONAL_HEADER32;
3156
3157 typedef struct _IMAGE_NT_HEADERS {
3158 DWORD Signature;
3159 IMAGE_FILE_HEADER FileHeader;
3160 IMAGE_OPTIONAL_HEADER32 OptionalHeader;
3161 } IMAGE_NT_HEADERS32, *PIMAGE_NT_HEADERS32;
3162
3163
3164
3165
3166
3167
3168
3169 typedef IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS;
3170 typedef PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS;
3171 typedef IMAGE_OPTIONAL_HEADER32 IMAGE_OPTIONAL_HEADER;
3172 typedef PIMAGE_OPTIONAL_HEADER32 PIMAGE_OPTIONAL_HEADER;
3173
3174
3175
3176
3177 typedef struct _IMAGE_SECTION_HEADER {
3178 BYTE Name[8];
3179 union {
3180 DWORD PhysicalAddress;
3181 DWORD VirtualSize;
3182 } Misc;
3183 DWORD VirtualAddress;
3184 DWORD SizeOfRawData;
3185 DWORD PointerToRawData;
3186 DWORD PointerToRelocations;
3187 DWORD PointerToLinenumbers;
3188 WORD NumberOfRelocations;
3189 WORD NumberOfLinenumbers;
3190 DWORD Characteristics;
3191 } IMAGE_SECTION_HEADER, *PIMAGE_SECTION_HEADER;
3192 # 2369 "../../../include/winnt.h"
3193 # 1 "../../../include/pshpack2.h" 1
3194 # 105 "../../../include/pshpack2.h"
3195 #pragma pack(2)
3196 # 2370 "../../../include/winnt.h" 2
3197
3198 typedef struct _IMAGE_SYMBOL {
3199 union {
3200 BYTE ShortName[8];
3201 struct {
3202 DWORD Short;
3203 DWORD Long;
3204 } Name;
3205 DWORD LongName[2];
3206 } N;
3207 DWORD Value;
3208 SHORT SectionNumber;
3209 WORD Type;
3210 BYTE StorageClass;
3211 BYTE NumberOfAuxSymbols;
3212 } IMAGE_SYMBOL;
3213 typedef IMAGE_SYMBOL *PIMAGE_SYMBOL;
3214
3215
3216
3217 typedef struct _IMAGE_LINENUMBER {
3218 union {
3219 DWORD SymbolTableIndex;
3220 DWORD VirtualAddress;
3221 } Type;
3222 WORD Linenumber;
3223 } IMAGE_LINENUMBER;
3224 typedef IMAGE_LINENUMBER *PIMAGE_LINENUMBER;
3225
3226
3227
3228 typedef union _IMAGE_AUX_SYMBOL {
3229 struct {
3230 DWORD TagIndex;
3231 union {
3232 struct {
3233 WORD Linenumber;
3234 WORD Size;
3235 } LnSz;
3236 DWORD TotalSize;
3237 } Misc;
3238 union {
3239 struct {
3240 DWORD PointerToLinenumber;
3241 DWORD PointerToNextFunction;
3242 } Function;
3243 struct {
3244 WORD Dimension[4];
3245 } Array;
3246 } FcnAry;
3247 WORD TvIndex;
3248 } Sym;
3249 struct {
3250 BYTE Name[18];
3251 } File;
3252 struct {
3253 DWORD Length;
3254 WORD NumberOfRelocations;
3255 WORD NumberOfLinenumbers;
3256 DWORD CheckSum;
3257 SHORT Number;
3258 BYTE Selection;
3259 } Section;
3260 } IMAGE_AUX_SYMBOL;
3261 typedef IMAGE_AUX_SYMBOL *PIMAGE_AUX_SYMBOL;
3262
3263
3264
3265 # 1 "../../../include/poppack.h" 1
3266 # 253 "../../../include/poppack.h"
3267 #pragma pack()
3268 # 2439 "../../../include/winnt.h" 2
3269 # 2542 "../../../include/winnt.h"
3270 typedef struct _IMAGE_EXPORT_DIRECTORY {
3271 DWORD Characteristics;
3272 DWORD TimeDateStamp;
3273 WORD MajorVersion;
3274 WORD MinorVersion;
3275 DWORD Name;
3276 DWORD Base;
3277 DWORD NumberOfFunctions;
3278 DWORD NumberOfNames;
3279 DWORD AddressOfFunctions;
3280 DWORD AddressOfNames;
3281 DWORD AddressOfNameOrdinals;
3282 } IMAGE_EXPORT_DIRECTORY,*PIMAGE_EXPORT_DIRECTORY;
3283
3284
3285 typedef struct _IMAGE_IMPORT_BY_NAME {
3286 WORD Hint;
3287 BYTE Name[1];
3288 } IMAGE_IMPORT_BY_NAME,*PIMAGE_IMPORT_BY_NAME;
3289
3290
3291 typedef struct _IMAGE_THUNK_DATA64 {
3292 union {
3293 ULONGLONG ForwarderString;
3294 ULONGLONG Function;
3295 ULONGLONG Ordinal;
3296 ULONGLONG AddressOfData;
3297 } u1;
3298 } IMAGE_THUNK_DATA64,*PIMAGE_THUNK_DATA64;
3299
3300 typedef struct _IMAGE_THUNK_DATA32 {
3301 union {
3302 DWORD ForwarderString;
3303 DWORD Function;
3304 DWORD Ordinal;
3305 DWORD AddressOfData;
3306 } u1;
3307 } IMAGE_THUNK_DATA32,*PIMAGE_THUNK_DATA32;
3308
3309
3310
3311 typedef struct _IMAGE_IMPORT_DESCRIPTOR {
3312 union {
3313 DWORD Characteristics;
3314 DWORD OriginalFirstThunk;
3315 } ;
3316 DWORD TimeDateStamp;
3317
3318
3319
3320
3321
3322
3323 DWORD ForwarderChain;
3324 DWORD Name;
3325
3326 DWORD FirstThunk;
3327 } IMAGE_IMPORT_DESCRIPTOR,*PIMAGE_IMPORT_DESCRIPTOR;
3328 # 2618 "../../../include/winnt.h"
3329 typedef IMAGE_THUNK_DATA32 IMAGE_THUNK_DATA;
3330 typedef PIMAGE_THUNK_DATA32 PIMAGE_THUNK_DATA;
3331
3332
3333 typedef struct _IMAGE_BOUND_IMPORT_DESCRIPTOR
3334 {
3335 DWORD TimeDateStamp;
3336 WORD OffsetModuleName;
3337 WORD NumberOfModuleForwarderRefs;
3338
3339 } IMAGE_BOUND_IMPORT_DESCRIPTOR, *PIMAGE_BOUND_IMPORT_DESCRIPTOR;
3340
3341 typedef struct _IMAGE_BOUND_FORWARDER_REF
3342 {
3343 DWORD TimeDateStamp;
3344 WORD OffsetModuleName;
3345 WORD Reserved;
3346 } IMAGE_BOUND_FORWARDER_REF, *PIMAGE_BOUND_FORWARDER_REF;
3347
3348 typedef struct _IMAGE_BASE_RELOCATION
3349 {
3350 DWORD VirtualAddress;
3351 DWORD SizeOfBlock;
3352
3353 } IMAGE_BASE_RELOCATION,*PIMAGE_BASE_RELOCATION;
3354
3355 # 1 "../../../include/pshpack2.h" 1
3356 # 105 "../../../include/pshpack2.h"
3357 #pragma pack(2)
3358 # 2645 "../../../include/winnt.h" 2
3359
3360 typedef struct _IMAGE_RELOCATION
3361 {
3362 union {
3363 DWORD VirtualAddress;
3364 DWORD RelocCount;
3365 } ;
3366 DWORD SymbolTableIndex;
3367 WORD Type;
3368 } IMAGE_RELOCATION, *PIMAGE_RELOCATION;
3369
3370 # 1 "../../../include/poppack.h" 1
3371 # 253 "../../../include/poppack.h"
3372 #pragma pack()
3373 # 2657 "../../../include/winnt.h" 2
3374 # 2821 "../../../include/winnt.h"
3375 typedef struct _IMAGE_ARCHIVE_MEMBER_HEADER
3376 {
3377 BYTE Name[16];
3378 BYTE Date[12];
3379 BYTE UserID[6];
3380 BYTE GroupID[6];
3381 BYTE Mode[8];
3382 BYTE Size[10];
3383 BYTE EndHeader[2];
3384 } IMAGE_ARCHIVE_MEMBER_HEADER, *PIMAGE_ARCHIVE_MEMBER_HEADER;
3385
3386
3387
3388
3389
3390
3391 typedef struct _IMAGE_RESOURCE_DIRECTORY {
3392 DWORD Characteristics;
3393 DWORD TimeDateStamp;
3394 WORD MajorVersion;
3395 WORD MinorVersion;
3396 WORD NumberOfNamedEntries;
3397 WORD NumberOfIdEntries;
3398
3399 } IMAGE_RESOURCE_DIRECTORY,*PIMAGE_RESOURCE_DIRECTORY;
3400
3401
3402
3403
3404 typedef struct _IMAGE_RESOURCE_DIRECTORY_ENTRY {
3405 union {
3406 struct {
3407
3408
3409
3410
3411 unsigned NameOffset:31;
3412 unsigned NameIsString:1;
3413
3414 } ;
3415 DWORD Name;
3416 struct {
3417
3418
3419
3420
3421 WORD Id;
3422 WORD __pad;
3423
3424 } ;
3425 } ;
3426 union {
3427 DWORD OffsetToData;
3428 struct {
3429
3430
3431
3432
3433 unsigned OffsetToDirectory:31;
3434 unsigned DataIsDirectory:1;
3435
3436 } ;
3437 } ;
3438 } IMAGE_RESOURCE_DIRECTORY_ENTRY,*PIMAGE_RESOURCE_DIRECTORY_ENTRY;
3439
3440
3441 typedef struct _IMAGE_RESOURCE_DIRECTORY_STRING {
3442 WORD Length;
3443 CHAR NameString[ 1 ];
3444 } IMAGE_RESOURCE_DIRECTORY_STRING,*PIMAGE_RESOURCE_DIRECTORY_STRING;
3445
3446 typedef struct _IMAGE_RESOURCE_DIR_STRING_U {
3447 WORD Length;
3448 WCHAR NameString[ 1 ];
3449 } IMAGE_RESOURCE_DIR_STRING_U,*PIMAGE_RESOURCE_DIR_STRING_U;
3450
3451 typedef struct _IMAGE_RESOURCE_DATA_ENTRY {
3452 DWORD OffsetToData;
3453 DWORD Size;
3454 DWORD CodePage;
3455 DWORD Reserved;
3456 } IMAGE_RESOURCE_DATA_ENTRY,*PIMAGE_RESOURCE_DATA_ENTRY;
3457
3458
3459 typedef void (__attribute__((__stdcall__)) *PIMAGE_TLS_CALLBACK)(
3460 LPVOID DllHandle,DWORD Reason,LPVOID Reserved
3461 );
3462
3463 typedef struct _IMAGE_TLS_DIRECTORY64 {
3464 ULONGLONG StartAddressOfRawData;
3465 ULONGLONG EndAddressOfRawData;
3466 ULONGLONG AddressOfIndex;
3467 ULONGLONG AddressOfCallBacks;
3468 DWORD SizeOfZeroFill;
3469 DWORD Characteristics;
3470 } IMAGE_TLS_DIRECTORY64, *PIMAGE_TLS_DIRECTORY64;
3471
3472 typedef struct _IMAGE_TLS_DIRECTORY32 {
3473 DWORD StartAddressOfRawData;
3474 DWORD EndAddressOfRawData;
3475 DWORD AddressOfIndex;
3476 DWORD AddressOfCallBacks;
3477 DWORD SizeOfZeroFill;
3478 DWORD Characteristics;
3479 } IMAGE_TLS_DIRECTORY32, *PIMAGE_TLS_DIRECTORY32;
3480
3481
3482
3483
3484
3485 typedef IMAGE_TLS_DIRECTORY32 IMAGE_TLS_DIRECTORY;
3486 typedef PIMAGE_TLS_DIRECTORY32 PIMAGE_TLS_DIRECTORY;
3487
3488
3489 typedef struct _IMAGE_DEBUG_DIRECTORY {
3490 DWORD Characteristics;
3491 DWORD TimeDateStamp;
3492 WORD MajorVersion;
3493 WORD MinorVersion;
3494 DWORD Type;
3495 DWORD SizeOfData;
3496 DWORD AddressOfRawData;
3497 DWORD PointerToRawData;
3498 } IMAGE_DEBUG_DIRECTORY, *PIMAGE_DEBUG_DIRECTORY;
3499 # 2958 "../../../include/winnt.h"
3500 typedef struct _IMAGE_COFF_SYMBOLS_HEADER {
3501 DWORD NumberOfSymbols;
3502 DWORD LvaToFirstSymbol;
3503 DWORD NumberOfLinenumbers;
3504 DWORD LvaToFirstLinenumber;
3505 DWORD RvaToFirstByteOfCode;
3506 DWORD RvaToLastByteOfCode;
3507 DWORD RvaToFirstByteOfData;
3508 DWORD RvaToLastByteOfData;
3509 } IMAGE_COFF_SYMBOLS_HEADER, *PIMAGE_COFF_SYMBOLS_HEADER;
3510
3511
3512
3513
3514
3515
3516 typedef struct _FPO_DATA {
3517 DWORD ulOffStart;
3518 DWORD cbProcSize;
3519 DWORD cdwLocals;
3520 WORD cdwParams;
3521 WORD cbProlog : 8;
3522 WORD cbRegs : 3;
3523 WORD fHasSEH : 1;
3524 WORD fUseBP : 1;
3525 WORD reserved : 1;
3526 WORD cbFrame : 2;
3527 } FPO_DATA, *PFPO_DATA;
3528
3529 typedef struct _IMAGE_LOAD_CONFIG_DIRECTORY {
3530 DWORD Size;
3531 DWORD TimeDateStamp;
3532 WORD MajorVersion;
3533 WORD MinorVersion;
3534 DWORD GlobalFlagsClear;
3535 DWORD GlobalFlagsSet;
3536 DWORD CriticalSectionDefaultTimeout;
3537 DWORD DeCommitFreeBlockThreshold;
3538 DWORD DeCommitTotalFreeThreshold;
3539 PVOID LockPrefixTable;
3540 DWORD MaximumAllocationSize;
3541 DWORD VirtualMemoryThreshold;
3542 DWORD ProcessHeapFlags;
3543 DWORD ProcessAffinityMask;
3544 WORD CSDVersion;
3545 WORD Reserved1;
3546 PVOID EditList;
3547 DWORD SecurityCookie;
3548 DWORD SEHandlerTable;
3549 DWORD SEHandlerCount;
3550 } IMAGE_LOAD_CONFIG_DIRECTORY, *PIMAGE_LOAD_CONFIG_DIRECTORY;
3551
3552 typedef struct _IMAGE_FUNCTION_ENTRY {
3553 DWORD StartingAddress;
3554 DWORD EndingAddress;
3555 DWORD EndOfPrologue;
3556 } IMAGE_FUNCTION_ENTRY, *PIMAGE_FUNCTION_ENTRY;
3557
3558
3559
3560 typedef struct _IMAGE_DEBUG_MISC {
3561 DWORD DataType;
3562 DWORD Length;
3563 BYTE Unicode;
3564 BYTE Reserved[ 3 ];
3565 BYTE Data[ 1 ];
3566 } IMAGE_DEBUG_MISC, *PIMAGE_DEBUG_MISC;
3567
3568
3569
3570 typedef struct _IMAGE_SEPARATE_DEBUG_HEADER {
3571 WORD Signature;
3572 WORD Flags;
3573 WORD Machine;
3574 WORD Characteristics;
3575 DWORD TimeDateStamp;
3576 DWORD CheckSum;
3577 DWORD ImageBase;
3578 DWORD SizeOfImage;
3579 DWORD NumberOfSections;
3580 DWORD ExportedNamesSize;
3581 DWORD DebugDirectorySize;
3582 DWORD SectionAlignment;
3583 DWORD Reserved[ 2 ];
3584 } IMAGE_SEPARATE_DEBUG_HEADER,*PIMAGE_SEPARATE_DEBUG_HEADER;
3585
3586
3587
3588
3589 typedef struct tagMESSAGE_RESOURCE_ENTRY {
3590 WORD Length;
3591 WORD Flags;
3592 BYTE Text[1];
3593 } MESSAGE_RESOURCE_ENTRY,*PMESSAGE_RESOURCE_ENTRY;
3594
3595
3596 typedef struct tagMESSAGE_RESOURCE_BLOCK {
3597 DWORD LowId;
3598 DWORD HighId;
3599 DWORD OffsetToEntries;
3600 } MESSAGE_RESOURCE_BLOCK,*PMESSAGE_RESOURCE_BLOCK;
3601
3602 typedef struct tagMESSAGE_RESOURCE_DATA {
3603 DWORD NumberOfBlocks;
3604 MESSAGE_RESOURCE_BLOCK Blocks[ 1 ];
3605 } MESSAGE_RESOURCE_DATA,*PMESSAGE_RESOURCE_DATA;
3606 # 3076 "../../../include/winnt.h"
3607 typedef PVOID PACCESS_TOKEN;
3608 typedef PVOID PSECURITY_DESCRIPTOR;
3609 typedef PVOID PSID;
3610
3611
3612
3613
3614
3615 typedef enum _TOKEN_INFORMATION_CLASS {
3616 TokenUser = 1,
3617 TokenGroups,
3618 TokenPrivileges,
3619 TokenOwner,
3620 TokenPrimaryGroup,
3621 TokenDefaultDacl,
3622 TokenSource,
3623 TokenType,
3624 TokenImpersonationLevel,
3625 TokenStatistics,
3626 TokenRestrictedSids,
3627 TokenSessionId,
3628 TokenGroupsAndPrivileges,
3629 TokenSessionReference,
3630 TokenSandBoxInert
3631 } TOKEN_INFORMATION_CLASS;
3632 # 3133 "../../../include/winnt.h"
3633 typedef DWORD ACCESS_MASK, *PACCESS_MASK;
3634
3635 typedef struct _GENERIC_MAPPING {
3636 ACCESS_MASK GenericRead;
3637 ACCESS_MASK GenericWrite;
3638 ACCESS_MASK GenericExecute;
3639 ACCESS_MASK GenericAll;
3640 } GENERIC_MAPPING, *PGENERIC_MAPPING;
3641
3642
3643
3644 typedef struct {
3645 BYTE Value[6];
3646 } SID_IDENTIFIER_AUTHORITY, *PSID_IDENTIFIER_AUTHORITY;
3647
3648
3649
3650
3651 typedef struct _SID {
3652 BYTE Revision;
3653 BYTE SubAuthorityCount;
3654 SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
3655 DWORD SubAuthority[1];
3656 } SID,*PISID;
3657 # 3177 "../../../include/winnt.h"
3658 typedef struct _ACL {
3659 BYTE AclRevision;
3660 BYTE Sbz1;
3661 WORD AclSize;
3662 WORD AceCount;
3663 WORD Sbz2;
3664 } ACL, *PACL;
3665
3666 typedef enum _ACL_INFORMATION_CLASS
3667 {
3668 AclRevisionInformation = 1,
3669 AclSizeInformation
3670 } ACL_INFORMATION_CLASS;
3671
3672 typedef struct _ACL_REVISION_INFORMATION
3673 {
3674 DWORD AclRevision;
3675 } ACL_REVISION_INFORMATION, *PACL_REVISION_INFORMATION;
3676
3677 typedef struct _ACL_SIZE_INFORMATION
3678 {
3679 DWORD AceCount;
3680 DWORD AclBytesInUse;
3681 DWORD AclBytesFree;
3682 } ACL_SIZE_INFORMATION, *PACL_SIZE_INFORMATION;
3683 # 3271 "../../../include/winnt.h"
3684 typedef DWORD SECURITY_INFORMATION, *PSECURITY_INFORMATION;
3685 typedef WORD SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL;
3686
3687
3688 typedef struct {
3689 BYTE Revision;
3690 BYTE Sbz1;
3691 SECURITY_DESCRIPTOR_CONTROL Control;
3692 DWORD Owner;
3693 DWORD Group;
3694 DWORD Sacl;
3695 DWORD Dacl;
3696 } SECURITY_DESCRIPTOR_RELATIVE, *PISECURITY_DESCRIPTOR_RELATIVE;
3697
3698 typedef struct {
3699 BYTE Revision;
3700 BYTE Sbz1;
3701 SECURITY_DESCRIPTOR_CONTROL Control;
3702 PSID Owner;
3703 PSID Group;
3704 PACL Sacl;
3705 PACL Dacl;
3706 } SECURITY_DESCRIPTOR, *PISECURITY_DESCRIPTOR;
3707 # 3303 "../../../include/winnt.h"
3708 typedef struct _SID_AND_ATTRIBUTES {
3709 PSID Sid;
3710 DWORD Attributes;
3711 } SID_AND_ATTRIBUTES;
3712 # 3407 "../../../include/winnt.h"
3713 typedef enum {
3714 WinNullSid = 0,
3715 WinWorldSid = 1,
3716 WinLocalSid = 2,
3717 WinCreatorOwnerSid = 3,
3718 WinCreatorGroupSid = 4,
3719 WinCreatorOwnerServerSid = 5,
3720 WinCreatorGroupServerSid = 6,
3721 WinNtAuthoritySid = 7,
3722 WinDialupSid = 8,
3723 WinNetworkSid = 9,
3724 WinBatchSid = 10,
3725 WinInteractiveSid = 11,
3726 WinServiceSid = 12,
3727 WinAnonymousSid = 13,
3728 WinProxySid = 14,
3729 WinEnterpriseControllersSid = 15,
3730 WinSelfSid = 16,
3731 WinAuthenticatedUserSid = 17,
3732 WinRestrictedCodeSid = 18,
3733 WinTerminalServerSid = 19,
3734 WinRemoteLogonIdSid = 20,
3735 WinLogonIdsSid = 21,
3736 WinLocalSystemSid = 22,
3737 WinLocalServiceSid = 23,
3738 WinNetworkServiceSid = 24,
3739 WinBuiltinDomainSid = 25,
3740 WinBuiltinAdministratorsSid = 26,
3741 WinBuiltinUsersSid = 27,
3742 WinBuiltinGuestsSid = 28,
3743 WinBuiltinPowerUsersSid = 29,
3744 WinBuiltinAccountOperatorsSid = 30,
3745 WinBuiltinSystemOperatorsSid = 31,
3746 WinBuiltinPrintOperatorsSid = 32,
3747 WinBuiltinBackupOperatorsSid = 33,
3748 WinBuiltinReplicatorSid = 34,
3749 WinBuiltinPreWindows2000CompatibleAccessSid = 35,
3750 WinBuiltinRemoteDesktopUsersSid = 36,
3751 WinBuiltinNetworkConfigurationOperatorsSid = 37,
3752 WinAccountAdministratorSid = 38,
3753 WinAccountGuestSid = 39,
3754 WinAccountKrbtgtSid = 40,
3755 WinAccountDomainAdminsSid = 41,
3756 WinAccountDomainUsersSid = 42,
3757 WinAccountDomainGuestsSid = 43,
3758 WinAccountComputersSid = 44,
3759 WinAccountControllersSid = 45,
3760 WinAccountCertAdminsSid = 46,
3761 WinAccountSchemaAdminsSid = 47,
3762 WinAccountEnterpriseAdminsSid = 48,
3763 WinAccountPolicyAdminsSid = 49,
3764 WinAccountRasAndIasServersSid = 50,
3765 WinNTLMAuthenticationSid = 51,
3766 WinDigestAuthenticationSid = 52,
3767 WinSChannelAuthenticationSid = 53,
3768 WinThisOrganizationSid = 54,
3769 WinOtherOrganizationSid = 55,
3770 WinBuiltinIncomingForestTrustBuildersSid = 56,
3771 WinBuiltinPerfMonitoringUsersSid = 57,
3772 WinBuiltinPerfLoggingUsersSid = 58,
3773 WinBuiltinAuthorizationAccessSid = 59,
3774 WinBuiltinTerminalServerLicenseServersSid = 60
3775 } WELL_KNOWN_SID_TYPE;
3776
3777
3778
3779
3780
3781 typedef struct _TOKEN_USER {
3782 SID_AND_ATTRIBUTES User;
3783 } TOKEN_USER, *PTOKEN_USER;
3784
3785
3786
3787
3788
3789 typedef struct _TOKEN_GROUPS {
3790 DWORD GroupCount;
3791 SID_AND_ATTRIBUTES Groups[1];
3792 } TOKEN_GROUPS, *PTOKEN_GROUPS;
3793
3794
3795
3796
3797
3798 typedef union _LARGE_INTEGER {
3799 struct {
3800
3801
3802
3803
3804 DWORD LowPart;
3805 LONG HighPart;
3806
3807 } u;
3808
3809 struct {
3810
3811
3812
3813
3814 DWORD LowPart;
3815 LONG HighPart;
3816
3817 };
3818
3819 LONGLONG QuadPart;
3820 } LARGE_INTEGER, *PLARGE_INTEGER;
3821
3822 typedef union _ULARGE_INTEGER {
3823 struct {
3824
3825
3826
3827
3828 DWORD LowPart;
3829 DWORD HighPart;
3830
3831 } u;
3832
3833 struct {
3834
3835
3836
3837
3838 DWORD LowPart;
3839 DWORD HighPart;
3840
3841 };
3842
3843 ULONGLONG QuadPart;
3844 } ULARGE_INTEGER, *PULARGE_INTEGER;
3845
3846
3847
3848
3849
3850 typedef struct _LUID {
3851 DWORD LowPart;
3852 LONG HighPart;
3853 } LUID, *PLUID;
3854
3855 # 1 "../../../include/pshpack4.h" 1
3856 # 105 "../../../include/pshpack4.h"
3857 #pragma pack(4)
3858 # 3550 "../../../include/winnt.h" 2
3859 typedef struct _LUID_AND_ATTRIBUTES {
3860 LUID Luid;
3861 DWORD Attributes;
3862 } LUID_AND_ATTRIBUTES, *PLUID_AND_ATTRIBUTES;
3863 # 1 "../../../include/poppack.h" 1
3864 # 253 "../../../include/poppack.h"
3865 #pragma pack()
3866 # 3555 "../../../include/winnt.h" 2
3867
3868
3869
3870
3871
3872 typedef struct _PRIVILEGE_SET {
3873 DWORD PrivilegeCount;
3874 DWORD Control;
3875 LUID_AND_ATTRIBUTES Privilege[1];
3876 } PRIVILEGE_SET, *PPRIVILEGE_SET;
3877
3878
3879
3880
3881
3882 typedef struct _TOKEN_PRIVILEGES {
3883 DWORD PrivilegeCount;
3884 LUID_AND_ATTRIBUTES Privileges[1];
3885 } TOKEN_PRIVILEGES, *PTOKEN_PRIVILEGES;
3886
3887
3888
3889
3890
3891 typedef struct _TOKEN_OWNER {
3892 PSID Owner;
3893 } TOKEN_OWNER, *PTOKEN_OWNER;
3894
3895
3896
3897
3898
3899 typedef struct _TOKEN_PRIMARY_GROUP {
3900 PSID PrimaryGroup;
3901 } TOKEN_PRIMARY_GROUP, *PTOKEN_PRIMARY_GROUP;
3902
3903
3904
3905
3906
3907
3908 typedef struct _TOKEN_DEFAULT_DACL {
3909 PACL DefaultDacl;
3910 } TOKEN_DEFAULT_DACL, *PTOKEN_DEFAULT_DACL;
3911
3912
3913
3914
3915
3916
3917
3918 typedef struct _TOKEN_SOURCE {
3919 char SourceName[8];
3920 LUID SourceIdentifier;
3921 } TOKEN_SOURCE, *PTOKEN_SOURCE;
3922
3923
3924
3925
3926
3927 typedef enum tagTOKEN_TYPE {
3928 TokenPrimary = 1,
3929 TokenImpersonation
3930 } TOKEN_TYPE;
3931
3932
3933
3934
3935
3936 typedef enum _SECURITY_IMPERSONATION_LEVEL {
3937 SecurityAnonymous,
3938 SecurityIdentification,
3939 SecurityImpersonation,
3940 SecurityDelegation
3941 } SECURITY_IMPERSONATION_LEVEL, *PSECURITY_IMPERSONATION_LEVEL;
3942
3943
3944
3945
3946 typedef BOOLEAN SECURITY_CONTEXT_TRACKING_MODE,
3947 * PSECURITY_CONTEXT_TRACKING_MODE;
3948
3949
3950
3951
3952 typedef struct _SECURITY_QUALITY_OF_SERVICE {
3953 DWORD Length;
3954 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel;
3955 SECURITY_CONTEXT_TRACKING_MODE ContextTrackingMode;
3956 BOOLEAN EffectiveOnly;
3957 } SECURITY_QUALITY_OF_SERVICE, *PSECURITY_QUALITY_OF_SERVICE;
3958
3959
3960
3961
3962
3963 # 1 "../../../include/pshpack4.h" 1
3964 # 105 "../../../include/pshpack4.h"
3965 #pragma pack(4)
3966 # 3652 "../../../include/winnt.h" 2
3967 typedef struct _TOKEN_STATISTICS {
3968 LUID TokenId;
3969 LUID AuthenticationId;
3970 LARGE_INTEGER ExpirationTime;
3971 TOKEN_TYPE TokenType;
3972 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel;
3973 DWORD DynamicCharged;
3974 DWORD DynamicAvailable;
3975 DWORD GroupCount;
3976 DWORD PrivilegeCount;
3977 LUID ModifiedId;
3978 } TOKEN_STATISTICS;
3979 # 1 "../../../include/poppack.h" 1
3980 # 253 "../../../include/poppack.h"
3981 #pragma pack()
3982 # 3665 "../../../include/winnt.h" 2
3983 # 3676 "../../../include/winnt.h"
3984 typedef struct _ACE_HEADER {
3985 BYTE AceType;
3986 BYTE AceFlags;
3987 WORD AceSize;
3988 } ACE_HEADER,*PACE_HEADER;
3989 # 3707 "../../../include/winnt.h"
3990 typedef struct _ACCESS_ALLOWED_ACE {
3991 ACE_HEADER Header;
3992 DWORD Mask;
3993 DWORD SidStart;
3994 } ACCESS_ALLOWED_ACE,*PACCESS_ALLOWED_ACE;
3995
3996 typedef struct _ACCESS_DENIED_ACE {
3997 ACE_HEADER Header;
3998 DWORD Mask;
3999 DWORD SidStart;
4000 } ACCESS_DENIED_ACE,*PACCESS_DENIED_ACE;
4001
4002 typedef struct _SYSTEM_AUDIT_ACE {
4003 ACE_HEADER Header;
4004 DWORD Mask;
4005 DWORD SidStart;
4006 } SYSTEM_AUDIT_ACE,*PSYSTEM_AUDIT_ACE;
4007
4008 typedef struct _SYSTEM_ALARM_ACE {
4009 ACE_HEADER Header;
4010 DWORD Mask;
4011 DWORD SidStart;
4012 } SYSTEM_ALARM_ACE,*PSYSTEM_ALARM_ACE;
4013
4014 typedef enum tagSID_NAME_USE {
4015 SidTypeUser = 1,
4016 SidTypeGroup,
4017 SidTypeDomain,
4018 SidTypeAlias,
4019 SidTypeWellKnownGroup,
4020 SidTypeDeletedAccount,
4021 SidTypeInvalid,
4022 SidTypeUnknown
4023 } SID_NAME_USE,*PSID_NAME_USE;
4024 # 3814 "../../../include/winnt.h"
4025 typedef struct _QUOTA_LIMITS {
4026 SIZE_T PagedPoolLimit;
4027 SIZE_T NonPagedPoolLimit;
4028 SIZE_T MinimumWorkingSetSize;
4029 SIZE_T MaximumWorkingSetSize;
4030 SIZE_T PagefileLimit;
4031 LARGE_INTEGER TimeLimit;
4032 } QUOTA_LIMITS, *PQUOTA_LIMITS;
4033
4034
4035
4036
4037
4038
4039 typedef struct _QUOTA_LIMITS_EX {
4040 SIZE_T PagedPoolLimit;
4041 SIZE_T NonPagedPoolLimit;
4042 SIZE_T MinimumWorkingSetSize;
4043 SIZE_T MaximumWorkingSetSize;
4044 SIZE_T PagefileLimit;
4045 LARGE_INTEGER TimeLimit;
4046 SIZE_T Reserved1;
4047 SIZE_T Reserved2;
4048 SIZE_T Reserved3;
4049 SIZE_T Reserved4;
4050 DWORD Flags;
4051 DWORD Reserved5;
4052 } QUOTA_LIMITS_EX, *PQUOTA_LIMITS_EX;
4053 # 3967 "../../../include/winnt.h"
4054 typedef enum _LATENCY_TIME {
4055 LT_DONT_CARE,
4056 LT_LOWEST_LATENCY
4057 } LATENCY_TIME, *PLATENCY_TIME;
4058 # 3981 "../../../include/winnt.h"
4059 typedef enum _POWER_ACTION {
4060 PowerActionNone = 0,
4061 PowerActionReserved,
4062 PowerActionSleep,
4063 PowerActionHibernate,
4064 PowerActionShutdown,
4065 PowerActionShutdownReset,
4066 PowerActionShutdownOff,
4067 PowerActionWarmEject
4068 } POWER_ACTION,
4069 *PPOWER_ACTION;
4070
4071 typedef enum _SYSTEM_POWER_STATE {
4072 PowerSystemUnspecified = 0,
4073 PowerSystemWorking = 1,
4074 PowerSystemSleeping1 = 2,
4075 PowerSystemSleeping2 = 3,
4076 PowerSystemSleeping3 = 4,
4077 PowerSystemHibernate = 5,
4078 PowerSystemShutdown = 6,
4079 PowerSystemMaximum = 7
4080 } SYSTEM_POWER_STATE,
4081 *PSYSTEM_POWER_STATE;
4082
4083 typedef enum _DEVICE_POWER_STATE {
4084 PowerDeviceUnspecified,
4085 PowerDeviceD0,
4086 PowerDeviceD1,
4087 PowerDeviceD2,
4088 PowerDeviceD3,
4089 PowerDeviceMaximum
4090 } DEVICE_POWER_STATE, *PDEVICE_POWER_STATE;
4091
4092 typedef enum _POWER_INFORMATION_LEVEL {
4093 SystemPowerPolicyAc,
4094 SystemPowerPolicyDc,
4095 VerifySystemPolicyAc,
4096 VerifySystemPolicyDc,
4097 SystemPowerCapabilities,
4098 SystemBatteryState,
4099 SystemPowerStateHandler,
4100 ProcessorStateHandler,
4101 SystemPowerPolicyCurrent,
4102 AdministratorPowerPolicy,
4103 SystemReserveHiberFile,
4104 ProcessorInformation,
4105 SystemPowerInformation,
4106 ProcessorStateHandler2,
4107 LastWakeTime,
4108 LastSleepTime,
4109 SystemExecutionState,
4110 SystemPowerStateNotifyHandler,
4111 ProcessorPowerPolicyAc,
4112 ProcessorPowerPolicyDc,
4113 VerifyProcessorPowerPolicyAc,
4114 VerifyProcessorPowerPolicyDc,
4115 ProcessorPowerPolicyCurrent
4116 } POWER_INFORMATION_LEVEL;
4117
4118 typedef struct _ADMINISTRATOR_POWER_POLICY {
4119 SYSTEM_POWER_STATE MinSleep;
4120 SYSTEM_POWER_STATE MaxSleep;
4121 ULONG MinVideoTimeout;
4122 ULONG MaxVideoTimeout;
4123 ULONG MinSpindownTimeout;
4124 ULONG MaxSpindownTimeout;
4125 } ADMINISTRATOR_POWER_POLICY, *PADMINISTRATOR_POWER_POLICY;
4126
4127 typedef struct {
4128 ULONG Granularity;
4129 ULONG Capacity;
4130 } BATTERY_REPORTING_SCALE,
4131 *PBATTERY_REPORTING_SCALE;
4132
4133 typedef struct {
4134 POWER_ACTION Action;
4135 ULONG Flags;
4136 ULONG EventCode;
4137 } POWER_ACTION_POLICY,
4138 *PPOWER_ACTION_POLICY;
4139
4140 typedef struct _PROCESSOR_POWER_INFORMATION {
4141 ULONG Number;
4142 ULONG MaxMhz;
4143 ULONG CurrentMhz;
4144 ULONG MhzLimit;
4145 ULONG MaxIdleState;
4146 ULONG CurrentIdleState;
4147 } PROCESSOR_POWER_INFORMATION,
4148 *PPROCESSOR_POWER_INFORMATION;
4149
4150 typedef struct _PROCESSOR_POWER_POLICY_INFO {
4151 ULONG TimeCheck;
4152 ULONG DemoteLimit;
4153 ULONG PromoteLimit;
4154 UCHAR DemotePercent;
4155 UCHAR PromotePercent;
4156 UCHAR Spare[2];
4157 ULONG AllowDemotion:1;
4158 ULONG AllowPromotion:1;
4159 ULONG Reserved:30;
4160 } PROCESSOR_POWER_POLICY_INFO,
4161 *PPROCESSOR_POWER_POLICY_INFO;
4162
4163 typedef struct _PROCESSOR_POWER_POLICY {
4164 DWORD Revision;
4165 BYTE DynamicThrottle;
4166 BYTE Spare[3];
4167 DWORD DisableCStates:1;
4168 DWORD Reserved:31;
4169 DWORD PolicyCount;
4170 PROCESSOR_POWER_POLICY_INFO Policy[3];
4171 } PROCESSOR_POWER_POLICY,
4172 *PPROCESSOR_POWER_POLICY;
4173
4174 typedef struct {
4175 BOOLEAN AcOnLine;
4176 BOOLEAN BatteryPresent;
4177 BOOLEAN Charging;
4178 BOOLEAN Discharging;
4179 BOOLEAN Spare1[4];
4180 ULONG MaxCapacity;
4181 ULONG RemainingCapacity;
4182 ULONG Rate;
4183 ULONG EstimatedTime;
4184 ULONG DefaultAlert1;
4185 ULONG DefaultAlert2;
4186 } SYSTEM_BATTERY_STATE,
4187 *PSYSTEM_BATTERY_STATE;
4188
4189 typedef struct {
4190 BOOLEAN PowerButtonPresent;
4191 BOOLEAN SleepButtonPresent;
4192 BOOLEAN LidPresent;
4193 BOOLEAN SystemS1;
4194 BOOLEAN SystemS2;
4195 BOOLEAN SystemS3;
4196 BOOLEAN SystemS4;
4197 BOOLEAN SystemS5;
4198 BOOLEAN HiberFilePresent;
4199 BOOLEAN FullWake;
4200 BOOLEAN VideoDimPresent;
4201 BOOLEAN ApmPresent;
4202 BOOLEAN UpsPresent;
4203 BOOLEAN ThermalControl;
4204 BOOLEAN ProcessorThrottle;
4205 UCHAR ProcessorMinThrottle;
4206 UCHAR ProcessorMaxThrottle;
4207 UCHAR spare2[4];
4208 BOOLEAN DiskSpinDown;
4209 UCHAR spare3[8];
4210 BOOLEAN SystemBatteriesPresent;
4211 BOOLEAN BatteriesAreShortTerm;
4212 BATTERY_REPORTING_SCALE BatteryScale[3];
4213 SYSTEM_POWER_STATE AcOnLineWake;
4214 SYSTEM_POWER_STATE SoftLidWake;
4215 SYSTEM_POWER_STATE RtcWake;
4216 SYSTEM_POWER_STATE MinDeviceWakeState;
4217 SYSTEM_POWER_STATE DefaultLowLatencyWake;
4218 } SYSTEM_POWER_CAPABILITIES,
4219 *PSYSTEM_POWER_CAPABILITIES;
4220
4221 typedef struct _SYSTEM_POWER_INFORMATION {
4222 ULONG MaxIdlenessAllowed;
4223 ULONG Idleness;
4224 ULONG TimeRemaining;
4225 UCHAR CoolingMode;
4226 } SYSTEM_POWER_INFORMATION,
4227 *PSYSTEM_POWER_INFORMATION;
4228
4229 typedef struct _SYSTEM_POWER_LEVEL {
4230 BOOLEAN Enable;
4231 UCHAR Spare[3];
4232 ULONG BatteryLevel;
4233 POWER_ACTION_POLICY PowerPolicy;
4234 SYSTEM_POWER_STATE MinSystemState;
4235 } SYSTEM_POWER_LEVEL,
4236 *PSYSTEM_POWER_LEVEL;
4237
4238 typedef struct _SYSTEM_POWER_POLICY {
4239 ULONG Revision;
4240 POWER_ACTION_POLICY PowerButton;
4241 POWER_ACTION_POLICY SleepButton;
4242 POWER_ACTION_POLICY LidClose;
4243 SYSTEM_POWER_STATE LidOpenWake;
4244 ULONG Reserved;
4245 POWER_ACTION_POLICY Idle;
4246 ULONG IdleTimeout;
4247 UCHAR IdleSensitivity;
4248 UCHAR DynamicThrottle;
4249 UCHAR Spare2[2];
4250 SYSTEM_POWER_STATE MinSleep;
4251 SYSTEM_POWER_STATE MaxSleep;
4252 SYSTEM_POWER_STATE ReducedLatencySleep;
4253 ULONG WinLogonFlags;
4254 ULONG Spare3;
4255 ULONG DozeS4Timeout;
4256 ULONG BroadcastCapacityResolution;
4257 SYSTEM_POWER_LEVEL DischargePolicy[4];
4258 ULONG VideoTimeout;
4259 BOOLEAN VideoDimDisplay;
4260 ULONG VideoReserved[3];
4261 ULONG SpindownTimeout;
4262 BOOLEAN OptimizeForPower;
4263 UCHAR FanThrottleTolerance;
4264 UCHAR ForcedThrottle;
4265 UCHAR MinThrottle;
4266 POWER_ACTION_POLICY OverThrottled;
4267 } SYSTEM_POWER_POLICY,
4268 *PSYSTEM_POWER_POLICY;
4269
4270 typedef union _FILE_SEGMENT_ELEMENT {
4271 PVOID64 Buffer;
4272 ULONGLONG Alignment;
4273 } FILE_SEGMENT_ELEMENT, *PFILE_SEGMENT_ELEMENT;
4274
4275 typedef struct _FILE_NOTIFY_INFORMATION {
4276 DWORD NextEntryOffset;
4277 DWORD Action;
4278 DWORD FileNameLength;
4279 WCHAR FileName[1];
4280 } FILE_NOTIFY_INFORMATION, *PFILE_NOTIFY_INFORMATION;
4281 # 4232 "../../../include/winnt.h"
4282 typedef struct _TAPE_CREATE_PARTITION {
4283 DWORD Method;
4284 DWORD Count;
4285 DWORD Size;
4286 } TAPE_CREATE_PARTITION, *PTAPE_CREATE_PARTITION;
4287
4288 typedef struct _TAPE_ERASE {
4289 DWORD Type;
4290 BOOLEAN Immediate;
4291 } TAPE_ERASE, *PTAPE_ERASE;
4292
4293 typedef struct _TAPE_PREPARE {
4294 DWORD Operation;
4295 BOOLEAN Immediate;
4296 } TAPE_PREPARE, *PTAPE_PREPARE;
4297
4298 typedef struct _TAPE_SET_DRIVE_PARAMETERS {
4299 BOOLEAN ECC;
4300 BOOLEAN Compression;
4301 BOOLEAN DataPadding;
4302 BOOLEAN ReportSetmarks;
4303 ULONG EOTWarningZoneSize;
4304 } TAPE_SET_DRIVE_PARAMETERS, *PTAPE_SET_DRIVE_PARAMETERS;
4305
4306 typedef struct _TAPE_SET_MEDIA_PARAMETERS {
4307 ULONG BlockSize;
4308 } TAPE_SET_MEDIA_PARAMETERS, *PTAPE_SET_MEDIA_PARAMETERS;
4309
4310 typedef struct _TAPE_WRITE_MARKS {
4311 DWORD Type;
4312 DWORD Count;
4313 BOOLEAN Immediate;
4314 } TAPE_WRITE_MARKS, *PTAPE_WRITE_MARKS;
4315
4316 typedef struct _TAPE_GET_POSITION {
4317 ULONG Type;
4318 ULONG Partition;
4319 ULONG OffsetLow;
4320 ULONG OffsetHigh;
4321 } TAPE_GET_POSITION, *PTAPE_GET_POSITION;
4322
4323 typedef struct _TAPE_SET_POSITION {
4324 ULONG Method;
4325 ULONG Partition;
4326 LARGE_INTEGER Offset;
4327 BOOLEAN Immediate;
4328 } TAPE_SET_POSITION, *PTAPE_SET_POSITION;
4329
4330 typedef struct _TAPE_GET_DRIVE_PARAMETERS {
4331 BOOLEAN ECC;
4332 BOOLEAN Compression;
4333 BOOLEAN DataPadding;
4334 BOOLEAN ReportSetmarks;
4335 DWORD DefaultBlockSize;
4336 DWORD MaximumBlockSize;
4337 DWORD MinimumBlockSize;
4338 DWORD MaximumPartitionCount;
4339 DWORD FeaturesLow;
4340 DWORD FeaturesHigh;
4341 DWORD EOTWarningZoneSize;
4342 } TAPE_GET_DRIVE_PARAMETERS, *PTAPE_GET_DRIVE_PARAMETERS;
4343
4344 typedef struct _TAPE_GET_MEDIA_PARAMETERS {
4345 LARGE_INTEGER Capacity;
4346 LARGE_INTEGER Remaining;
4347 DWORD BlockSize;
4348 DWORD PartitionCount;
4349 BOOLEAN WriteProtected;
4350 } TAPE_GET_MEDIA_PARAMETERS, *PTAPE_GET_MEDIA_PARAMETERS;
4351 # 4407 "../../../include/winnt.h"
4352 typedef enum _CM_SERVICE_NODE_TYPE
4353 {
4354 DriverType = 0x00000001,
4355 FileSystemType = 0x00000002,
4356 Win32ServiceOwnProcess = 0x00000010,
4357 Win32ServiceShareProcess = 0x00000020,
4358 AdapterType = 0x00000004,
4359 RecognizerType = 0x00000008
4360 } SERVICE_NODE_TYPE;
4361
4362 typedef enum _CM_SERVICE_LOAD_TYPE
4363 {
4364 BootLoad = 0x00000000,
4365 SystemLoad = 0x00000001,
4366 AutoLoad = 0x00000002,
4367 DemandLoad = 0x00000003,
4368 DisableLoad = 0x00000004
4369 } SERVICE_LOAD_TYPE;
4370
4371 typedef enum _CM_ERROR_CONTROL_TYPE
4372 {
4373 IgnoreError = 0x00000000,
4374 NormalError = 0x00000001,
4375 SevereError = 0x00000002,
4376 CriticalError = 0x00000003
4377 } SERVICE_ERROR_TYPE;
4378 # 4442 "../../../include/winnt.h"
4379 # 1 "../../../include/guiddef.h" 1
4380 # 21 "../../../include/guiddef.h"
4381 typedef struct _GUID
4382 {
4383 unsigned long Data1;
4384 unsigned short Data2;
4385 unsigned short Data3;
4386 unsigned char Data4[ 8 ];
4387 } GUID;
4388 # 57 "../../../include/guiddef.h"
4389 typedef GUID *LPGUID;
4390
4391
4392
4393
4394 typedef const GUID *LPCGUID;
4395
4396
4397
4398
4399
4400 typedef GUID IID,*LPIID;
4401 typedef GUID CLSID,*LPCLSID;
4402 typedef GUID FMTID,*LPFMTID;
4403 # 116 "../../../include/guiddef.h"
4404 extern const IID GUID_NULL;
4405 # 4443 "../../../include/winnt.h" 2
4406
4407 typedef struct _OBJECT_TYPE_LIST {
4408 WORD Level;
4409 WORD Sbz;
4410 GUID *ObjectType;
4411 } OBJECT_TYPE_LIST, *POBJECT_TYPE_LIST;
4412
4413 typedef struct _RTL_CRITICAL_SECTION_DEBUG
4414 {
4415 WORD Type;
4416 WORD CreatorBackTraceIndex;
4417 struct _RTL_CRITICAL_SECTION *CriticalSection;
4418 LIST_ENTRY ProcessLocksList;
4419 DWORD EntryCount;
4420 DWORD ContentionCount;
4421
4422
4423
4424 DWORD Spare[ 2 ];
4425
4426 } RTL_CRITICAL_SECTION_DEBUG, *PRTL_CRITICAL_SECTION_DEBUG, RTL_RESOURCE_DEBUG, *PRTL_RESOURCE_DEBUG;
4427
4428 typedef struct _RTL_CRITICAL_SECTION {
4429 PRTL_CRITICAL_SECTION_DEBUG DebugInfo;
4430 LONG LockCount;
4431 LONG RecursionCount;
4432 HANDLE OwningThread;
4433 HANDLE LockSemaphore;
4434 ULONG_PTR SpinCount;
4435 } RTL_CRITICAL_SECTION, *PRTL_CRITICAL_SECTION;
4436
4437 typedef void (__attribute__((__stdcall__)) * WAITORTIMERCALLBACKFUNC) (PVOID, BOOLEAN );
4438
4439 # 1 "../../../include/pshpack8.h" 1
4440 # 105 "../../../include/pshpack8.h"
4441 #pragma pack(8)
4442 # 4477 "../../../include/winnt.h" 2
4443 typedef struct _IO_COUNTERS {
4444 ULONGLONG __attribute__((aligned(8))) ReadOperationCount;
4445 ULONGLONG __attribute__((aligned(8))) WriteOperationCount;
4446 ULONGLONG __attribute__((aligned(8))) OtherOperationCount;
4447 ULONGLONG __attribute__((aligned(8))) ReadTransferCount;
4448 ULONGLONG __attribute__((aligned(8))) WriteTransferCount;
4449 ULONGLONG __attribute__((aligned(8))) OtherTransferCount;
4450 } IO_COUNTERS, *PIO_COUNTERS;
4451 # 1 "../../../include/poppack.h" 1
4452 # 253 "../../../include/poppack.h"
4453 #pragma pack()
4454 # 4486 "../../../include/winnt.h" 2
4455
4456 typedef struct {
4457 DWORD dwOSVersionInfoSize;
4458 DWORD dwMajorVersion;
4459 DWORD dwMinorVersion;
4460 DWORD dwBuildNumber;
4461 DWORD dwPlatformId;
4462 CHAR szCSDVersion[128];
4463 } OSVERSIONINFOA, *POSVERSIONINFOA, *LPOSVERSIONINFOA;
4464
4465 typedef struct {
4466 DWORD dwOSVersionInfoSize;
4467 DWORD dwMajorVersion;
4468 DWORD dwMinorVersion;
4469 DWORD dwBuildNumber;
4470 DWORD dwPlatformId;
4471 WCHAR szCSDVersion[128];
4472 } OSVERSIONINFOW, *POSVERSIONINFOW, *LPOSVERSIONINFOW, RTL_OSVERSIONINFOW, *PRTL_OSVERSIONINFOW;
4473
4474 typedef OSVERSIONINFOA OSVERSIONINFO;
4475 typedef POSVERSIONINFOA POSVERSIONINFO;
4476 typedef LPOSVERSIONINFOA LPOSVERSIONINFO;
4477
4478 typedef struct {
4479 DWORD dwOSVersionInfoSize;
4480 DWORD dwMajorVersion;
4481 DWORD dwMinorVersion;
4482 DWORD dwBuildNumber;
4483 DWORD dwPlatformId;
4484 CHAR szCSDVersion[128];
4485 WORD wServicePackMajor;
4486 WORD wServicePackMinor;
4487 WORD wSuiteMask;
4488 BYTE wProductType;
4489 BYTE wReserved;
4490 } OSVERSIONINFOEXA, *POSVERSIONINFOEXA, *LPOSVERSIONINFOEXA;
4491
4492 typedef struct {
4493 DWORD dwOSVersionInfoSize;
4494 DWORD dwMajorVersion;
4495 DWORD dwMinorVersion;
4496 DWORD dwBuildNumber;
4497 DWORD dwPlatformId;
4498 WCHAR szCSDVersion[128];
4499 WORD wServicePackMajor;
4500 WORD wServicePackMinor;
4501 WORD wSuiteMask;
4502 BYTE wProductType;
4503 BYTE wReserved;
4504 } OSVERSIONINFOEXW, *POSVERSIONINFOEXW, *LPOSVERSIONINFOEXW, RTL_OSVERSIONINFOEXW, *PRTL_OSVERSIONINFOEXW;
4505
4506 typedef OSVERSIONINFOEXA OSVERSIONINFOEX;
4507 typedef POSVERSIONINFOEXA POSVERSIONINFOEX;
4508 typedef LPOSVERSIONINFOEXA LPOSVERSIONINFOEX;
4509
4510 ULONGLONG __attribute__((__stdcall__)) VerSetConditionMask(ULONGLONG,DWORD,BYTE);
4511 # 235 "../../../include/windef.h" 2
4512
4513
4514
4515 typedef UINT_PTR WPARAM;
4516 typedef LONG_PTR LPARAM;
4517 typedef LONG_PTR LRESULT;
4518
4519
4520
4521 typedef WORD ATOM;
4522 typedef DWORD COLORREF, *LPCOLORREF;
4523
4524
4525
4526
4527 typedef int HFILE;
4528 typedef struct HACCEL__ { int unused; } *HACCEL;
4529 typedef struct HBITMAP__ { int unused; } *HBITMAP;
4530 typedef struct HBRUSH__ { int unused; } *HBRUSH;
4531 typedef struct HCOLORSPACE__ { int unused; } *HCOLORSPACE;
4532 typedef struct HDC__ { int unused; } *HDC;
4533 typedef struct HDESK__ { int unused; } *HDESK;
4534 typedef struct HENHMETAFILE__ { int unused; } *HENHMETAFILE;
4535 typedef struct HFONT__ { int unused; } *HFONT;
4536 typedef struct HGLRC__ { int unused; } *HGLRC;
4537 typedef struct HHOOK__ { int unused; } *HHOOK;
4538 typedef struct HICON__ { int unused; } *HICON;
4539 typedef struct HINSTANCE__ { int unused; } *HINSTANCE;
4540 typedef struct HKEY__ { int unused; } *HKEY;
4541 typedef HKEY *PHKEY;
4542 typedef struct HKL__ { int unused; } *HKL;
4543 typedef struct HMENU__ { int unused; } *HMENU;
4544 typedef struct HMETAFILE__ { int unused; } *HMETAFILE;
4545 typedef struct HMONITOR__ { int unused; } *HMONITOR;
4546 typedef struct HPALETTE__ { int unused; } *HPALETTE;
4547 typedef struct HPEN__ { int unused; } *HPEN;
4548 typedef struct HRGN__ { int unused; } *HRGN;
4549 typedef struct HRSRC__ { int unused; } *HRSRC;
4550 typedef s