]> git.wh0rd.org - ICEs.git/blame - sb-bigloo/bigloo.i.0
more ices
[ICEs.git] / sb-bigloo / bigloo.i.0
CommitLineData
81f80d8c
MF
1# 1 "bigloo.c"
2# 1 "<built-in>"
3# 1 "<command-line>"
4# 1 "bigloo.c"
5# 10 "bigloo.c"
6# 1 "/usr/lib64/bigloo/3.2b/bigloo.h" 1
7# 45 "/usr/lib64/bigloo/3.2b/bigloo.h"
8# 1 "/usr/include/stdio.h" 1 3 4
9# 28 "/usr/include/stdio.h" 3 4
10# 1 "/usr/include/features.h" 1 3 4
11# 347 "/usr/include/features.h" 3 4
12# 1 "/usr/include/sys/cdefs.h" 1 3 4
13# 353 "/usr/include/sys/cdefs.h" 3 4
14# 1 "/usr/include/bits/wordsize.h" 1 3 4
15# 354 "/usr/include/sys/cdefs.h" 2 3 4
16# 348 "/usr/include/features.h" 2 3 4
17# 371 "/usr/include/features.h" 3 4
18# 1 "/usr/include/gnu/stubs.h" 1 3 4
19
20
21
22# 1 "/usr/include/bits/wordsize.h" 1 3 4
23# 5 "/usr/include/gnu/stubs.h" 2 3 4
24
25
26
27
28# 1 "/usr/include/gnu/stubs-64.h" 1 3 4
29# 10 "/usr/include/gnu/stubs.h" 2 3 4
30# 372 "/usr/include/features.h" 2 3 4
31# 29 "/usr/include/stdio.h" 2 3 4
32
33
34
35
36
37# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stddef.h" 1 3 4
38# 211 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stddef.h" 3 4
39typedef long unsigned int size_t;
40# 35 "/usr/include/stdio.h" 2 3 4
41
42# 1 "/usr/include/bits/types.h" 1 3 4
43# 28 "/usr/include/bits/types.h" 3 4
44# 1 "/usr/include/bits/wordsize.h" 1 3 4
45# 29 "/usr/include/bits/types.h" 2 3 4
46
47
48typedef unsigned char __u_char;
49typedef unsigned short int __u_short;
50typedef unsigned int __u_int;
51typedef unsigned long int __u_long;
52
53
54typedef signed char __int8_t;
55typedef unsigned char __uint8_t;
56typedef signed short int __int16_t;
57typedef unsigned short int __uint16_t;
58typedef signed int __int32_t;
59typedef unsigned int __uint32_t;
60
61typedef signed long int __int64_t;
62typedef unsigned long int __uint64_t;
63
64
65
66
67
68
69
70typedef long int __quad_t;
71typedef unsigned long int __u_quad_t;
72# 131 "/usr/include/bits/types.h" 3 4
73# 1 "/usr/include/bits/typesizes.h" 1 3 4
74# 132 "/usr/include/bits/types.h" 2 3 4
75
76
77typedef unsigned long int __dev_t;
78typedef unsigned int __uid_t;
79typedef unsigned int __gid_t;
80typedef unsigned long int __ino_t;
81typedef unsigned long int __ino64_t;
82typedef unsigned int __mode_t;
83typedef unsigned long int __nlink_t;
84typedef long int __off_t;
85typedef long int __off64_t;
86typedef int __pid_t;
87typedef struct { int __val[2]; } __fsid_t;
88typedef long int __clock_t;
89typedef unsigned long int __rlim_t;
90typedef unsigned long int __rlim64_t;
91typedef unsigned int __id_t;
92typedef long int __time_t;
93typedef unsigned int __useconds_t;
94typedef long int __suseconds_t;
95
96typedef int __daddr_t;
97typedef long int __swblk_t;
98typedef int __key_t;
99
100
101typedef int __clockid_t;
102
103
104typedef void * __timer_t;
105
106
107typedef long int __blksize_t;
108
109
110
111
112typedef long int __blkcnt_t;
113typedef long int __blkcnt64_t;
114
115
116typedef unsigned long int __fsblkcnt_t;
117typedef unsigned long int __fsblkcnt64_t;
118
119
120typedef unsigned long int __fsfilcnt_t;
121typedef unsigned long int __fsfilcnt64_t;
122
123typedef long int __ssize_t;
124
125
126
127typedef __off64_t __loff_t;
128typedef __quad_t *__qaddr_t;
129typedef char *__caddr_t;
130
131
132typedef long int __intptr_t;
133
134
135typedef unsigned int __socklen_t;
136# 37 "/usr/include/stdio.h" 2 3 4
137# 45 "/usr/include/stdio.h" 3 4
138struct _IO_FILE;
139
140
141
142typedef struct _IO_FILE FILE;
143
144
145
146
147
148# 65 "/usr/include/stdio.h" 3 4
149typedef struct _IO_FILE __FILE;
150# 75 "/usr/include/stdio.h" 3 4
151# 1 "/usr/include/libio.h" 1 3 4
152# 32 "/usr/include/libio.h" 3 4
153# 1 "/usr/include/_G_config.h" 1 3 4
154# 15 "/usr/include/_G_config.h" 3 4
155# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stddef.h" 1 3 4
156# 16 "/usr/include/_G_config.h" 2 3 4
157
158
159
160
161# 1 "/usr/include/wchar.h" 1 3 4
162# 83 "/usr/include/wchar.h" 3 4
163typedef struct
164{
165 int __count;
166 union
167 {
168
169 unsigned int __wch;
170
171
172
173 char __wchb[4];
174 } __value;
175} __mbstate_t;
176# 21 "/usr/include/_G_config.h" 2 3 4
177
178typedef struct
179{
180 __off_t __pos;
181 __mbstate_t __state;
182} _G_fpos_t;
183typedef struct
184{
185 __off64_t __pos;
186 __mbstate_t __state;
187} _G_fpos64_t;
188# 53 "/usr/include/_G_config.h" 3 4
189typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
190typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
191typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
192typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
193# 33 "/usr/include/libio.h" 2 3 4
194# 53 "/usr/include/libio.h" 3 4
195# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stdarg.h" 1 3 4
196# 40 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stdarg.h" 3 4
197typedef __builtin_va_list __gnuc_va_list;
198# 54 "/usr/include/libio.h" 2 3 4
199# 170 "/usr/include/libio.h" 3 4
200struct _IO_jump_t; struct _IO_FILE;
201# 180 "/usr/include/libio.h" 3 4
202typedef void _IO_lock_t;
203
204
205
206
207
208struct _IO_marker {
209 struct _IO_marker *_next;
210 struct _IO_FILE *_sbuf;
211
212
213
214 int _pos;
215# 203 "/usr/include/libio.h" 3 4
216};
217
218
219enum __codecvt_result
220{
221 __codecvt_ok,
222 __codecvt_partial,
223 __codecvt_error,
224 __codecvt_noconv
225};
226# 271 "/usr/include/libio.h" 3 4
227struct _IO_FILE {
228 int _flags;
229
230
231
232
233 char* _IO_read_ptr;
234 char* _IO_read_end;
235 char* _IO_read_base;
236 char* _IO_write_base;
237 char* _IO_write_ptr;
238 char* _IO_write_end;
239 char* _IO_buf_base;
240 char* _IO_buf_end;
241
242 char *_IO_save_base;
243 char *_IO_backup_base;
244 char *_IO_save_end;
245
246 struct _IO_marker *_markers;
247
248 struct _IO_FILE *_chain;
249
250 int _fileno;
251
252
253
254 int _flags2;
255
256 __off_t _old_offset;
257
258
259
260 unsigned short _cur_column;
261 signed char _vtable_offset;
262 char _shortbuf[1];
263
264
265
266 _IO_lock_t *_lock;
267# 319 "/usr/include/libio.h" 3 4
268 __off64_t _offset;
269# 328 "/usr/include/libio.h" 3 4
270 void *__pad1;
271 void *__pad2;
272 void *__pad3;
273 void *__pad4;
274 size_t __pad5;
275
276 int _mode;
277
278 char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
279
280};
281
282
283typedef struct _IO_FILE _IO_FILE;
284
285
286struct _IO_FILE_plus;
287
288extern struct _IO_FILE_plus _IO_2_1_stdin_;
289extern struct _IO_FILE_plus _IO_2_1_stdout_;
290extern struct _IO_FILE_plus _IO_2_1_stderr_;
291# 364 "/usr/include/libio.h" 3 4
292typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
293
294
295
296
297
298
299
300typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
301 size_t __n);
302
303
304
305
306
307
308
309typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
310
311
312typedef int __io_close_fn (void *__cookie);
313# 416 "/usr/include/libio.h" 3 4
314extern int __underflow (_IO_FILE *);
315extern int __uflow (_IO_FILE *);
316extern int __overflow (_IO_FILE *, int);
317# 458 "/usr/include/libio.h" 3 4
318extern int _IO_getc (_IO_FILE *__fp);
319extern int _IO_putc (int __c, _IO_FILE *__fp);
320extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
321extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
322
323extern int _IO_peekc_locked (_IO_FILE *__fp);
324
325
326
327
328
329extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
330extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
331extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
332# 488 "/usr/include/libio.h" 3 4
333extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
334 __gnuc_va_list, int *__restrict);
335extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
336 __gnuc_va_list);
337extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
338extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
339
340extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
341extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
342
343extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
344# 76 "/usr/include/stdio.h" 2 3 4
345# 89 "/usr/include/stdio.h" 3 4
346
347
348typedef _G_fpos_t fpos_t;
349
350
351
352
353# 141 "/usr/include/stdio.h" 3 4
354# 1 "/usr/include/bits/stdio_lim.h" 1 3 4
355# 142 "/usr/include/stdio.h" 2 3 4
356
357
358
359extern struct _IO_FILE *stdin;
360extern struct _IO_FILE *stdout;
361extern struct _IO_FILE *stderr;
362
363
364
365
366
367
368
369extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
370
371extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
372
373
374
375
376extern int renameat (int __oldfd, __const char *__old, int __newfd,
377 __const char *__new) __attribute__ ((__nothrow__));
378
379
380
381
382
383
384
385
386extern FILE *tmpfile (void) ;
387# 186 "/usr/include/stdio.h" 3 4
388extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ;
389
390
391
392
393
394extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) ;
395# 204 "/usr/include/stdio.h" 3 4
396extern char *tempnam (__const char *__dir, __const char *__pfx)
397 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
398
399
400
401
402
403
404
405
406extern int fclose (FILE *__stream);
407
408
409
410
411extern int fflush (FILE *__stream);
412
413# 229 "/usr/include/stdio.h" 3 4
414extern int fflush_unlocked (FILE *__stream);
415# 243 "/usr/include/stdio.h" 3 4
416
417
418
419
420
421
422extern FILE *fopen (__const char *__restrict __filename,
423 __const char *__restrict __modes) ;
424
425
426
427
428extern FILE *freopen (__const char *__restrict __filename,
429 __const char *__restrict __modes,
430 FILE *__restrict __stream) ;
431# 272 "/usr/include/stdio.h" 3 4
432
433# 283 "/usr/include/stdio.h" 3 4
434extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ;
435# 296 "/usr/include/stdio.h" 3 4
436extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
437 __attribute__ ((__nothrow__)) ;
438
439
440
441
442extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) ;
443
444
445
446
447
448
449extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
450
451
452
453extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
454 int __modes, size_t __n) __attribute__ ((__nothrow__));
455
456
457
458
459
460extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
461 size_t __size) __attribute__ ((__nothrow__));
462
463
464extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
465
466
467
468
469
470
471
472
473extern int fprintf (FILE *__restrict __stream,
474 __const char *__restrict __format, ...);
475
476
477
478
479extern int printf (__const char *__restrict __format, ...);
480
481extern int sprintf (char *__restrict __s,
482 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
483
484
485
486
487
488extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
489 __gnuc_va_list __arg);
490
491
492
493
494extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
495
496extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
497 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
498
499
500
501
502
503extern int snprintf (char *__restrict __s, size_t __maxlen,
504 __const char *__restrict __format, ...)
505 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
506
507extern int vsnprintf (char *__restrict __s, size_t __maxlen,
508 __const char *__restrict __format, __gnuc_va_list __arg)
509 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
510
511# 394 "/usr/include/stdio.h" 3 4
512extern int vdprintf (int __fd, __const char *__restrict __fmt,
513 __gnuc_va_list __arg)
514 __attribute__ ((__format__ (__printf__, 2, 0)));
515extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
516 __attribute__ ((__format__ (__printf__, 2, 3)));
517
518
519
520
521
522
523
524
525extern int fscanf (FILE *__restrict __stream,
526 __const char *__restrict __format, ...) ;
527
528
529
530
531extern int scanf (__const char *__restrict __format, ...) ;
532
533extern int sscanf (__const char *__restrict __s,
534 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
535# 425 "/usr/include/stdio.h" 3 4
536extern int fscanf (FILE *__restrict __stream, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") ;
537
538
539extern int scanf (__const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") ;
540
541extern int sscanf (__const char *__restrict __s, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__));
542# 445 "/usr/include/stdio.h" 3 4
543
544
545
546
547
548
549
550
551extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
552 __gnuc_va_list __arg)
553 __attribute__ ((__format__ (__scanf__, 2, 0))) ;
554
555
556
557
558
559extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
560 __attribute__ ((__format__ (__scanf__, 1, 0))) ;
561
562
563extern int vsscanf (__const char *__restrict __s,
564 __const char *__restrict __format, __gnuc_va_list __arg)
565 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
566# 476 "/usr/include/stdio.h" 3 4
567extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf")
568
569
570
571 __attribute__ ((__format__ (__scanf__, 2, 0))) ;
572extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf")
573
574 __attribute__ ((__format__ (__scanf__, 1, 0))) ;
575extern int vsscanf (__const char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf")
576
577
578
579 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
580# 504 "/usr/include/stdio.h" 3 4
581
582
583
584
585
586
587
588
589
590extern int fgetc (FILE *__stream);
591extern int getc (FILE *__stream);
592
593
594
595
596
597extern int getchar (void);
598
599# 532 "/usr/include/stdio.h" 3 4
600extern int getc_unlocked (FILE *__stream);
601extern int getchar_unlocked (void);
602# 543 "/usr/include/stdio.h" 3 4
603extern int fgetc_unlocked (FILE *__stream);
604
605
606
607
608
609
610
611
612
613
614
615extern int fputc (int __c, FILE *__stream);
616extern int putc (int __c, FILE *__stream);
617
618
619
620
621
622extern int putchar (int __c);
623
624# 576 "/usr/include/stdio.h" 3 4
625extern int fputc_unlocked (int __c, FILE *__stream);
626
627
628
629
630
631
632
633extern int putc_unlocked (int __c, FILE *__stream);
634extern int putchar_unlocked (int __c);
635
636
637
638
639
640
641extern int getw (FILE *__stream);
642
643
644extern int putw (int __w, FILE *__stream);
645
646
647
648
649
650
651
652
653extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
654 ;
655
656
657
658
659
660
661extern char *gets (char *__s) ;
662
663# 638 "/usr/include/stdio.h" 3 4
664extern __ssize_t __getdelim (char **__restrict __lineptr,
665 size_t *__restrict __n, int __delimiter,
666 FILE *__restrict __stream) ;
667extern __ssize_t getdelim (char **__restrict __lineptr,
668 size_t *__restrict __n, int __delimiter,
669 FILE *__restrict __stream) ;
670
671
672
673
674
675
676
677extern __ssize_t getline (char **__restrict __lineptr,
678 size_t *__restrict __n,
679 FILE *__restrict __stream) ;
680
681
682
683
684
685
686
687
688extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
689
690
691
692
693
694extern int puts (__const char *__s);
695
696
697
698
699
700
701extern int ungetc (int __c, FILE *__stream);
702
703
704
705
706
707
708extern size_t fread (void *__restrict __ptr, size_t __size,
709 size_t __n, FILE *__restrict __stream) ;
710
711
712
713
714extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
715 size_t __n, FILE *__restrict __s) ;
716
717# 710 "/usr/include/stdio.h" 3 4
718extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
719 size_t __n, FILE *__restrict __stream) ;
720extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
721 size_t __n, FILE *__restrict __stream) ;
722
723
724
725
726
727
728
729
730extern int fseek (FILE *__stream, long int __off, int __whence);
731
732
733
734
735extern long int ftell (FILE *__stream) ;
736
737
738
739
740extern void rewind (FILE *__stream);
741
742# 746 "/usr/include/stdio.h" 3 4
743extern int fseeko (FILE *__stream, __off_t __off, int __whence);
744
745
746
747
748extern __off_t ftello (FILE *__stream) ;
749# 765 "/usr/include/stdio.h" 3 4
750
751
752
753
754
755
756extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
757
758
759
760
761extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
762# 788 "/usr/include/stdio.h" 3 4
763
764# 797 "/usr/include/stdio.h" 3 4
765
766
767extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
768
769extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ;
770
771extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ;
772
773
774
775
776extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
777extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
778extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
779
780
781
782
783
784
785
786
787extern void perror (__const char *__s);
788
789
790
791
792
793
794# 1 "/usr/include/bits/sys_errlist.h" 1 3 4
795# 27 "/usr/include/bits/sys_errlist.h" 3 4
796extern int sys_nerr;
797extern __const char *__const sys_errlist[];
798# 827 "/usr/include/stdio.h" 2 3 4
799
800
801
802
803extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ;
804
805
806
807
808extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
809# 846 "/usr/include/stdio.h" 3 4
810extern FILE *popen (__const char *__command, __const char *__modes) ;
811
812
813
814
815
816extern int pclose (FILE *__stream);
817
818
819
820
821
822extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
823# 886 "/usr/include/stdio.h" 3 4
824extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
825
826
827
828extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ;
829
830
831extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
832# 916 "/usr/include/stdio.h" 3 4
833
834# 46 "/usr/lib64/bigloo/3.2b/bigloo.h" 2
835# 1 "/usr/include/setjmp.h" 1 3 4
836# 28 "/usr/include/setjmp.h" 3 4
837
838
839# 1 "/usr/include/bits/setjmp.h" 1 3 4
840# 27 "/usr/include/bits/setjmp.h" 3 4
841# 1 "/usr/include/bits/wordsize.h" 1 3 4
842# 28 "/usr/include/bits/setjmp.h" 2 3 4
843
844
845
846
847typedef long int __jmp_buf[8];
848# 31 "/usr/include/setjmp.h" 2 3 4
849# 1 "/usr/include/bits/sigset.h" 1 3 4
850# 24 "/usr/include/bits/sigset.h" 3 4
851typedef int __sig_atomic_t;
852
853
854
855
856typedef struct
857 {
858 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
859 } __sigset_t;
860# 32 "/usr/include/setjmp.h" 2 3 4
861
862
863
864struct __jmp_buf_tag
865 {
866
867
868
869
870 __jmp_buf __jmpbuf;
871 int __mask_was_saved;
872 __sigset_t __saved_mask;
873 };
874
875
876
877
878typedef struct __jmp_buf_tag jmp_buf[1];
879
880
881
882extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__));
883
884
885
886
887
888
889extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__));
890
891
892
893
894extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__));
895# 78 "/usr/include/setjmp.h" 3 4
896
897
898
899
900extern void longjmp (struct __jmp_buf_tag __env[1], int __val)
901 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
902
903
904
905
906
907
908
909extern void _longjmp (struct __jmp_buf_tag __env[1], int __val)
910 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
911
912
913
914
915
916
917
918typedef struct __jmp_buf_tag sigjmp_buf[1];
919# 110 "/usr/include/setjmp.h" 3 4
920extern void siglongjmp (sigjmp_buf __env, int __val)
921 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
922
923
924
925# 47 "/usr/lib64/bigloo/3.2b/bigloo.h" 2
926# 1 "/usr/include/errno.h" 1 3 4
927# 32 "/usr/include/errno.h" 3 4
928
929
930
931
932# 1 "/usr/include/bits/errno.h" 1 3 4
933# 25 "/usr/include/bits/errno.h" 3 4
934# 1 "/usr/include/linux/errno.h" 1 3 4
935
936
937
938# 1 "/usr/include/asm/errno.h" 1 3 4
939# 1 "/usr/include/asm-generic/errno.h" 1 3 4
940
941
942
943# 1 "/usr/include/asm-generic/errno-base.h" 1 3 4
944# 5 "/usr/include/asm-generic/errno.h" 2 3 4
945# 1 "/usr/include/asm/errno.h" 2 3 4
946# 5 "/usr/include/linux/errno.h" 2 3 4
947# 26 "/usr/include/bits/errno.h" 2 3 4
948# 43 "/usr/include/bits/errno.h" 3 4
949extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
950# 37 "/usr/include/errno.h" 2 3 4
951# 59 "/usr/include/errno.h" 3 4
952
953# 48 "/usr/lib64/bigloo/3.2b/bigloo.h" 2
954# 1 "/usr/include/stdlib.h" 1 3 4
955# 33 "/usr/include/stdlib.h" 3 4
956# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stddef.h" 1 3 4
957# 323 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stddef.h" 3 4
958typedef int wchar_t;
959# 34 "/usr/include/stdlib.h" 2 3 4
960
961
962# 96 "/usr/include/stdlib.h" 3 4
963
964
965typedef struct
966 {
967 int quot;
968 int rem;
969 } div_t;
970
971
972
973typedef struct
974 {
975 long int quot;
976 long int rem;
977 } ldiv_t;
978
979
980
981
982
983
984
985__extension__ typedef struct
986 {
987 long long int quot;
988 long long int rem;
989 } lldiv_t;
990
991
992# 140 "/usr/include/stdlib.h" 3 4
993extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ;
994
995
996
997
998extern double atof (__const char *__nptr)
999 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1000
1001extern int atoi (__const char *__nptr)
1002 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1003
1004extern long int atol (__const char *__nptr)
1005 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1006
1007
1008
1009
1010
1011__extension__ extern long long int atoll (__const char *__nptr)
1012 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1013
1014
1015
1016
1017
1018extern double strtod (__const char *__restrict __nptr,
1019 char **__restrict __endptr)
1020 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1021
1022
1023
1024
1025
1026extern float strtof (__const char *__restrict __nptr,
1027 char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1028
1029extern long double strtold (__const char *__restrict __nptr,
1030 char **__restrict __endptr)
1031 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1032
1033
1034
1035
1036
1037extern long int strtol (__const char *__restrict __nptr,
1038 char **__restrict __endptr, int __base)
1039 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1040
1041extern unsigned long int strtoul (__const char *__restrict __nptr,
1042 char **__restrict __endptr, int __base)
1043 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1044
1045
1046
1047
1048__extension__
1049extern long long int strtoq (__const char *__restrict __nptr,
1050 char **__restrict __endptr, int __base)
1051 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1052
1053__extension__
1054extern unsigned long long int strtouq (__const char *__restrict __nptr,
1055 char **__restrict __endptr, int __base)
1056 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1057
1058
1059
1060
1061
1062__extension__
1063extern long long int strtoll (__const char *__restrict __nptr,
1064 char **__restrict __endptr, int __base)
1065 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1066
1067__extension__
1068extern unsigned long long int strtoull (__const char *__restrict __nptr,
1069 char **__restrict __endptr, int __base)
1070 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1071
1072# 311 "/usr/include/stdlib.h" 3 4
1073extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ;
1074
1075
1076extern long int a64l (__const char *__s)
1077 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1078
1079
1080
1081
1082# 1 "/usr/include/sys/types.h" 1 3 4
1083# 29 "/usr/include/sys/types.h" 3 4
1084
1085
1086
1087
1088
1089
1090typedef __u_char u_char;
1091typedef __u_short u_short;
1092typedef __u_int u_int;
1093typedef __u_long u_long;
1094typedef __quad_t quad_t;
1095typedef __u_quad_t u_quad_t;
1096typedef __fsid_t fsid_t;
1097
1098
1099
1100
1101typedef __loff_t loff_t;
1102
1103
1104
1105typedef __ino_t ino_t;
1106# 62 "/usr/include/sys/types.h" 3 4
1107typedef __dev_t dev_t;
1108
1109
1110
1111
1112typedef __gid_t gid_t;
1113
1114
1115
1116
1117typedef __mode_t mode_t;
1118
1119
1120
1121
1122typedef __nlink_t nlink_t;
1123
1124
1125
1126
1127typedef __uid_t uid_t;
1128
1129
1130
1131
1132
1133typedef __off_t off_t;
1134# 100 "/usr/include/sys/types.h" 3 4
1135typedef __pid_t pid_t;
1136
1137
1138
1139
1140typedef __id_t id_t;
1141
1142
1143
1144
1145typedef __ssize_t ssize_t;
1146
1147
1148
1149
1150
1151typedef __daddr_t daddr_t;
1152typedef __caddr_t caddr_t;
1153
1154
1155
1156
1157
1158typedef __key_t key_t;
1159# 133 "/usr/include/sys/types.h" 3 4
1160# 1 "/usr/include/time.h" 1 3 4
1161# 74 "/usr/include/time.h" 3 4
1162
1163
1164typedef __time_t time_t;
1165
1166
1167
1168# 92 "/usr/include/time.h" 3 4
1169typedef __clockid_t clockid_t;
1170# 104 "/usr/include/time.h" 3 4
1171typedef __timer_t timer_t;
1172# 134 "/usr/include/sys/types.h" 2 3 4
1173# 147 "/usr/include/sys/types.h" 3 4
1174# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stddef.h" 1 3 4
1175# 148 "/usr/include/sys/types.h" 2 3 4
1176
1177
1178
1179typedef unsigned long int ulong;
1180typedef unsigned short int ushort;
1181typedef unsigned int uint;
1182# 195 "/usr/include/sys/types.h" 3 4
1183typedef int int8_t __attribute__ ((__mode__ (__QI__)));
1184typedef int int16_t __attribute__ ((__mode__ (__HI__)));
1185typedef int int32_t __attribute__ ((__mode__ (__SI__)));
1186typedef int int64_t __attribute__ ((__mode__ (__DI__)));
1187
1188
1189typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
1190typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
1191typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
1192typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
1193
1194typedef int register_t __attribute__ ((__mode__ (__word__)));
1195# 217 "/usr/include/sys/types.h" 3 4
1196# 1 "/usr/include/endian.h" 1 3 4
1197# 37 "/usr/include/endian.h" 3 4
1198# 1 "/usr/include/bits/endian.h" 1 3 4
1199# 38 "/usr/include/endian.h" 2 3 4
1200# 61 "/usr/include/endian.h" 3 4
1201# 1 "/usr/include/bits/byteswap.h" 1 3 4
1202# 28 "/usr/include/bits/byteswap.h" 3 4
1203# 1 "/usr/include/bits/wordsize.h" 1 3 4
1204# 29 "/usr/include/bits/byteswap.h" 2 3 4
1205# 62 "/usr/include/endian.h" 2 3 4
1206# 218 "/usr/include/sys/types.h" 2 3 4
1207
1208
1209# 1 "/usr/include/sys/select.h" 1 3 4
1210# 31 "/usr/include/sys/select.h" 3 4
1211# 1 "/usr/include/bits/select.h" 1 3 4
1212# 23 "/usr/include/bits/select.h" 3 4
1213# 1 "/usr/include/bits/wordsize.h" 1 3 4
1214# 24 "/usr/include/bits/select.h" 2 3 4
1215# 32 "/usr/include/sys/select.h" 2 3 4
1216
1217
1218# 1 "/usr/include/bits/sigset.h" 1 3 4
1219# 35 "/usr/include/sys/select.h" 2 3 4
1220
1221
1222
1223typedef __sigset_t sigset_t;
1224
1225
1226
1227
1228
1229# 1 "/usr/include/time.h" 1 3 4
1230# 120 "/usr/include/time.h" 3 4
1231struct timespec
1232 {
1233 __time_t tv_sec;
1234 long int tv_nsec;
1235 };
1236# 45 "/usr/include/sys/select.h" 2 3 4
1237
1238# 1 "/usr/include/bits/time.h" 1 3 4
1239# 69 "/usr/include/bits/time.h" 3 4
1240struct timeval
1241 {
1242 __time_t tv_sec;
1243 __suseconds_t tv_usec;
1244 };
1245# 47 "/usr/include/sys/select.h" 2 3 4
1246
1247
1248typedef __suseconds_t suseconds_t;
1249
1250
1251
1252
1253
1254typedef long int __fd_mask;
1255# 67 "/usr/include/sys/select.h" 3 4
1256typedef struct
1257 {
1258
1259
1260
1261
1262
1263
1264 __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))];
1265
1266
1267 } fd_set;
1268
1269
1270
1271
1272
1273
1274typedef __fd_mask fd_mask;
1275# 99 "/usr/include/sys/select.h" 3 4
1276
1277# 109 "/usr/include/sys/select.h" 3 4
1278extern int select (int __nfds, fd_set *__restrict __readfds,
1279 fd_set *__restrict __writefds,
1280 fd_set *__restrict __exceptfds,
1281 struct timeval *__restrict __timeout);
1282# 121 "/usr/include/sys/select.h" 3 4
1283extern int pselect (int __nfds, fd_set *__restrict __readfds,
1284 fd_set *__restrict __writefds,
1285 fd_set *__restrict __exceptfds,
1286 const struct timespec *__restrict __timeout,
1287 const __sigset_t *__restrict __sigmask);
1288
1289
1290
1291# 221 "/usr/include/sys/types.h" 2 3 4
1292
1293
1294# 1 "/usr/include/sys/sysmacros.h" 1 3 4
1295# 30 "/usr/include/sys/sysmacros.h" 3 4
1296__extension__
1297extern unsigned int gnu_dev_major (unsigned long long int __dev)
1298 __attribute__ ((__nothrow__));
1299__extension__
1300extern unsigned int gnu_dev_minor (unsigned long long int __dev)
1301 __attribute__ ((__nothrow__));
1302__extension__
1303extern unsigned long long int gnu_dev_makedev (unsigned int __major,
1304 unsigned int __minor)
1305 __attribute__ ((__nothrow__));
1306# 224 "/usr/include/sys/types.h" 2 3 4
1307# 235 "/usr/include/sys/types.h" 3 4
1308typedef __blkcnt_t blkcnt_t;
1309
1310
1311
1312typedef __fsblkcnt_t fsblkcnt_t;
1313
1314
1315
1316typedef __fsfilcnt_t fsfilcnt_t;
1317# 270 "/usr/include/sys/types.h" 3 4
1318# 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
1319# 23 "/usr/include/bits/pthreadtypes.h" 3 4
1320# 1 "/usr/include/bits/wordsize.h" 1 3 4
1321# 24 "/usr/include/bits/pthreadtypes.h" 2 3 4
1322# 50 "/usr/include/bits/pthreadtypes.h" 3 4
1323typedef unsigned long int pthread_t;
1324
1325
1326typedef union
1327{
1328 char __size[56];
1329 long int __align;
1330} pthread_attr_t;
1331
1332
1333
1334typedef struct __pthread_internal_list
1335{
1336 struct __pthread_internal_list *__prev;
1337 struct __pthread_internal_list *__next;
1338} __pthread_list_t;
1339# 76 "/usr/include/bits/pthreadtypes.h" 3 4
1340typedef union
1341{
1342 struct __pthread_mutex_s
1343 {
1344 int __lock;
1345 unsigned int __count;
1346 int __owner;
1347
1348 unsigned int __nusers;
1349
1350
1351
1352 int __kind;
1353
1354 int __spins;
1355 __pthread_list_t __list;
1356# 101 "/usr/include/bits/pthreadtypes.h" 3 4
1357 } __data;
1358 char __size[40];
1359 long int __align;
1360} pthread_mutex_t;
1361
1362typedef union
1363{
1364 char __size[4];
1365 int __align;
1366} pthread_mutexattr_t;
1367
1368
1369
1370
1371typedef union
1372{
1373 struct
1374 {
1375 int __lock;
1376 unsigned int __futex;
1377 __extension__ unsigned long long int __total_seq;
1378 __extension__ unsigned long long int __wakeup_seq;
1379 __extension__ unsigned long long int __woken_seq;
1380 void *__mutex;
1381 unsigned int __nwaiters;
1382 unsigned int __broadcast_seq;
1383 } __data;
1384 char __size[48];
1385 __extension__ long long int __align;
1386} pthread_cond_t;
1387
1388typedef union
1389{
1390 char __size[4];
1391 int __align;
1392} pthread_condattr_t;
1393
1394
1395
1396typedef unsigned int pthread_key_t;
1397
1398
1399
1400typedef int pthread_once_t;
1401
1402
1403
1404
1405
1406typedef union
1407{
1408
1409 struct
1410 {
1411 int __lock;
1412 unsigned int __nr_readers;
1413 unsigned int __readers_wakeup;
1414 unsigned int __writer_wakeup;
1415 unsigned int __nr_readers_queued;
1416 unsigned int __nr_writers_queued;
1417 int __writer;
1418 int __shared;
1419 unsigned long int __pad1;
1420 unsigned long int __pad2;
1421
1422
1423 unsigned int __flags;
1424 } __data;
1425# 187 "/usr/include/bits/pthreadtypes.h" 3 4
1426 char __size[56];
1427 long int __align;
1428} pthread_rwlock_t;
1429
1430typedef union
1431{
1432 char __size[8];
1433 long int __align;
1434} pthread_rwlockattr_t;
1435
1436
1437
1438
1439
1440typedef volatile int pthread_spinlock_t;
1441
1442
1443
1444
1445typedef union
1446{
1447 char __size[32];
1448 long int __align;
1449} pthread_barrier_t;
1450
1451typedef union
1452{
1453 char __size[4];
1454 int __align;
1455} pthread_barrierattr_t;
1456# 271 "/usr/include/sys/types.h" 2 3 4
1457
1458
1459
1460# 321 "/usr/include/stdlib.h" 2 3 4
1461
1462
1463
1464
1465
1466
1467extern long int random (void) __attribute__ ((__nothrow__));
1468
1469
1470extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
1471
1472
1473
1474
1475
1476extern char *initstate (unsigned int __seed, char *__statebuf,
1477 size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1478
1479
1480
1481extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1482
1483
1484
1485
1486
1487
1488
1489struct random_data
1490 {
1491 int32_t *fptr;
1492 int32_t *rptr;
1493 int32_t *state;
1494 int rand_type;
1495 int rand_deg;
1496 int rand_sep;
1497 int32_t *end_ptr;
1498 };
1499
1500extern int random_r (struct random_data *__restrict __buf,
1501 int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1502
1503extern int srandom_r (unsigned int __seed, struct random_data *__buf)
1504 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1505
1506extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
1507 size_t __statelen,
1508 struct random_data *__restrict __buf)
1509 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
1510
1511extern int setstate_r (char *__restrict __statebuf,
1512 struct random_data *__restrict __buf)
1513 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1514
1515
1516
1517
1518
1519
1520extern int rand (void) __attribute__ ((__nothrow__));
1521
1522extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
1523
1524
1525
1526
1527extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
1528
1529
1530
1531
1532
1533
1534
1535extern double drand48 (void) __attribute__ ((__nothrow__));
1536extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1537
1538
1539extern long int lrand48 (void) __attribute__ ((__nothrow__));
1540extern long int nrand48 (unsigned short int __xsubi[3])
1541 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1542
1543
1544extern long int mrand48 (void) __attribute__ ((__nothrow__));
1545extern long int jrand48 (unsigned short int __xsubi[3])
1546 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1547
1548
1549extern void srand48 (long int __seedval) __attribute__ ((__nothrow__));
1550extern unsigned short int *seed48 (unsigned short int __seed16v[3])
1551 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1552extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1553
1554
1555
1556
1557
1558struct drand48_data
1559 {
1560 unsigned short int __x[3];
1561 unsigned short int __old_x[3];
1562 unsigned short int __c;
1563 unsigned short int __init;
1564 unsigned long long int __a;
1565 };
1566
1567
1568extern int drand48_r (struct drand48_data *__restrict __buffer,
1569 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1570extern int erand48_r (unsigned short int __xsubi[3],
1571 struct drand48_data *__restrict __buffer,
1572 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1573
1574
1575extern int lrand48_r (struct drand48_data *__restrict __buffer,
1576 long int *__restrict __result)
1577 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1578extern int nrand48_r (unsigned short int __xsubi[3],
1579 struct drand48_data *__restrict __buffer,
1580 long int *__restrict __result)
1581 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1582
1583
1584extern int mrand48_r (struct drand48_data *__restrict __buffer,
1585 long int *__restrict __result)
1586 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1587extern int jrand48_r (unsigned short int __xsubi[3],
1588 struct drand48_data *__restrict __buffer,
1589 long int *__restrict __result)
1590 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1591
1592
1593extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
1594 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1595
1596extern int seed48_r (unsigned short int __seed16v[3],
1597 struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1598
1599extern int lcong48_r (unsigned short int __param[7],
1600 struct drand48_data *__buffer)
1601 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
1612
1613extern void *calloc (size_t __nmemb, size_t __size)
1614 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625extern void *realloc (void *__ptr, size_t __size)
1626 __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
1627
1628extern void free (void *__ptr) __attribute__ ((__nothrow__));
1629
1630
1631
1632
1633extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
1634
1635
1636
1637# 1 "/usr/include/alloca.h" 1 3 4
1638# 25 "/usr/include/alloca.h" 3 4
1639# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stddef.h" 1 3 4
1640# 26 "/usr/include/alloca.h" 2 3 4
1641
1642
1643
1644
1645
1646
1647
1648extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
1649
1650
1651
1652
1653
1654
1655# 498 "/usr/include/stdlib.h" 2 3 4
1656
1657
1658
1659
1660extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
1661
1662
1663
1664
1665extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
1666 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1667
1668
1669
1670
1671extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
1672
1673
1674
1675extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1676# 530 "/usr/include/stdlib.h" 3 4
1677
1678
1679
1680
1681
1682extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
1683 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1684
1685
1686
1687
1688
1689
1690extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
1691# 553 "/usr/include/stdlib.h" 3 4
1692
1693
1694
1695
1696
1697
1698extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
1699
1700
1701
1702
1703
1704
1705extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1706
1707
1708
1709
1710extern char *__secure_getenv (__const char *__name)
1711 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1712
1713
1714
1715
1716
1717extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1718
1719
1720
1721
1722
1723extern int setenv (__const char *__name, __const char *__value, int __replace)
1724 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1725
1726
1727extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__));
1728
1729
1730
1731
1732
1733
1734extern int clearenv (void) __attribute__ ((__nothrow__));
1735# 604 "/usr/include/stdlib.h" 3 4
1736extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1737# 615 "/usr/include/stdlib.h" 3 4
1738extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
1739# 635 "/usr/include/stdlib.h" 3 4
1740extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1741# 661 "/usr/include/stdlib.h" 3 4
1742
1743
1744
1745
1746
1747extern int system (__const char *__command) ;
1748
1749# 683 "/usr/include/stdlib.h" 3 4
1750extern char *realpath (__const char *__restrict __name,
1751 char *__restrict __resolved) __attribute__ ((__nothrow__)) ;
1752
1753
1754
1755
1756
1757
1758typedef int (*__compar_fn_t) (__const void *, __const void *);
1759# 701 "/usr/include/stdlib.h" 3 4
1760
1761
1762
1763extern void *bsearch (__const void *__key, __const void *__base,
1764 size_t __nmemb, size_t __size, __compar_fn_t __compar)
1765 __attribute__ ((__nonnull__ (1, 2, 5))) ;
1766
1767
1768
1769extern void qsort (void *__base, size_t __nmemb, size_t __size,
1770 __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
1771# 720 "/usr/include/stdlib.h" 3 4
1772extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
1773extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
1774
1775
1776
1777__extension__ extern long long int llabs (long long int __x)
1778 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
1779
1780
1781
1782
1783
1784
1785
1786extern div_t div (int __numer, int __denom)
1787 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
1788extern ldiv_t ldiv (long int __numer, long int __denom)
1789 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
1790
1791
1792
1793
1794__extension__ extern lldiv_t lldiv (long long int __numer,
1795 long long int __denom)
1796 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
1797
1798# 756 "/usr/include/stdlib.h" 3 4
1799extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
1800 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
1801
1802
1803
1804
1805extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
1806 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
1807
1808
1809
1810
1811extern char *gcvt (double __value, int __ndigit, char *__buf)
1812 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
1813
1814
1815
1816
1817extern char *qecvt (long double __value, int __ndigit,
1818 int *__restrict __decpt, int *__restrict __sign)
1819 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
1820extern char *qfcvt (long double __value, int __ndigit,
1821 int *__restrict __decpt, int *__restrict __sign)
1822 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
1823extern char *qgcvt (long double __value, int __ndigit, char *__buf)
1824 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
1825
1826
1827
1828
1829extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
1830 int *__restrict __sign, char *__restrict __buf,
1831 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
1832extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
1833 int *__restrict __sign, char *__restrict __buf,
1834 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
1835
1836extern int qecvt_r (long double __value, int __ndigit,
1837 int *__restrict __decpt, int *__restrict __sign,
1838 char *__restrict __buf, size_t __len)
1839 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
1840extern int qfcvt_r (long double __value, int __ndigit,
1841 int *__restrict __decpt, int *__restrict __sign,
1842 char *__restrict __buf, size_t __len)
1843 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
1844
1845
1846
1847
1848
1849
1850
1851extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ;
1852
1853
1854extern int mbtowc (wchar_t *__restrict __pwc,
1855 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ;
1856
1857
1858extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ;
1859
1860
1861
1862extern size_t mbstowcs (wchar_t *__restrict __pwcs,
1863 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
1864
1865extern size_t wcstombs (char *__restrict __s,
1866 __const wchar_t *__restrict __pwcs, size_t __n)
1867 __attribute__ ((__nothrow__));
1868
1869
1870
1871
1872
1873
1874
1875
1876extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1877# 861 "/usr/include/stdlib.h" 3 4
1878extern int posix_openpt (int __oflag) ;
1879# 896 "/usr/include/stdlib.h" 3 4
1880extern int getloadavg (double __loadavg[], int __nelem)
1881 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1882# 912 "/usr/include/stdlib.h" 3 4
1883
1884# 49 "/usr/lib64/bigloo/3.2b/bigloo.h" 2
1885# 1 "/usr/include/math.h" 1 3 4
1886# 30 "/usr/include/math.h" 3 4
1887
1888
1889
1890
1891# 1 "/usr/include/bits/huge_val.h" 1 3 4
1892# 35 "/usr/include/math.h" 2 3 4
1893
1894# 1 "/usr/include/bits/huge_valf.h" 1 3 4
1895# 37 "/usr/include/math.h" 2 3 4
1896# 1 "/usr/include/bits/huge_vall.h" 1 3 4
1897# 38 "/usr/include/math.h" 2 3 4
1898
1899
1900# 1 "/usr/include/bits/inf.h" 1 3 4
1901# 41 "/usr/include/math.h" 2 3 4
1902
1903
1904# 1 "/usr/include/bits/nan.h" 1 3 4
1905# 44 "/usr/include/math.h" 2 3 4
1906
1907
1908
1909# 1 "/usr/include/bits/mathdef.h" 1 3 4
1910# 26 "/usr/include/bits/mathdef.h" 3 4
1911# 1 "/usr/include/bits/wordsize.h" 1 3 4
1912# 27 "/usr/include/bits/mathdef.h" 2 3 4
1913
1914
1915
1916
1917typedef float float_t;
1918typedef double double_t;
1919# 48 "/usr/include/math.h" 2 3 4
1920# 71 "/usr/include/math.h" 3 4
1921# 1 "/usr/include/bits/mathcalls.h" 1 3 4
1922# 53 "/usr/include/bits/mathcalls.h" 3 4
1923
1924
1925extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__));
1926
1927extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__));
1928
1929extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__));
1930
1931extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__));
1932
1933
1934extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__));
1935
1936extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__));
1937
1938extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__));
1939
1940
1941
1942
1943extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__));
1944
1945extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__));
1946
1947extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__));
1948
1949# 87 "/usr/include/bits/mathcalls.h" 3 4
1950
1951
1952extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__));
1953
1954extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__));
1955
1956extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__));
1957
1958
1959
1960
1961
1962
1963
1964extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__));
1965
1966
1967extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__));
1968
1969
1970extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__));
1971
1972
1973extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__));
1974
1975
1976extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__));
1977
1978
1979extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__));
1980
1981# 127 "/usr/include/bits/mathcalls.h" 3 4
1982
1983
1984extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__));
1985
1986
1987extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__));
1988
1989
1990extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__));
1991
1992
1993
1994
1995
1996
1997extern double exp2 (double __x) __attribute__ ((__nothrow__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__));
1998
1999
2000extern double log2 (double __x) __attribute__ ((__nothrow__)); extern double __log2 (double __x) __attribute__ ((__nothrow__));
2001
2002
2003
2004
2005
2006
2007
2008
2009extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__));
2010
2011
2012extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__));
2013
2014
2015
2016
2017
2018extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__));
2019
2020
2021
2022
2023
2024
2025extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__));
2026
2027
2028
2029
2030
2031
2032
2033
2034extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2035
2036
2037extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2038
2039
2040extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2041
2042
2043extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__));
2044
2045
2046
2047
2048extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2049
2050
2051extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2052
2053
2054
2055
2056
2057extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2058
2059
2060extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2061
2062
2063extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__));
2064
2065
2066
2067extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__));
2068
2069
2070
2071
2072
2073extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2074
2075
2076
2077
2078
2079
2080extern double nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2081
2082
2083
2084
2085
2086extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2087
2088
2089
2090extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2091
2092
2093extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__));
2094extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__));
2095extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__));
2096extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__));
2097extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__));
2098extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__));
2099
2100
2101
2102
2103
2104
2105extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__));
2106extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__));
2107extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__));
2108
2109
2110
2111
2112
2113
2114extern double tgamma (double) __attribute__ ((__nothrow__)); extern double __tgamma (double) __attribute__ ((__nothrow__));
2115
2116
2117
2118
2119
2120extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__));
2121
2122
2123
2124
2125
2126
2127extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__));
2128
2129
2130
2131
2132
2133
2134
2135extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__));
2136
2137
2138extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2139
2140extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2141
2142
2143
2144extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__));
2145
2146
2147
2148extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__));
2149
2150
2151
2152extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__));
2153
2154
2155
2156
2157extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__));
2158
2159
2160
2161extern double nearbyint (double __x) __attribute__ ((__nothrow__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__));
2162
2163
2164
2165extern double round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2166
2167
2168
2169extern double trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2170
2171
2172
2173
2174extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__));
2175
2176
2177
2178
2179
2180
2181extern long int lrint (double __x) __attribute__ ((__nothrow__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__));
2182extern long long int llrint (double __x) __attribute__ ((__nothrow__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__));
2183
2184
2185
2186extern long int lround (double __x) __attribute__ ((__nothrow__)); extern long int __lround (double __x) __attribute__ ((__nothrow__));
2187extern long long int llround (double __x) __attribute__ ((__nothrow__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__));
2188
2189
2190
2191extern double fdim (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__));
2192
2193
2194extern double fmax (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__));
2195
2196
2197extern double fmin (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__));
2198
2199
2200
2201extern int __fpclassify (double __value) __attribute__ ((__nothrow__))
2202 __attribute__ ((__const__));
2203
2204
2205extern int __signbit (double __value) __attribute__ ((__nothrow__))
2206 __attribute__ ((__const__));
2207
2208
2209
2210extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__));
2211
2212
2213
2214
2215
2216
2217
2218
2219extern double scalb (double __x, double __n) __attribute__ ((__nothrow__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__));
2220# 72 "/usr/include/math.h" 2 3 4
2221# 94 "/usr/include/math.h" 3 4
2222# 1 "/usr/include/bits/mathcalls.h" 1 3 4
2223# 53 "/usr/include/bits/mathcalls.h" 3 4
2224
2225
2226extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__));
2227
2228extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__));
2229
2230extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__));
2231
2232extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__));
2233
2234
2235extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__));
2236
2237extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__));
2238
2239extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__));
2240
2241
2242
2243
2244extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__));
2245
2246extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__));
2247
2248extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__));
2249
2250# 87 "/usr/include/bits/mathcalls.h" 3 4
2251
2252
2253extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__));
2254
2255extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__));
2256
2257extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__));
2258
2259
2260
2261
2262
2263
2264
2265extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__));
2266
2267
2268extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__));
2269
2270
2271extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__));
2272
2273
2274extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__));
2275
2276
2277extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__));
2278
2279
2280extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__));
2281
2282# 127 "/usr/include/bits/mathcalls.h" 3 4
2283
2284
2285extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__));
2286
2287
2288extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__));
2289
2290
2291extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__));
2292
2293
2294
2295
2296
2297
2298extern float exp2f (float __x) __attribute__ ((__nothrow__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__));
2299
2300
2301extern float log2f (float __x) __attribute__ ((__nothrow__)); extern float __log2f (float __x) __attribute__ ((__nothrow__));
2302
2303
2304
2305
2306
2307
2308
2309
2310extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__));
2311
2312
2313extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__));
2314
2315
2316
2317
2318
2319extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__));
2320
2321
2322
2323
2324
2325
2326extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__));
2327
2328
2329
2330
2331
2332
2333
2334
2335extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2336
2337
2338extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2339
2340
2341extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2342
2343
2344extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__));
2345
2346
2347
2348
2349extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2350
2351
2352extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2353
2354
2355
2356
2357
2358extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2359
2360
2361extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2362
2363
2364extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__));
2365
2366
2367
2368extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__));
2369
2370
2371
2372
2373
2374extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2375
2376
2377
2378
2379
2380
2381extern float nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2382
2383
2384
2385
2386
2387extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2388
2389
2390
2391extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2392
2393
2394extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__));
2395extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__));
2396extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__));
2397extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__));
2398extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__));
2399extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__));
2400
2401
2402
2403
2404
2405
2406extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__));
2407extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__));
2408extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__));
2409
2410
2411
2412
2413
2414
2415extern float tgammaf (float) __attribute__ ((__nothrow__)); extern float __tgammaf (float) __attribute__ ((__nothrow__));
2416
2417
2418
2419
2420
2421extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__));
2422
2423
2424
2425
2426
2427
2428extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__));
2429
2430
2431
2432
2433
2434
2435
2436extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__));
2437
2438
2439extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2440
2441extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2442
2443
2444
2445extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__));
2446
2447
2448
2449extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__));
2450
2451
2452
2453extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__));
2454
2455
2456
2457
2458extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__));
2459
2460
2461
2462extern float nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__));
2463
2464
2465
2466extern float roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2467
2468
2469
2470extern float truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2471
2472
2473
2474
2475extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__));
2476
2477
2478
2479
2480
2481
2482extern long int lrintf (float __x) __attribute__ ((__nothrow__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__));
2483extern long long int llrintf (float __x) __attribute__ ((__nothrow__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__));
2484
2485
2486
2487extern long int lroundf (float __x) __attribute__ ((__nothrow__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__));
2488extern long long int llroundf (float __x) __attribute__ ((__nothrow__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__));
2489
2490
2491
2492extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__));
2493
2494
2495extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__));
2496
2497
2498extern float fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__));
2499
2500
2501
2502extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__))
2503 __attribute__ ((__const__));
2504
2505
2506extern int __signbitf (float __value) __attribute__ ((__nothrow__))
2507 __attribute__ ((__const__));
2508
2509
2510
2511extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__));
2512
2513
2514
2515
2516
2517
2518
2519
2520extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__));
2521# 95 "/usr/include/math.h" 2 3 4
2522# 141 "/usr/include/math.h" 3 4
2523# 1 "/usr/include/bits/mathcalls.h" 1 3 4
2524# 53 "/usr/include/bits/mathcalls.h" 3 4
2525
2526
2527extern long double acosl (long double __x) __attribute__ ((__nothrow__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__));
2528
2529extern long double asinl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__));
2530
2531extern long double atanl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__));
2532
2533extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__));
2534
2535
2536extern long double cosl (long double __x) __attribute__ ((__nothrow__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__));
2537
2538extern long double sinl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__));
2539
2540extern long double tanl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__));
2541
2542
2543
2544
2545extern long double coshl (long double __x) __attribute__ ((__nothrow__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__));
2546
2547extern long double sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__));
2548
2549extern long double tanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__));
2550
2551# 87 "/usr/include/bits/mathcalls.h" 3 4
2552
2553
2554extern long double acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__));
2555
2556extern long double asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__));
2557
2558extern long double atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__));
2559
2560
2561
2562
2563
2564
2565
2566extern long double expl (long double __x) __attribute__ ((__nothrow__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__));
2567
2568
2569extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__));
2570
2571
2572extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__));
2573
2574
2575extern long double logl (long double __x) __attribute__ ((__nothrow__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__));
2576
2577
2578extern long double log10l (long double __x) __attribute__ ((__nothrow__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__));
2579
2580
2581extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__));
2582
2583# 127 "/usr/include/bits/mathcalls.h" 3 4
2584
2585
2586extern long double expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__));
2587
2588
2589extern long double log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__));
2590
2591
2592extern long double logbl (long double __x) __attribute__ ((__nothrow__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__));
2593
2594
2595
2596
2597
2598
2599extern long double exp2l (long double __x) __attribute__ ((__nothrow__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__));
2600
2601
2602extern long double log2l (long double __x) __attribute__ ((__nothrow__)); extern long double __log2l (long double __x) __attribute__ ((__nothrow__));
2603
2604
2605
2606
2607
2608
2609
2610
2611extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__));
2612
2613
2614extern long double sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__));
2615
2616
2617
2618
2619
2620extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__));
2621
2622
2623
2624
2625
2626
2627extern long double cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__));
2628
2629
2630
2631
2632
2633
2634
2635
2636extern long double ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2637
2638
2639extern long double fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2640
2641
2642extern long double floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2643
2644
2645extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__));
2646
2647
2648
2649
2650extern int __isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2651
2652
2653extern int __finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2654
2655
2656
2657
2658
2659extern int isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2660
2661
2662extern int finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2663
2664
2665extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__));
2666
2667
2668
2669extern long double significandl (long double __x) __attribute__ ((__nothrow__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__));
2670
2671
2672
2673
2674
2675extern 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__));
2676
2677
2678
2679
2680
2681
2682extern long double nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2683
2684
2685
2686
2687
2688extern int __isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2689
2690
2691
2692extern int isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2693
2694
2695extern long double j0l (long double) __attribute__ ((__nothrow__)); extern long double __j0l (long double) __attribute__ ((__nothrow__));
2696extern long double j1l (long double) __attribute__ ((__nothrow__)); extern long double __j1l (long double) __attribute__ ((__nothrow__));
2697extern long double jnl (int, long double) __attribute__ ((__nothrow__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__));
2698extern long double y0l (long double) __attribute__ ((__nothrow__)); extern long double __y0l (long double) __attribute__ ((__nothrow__));
2699extern long double y1l (long double) __attribute__ ((__nothrow__)); extern long double __y1l (long double) __attribute__ ((__nothrow__));
2700extern long double ynl (int, long double) __attribute__ ((__nothrow__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__));
2701
2702
2703
2704
2705
2706
2707extern long double erfl (long double) __attribute__ ((__nothrow__)); extern long double __erfl (long double) __attribute__ ((__nothrow__));
2708extern long double erfcl (long double) __attribute__ ((__nothrow__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__));
2709extern long double lgammal (long double) __attribute__ ((__nothrow__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__));
2710
2711
2712
2713
2714
2715
2716extern long double tgammal (long double) __attribute__ ((__nothrow__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__));
2717
2718
2719
2720
2721
2722extern long double gammal (long double) __attribute__ ((__nothrow__)); extern long double __gammal (long double) __attribute__ ((__nothrow__));
2723
2724
2725
2726
2727
2728
2729extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__));
2730
2731
2732
2733
2734
2735
2736
2737extern long double rintl (long double __x) __attribute__ ((__nothrow__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__));
2738
2739
2740extern 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__));
2741
2742extern long double nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2743
2744
2745
2746extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__));
2747
2748
2749
2750extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__));
2751
2752
2753
2754extern int ilogbl (long double __x) __attribute__ ((__nothrow__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__));
2755
2756
2757
2758
2759extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__)); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__));
2760
2761
2762
2763extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__));
2764
2765
2766
2767extern long double roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2768
2769
2770
2771extern long double truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2772
2773
2774
2775
2776extern long double remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__)); extern long double __remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__));
2777
2778
2779
2780
2781
2782
2783extern long int lrintl (long double __x) __attribute__ ((__nothrow__)); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__));
2784extern long long int llrintl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__));
2785
2786
2787
2788extern long int lroundl (long double __x) __attribute__ ((__nothrow__)); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__));
2789extern long long int llroundl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__));
2790
2791
2792
2793extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__));
2794
2795
2796extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__));
2797
2798
2799extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__));
2800
2801
2802
2803extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__))
2804 __attribute__ ((__const__));
2805
2806
2807extern int __signbitl (long double __value) __attribute__ ((__nothrow__))
2808 __attribute__ ((__const__));
2809
2810
2811
2812extern long double fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__)); extern long double __fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__));
2813
2814
2815
2816
2817
2818
2819
2820
2821extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__));
2822# 142 "/usr/include/math.h" 2 3 4
2823# 157 "/usr/include/math.h" 3 4
2824extern int signgam;
2825# 198 "/usr/include/math.h" 3 4
2826enum
2827 {
2828 FP_NAN,
2829
2830 FP_INFINITE,
2831
2832 FP_ZERO,
2833
2834 FP_SUBNORMAL,
2835
2836 FP_NORMAL
2837
2838 };
2839# 284 "/usr/include/math.h" 3 4
2840typedef enum
2841{
2842 _IEEE_ = -1,
2843 _SVID_,
2844 _XOPEN_,
2845 _POSIX_,
2846 _ISOC_
2847} _LIB_VERSION_TYPE;
2848
2849
2850
2851
2852extern _LIB_VERSION_TYPE _LIB_VERSION;
2853# 309 "/usr/include/math.h" 3 4
2854struct exception
2855
2856 {
2857 int type;
2858 char *name;
2859 double arg1;
2860 double arg2;
2861 double retval;
2862 };
2863
2864
2865
2866
2867extern int matherr (struct exception *__exc);
2868# 465 "/usr/include/math.h" 3 4
2869
2870# 50 "/usr/lib64/bigloo/3.2b/bigloo.h" 2
2871# 1 "/usr/include/ctype.h" 1 3 4
2872# 30 "/usr/include/ctype.h" 3 4
2873
2874# 48 "/usr/include/ctype.h" 3 4
2875enum
2876{
2877 _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)),
2878 _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)),
2879 _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)),
2880 _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)),
2881 _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)),
2882 _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)),
2883 _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)),
2884 _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)),
2885 _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)),
2886 _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)),
2887 _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)),
2888 _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8))
2889};
2890# 81 "/usr/include/ctype.h" 3 4
2891extern __const unsigned short int **__ctype_b_loc (void)
2892 __attribute__ ((__nothrow__)) __attribute__ ((__const));
2893extern __const __int32_t **__ctype_tolower_loc (void)
2894 __attribute__ ((__nothrow__)) __attribute__ ((__const));
2895extern __const __int32_t **__ctype_toupper_loc (void)
2896 __attribute__ ((__nothrow__)) __attribute__ ((__const));
2897# 96 "/usr/include/ctype.h" 3 4
2898
2899
2900
2901
2902
2903
2904extern int isalnum (int) __attribute__ ((__nothrow__));
2905extern int isalpha (int) __attribute__ ((__nothrow__));
2906extern int iscntrl (int) __attribute__ ((__nothrow__));
2907extern int isdigit (int) __attribute__ ((__nothrow__));
2908extern int islower (int) __attribute__ ((__nothrow__));
2909extern int isgraph (int) __attribute__ ((__nothrow__));
2910extern int isprint (int) __attribute__ ((__nothrow__));
2911extern int ispunct (int) __attribute__ ((__nothrow__));
2912extern int isspace (int) __attribute__ ((__nothrow__));
2913extern int isupper (int) __attribute__ ((__nothrow__));
2914extern int isxdigit (int) __attribute__ ((__nothrow__));
2915
2916
2917
2918extern int tolower (int __c) __attribute__ ((__nothrow__));
2919
2920
2921extern int toupper (int __c) __attribute__ ((__nothrow__));
2922
2923
2924
2925
2926
2927
2928
2929
2930extern int isblank (int) __attribute__ ((__nothrow__));
2931
2932
2933# 142 "/usr/include/ctype.h" 3 4
2934extern int isascii (int __c) __attribute__ ((__nothrow__));
2935
2936
2937
2938extern int toascii (int __c) __attribute__ ((__nothrow__));
2939
2940
2941
2942extern int _toupper (int) __attribute__ ((__nothrow__));
2943extern int _tolower (int) __attribute__ ((__nothrow__));
2944# 233 "/usr/include/ctype.h" 3 4
2945# 1 "/usr/include/xlocale.h" 1 3 4
2946# 28 "/usr/include/xlocale.h" 3 4
2947typedef struct __locale_struct
2948{
2949
2950 struct locale_data *__locales[13];
2951
2952
2953 const unsigned short int *__ctype_b;
2954 const int *__ctype_tolower;
2955 const int *__ctype_toupper;
2956
2957
2958 const char *__names[13];
2959} *__locale_t;
2960
2961
2962typedef __locale_t locale_t;
2963# 234 "/usr/include/ctype.h" 2 3 4
2964# 247 "/usr/include/ctype.h" 3 4
2965extern int isalnum_l (int, __locale_t) __attribute__ ((__nothrow__));
2966extern int isalpha_l (int, __locale_t) __attribute__ ((__nothrow__));
2967extern int iscntrl_l (int, __locale_t) __attribute__ ((__nothrow__));
2968extern int isdigit_l (int, __locale_t) __attribute__ ((__nothrow__));
2969extern int islower_l (int, __locale_t) __attribute__ ((__nothrow__));
2970extern int isgraph_l (int, __locale_t) __attribute__ ((__nothrow__));
2971extern int isprint_l (int, __locale_t) __attribute__ ((__nothrow__));
2972extern int ispunct_l (int, __locale_t) __attribute__ ((__nothrow__));
2973extern int isspace_l (int, __locale_t) __attribute__ ((__nothrow__));
2974extern int isupper_l (int, __locale_t) __attribute__ ((__nothrow__));
2975extern int isxdigit_l (int, __locale_t) __attribute__ ((__nothrow__));
2976
2977extern int isblank_l (int, __locale_t) __attribute__ ((__nothrow__));
2978
2979
2980
2981extern int __tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
2982extern int tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
2983
2984
2985extern int __toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
2986extern int toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
2987# 323 "/usr/include/ctype.h" 3 4
2988
2989# 51 "/usr/lib64/bigloo/3.2b/bigloo.h" 2
2990
2991# 1 "/usr/include/unistd.h" 1 3 4
2992# 28 "/usr/include/unistd.h" 3 4
2993
2994# 175 "/usr/include/unistd.h" 3 4
2995# 1 "/usr/include/bits/posix_opt.h" 1 3 4
2996# 176 "/usr/include/unistd.h" 2 3 4
2997# 199 "/usr/include/unistd.h" 3 4
2998# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stddef.h" 1 3 4
2999# 200 "/usr/include/unistd.h" 2 3 4
3000# 228 "/usr/include/unistd.h" 3 4
3001typedef __useconds_t useconds_t;
3002# 240 "/usr/include/unistd.h" 3 4
3003typedef __intptr_t intptr_t;
3004
3005
3006
3007
3008
3009
3010typedef __socklen_t socklen_t;
3011# 260 "/usr/include/unistd.h" 3 4
3012extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3013# 277 "/usr/include/unistd.h" 3 4
3014extern int faccessat (int __fd, __const char *__file, int __type, int __flag)
3015 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) ;
3016# 303 "/usr/include/unistd.h" 3 4
3017extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__));
3018# 322 "/usr/include/unistd.h" 3 4
3019extern int close (int __fd);
3020
3021
3022
3023
3024
3025
3026extern ssize_t read (int __fd, void *__buf, size_t __nbytes) ;
3027
3028
3029
3030
3031
3032extern ssize_t write (int __fd, __const void *__buf, size_t __n) ;
3033# 386 "/usr/include/unistd.h" 3 4
3034extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)) ;
3035# 401 "/usr/include/unistd.h" 3 4
3036extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__));
3037# 413 "/usr/include/unistd.h" 3 4
3038extern unsigned int sleep (unsigned int __seconds);
3039
3040
3041
3042
3043
3044
3045extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval)
3046 __attribute__ ((__nothrow__));
3047
3048
3049
3050
3051
3052
3053extern int usleep (__useconds_t __useconds);
3054# 437 "/usr/include/unistd.h" 3 4
3055extern int pause (void);
3056
3057
3058
3059extern int chown (__const char *__file, __uid_t __owner, __gid_t __group)
3060 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3061
3062
3063
3064extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) ;
3065
3066
3067
3068
3069extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group)
3070 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3071
3072
3073
3074
3075
3076
3077extern int fchownat (int __fd, __const char *__file, __uid_t __owner,
3078 __gid_t __group, int __flag)
3079 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) ;
3080
3081
3082
3083extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3084
3085
3086
3087extern int fchdir (int __fd) __attribute__ ((__nothrow__)) ;
3088# 479 "/usr/include/unistd.h" 3 4
3089extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)) ;
3090# 492 "/usr/include/unistd.h" 3 4
3091extern char *getwd (char *__buf)
3092 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) ;
3093
3094
3095
3096
3097extern int dup (int __fd) __attribute__ ((__nothrow__)) ;
3098
3099
3100extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__));
3101# 510 "/usr/include/unistd.h" 3 4
3102extern char **__environ;
3103
3104
3105
3106
3107
3108
3109
3110extern int execve (__const char *__path, char *__const __argv[],
3111 char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3112
3113
3114
3115
3116extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[])
3117 __attribute__ ((__nothrow__));
3118
3119
3120
3121
3122extern int execv (__const char *__path, char *__const __argv[])
3123 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3124
3125
3126
3127extern int execle (__const char *__path, __const char *__arg, ...)
3128 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3129
3130
3131
3132extern int execl (__const char *__path, __const char *__arg, ...)
3133 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3134
3135
3136
3137extern int execvp (__const char *__file, char *__const __argv[])
3138 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3139
3140
3141
3142
3143extern int execlp (__const char *__file, __const char *__arg, ...)
3144 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3145
3146
3147
3148
3149extern int nice (int __inc) __attribute__ ((__nothrow__)) ;
3150
3151
3152
3153
3154extern void _exit (int __status) __attribute__ ((__noreturn__));
3155
3156
3157
3158
3159
3160# 1 "/usr/include/bits/confname.h" 1 3 4
3161# 26 "/usr/include/bits/confname.h" 3 4
3162enum
3163 {
3164 _PC_LINK_MAX,
3165
3166 _PC_MAX_CANON,
3167
3168 _PC_MAX_INPUT,
3169
3170 _PC_NAME_MAX,
3171
3172 _PC_PATH_MAX,
3173
3174 _PC_PIPE_BUF,
3175
3176 _PC_CHOWN_RESTRICTED,
3177
3178 _PC_NO_TRUNC,
3179
3180 _PC_VDISABLE,
3181
3182 _PC_SYNC_IO,
3183
3184 _PC_ASYNC_IO,
3185
3186 _PC_PRIO_IO,
3187
3188 _PC_SOCK_MAXBUF,
3189
3190 _PC_FILESIZEBITS,
3191
3192 _PC_REC_INCR_XFER_SIZE,
3193
3194 _PC_REC_MAX_XFER_SIZE,
3195
3196 _PC_REC_MIN_XFER_SIZE,
3197
3198 _PC_REC_XFER_ALIGN,
3199
3200 _PC_ALLOC_SIZE_MIN,
3201
3202 _PC_SYMLINK_MAX,
3203
3204 _PC_2_SYMLINKS
3205
3206 };
3207
3208
3209enum
3210 {
3211 _SC_ARG_MAX,
3212
3213 _SC_CHILD_MAX,
3214
3215 _SC_CLK_TCK,
3216
3217 _SC_NGROUPS_MAX,
3218
3219 _SC_OPEN_MAX,
3220
3221 _SC_STREAM_MAX,
3222
3223 _SC_TZNAME_MAX,
3224
3225 _SC_JOB_CONTROL,
3226
3227 _SC_SAVED_IDS,
3228
3229 _SC_REALTIME_SIGNALS,
3230
3231 _SC_PRIORITY_SCHEDULING,
3232
3233 _SC_TIMERS,
3234
3235 _SC_ASYNCHRONOUS_IO,
3236
3237 _SC_PRIORITIZED_IO,
3238
3239 _SC_SYNCHRONIZED_IO,
3240
3241 _SC_FSYNC,
3242
3243 _SC_MAPPED_FILES,
3244
3245 _SC_MEMLOCK,
3246
3247 _SC_MEMLOCK_RANGE,
3248
3249 _SC_MEMORY_PROTECTION,
3250
3251 _SC_MESSAGE_PASSING,
3252
3253 _SC_SEMAPHORES,
3254
3255 _SC_SHARED_MEMORY_OBJECTS,
3256
3257 _SC_AIO_LISTIO_MAX,
3258
3259 _SC_AIO_MAX,
3260
3261 _SC_AIO_PRIO_DELTA_MAX,
3262
3263 _SC_DELAYTIMER_MAX,
3264
3265 _SC_MQ_OPEN_MAX,
3266
3267 _SC_MQ_PRIO_MAX,
3268
3269 _SC_VERSION,
3270
3271 _SC_PAGESIZE,
3272
3273
3274 _SC_RTSIG_MAX,
3275
3276 _SC_SEM_NSEMS_MAX,
3277
3278 _SC_SEM_VALUE_MAX,
3279
3280 _SC_SIGQUEUE_MAX,
3281
3282 _SC_TIMER_MAX,
3283
3284
3285
3286
3287 _SC_BC_BASE_MAX,
3288
3289 _SC_BC_DIM_MAX,
3290
3291 _SC_BC_SCALE_MAX,
3292
3293 _SC_BC_STRING_MAX,
3294
3295 _SC_COLL_WEIGHTS_MAX,
3296
3297 _SC_EQUIV_CLASS_MAX,
3298
3299 _SC_EXPR_NEST_MAX,
3300
3301 _SC_LINE_MAX,
3302
3303 _SC_RE_DUP_MAX,
3304
3305 _SC_CHARCLASS_NAME_MAX,
3306
3307
3308 _SC_2_VERSION,
3309
3310 _SC_2_C_BIND,
3311
3312 _SC_2_C_DEV,
3313
3314 _SC_2_FORT_DEV,
3315
3316 _SC_2_FORT_RUN,
3317
3318 _SC_2_SW_DEV,
3319
3320 _SC_2_LOCALEDEF,
3321
3322
3323 _SC_PII,
3324
3325 _SC_PII_XTI,
3326
3327 _SC_PII_SOCKET,
3328
3329 _SC_PII_INTERNET,
3330
3331 _SC_PII_OSI,
3332
3333 _SC_POLL,
3334
3335 _SC_SELECT,
3336
3337 _SC_UIO_MAXIOV,
3338
3339 _SC_IOV_MAX = _SC_UIO_MAXIOV,
3340
3341 _SC_PII_INTERNET_STREAM,
3342
3343 _SC_PII_INTERNET_DGRAM,
3344
3345 _SC_PII_OSI_COTS,
3346
3347 _SC_PII_OSI_CLTS,
3348
3349 _SC_PII_OSI_M,
3350
3351 _SC_T_IOV_MAX,
3352
3353
3354
3355 _SC_THREADS,
3356
3357 _SC_THREAD_SAFE_FUNCTIONS,
3358
3359 _SC_GETGR_R_SIZE_MAX,
3360
3361 _SC_GETPW_R_SIZE_MAX,
3362
3363 _SC_LOGIN_NAME_MAX,
3364
3365 _SC_TTY_NAME_MAX,
3366
3367 _SC_THREAD_DESTRUCTOR_ITERATIONS,
3368
3369 _SC_THREAD_KEYS_MAX,
3370
3371 _SC_THREAD_STACK_MIN,
3372
3373 _SC_THREAD_THREADS_MAX,
3374
3375 _SC_THREAD_ATTR_STACKADDR,
3376
3377 _SC_THREAD_ATTR_STACKSIZE,
3378
3379 _SC_THREAD_PRIORITY_SCHEDULING,
3380
3381 _SC_THREAD_PRIO_INHERIT,
3382
3383 _SC_THREAD_PRIO_PROTECT,
3384
3385 _SC_THREAD_PROCESS_SHARED,
3386
3387
3388 _SC_NPROCESSORS_CONF,
3389
3390 _SC_NPROCESSORS_ONLN,
3391
3392 _SC_PHYS_PAGES,
3393
3394 _SC_AVPHYS_PAGES,
3395
3396 _SC_ATEXIT_MAX,
3397
3398 _SC_PASS_MAX,
3399
3400
3401 _SC_XOPEN_VERSION,
3402
3403 _SC_XOPEN_XCU_VERSION,
3404
3405 _SC_XOPEN_UNIX,
3406
3407 _SC_XOPEN_CRYPT,
3408
3409 _SC_XOPEN_ENH_I18N,
3410
3411 _SC_XOPEN_SHM,
3412
3413
3414 _SC_2_CHAR_TERM,
3415
3416 _SC_2_C_VERSION,
3417
3418 _SC_2_UPE,
3419
3420
3421 _SC_XOPEN_XPG2,
3422
3423 _SC_XOPEN_XPG3,
3424
3425 _SC_XOPEN_XPG4,
3426
3427
3428 _SC_CHAR_BIT,
3429
3430 _SC_CHAR_MAX,
3431
3432 _SC_CHAR_MIN,
3433
3434 _SC_INT_MAX,
3435
3436 _SC_INT_MIN,
3437
3438 _SC_LONG_BIT,
3439
3440 _SC_WORD_BIT,
3441
3442 _SC_MB_LEN_MAX,
3443
3444 _SC_NZERO,
3445
3446 _SC_SSIZE_MAX,
3447
3448 _SC_SCHAR_MAX,
3449
3450 _SC_SCHAR_MIN,
3451
3452 _SC_SHRT_MAX,
3453
3454 _SC_SHRT_MIN,
3455
3456 _SC_UCHAR_MAX,
3457
3458 _SC_UINT_MAX,
3459
3460 _SC_ULONG_MAX,
3461
3462 _SC_USHRT_MAX,
3463
3464
3465 _SC_NL_ARGMAX,
3466
3467 _SC_NL_LANGMAX,
3468
3469 _SC_NL_MSGMAX,
3470
3471 _SC_NL_NMAX,
3472
3473 _SC_NL_SETMAX,
3474
3475 _SC_NL_TEXTMAX,
3476
3477
3478 _SC_XBS5_ILP32_OFF32,
3479
3480 _SC_XBS5_ILP32_OFFBIG,
3481
3482 _SC_XBS5_LP64_OFF64,
3483
3484 _SC_XBS5_LPBIG_OFFBIG,
3485
3486
3487 _SC_XOPEN_LEGACY,
3488
3489 _SC_XOPEN_REALTIME,
3490
3491 _SC_XOPEN_REALTIME_THREADS,
3492
3493
3494 _SC_ADVISORY_INFO,
3495
3496 _SC_BARRIERS,
3497
3498 _SC_BASE,
3499
3500 _SC_C_LANG_SUPPORT,
3501
3502 _SC_C_LANG_SUPPORT_R,
3503
3504 _SC_CLOCK_SELECTION,
3505
3506 _SC_CPUTIME,
3507
3508 _SC_THREAD_CPUTIME,
3509
3510 _SC_DEVICE_IO,
3511
3512 _SC_DEVICE_SPECIFIC,
3513
3514 _SC_DEVICE_SPECIFIC_R,
3515
3516 _SC_FD_MGMT,
3517
3518 _SC_FIFO,
3519
3520 _SC_PIPE,
3521
3522 _SC_FILE_ATTRIBUTES,
3523
3524 _SC_FILE_LOCKING,
3525
3526 _SC_FILE_SYSTEM,
3527
3528 _SC_MONOTONIC_CLOCK,
3529
3530 _SC_MULTI_PROCESS,
3531
3532 _SC_SINGLE_PROCESS,
3533
3534 _SC_NETWORKING,
3535
3536 _SC_READER_WRITER_LOCKS,
3537
3538 _SC_SPIN_LOCKS,
3539
3540 _SC_REGEXP,
3541
3542 _SC_REGEX_VERSION,
3543
3544 _SC_SHELL,
3545
3546 _SC_SIGNALS,
3547
3548 _SC_SPAWN,
3549
3550 _SC_SPORADIC_SERVER,
3551
3552 _SC_THREAD_SPORADIC_SERVER,
3553
3554 _SC_SYSTEM_DATABASE,
3555
3556 _SC_SYSTEM_DATABASE_R,
3557
3558 _SC_TIMEOUTS,
3559
3560 _SC_TYPED_MEMORY_OBJECTS,
3561
3562 _SC_USER_GROUPS,
3563
3564 _SC_USER_GROUPS_R,
3565
3566 _SC_2_PBS,
3567
3568 _SC_2_PBS_ACCOUNTING,
3569
3570 _SC_2_PBS_LOCATE,
3571
3572 _SC_2_PBS_MESSAGE,
3573
3574 _SC_2_PBS_TRACK,
3575
3576 _SC_SYMLOOP_MAX,
3577
3578 _SC_STREAMS,
3579
3580 _SC_2_PBS_CHECKPOINT,
3581
3582
3583 _SC_V6_ILP32_OFF32,
3584
3585 _SC_V6_ILP32_OFFBIG,
3586
3587 _SC_V6_LP64_OFF64,
3588
3589 _SC_V6_LPBIG_OFFBIG,
3590
3591
3592 _SC_HOST_NAME_MAX,
3593
3594 _SC_TRACE,
3595
3596 _SC_TRACE_EVENT_FILTER,
3597
3598 _SC_TRACE_INHERIT,
3599
3600 _SC_TRACE_LOG,
3601
3602
3603 _SC_LEVEL1_ICACHE_SIZE,
3604
3605 _SC_LEVEL1_ICACHE_ASSOC,
3606
3607 _SC_LEVEL1_ICACHE_LINESIZE,
3608
3609 _SC_LEVEL1_DCACHE_SIZE,
3610
3611 _SC_LEVEL1_DCACHE_ASSOC,
3612
3613 _SC_LEVEL1_DCACHE_LINESIZE,
3614
3615 _SC_LEVEL2_CACHE_SIZE,
3616
3617 _SC_LEVEL2_CACHE_ASSOC,
3618
3619 _SC_LEVEL2_CACHE_LINESIZE,
3620
3621 _SC_LEVEL3_CACHE_SIZE,
3622
3623 _SC_LEVEL3_CACHE_ASSOC,
3624
3625 _SC_LEVEL3_CACHE_LINESIZE,
3626
3627 _SC_LEVEL4_CACHE_SIZE,
3628
3629 _SC_LEVEL4_CACHE_ASSOC,
3630
3631 _SC_LEVEL4_CACHE_LINESIZE,
3632
3633
3634
3635 _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
3636
3637 _SC_RAW_SOCKETS,
3638
3639
3640 _SC_V7_ILP32_OFF32,
3641
3642 _SC_V7_ILP32_OFFBIG,
3643
3644 _SC_V7_LP64_OFF64,
3645
3646 _SC_V7_LPBIG_OFFBIG,
3647
3648
3649 _SC_SS_REPL_MAX,
3650
3651
3652 _SC_TRACE_EVENT_NAME_MAX,
3653
3654 _SC_TRACE_NAME_MAX,
3655
3656 _SC_TRACE_SYS_MAX,
3657
3658 _SC_TRACE_USER_EVENT_MAX,
3659
3660
3661 _SC_XOPEN_STREAMS,
3662
3663
3664 _SC_THREAD_ROBUST_PRIO_INHERIT,
3665
3666 _SC_THREAD_ROBUST_PRIO_PROTECT,
3667
3668 };
3669
3670
3671enum
3672 {
3673 _CS_PATH,
3674
3675
3676 _CS_V6_WIDTH_RESTRICTED_ENVS,
3677
3678
3679
3680 _CS_GNU_LIBC_VERSION,
3681
3682 _CS_GNU_LIBPTHREAD_VERSION,
3683
3684
3685 _CS_V5_WIDTH_RESTRICTED_ENVS,
3686
3687
3688
3689 _CS_V7_WIDTH_RESTRICTED_ENVS,
3690
3691
3692
3693 _CS_LFS_CFLAGS = 1000,
3694
3695 _CS_LFS_LDFLAGS,
3696
3697 _CS_LFS_LIBS,
3698
3699 _CS_LFS_LINTFLAGS,
3700
3701 _CS_LFS64_CFLAGS,
3702
3703 _CS_LFS64_LDFLAGS,
3704
3705 _CS_LFS64_LIBS,
3706
3707 _CS_LFS64_LINTFLAGS,
3708
3709
3710 _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
3711
3712 _CS_XBS5_ILP32_OFF32_LDFLAGS,
3713
3714 _CS_XBS5_ILP32_OFF32_LIBS,
3715
3716 _CS_XBS5_ILP32_OFF32_LINTFLAGS,
3717
3718 _CS_XBS5_ILP32_OFFBIG_CFLAGS,
3719
3720 _CS_XBS5_ILP32_OFFBIG_LDFLAGS,
3721
3722 _CS_XBS5_ILP32_OFFBIG_LIBS,
3723
3724 _CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
3725
3726 _CS_XBS5_LP64_OFF64_CFLAGS,
3727
3728 _CS_XBS5_LP64_OFF64_LDFLAGS,
3729
3730 _CS_XBS5_LP64_OFF64_LIBS,
3731
3732 _CS_XBS5_LP64_OFF64_LINTFLAGS,
3733
3734 _CS_XBS5_LPBIG_OFFBIG_CFLAGS,
3735
3736 _CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
3737
3738 _CS_XBS5_LPBIG_OFFBIG_LIBS,
3739
3740 _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
3741
3742
3743 _CS_POSIX_V6_ILP32_OFF32_CFLAGS,
3744
3745 _CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
3746
3747 _CS_POSIX_V6_ILP32_OFF32_LIBS,
3748
3749 _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
3750
3751 _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
3752
3753 _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
3754
3755 _CS_POSIX_V6_ILP32_OFFBIG_LIBS,
3756
3757 _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
3758
3759 _CS_POSIX_V6_LP64_OFF64_CFLAGS,
3760
3761 _CS_POSIX_V6_LP64_OFF64_LDFLAGS,
3762
3763 _CS_POSIX_V6_LP64_OFF64_LIBS,
3764
3765 _CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
3766
3767 _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
3768
3769 _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
3770
3771 _CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
3772
3773 _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS,
3774
3775
3776 _CS_POSIX_V7_ILP32_OFF32_CFLAGS,
3777
3778 _CS_POSIX_V7_ILP32_OFF32_LDFLAGS,
3779
3780 _CS_POSIX_V7_ILP32_OFF32_LIBS,
3781
3782 _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS,
3783
3784 _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS,
3785
3786 _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS,
3787
3788 _CS_POSIX_V7_ILP32_OFFBIG_LIBS,
3789
3790 _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS,
3791
3792 _CS_POSIX_V7_LP64_OFF64_CFLAGS,
3793
3794 _CS_POSIX_V7_LP64_OFF64_LDFLAGS,
3795
3796 _CS_POSIX_V7_LP64_OFF64_LIBS,
3797
3798 _CS_POSIX_V7_LP64_OFF64_LINTFLAGS,
3799
3800 _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS,
3801
3802 _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS,
3803
3804 _CS_POSIX_V7_LPBIG_OFFBIG_LIBS,
3805
3806 _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS
3807
3808 };
3809# 569 "/usr/include/unistd.h" 2 3 4
3810
3811
3812extern long int pathconf (__const char *__path, int __name)
3813 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3814
3815
3816extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__));
3817
3818
3819extern long int sysconf (int __name) __attribute__ ((__nothrow__));
3820
3821
3822
3823extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__));
3824
3825
3826
3827
3828extern __pid_t getpid (void) __attribute__ ((__nothrow__));
3829
3830
3831extern __pid_t getppid (void) __attribute__ ((__nothrow__));
3832
3833
3834
3835
3836extern __pid_t getpgrp (void) __attribute__ ((__nothrow__));
3837# 605 "/usr/include/unistd.h" 3 4
3838extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__));
3839# 614 "/usr/include/unistd.h" 3 4
3840extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__));
3841# 631 "/usr/include/unistd.h" 3 4
3842extern int setpgrp (void) __attribute__ ((__nothrow__));
3843# 648 "/usr/include/unistd.h" 3 4
3844extern __pid_t setsid (void) __attribute__ ((__nothrow__));
3845
3846
3847
3848
3849
3850
3851
3852extern __uid_t getuid (void) __attribute__ ((__nothrow__));
3853
3854
3855extern __uid_t geteuid (void) __attribute__ ((__nothrow__));
3856
3857
3858extern __gid_t getgid (void) __attribute__ ((__nothrow__));
3859
3860
3861extern __gid_t getegid (void) __attribute__ ((__nothrow__));
3862
3863
3864
3865
3866extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)) ;
3867# 681 "/usr/include/unistd.h" 3 4
3868extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__));
3869
3870
3871
3872
3873extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__));
3874
3875
3876
3877
3878extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__));
3879
3880
3881
3882
3883
3884
3885extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__));
3886
3887
3888
3889
3890extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__));
3891
3892
3893
3894
3895extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__));
3896# 737 "/usr/include/unistd.h" 3 4
3897extern __pid_t fork (void) __attribute__ ((__nothrow__));
3898
3899
3900
3901
3902
3903
3904extern __pid_t vfork (void) __attribute__ ((__nothrow__));
3905
3906
3907
3908
3909
3910extern char *ttyname (int __fd) __attribute__ ((__nothrow__));
3911
3912
3913
3914extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
3915 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) ;
3916
3917
3918
3919extern int isatty (int __fd) __attribute__ ((__nothrow__));
3920
3921
3922
3923
3924
3925extern int ttyslot (void) __attribute__ ((__nothrow__));
3926
3927
3928
3929
3930extern int link (__const char *__from, __const char *__to)
3931 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) ;
3932
3933
3934
3935
3936extern int linkat (int __fromfd, __const char *__from, int __tofd,
3937 __const char *__to, int __flags)
3938 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))) ;
3939
3940
3941
3942
3943extern int symlink (__const char *__from, __const char *__to)
3944 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) ;
3945
3946
3947
3948
3949extern ssize_t readlink (__const char *__restrict __path,
3950 char *__restrict __buf, size_t __len)
3951 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) ;
3952
3953
3954
3955
3956extern int symlinkat (__const char *__from, int __tofd,
3957 __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
3958
3959
3960extern ssize_t readlinkat (int __fd, __const char *__restrict __path,
3961 char *__restrict __buf, size_t __len)
3962 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) ;
3963
3964
3965
3966extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3967
3968
3969
3970extern int unlinkat (int __fd, __const char *__name, int __flag)
3971 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3972
3973
3974
3975extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3976
3977
3978
3979extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__));
3980
3981
3982extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__));
3983
3984
3985
3986
3987
3988
3989extern char *getlogin (void);
3990
3991
3992
3993
3994
3995
3996
3997extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1)));
3998
3999
4000
4001
4002extern int setlogin (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4003# 851 "/usr/include/unistd.h" 3 4
4004# 1 "/usr/include/getopt.h" 1 3 4
4005# 59 "/usr/include/getopt.h" 3 4
4006extern char *optarg;
4007# 73 "/usr/include/getopt.h" 3 4
4008extern int optind;
4009
4010
4011
4012
4013extern int opterr;
4014
4015
4016
4017extern int optopt;
4018# 152 "/usr/include/getopt.h" 3 4
4019extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
4020 __attribute__ ((__nothrow__));
4021# 852 "/usr/include/unistd.h" 2 3 4
4022
4023
4024
4025
4026
4027
4028
4029extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4030
4031
4032
4033
4034
4035
4036extern int sethostname (__const char *__name, size_t __len)
4037 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
4038
4039
4040
4041extern int sethostid (long int __id) __attribute__ ((__nothrow__)) ;
4042
4043
4044
4045
4046
4047extern int getdomainname (char *__name, size_t __len)
4048 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
4049extern int setdomainname (__const char *__name, size_t __len)
4050 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
4051
4052
4053
4054
4055
4056extern int vhangup (void) __attribute__ ((__nothrow__));
4057
4058
4059extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
4060
4061
4062
4063
4064
4065
4066
4067extern int profil (unsigned short int *__sample_buffer, size_t __size,
4068 size_t __offset, unsigned int __scale)
4069 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4070
4071
4072
4073
4074
4075extern int acct (__const char *__name) __attribute__ ((__nothrow__));
4076
4077
4078
4079extern char *getusershell (void) __attribute__ ((__nothrow__));
4080extern void endusershell (void) __attribute__ ((__nothrow__));
4081extern void setusershell (void) __attribute__ ((__nothrow__));
4082
4083
4084
4085
4086
4087extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)) ;
4088
4089
4090
4091
4092
4093
4094extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
4095
4096
4097
4098extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1)));
4099# 937 "/usr/include/unistd.h" 3 4
4100extern int fsync (int __fd);
4101
4102
4103
4104
4105
4106
4107extern long int gethostid (void);
4108
4109
4110extern void sync (void) __attribute__ ((__nothrow__));
4111
4112
4113
4114
4115extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4116
4117
4118
4119
4120extern int getdtablesize (void) __attribute__ ((__nothrow__));
4121
4122
4123
4124
4125extern int truncate (__const char *__file, __off_t __length)
4126 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
4127# 984 "/usr/include/unistd.h" 3 4
4128extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__)) ;
4129# 1004 "/usr/include/unistd.h" 3 4
4130extern int brk (void *__addr) __attribute__ ((__nothrow__)) ;
4131
4132
4133
4134
4135
4136extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__));
4137# 1025 "/usr/include/unistd.h" 3 4
4138extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__));
4139# 1048 "/usr/include/unistd.h" 3 4
4140extern int lockf (int __fd, int __cmd, __off_t __len) ;
4141# 1079 "/usr/include/unistd.h" 3 4
4142extern int fdatasync (int __fildes);
4143# 1117 "/usr/include/unistd.h" 3 4
4144
4145# 53 "/usr/lib64/bigloo/3.2b/bigloo.h" 2
4146
4147# 1 "/usr/include/signal.h" 1 3 4
4148# 31 "/usr/include/signal.h" 3 4
4149
4150
4151# 1 "/usr/include/bits/sigset.h" 1 3 4
4152# 104 "/usr/include/bits/sigset.h" 3 4
4153extern int __sigismember (__const __sigset_t *, int);
4154extern int __sigaddset (__sigset_t *, int);
4155extern int __sigdelset (__sigset_t *, int);
4156# 34 "/usr/include/signal.h" 2 3 4
4157
4158
4159
4160
4161
4162
4163
4164typedef __sig_atomic_t sig_atomic_t;
4165
4166# 58 "/usr/include/signal.h" 3 4
4167# 1 "/usr/include/bits/signum.h" 1 3 4
4168# 59 "/usr/include/signal.h" 2 3 4
4169# 76 "/usr/include/signal.h" 3 4
4170# 1 "/usr/include/time.h" 1 3 4
4171# 77 "/usr/include/signal.h" 2 3 4
4172
4173
4174# 1 "/usr/include/bits/siginfo.h" 1 3 4
4175# 25 "/usr/include/bits/siginfo.h" 3 4
4176# 1 "/usr/include/bits/wordsize.h" 1 3 4
4177# 26 "/usr/include/bits/siginfo.h" 2 3 4
4178
4179
4180
4181
4182
4183
4184
4185typedef union sigval
4186 {
4187 int sival_int;
4188 void *sival_ptr;
4189 } sigval_t;
4190# 51 "/usr/include/bits/siginfo.h" 3 4
4191typedef struct siginfo
4192 {
4193 int si_signo;
4194 int si_errno;
4195
4196 int si_code;
4197
4198 union
4199 {
4200 int _pad[((128 / sizeof (int)) - 4)];
4201
4202
4203 struct
4204 {
4205 __pid_t si_pid;
4206 __uid_t si_uid;
4207 } _kill;
4208
4209
4210 struct
4211 {
4212 int si_tid;
4213 int si_overrun;
4214 sigval_t si_sigval;
4215 } _timer;
4216
4217
4218 struct
4219 {
4220 __pid_t si_pid;
4221 __uid_t si_uid;
4222 sigval_t si_sigval;
4223 } _rt;
4224
4225
4226 struct
4227 {
4228 __pid_t si_pid;
4229 __uid_t si_uid;
4230 int si_status;
4231 __clock_t si_utime;
4232 __clock_t si_stime;
4233 } _sigchld;
4234
4235
4236 struct
4237 {
4238 void *si_addr;
4239 } _sigfault;
4240
4241
4242 struct
4243 {
4244 long int si_band;
4245 int si_fd;
4246 } _sigpoll;
4247 } _sifields;
4248 } siginfo_t;
4249# 129 "/usr/include/bits/siginfo.h" 3 4
4250enum
4251{
4252 SI_ASYNCNL = -60,
4253
4254 SI_TKILL = -6,
4255
4256 SI_SIGIO,
4257
4258 SI_ASYNCIO,
4259
4260 SI_MESGQ,
4261
4262 SI_TIMER,
4263
4264 SI_QUEUE,
4265
4266 SI_USER,
4267
4268 SI_KERNEL = 0x80
4269
4270};
4271
4272
4273
4274enum
4275{
4276 ILL_ILLOPC = 1,
4277
4278 ILL_ILLOPN,
4279
4280 ILL_ILLADR,
4281
4282 ILL_ILLTRP,
4283
4284 ILL_PRVOPC,
4285
4286 ILL_PRVREG,
4287
4288 ILL_COPROC,
4289
4290 ILL_BADSTK
4291
4292};
4293
4294
4295enum
4296{
4297 FPE_INTDIV = 1,
4298
4299 FPE_INTOVF,
4300
4301 FPE_FLTDIV,
4302
4303 FPE_FLTOVF,
4304
4305 FPE_FLTUND,
4306
4307 FPE_FLTRES,
4308
4309 FPE_FLTINV,
4310
4311 FPE_FLTSUB
4312
4313};
4314
4315
4316enum
4317{
4318 SEGV_MAPERR = 1,
4319
4320 SEGV_ACCERR
4321
4322};
4323
4324
4325enum
4326{
4327 BUS_ADRALN = 1,
4328
4329 BUS_ADRERR,
4330
4331 BUS_OBJERR
4332
4333};
4334
4335
4336enum
4337{
4338 TRAP_BRKPT = 1,
4339
4340 TRAP_TRACE
4341
4342};
4343
4344
4345enum
4346{
4347 CLD_EXITED = 1,
4348
4349 CLD_KILLED,
4350
4351 CLD_DUMPED,
4352
4353 CLD_TRAPPED,
4354
4355 CLD_STOPPED,
4356
4357 CLD_CONTINUED
4358
4359};
4360
4361
4362enum
4363{
4364 POLL_IN = 1,
4365
4366 POLL_OUT,
4367
4368 POLL_MSG,
4369
4370 POLL_ERR,
4371
4372 POLL_PRI,
4373
4374 POLL_HUP
4375
4376};
4377# 273 "/usr/include/bits/siginfo.h" 3 4
4378typedef struct sigevent
4379 {
4380 sigval_t sigev_value;
4381 int sigev_signo;
4382 int sigev_notify;
4383
4384 union
4385 {
4386 int _pad[((64 / sizeof (int)) - 4)];
4387
4388
4389
4390 __pid_t _tid;
4391
4392 struct
4393 {
4394 void (*_function) (sigval_t);
4395 void *_attribute;
4396 } _sigev_thread;
4397 } _sigev_un;
4398 } sigevent_t;
4399
4400
4401
4402
4403
4404
4405enum
4406{
4407 SIGEV_SIGNAL = 0,
4408
4409 SIGEV_NONE,
4410
4411 SIGEV_THREAD,
4412
4413
4414 SIGEV_THREAD_ID = 4
4415
4416};
4417# 80 "/usr/include/signal.h" 2 3 4
4418
4419
4420
4421
4422typedef void (*__sighandler_t) (int);
4423
4424
4425
4426
4427extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
4428 __attribute__ ((__nothrow__));
4429# 99 "/usr/include/signal.h" 3 4
4430
4431
4432extern __sighandler_t signal (int __sig, __sighandler_t __handler)
4433 __attribute__ ((__nothrow__));
4434# 113 "/usr/include/signal.h" 3 4
4435
4436# 126 "/usr/include/signal.h" 3 4
4437extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__));
4438
4439
4440
4441
4442
4443
4444extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__));
4445
4446
4447
4448
4449extern int raise (int __sig) __attribute__ ((__nothrow__));
4450
4451
4452
4453
4454extern __sighandler_t ssignal (int __sig, __sighandler_t __handler)
4455 __attribute__ ((__nothrow__));
4456extern int gsignal (int __sig) __attribute__ ((__nothrow__));
4457
4458
4459
4460
4461extern void psignal (int __sig, __const char *__s);
4462
4463
4464
4465
4466extern void psiginfo (__const siginfo_t *__pinfo, __const char *__s);
4467# 168 "/usr/include/signal.h" 3 4
4468extern int __sigpause (int __sig_or_mask, int __is_sig);
4469# 196 "/usr/include/signal.h" 3 4
4470extern int sigblock (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
4471
4472
4473extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
4474
4475
4476extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
4477# 216 "/usr/include/signal.h" 3 4
4478typedef __sighandler_t sig_t;
4479
4480
4481
4482
4483
4484extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4485
4486
4487extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4488
4489
4490extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4491
4492
4493extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4494
4495
4496extern int sigismember (__const sigset_t *__set, int __signo)
4497 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4498# 252 "/usr/include/signal.h" 3 4
4499# 1 "/usr/include/bits/sigaction.h" 1 3 4
4500# 25 "/usr/include/bits/sigaction.h" 3 4
4501struct sigaction
4502 {
4503
4504
4505 union
4506 {
4507
4508 __sighandler_t sa_handler;
4509
4510 void (*sa_sigaction) (int, siginfo_t *, void *);
4511 }
4512 __sigaction_handler;
4513
4514
4515
4516
4517
4518
4519
4520 __sigset_t sa_mask;
4521
4522
4523 int sa_flags;
4524
4525
4526 void (*sa_restorer) (void);
4527 };
4528# 253 "/usr/include/signal.h" 2 3 4
4529
4530
4531extern int sigprocmask (int __how, __const sigset_t *__restrict __set,
4532 sigset_t *__restrict __oset) __attribute__ ((__nothrow__));
4533
4534
4535
4536
4537
4538
4539extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1)));
4540
4541
4542extern int sigaction (int __sig, __const struct sigaction *__restrict __act,
4543 struct sigaction *__restrict __oact) __attribute__ ((__nothrow__));
4544
4545
4546extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4547
4548
4549
4550
4551
4552
4553extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig)
4554 __attribute__ ((__nonnull__ (1, 2)));
4555
4556
4557
4558
4559
4560
4561extern int sigwaitinfo (__const sigset_t *__restrict __set,
4562 siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1)));
4563
4564
4565
4566
4567
4568
4569extern int sigtimedwait (__const sigset_t *__restrict __set,
4570 siginfo_t *__restrict __info,
4571 __const struct timespec *__restrict __timeout)
4572 __attribute__ ((__nonnull__ (1)));
4573
4574
4575
4576extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val)
4577 __attribute__ ((__nothrow__));
4578# 310 "/usr/include/signal.h" 3 4
4579extern __const char *__const _sys_siglist[65];
4580extern __const char *__const sys_siglist[65];
4581
4582
4583struct sigvec
4584 {
4585 __sighandler_t sv_handler;
4586 int sv_mask;
4587
4588 int sv_flags;
4589
4590 };
4591# 334 "/usr/include/signal.h" 3 4
4592extern int sigvec (int __sig, __const struct sigvec *__vec,
4593 struct sigvec *__ovec) __attribute__ ((__nothrow__));
4594
4595
4596
4597# 1 "/usr/include/bits/sigcontext.h" 1 3 4
4598# 26 "/usr/include/bits/sigcontext.h" 3 4
4599# 1 "/usr/include/bits/wordsize.h" 1 3 4
4600# 27 "/usr/include/bits/sigcontext.h" 2 3 4
4601
4602struct _fpreg
4603{
4604 unsigned short significand[4];
4605 unsigned short exponent;
4606};
4607
4608struct _fpxreg
4609{
4610 unsigned short significand[4];
4611 unsigned short exponent;
4612 unsigned short padding[3];
4613};
4614
4615struct _xmmreg
4616{
4617 __uint32_t element[4];
4618};
4619# 109 "/usr/include/bits/sigcontext.h" 3 4
4620struct _fpstate
4621{
4622
4623 __uint16_t cwd;
4624 __uint16_t swd;
4625 __uint16_t ftw;
4626 __uint16_t fop;
4627 __uint64_t rip;
4628 __uint64_t rdp;
4629 __uint32_t mxcsr;
4630 __uint32_t mxcr_mask;
4631 struct _fpxreg _st[8];
4632 struct _xmmreg _xmm[16];
4633 __uint32_t padding[24];
4634};
4635
4636struct sigcontext
4637{
4638 unsigned long r8;
4639 unsigned long r9;
4640 unsigned long r10;
4641 unsigned long r11;
4642 unsigned long r12;
4643 unsigned long r13;
4644 unsigned long r14;
4645 unsigned long r15;
4646 unsigned long rdi;
4647 unsigned long rsi;
4648 unsigned long rbp;
4649 unsigned long rbx;
4650 unsigned long rdx;
4651 unsigned long rax;
4652 unsigned long rcx;
4653 unsigned long rsp;
4654 unsigned long rip;
4655 unsigned long eflags;
4656 unsigned short cs;
4657 unsigned short gs;
4658 unsigned short fs;
4659 unsigned short __pad0;
4660 unsigned long err;
4661 unsigned long trapno;
4662 unsigned long oldmask;
4663 unsigned long cr2;
4664 struct _fpstate * fpstate;
4665 unsigned long __reserved1 [8];
4666};
4667# 340 "/usr/include/signal.h" 2 3 4
4668
4669
4670extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__));
4671
4672
4673
4674
4675
4676
4677# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stddef.h" 1 3 4
4678# 350 "/usr/include/signal.h" 2 3 4
4679
4680
4681
4682
4683extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__));
4684
4685# 1 "/usr/include/bits/sigstack.h" 1 3 4
4686# 26 "/usr/include/bits/sigstack.h" 3 4
4687struct sigstack
4688 {
4689 void *ss_sp;
4690 int ss_onstack;
4691 };
4692
4693
4694
4695enum
4696{
4697 SS_ONSTACK = 1,
4698
4699 SS_DISABLE
4700
4701};
4702# 50 "/usr/include/bits/sigstack.h" 3 4
4703typedef struct sigaltstack
4704 {
4705 void *ss_sp;
4706 int ss_flags;
4707 size_t ss_size;
4708 } stack_t;
4709# 357 "/usr/include/signal.h" 2 3 4
4710# 365 "/usr/include/signal.h" 3 4
4711extern int sigstack (struct sigstack *__ss, struct sigstack *__oss)
4712 __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
4713
4714
4715
4716extern int sigaltstack (__const struct sigaltstack *__restrict __ss,
4717 struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__));
4718# 395 "/usr/include/signal.h" 3 4
4719# 1 "/usr/include/bits/sigthread.h" 1 3 4
4720# 31 "/usr/include/bits/sigthread.h" 3 4
4721extern int pthread_sigmask (int __how,
4722 __const __sigset_t *__restrict __newmask,
4723 __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__));
4724
4725
4726extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__));
4727# 396 "/usr/include/signal.h" 2 3 4
4728
4729
4730
4731
4732
4733
4734extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__));
4735
4736extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__));
4737
4738
4739
4740
4741# 55 "/usr/lib64/bigloo/3.2b/bigloo.h" 2
4742# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include-fixed/limits.h" 1 3 4
4743# 11 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include-fixed/limits.h" 3 4
4744# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include-fixed/syslimits.h" 1 3 4
4745
4746
4747
4748
4749
4750
4751# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include-fixed/limits.h" 1 3 4
4752# 122 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include-fixed/limits.h" 3 4
4753# 1 "/usr/include/limits.h" 1 3 4
4754# 145 "/usr/include/limits.h" 3 4
4755# 1 "/usr/include/bits/posix1_lim.h" 1 3 4
4756# 157 "/usr/include/bits/posix1_lim.h" 3 4
4757# 1 "/usr/include/bits/local_lim.h" 1 3 4
4758# 39 "/usr/include/bits/local_lim.h" 3 4
4759# 1 "/usr/include/linux/limits.h" 1 3 4
4760# 40 "/usr/include/bits/local_lim.h" 2 3 4
4761# 158 "/usr/include/bits/posix1_lim.h" 2 3 4
4762# 146 "/usr/include/limits.h" 2 3 4
4763
4764
4765
4766# 1 "/usr/include/bits/posix2_lim.h" 1 3 4
4767# 150 "/usr/include/limits.h" 2 3 4
4768# 123 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include-fixed/limits.h" 2 3 4
4769# 8 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include-fixed/syslimits.h" 2 3 4
4770# 12 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include-fixed/limits.h" 2 3 4
4771# 56 "/usr/lib64/bigloo/3.2b/bigloo.h" 2
4772
4773# 1 "/usr/include/sys/stat.h" 1 3 4
4774# 39 "/usr/include/sys/stat.h" 3 4
4775# 1 "/usr/include/time.h" 1 3 4
4776# 40 "/usr/include/sys/stat.h" 2 3 4
4777# 105 "/usr/include/sys/stat.h" 3 4
4778
4779
4780# 1 "/usr/include/bits/stat.h" 1 3 4
4781# 43 "/usr/include/bits/stat.h" 3 4
4782struct stat
4783 {
4784 __dev_t st_dev;
4785
4786
4787
4788
4789 __ino_t st_ino;
4790
4791
4792
4793
4794
4795
4796
4797 __nlink_t st_nlink;
4798 __mode_t st_mode;
4799
4800 __uid_t st_uid;
4801 __gid_t st_gid;
4802
4803 int __pad0;
4804
4805 __dev_t st_rdev;
4806
4807
4808
4809
4810 __off_t st_size;
4811
4812
4813
4814 __blksize_t st_blksize;
4815
4816 __blkcnt_t st_blocks;
4817# 88 "/usr/include/bits/stat.h" 3 4
4818 struct timespec st_atim;
4819 struct timespec st_mtim;
4820 struct timespec st_ctim;
4821# 103 "/usr/include/bits/stat.h" 3 4
4822 long int __unused[3];
4823# 112 "/usr/include/bits/stat.h" 3 4
4824 };
4825# 108 "/usr/include/sys/stat.h" 2 3 4
4826# 209 "/usr/include/sys/stat.h" 3 4
4827extern int stat (__const char *__restrict __file,
4828 struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4829
4830
4831
4832extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
4833# 238 "/usr/include/sys/stat.h" 3 4
4834extern int fstatat (int __fd, __const char *__restrict __file,
4835 struct stat *__restrict __buf, int __flag)
4836 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
4837# 263 "/usr/include/sys/stat.h" 3 4
4838extern int lstat (__const char *__restrict __file,
4839 struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4840# 284 "/usr/include/sys/stat.h" 3 4
4841extern int chmod (__const char *__file, __mode_t __mode)
4842 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4843
4844
4845
4846
4847
4848extern int lchmod (__const char *__file, __mode_t __mode)
4849 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4850
4851
4852
4853
4854extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__));
4855
4856
4857
4858
4859
4860extern int fchmodat (int __fd, __const char *__file, __mode_t __mode,
4861 int __flag)
4862 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) ;
4863
4864
4865
4866
4867
4868
4869extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__));
4870# 321 "/usr/include/sys/stat.h" 3 4
4871extern int mkdir (__const char *__path, __mode_t __mode)
4872 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4873
4874
4875
4876
4877
4878extern int mkdirat (int __fd, __const char *__path, __mode_t __mode)
4879 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
4880
4881
4882
4883
4884
4885
4886extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
4887 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4888
4889
4890
4891
4892
4893extern int mknodat (int __fd, __const char *__path, __mode_t __mode,
4894 __dev_t __dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
4895
4896
4897
4898
4899
4900extern int mkfifo (__const char *__path, __mode_t __mode)
4901 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4902
4903
4904
4905
4906
4907extern int mkfifoat (int __fd, __const char *__path, __mode_t __mode)
4908 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
4909
4910
4911
4912
4913
4914extern int utimensat (int __fd, __const char *__path,
4915 __const struct timespec __times[2],
4916 int __flags)
4917 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
4918
4919
4920
4921
4922extern int futimens (int __fd, __const struct timespec __times[2]) __attribute__ ((__nothrow__));
4923# 399 "/usr/include/sys/stat.h" 3 4
4924extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf)
4925 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
4926extern int __xstat (int __ver, __const char *__filename,
4927 struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
4928extern int __lxstat (int __ver, __const char *__filename,
4929 struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
4930extern int __fxstatat (int __ver, int __fildes, __const char *__filename,
4931 struct stat *__stat_buf, int __flag)
4932 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4)));
4933# 442 "/usr/include/sys/stat.h" 3 4
4934extern int __xmknod (int __ver, __const char *__path, __mode_t __mode,
4935 __dev_t *__dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
4936
4937extern int __xmknodat (int __ver, int __fd, __const char *__path,
4938 __mode_t __mode, __dev_t *__dev)
4939 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 5)));
4940# 534 "/usr/include/sys/stat.h" 3 4
4941
4942# 58 "/usr/lib64/bigloo/3.2b/bigloo.h" 2
4943# 89 "/usr/lib64/bigloo/3.2b/bigloo.h"
4944# 1 "/usr/lib64/bigloo/3.2b/bigloo_config.h" 1
4945# 90 "/usr/lib64/bigloo/3.2b/bigloo.h" 2
4946# 108 "/usr/lib64/bigloo/3.2b/bigloo.h"
4947# 1 "/usr/include/stdint.h" 1 3 4
4948# 27 "/usr/include/stdint.h" 3 4
4949# 1 "/usr/include/bits/wchar.h" 1 3 4
4950# 28 "/usr/include/stdint.h" 2 3 4
4951# 1 "/usr/include/bits/wordsize.h" 1 3 4
4952# 29 "/usr/include/stdint.h" 2 3 4
4953# 49 "/usr/include/stdint.h" 3 4
4954typedef unsigned char uint8_t;
4955typedef unsigned short int uint16_t;
4956
4957typedef unsigned int uint32_t;
4958
4959
4960
4961typedef unsigned long int uint64_t;
4962# 66 "/usr/include/stdint.h" 3 4
4963typedef signed char int_least8_t;
4964typedef short int int_least16_t;
4965typedef int int_least32_t;
4966
4967typedef long int int_least64_t;
4968
4969
4970
4971
4972
4973
4974typedef unsigned char uint_least8_t;
4975typedef unsigned short int uint_least16_t;
4976typedef unsigned int uint_least32_t;
4977
4978typedef unsigned long int uint_least64_t;
4979# 91 "/usr/include/stdint.h" 3 4
4980typedef signed char int_fast8_t;
4981
4982typedef long int int_fast16_t;
4983typedef long int int_fast32_t;
4984typedef long int int_fast64_t;
4985# 104 "/usr/include/stdint.h" 3 4
4986typedef unsigned char uint_fast8_t;
4987
4988typedef unsigned long int uint_fast16_t;
4989typedef unsigned long int uint_fast32_t;
4990typedef unsigned long int uint_fast64_t;
4991# 123 "/usr/include/stdint.h" 3 4
4992typedef unsigned long int uintptr_t;
4993# 135 "/usr/include/stdint.h" 3 4
4994typedef long int intmax_t;
4995typedef unsigned long int uintmax_t;
4996# 109 "/usr/lib64/bigloo/3.2b/bigloo.h" 2
4997# 124 "/usr/lib64/bigloo/3.2b/bigloo.h"
4998# 1 "/usr/include/gmp.h" 1 3 4
4999# 53 "/usr/include/gmp.h" 3 4
5000# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stddef.h" 1 3 4
5001# 54 "/usr/include/gmp.h" 2 3 4
5002# 194 "/usr/include/gmp.h" 3 4
5003typedef unsigned long int mp_limb_t;
5004typedef long int mp_limb_signed_t;
5005
5006
5007
5008
5009
5010
5011typedef struct
5012{
5013 int _mp_alloc;
5014
5015 int _mp_size;
5016
5017
5018 mp_limb_t *_mp_d;
5019} __mpz_struct;
5020
5021
5022
5023
5024typedef __mpz_struct MP_INT;
5025typedef __mpz_struct mpz_t[1];
5026
5027typedef mp_limb_t * mp_ptr;
5028typedef const mp_limb_t * mp_srcptr;
5029
5030
5031
5032
5033
5034
5035
5036typedef long int mp_size_t;
5037typedef long int mp_exp_t;
5038
5039
5040typedef struct
5041{
5042 __mpz_struct _mp_num;
5043 __mpz_struct _mp_den;
5044} __mpq_struct;
5045
5046typedef __mpq_struct MP_RAT;
5047typedef __mpq_struct mpq_t[1];
5048
5049typedef struct
5050{
5051 int _mp_prec;
5052
5053
5054
5055 int _mp_size;
5056
5057
5058 mp_exp_t _mp_exp;
5059 mp_limb_t *_mp_d;
5060} __mpf_struct;
5061
5062
5063typedef __mpf_struct mpf_t[1];
5064
5065
5066typedef enum
5067{
5068 GMP_RAND_ALG_DEFAULT = 0,
5069 GMP_RAND_ALG_LC = GMP_RAND_ALG_DEFAULT
5070} gmp_randalg_t;
5071
5072
5073typedef struct
5074{
5075 mpz_t _mp_seed;
5076 gmp_randalg_t _mp_alg;
5077 union {
5078 void *_mp_lc;
5079 } _mp_algdata;
5080} __gmp_randstate_struct;
5081typedef __gmp_randstate_struct gmp_randstate_t[1];
5082
5083
5084
5085typedef const __mpz_struct *mpz_srcptr;
5086typedef __mpz_struct *mpz_ptr;
5087typedef const __mpf_struct *mpf_srcptr;
5088typedef __mpf_struct *mpf_ptr;
5089typedef const __mpq_struct *mpq_srcptr;
5090typedef __mpq_struct *mpq_ptr;
5091# 542 "/usr/include/gmp.h" 3 4
5092 void __gmp_set_memory_functions (void *(*) (size_t), void *(*) (void *, size_t, size_t), void (*) (void *, size_t)) ;
5093
5094
5095
5096
5097 void __gmp_get_memory_functions (void *(**) (size_t), void *(**) (void *, size_t, size_t), void (**) (void *, size_t)) ;
5098
5099
5100
5101
5102 extern const int __gmp_bits_per_limb;
5103
5104
5105 extern int __gmp_errno;
5106
5107
5108 extern const char * const __gmp_version;
5109
5110
5111
5112
5113
5114
5115 void __gmp_randinit (gmp_randstate_t, gmp_randalg_t, ...);
5116
5117
5118 void __gmp_randinit_default (gmp_randstate_t);
5119
5120
5121 void __gmp_randinit_lc_2exp (gmp_randstate_t, mpz_srcptr, unsigned long int, unsigned long int);
5122
5123
5124
5125
5126 int __gmp_randinit_lc_2exp_size (gmp_randstate_t, unsigned long);
5127
5128
5129 void __gmp_randinit_mt (gmp_randstate_t);
5130
5131
5132 void __gmp_randinit_set (gmp_randstate_t, const __gmp_randstate_struct *);
5133
5134
5135 void __gmp_randseed (gmp_randstate_t, mpz_srcptr);
5136
5137
5138 void __gmp_randseed_ui (gmp_randstate_t, unsigned long int);
5139
5140
5141 void __gmp_randclear (gmp_randstate_t);
5142
5143
5144 unsigned long __gmp_urandomb_ui (gmp_randstate_t, unsigned long);
5145
5146
5147 unsigned long __gmp_urandomm_ui (gmp_randstate_t, unsigned long);
5148
5149
5150
5151
5152
5153 int __gmp_asprintf (char **, const char *, ...);
5154
5155
5156
5157 int __gmp_fprintf (FILE *, const char *, ...);
5158# 621 "/usr/include/gmp.h" 3 4
5159 int __gmp_printf (const char *, ...);
5160
5161
5162 int __gmp_snprintf (char *, size_t, const char *, ...);
5163
5164
5165 int __gmp_sprintf (char *, const char *, ...);
5166# 659 "/usr/include/gmp.h" 3 4
5167 int __gmp_fscanf (FILE *, const char *, ...);
5168
5169
5170
5171 int __gmp_scanf (const char *, ...);
5172
5173
5174 int __gmp_sscanf (const char *, const char *, ...);
5175# 688 "/usr/include/gmp.h" 3 4
5176 void *__gmpz_realloc (mpz_ptr, mp_size_t);
5177
5178
5179
5180 void __gmpz_abs (mpz_ptr, mpz_srcptr);
5181
5182
5183
5184 void __gmpz_add (mpz_ptr, mpz_srcptr, mpz_srcptr);
5185
5186
5187 void __gmpz_add_ui (mpz_ptr, mpz_srcptr, unsigned long int);
5188
5189
5190 void __gmpz_addmul (mpz_ptr, mpz_srcptr, mpz_srcptr);
5191
5192
5193 void __gmpz_addmul_ui (mpz_ptr, mpz_srcptr, unsigned long int);
5194
5195
5196 void __gmpz_and (mpz_ptr, mpz_srcptr, mpz_srcptr);
5197
5198
5199 void __gmpz_array_init (mpz_ptr, mp_size_t, mp_size_t);
5200
5201
5202 void __gmpz_bin_ui (mpz_ptr, mpz_srcptr, unsigned long int);
5203
5204
5205 void __gmpz_bin_uiui (mpz_ptr, unsigned long int, unsigned long int);
5206
5207
5208 void __gmpz_cdiv_q (mpz_ptr, mpz_srcptr, mpz_srcptr);
5209
5210
5211 void __gmpz_cdiv_q_2exp (mpz_ptr, mpz_srcptr, unsigned long);
5212
5213
5214 unsigned long int __gmpz_cdiv_q_ui (mpz_ptr, mpz_srcptr, unsigned long int);
5215
5216
5217 void __gmpz_cdiv_qr (mpz_ptr, mpz_ptr, mpz_srcptr, mpz_srcptr);
5218
5219
5220 unsigned long int __gmpz_cdiv_qr_ui (mpz_ptr, mpz_ptr, mpz_srcptr, unsigned long int);
5221
5222
5223 void __gmpz_cdiv_r (mpz_ptr, mpz_srcptr, mpz_srcptr);
5224
5225
5226 void __gmpz_cdiv_r_2exp (mpz_ptr, mpz_srcptr, unsigned long);
5227
5228
5229 unsigned long int __gmpz_cdiv_r_ui (mpz_ptr, mpz_srcptr, unsigned long int);
5230
5231
5232 unsigned long int __gmpz_cdiv_ui (mpz_srcptr, unsigned long int) __attribute__ ((__pure__));
5233
5234
5235 void __gmpz_clear (mpz_ptr);
5236
5237
5238 void __gmpz_clrbit (mpz_ptr, unsigned long int);
5239
5240
5241 int __gmpz_cmp (mpz_srcptr, mpz_srcptr) __attribute__ ((__pure__));
5242
5243
5244 int __gmpz_cmp_d (mpz_srcptr, double) __attribute__ ((__pure__));
5245
5246
5247 int __gmpz_cmp_si (mpz_srcptr, signed long int) __attribute__ ((__pure__));
5248
5249
5250 int __gmpz_cmp_ui (mpz_srcptr, unsigned long int) __attribute__ ((__pure__));
5251
5252
5253 int __gmpz_cmpabs (mpz_srcptr, mpz_srcptr) __attribute__ ((__pure__));
5254
5255
5256 int __gmpz_cmpabs_d (mpz_srcptr, double) __attribute__ ((__pure__));
5257
5258
5259 int __gmpz_cmpabs_ui (mpz_srcptr, unsigned long int) __attribute__ ((__pure__));
5260
5261
5262 void __gmpz_com (mpz_ptr, mpz_srcptr);
5263
5264
5265 void __gmpz_combit (mpz_ptr, unsigned long int);
5266
5267
5268 int __gmpz_congruent_p (mpz_srcptr, mpz_srcptr, mpz_srcptr) __attribute__ ((__pure__));
5269
5270
5271 int __gmpz_congruent_2exp_p (mpz_srcptr, mpz_srcptr, unsigned long) __attribute__ ((__pure__));
5272
5273
5274 int __gmpz_congruent_ui_p (mpz_srcptr, unsigned long, unsigned long) __attribute__ ((__pure__));
5275
5276
5277 void __gmpz_divexact (mpz_ptr, mpz_srcptr, mpz_srcptr);
5278
5279
5280 void __gmpz_divexact_ui (mpz_ptr, mpz_srcptr, unsigned long);
5281
5282
5283 int __gmpz_divisible_p (mpz_srcptr, mpz_srcptr) __attribute__ ((__pure__));
5284
5285
5286 int __gmpz_divisible_ui_p (mpz_srcptr, unsigned long) __attribute__ ((__pure__));
5287
5288
5289 int __gmpz_divisible_2exp_p (mpz_srcptr, unsigned long) __attribute__ ((__pure__));
5290
5291
5292 void __gmpz_dump (mpz_srcptr);
5293
5294
5295 void *__gmpz_export (void *, size_t *, int, size_t, int, size_t, mpz_srcptr);
5296
5297
5298 void __gmpz_fac_ui (mpz_ptr, unsigned long int);
5299
5300
5301 void __gmpz_fdiv_q (mpz_ptr, mpz_srcptr, mpz_srcptr);
5302
5303
5304 void __gmpz_fdiv_q_2exp (mpz_ptr, mpz_srcptr, unsigned long int);
5305
5306
5307 unsigned long int __gmpz_fdiv_q_ui (mpz_ptr, mpz_srcptr, unsigned long int);
5308
5309
5310 void __gmpz_fdiv_qr (mpz_ptr, mpz_ptr, mpz_srcptr, mpz_srcptr);
5311
5312
5313 unsigned long int __gmpz_fdiv_qr_ui (mpz_ptr, mpz_ptr, mpz_srcptr, unsigned long int);
5314
5315
5316 void __gmpz_fdiv_r (mpz_ptr, mpz_srcptr, mpz_srcptr);
5317
5318
5319 void __gmpz_fdiv_r_2exp (mpz_ptr, mpz_srcptr, unsigned long int);
5320
5321
5322 unsigned long int __gmpz_fdiv_r_ui (mpz_ptr, mpz_srcptr, unsigned long int);
5323
5324
5325 unsigned long int __gmpz_fdiv_ui (mpz_srcptr, unsigned long int) __attribute__ ((__pure__));
5326
5327
5328 void __gmpz_fib_ui (mpz_ptr, unsigned long int);
5329
5330
5331 void __gmpz_fib2_ui (mpz_ptr, mpz_ptr, unsigned long int);
5332
5333
5334 int __gmpz_fits_sint_p (mpz_srcptr) __attribute__ ((__pure__));
5335
5336
5337 int __gmpz_fits_slong_p (mpz_srcptr) __attribute__ ((__pure__));
5338
5339
5340 int __gmpz_fits_sshort_p (mpz_srcptr) __attribute__ ((__pure__));
5341
5342
5343
5344 int __gmpz_fits_uint_p (mpz_srcptr) __attribute__ ((__pure__));
5345
5346
5347
5348
5349 int __gmpz_fits_ulong_p (mpz_srcptr) __attribute__ ((__pure__));
5350
5351
5352
5353
5354 int __gmpz_fits_ushort_p (mpz_srcptr) __attribute__ ((__pure__));
5355
5356
5357
5358 void __gmpz_gcd (mpz_ptr, mpz_srcptr, mpz_srcptr);
5359
5360
5361 unsigned long int __gmpz_gcd_ui (mpz_ptr, mpz_srcptr, unsigned long int);
5362
5363
5364 void __gmpz_gcdext (mpz_ptr, mpz_ptr, mpz_ptr, mpz_srcptr, mpz_srcptr);
5365
5366
5367 double __gmpz_get_d (mpz_srcptr) __attribute__ ((__pure__));
5368
5369
5370 double __gmpz_get_d_2exp (signed long int *, mpz_srcptr);
5371
5372
5373 long int __gmpz_get_si (mpz_srcptr) __attribute__ ((__pure__));
5374
5375
5376 char *__gmpz_get_str (char *, int, mpz_srcptr);
5377
5378
5379
5380 unsigned long int __gmpz_get_ui (mpz_srcptr) __attribute__ ((__pure__));
5381
5382
5383
5384
5385 mp_limb_t __gmpz_getlimbn (mpz_srcptr, mp_size_t) __attribute__ ((__pure__));
5386
5387
5388
5389 unsigned long int __gmpz_hamdist (mpz_srcptr, mpz_srcptr) __attribute__ ((__pure__));
5390
5391
5392 void __gmpz_import (mpz_ptr, size_t, int, size_t, int, size_t, const void *);
5393
5394
5395 void __gmpz_init (mpz_ptr);
5396
5397
5398 void __gmpz_init2 (mpz_ptr, unsigned long);
5399
5400
5401 void __gmpz_init_set (mpz_ptr, mpz_srcptr);
5402
5403
5404 void __gmpz_init_set_d (mpz_ptr, double);
5405
5406
5407 void __gmpz_init_set_si (mpz_ptr, signed long int);
5408
5409
5410 int __gmpz_init_set_str (mpz_ptr, const char *, int);
5411
5412
5413 void __gmpz_init_set_ui (mpz_ptr, unsigned long int);
5414
5415
5416
5417 size_t __gmpz_inp_raw (mpz_ptr, FILE *);
5418
5419
5420
5421
5422 size_t __gmpz_inp_str (mpz_ptr, FILE *, int);
5423
5424
5425
5426 int __gmpz_invert (mpz_ptr, mpz_srcptr, mpz_srcptr);
5427
5428
5429 void __gmpz_ior (mpz_ptr, mpz_srcptr, mpz_srcptr);
5430
5431
5432 int __gmpz_jacobi (mpz_srcptr, mpz_srcptr) __attribute__ ((__pure__));
5433
5434
5435
5436
5437 int __gmpz_kronecker_si (mpz_srcptr, long) __attribute__ ((__pure__));
5438
5439
5440 int __gmpz_kronecker_ui (mpz_srcptr, unsigned long) __attribute__ ((__pure__));
5441
5442
5443 int __gmpz_si_kronecker (long, mpz_srcptr) __attribute__ ((__pure__));
5444
5445
5446 int __gmpz_ui_kronecker (unsigned long, mpz_srcptr) __attribute__ ((__pure__));
5447
5448
5449 void __gmpz_lcm (mpz_ptr, mpz_srcptr, mpz_srcptr);
5450
5451
5452 void __gmpz_lcm_ui (mpz_ptr, mpz_srcptr, unsigned long);
5453
5454
5455
5456
5457 void __gmpz_lucnum_ui (mpz_ptr, unsigned long int);
5458
5459
5460 void __gmpz_lucnum2_ui (mpz_ptr, mpz_ptr, unsigned long int);
5461
5462
5463 int __gmpz_millerrabin (mpz_srcptr, int) __attribute__ ((__pure__));
5464
5465
5466 void __gmpz_mod (mpz_ptr, mpz_srcptr, mpz_srcptr);
5467
5468
5469
5470
5471 void __gmpz_mul (mpz_ptr, mpz_srcptr, mpz_srcptr);
5472
5473
5474 void __gmpz_mul_2exp (mpz_ptr, mpz_srcptr, unsigned long int);
5475
5476
5477 void __gmpz_mul_si (mpz_ptr, mpz_srcptr, long int);
5478
5479
5480 void __gmpz_mul_ui (mpz_ptr, mpz_srcptr, unsigned long int);
5481
5482
5483
5484 void __gmpz_neg (mpz_ptr, mpz_srcptr);
5485
5486
5487
5488 void __gmpz_nextprime (mpz_ptr, mpz_srcptr);
5489
5490
5491
5492 size_t __gmpz_out_raw (FILE *, mpz_srcptr);
5493
5494
5495
5496
5497 size_t __gmpz_out_str (FILE *, int, mpz_srcptr);
5498
5499
5500
5501 int __gmpz_perfect_power_p (mpz_srcptr) __attribute__ ((__pure__));
5502
5503
5504
5505 int __gmpz_perfect_square_p (mpz_srcptr) __attribute__ ((__pure__));
5506
5507
5508
5509
5510 unsigned long int __gmpz_popcount (mpz_srcptr) __attribute__ ((__pure__));
5511
5512
5513
5514 void __gmpz_pow_ui (mpz_ptr, mpz_srcptr, unsigned long int);
5515
5516
5517 void __gmpz_powm (mpz_ptr, mpz_srcptr, mpz_srcptr, mpz_srcptr);
5518
5519
5520 void __gmpz_powm_ui (mpz_ptr, mpz_srcptr, unsigned long int, mpz_srcptr);
5521
5522
5523 int __gmpz_probab_prime_p (mpz_srcptr, int) __attribute__ ((__pure__));
5524
5525
5526 void __gmpz_random (mpz_ptr, mp_size_t);
5527
5528
5529 void __gmpz_random2 (mpz_ptr, mp_size_t);
5530
5531
5532 void __gmpz_realloc2 (mpz_ptr, unsigned long);
5533
5534
5535 unsigned long int __gmpz_remove (mpz_ptr, mpz_srcptr, mpz_srcptr);
5536
5537
5538 int __gmpz_root (mpz_ptr, mpz_srcptr, unsigned long int);
5539
5540
5541 void __gmpz_rootrem (mpz_ptr,mpz_ptr, mpz_srcptr, unsigned long int);
5542
5543
5544 void __gmpz_rrandomb (mpz_ptr, gmp_randstate_t, unsigned long int);
5545
5546
5547 unsigned long int __gmpz_scan0 (mpz_srcptr, unsigned long int) __attribute__ ((__pure__));
5548
5549
5550 unsigned long int __gmpz_scan1 (mpz_srcptr, unsigned long int) __attribute__ ((__pure__));
5551
5552
5553 void __gmpz_set (mpz_ptr, mpz_srcptr);
5554
5555
5556 void __gmpz_set_d (mpz_ptr, double);
5557
5558
5559 void __gmpz_set_f (mpz_ptr, mpf_srcptr);
5560
5561
5562
5563 void __gmpz_set_q (mpz_ptr, mpq_srcptr);
5564
5565
5566
5567 void __gmpz_set_si (mpz_ptr, signed long int);
5568
5569
5570 int __gmpz_set_str (mpz_ptr, const char *, int);
5571
5572
5573 void __gmpz_set_ui (mpz_ptr, unsigned long int);
5574
5575
5576 void __gmpz_setbit (mpz_ptr, unsigned long int);
5577
5578
5579
5580 size_t __gmpz_size (mpz_srcptr) __attribute__ ((__pure__));
5581
5582
5583
5584 size_t __gmpz_sizeinbase (mpz_srcptr, int) __attribute__ ((__pure__));
5585
5586
5587 void __gmpz_sqrt (mpz_ptr, mpz_srcptr);
5588
5589
5590 void __gmpz_sqrtrem (mpz_ptr, mpz_ptr, mpz_srcptr);
5591
5592
5593 void __gmpz_sub (mpz_ptr, mpz_srcptr, mpz_srcptr);
5594
5595
5596 void __gmpz_sub_ui (mpz_ptr, mpz_srcptr, unsigned long int);
5597
5598
5599 void __gmpz_ui_sub (mpz_ptr, unsigned long int, mpz_srcptr);
5600
5601
5602 void __gmpz_submul (mpz_ptr, mpz_srcptr, mpz_srcptr);
5603
5604
5605 void __gmpz_submul_ui (mpz_ptr, mpz_srcptr, unsigned long int);
5606
5607
5608 void __gmpz_swap (mpz_ptr, mpz_ptr) ;
5609
5610
5611 unsigned long int __gmpz_tdiv_ui (mpz_srcptr, unsigned long int) __attribute__ ((__pure__));
5612
5613
5614 void __gmpz_tdiv_q (mpz_ptr, mpz_srcptr, mpz_srcptr);
5615
5616
5617 void __gmpz_tdiv_q_2exp (mpz_ptr, mpz_srcptr, unsigned long int);
5618
5619
5620 unsigned long int __gmpz_tdiv_q_ui (mpz_ptr, mpz_srcptr, unsigned long int);
5621
5622
5623 void __gmpz_tdiv_qr (mpz_ptr, mpz_ptr, mpz_srcptr, mpz_srcptr);
5624
5625
5626 unsigned long int __gmpz_tdiv_qr_ui (mpz_ptr, mpz_ptr, mpz_srcptr, unsigned long int);
5627
5628
5629 void __gmpz_tdiv_r (mpz_ptr, mpz_srcptr, mpz_srcptr);
5630
5631
5632 void __gmpz_tdiv_r_2exp (mpz_ptr, mpz_srcptr, unsigned long int);
5633
5634
5635 unsigned long int __gmpz_tdiv_r_ui (mpz_ptr, mpz_srcptr, unsigned long int);
5636
5637
5638 int __gmpz_tstbit (mpz_srcptr, unsigned long int) __attribute__ ((__pure__));
5639
5640
5641 void __gmpz_ui_pow_ui (mpz_ptr, unsigned long int, unsigned long int);
5642
5643
5644 void __gmpz_urandomb (mpz_ptr, gmp_randstate_t, unsigned long int);
5645
5646
5647 void __gmpz_urandomm (mpz_ptr, gmp_randstate_t, mpz_srcptr);
5648
5649
5650
5651 void __gmpz_xor (mpz_ptr, mpz_srcptr, mpz_srcptr);
5652
5653
5654
5655
5656
5657
5658 void __gmpq_abs (mpq_ptr, mpq_srcptr);
5659
5660
5661
5662 void __gmpq_add (mpq_ptr, mpq_srcptr, mpq_srcptr);
5663
5664
5665 void __gmpq_canonicalize (mpq_ptr);
5666
5667
5668 void __gmpq_clear (mpq_ptr);
5669
5670
5671 int __gmpq_cmp (mpq_srcptr, mpq_srcptr) __attribute__ ((__pure__));
5672
5673
5674 int __gmpq_cmp_si (mpq_srcptr, long, unsigned long) __attribute__ ((__pure__));
5675
5676
5677 int __gmpq_cmp_ui (mpq_srcptr, unsigned long int, unsigned long int) __attribute__ ((__pure__));
5678
5679
5680 void __gmpq_div (mpq_ptr, mpq_srcptr, mpq_srcptr);
5681
5682
5683 void __gmpq_div_2exp (mpq_ptr, mpq_srcptr, unsigned long);
5684
5685
5686 int __gmpq_equal (mpq_srcptr, mpq_srcptr) __attribute__ ((__pure__));
5687
5688
5689 void __gmpq_get_num (mpz_ptr, mpq_srcptr);
5690
5691
5692 void __gmpq_get_den (mpz_ptr, mpq_srcptr);
5693
5694
5695 double __gmpq_get_d (mpq_srcptr) __attribute__ ((__pure__));
5696
5697
5698 char *__gmpq_get_str (char *, int, mpq_srcptr);
5699
5700
5701 void __gmpq_init (mpq_ptr);
5702
5703
5704
5705 size_t __gmpq_inp_str (mpq_ptr, FILE *, int);
5706
5707
5708
5709 void __gmpq_inv (mpq_ptr, mpq_srcptr);
5710
5711
5712 void __gmpq_mul (mpq_ptr, mpq_srcptr, mpq_srcptr);
5713
5714
5715 void __gmpq_mul_2exp (mpq_ptr, mpq_srcptr, unsigned long);
5716
5717
5718
5719 void __gmpq_neg (mpq_ptr, mpq_srcptr);
5720
5721
5722
5723
5724 size_t __gmpq_out_str (FILE *, int, mpq_srcptr);
5725
5726
5727
5728 void __gmpq_set (mpq_ptr, mpq_srcptr);
5729
5730
5731 void __gmpq_set_d (mpq_ptr, double);
5732
5733
5734 void __gmpq_set_den (mpq_ptr, mpz_srcptr);
5735
5736
5737 void __gmpq_set_f (mpq_ptr, mpf_srcptr);
5738
5739
5740 void __gmpq_set_num (mpq_ptr, mpz_srcptr);
5741
5742
5743 void __gmpq_set_si (mpq_ptr, signed long int, unsigned long int);
5744
5745
5746 int __gmpq_set_str (mpq_ptr, const char *, int);
5747
5748
5749 void __gmpq_set_ui (mpq_ptr, unsigned long int, unsigned long int);
5750
5751
5752 void __gmpq_set_z (mpq_ptr, mpz_srcptr);
5753
5754
5755 void __gmpq_sub (mpq_ptr, mpq_srcptr, mpq_srcptr);
5756
5757
5758 void __gmpq_swap (mpq_ptr, mpq_ptr) ;
5759
5760
5761
5762
5763
5764 void __gmpf_abs (mpf_ptr, mpf_srcptr);
5765
5766
5767 void __gmpf_add (mpf_ptr, mpf_srcptr, mpf_srcptr);
5768
5769
5770 void __gmpf_add_ui (mpf_ptr, mpf_srcptr, unsigned long int);
5771
5772 void __gmpf_ceil (mpf_ptr, mpf_srcptr);
5773
5774
5775 void __gmpf_clear (mpf_ptr);
5776
5777
5778 int __gmpf_cmp (mpf_srcptr, mpf_srcptr) __attribute__ ((__pure__));
5779
5780
5781 int __gmpf_cmp_d (mpf_srcptr, double) __attribute__ ((__pure__));
5782
5783
5784 int __gmpf_cmp_si (mpf_srcptr, signed long int) __attribute__ ((__pure__));
5785
5786
5787 int __gmpf_cmp_ui (mpf_srcptr, unsigned long int) __attribute__ ((__pure__));
5788
5789
5790 void __gmpf_div (mpf_ptr, mpf_srcptr, mpf_srcptr);
5791
5792
5793 void __gmpf_div_2exp (mpf_ptr, mpf_srcptr, unsigned long int);
5794
5795
5796 void __gmpf_div_ui (mpf_ptr, mpf_srcptr, unsigned long int);
5797
5798
5799 void __gmpf_dump (mpf_srcptr);
5800
5801
5802 int __gmpf_eq (mpf_srcptr, mpf_srcptr, unsigned long int) __attribute__ ((__pure__));
5803
5804
5805 int __gmpf_fits_sint_p (mpf_srcptr) __attribute__ ((__pure__));
5806
5807
5808 int __gmpf_fits_slong_p (mpf_srcptr) __attribute__ ((__pure__));
5809
5810
5811 int __gmpf_fits_sshort_p (mpf_srcptr) __attribute__ ((__pure__));
5812
5813
5814 int __gmpf_fits_uint_p (mpf_srcptr) __attribute__ ((__pure__));
5815
5816
5817 int __gmpf_fits_ulong_p (mpf_srcptr) __attribute__ ((__pure__));
5818
5819
5820 int __gmpf_fits_ushort_p (mpf_srcptr) __attribute__ ((__pure__));
5821
5822
5823 void __gmpf_floor (mpf_ptr, mpf_srcptr);
5824
5825
5826 double __gmpf_get_d (mpf_srcptr) __attribute__ ((__pure__));
5827
5828
5829 double __gmpf_get_d_2exp (signed long int *, mpf_srcptr);
5830
5831
5832 unsigned long int __gmpf_get_default_prec (void) __attribute__ ((__pure__));
5833
5834
5835 unsigned long int __gmpf_get_prec (mpf_srcptr) __attribute__ ((__pure__));
5836
5837
5838 long __gmpf_get_si (mpf_srcptr) __attribute__ ((__pure__));
5839
5840
5841 char *__gmpf_get_str (char *, mp_exp_t *, int, size_t, mpf_srcptr);
5842
5843
5844 unsigned long __gmpf_get_ui (mpf_srcptr) __attribute__ ((__pure__));
5845
5846
5847 void __gmpf_init (mpf_ptr);
5848
5849
5850 void __gmpf_init2 (mpf_ptr, unsigned long int);
5851
5852
5853 void __gmpf_init_set (mpf_ptr, mpf_srcptr);
5854
5855
5856 void __gmpf_init_set_d (mpf_ptr, double);
5857
5858
5859 void __gmpf_init_set_si (mpf_ptr, signed long int);
5860
5861
5862 int __gmpf_init_set_str (mpf_ptr, const char *, int);
5863
5864
5865 void __gmpf_init_set_ui (mpf_ptr, unsigned long int);
5866
5867
5868
5869 size_t __gmpf_inp_str (mpf_ptr, FILE *, int);
5870
5871
5872
5873 int __gmpf_integer_p (mpf_srcptr) __attribute__ ((__pure__));
5874
5875
5876 void __gmpf_mul (mpf_ptr, mpf_srcptr, mpf_srcptr);
5877
5878
5879 void __gmpf_mul_2exp (mpf_ptr, mpf_srcptr, unsigned long int);
5880
5881
5882 void __gmpf_mul_ui (mpf_ptr, mpf_srcptr, unsigned long int);
5883
5884
5885 void __gmpf_neg (mpf_ptr, mpf_srcptr);
5886
5887
5888
5889 size_t __gmpf_out_str (FILE *, int, size_t, mpf_srcptr);
5890
5891
5892
5893 void __gmpf_pow_ui (mpf_ptr, mpf_srcptr, unsigned long int);
5894
5895
5896 void __gmpf_random2 (mpf_ptr, mp_size_t, mp_exp_t);
5897
5898
5899 void __gmpf_reldiff (mpf_ptr, mpf_srcptr, mpf_srcptr);
5900
5901
5902 void __gmpf_set (mpf_ptr, mpf_srcptr);
5903
5904
5905 void __gmpf_set_d (mpf_ptr, double);
5906
5907
5908 void __gmpf_set_default_prec (unsigned long int) ;
5909
5910
5911 void __gmpf_set_prec (mpf_ptr, unsigned long int);
5912
5913
5914 void __gmpf_set_prec_raw (mpf_ptr, unsigned long int) ;
5915
5916
5917 void __gmpf_set_q (mpf_ptr, mpq_srcptr);
5918
5919
5920 void __gmpf_set_si (mpf_ptr, signed long int);
5921
5922
5923 int __gmpf_set_str (mpf_ptr, const char *, int);
5924
5925
5926 void __gmpf_set_ui (mpf_ptr, unsigned long int);
5927
5928
5929 void __gmpf_set_z (mpf_ptr, mpz_srcptr);
5930
5931
5932 size_t __gmpf_size (mpf_srcptr) __attribute__ ((__pure__));
5933
5934
5935 void __gmpf_sqrt (mpf_ptr, mpf_srcptr);
5936
5937
5938 void __gmpf_sqrt_ui (mpf_ptr, unsigned long int);
5939
5940
5941 void __gmpf_sub (mpf_ptr, mpf_srcptr, mpf_srcptr);
5942
5943
5944 void __gmpf_sub_ui (mpf_ptr, mpf_srcptr, unsigned long int);
5945
5946
5947 void __gmpf_swap (mpf_ptr, mpf_ptr) ;
5948
5949
5950 void __gmpf_trunc (mpf_ptr, mpf_srcptr);
5951
5952
5953 void __gmpf_ui_div (mpf_ptr, unsigned long int, mpf_srcptr);
5954
5955
5956 void __gmpf_ui_sub (mpf_ptr, unsigned long int, mpf_srcptr);
5957
5958
5959 void __gmpf_urandomb (mpf_t, gmp_randstate_t, unsigned long int);
5960# 1480 "/usr/include/gmp.h" 3 4
5961 mp_limb_t __gmpn_add (mp_ptr, mp_srcptr, mp_size_t, mp_srcptr,mp_size_t);
5962
5963
5964
5965
5966 mp_limb_t __gmpn_add_1 (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t) ;
5967
5968
5969
5970 mp_limb_t __gmpn_add_n (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t);
5971
5972
5973 mp_limb_t __gmpn_addmul_1 (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t);
5974
5975
5976 mp_limb_t __gmpn_bdivmod (mp_ptr, mp_ptr, mp_size_t, mp_srcptr, mp_size_t, unsigned long int);
5977
5978
5979
5980 int __gmpn_cmp (mp_srcptr, mp_srcptr, mp_size_t) __attribute__ ((__pure__));
5981
5982
5983
5984
5985
5986
5987 mp_limb_t __gmpn_divexact_by3c (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t);
5988
5989
5990
5991
5992
5993 mp_limb_t __gmpn_divrem (mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_srcptr, mp_size_t);
5994
5995
5996 mp_limb_t __gmpn_divrem_1 (mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_limb_t);
5997
5998
5999 mp_limb_t __gmpn_divrem_2 (mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_srcptr);
6000
6001
6002 mp_size_t __gmpn_gcd (mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_size_t);
6003
6004
6005 mp_limb_t __gmpn_gcd_1 (mp_srcptr, mp_size_t, mp_limb_t) __attribute__ ((__pure__));
6006
6007
6008 mp_limb_t __gmpn_gcdext_1 (mp_ptr, mp_ptr, mp_limb_t, mp_limb_t);
6009
6010
6011 mp_size_t __gmpn_gcdext (mp_ptr, mp_ptr, mp_size_t *, mp_ptr, mp_size_t, mp_ptr, mp_size_t);
6012
6013
6014 size_t __gmpn_get_str (unsigned char *, int, mp_ptr, mp_size_t);
6015
6016
6017 unsigned long int __gmpn_hamdist (mp_srcptr, mp_srcptr, mp_size_t) __attribute__ ((__pure__));
6018
6019
6020 mp_limb_t __gmpn_lshift (mp_ptr, mp_srcptr, mp_size_t, unsigned int);
6021
6022
6023 mp_limb_t __gmpn_mod_1 (mp_srcptr, mp_size_t, mp_limb_t) __attribute__ ((__pure__));
6024
6025
6026 mp_limb_t __gmpn_mul (mp_ptr, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t);
6027
6028
6029 mp_limb_t __gmpn_mul_1 (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t);
6030
6031
6032 void __gmpn_mul_n (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t);
6033
6034
6035
6036 mp_limb_t __gmpn_neg_n (mp_ptr, mp_srcptr, mp_size_t);
6037
6038
6039
6040 int __gmpn_perfect_square_p (mp_srcptr, mp_size_t) __attribute__ ((__pure__));
6041
6042
6043 unsigned long int __gmpn_popcount (mp_srcptr, mp_size_t) __attribute__ ((__pure__));
6044
6045
6046 mp_size_t __gmpn_pow_1 (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t, mp_ptr);
6047
6048
6049
6050 mp_limb_t __gmpn_preinv_mod_1 (mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t) __attribute__ ((__pure__));
6051
6052
6053 void __gmpn_random (mp_ptr, mp_size_t);
6054
6055
6056 void __gmpn_random2 (mp_ptr, mp_size_t);
6057
6058
6059 mp_limb_t __gmpn_rshift (mp_ptr, mp_srcptr, mp_size_t, unsigned int);
6060
6061
6062 unsigned long int __gmpn_scan0 (mp_srcptr, unsigned long int) __attribute__ ((__pure__));
6063
6064
6065 unsigned long int __gmpn_scan1 (mp_srcptr, unsigned long int) __attribute__ ((__pure__));
6066
6067
6068 mp_size_t __gmpn_set_str (mp_ptr, const unsigned char *, size_t, int);
6069
6070
6071 mp_size_t __gmpn_sqrtrem (mp_ptr, mp_ptr, mp_srcptr, mp_size_t);
6072
6073
6074
6075 mp_limb_t __gmpn_sub (mp_ptr, mp_srcptr, mp_size_t, mp_srcptr,mp_size_t);
6076
6077
6078
6079
6080 mp_limb_t __gmpn_sub_1 (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t) ;
6081
6082
6083
6084 mp_limb_t __gmpn_sub_n (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t);
6085
6086
6087 mp_limb_t __gmpn_submul_1 (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t);
6088
6089
6090 void __gmpn_tdiv_qr (mp_ptr, mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t);
6091# 1629 "/usr/include/gmp.h" 3 4
6092extern __inline__ void
6093__gmpz_abs (mpz_ptr __gmp_w, mpz_srcptr __gmp_u)
6094{
6095 if (__gmp_w != __gmp_u)
6096 __gmpz_set (__gmp_w, __gmp_u);
6097 __gmp_w->_mp_size = ((__gmp_w->_mp_size) >= 0 ? (__gmp_w->_mp_size) : -(__gmp_w->_mp_size));
6098}
6099# 1653 "/usr/include/gmp.h" 3 4
6100extern __inline__
6101
6102int
6103__gmpz_fits_uint_p (mpz_srcptr __gmp_z)
6104{
6105 mp_size_t __gmp_n = __gmp_z->_mp_size; mp_ptr __gmp_p = __gmp_z->_mp_d; return (__gmp_n == 0 || (__gmp_n == 1 && __gmp_p[0] <= (~ (unsigned) 0)));;
6106}
6107
6108
6109
6110
6111extern __inline__
6112
6113int
6114__gmpz_fits_ulong_p (mpz_srcptr __gmp_z)
6115{
6116 mp_size_t __gmp_n = __gmp_z->_mp_size; mp_ptr __gmp_p = __gmp_z->_mp_d; return (__gmp_n == 0 || (__gmp_n == 1 && __gmp_p[0] <= (~ (unsigned long) 0)));;
6117}
6118
6119
6120
6121
6122extern __inline__
6123
6124int
6125__gmpz_fits_ushort_p (mpz_srcptr __gmp_z)
6126{
6127 mp_size_t __gmp_n = __gmp_z->_mp_size; mp_ptr __gmp_p = __gmp_z->_mp_d; return (__gmp_n == 0 || (__gmp_n == 1 && __gmp_p[0] <= ((unsigned short) ~0)));;
6128}
6129
6130
6131
6132
6133extern __inline__
6134
6135unsigned long
6136__gmpz_get_ui (mpz_srcptr __gmp_z)
6137{
6138 mp_ptr __gmp_p = __gmp_z->_mp_d;
6139 mp_size_t __gmp_n = __gmp_z->_mp_size;
6140 mp_limb_t __gmp_l = __gmp_p[0];
6141
6142
6143
6144
6145
6146
6147 return (__gmp_n != 0 ? __gmp_l : 0);
6148# 1709 "/usr/include/gmp.h" 3 4
6149}
6150
6151
6152
6153
6154extern __inline__
6155
6156mp_limb_t
6157__gmpz_getlimbn (mpz_srcptr __gmp_z, mp_size_t __gmp_n)
6158{
6159 mp_limb_t __gmp_result = 0;
6160 if (__builtin_expect ((__gmp_n >= 0 && __gmp_n < ((__gmp_z->_mp_size) >= 0 ? (__gmp_z->_mp_size) : -(__gmp_z->_mp_size))) != 0, 1))
6161 __gmp_result = __gmp_z->_mp_d[__gmp_n];
6162 return __gmp_result;
6163}
6164
6165
6166
6167extern __inline__ void
6168__gmpz_neg (mpz_ptr __gmp_w, mpz_srcptr __gmp_u)
6169{
6170 if (__gmp_w != __gmp_u)
6171 __gmpz_set (__gmp_w, __gmp_u);
6172 __gmp_w->_mp_size = - __gmp_w->_mp_size;
6173}
6174
6175
6176
6177
6178extern __inline__
6179
6180int
6181__gmpz_perfect_square_p (mpz_srcptr __gmp_a)
6182{
6183 mp_size_t __gmp_asize;
6184 int __gmp_result;
6185
6186 __gmp_asize = __gmp_a->_mp_size;
6187 __gmp_result = (__gmp_asize >= 0);
6188 if (__builtin_expect ((__gmp_asize > 0) != 0, 1))
6189 __gmp_result = __gmpn_perfect_square_p (__gmp_a->_mp_d, __gmp_asize);
6190 return __gmp_result;
6191}
6192
6193
6194
6195
6196extern __inline__
6197
6198unsigned long
6199__gmpz_popcount (mpz_srcptr __gmp_u)
6200{
6201 mp_size_t __gmp_usize;
6202 unsigned long __gmp_result;
6203
6204 __gmp_usize = __gmp_u->_mp_size;
6205 __gmp_result = (__gmp_usize < 0 ? (~ (unsigned long) 0) : 0);
6206 if (__builtin_expect ((__gmp_usize > 0) != 0, 1))
6207 __gmp_result = __gmpn_popcount (__gmp_u->_mp_d, __gmp_usize);
6208 return __gmp_result;
6209}
6210
6211
6212
6213
6214extern __inline__
6215
6216void
6217__gmpz_set_q (mpz_ptr __gmp_w, mpq_srcptr __gmp_u)
6218{
6219 __gmpz_tdiv_q (__gmp_w, (&((__gmp_u)->_mp_num)), (&((__gmp_u)->_mp_den)));
6220}
6221
6222
6223
6224
6225extern __inline__
6226
6227size_t
6228__gmpz_size (mpz_srcptr __gmp_z)
6229{
6230 return ((__gmp_z->_mp_size) >= 0 ? (__gmp_z->_mp_size) : -(__gmp_z->_mp_size));
6231}
6232
6233
6234
6235
6236
6237
6238extern __inline__ void
6239__gmpq_abs (mpq_ptr __gmp_w, mpq_srcptr __gmp_u)
6240{
6241 if (__gmp_w != __gmp_u)
6242 __gmpq_set (__gmp_w, __gmp_u);
6243 __gmp_w->_mp_num._mp_size = ((__gmp_w->_mp_num._mp_size) >= 0 ? (__gmp_w->_mp_num._mp_size) : -(__gmp_w->_mp_num._mp_size));
6244}
6245
6246
6247
6248extern __inline__ void
6249__gmpq_neg (mpq_ptr __gmp_w, mpq_srcptr __gmp_u)
6250{
6251 if (__gmp_w != __gmp_u)
6252 __gmpq_set (__gmp_w, __gmp_u);
6253 __gmp_w->_mp_num._mp_size = - __gmp_w->_mp_num._mp_size;
6254}
6255# 2051 "/usr/include/gmp.h" 3 4
6256extern __inline__
6257
6258mp_limb_t
6259__gmpn_add (mp_ptr __gmp_wp, mp_srcptr __gmp_xp, mp_size_t __gmp_xsize, mp_srcptr __gmp_yp, mp_size_t __gmp_ysize)
6260{
6261 mp_limb_t __gmp_c;
6262 do { mp_size_t __gmp_i; mp_limb_t __gmp_x; __gmp_i = (__gmp_ysize); if (__gmp_i != 0) { if (__gmpn_add_n (__gmp_wp, __gmp_xp, __gmp_yp, __gmp_i)) { do { if (__gmp_i >= (__gmp_xsize)) { (__gmp_c) = 1; goto __gmp_done; } __gmp_x = (__gmp_xp)[__gmp_i]; } while ((((__gmp_wp)[__gmp_i++] = (__gmp_x + 1) & ((~ ((mp_limb_t) (0))) >> 0)) == 0)); } } if ((__gmp_wp) != (__gmp_xp)) do { mp_size_t __gmp_j; ; for (__gmp_j = (__gmp_i); __gmp_j < (__gmp_xsize); __gmp_j++) (__gmp_wp)[__gmp_j] = (__gmp_xp)[__gmp_j]; } while (0); (__gmp_c) = 0; __gmp_done: ; } while (0);
6263 return __gmp_c;
6264}
6265
6266
6267
6268
6269extern __inline__
6270
6271mp_limb_t
6272__gmpn_add_1 (mp_ptr __gmp_dst, mp_srcptr __gmp_src, mp_size_t __gmp_size, mp_limb_t __gmp_n)
6273{
6274 mp_limb_t __gmp_c;
6275 do { mp_size_t __gmp_i; mp_limb_t __gmp_x, __gmp_r; __gmp_x = (__gmp_src)[0]; __gmp_r = __gmp_x + (__gmp_n); (__gmp_dst)[0] = __gmp_r; if (((__gmp_r) < ((__gmp_n)))) { (__gmp_c) = 1; for (__gmp_i = 1; __gmp_i < (__gmp_size);) { __gmp_x = (__gmp_src)[__gmp_i]; __gmp_r = __gmp_x + 1; (__gmp_dst)[__gmp_i] = __gmp_r; ++__gmp_i; if (!((__gmp_r) < (1))) { if ((__gmp_src) != (__gmp_dst)) do { mp_size_t __gmp_j; ; for (__gmp_j = (__gmp_i); __gmp_j < (__gmp_size); __gmp_j++) (__gmp_dst)[__gmp_j] = (__gmp_src)[__gmp_j]; } while (0); (__gmp_c) = 0; break; } } } else { if ((__gmp_src) != (__gmp_dst)) do { mp_size_t __gmp_j; ; for (__gmp_j = (1); __gmp_j < (__gmp_size); __gmp_j++) (__gmp_dst)[__gmp_j] = (__gmp_src)[__gmp_j]; } while (0); (__gmp_c) = 0; } } while (0);
6276 return __gmp_c;
6277}
6278
6279
6280
6281
6282extern __inline__
6283
6284int
6285__gmpn_cmp (mp_srcptr __gmp_xp, mp_srcptr __gmp_yp, mp_size_t __gmp_size)
6286{
6287 int __gmp_result;
6288 do { mp_size_t __gmp_i; mp_limb_t __gmp_x, __gmp_y; (__gmp_result) = 0; __gmp_i = (__gmp_size); while (--__gmp_i >= 0) { __gmp_x = (__gmp_xp)[__gmp_i]; __gmp_y = (__gmp_yp)[__gmp_i]; if (__gmp_x != __gmp_y) { (__gmp_result) = (__gmp_x > __gmp_y ? 1 : -1); break; } } } while (0);
6289 return __gmp_result;
6290}
6291
6292
6293
6294
6295extern __inline__
6296
6297mp_limb_t
6298__gmpn_sub (mp_ptr __gmp_wp, mp_srcptr __gmp_xp, mp_size_t __gmp_xsize, mp_srcptr __gmp_yp, mp_size_t __gmp_ysize)
6299{
6300 mp_limb_t __gmp_c;
6301 do { mp_size_t __gmp_i; mp_limb_t __gmp_x; __gmp_i = (__gmp_ysize); if (__gmp_i != 0) { if (__gmpn_sub_n (__gmp_wp, __gmp_xp, __gmp_yp, __gmp_i)) { do { if (__gmp_i >= (__gmp_xsize)) { (__gmp_c) = 1; goto __gmp_done; } __gmp_x = (__gmp_xp)[__gmp_i]; } while ((((__gmp_wp)[__gmp_i++] = (__gmp_x - 1) & ((~ ((mp_limb_t) (0))) >> 0)), __gmp_x == 0)); } } if ((__gmp_wp) != (__gmp_xp)) do { mp_size_t __gmp_j; ; for (__gmp_j = (__gmp_i); __gmp_j < (__gmp_xsize); __gmp_j++) (__gmp_wp)[__gmp_j] = (__gmp_xp)[__gmp_j]; } while (0); (__gmp_c) = 0; __gmp_done: ; } while (0);
6302 return __gmp_c;
6303}
6304
6305
6306
6307
6308extern __inline__
6309
6310mp_limb_t
6311__gmpn_sub_1 (mp_ptr __gmp_dst, mp_srcptr __gmp_src, mp_size_t __gmp_size, mp_limb_t __gmp_n)
6312{
6313 mp_limb_t __gmp_c;
6314 do { mp_size_t __gmp_i; mp_limb_t __gmp_x, __gmp_r; __gmp_x = (__gmp_src)[0]; __gmp_r = __gmp_x - (__gmp_n); (__gmp_dst)[0] = __gmp_r; if (((__gmp_x) < ((__gmp_n)))) { (__gmp_c) = 1; for (__gmp_i = 1; __gmp_i < (__gmp_size);) { __gmp_x = (__gmp_src)[__gmp_i]; __gmp_r = __gmp_x - 1; (__gmp_dst)[__gmp_i] = __gmp_r; ++__gmp_i; if (!((__gmp_x) < (1))) { if ((__gmp_src) != (__gmp_dst)) do { mp_size_t __gmp_j; ; for (__gmp_j = (__gmp_i); __gmp_j < (__gmp_size); __gmp_j++) (__gmp_dst)[__gmp_j] = (__gmp_src)[__gmp_j]; } while (0); (__gmp_c) = 0; break; } } } else { if ((__gmp_src) != (__gmp_dst)) do { mp_size_t __gmp_j; ; for (__gmp_j = (1); __gmp_j < (__gmp_size); __gmp_j++) (__gmp_dst)[__gmp_j] = (__gmp_src)[__gmp_j]; } while (0); (__gmp_c) = 0; } } while (0);
6315 return __gmp_c;
6316}
6317
6318
6319
6320
6321extern __inline__
6322
6323mp_limb_t
6324__gmpn_neg_n (mp_ptr __gmp_rp, mp_srcptr __gmp_up, mp_size_t __gmp_n)
6325{
6326 mp_limb_t __gmp_ul, __gmp_cy;
6327 __gmp_cy = 0;
6328 do {
6329 __gmp_ul = *__gmp_up++;
6330 *__gmp_rp++ = -__gmp_ul - __gmp_cy;
6331 __gmp_cy |= __gmp_ul != 0;
6332 } while (--__gmp_n != 0);
6333 return __gmp_cy;
6334}
6335# 2208 "/usr/include/gmp.h" 3 4
6336enum
6337{
6338 GMP_ERROR_NONE = 0,
6339 GMP_ERROR_UNSUPPORTED_ARGUMENT = 1,
6340 GMP_ERROR_DIVISION_BY_ZERO = 2,
6341 GMP_ERROR_SQRT_OF_NEGATIVE = 4,
6342 GMP_ERROR_INVALID_ARGUMENT = 8
6343};
6344# 125 "/usr/lib64/bigloo/3.2b/bigloo.h" 2
6345# 232 "/usr/lib64/bigloo/3.2b/bigloo.h"
6346typedef long int_t;
6347typedef int_t header_t;
6348typedef int bool_t;
6349typedef unsigned short ucs2_t;
6350
6351struct bgl_dframe {
6352 union scmobj *symbol;
6353 struct bgl_dframe *link;
6354};
6355
6356typedef union scmobj {
6357 int_t integer;
6358
6359 header_t header;
6360
6361
6362
6363
6364
6365
6366
6367 struct pair {
6368
6369
6370
6371 union scmobj *car;
6372 union scmobj *cdr;
6373 } pair_t;
6374
6375 struct extended_pair {
6376
6377
6378
6379 union scmobj *car;
6380 union scmobj *cdr;
6381 union scmobj *eheader;
6382 union scmobj *cer;
6383 } extended_pair_t;
6384
6385 struct string {
6386
6387
6388
6389 int length;
6390 unsigned char char0;
6391 } string_t;
6392
6393 struct ucs2_string {
6394 header_t header;
6395 int length;
6396 ucs2_t char0;
6397 } ucs2_string_t;
6398
6399 struct vector {
6400
6401
6402
6403 int length;
6404 union scmobj *obj0;
6405 } vector_t;
6406
6407 struct tvector {
6408 header_t header;
6409 int length;
6410 union scmobj *descr;
6411 } tvector_t;
6412
6413 struct procedure {
6414 header_t header;
6415 union scmobj *(*entry)();
6416 union scmobj *(*va_entry)();
6417 union scmobj *attr;
6418 int arity;
6419 union scmobj *obj0;
6420 } procedure_t;
6421
6422 struct procedure_light {
6423 union scmobj *(*entry)();
6424 union scmobj *obj0;
6425 } procedure_light_t;
6426
6427 struct symbol {
6428 header_t header;
6429 union scmobj *string;
6430 union scmobj *cval;
6431 } symbol_t;
6432
6433 struct port {
6434 header_t header;
6435 union scmobj *kindof;
6436 union scmobj *name;
6437 void *stream;
6438 union scmobj *chook;
6439 void *timeout;
6440 void *userdata;
6441 int (*sysclose)();
6442 long (*sysseek)();
6443 } port_t;
6444
6445 struct output_port {
6446 struct port port;
6447 union scmobj *buf;
6448 long cnt;
6449 char *ptr;
6450 int bufmode;
6451 size_t (*syswrite)();
6452 union scmobj *(*sysflush)();
6453 union scmobj *fhook;
6454 union scmobj *flushbuf;
6455 } output_port_t;
6456
6457 struct input_port {
6458 struct port port;
6459 long filepos;
6460 long fillbarrier;
6461 long (*sysread)();
6462 bool_t eof;
6463 long matchstart;
6464 long matchstop;
6465 long forward;
6466 long bufpos;
6467 union scmobj *buf;
6468 int lastchar;
6469 } input_port_t;
6470
6471 struct input_procedure_port {
6472 struct input_port iport;
6473 union scmobj *pbuffer;
6474 long pbufpos;
6475 } input_procedure_port_t;
6476
6477 struct input_gzip_port {
6478 struct input_procedure_port iport;
6479 union scmobj *gzip;
6480 } input_gzip_port_t;
6481
6482 struct binary_port {
6483 header_t header;
6484 union scmobj *name;
6485 FILE *file;
6486 int io;
6487 } binary_port_t;
6488
6489 struct cell {
6490
6491
6492
6493 union scmobj *val;
6494 } cell_t;
6495
6496 struct structure {
6497
6498 header_t header;
6499
6500 union scmobj *key;
6501 int length;
6502 union scmobj *obj0;
6503 } struct_t;
6504
6505 struct real {
6506
6507
6508
6509 double real;
6510 } real_t;
6511
6512 struct stack {
6513 header_t header;
6514 union scmobj *self;
6515 union scmobj *exitd_top;
6516 union scmobj *stamp;
6517 long size;
6518 struct befored *before_top;
6519 char *stack_top;
6520 char *stack_bot;
6521 struct bgl_dframe *top_frame;
6522 void *stack;
6523 } stack_t;
6524
6525 struct foreign {
6526 header_t header;
6527 union scmobj *id;
6528 void *cobj;
6529 } foreign_t;
6530
6531 struct elong {
6532 header_t header;
6533 long elong;
6534 } elong_t;
6535
6536 struct llong {
6537 header_t header;
6538 long long llong;
6539 } llong_t;
6540
6541 struct bignum {
6542 header_t header;
6543
6544 __mpz_struct mpz;
6545
6546
6547
6548 } bignum_t;
6549
6550 struct process {
6551 header_t header;
6552 int pid;
6553 int index;
6554 union scmobj *stream[ 3 ];
6555 int exited;
6556 int exit_status;
6557
6558
6559
6560 } process_t;
6561
6562 struct socket {
6563 header_t header;
6564 int portnum;
6565 union scmobj *hostname;
6566 union scmobj *hostip;
6567 int fd;
6568 union scmobj *input;
6569 union scmobj *output;
6570 int stype;
6571 union scmobj *chook;
6572 union scmobj *(*accept)();
6573 void *userdata;
6574 } socket_t;
6575
6576 struct custom {
6577 header_t header;
6578 char *identifier;
6579 int (*final)();
6580 int (*equal)();
6581 long (*hash)();
6582 char *(*to_string)();
6583 union scmobj *(*output)();
6584 } custom_t;
6585
6586 struct bgl_date {
6587 header_t header;
6588 int sec;
6589 int min;
6590 int hour;
6591 int mday;
6592 int mon;
6593 int year;
6594 int wday;
6595 int yday;
6596 long timezone;
6597 int isdst;
6598 } date_t;
6599
6600 struct bgl_mutex {
6601 header_t header;
6602 union scmobj *name;
6603 void *mutex;
6604 } mutex_t;
6605
6606 struct bgl_condvar {
6607 header_t header;
6608 union scmobj *name;
6609 void *condvar;
6610 } condvar_t;
6611
6612 struct bgl_mmap {
6613 header_t header;
6614 union scmobj *name;
6615 int fd;
6616 long length;
6617 long rp;
6618 long wp;
6619
6620 unsigned char *map;
6621
6622
6623
6624
6625
6626 } mmap_t;
6627
6628 struct bgl_hvector {
6629 header_t header;
6630 unsigned int length;
6631 } hvector_t;
6632
6633 struct bgl_weakptr {
6634 header_t header;
6635 union scmobj *data;
6636 } weakptr_t;
6637
6638 struct bgl_dynamic_env {
6639 header_t header;
6640
6641 union scmobj *current_output_port;
6642 union scmobj *current_input_port;
6643 union scmobj *current_error_port;
6644
6645 union scmobj *current_display;
6646
6647 int mvalues_number;
6648 union scmobj *mvalues[ 16 ];
6649
6650 char *stack_bottom;
6651 union scmobj *exitd_top;
6652 union scmobj *exitd_stamp;
6653 struct befored *befored_top;
6654 union scmobj *exitd_val;
6655
6656 union scmobj *error_handler;
6657 union scmobj *error_notifiers;
6658 union scmobj *uncaught_exception_handler;
6659
6660 union scmobj *interrupt_notifier;
6661
6662 union scmobj *debug_alist;
6663
6664 struct bgl_dframe top;
6665 struct bgl_dframe *top_of_frame;
6666
6667 void *current_thread;
6668
6669 union scmobj *lexical_stack;
6670
6671 union scmobj *bytecode;
6672 union scmobj *module;
6673 union scmobj *abase;
6674
6675 union scmobj *parameters;
6676
6677 union scmobj *thread_backend;
6678
6679 union scmobj *user_data;
6680 } dynamic_env_t;
6681
6682} *obj_t;
6683
6684
6685typedef obj_t (*function_t)();
6686
6687
6688typedef struct __object_bgl {
6689 header_t header;
6690 obj_t widening;
6691} *object_bglt;
6692
6693
6694typedef struct __bgl__object_00_bgl {
6695 header_t header;
6696 obj_t widening;
6697} *bgl__object_00_bglt;
6698
6699
6700typedef struct BgL__object_00_bgl {
6701 header_t header;
6702 obj_t widening;
6703} *BgL__object_00_bglt;
6704
6705typedef struct BgL_objectz00_bgl {
6706 header_t header;
6707 obj_t widening;
6708} *BgL_objectz00_bglt;
6709
6710
6711struct bgl_input_timeout {
6712 long timeout;
6713 long (*sysread)( void *, size_t, size_t, obj_t );
6714 int (*sysclose)( obj_t );
6715};
6716
6717
6718
6719
6720# 1 "/usr/lib64/bigloo/3.2b/bigloo_gc.h" 1
6721# 26 "/usr/lib64/bigloo/3.2b/bigloo_gc.h"
6722 extern obj_t GC_malloc( size_t );
6723 extern obj_t GC_realloc( obj_t, size_t );
6724 extern void GC_free( obj_t );
6725 extern void GC_gcollect();
6726 extern obj_t GC_malloc_atomic( size_t );
6727
6728
6729
6730
6731 extern obj_t GC_debug_malloc( size_t, char *, long );
6732 extern obj_t GC_debug_malloc_atomic( size_t, char *, long );
6733 extern int GC_gc_no;
6734 extern int GC_size( void * );
6735 extern void GC_init();
6736 extern void GC_expand_hp( size_t );
6737 extern void GC_register_displacement( int );
6738 extern void GC_debug_register_displacement( int );
6739 extern void* GC_base( void* );
6740 extern int GC_invoke_finalizers();
6741 extern int GC_general_register_disappearing_link( obj_t * , obj_t );
6742 extern int GC_unregister_disappearing_link( obj_t * );
6743 typedef obj_t (*GC_fn_type) ( obj_t client_data );
6744 extern obj_t GC_call_with_alloc_lock( GC_fn_type fn, obj_t client_data );
6745 typedef void (*GC_finalization_proc)( void *obj, void *client_data );
6746 extern void GC_register_finalizer( void *obj,
6747 GC_finalization_proc fn, void *d,
6748 GC_finalization_proc *ofn, void **od );
6749# 607 "/usr/lib64/bigloo/3.2b/bigloo.h" 2
6750# 1091 "/usr/lib64/bigloo/3.2b/bigloo.h"
6751extern obj_t alloc_hvector( int, int, int );
6752# 1133 "/usr/lib64/bigloo/3.2b/bigloo.h"
6753extern obj_t make_weakptr( obj_t );
6754extern obj_t weakptr_data( obj_t );
6755extern void weakptr_data_set( obj_t , obj_t );
6756
6757
6758
6759
6760
6761
6762
6763extern obj_t single_thread_denv;
6764extern void bgl_init_dynamic_env();
6765extern obj_t make_dynamic_env();
6766extern obj_t bgl_dup_dynamic_env( obj_t );
6767extern obj_t (*bgl_multithread_dynamic_denv)();
6768# 2154 "/usr/lib64/bigloo/3.2b/bigloo.h"
6769extern gmp_randstate_t gmp_random_state;
6770
6771extern obj_t bgl_safe_plus_fx( long, long );
6772extern obj_t bgl_safe_minus_fx( long, long );
6773extern obj_t bgl_safe_mul_fx( long, long );
6774extern obj_t bgl_safe_quotient_fx( long, long );
6775
6776extern obj_t bgl_safe_plus_elong( long, long );
6777extern obj_t bgl_safe_minus_elong( long, long );
6778extern obj_t bgl_safe_mul_elong( long, long );
6779extern obj_t bgl_safe_quotient_elong( long, long );
6780
6781extern obj_t bgl_safe_plus_llong( long long, long long );
6782extern obj_t bgl_safe_minus_llong( long long, long long );
6783extern obj_t bgl_safe_mul_llong( long long, long long );
6784extern obj_t bgl_safe_quotient_llong( long long, long long );
6785# 2318 "/usr/lib64/bigloo/3.2b/bigloo.h"
6786extern obj_t _exit_value_;
6787# 2364 "/usr/lib64/bigloo/3.2b/bigloo.h"
6788typedef jmp_buf callcc_jmp_buf;
6789# 2373 "/usr/lib64/bigloo/3.2b/bigloo.h"
6790struct exitd {
6791 void *exit;
6792 long userp;
6793 obj_t stamp;
6794 struct exitd *prev;
6795};
6796# 2418 "/usr/lib64/bigloo/3.2b/bigloo.h"
6797struct befored {
6798 obj_t before;
6799 struct befored *prev;
6800};
6801# 2531 "/usr/lib64/bigloo/3.2b/bigloo.h"
6802extern header_t bgl_opaque_nil;
6803# 2735 "/usr/lib64/bigloo/3.2b/bigloo.h"
6804extern obj_t bigloo_exit( obj_t );
6805
6806extern obj_t va_generic_entry( obj_t, ... );
6807extern obj_t opt_generic_entry( obj_t, ... );
6808extern obj_t apply( obj_t, obj_t );
6809
6810extern void bgl_init_module_debug_start( char * );
6811extern void bgl_init_module_debug_library( char * );
6812extern void bgl_init_module_debug_import( char *, char * );
6813extern void bgl_init_module_debug_object( char * );
6814extern void bgl_init_module_debug_end( char * );
6815
6816extern obj_t the_failure( obj_t, obj_t, obj_t );
6817extern obj_t bgl_system_failure( int, obj_t, obj_t, obj_t );
6818
6819extern obj_t bgl_make_procedure( obj_t, int, int );
6820extern obj_t make_fx_procedure( function_t, int, int );
6821extern obj_t make_va_procedure( function_t, int, int );
6822extern obj_t bgl_time( obj_t );
6823
6824extern obj_t bgl_procedure_entry_to_string( obj_t );
6825extern obj_t bgl_string_to_procedure_entry( obj_t );
6826
6827extern obj_t make_pair( obj_t, obj_t );
6828extern obj_t make_extended_pair( obj_t a, obj_t d, obj_t e );
6829extern obj_t make_cell( obj_t );
6830extern obj_t make_real( double );
6831extern obj_t make_belong( long );
6832extern obj_t make_bllong( long long );
6833
6834extern obj_t bgl_string_to_bignum( char *, int );
6835
6836extern obj_t bgl_reverse( obj_t );
6837extern obj_t bgl_reverse_bang( obj_t );
6838
6839extern long bgl_list_length( obj_t );
6840extern obj_t bgl_remq( obj_t, obj_t );
6841extern obj_t bgl_remq_bang( obj_t, obj_t );
6842extern obj_t bgl_make_output_port( obj_t, void *, obj_t, obj_t, size_t (*)(), long (*)(), int (*)() );
6843extern void bgl_output_port_buffer_set( obj_t, obj_t );
6844extern obj_t bgl_close_output_port( obj_t );
6845extern obj_t get_output_string( obj_t );
6846extern obj_t bgl_file_to_output_port( FILE *, obj_t );
6847extern obj_t bgl_open_output_file( obj_t, obj_t );
6848extern obj_t bgl_append_output_file( obj_t, obj_t );
6849extern obj_t bgl_open_output_string( obj_t );
6850extern obj_t bgl_open_output_procedure( obj_t, obj_t, obj_t, obj_t );
6851
6852extern obj_t create_vector( int );
6853
6854extern obj_t make_string_sans_fill();
6855extern obj_t string_to_bstring( char * );
6856extern obj_t string_to_bstring_len( char *, int );
6857extern obj_t close_init_string();
6858extern obj_t bgl_string_shrink( obj_t, long );
6859
6860extern obj_t bgl_find_runtime_type( obj_t );
6861
6862extern obj_t cobj_to_foreign( obj_t, void * );
6863extern long obj_to_cobj( obj_t );
6864extern int _bigloo_main( int, char *[], char *[], obj_t (*)(obj_t) );
6865
6866
6867
6868
6869extern obj_t string_to_symbol( char * );
6870extern obj_t bstring_to_symbol( obj_t );
6871extern obj_t bgl_symbol_genname( obj_t, char * );
6872
6873extern obj_t string_to_keyword( char * );
6874
6875extern obj_t bgl_open_input_string( obj_t, int );
6876extern long bgl_file_size( char * );
6877extern obj_t create_custom( long );
6878
6879extern void bgl_input_port_buffer_set( obj_t, obj_t );
6880extern obj_t bgl_reset_output_string_port( obj_t );
6881
6882extern obj_t bgl_display_string( obj_t, obj_t );
6883extern obj_t bgl_display_symbol( obj_t, obj_t );
6884extern obj_t bgl_display_fixnum( obj_t, obj_t );
6885extern obj_t bgl_display_char( char, obj_t );
6886extern obj_t bgl_output_flush( obj_t, char *, size_t );
6887
6888extern obj_t bgl_make_date();
6889
6890extern obj_t bgl_make_mutex( obj_t );
6891extern obj_t bgl_make_condvar( obj_t );
6892
6893extern bool_t (*bgl_mutex_lock)( obj_t );
6894extern bool_t (*bgl_mutex_timed_lock)( obj_t, long );
6895extern bool_t (*bgl_mutex_unlock)( obj_t );
6896extern obj_t (*bgl_mutex_state)( obj_t );
6897
6898extern bool_t (*bgl_condvar_wait)( obj_t, obj_t );
6899extern bool_t (*bgl_condvar_timed_wait)( obj_t, obj_t, long );
6900extern bool_t (*bgl_condvar_signal)( obj_t );
6901extern bool_t (*bgl_condvar_broadcast)( obj_t );
6902
6903extern obj_t bgl_open_mmap( obj_t, bool_t, bool_t );
6904 obj_t bgl_close_mmap( obj_t );
6905# 2853 "/usr/lib64/bigloo/3.2b/bigloo.h"
6906extern void (*bgl_gc_do_blocking )( void (*fun)(), void * );
6907
6908
6909extern obj_t bgl_make_client_socket( obj_t, int, int, obj_t, obj_t );
6910extern obj_t bgl_make_server_socket( obj_t, int, int );
6911extern obj_t bgl_socket_accept( obj_t, bool_t, obj_t, obj_t );
6912extern long bgl_socket_accept_many( obj_t, bool_t, obj_t, obj_t, obj_t );
6913
6914extern obj_t bgl_gethostname();
6915extern obj_t bgl_socket_hostname();
6916extern obj_t bgl_getsockopt( obj_t, obj_t );
6917extern obj_t bgl_setsockopt( obj_t, obj_t, obj_t );
6918
6919extern void bgl_init_trace( void );
6920
6921
6922extern int bgl_sigprocmask( int );
6923
6924
6925extern long bgl_rgc_blit_string( obj_t, char *, long, long );
6926
6927extern obj_t bigloo_nan, bigloo_infinity, bigloo_minfinity;
6928# 11 "bigloo.c" 2
6929# 1 "/usr/include/gstreamer-0.10/gst/gst.h" 1
6930# 27 "/usr/include/gstreamer-0.10/gst/gst.h"
6931# 1 "/usr/include/glib-2.0/glib.h" 1
6932# 32 "/usr/include/glib-2.0/glib.h"
6933# 1 "/usr/include/glib-2.0/glib/galloca.h" 1
6934# 34 "/usr/include/glib-2.0/glib/galloca.h"
6935# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
6936# 34 "/usr/include/glib-2.0/glib/gtypes.h"
6937# 1 "/usr/lib64/glib-2.0/include/glibconfig.h" 1
6938# 9 "/usr/lib64/glib-2.0/include/glibconfig.h"
6939# 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
6940# 40 "/usr/include/glib-2.0/glib/gmacros.h"
6941# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stddef.h" 1 3 4
6942# 149 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stddef.h" 3 4
6943typedef long int ptrdiff_t;
6944# 41 "/usr/include/glib-2.0/glib/gmacros.h" 2
6945# 10 "/usr/lib64/glib-2.0/include/glibconfig.h" 2
6946
6947# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include-fixed/limits.h" 1 3 4
6948# 12 "/usr/lib64/glib-2.0/include/glibconfig.h" 2
6949# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/float.h" 1 3 4
6950# 13 "/usr/lib64/glib-2.0/include/glibconfig.h" 2
6951# 22 "/usr/lib64/glib-2.0/include/glibconfig.h"
6952
6953# 38 "/usr/lib64/glib-2.0/include/glibconfig.h"
6954typedef signed char gint8;
6955typedef unsigned char guint8;
6956typedef signed short gint16;
6957typedef unsigned short guint16;
6958
6959
6960
6961typedef signed int gint32;
6962typedef unsigned int guint32;
6963
6964
6965
6966
6967
6968typedef signed long gint64;
6969typedef unsigned long guint64;
6970# 65 "/usr/lib64/glib-2.0/include/glibconfig.h"
6971typedef signed long gssize;
6972typedef unsigned long gsize;
6973# 75 "/usr/lib64/glib-2.0/include/glibconfig.h"
6974typedef gint64 goffset;
6975# 90 "/usr/lib64/glib-2.0/include/glibconfig.h"
6976typedef signed long gintptr;
6977typedef unsigned long guintptr;
6978# 156 "/usr/lib64/glib-2.0/include/glibconfig.h"
6979typedef struct _GStaticMutex GStaticMutex;
6980struct _GStaticMutex
6981{
6982 struct _GMutex *runtime_mutex;
6983 union {
6984 char pad[40];
6985 double dummy_double;
6986 void *dummy_pointer;
6987 long dummy_long;
6988 } static_mutex;
6989};
6990# 175 "/usr/lib64/glib-2.0/include/glibconfig.h"
6991typedef union _GSystemThread GSystemThread;
6992union _GSystemThread
6993{
6994 char data[8];
6995 double dummy_double;
6996 void *dummy_pointer;
6997 long dummy_long;
6998};
6999# 222 "/usr/lib64/glib-2.0/include/glibconfig.h"
7000typedef int GPid;
7001
7002
7003# 35 "/usr/include/glib-2.0/glib/gtypes.h" 2
7004# 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
7005# 36 "/usr/include/glib-2.0/glib/gtypes.h" 2
7006
7007
7008# 46 "/usr/include/glib-2.0/glib/gtypes.h"
7009typedef char gchar;
7010typedef short gshort;
7011typedef long glong;
7012typedef int gint;
7013typedef gint gboolean;
7014
7015typedef unsigned char guchar;
7016typedef unsigned short gushort;
7017typedef unsigned long gulong;
7018typedef unsigned int guint;
7019
7020typedef float gfloat;
7021typedef double gdouble;
7022# 77 "/usr/include/glib-2.0/glib/gtypes.h"
7023typedef void* gpointer;
7024typedef const void *gconstpointer;
7025
7026typedef gint (*GCompareFunc) (gconstpointer a,
7027 gconstpointer b);
7028typedef gint (*GCompareDataFunc) (gconstpointer a,
7029 gconstpointer b,
7030 gpointer user_data);
7031typedef gboolean (*GEqualFunc) (gconstpointer a,
7032 gconstpointer b);
7033typedef void (*GDestroyNotify) (gpointer data);
7034typedef void (*GFunc) (gpointer data,
7035 gpointer user_data);
7036typedef guint (*GHashFunc) (gconstpointer key);
7037typedef void (*GHFunc) (gpointer key,
7038 gpointer value,
7039 gpointer user_data);
7040typedef void (*GFreeFunc) (gpointer data);
7041typedef const gchar * (*GTranslateFunc) (const gchar *str,
7042 gpointer data);
7043# 350 "/usr/include/glib-2.0/glib/gtypes.h"
7044typedef union _GDoubleIEEE754 GDoubleIEEE754;
7045typedef union _GFloatIEEE754 GFloatIEEE754;
7046
7047
7048
7049
7050
7051union _GFloatIEEE754
7052{
7053 gfloat v_float;
7054 struct {
7055 guint mantissa : 23;
7056 guint biased_exponent : 8;
7057 guint sign : 1;
7058 } mpn;
7059};
7060union _GDoubleIEEE754
7061{
7062 gdouble v_double;
7063 struct {
7064 guint mantissa_low : 32;
7065 guint mantissa_high : 20;
7066 guint biased_exponent : 11;
7067 guint sign : 1;
7068 } mpn;
7069};
7070# 400 "/usr/include/glib-2.0/glib/gtypes.h"
7071typedef struct _GTimeVal GTimeVal;
7072
7073struct _GTimeVal
7074{
7075 glong tv_sec;
7076 glong tv_usec;
7077};
7078
7079
7080# 35 "/usr/include/glib-2.0/glib/galloca.h" 2
7081# 33 "/usr/include/glib-2.0/glib.h" 2
7082# 1 "/usr/include/glib-2.0/glib/garray.h" 1
7083# 34 "/usr/include/glib-2.0/glib/garray.h"
7084# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7085# 35 "/usr/include/glib-2.0/glib/garray.h" 2
7086
7087
7088
7089typedef struct _GArray GArray;
7090typedef struct _GByteArray GByteArray;
7091typedef struct _GPtrArray GPtrArray;
7092
7093struct _GArray
7094{
7095 gchar *data;
7096 guint len;
7097};
7098
7099struct _GByteArray
7100{
7101 guint8 *data;
7102 guint len;
7103};
7104
7105struct _GPtrArray
7106{
7107 gpointer *pdata;
7108 guint len;
7109};
7110# 70 "/usr/include/glib-2.0/glib/garray.h"
7111GArray* g_array_new (gboolean zero_terminated,
7112 gboolean clear_,
7113 guint element_size);
7114GArray* g_array_sized_new (gboolean zero_terminated,
7115 gboolean clear_,
7116 guint element_size,
7117 guint reserved_size);
7118gchar* g_array_free (GArray *array,
7119 gboolean free_segment);
7120GArray* g_array_append_vals (GArray *array,
7121 gconstpointer data,
7122 guint len);
7123GArray* g_array_prepend_vals (GArray *array,
7124 gconstpointer data,
7125 guint len);
7126GArray* g_array_insert_vals (GArray *array,
7127 guint index_,
7128 gconstpointer data,
7129 guint len);
7130GArray* g_array_set_size (GArray *array,
7131 guint length);
7132GArray* g_array_remove_index (GArray *array,
7133 guint index_);
7134GArray* g_array_remove_index_fast (GArray *array,
7135 guint index_);
7136GArray* g_array_remove_range (GArray *array,
7137 guint index_,
7138 guint length);
7139void g_array_sort (GArray *array,
7140 GCompareFunc compare_func);
7141void g_array_sort_with_data (GArray *array,
7142 GCompareDataFunc compare_func,
7143 gpointer user_data);
7144
7145
7146
7147
7148
7149
7150GPtrArray* g_ptr_array_new (void);
7151GPtrArray* g_ptr_array_sized_new (guint reserved_size);
7152gpointer* g_ptr_array_free (GPtrArray *array,
7153 gboolean free_seg);
7154void g_ptr_array_set_size (GPtrArray *array,
7155 gint length);
7156gpointer g_ptr_array_remove_index (GPtrArray *array,
7157 guint index_);
7158gpointer g_ptr_array_remove_index_fast (GPtrArray *array,
7159 guint index_);
7160gboolean g_ptr_array_remove (GPtrArray *array,
7161 gpointer data);
7162gboolean g_ptr_array_remove_fast (GPtrArray *array,
7163 gpointer data);
7164void g_ptr_array_remove_range (GPtrArray *array,
7165 guint index_,
7166 guint length);
7167void g_ptr_array_add (GPtrArray *array,
7168 gpointer data);
7169void g_ptr_array_sort (GPtrArray *array,
7170 GCompareFunc compare_func);
7171void g_ptr_array_sort_with_data (GPtrArray *array,
7172 GCompareDataFunc compare_func,
7173 gpointer user_data);
7174void g_ptr_array_foreach (GPtrArray *array,
7175 GFunc func,
7176 gpointer user_data);
7177
7178
7179
7180
7181
7182
7183GByteArray* g_byte_array_new (void);
7184GByteArray* g_byte_array_sized_new (guint reserved_size);
7185guint8* g_byte_array_free (GByteArray *array,
7186 gboolean free_segment);
7187GByteArray* g_byte_array_append (GByteArray *array,
7188 const guint8 *data,
7189 guint len);
7190GByteArray* g_byte_array_prepend (GByteArray *array,
7191 const guint8 *data,
7192 guint len);
7193GByteArray* g_byte_array_set_size (GByteArray *array,
7194 guint length);
7195GByteArray* g_byte_array_remove_index (GByteArray *array,
7196 guint index_);
7197GByteArray* g_byte_array_remove_index_fast (GByteArray *array,
7198 guint index_);
7199GByteArray* g_byte_array_remove_range (GByteArray *array,
7200 guint index_,
7201 guint length);
7202void g_byte_array_sort (GByteArray *array,
7203 GCompareFunc compare_func);
7204void g_byte_array_sort_with_data (GByteArray *array,
7205 GCompareDataFunc compare_func,
7206 gpointer user_data);
7207
7208
7209# 34 "/usr/include/glib-2.0/glib.h" 2
7210# 1 "/usr/include/glib-2.0/glib/gasyncqueue.h" 1
7211# 34 "/usr/include/glib-2.0/glib/gasyncqueue.h"
7212# 1 "/usr/include/glib-2.0/glib/gthread.h" 1
7213# 34 "/usr/include/glib-2.0/glib/gthread.h"
7214# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
7215# 28 "/usr/include/glib-2.0/glib/gerror.h"
7216# 1 "/usr/include/glib-2.0/glib/gquark.h" 1
7217# 34 "/usr/include/glib-2.0/glib/gquark.h"
7218# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7219# 35 "/usr/include/glib-2.0/glib/gquark.h" 2
7220
7221
7222
7223typedef guint32 GQuark;
7224
7225
7226
7227GQuark g_quark_try_string (const gchar *string);
7228GQuark g_quark_from_static_string (const gchar *string);
7229GQuark g_quark_from_string (const gchar *string);
7230const gchar* g_quark_to_string (GQuark quark) __attribute__((__const__));
7231
7232const gchar* g_intern_string (const gchar *string);
7233const gchar* g_intern_static_string (const gchar *string);
7234
7235
7236# 29 "/usr/include/glib-2.0/glib/gerror.h" 2
7237
7238
7239
7240typedef struct _GError GError;
7241
7242struct _GError
7243{
7244 GQuark domain;
7245 gint code;
7246 gchar *message;
7247};
7248
7249GError* g_error_new (GQuark domain,
7250 gint code,
7251 const gchar *format,
7252 ...) __attribute__((__format__ (__printf__, 3, 4)));
7253
7254GError* g_error_new_literal (GQuark domain,
7255 gint code,
7256 const gchar *message);
7257
7258void g_error_free (GError *error);
7259GError* g_error_copy (const GError *error);
7260
7261gboolean g_error_matches (const GError *error,
7262 GQuark domain,
7263 gint code);
7264
7265
7266
7267
7268void g_set_error (GError **err,
7269 GQuark domain,
7270 gint code,
7271 const gchar *format,
7272 ...) __attribute__((__format__ (__printf__, 4, 5)));
7273
7274void g_set_error_literal (GError **err,
7275 GQuark domain,
7276 gint code,
7277 const gchar *message);
7278
7279
7280
7281void g_propagate_error (GError **dest,
7282 GError *src);
7283
7284
7285void g_clear_error (GError **err);
7286
7287
7288void g_prefix_error (GError **err,
7289 const gchar *format,
7290 ...) __attribute__((__format__ (__printf__, 2, 3)));
7291
7292
7293void g_propagate_prefixed_error (GError **dest,
7294 GError *src,
7295 const gchar *format,
7296 ...) __attribute__((__format__ (__printf__, 3, 4)));
7297
7298
7299# 35 "/usr/include/glib-2.0/glib/gthread.h" 2
7300# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7301# 36 "/usr/include/glib-2.0/glib/gthread.h" 2
7302# 1 "/usr/include/glib-2.0/glib/gutils.h" 1
7303# 34 "/usr/include/glib-2.0/glib/gutils.h"
7304# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7305# 35 "/usr/include/glib-2.0/glib/gutils.h" 2
7306# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stdarg.h" 1 3 4
7307# 102 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stdarg.h" 3 4
7308typedef __gnuc_va_list va_list;
7309# 36 "/usr/include/glib-2.0/glib/gutils.h" 2
7310
7311
7312# 120 "/usr/include/glib-2.0/glib/gutils.h"
7313const gchar* g_get_user_name (void);
7314const gchar* g_get_real_name (void);
7315const gchar* g_get_home_dir (void);
7316const gchar* g_get_tmp_dir (void);
7317const gchar* g_get_host_name (void);
7318gchar* g_get_prgname (void);
7319void g_set_prgname (const gchar *prgname);
7320const gchar* g_get_application_name (void);
7321void g_set_application_name (const gchar *application_name);
7322
7323const gchar* g_get_user_data_dir (void);
7324const gchar* g_get_user_config_dir (void);
7325const gchar* g_get_user_cache_dir (void);
7326const gchar* const * g_get_system_data_dirs (void);
7327# 153 "/usr/include/glib-2.0/glib/gutils.h"
7328const gchar* const * g_get_system_config_dirs (void);
7329
7330const gchar* const * g_get_language_names (void);
7331# 179 "/usr/include/glib-2.0/glib/gutils.h"
7332typedef enum {
7333 G_USER_DIRECTORY_DESKTOP,
7334 G_USER_DIRECTORY_DOCUMENTS,
7335 G_USER_DIRECTORY_DOWNLOAD,
7336 G_USER_DIRECTORY_MUSIC,
7337 G_USER_DIRECTORY_PICTURES,
7338 G_USER_DIRECTORY_PUBLIC_SHARE,
7339 G_USER_DIRECTORY_TEMPLATES,
7340 G_USER_DIRECTORY_VIDEOS,
7341
7342 G_USER_N_DIRECTORIES
7343} GUserDirectory;
7344
7345const gchar* g_get_user_special_dir (GUserDirectory directory);
7346
7347typedef struct _GDebugKey GDebugKey;
7348struct _GDebugKey
7349{
7350 const gchar *key;
7351 guint value;
7352};
7353
7354
7355
7356guint g_parse_debug_string (const gchar *string,
7357 const GDebugKey *keys,
7358 guint nkeys);
7359
7360gint g_snprintf (gchar *string,
7361 gulong n,
7362 gchar const *format,
7363 ...) __attribute__((__format__ (__printf__, 3, 4)));
7364gint g_vsnprintf (gchar *string,
7365 gulong n,
7366 gchar const *format,
7367 va_list args);
7368
7369
7370gboolean g_path_is_absolute (const gchar *file_name);
7371
7372
7373const gchar* g_path_skip_root (const gchar *file_name);
7374
7375
7376
7377
7378
7379
7380
7381const gchar* g_basename (const gchar *file_name);
7382# 238 "/usr/include/glib-2.0/glib/gutils.h"
7383gchar* g_get_current_dir (void);
7384gchar* g_path_get_basename (const gchar *file_name) __attribute__((__malloc__));
7385gchar* g_path_get_dirname (const gchar *file_name) __attribute__((__malloc__));
7386
7387
7388void g_nullify_pointer (gpointer *nullify_location);
7389# 254 "/usr/include/glib-2.0/glib/gutils.h"
7390const gchar* g_getenv (const gchar *variable);
7391gboolean g_setenv (const gchar *variable,
7392 const gchar *value,
7393 gboolean overwrite);
7394void g_unsetenv (const gchar *variable);
7395gchar** g_listenv (void);
7396
7397
7398const gchar* _g_getenv_nomalloc (const gchar *variable,
7399 gchar buffer[1024]);
7400
7401
7402
7403
7404
7405typedef void (*GVoidFunc) (void);
7406# 280 "/usr/include/glib-2.0/glib/gutils.h"
7407void g_atexit (GVoidFunc func);
7408# 294 "/usr/include/glib-2.0/glib/gutils.h"
7409gchar* g_find_program_in_path (const gchar *program);
7410
7411
7412
7413static __inline __attribute__ ((unused)) gint g_bit_nth_lsf (gulong mask,
7414 gint nth_bit) __attribute__((__const__));
7415static __inline __attribute__ ((unused)) gint g_bit_nth_msf (gulong mask,
7416 gint nth_bit) __attribute__((__const__));
7417static __inline __attribute__ ((unused)) guint g_bit_storage (gulong number) __attribute__((__const__));
7418
7419
7420
7421
7422typedef struct _GTrashStack GTrashStack;
7423struct _GTrashStack
7424{
7425 GTrashStack *next;
7426};
7427
7428static __inline __attribute__ ((unused)) void g_trash_stack_push (GTrashStack **stack_p,
7429 gpointer data_p);
7430static __inline __attribute__ ((unused)) gpointer g_trash_stack_pop (GTrashStack **stack_p);
7431static __inline __attribute__ ((unused)) gpointer g_trash_stack_peek (GTrashStack **stack_p);
7432static __inline __attribute__ ((unused)) guint g_trash_stack_height (GTrashStack **stack_p);
7433
7434
7435
7436
7437static __inline __attribute__ ((unused)) gint
7438g_bit_nth_lsf (gulong mask,
7439 gint nth_bit)
7440{
7441 if ((nth_bit < -1))
7442 nth_bit = -1;
7443 while (nth_bit < ((8 * 8) - 1))
7444 {
7445 nth_bit++;
7446 if (mask & (1UL << nth_bit))
7447 return nth_bit;
7448 }
7449 return -1;
7450}
7451static __inline __attribute__ ((unused)) gint
7452g_bit_nth_msf (gulong mask,
7453 gint nth_bit)
7454{
7455 if (nth_bit < 0 || (nth_bit > 8 * 8))
7456 nth_bit = 8 * 8;
7457 while (nth_bit > 0)
7458 {
7459 nth_bit--;
7460 if (mask & (1UL << nth_bit))
7461 return nth_bit;
7462 }
7463 return -1;
7464}
7465static __inline __attribute__ ((unused)) guint
7466g_bit_storage (gulong number)
7467{
7468
7469
7470
7471
7472 register guint n_bits = 0;
7473
7474 do
7475 {
7476 n_bits++;
7477 number >>= 1;
7478 }
7479 while (number);
7480 return n_bits;
7481
7482}
7483static __inline __attribute__ ((unused)) void
7484g_trash_stack_push (GTrashStack **stack_p,
7485 gpointer data_p)
7486{
7487 GTrashStack *data = (GTrashStack *) data_p;
7488
7489 data->next = *stack_p;
7490 *stack_p = data;
7491}
7492static __inline __attribute__ ((unused)) gpointer
7493g_trash_stack_pop (GTrashStack **stack_p)
7494{
7495 GTrashStack *data;
7496
7497 data = *stack_p;
7498 if (data)
7499 {
7500 *stack_p = data->next;
7501
7502
7503
7504 data->next = ((void *)0);
7505 }
7506
7507 return data;
7508}
7509static __inline __attribute__ ((unused)) gpointer
7510g_trash_stack_peek (GTrashStack **stack_p)
7511{
7512 GTrashStack *data;
7513
7514 data = *stack_p;
7515
7516 return data;
7517}
7518static __inline __attribute__ ((unused)) guint
7519g_trash_stack_height (GTrashStack **stack_p)
7520{
7521 GTrashStack *data;
7522 guint i = 0;
7523
7524 for (data = *stack_p; data; data = data->next)
7525 i++;
7526
7527 return i;
7528}
7529
7530
7531
7532
7533
7534
7535extern const guint glib_major_version;
7536extern const guint glib_minor_version;
7537extern const guint glib_micro_version;
7538extern const guint glib_interface_age;
7539extern const guint glib_binary_age;
7540
7541const gchar * glib_check_version (guint required_major,
7542 guint required_minor,
7543 guint required_micro);
7544
7545
7546
7547
7548
7549
7550
7551
7552# 37 "/usr/include/glib-2.0/glib/gthread.h" 2
7553# 1 "/usr/include/glib-2.0/glib/gatomic.h" 1
7554# 37 "/usr/include/glib-2.0/glib/gatomic.h"
7555# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7556# 38 "/usr/include/glib-2.0/glib/gatomic.h" 2
7557
7558
7559
7560gint g_atomic_int_exchange_and_add (volatile gint __attribute__((may_alias)) *atomic,
7561 gint val);
7562void g_atomic_int_add (volatile gint __attribute__((may_alias)) *atomic,
7563 gint val);
7564gboolean g_atomic_int_compare_and_exchange (volatile gint __attribute__((may_alias)) *atomic,
7565 gint oldval,
7566 gint newval);
7567gboolean g_atomic_pointer_compare_and_exchange (volatile gpointer __attribute__((may_alias)) *atomic,
7568 gpointer oldval,
7569 gpointer newval);
7570
7571gint g_atomic_int_get (volatile gint __attribute__((may_alias)) *atomic);
7572void g_atomic_int_set (volatile gint __attribute__((may_alias)) *atomic,
7573 gint newval);
7574gpointer g_atomic_pointer_get (volatile gpointer __attribute__((may_alias)) *atomic);
7575void g_atomic_pointer_set (volatile gpointer __attribute__((may_alias)) *atomic,
7576 gpointer newval);
7577# 83 "/usr/include/glib-2.0/glib/gatomic.h"
7578
7579# 38 "/usr/include/glib-2.0/glib/gthread.h" 2
7580
7581
7582
7583
7584
7585
7586extern GQuark g_thread_error_quark (void);
7587
7588
7589typedef enum
7590{
7591 G_THREAD_ERROR_AGAIN
7592} GThreadError;
7593
7594typedef gpointer (*GThreadFunc) (gpointer data);
7595
7596typedef enum
7597{
7598 G_THREAD_PRIORITY_LOW,
7599 G_THREAD_PRIORITY_NORMAL,
7600 G_THREAD_PRIORITY_HIGH,
7601 G_THREAD_PRIORITY_URGENT
7602} GThreadPriority;
7603
7604typedef struct _GThread GThread;
7605struct _GThread
7606{
7607
7608 GThreadFunc func;
7609 gpointer data;
7610 gboolean joinable;
7611 GThreadPriority priority;
7612};
7613
7614typedef struct _GMutex GMutex;
7615typedef struct _GCond GCond;
7616typedef struct _GPrivate GPrivate;
7617typedef struct _GStaticPrivate GStaticPrivate;
7618
7619typedef struct _GThreadFunctions GThreadFunctions;
7620struct _GThreadFunctions
7621{
7622 GMutex* (*mutex_new) (void);
7623 void (*mutex_lock) (GMutex *mutex);
7624 gboolean (*mutex_trylock) (GMutex *mutex);
7625 void (*mutex_unlock) (GMutex *mutex);
7626 void (*mutex_free) (GMutex *mutex);
7627 GCond* (*cond_new) (void);
7628 void (*cond_signal) (GCond *cond);
7629 void (*cond_broadcast) (GCond *cond);
7630 void (*cond_wait) (GCond *cond,
7631 GMutex *mutex);
7632 gboolean (*cond_timed_wait) (GCond *cond,
7633 GMutex *mutex,
7634 GTimeVal *end_time);
7635 void (*cond_free) (GCond *cond);
7636 GPrivate* (*private_new) (GDestroyNotify destructor);
7637 gpointer (*private_get) (GPrivate *private_key);
7638 void (*private_set) (GPrivate *private_key,
7639 gpointer data);
7640 void (*thread_create) (GThreadFunc func,
7641 gpointer data,
7642 gulong stack_size,
7643 gboolean joinable,
7644 gboolean bound,
7645 GThreadPriority priority,
7646 gpointer thread,
7647 GError **error);
7648 void (*thread_yield) (void);
7649 void (*thread_join) (gpointer thread);
7650 void (*thread_exit) (void);
7651 void (*thread_set_priority)(gpointer thread,
7652 GThreadPriority priority);
7653 void (*thread_self) (gpointer thread);
7654 gboolean (*thread_equal) (gpointer thread1,
7655 gpointer thread2);
7656};
7657
7658extern GThreadFunctions g_thread_functions_for_glib_use;
7659extern gboolean g_thread_use_default_impl;
7660extern gboolean g_threads_got_initialized;
7661
7662extern guint64 (*g_thread_gettime) (void);
7663
7664
7665
7666
7667
7668void g_thread_init (GThreadFunctions *vtable);
7669# 135 "/usr/include/glib-2.0/glib/gthread.h"
7670void g_thread_init_with_errorcheck_mutexes (GThreadFunctions* vtable);
7671
7672
7673
7674
7675gboolean g_thread_get_initialized (void);
7676# 150 "/usr/include/glib-2.0/glib/gthread.h"
7677GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex);
7678# 221 "/usr/include/glib-2.0/glib/gthread.h"
7679GThread* g_thread_create_full (GThreadFunc func,
7680 gpointer data,
7681 gulong stack_size,
7682 gboolean joinable,
7683 gboolean bound,
7684 GThreadPriority priority,
7685 GError **error);
7686GThread* g_thread_self (void);
7687void g_thread_exit (gpointer retval);
7688gpointer g_thread_join (GThread *thread);
7689
7690void g_thread_set_priority (GThread *thread,
7691 GThreadPriority priority);
7692# 246 "/usr/include/glib-2.0/glib/gthread.h"
7693void g_static_mutex_init (GStaticMutex *mutex);
7694void g_static_mutex_free (GStaticMutex *mutex);
7695
7696struct _GStaticPrivate
7697{
7698
7699 guint index;
7700};
7701
7702void g_static_private_init (GStaticPrivate *private_key);
7703gpointer g_static_private_get (GStaticPrivate *private_key);
7704void g_static_private_set (GStaticPrivate *private_key,
7705 gpointer data,
7706 GDestroyNotify notify);
7707void g_static_private_free (GStaticPrivate *private_key);
7708
7709typedef struct _GStaticRecMutex GStaticRecMutex;
7710struct _GStaticRecMutex
7711{
7712
7713 GStaticMutex mutex;
7714 guint depth;
7715 GSystemThread owner;
7716};
7717
7718
7719void g_static_rec_mutex_init (GStaticRecMutex *mutex);
7720void g_static_rec_mutex_lock (GStaticRecMutex *mutex);
7721gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex);
7722void g_static_rec_mutex_unlock (GStaticRecMutex *mutex);
7723void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex,
7724 guint depth);
7725guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex);
7726void g_static_rec_mutex_free (GStaticRecMutex *mutex);
7727
7728typedef struct _GStaticRWLock GStaticRWLock;
7729struct _GStaticRWLock
7730{
7731
7732 GStaticMutex mutex;
7733 GCond *read_cond;
7734 GCond *write_cond;
7735 guint read_counter;
7736 gboolean have_writer;
7737 guint want_to_read;
7738 guint want_to_write;
7739};
7740
7741
7742
7743void g_static_rw_lock_init (GStaticRWLock* lock);
7744void g_static_rw_lock_reader_lock (GStaticRWLock* lock);
7745gboolean g_static_rw_lock_reader_trylock (GStaticRWLock* lock);
7746void g_static_rw_lock_reader_unlock (GStaticRWLock* lock);
7747void g_static_rw_lock_writer_lock (GStaticRWLock* lock);
7748gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock);
7749void g_static_rw_lock_writer_unlock (GStaticRWLock* lock);
7750void g_static_rw_lock_free (GStaticRWLock* lock);
7751
7752void g_thread_foreach (GFunc thread_func,
7753 gpointer user_data);
7754
7755typedef enum
7756{
7757 G_ONCE_STATUS_NOTCALLED,
7758 G_ONCE_STATUS_PROGRESS,
7759 G_ONCE_STATUS_READY
7760} GOnceStatus;
7761
7762typedef struct _GOnce GOnce;
7763struct _GOnce
7764{
7765 volatile GOnceStatus status;
7766 volatile gpointer retval;
7767};
7768
7769
7770
7771gpointer g_once_impl (GOnce *once, GThreadFunc func, gpointer arg);
7772# 336 "/usr/include/glib-2.0/glib/gthread.h"
7773static __inline __attribute__ ((unused)) gboolean g_once_init_enter (volatile gsize *value_location);
7774gboolean g_once_init_enter_impl (volatile gsize *value_location);
7775void g_once_init_leave (volatile gsize *value_location,
7776 gsize initialization_value);
7777
7778static __inline __attribute__ ((unused)) gboolean
7779g_once_init_enter (volatile gsize *value_location)
7780{
7781 if ((gpointer) ((gpointer)*(value_location)) != ((void *)0))
7782 return (0);
7783 else
7784 return g_once_init_enter_impl (value_location);
7785}
7786# 360 "/usr/include/glib-2.0/glib/gthread.h"
7787extern void glib_dummy_decl (void);
7788# 402 "/usr/include/glib-2.0/glib/gthread.h"
7789
7790# 35 "/usr/include/glib-2.0/glib/gasyncqueue.h" 2
7791
7792
7793
7794typedef struct _GAsyncQueue GAsyncQueue;
7795
7796
7797
7798
7799GAsyncQueue* g_async_queue_new (void);
7800
7801GAsyncQueue* g_async_queue_new_full (GDestroyNotify item_free_func);
7802
7803
7804
7805
7806
7807void g_async_queue_lock (GAsyncQueue *queue);
7808void g_async_queue_unlock (GAsyncQueue *queue);
7809
7810
7811GAsyncQueue* g_async_queue_ref (GAsyncQueue *queue);
7812void g_async_queue_unref (GAsyncQueue *queue);
7813
7814
7815
7816void g_async_queue_ref_unlocked (GAsyncQueue *queue);
7817void g_async_queue_unref_and_unlock (GAsyncQueue *queue);
7818
7819
7820
7821void g_async_queue_push (GAsyncQueue *queue,
7822 gpointer data);
7823void g_async_queue_push_unlocked (GAsyncQueue *queue,
7824 gpointer data);
7825
7826void g_async_queue_push_sorted (GAsyncQueue *queue,
7827 gpointer data,
7828 GCompareDataFunc func,
7829 gpointer user_data);
7830void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue,
7831 gpointer data,
7832 GCompareDataFunc func,
7833 gpointer user_data);
7834
7835
7836
7837
7838gpointer g_async_queue_pop (GAsyncQueue *queue);
7839gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue);
7840
7841
7842gpointer g_async_queue_try_pop (GAsyncQueue *queue);
7843gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue);
7844
7845
7846
7847
7848
7849
7850gpointer g_async_queue_timed_pop (GAsyncQueue *queue,
7851 GTimeVal *end_time);
7852gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue,
7853 GTimeVal *end_time);
7854# 106 "/usr/include/glib-2.0/glib/gasyncqueue.h"
7855gint g_async_queue_length (GAsyncQueue *queue);
7856gint g_async_queue_length_unlocked (GAsyncQueue *queue);
7857void g_async_queue_sort (GAsyncQueue *queue,
7858 GCompareDataFunc func,
7859 gpointer user_data);
7860void g_async_queue_sort_unlocked (GAsyncQueue *queue,
7861 GCompareDataFunc func,
7862 gpointer user_data);
7863
7864
7865GMutex* _g_async_queue_get_mutex (GAsyncQueue *queue);
7866
7867
7868# 35 "/usr/include/glib-2.0/glib.h" 2
7869# 1 "/usr/include/glib-2.0/glib/gatomic.h" 1
7870# 36 "/usr/include/glib-2.0/glib.h" 2
7871# 1 "/usr/include/glib-2.0/glib/gbacktrace.h" 1
7872# 34 "/usr/include/glib-2.0/glib/gbacktrace.h"
7873# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7874# 35 "/usr/include/glib-2.0/glib/gbacktrace.h" 2
7875
7876
7877
7878# 48 "/usr/include/glib-2.0/glib/gbacktrace.h"
7879void g_on_error_query (const gchar *prg_name);
7880void g_on_error_stack_trace (const gchar *prg_name);
7881# 66 "/usr/include/glib-2.0/glib/gbacktrace.h"
7882
7883# 37 "/usr/include/glib-2.0/glib.h" 2
7884# 1 "/usr/include/glib-2.0/glib/gbase64.h" 1
7885# 28 "/usr/include/glib-2.0/glib/gbase64.h"
7886# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
7887# 29 "/usr/include/glib-2.0/glib/gbase64.h" 2
7888
7889
7890
7891gsize g_base64_encode_step (const guchar *in,
7892 gsize len,
7893 gboolean break_lines,
7894 gchar *out,
7895 gint *state,
7896 gint *save);
7897gsize g_base64_encode_close (gboolean break_lines,
7898 gchar *out,
7899 gint *state,
7900 gint *save);
7901gchar* g_base64_encode (const guchar *data,
7902 gsize len) __attribute__((__malloc__));
7903gsize g_base64_decode_step (const gchar *in,
7904 gsize len,
7905 guchar *out,
7906 gint *state,
7907 guint *save);
7908guchar *g_base64_decode (const gchar *text,
7909 gsize *out_len) __attribute__((__malloc__));
7910guchar *g_base64_decode_inplace (gchar *text,
7911 gsize *out_len);
7912
7913
7914
7915# 38 "/usr/include/glib-2.0/glib.h" 2
7916# 1 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 1
7917# 27 "/usr/include/glib-2.0/glib/gbookmarkfile.h"
7918# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
7919# 28 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 2
7920# 1 "/usr/include/time.h" 1 3 4
7921# 30 "/usr/include/time.h" 3 4
7922
7923
7924
7925
7926
7927
7928
7929
7930# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stddef.h" 1 3 4
7931# 39 "/usr/include/time.h" 2 3 4
7932
7933
7934
7935# 1 "/usr/include/bits/time.h" 1 3 4
7936# 43 "/usr/include/time.h" 2 3 4
7937# 58 "/usr/include/time.h" 3 4
7938
7939
7940typedef __clock_t clock_t;
7941
7942
7943
7944# 131 "/usr/include/time.h" 3 4
7945
7946
7947struct tm
7948{
7949 int tm_sec;
7950 int tm_min;
7951 int tm_hour;
7952 int tm_mday;
7953 int tm_mon;
7954 int tm_year;
7955 int tm_wday;
7956 int tm_yday;
7957 int tm_isdst;
7958
7959
7960 long int tm_gmtoff;
7961 __const char *tm_zone;
7962
7963
7964
7965
7966};
7967
7968
7969
7970
7971
7972
7973
7974
7975struct itimerspec
7976 {
7977 struct timespec it_interval;
7978 struct timespec it_value;
7979 };
7980
7981
7982struct sigevent;
7983# 180 "/usr/include/time.h" 3 4
7984
7985
7986
7987extern clock_t clock (void) __attribute__ ((__nothrow__));
7988
7989
7990extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
7991
7992
7993extern double difftime (time_t __time1, time_t __time0)
7994 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
7995
7996
7997extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
7998
7999
8000
8001
8002
8003extern size_t strftime (char *__restrict __s, size_t __maxsize,
8004 __const char *__restrict __format,
8005 __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
8006
8007# 217 "/usr/include/time.h" 3 4
8008extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
8009 __const char *__restrict __format,
8010 __const struct tm *__restrict __tp,
8011 __locale_t __loc) __attribute__ ((__nothrow__));
8012# 230 "/usr/include/time.h" 3 4
8013
8014
8015
8016extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
8017
8018
8019
8020extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
8021
8022
8023
8024
8025
8026extern struct tm *gmtime_r (__const time_t *__restrict __timer,
8027 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
8028
8029
8030
8031extern struct tm *localtime_r (__const time_t *__restrict __timer,
8032 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
8033
8034
8035
8036
8037
8038extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
8039
8040
8041extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
8042
8043
8044
8045
8046
8047
8048
8049extern char *asctime_r (__const struct tm *__restrict __tp,
8050 char *__restrict __buf) __attribute__ ((__nothrow__));
8051
8052
8053extern char *ctime_r (__const time_t *__restrict __timer,
8054 char *__restrict __buf) __attribute__ ((__nothrow__));
8055
8056
8057
8058
8059extern char *__tzname[2];
8060extern int __daylight;
8061extern long int __timezone;
8062
8063
8064
8065
8066extern char *tzname[2];
8067
8068
8069
8070extern void tzset (void) __attribute__ ((__nothrow__));
8071
8072
8073
8074extern int daylight;
8075extern long int timezone;
8076
8077
8078
8079
8080
8081extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
8082# 313 "/usr/include/time.h" 3 4
8083extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
8084
8085
8086extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
8087
8088
8089extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
8090# 328 "/usr/include/time.h" 3 4
8091extern int nanosleep (__const struct timespec *__requested_time,
8092 struct timespec *__remaining);
8093
8094
8095
8096extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
8097
8098
8099extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
8100
8101
8102extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
8103 __attribute__ ((__nothrow__));
8104
8105
8106
8107
8108
8109
8110extern int clock_nanosleep (clockid_t __clock_id, int __flags,
8111 __const struct timespec *__req,
8112 struct timespec *__rem);
8113
8114
8115extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
8116
8117
8118
8119
8120extern int timer_create (clockid_t __clock_id,
8121 struct sigevent *__restrict __evp,
8122 timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
8123
8124
8125extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
8126
8127
8128extern int timer_settime (timer_t __timerid, int __flags,
8129 __const struct itimerspec *__restrict __value,
8130 struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
8131
8132
8133extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
8134 __attribute__ ((__nothrow__));
8135
8136
8137extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
8138# 417 "/usr/include/time.h" 3 4
8139
8140# 29 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 2
8141
8142
8143
8144
8145
8146
8147
8148typedef enum
8149{
8150 G_BOOKMARK_FILE_ERROR_INVALID_URI,
8151 G_BOOKMARK_FILE_ERROR_INVALID_VALUE,
8152 G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED,
8153 G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND,
8154 G_BOOKMARK_FILE_ERROR_READ,
8155 G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING,
8156 G_BOOKMARK_FILE_ERROR_WRITE,
8157 G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND
8158} GBookmarkFileError;
8159
8160GQuark g_bookmark_file_error_quark (void);
8161
8162
8163
8164
8165typedef struct _GBookmarkFile GBookmarkFile;
8166
8167GBookmarkFile *g_bookmark_file_new (void);
8168void g_bookmark_file_free (GBookmarkFile *bookmark);
8169
8170gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark,
8171 const gchar *filename,
8172 GError **error);
8173gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark,
8174 const gchar *data,
8175 gsize length,
8176 GError **error);
8177gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark,
8178 const gchar *file,
8179 gchar **full_path,
8180 GError **error);
8181gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark,
8182 gsize *length,
8183 GError **error) __attribute__((__malloc__));
8184gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark,
8185 const gchar *filename,
8186 GError **error);
8187
8188void g_bookmark_file_set_title (GBookmarkFile *bookmark,
8189 const gchar *uri,
8190 const gchar *title);
8191gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark,
8192 const gchar *uri,
8193 GError **error) __attribute__((__malloc__));
8194void g_bookmark_file_set_description (GBookmarkFile *bookmark,
8195 const gchar *uri,
8196 const gchar *description);
8197gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark,
8198 const gchar *uri,
8199 GError **error) __attribute__((__malloc__));
8200void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark,
8201 const gchar *uri,
8202 const gchar *mime_type);
8203gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark,
8204 const gchar *uri,
8205 GError **error) __attribute__((__malloc__));
8206void g_bookmark_file_set_groups (GBookmarkFile *bookmark,
8207 const gchar *uri,
8208 const gchar **groups,
8209 gsize length);
8210void g_bookmark_file_add_group (GBookmarkFile *bookmark,
8211 const gchar *uri,
8212 const gchar *group);
8213gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark,
8214 const gchar *uri,
8215 const gchar *group,
8216 GError **error);
8217gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark,
8218 const gchar *uri,
8219 gsize *length,
8220 GError **error) __attribute__((__malloc__));
8221void g_bookmark_file_add_application (GBookmarkFile *bookmark,
8222 const gchar *uri,
8223 const gchar *name,
8224 const gchar *exec);
8225gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark,
8226 const gchar *uri,
8227 const gchar *name,
8228 GError **error);
8229gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark,
8230 const gchar *uri,
8231 gsize *length,
8232 GError **error) __attribute__((__malloc__));
8233gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark,
8234 const gchar *uri,
8235 const gchar *name,
8236 const gchar *exec,
8237 gint count,
8238 time_t stamp,
8239 GError **error);
8240gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark,
8241 const gchar *uri,
8242 const gchar *name,
8243 gchar **exec,
8244 guint *count,
8245 time_t *stamp,
8246 GError **error);
8247void g_bookmark_file_set_is_private (GBookmarkFile *bookmark,
8248 const gchar *uri,
8249 gboolean is_private);
8250gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark,
8251 const gchar *uri,
8252 GError **error);
8253void g_bookmark_file_set_icon (GBookmarkFile *bookmark,
8254 const gchar *uri,
8255 const gchar *href,
8256 const gchar *mime_type);
8257gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark,
8258 const gchar *uri,
8259 gchar **href,
8260 gchar **mime_type,
8261 GError **error);
8262void g_bookmark_file_set_added (GBookmarkFile *bookmark,
8263 const gchar *uri,
8264 time_t added);
8265time_t g_bookmark_file_get_added (GBookmarkFile *bookmark,
8266 const gchar *uri,
8267 GError **error);
8268void g_bookmark_file_set_modified (GBookmarkFile *bookmark,
8269 const gchar *uri,
8270 time_t modified);
8271time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark,
8272 const gchar *uri,
8273 GError **error);
8274void g_bookmark_file_set_visited (GBookmarkFile *bookmark,
8275 const gchar *uri,
8276 time_t visited);
8277time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark,
8278 const gchar *uri,
8279 GError **error);
8280gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark,
8281 const gchar *uri);
8282gint g_bookmark_file_get_size (GBookmarkFile *bookmark);
8283gchar ** g_bookmark_file_get_uris (GBookmarkFile *bookmark,
8284 gsize *length) __attribute__((__malloc__));
8285gboolean g_bookmark_file_remove_group (GBookmarkFile *bookmark,
8286 const gchar *uri,
8287 const gchar *group,
8288 GError **error);
8289gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark,
8290 const gchar *uri,
8291 const gchar *name,
8292 GError **error);
8293gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark,
8294 const gchar *uri,
8295 GError **error);
8296gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark,
8297 const gchar *old_uri,
8298 const gchar *new_uri,
8299 GError **error);
8300
8301
8302# 39 "/usr/include/glib-2.0/glib.h" 2
8303# 1 "/usr/include/glib-2.0/glib/gcache.h" 1
8304# 34 "/usr/include/glib-2.0/glib/gcache.h"
8305# 1 "/usr/include/glib-2.0/glib/glist.h" 1
8306# 34 "/usr/include/glib-2.0/glib/glist.h"
8307# 1 "/usr/include/glib-2.0/glib/gmem.h" 1
8308# 34 "/usr/include/glib-2.0/glib/gmem.h"
8309# 1 "/usr/include/glib-2.0/glib/gslice.h" 1
8310# 31 "/usr/include/glib-2.0/glib/gslice.h"
8311# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
8312# 32 "/usr/include/glib-2.0/glib/gslice.h" 2
8313
8314
8315
8316
8317
8318gpointer g_slice_alloc (gsize block_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
8319gpointer g_slice_alloc0 (gsize block_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
8320gpointer g_slice_copy (gsize block_size,
8321 gconstpointer mem_block) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
8322void g_slice_free1 (gsize block_size,
8323 gpointer mem_block);
8324void g_slice_free_chain_with_offset (gsize block_size,
8325 gpointer mem_chain,
8326 gsize next_offset);
8327# 76 "/usr/include/glib-2.0/glib/gslice.h"
8328typedef enum {
8329 G_SLICE_CONFIG_ALWAYS_MALLOC = 1,
8330 G_SLICE_CONFIG_BYPASS_MAGAZINES,
8331 G_SLICE_CONFIG_WORKING_SET_MSECS,
8332 G_SLICE_CONFIG_COLOR_INCREMENT,
8333 G_SLICE_CONFIG_CHUNK_SIZES,
8334 G_SLICE_CONFIG_CONTENTION_COUNTER
8335} GSliceConfig;
8336void g_slice_set_config (GSliceConfig ckey, gint64 value);
8337gint64 g_slice_get_config (GSliceConfig ckey);
8338gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values);
8339
8340
8341# 35 "/usr/include/glib-2.0/glib/gmem.h" 2
8342# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
8343# 36 "/usr/include/glib-2.0/glib/gmem.h" 2
8344
8345
8346
8347typedef struct _GMemVTable GMemVTable;
8348# 51 "/usr/include/glib-2.0/glib/gmem.h"
8349gpointer g_malloc (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
8350gpointer g_malloc0 (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
8351gpointer g_realloc (gpointer mem,
8352 gsize n_bytes) __attribute__((warn_unused_result));
8353void g_free (gpointer mem);
8354gpointer g_try_malloc (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
8355gpointer g_try_malloc0 (gsize n_bytes) __attribute__((__malloc__)) __attribute__((__alloc_size__(1)));
8356gpointer g_try_realloc (gpointer mem,
8357 gsize n_bytes) __attribute__((warn_unused_result));
8358# 83 "/usr/include/glib-2.0/glib/gmem.h"
8359struct _GMemVTable
8360{
8361 gpointer (*malloc) (gsize n_bytes);
8362 gpointer (*realloc) (gpointer mem,
8363 gsize n_bytes);
8364 void (*free) (gpointer mem);
8365
8366 gpointer (*calloc) (gsize n_blocks,
8367 gsize n_block_bytes);
8368 gpointer (*try_malloc) (gsize n_bytes);
8369 gpointer (*try_realloc) (gpointer mem,
8370 gsize n_bytes);
8371};
8372void g_mem_set_vtable (GMemVTable *vtable);
8373gboolean g_mem_is_system_malloc (void);
8374
8375extern gboolean g_mem_gc_friendly;
8376
8377
8378
8379extern GMemVTable *glib_mem_profiler_table;
8380void g_mem_profile (void);
8381
8382
8383
8384
8385typedef struct _GAllocator GAllocator;
8386typedef struct _GMemChunk GMemChunk;
8387# 128 "/usr/include/glib-2.0/glib/gmem.h"
8388GMemChunk* g_mem_chunk_new (const gchar *name,
8389 gint atom_size,
8390 gsize area_size,
8391 gint type);
8392void g_mem_chunk_destroy (GMemChunk *mem_chunk);
8393gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk);
8394gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk);
8395void g_mem_chunk_free (GMemChunk *mem_chunk,
8396 gpointer mem);
8397void g_mem_chunk_clean (GMemChunk *mem_chunk);
8398void g_mem_chunk_reset (GMemChunk *mem_chunk);
8399void g_mem_chunk_print (GMemChunk *mem_chunk);
8400void g_mem_chunk_info (void);
8401void g_blow_chunks (void);
8402GAllocator*g_allocator_new (const gchar *name,
8403 guint n_preallocs);
8404void g_allocator_free (GAllocator *allocator);
8405
8406
8407
8408
8409
8410
8411# 35 "/usr/include/glib-2.0/glib/glist.h" 2
8412
8413
8414
8415typedef struct _GList GList;
8416
8417struct _GList
8418{
8419 gpointer data;
8420 GList *next;
8421 GList *prev;
8422};
8423
8424
8425
8426GList* g_list_alloc (void) __attribute__((warn_unused_result));
8427void g_list_free (GList *list);
8428void g_list_free_1 (GList *list);
8429
8430GList* g_list_append (GList *list,
8431 gpointer data) __attribute__((warn_unused_result));
8432GList* g_list_prepend (GList *list,
8433 gpointer data) __attribute__((warn_unused_result));
8434GList* g_list_insert (GList *list,
8435 gpointer data,
8436 gint position) __attribute__((warn_unused_result));
8437GList* g_list_insert_sorted (GList *list,
8438 gpointer data,
8439 GCompareFunc func) __attribute__((warn_unused_result));
8440GList* g_list_insert_sorted_with_data (GList *list,
8441 gpointer data,
8442 GCompareDataFunc func,
8443 gpointer user_data) __attribute__((warn_unused_result));
8444GList* g_list_insert_before (GList *list,
8445 GList *sibling,
8446 gpointer data) __attribute__((warn_unused_result));
8447GList* g_list_concat (GList *list1,
8448 GList *list2) __attribute__((warn_unused_result));
8449GList* g_list_remove (GList *list,
8450 gconstpointer data) __attribute__((warn_unused_result));
8451GList* g_list_remove_all (GList *list,
8452 gconstpointer data) __attribute__((warn_unused_result));
8453GList* g_list_remove_link (GList *list,
8454 GList *llink) __attribute__((warn_unused_result));
8455GList* g_list_delete_link (GList *list,
8456 GList *link_) __attribute__((warn_unused_result));
8457GList* g_list_reverse (GList *list) __attribute__((warn_unused_result));
8458GList* g_list_copy (GList *list) __attribute__((warn_unused_result));
8459GList* g_list_nth (GList *list,
8460 guint n);
8461GList* g_list_nth_prev (GList *list,
8462 guint n);
8463GList* g_list_find (GList *list,
8464 gconstpointer data);
8465GList* g_list_find_custom (GList *list,
8466 gconstpointer data,
8467 GCompareFunc func);
8468gint g_list_position (GList *list,
8469 GList *llink);
8470gint g_list_index (GList *list,
8471 gconstpointer data);
8472GList* g_list_last (GList *list);
8473GList* g_list_first (GList *list);
8474guint g_list_length (GList *list);
8475void g_list_foreach (GList *list,
8476 GFunc func,
8477 gpointer user_data);
8478GList* g_list_sort (GList *list,
8479 GCompareFunc compare_func) __attribute__((warn_unused_result));
8480GList* g_list_sort_with_data (GList *list,
8481 GCompareDataFunc compare_func,
8482 gpointer user_data) __attribute__((warn_unused_result));
8483gpointer g_list_nth_data (GList *list,
8484 guint n);
8485
8486
8487
8488
8489
8490
8491void g_list_push_allocator (gpointer allocator);
8492void g_list_pop_allocator (void);
8493
8494
8495
8496# 35 "/usr/include/glib-2.0/glib/gcache.h" 2
8497
8498
8499
8500typedef struct _GCache GCache;
8501
8502typedef gpointer (*GCacheNewFunc) (gpointer key);
8503typedef gpointer (*GCacheDupFunc) (gpointer value);
8504typedef void (*GCacheDestroyFunc) (gpointer value);
8505
8506
8507
8508GCache* g_cache_new (GCacheNewFunc value_new_func,
8509 GCacheDestroyFunc value_destroy_func,
8510 GCacheDupFunc key_dup_func,
8511 GCacheDestroyFunc key_destroy_func,
8512 GHashFunc hash_key_func,
8513 GHashFunc hash_value_func,
8514 GEqualFunc key_equal_func);
8515void g_cache_destroy (GCache *cache);
8516gpointer g_cache_insert (GCache *cache,
8517 gpointer key);
8518void g_cache_remove (GCache *cache,
8519 gconstpointer value);
8520void g_cache_key_foreach (GCache *cache,
8521 GHFunc func,
8522 gpointer user_data);
8523
8524void g_cache_value_foreach (GCache *cache,
8525 GHFunc func,
8526 gpointer user_data);
8527
8528
8529
8530# 40 "/usr/include/glib-2.0/glib.h" 2
8531# 1 "/usr/include/glib-2.0/glib/gchecksum.h" 1
8532# 28 "/usr/include/glib-2.0/glib/gchecksum.h"
8533# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
8534# 29 "/usr/include/glib-2.0/glib/gchecksum.h" 2
8535
8536
8537# 46 "/usr/include/glib-2.0/glib/gchecksum.h"
8538typedef enum {
8539 G_CHECKSUM_MD5,
8540 G_CHECKSUM_SHA1,
8541 G_CHECKSUM_SHA256
8542} GChecksumType;
8543# 61 "/usr/include/glib-2.0/glib/gchecksum.h"
8544typedef struct _GChecksum GChecksum;
8545
8546gssize g_checksum_type_get_length (GChecksumType checksum_type);
8547
8548GChecksum * g_checksum_new (GChecksumType checksum_type);
8549void g_checksum_reset (GChecksum *checksum);
8550GChecksum * g_checksum_copy (const GChecksum *checksum);
8551void g_checksum_free (GChecksum *checksum);
8552void g_checksum_update (GChecksum *checksum,
8553 const guchar *data,
8554 gssize length);
8555const gchar *g_checksum_get_string (GChecksum *checksum);
8556void g_checksum_get_digest (GChecksum *checksum,
8557 guint8 *buffer,
8558 gsize *digest_len);
8559
8560gchar *g_compute_checksum_for_data (GChecksumType checksum_type,
8561 const guchar *data,
8562 gsize length);
8563gchar *g_compute_checksum_for_string (GChecksumType checksum_type,
8564 const gchar *str,
8565 gssize length);
8566
8567
8568# 41 "/usr/include/glib-2.0/glib.h" 2
8569# 1 "/usr/include/glib-2.0/glib/gcompletion.h" 1
8570# 34 "/usr/include/glib-2.0/glib/gcompletion.h"
8571# 1 "/usr/include/glib-2.0/glib/glist.h" 1
8572# 35 "/usr/include/glib-2.0/glib/gcompletion.h" 2
8573
8574
8575
8576typedef struct _GCompletion GCompletion;
8577
8578typedef gchar* (*GCompletionFunc) (gpointer);
8579
8580
8581
8582
8583typedef gint (*GCompletionStrncmpFunc) (const gchar *s1,
8584 const gchar *s2,
8585 gsize n);
8586
8587struct _GCompletion
8588{
8589 GList* items;
8590 GCompletionFunc func;
8591
8592 gchar* prefix;
8593 GList* cache;
8594 GCompletionStrncmpFunc strncmp_func;
8595};
8596
8597GCompletion* g_completion_new (GCompletionFunc func);
8598void g_completion_add_items (GCompletion* cmp,
8599 GList* items);
8600void g_completion_remove_items (GCompletion* cmp,
8601 GList* items);
8602void g_completion_clear_items (GCompletion* cmp);
8603GList* g_completion_complete (GCompletion* cmp,
8604 const gchar* prefix,
8605 gchar** new_prefix);
8606GList* g_completion_complete_utf8 (GCompletion *cmp,
8607 const gchar* prefix,
8608 gchar** new_prefix);
8609void g_completion_set_compare (GCompletion *cmp,
8610 GCompletionStrncmpFunc strncmp_func);
8611void g_completion_free (GCompletion* cmp);
8612
8613
8614# 42 "/usr/include/glib-2.0/glib.h" 2
8615# 1 "/usr/include/glib-2.0/glib/gconvert.h" 1
8616# 34 "/usr/include/glib-2.0/glib/gconvert.h"
8617# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
8618# 35 "/usr/include/glib-2.0/glib/gconvert.h" 2
8619
8620
8621
8622typedef enum
8623{
8624 G_CONVERT_ERROR_NO_CONVERSION,
8625 G_CONVERT_ERROR_ILLEGAL_SEQUENCE,
8626 G_CONVERT_ERROR_FAILED,
8627 G_CONVERT_ERROR_PARTIAL_INPUT,
8628 G_CONVERT_ERROR_BAD_URI,
8629 G_CONVERT_ERROR_NOT_ABSOLUTE_PATH
8630} GConvertError;
8631
8632
8633GQuark g_convert_error_quark (void);
8634
8635
8636
8637typedef struct _GIConv *GIConv;
8638
8639GIConv g_iconv_open (const gchar *to_codeset,
8640 const gchar *from_codeset);
8641gsize g_iconv (GIConv converter,
8642 gchar **inbuf,
8643 gsize *inbytes_left,
8644 gchar **outbuf,
8645 gsize *outbytes_left);
8646gint g_iconv_close (GIConv converter);
8647
8648
8649gchar* g_convert (const gchar *str,
8650 gssize len,
8651 const gchar *to_codeset,
8652 const gchar *from_codeset,
8653 gsize *bytes_read,
8654 gsize *bytes_written,
8655 GError **error) __attribute__((__malloc__));
8656gchar* g_convert_with_iconv (const gchar *str,
8657 gssize len,
8658 GIConv converter,
8659 gsize *bytes_read,
8660 gsize *bytes_written,
8661 GError **error) __attribute__((__malloc__));
8662gchar* g_convert_with_fallback (const gchar *str,
8663 gssize len,
8664 const gchar *to_codeset,
8665 const gchar *from_codeset,
8666 gchar *fallback,
8667 gsize *bytes_read,
8668 gsize *bytes_written,
8669 GError **error) __attribute__((__malloc__));
8670
8671
8672
8673
8674gchar* g_locale_to_utf8 (const gchar *opsysstring,
8675 gssize len,
8676 gsize *bytes_read,
8677 gsize *bytes_written,
8678 GError **error) __attribute__((__malloc__));
8679gchar* g_locale_from_utf8 (const gchar *utf8string,
8680 gssize len,
8681 gsize *bytes_read,
8682 gsize *bytes_written,
8683 GError **error) __attribute__((__malloc__));
8684# 111 "/usr/include/glib-2.0/glib/gconvert.h"
8685gchar* g_filename_to_utf8 (const gchar *opsysstring,
8686 gssize len,
8687 gsize *bytes_read,
8688 gsize *bytes_written,
8689 GError **error) __attribute__((__malloc__));
8690gchar* g_filename_from_utf8 (const gchar *utf8string,
8691 gssize len,
8692 gsize *bytes_read,
8693 gsize *bytes_written,
8694 GError **error) __attribute__((__malloc__));
8695
8696gchar *g_filename_from_uri (const gchar *uri,
8697 gchar **hostname,
8698 GError **error) __attribute__((__malloc__));
8699
8700gchar *g_filename_to_uri (const gchar *filename,
8701 const gchar *hostname,
8702 GError **error) __attribute__((__malloc__));
8703gchar *g_filename_display_name (const gchar *filename) __attribute__((__malloc__));
8704gboolean g_get_filename_charsets (const gchar ***charsets);
8705
8706gchar *g_filename_display_basename (const gchar *filename) __attribute__((__malloc__));
8707
8708gchar **g_uri_list_extract_uris (const gchar *uri_list) __attribute__((__malloc__));
8709
8710
8711# 43 "/usr/include/glib-2.0/glib.h" 2
8712# 1 "/usr/include/glib-2.0/glib/gdataset.h" 1
8713# 34 "/usr/include/glib-2.0/glib/gdataset.h"
8714# 1 "/usr/include/glib-2.0/glib/gquark.h" 1
8715# 35 "/usr/include/glib-2.0/glib/gdataset.h" 2
8716
8717
8718
8719typedef struct _GData GData;
8720
8721typedef void (*GDataForeachFunc) (GQuark key_id,
8722 gpointer data,
8723 gpointer user_data);
8724
8725
8726
8727void g_datalist_init (GData **datalist);
8728void g_datalist_clear (GData **datalist);
8729gpointer g_datalist_id_get_data (GData **datalist,
8730 GQuark key_id);
8731void g_datalist_id_set_data_full (GData **datalist,
8732 GQuark key_id,
8733 gpointer data,
8734 GDestroyNotify destroy_func);
8735gpointer g_datalist_id_remove_no_notify (GData **datalist,
8736 GQuark key_id);
8737void g_datalist_foreach (GData **datalist,
8738 GDataForeachFunc func,
8739 gpointer user_data);
8740# 69 "/usr/include/glib-2.0/glib/gdataset.h"
8741void g_datalist_set_flags (GData **datalist,
8742 guint flags);
8743void g_datalist_unset_flags (GData **datalist,
8744 guint flags);
8745guint g_datalist_get_flags (GData **datalist);
8746# 93 "/usr/include/glib-2.0/glib/gdataset.h"
8747void g_dataset_destroy (gconstpointer dataset_location);
8748gpointer g_dataset_id_get_data (gconstpointer dataset_location,
8749 GQuark key_id);
8750void g_dataset_id_set_data_full (gconstpointer dataset_location,
8751 GQuark key_id,
8752 gpointer data,
8753 GDestroyNotify destroy_func);
8754gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location,
8755 GQuark key_id);
8756void g_dataset_foreach (gconstpointer dataset_location,
8757 GDataForeachFunc func,
8758 gpointer user_data);
8759# 120 "/usr/include/glib-2.0/glib/gdataset.h"
8760
8761# 44 "/usr/include/glib-2.0/glib.h" 2
8762# 1 "/usr/include/glib-2.0/glib/gdate.h" 1
8763# 36 "/usr/include/glib-2.0/glib/gdate.h"
8764# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
8765# 37 "/usr/include/glib-2.0/glib/gdate.h" 2
8766# 1 "/usr/include/glib-2.0/glib/gquark.h" 1
8767# 38 "/usr/include/glib-2.0/glib/gdate.h" 2
8768
8769
8770# 50 "/usr/include/glib-2.0/glib/gdate.h"
8771typedef gint32 GTime;
8772typedef guint16 GDateYear;
8773typedef guint8 GDateDay;
8774typedef struct _GDate GDate;
8775
8776
8777typedef enum
8778{
8779 G_DATE_DAY = 0,
8780 G_DATE_MONTH = 1,
8781 G_DATE_YEAR = 2
8782} GDateDMY;
8783
8784
8785typedef enum
8786{
8787 G_DATE_BAD_WEEKDAY = 0,
8788 G_DATE_MONDAY = 1,
8789 G_DATE_TUESDAY = 2,
8790 G_DATE_WEDNESDAY = 3,
8791 G_DATE_THURSDAY = 4,
8792 G_DATE_FRIDAY = 5,
8793 G_DATE_SATURDAY = 6,
8794 G_DATE_SUNDAY = 7
8795} GDateWeekday;
8796typedef enum
8797{
8798 G_DATE_BAD_MONTH = 0,
8799 G_DATE_JANUARY = 1,
8800 G_DATE_FEBRUARY = 2,
8801 G_DATE_MARCH = 3,
8802 G_DATE_APRIL = 4,
8803 G_DATE_MAY = 5,
8804 G_DATE_JUNE = 6,
8805 G_DATE_JULY = 7,
8806 G_DATE_AUGUST = 8,
8807 G_DATE_SEPTEMBER = 9,
8808 G_DATE_OCTOBER = 10,
8809 G_DATE_NOVEMBER = 11,
8810 G_DATE_DECEMBER = 12
8811} GDateMonth;
8812# 101 "/usr/include/glib-2.0/glib/gdate.h"
8813struct _GDate
8814{
8815 guint julian_days : 32;
8816
8817
8818
8819
8820
8821 guint julian : 1;
8822 guint dmy : 1;
8823
8824
8825 guint day : 6;
8826 guint month : 4;
8827 guint year : 16;
8828};
8829
8830
8831
8832
8833
8834GDate* g_date_new (void);
8835GDate* g_date_new_dmy (GDateDay day,
8836 GDateMonth month,
8837 GDateYear year);
8838GDate* g_date_new_julian (guint32 julian_day);
8839void g_date_free (GDate *date);
8840
8841
8842
8843
8844
8845
8846gboolean g_date_valid (const GDate *date);
8847gboolean g_date_valid_day (GDateDay day) __attribute__((__const__));
8848gboolean g_date_valid_month (GDateMonth month) __attribute__((__const__));
8849gboolean g_date_valid_year (GDateYear year) __attribute__((__const__));
8850gboolean g_date_valid_weekday (GDateWeekday weekday) __attribute__((__const__));
8851gboolean g_date_valid_julian (guint32 julian_date) __attribute__((__const__));
8852gboolean g_date_valid_dmy (GDateDay day,
8853 GDateMonth month,
8854 GDateYear year) __attribute__((__const__));
8855
8856GDateWeekday g_date_get_weekday (const GDate *date);
8857GDateMonth g_date_get_month (const GDate *date);
8858GDateYear g_date_get_year (const GDate *date);
8859GDateDay g_date_get_day (const GDate *date);
8860guint32 g_date_get_julian (const GDate *date);
8861guint g_date_get_day_of_year (const GDate *date);
8862
8863
8864
8865
8866
8867
8868guint g_date_get_monday_week_of_year (const GDate *date);
8869guint g_date_get_sunday_week_of_year (const GDate *date);
8870guint g_date_get_iso8601_week_of_year (const GDate *date);
8871
8872
8873
8874
8875
8876void g_date_clear (GDate *date,
8877 guint n_dates);
8878
8879
8880
8881
8882
8883void g_date_set_parse (GDate *date,
8884 const gchar *str);
8885void g_date_set_time_t (GDate *date,
8886 time_t timet);
8887void g_date_set_time_val (GDate *date,
8888 GTimeVal *timeval);
8889
8890void g_date_set_time (GDate *date,
8891 GTime time_);
8892
8893void g_date_set_month (GDate *date,
8894 GDateMonth month);
8895void g_date_set_day (GDate *date,
8896 GDateDay day);
8897void g_date_set_year (GDate *date,
8898 GDateYear year);
8899void g_date_set_dmy (GDate *date,
8900 GDateDay day,
8901 GDateMonth month,
8902 GDateYear y);
8903void g_date_set_julian (GDate *date,
8904 guint32 julian_date);
8905gboolean g_date_is_first_of_month (const GDate *date);
8906gboolean g_date_is_last_of_month (const GDate *date);
8907
8908
8909void g_date_add_days (GDate *date,
8910 guint n_days);
8911void g_date_subtract_days (GDate *date,
8912 guint n_days);
8913
8914
8915void g_date_add_months (GDate *date,
8916 guint n_months);
8917void g_date_subtract_months (GDate *date,
8918 guint n_months);
8919
8920
8921void g_date_add_years (GDate *date,
8922 guint n_years);
8923void g_date_subtract_years (GDate *date,
8924 guint n_years);
8925gboolean g_date_is_leap_year (GDateYear year) __attribute__((__const__));
8926guint8 g_date_get_days_in_month (GDateMonth month,
8927 GDateYear year) __attribute__((__const__));
8928guint8 g_date_get_monday_weeks_in_year (GDateYear year) __attribute__((__const__));
8929guint8 g_date_get_sunday_weeks_in_year (GDateYear year) __attribute__((__const__));
8930
8931
8932
8933gint g_date_days_between (const GDate *date1,
8934 const GDate *date2);
8935
8936
8937gint g_date_compare (const GDate *lhs,
8938 const GDate *rhs);
8939void g_date_to_struct_tm (const GDate *date,
8940 struct tm *tm);
8941
8942void g_date_clamp (GDate *date,
8943 const GDate *min_date,
8944 const GDate *max_date);
8945
8946
8947void g_date_order (GDate *date1, GDate *date2);
8948
8949
8950
8951
8952gsize g_date_strftime (gchar *s,
8953 gsize slen,
8954 const gchar *format,
8955 const GDate *date);
8956# 261 "/usr/include/glib-2.0/glib/gdate.h"
8957
8958# 45 "/usr/include/glib-2.0/glib.h" 2
8959# 1 "/usr/include/glib-2.0/glib/gdir.h" 1
8960# 31 "/usr/include/glib-2.0/glib/gdir.h"
8961# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
8962# 32 "/usr/include/glib-2.0/glib/gdir.h" 2
8963
8964
8965
8966typedef struct _GDir GDir;
8967
8968
8969
8970
8971
8972
8973
8974GDir * g_dir_open (const gchar *path,
8975 guint flags,
8976 GError **error);
8977const gchar *g_dir_read_name (GDir *dir);
8978void g_dir_rewind (GDir *dir);
8979void g_dir_close (GDir *dir);
8980
8981
8982# 46 "/usr/include/glib-2.0/glib.h" 2
8983# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
8984# 47 "/usr/include/glib-2.0/glib.h" 2
8985# 1 "/usr/include/glib-2.0/glib/gfileutils.h" 1
8986# 28 "/usr/include/glib-2.0/glib/gfileutils.h"
8987# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
8988# 29 "/usr/include/glib-2.0/glib/gfileutils.h" 2
8989
8990
8991
8992
8993
8994typedef enum
8995{
8996 G_FILE_ERROR_EXIST,
8997 G_FILE_ERROR_ISDIR,
8998 G_FILE_ERROR_ACCES,
8999 G_FILE_ERROR_NAMETOOLONG,
9000 G_FILE_ERROR_NOENT,
9001 G_FILE_ERROR_NOTDIR,
9002 G_FILE_ERROR_NXIO,
9003 G_FILE_ERROR_NODEV,
9004 G_FILE_ERROR_ROFS,
9005 G_FILE_ERROR_TXTBSY,
9006 G_FILE_ERROR_FAULT,
9007 G_FILE_ERROR_LOOP,
9008 G_FILE_ERROR_NOSPC,
9009 G_FILE_ERROR_NOMEM,
9010 G_FILE_ERROR_MFILE,
9011 G_FILE_ERROR_NFILE,
9012 G_FILE_ERROR_BADF,
9013 G_FILE_ERROR_INVAL,
9014 G_FILE_ERROR_PIPE,
9015 G_FILE_ERROR_AGAIN,
9016 G_FILE_ERROR_INTR,
9017 G_FILE_ERROR_IO,
9018 G_FILE_ERROR_PERM,
9019 G_FILE_ERROR_NOSYS,
9020 G_FILE_ERROR_FAILED
9021} GFileError;
9022
9023
9024
9025
9026
9027typedef enum
9028{
9029 G_FILE_TEST_IS_REGULAR = 1 << 0,
9030 G_FILE_TEST_IS_SYMLINK = 1 << 1,
9031 G_FILE_TEST_IS_DIR = 1 << 2,
9032 G_FILE_TEST_IS_EXECUTABLE = 1 << 3,
9033 G_FILE_TEST_EXISTS = 1 << 4
9034} GFileTest;
9035
9036GQuark g_file_error_quark (void);
9037
9038GFileError g_file_error_from_errno (gint err_no);
9039# 87 "/usr/include/glib-2.0/glib/gfileutils.h"
9040gboolean g_file_test (const gchar *filename,
9041 GFileTest test);
9042gboolean g_file_get_contents (const gchar *filename,
9043 gchar **contents,
9044 gsize *length,
9045 GError **error);
9046gboolean g_file_set_contents (const gchar *filename,
9047 const gchar *contents,
9048 gssize length,
9049 GError **error);
9050gchar *g_file_read_link (const gchar *filename,
9051 GError **error);
9052
9053
9054gint g_mkstemp (gchar *tmpl);
9055
9056
9057gint g_file_open_tmp (const gchar *tmpl,
9058 gchar **name_used,
9059 GError **error);
9060
9061char *g_format_size_for_display (goffset size);
9062
9063gchar *g_build_path (const gchar *separator,
9064 const gchar *first_element,
9065 ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
9066gchar *g_build_pathv (const gchar *separator,
9067 gchar **args) __attribute__((__malloc__));
9068
9069gchar *g_build_filename (const gchar *first_element,
9070 ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
9071gchar *g_build_filenamev (gchar **args) __attribute__((__malloc__));
9072
9073int g_mkdir_with_parents (const gchar *pathname,
9074 int mode);
9075
9076
9077# 48 "/usr/include/glib-2.0/glib.h" 2
9078# 1 "/usr/include/glib-2.0/glib/ghash.h" 1
9079# 34 "/usr/include/glib-2.0/glib/ghash.h"
9080# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
9081# 35 "/usr/include/glib-2.0/glib/ghash.h" 2
9082# 1 "/usr/include/glib-2.0/glib/glist.h" 1
9083# 36 "/usr/include/glib-2.0/glib/ghash.h" 2
9084
9085
9086
9087typedef struct _GHashTable GHashTable;
9088
9089typedef gboolean (*GHRFunc) (gpointer key,
9090 gpointer value,
9091 gpointer user_data);
9092
9093typedef struct _GHashTableIter GHashTableIter;
9094
9095struct _GHashTableIter
9096{
9097
9098 gpointer dummy1;
9099 gpointer dummy2;
9100 gpointer dummy3;
9101 int dummy4;
9102 gboolean dummy5;
9103 gpointer dummy6;
9104};
9105
9106
9107
9108GHashTable* g_hash_table_new (GHashFunc hash_func,
9109 GEqualFunc key_equal_func);
9110GHashTable* g_hash_table_new_full (GHashFunc hash_func,
9111 GEqualFunc key_equal_func,
9112 GDestroyNotify key_destroy_func,
9113 GDestroyNotify value_destroy_func);
9114void g_hash_table_destroy (GHashTable *hash_table);
9115void g_hash_table_insert (GHashTable *hash_table,
9116 gpointer key,
9117 gpointer value);
9118void g_hash_table_replace (GHashTable *hash_table,
9119 gpointer key,
9120 gpointer value);
9121gboolean g_hash_table_remove (GHashTable *hash_table,
9122 gconstpointer key);
9123void g_hash_table_remove_all (GHashTable *hash_table);
9124gboolean g_hash_table_steal (GHashTable *hash_table,
9125 gconstpointer key);
9126void g_hash_table_steal_all (GHashTable *hash_table);
9127gpointer g_hash_table_lookup (GHashTable *hash_table,
9128 gconstpointer key);
9129gboolean g_hash_table_lookup_extended (GHashTable *hash_table,
9130 gconstpointer lookup_key,
9131 gpointer *orig_key,
9132 gpointer *value);
9133void g_hash_table_foreach (GHashTable *hash_table,
9134 GHFunc func,
9135 gpointer user_data);
9136gpointer g_hash_table_find (GHashTable *hash_table,
9137 GHRFunc predicate,
9138 gpointer user_data);
9139guint g_hash_table_foreach_remove (GHashTable *hash_table,
9140 GHRFunc func,
9141 gpointer user_data);
9142guint g_hash_table_foreach_steal (GHashTable *hash_table,
9143 GHRFunc func,
9144 gpointer user_data);
9145guint g_hash_table_size (GHashTable *hash_table);
9146GList * g_hash_table_get_keys (GHashTable *hash_table);
9147GList * g_hash_table_get_values (GHashTable *hash_table);
9148
9149void g_hash_table_iter_init (GHashTableIter *iter,
9150 GHashTable *hash_table);
9151gboolean g_hash_table_iter_next (GHashTableIter *iter,
9152 gpointer *key,
9153 gpointer *value);
9154GHashTable* g_hash_table_iter_get_hash_table (GHashTableIter *iter);
9155void g_hash_table_iter_remove (GHashTableIter *iter);
9156void g_hash_table_iter_steal (GHashTableIter *iter);
9157
9158
9159GHashTable* g_hash_table_ref (GHashTable *hash_table);
9160void g_hash_table_unref (GHashTable *hash_table);
9161# 125 "/usr/include/glib-2.0/glib/ghash.h"
9162gboolean g_str_equal (gconstpointer v1,
9163 gconstpointer v2);
9164guint g_str_hash (gconstpointer v);
9165
9166gboolean g_int_equal (gconstpointer v1,
9167 gconstpointer v2);
9168guint g_int_hash (gconstpointer v);
9169
9170
9171
9172
9173
9174
9175
9176guint g_direct_hash (gconstpointer v) __attribute__((__const__));
9177gboolean g_direct_equal (gconstpointer v1,
9178 gconstpointer v2) __attribute__((__const__));
9179
9180
9181# 49 "/usr/include/glib-2.0/glib.h" 2
9182# 1 "/usr/include/glib-2.0/glib/ghook.h" 1
9183# 34 "/usr/include/glib-2.0/glib/ghook.h"
9184# 1 "/usr/include/glib-2.0/glib/gmem.h" 1
9185# 35 "/usr/include/glib-2.0/glib/ghook.h" 2
9186
9187
9188
9189
9190
9191typedef struct _GHook GHook;
9192typedef struct _GHookList GHookList;
9193
9194typedef gint (*GHookCompareFunc) (GHook *new_hook,
9195 GHook *sibling);
9196typedef gboolean (*GHookFindFunc) (GHook *hook,
9197 gpointer data);
9198typedef void (*GHookMarshaller) (GHook *hook,
9199 gpointer marshal_data);
9200typedef gboolean (*GHookCheckMarshaller) (GHook *hook,
9201 gpointer marshal_data);
9202typedef void (*GHookFunc) (gpointer data);
9203typedef gboolean (*GHookCheckFunc) (gpointer data);
9204typedef void (*GHookFinalizeFunc) (GHookList *hook_list,
9205 GHook *hook);
9206typedef enum
9207{
9208 G_HOOK_FLAG_ACTIVE = 1 << 0,
9209 G_HOOK_FLAG_IN_CALL = 1 << 1,
9210 G_HOOK_FLAG_MASK = 0x0f
9211} GHookFlagMask;
9212
9213
9214
9215
9216struct _GHookList
9217{
9218 gulong seq_id;
9219 guint hook_size : 16;
9220 guint is_setup : 1;
9221 GHook *hooks;
9222 gpointer dummy3;
9223 GHookFinalizeFunc finalize_hook;
9224 gpointer dummy[2];
9225};
9226struct _GHook
9227{
9228 gpointer data;
9229 GHook *next;
9230 GHook *prev;
9231 guint ref_count;
9232 gulong hook_id;
9233 guint flags;
9234 gpointer func;
9235 GDestroyNotify destroy;
9236};
9237# 106 "/usr/include/glib-2.0/glib/ghook.h"
9238void g_hook_list_init (GHookList *hook_list,
9239 guint hook_size);
9240void g_hook_list_clear (GHookList *hook_list);
9241GHook* g_hook_alloc (GHookList *hook_list);
9242void g_hook_free (GHookList *hook_list,
9243 GHook *hook);
9244GHook * g_hook_ref (GHookList *hook_list,
9245 GHook *hook);
9246void g_hook_unref (GHookList *hook_list,
9247 GHook *hook);
9248gboolean g_hook_destroy (GHookList *hook_list,
9249 gulong hook_id);
9250void g_hook_destroy_link (GHookList *hook_list,
9251 GHook *hook);
9252void g_hook_prepend (GHookList *hook_list,
9253 GHook *hook);
9254void g_hook_insert_before (GHookList *hook_list,
9255 GHook *sibling,
9256 GHook *hook);
9257void g_hook_insert_sorted (GHookList *hook_list,
9258 GHook *hook,
9259 GHookCompareFunc func);
9260GHook* g_hook_get (GHookList *hook_list,
9261 gulong hook_id);
9262GHook* g_hook_find (GHookList *hook_list,
9263 gboolean need_valids,
9264 GHookFindFunc func,
9265 gpointer data);
9266GHook* g_hook_find_data (GHookList *hook_list,
9267 gboolean need_valids,
9268 gpointer data);
9269GHook* g_hook_find_func (GHookList *hook_list,
9270 gboolean need_valids,
9271 gpointer func);
9272GHook* g_hook_find_func_data (GHookList *hook_list,
9273 gboolean need_valids,
9274 gpointer func,
9275 gpointer data);
9276
9277GHook* g_hook_first_valid (GHookList *hook_list,
9278 gboolean may_be_in_call);
9279
9280
9281
9282GHook* g_hook_next_valid (GHookList *hook_list,
9283 GHook *hook,
9284 gboolean may_be_in_call);
9285
9286gint g_hook_compare_ids (GHook *new_hook,
9287 GHook *sibling);
9288
9289
9290
9291
9292
9293void g_hook_list_invoke (GHookList *hook_list,
9294 gboolean may_recurse);
9295
9296
9297
9298void g_hook_list_invoke_check (GHookList *hook_list,
9299 gboolean may_recurse);
9300
9301
9302void g_hook_list_marshal (GHookList *hook_list,
9303 gboolean may_recurse,
9304 GHookMarshaller marshaller,
9305 gpointer marshal_data);
9306void g_hook_list_marshal_check (GHookList *hook_list,
9307 gboolean may_recurse,
9308 GHookCheckMarshaller marshaller,
9309 gpointer marshal_data);
9310
9311
9312# 50 "/usr/include/glib-2.0/glib.h" 2
9313# 1 "/usr/include/glib-2.0/glib/giochannel.h" 1
9314# 34 "/usr/include/glib-2.0/glib/giochannel.h"
9315# 1 "/usr/include/glib-2.0/glib/gconvert.h" 1
9316# 35 "/usr/include/glib-2.0/glib/giochannel.h" 2
9317# 1 "/usr/include/glib-2.0/glib/gmain.h" 1
9318# 27 "/usr/include/glib-2.0/glib/gmain.h"
9319# 1 "/usr/include/glib-2.0/glib/gpoll.h" 1
9320# 27 "/usr/include/glib-2.0/glib/gpoll.h"
9321# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
9322# 28 "/usr/include/glib-2.0/glib/gpoll.h" 2
9323
9324
9325# 61 "/usr/include/glib-2.0/glib/gpoll.h"
9326typedef struct _GPollFD GPollFD;
9327typedef gint (*GPollFunc) (GPollFD *ufds,
9328 guint nfsd,
9329 gint timeout_);
9330
9331struct _GPollFD
9332{
9333
9334
9335
9336 gint fd;
9337
9338 gushort events;
9339 gushort revents;
9340};
9341# 87 "/usr/include/glib-2.0/glib/gpoll.h"
9342gint g_poll (GPollFD *fds,
9343 guint nfds,
9344 gint timeout);
9345
9346
9347# 28 "/usr/include/glib-2.0/glib/gmain.h" 2
9348# 1 "/usr/include/glib-2.0/glib/gslist.h" 1
9349# 34 "/usr/include/glib-2.0/glib/gslist.h"
9350# 1 "/usr/include/glib-2.0/glib/gmem.h" 1
9351# 35 "/usr/include/glib-2.0/glib/gslist.h" 2
9352
9353
9354
9355typedef struct _GSList GSList;
9356
9357struct _GSList
9358{
9359 gpointer data;
9360 GSList *next;
9361};
9362
9363
9364
9365GSList* g_slist_alloc (void) __attribute__((warn_unused_result));
9366void g_slist_free (GSList *list);
9367void g_slist_free_1 (GSList *list);
9368
9369GSList* g_slist_append (GSList *list,
9370 gpointer data) __attribute__((warn_unused_result));
9371GSList* g_slist_prepend (GSList *list,
9372 gpointer data) __attribute__((warn_unused_result));
9373GSList* g_slist_insert (GSList *list,
9374 gpointer data,
9375 gint position) __attribute__((warn_unused_result));
9376GSList* g_slist_insert_sorted (GSList *list,
9377 gpointer data,
9378 GCompareFunc func) __attribute__((warn_unused_result));
9379GSList* g_slist_insert_sorted_with_data (GSList *list,
9380 gpointer data,
9381 GCompareDataFunc func,
9382 gpointer user_data) __attribute__((warn_unused_result));
9383GSList* g_slist_insert_before (GSList *slist,
9384 GSList *sibling,
9385 gpointer data) __attribute__((warn_unused_result));
9386GSList* g_slist_concat (GSList *list1,
9387 GSList *list2) __attribute__((warn_unused_result));
9388GSList* g_slist_remove (GSList *list,
9389 gconstpointer data) __attribute__((warn_unused_result));
9390GSList* g_slist_remove_all (GSList *list,
9391 gconstpointer data) __attribute__((warn_unused_result));
9392GSList* g_slist_remove_link (GSList *list,
9393 GSList *link_) __attribute__((warn_unused_result));
9394GSList* g_slist_delete_link (GSList *list,
9395 GSList *link_) __attribute__((warn_unused_result));
9396GSList* g_slist_reverse (GSList *list) __attribute__((warn_unused_result));
9397GSList* g_slist_copy (GSList *list) __attribute__((warn_unused_result));
9398GSList* g_slist_nth (GSList *list,
9399 guint n);
9400GSList* g_slist_find (GSList *list,
9401 gconstpointer data);
9402GSList* g_slist_find_custom (GSList *list,
9403 gconstpointer data,
9404 GCompareFunc func);
9405gint g_slist_position (GSList *list,
9406 GSList *llink);
9407gint g_slist_index (GSList *list,
9408 gconstpointer data);
9409GSList* g_slist_last (GSList *list);
9410guint g_slist_length (GSList *list);
9411void g_slist_foreach (GSList *list,
9412 GFunc func,
9413 gpointer user_data);
9414GSList* g_slist_sort (GSList *list,
9415 GCompareFunc compare_func) __attribute__((warn_unused_result));
9416GSList* g_slist_sort_with_data (GSList *list,
9417 GCompareDataFunc compare_func,
9418 gpointer user_data) __attribute__((warn_unused_result));
9419gpointer g_slist_nth_data (GSList *list,
9420 guint n);
9421
9422
9423
9424
9425void g_slist_push_allocator (gpointer dummy);
9426void g_slist_pop_allocator (void);
9427
9428
9429
9430# 29 "/usr/include/glib-2.0/glib/gmain.h" 2
9431# 1 "/usr/include/glib-2.0/glib/gthread.h" 1
9432# 30 "/usr/include/glib-2.0/glib/gmain.h" 2
9433
9434
9435
9436typedef struct _GMainContext GMainContext;
9437typedef struct _GMainLoop GMainLoop;
9438typedef struct _GSource GSource;
9439typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs;
9440typedef struct _GSourceFuncs GSourceFuncs;
9441
9442typedef gboolean (*GSourceFunc) (gpointer data);
9443typedef void (*GChildWatchFunc) (GPid pid,
9444 gint status,
9445 gpointer data);
9446struct _GSource
9447{
9448
9449 gpointer callback_data;
9450 GSourceCallbackFuncs *callback_funcs;
9451
9452 GSourceFuncs *source_funcs;
9453 guint ref_count;
9454
9455 GMainContext *context;
9456
9457 gint priority;
9458 guint flags;
9459 guint source_id;
9460
9461 GSList *poll_fds;
9462
9463 GSource *prev;
9464 GSource *next;
9465
9466 gpointer reserved1;
9467 gpointer reserved2;
9468};
9469
9470struct _GSourceCallbackFuncs
9471{
9472 void (*ref) (gpointer cb_data);
9473 void (*unref) (gpointer cb_data);
9474 void (*get) (gpointer cb_data,
9475 GSource *source,
9476 GSourceFunc *func,
9477 gpointer *data);
9478};
9479
9480typedef void (*GSourceDummyMarshal) (void);
9481
9482struct _GSourceFuncs
9483{
9484 gboolean (*prepare) (GSource *source,
9485 gint *timeout_);
9486 gboolean (*check) (GSource *source);
9487 gboolean (*dispatch) (GSource *source,
9488 GSourceFunc callback,
9489 gpointer user_data);
9490 void (*finalize) (GSource *source);
9491
9492
9493 GSourceFunc closure_callback;
9494 GSourceDummyMarshal closure_marshal;
9495};
9496# 104 "/usr/include/glib-2.0/glib/gmain.h"
9497GMainContext *g_main_context_new (void);
9498GMainContext *g_main_context_ref (GMainContext *context);
9499void g_main_context_unref (GMainContext *context);
9500GMainContext *g_main_context_default (void);
9501
9502gboolean g_main_context_iteration (GMainContext *context,
9503 gboolean may_block);
9504gboolean g_main_context_pending (GMainContext *context);
9505
9506
9507
9508GSource *g_main_context_find_source_by_id (GMainContext *context,
9509 guint source_id);
9510GSource *g_main_context_find_source_by_user_data (GMainContext *context,
9511 gpointer user_data);
9512GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context,
9513 GSourceFuncs *funcs,
9514 gpointer user_data);
9515
9516
9517
9518void g_main_context_wakeup (GMainContext *context);
9519gboolean g_main_context_acquire (GMainContext *context);
9520void g_main_context_release (GMainContext *context);
9521gboolean g_main_context_is_owner (GMainContext *context);
9522gboolean g_main_context_wait (GMainContext *context,
9523 GCond *cond,
9524 GMutex *mutex);
9525
9526gboolean g_main_context_prepare (GMainContext *context,
9527 gint *priority);
9528gint g_main_context_query (GMainContext *context,
9529 gint max_priority,
9530 gint *timeout_,
9531 GPollFD *fds,
9532 gint n_fds);
9533gint g_main_context_check (GMainContext *context,
9534 gint max_priority,
9535 GPollFD *fds,
9536 gint n_fds);
9537void g_main_context_dispatch (GMainContext *context);
9538
9539void g_main_context_set_poll_func (GMainContext *context,
9540 GPollFunc func);
9541GPollFunc g_main_context_get_poll_func (GMainContext *context);
9542
9543
9544
9545void g_main_context_add_poll (GMainContext *context,
9546 GPollFD *fd,
9547 gint priority);
9548void g_main_context_remove_poll (GMainContext *context,
9549 GPollFD *fd);
9550
9551gint g_main_depth (void);
9552GSource *g_main_current_source (void);
9553
9554
9555
9556
9557GMainLoop *g_main_loop_new (GMainContext *context,
9558 gboolean is_running);
9559void g_main_loop_run (GMainLoop *loop);
9560void g_main_loop_quit (GMainLoop *loop);
9561GMainLoop *g_main_loop_ref (GMainLoop *loop);
9562void g_main_loop_unref (GMainLoop *loop);
9563gboolean g_main_loop_is_running (GMainLoop *loop);
9564GMainContext *g_main_loop_get_context (GMainLoop *loop);
9565
9566
9567
9568GSource *g_source_new (GSourceFuncs *source_funcs,
9569 guint struct_size);
9570GSource *g_source_ref (GSource *source);
9571void g_source_unref (GSource *source);
9572
9573guint g_source_attach (GSource *source,
9574 GMainContext *context);
9575void g_source_destroy (GSource *source);
9576
9577void g_source_set_priority (GSource *source,
9578 gint priority);
9579gint g_source_get_priority (GSource *source);
9580void g_source_set_can_recurse (GSource *source,
9581 gboolean can_recurse);
9582gboolean g_source_get_can_recurse (GSource *source);
9583guint g_source_get_id (GSource *source);
9584
9585GMainContext *g_source_get_context (GSource *source);
9586
9587void g_source_set_callback (GSource *source,
9588 GSourceFunc func,
9589 gpointer data,
9590 GDestroyNotify notify);
9591
9592void g_source_set_funcs (GSource *source,
9593 GSourceFuncs *funcs);
9594gboolean g_source_is_destroyed (GSource *source);
9595
9596
9597void g_source_set_callback_indirect (GSource *source,
9598 gpointer callback_data,
9599 GSourceCallbackFuncs *callback_funcs);
9600
9601void g_source_add_poll (GSource *source,
9602 GPollFD *fd);
9603void g_source_remove_poll (GSource *source,
9604 GPollFD *fd);
9605
9606void g_source_get_current_time (GSource *source,
9607 GTimeVal *timeval);
9608
9609
9610
9611
9612
9613
9614
9615GSource *g_idle_source_new (void);
9616GSource *g_child_watch_source_new (GPid pid);
9617GSource *g_timeout_source_new (guint interval);
9618GSource *g_timeout_source_new_seconds (guint interval);
9619
9620
9621
9622void g_get_current_time (GTimeVal *result);
9623# 254 "/usr/include/glib-2.0/glib/gmain.h"
9624gboolean g_source_remove (guint tag);
9625gboolean g_source_remove_by_user_data (gpointer user_data);
9626gboolean g_source_remove_by_funcs_user_data (GSourceFuncs *funcs,
9627 gpointer user_data);
9628
9629
9630guint g_timeout_add_full (gint priority,
9631 guint interval,
9632 GSourceFunc function,
9633 gpointer data,
9634 GDestroyNotify notify);
9635guint g_timeout_add (guint interval,
9636 GSourceFunc function,
9637 gpointer data);
9638guint g_timeout_add_seconds_full (gint priority,
9639 guint interval,
9640 GSourceFunc function,
9641 gpointer data,
9642 GDestroyNotify notify);
9643guint g_timeout_add_seconds (guint interval,
9644 GSourceFunc function,
9645 gpointer data);
9646guint g_child_watch_add_full (gint priority,
9647 GPid pid,
9648 GChildWatchFunc function,
9649 gpointer data,
9650 GDestroyNotify notify);
9651guint g_child_watch_add (GPid pid,
9652 GChildWatchFunc function,
9653 gpointer data);
9654guint g_idle_add (GSourceFunc function,
9655 gpointer data);
9656guint g_idle_add_full (gint priority,
9657 GSourceFunc function,
9658 gpointer data,
9659 GDestroyNotify notify);
9660gboolean g_idle_remove_by_data (gpointer data);
9661
9662
9663extern GSourceFuncs g_timeout_funcs;
9664extern GSourceFuncs g_child_watch_funcs;
9665extern GSourceFuncs g_idle_funcs;
9666
9667
9668# 36 "/usr/include/glib-2.0/glib/giochannel.h" 2
9669# 1 "/usr/include/glib-2.0/glib/gstring.h" 1
9670# 34 "/usr/include/glib-2.0/glib/gstring.h"
9671# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
9672# 35 "/usr/include/glib-2.0/glib/gstring.h" 2
9673# 1 "/usr/include/glib-2.0/glib/gunicode.h" 1
9674# 29 "/usr/include/glib-2.0/glib/gunicode.h"
9675# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
9676# 30 "/usr/include/glib-2.0/glib/gunicode.h" 2
9677# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
9678# 31 "/usr/include/glib-2.0/glib/gunicode.h" 2
9679
9680
9681
9682typedef guint32 gunichar;
9683typedef guint16 gunichar2;
9684
9685
9686
9687
9688typedef enum
9689{
9690 G_UNICODE_CONTROL,
9691 G_UNICODE_FORMAT,
9692 G_UNICODE_UNASSIGNED,
9693 G_UNICODE_PRIVATE_USE,
9694 G_UNICODE_SURROGATE,
9695 G_UNICODE_LOWERCASE_LETTER,
9696 G_UNICODE_MODIFIER_LETTER,
9697 G_UNICODE_OTHER_LETTER,
9698 G_UNICODE_TITLECASE_LETTER,
9699 G_UNICODE_UPPERCASE_LETTER,
9700 G_UNICODE_COMBINING_MARK,
9701 G_UNICODE_ENCLOSING_MARK,
9702 G_UNICODE_NON_SPACING_MARK,
9703 G_UNICODE_DECIMAL_NUMBER,
9704 G_UNICODE_LETTER_NUMBER,
9705 G_UNICODE_OTHER_NUMBER,
9706 G_UNICODE_CONNECT_PUNCTUATION,
9707 G_UNICODE_DASH_PUNCTUATION,
9708 G_UNICODE_CLOSE_PUNCTUATION,
9709 G_UNICODE_FINAL_PUNCTUATION,
9710 G_UNICODE_INITIAL_PUNCTUATION,
9711 G_UNICODE_OTHER_PUNCTUATION,
9712 G_UNICODE_OPEN_PUNCTUATION,
9713 G_UNICODE_CURRENCY_SYMBOL,
9714 G_UNICODE_MODIFIER_SYMBOL,
9715 G_UNICODE_MATH_SYMBOL,
9716 G_UNICODE_OTHER_SYMBOL,
9717 G_UNICODE_LINE_SEPARATOR,
9718 G_UNICODE_PARAGRAPH_SEPARATOR,
9719 G_UNICODE_SPACE_SEPARATOR
9720} GUnicodeType;
9721
9722
9723
9724
9725
9726
9727typedef enum
9728{
9729 G_UNICODE_BREAK_MANDATORY,
9730 G_UNICODE_BREAK_CARRIAGE_RETURN,
9731 G_UNICODE_BREAK_LINE_FEED,
9732 G_UNICODE_BREAK_COMBINING_MARK,
9733 G_UNICODE_BREAK_SURROGATE,
9734 G_UNICODE_BREAK_ZERO_WIDTH_SPACE,
9735 G_UNICODE_BREAK_INSEPARABLE,
9736 G_UNICODE_BREAK_NON_BREAKING_GLUE,
9737 G_UNICODE_BREAK_CONTINGENT,
9738 G_UNICODE_BREAK_SPACE,
9739 G_UNICODE_BREAK_AFTER,
9740 G_UNICODE_BREAK_BEFORE,
9741 G_UNICODE_BREAK_BEFORE_AND_AFTER,
9742 G_UNICODE_BREAK_HYPHEN,
9743 G_UNICODE_BREAK_NON_STARTER,
9744 G_UNICODE_BREAK_OPEN_PUNCTUATION,
9745 G_UNICODE_BREAK_CLOSE_PUNCTUATION,
9746 G_UNICODE_BREAK_QUOTATION,
9747 G_UNICODE_BREAK_EXCLAMATION,
9748 G_UNICODE_BREAK_IDEOGRAPHIC,
9749 G_UNICODE_BREAK_NUMERIC,
9750 G_UNICODE_BREAK_INFIX_SEPARATOR,
9751 G_UNICODE_BREAK_SYMBOL,
9752 G_UNICODE_BREAK_ALPHABETIC,
9753 G_UNICODE_BREAK_PREFIX,
9754 G_UNICODE_BREAK_POSTFIX,
9755 G_UNICODE_BREAK_COMPLEX_CONTEXT,
9756 G_UNICODE_BREAK_AMBIGUOUS,
9757 G_UNICODE_BREAK_UNKNOWN,
9758 G_UNICODE_BREAK_NEXT_LINE,
9759 G_UNICODE_BREAK_WORD_JOINER,
9760 G_UNICODE_BREAK_HANGUL_L_JAMO,
9761 G_UNICODE_BREAK_HANGUL_V_JAMO,
9762 G_UNICODE_BREAK_HANGUL_T_JAMO,
9763 G_UNICODE_BREAK_HANGUL_LV_SYLLABLE,
9764 G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE
9765} GUnicodeBreakType;
9766
9767typedef enum
9768{
9769 G_UNICODE_SCRIPT_INVALID_CODE = -1,
9770 G_UNICODE_SCRIPT_COMMON = 0,
9771 G_UNICODE_SCRIPT_INHERITED,
9772 G_UNICODE_SCRIPT_ARABIC,
9773 G_UNICODE_SCRIPT_ARMENIAN,
9774 G_UNICODE_SCRIPT_BENGALI,
9775 G_UNICODE_SCRIPT_BOPOMOFO,
9776 G_UNICODE_SCRIPT_CHEROKEE,
9777 G_UNICODE_SCRIPT_COPTIC,
9778 G_UNICODE_SCRIPT_CYRILLIC,
9779 G_UNICODE_SCRIPT_DESERET,
9780 G_UNICODE_SCRIPT_DEVANAGARI,
9781 G_UNICODE_SCRIPT_ETHIOPIC,
9782 G_UNICODE_SCRIPT_GEORGIAN,
9783 G_UNICODE_SCRIPT_GOTHIC,
9784 G_UNICODE_SCRIPT_GREEK,
9785 G_UNICODE_SCRIPT_GUJARATI,
9786 G_UNICODE_SCRIPT_GURMUKHI,
9787 G_UNICODE_SCRIPT_HAN,
9788 G_UNICODE_SCRIPT_HANGUL,
9789 G_UNICODE_SCRIPT_HEBREW,
9790 G_UNICODE_SCRIPT_HIRAGANA,
9791 G_UNICODE_SCRIPT_KANNADA,
9792 G_UNICODE_SCRIPT_KATAKANA,
9793 G_UNICODE_SCRIPT_KHMER,
9794 G_UNICODE_SCRIPT_LAO,
9795 G_UNICODE_SCRIPT_LATIN,
9796 G_UNICODE_SCRIPT_MALAYALAM,
9797 G_UNICODE_SCRIPT_MONGOLIAN,
9798 G_UNICODE_SCRIPT_MYANMAR,
9799 G_UNICODE_SCRIPT_OGHAM,
9800 G_UNICODE_SCRIPT_OLD_ITALIC,
9801 G_UNICODE_SCRIPT_ORIYA,
9802 G_UNICODE_SCRIPT_RUNIC,
9803 G_UNICODE_SCRIPT_SINHALA,
9804 G_UNICODE_SCRIPT_SYRIAC,
9805 G_UNICODE_SCRIPT_TAMIL,
9806 G_UNICODE_SCRIPT_TELUGU,
9807 G_UNICODE_SCRIPT_THAANA,
9808 G_UNICODE_SCRIPT_THAI,
9809 G_UNICODE_SCRIPT_TIBETAN,
9810 G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL,
9811 G_UNICODE_SCRIPT_YI,
9812 G_UNICODE_SCRIPT_TAGALOG,
9813 G_UNICODE_SCRIPT_HANUNOO,
9814 G_UNICODE_SCRIPT_BUHID,
9815 G_UNICODE_SCRIPT_TAGBANWA,
9816
9817
9818 G_UNICODE_SCRIPT_BRAILLE,
9819 G_UNICODE_SCRIPT_CYPRIOT,
9820 G_UNICODE_SCRIPT_LIMBU,
9821 G_UNICODE_SCRIPT_OSMANYA,
9822 G_UNICODE_SCRIPT_SHAVIAN,
9823 G_UNICODE_SCRIPT_LINEAR_B,
9824 G_UNICODE_SCRIPT_TAI_LE,
9825 G_UNICODE_SCRIPT_UGARITIC,
9826
9827
9828 G_UNICODE_SCRIPT_NEW_TAI_LUE,
9829 G_UNICODE_SCRIPT_BUGINESE,
9830 G_UNICODE_SCRIPT_GLAGOLITIC,
9831 G_UNICODE_SCRIPT_TIFINAGH,
9832 G_UNICODE_SCRIPT_SYLOTI_NAGRI,
9833 G_UNICODE_SCRIPT_OLD_PERSIAN,
9834 G_UNICODE_SCRIPT_KHAROSHTHI,
9835
9836
9837 G_UNICODE_SCRIPT_UNKNOWN,
9838 G_UNICODE_SCRIPT_BALINESE,
9839 G_UNICODE_SCRIPT_CUNEIFORM,
9840 G_UNICODE_SCRIPT_PHOENICIAN,
9841 G_UNICODE_SCRIPT_PHAGS_PA,
9842 G_UNICODE_SCRIPT_NKO,
9843
9844
9845 G_UNICODE_SCRIPT_KAYAH_LI,
9846 G_UNICODE_SCRIPT_LEPCHA,
9847 G_UNICODE_SCRIPT_REJANG,
9848 G_UNICODE_SCRIPT_SUNDANESE,
9849 G_UNICODE_SCRIPT_SAURASHTRA,
9850 G_UNICODE_SCRIPT_CHAM,
9851 G_UNICODE_SCRIPT_OL_CHIKI,
9852 G_UNICODE_SCRIPT_VAI,
9853 G_UNICODE_SCRIPT_CARIAN,
9854 G_UNICODE_SCRIPT_LYCIAN,
9855 G_UNICODE_SCRIPT_LYDIAN
9856} GUnicodeScript;
9857
9858
9859
9860
9861
9862
9863
9864gboolean g_get_charset (const char **charset);
9865
9866
9867
9868gboolean g_unichar_isalnum (gunichar c) __attribute__((__const__));
9869gboolean g_unichar_isalpha (gunichar c) __attribute__((__const__));
9870gboolean g_unichar_iscntrl (gunichar c) __attribute__((__const__));
9871gboolean g_unichar_isdigit (gunichar c) __attribute__((__const__));
9872gboolean g_unichar_isgraph (gunichar c) __attribute__((__const__));
9873gboolean g_unichar_islower (gunichar c) __attribute__((__const__));
9874gboolean g_unichar_isprint (gunichar c) __attribute__((__const__));
9875gboolean g_unichar_ispunct (gunichar c) __attribute__((__const__));
9876gboolean g_unichar_isspace (gunichar c) __attribute__((__const__));
9877gboolean g_unichar_isupper (gunichar c) __attribute__((__const__));
9878gboolean g_unichar_isxdigit (gunichar c) __attribute__((__const__));
9879gboolean g_unichar_istitle (gunichar c) __attribute__((__const__));
9880gboolean g_unichar_isdefined (gunichar c) __attribute__((__const__));
9881gboolean g_unichar_iswide (gunichar c) __attribute__((__const__));
9882gboolean g_unichar_iswide_cjk(gunichar c) __attribute__((__const__));
9883gboolean g_unichar_iszerowidth(gunichar c) __attribute__((__const__));
9884gboolean g_unichar_ismark (gunichar c) __attribute__((__const__));
9885
9886
9887
9888gunichar g_unichar_toupper (gunichar c) __attribute__((__const__));
9889gunichar g_unichar_tolower (gunichar c) __attribute__((__const__));
9890gunichar g_unichar_totitle (gunichar c) __attribute__((__const__));
9891
9892
9893
9894gint g_unichar_digit_value (gunichar c) __attribute__((__const__));
9895
9896gint g_unichar_xdigit_value (gunichar c) __attribute__((__const__));
9897
9898
9899GUnicodeType g_unichar_type (gunichar c) __attribute__((__const__));
9900
9901
9902GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__((__const__));
9903
9904
9905gint g_unichar_combining_class (gunichar uc) __attribute__((__const__));
9906
9907
9908
9909
9910
9911void g_unicode_canonical_ordering (gunichar *string,
9912 gsize len);
9913
9914
9915
9916
9917gunichar *g_unicode_canonical_decomposition (gunichar ch,
9918 gsize *result_len) __attribute__((__malloc__));
9919
9920
9921
9922extern const gchar * const g_utf8_skip;
9923
9924
9925
9926gunichar g_utf8_get_char (const gchar *p) __attribute__((__pure__));
9927gunichar g_utf8_get_char_validated (const gchar *p,
9928 gssize max_len) __attribute__((__pure__));
9929
9930gchar* g_utf8_offset_to_pointer (const gchar *str,
9931 glong offset) __attribute__((__pure__));
9932glong g_utf8_pointer_to_offset (const gchar *str,
9933 const gchar *pos) __attribute__((__pure__));
9934gchar* g_utf8_prev_char (const gchar *p) __attribute__((__pure__));
9935gchar* g_utf8_find_next_char (const gchar *p,
9936 const gchar *end) __attribute__((__pure__));
9937gchar* g_utf8_find_prev_char (const gchar *str,
9938 const gchar *p) __attribute__((__pure__));
9939
9940glong g_utf8_strlen (const gchar *p,
9941 gssize max) __attribute__((__pure__));
9942
9943
9944gchar* g_utf8_strncpy (gchar *dest,
9945 const gchar *src,
9946 gsize n);
9947
9948
9949
9950gchar* g_utf8_strchr (const gchar *p,
9951 gssize len,
9952 gunichar c);
9953gchar* g_utf8_strrchr (const gchar *p,
9954 gssize len,
9955 gunichar c);
9956gchar* g_utf8_strreverse (const gchar *str,
9957 gssize len);
9958
9959gunichar2 *g_utf8_to_utf16 (const gchar *str,
9960 glong len,
9961 glong *items_read,
9962 glong *items_written,
9963 GError **error) __attribute__((__malloc__));
9964gunichar * g_utf8_to_ucs4 (const gchar *str,
9965 glong len,
9966 glong *items_read,
9967 glong *items_written,
9968 GError **error) __attribute__((__malloc__));
9969gunichar * g_utf8_to_ucs4_fast (const gchar *str,
9970 glong len,
9971 glong *items_written) __attribute__((__malloc__));
9972gunichar * g_utf16_to_ucs4 (const gunichar2 *str,
9973 glong len,
9974 glong *items_read,
9975 glong *items_written,
9976 GError **error) __attribute__((__malloc__));
9977gchar* g_utf16_to_utf8 (const gunichar2 *str,
9978 glong len,
9979 glong *items_read,
9980 glong *items_written,
9981 GError **error) __attribute__((__malloc__));
9982gunichar2 *g_ucs4_to_utf16 (const gunichar *str,
9983 glong len,
9984 glong *items_read,
9985 glong *items_written,
9986 GError **error) __attribute__((__malloc__));
9987gchar* g_ucs4_to_utf8 (const gunichar *str,
9988 glong len,
9989 glong *items_read,
9990 glong *items_written,
9991 GError **error) __attribute__((__malloc__));
9992
9993
9994
9995
9996
9997gint g_unichar_to_utf8 (gunichar c,
9998 gchar *outbuf);
9999
10000
10001
10002
10003
10004gboolean g_utf8_validate (const gchar *str,
10005 gssize max_len,
10006 const gchar **end);
10007
10008
10009gboolean g_unichar_validate (gunichar ch) __attribute__((__const__));
10010
10011gchar *g_utf8_strup (const gchar *str,
10012 gssize len) __attribute__((__malloc__));
10013gchar *g_utf8_strdown (const gchar *str,
10014 gssize len) __attribute__((__malloc__));
10015gchar *g_utf8_casefold (const gchar *str,
10016 gssize len) __attribute__((__malloc__));
10017
10018typedef enum {
10019 G_NORMALIZE_DEFAULT,
10020 G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT,
10021 G_NORMALIZE_DEFAULT_COMPOSE,
10022 G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE,
10023 G_NORMALIZE_ALL,
10024 G_NORMALIZE_NFKD = G_NORMALIZE_ALL,
10025 G_NORMALIZE_ALL_COMPOSE,
10026 G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE
10027} GNormalizeMode;
10028
10029gchar *g_utf8_normalize (const gchar *str,
10030 gssize len,
10031 GNormalizeMode mode) __attribute__((__malloc__));
10032
10033gint g_utf8_collate (const gchar *str1,
10034 const gchar *str2) __attribute__((__pure__));
10035gchar *g_utf8_collate_key (const gchar *str,
10036 gssize len) __attribute__((__malloc__));
10037gchar *g_utf8_collate_key_for_filename (const gchar *str,
10038 gssize len) __attribute__((__malloc__));
10039
10040gboolean g_unichar_get_mirror_char (gunichar ch,
10041 gunichar *mirrored_ch);
10042
10043GUnicodeScript g_unichar_get_script (gunichar ch) __attribute__((__const__));
10044
10045
10046
10047
10048gchar *_g_utf8_make_valid (const gchar *name);
10049
10050
10051# 36 "/usr/include/glib-2.0/glib/gstring.h" 2
10052# 1 "/usr/include/glib-2.0/glib/gutils.h" 1
10053# 37 "/usr/include/glib-2.0/glib/gstring.h" 2
10054
10055
10056
10057typedef struct _GString GString;
10058typedef struct _GStringChunk GStringChunk;
10059
10060struct _GString
10061{
10062 gchar *str;
10063 gsize len;
10064 gsize allocated_len;
10065};
10066
10067
10068
10069GStringChunk* g_string_chunk_new (gsize size);
10070void g_string_chunk_free (GStringChunk *chunk);
10071void g_string_chunk_clear (GStringChunk *chunk);
10072gchar* g_string_chunk_insert (GStringChunk *chunk,
10073 const gchar *string);
10074gchar* g_string_chunk_insert_len (GStringChunk *chunk,
10075 const gchar *string,
10076 gssize len);
10077gchar* g_string_chunk_insert_const (GStringChunk *chunk,
10078 const gchar *string);
10079
10080
10081
10082
10083GString* g_string_new (const gchar *init);
10084GString* g_string_new_len (const gchar *init,
10085 gssize len);
10086GString* g_string_sized_new (gsize dfl_size);
10087gchar* g_string_free (GString *string,
10088 gboolean free_segment);
10089gboolean g_string_equal (const GString *v,
10090 const GString *v2);
10091guint g_string_hash (const GString *str);
10092GString* g_string_assign (GString *string,
10093 const gchar *rval);
10094GString* g_string_truncate (GString *string,
10095 gsize len);
10096GString* g_string_set_size (GString *string,
10097 gsize len);
10098GString* g_string_insert_len (GString *string,
10099 gssize pos,
10100 const gchar *val,
10101 gssize len);
10102GString* g_string_append (GString *string,
10103 const gchar *val);
10104GString* g_string_append_len (GString *string,
10105 const gchar *val,
10106 gssize len);
10107GString* g_string_append_c (GString *string,
10108 gchar c);
10109GString* g_string_append_unichar (GString *string,
10110 gunichar wc);
10111GString* g_string_prepend (GString *string,
10112 const gchar *val);
10113GString* g_string_prepend_c (GString *string,
10114 gchar c);
10115GString* g_string_prepend_unichar (GString *string,
10116 gunichar wc);
10117GString* g_string_prepend_len (GString *string,
10118 const gchar *val,
10119 gssize len);
10120GString* g_string_insert (GString *string,
10121 gssize pos,
10122 const gchar *val);
10123GString* g_string_insert_c (GString *string,
10124 gssize pos,
10125 gchar c);
10126GString* g_string_insert_unichar (GString *string,
10127 gssize pos,
10128 gunichar wc);
10129GString* g_string_overwrite (GString *string,
10130 gsize pos,
10131 const gchar *val);
10132GString* g_string_overwrite_len (GString *string,
10133 gsize pos,
10134 const gchar *val,
10135 gssize len);
10136GString* g_string_erase (GString *string,
10137 gssize pos,
10138 gssize len);
10139GString* g_string_ascii_down (GString *string);
10140GString* g_string_ascii_up (GString *string);
10141void g_string_vprintf (GString *string,
10142 const gchar *format,
10143 va_list args);
10144void g_string_printf (GString *string,
10145 const gchar *format,
10146 ...) __attribute__((__format__ (__printf__, 2, 3)));
10147void g_string_append_vprintf (GString *string,
10148 const gchar *format,
10149 va_list args);
10150void g_string_append_printf (GString *string,
10151 const gchar *format,
10152 ...) __attribute__((__format__ (__printf__, 2, 3)));
10153GString * g_string_append_uri_escaped(GString *string,
10154 const char *unescaped,
10155 const char *reserved_chars_allowed,
10156 gboolean allow_utf8);
10157
10158
10159
10160static inline GString*
10161g_string_append_c_inline (GString *gstring,
10162 gchar c)
10163{
10164 if (gstring->len + 1 < gstring->allocated_len)
10165 {
10166 gstring->str[gstring->len++] = c;
10167 gstring->str[gstring->len] = 0;
10168 }
10169 else
10170 g_string_insert_c (gstring, -1, c);
10171 return gstring;
10172}
10173# 167 "/usr/include/glib-2.0/glib/gstring.h"
10174GString* g_string_down (GString *string);
10175GString* g_string_up (GString *string);
10176
10177
10178
10179
10180
10181
10182
10183
10184# 37 "/usr/include/glib-2.0/glib/giochannel.h" 2
10185
10186
10187
10188
10189
10190
10191typedef struct _GIOChannel GIOChannel;
10192typedef struct _GIOFuncs GIOFuncs;
10193
10194typedef enum
10195{
10196 G_IO_ERROR_NONE,
10197 G_IO_ERROR_AGAIN,
10198 G_IO_ERROR_INVAL,
10199 G_IO_ERROR_UNKNOWN
10200} GIOError;
10201
10202
10203
10204typedef enum
10205{
10206
10207 G_IO_CHANNEL_ERROR_FBIG,
10208 G_IO_CHANNEL_ERROR_INVAL,
10209 G_IO_CHANNEL_ERROR_IO,
10210 G_IO_CHANNEL_ERROR_ISDIR,
10211 G_IO_CHANNEL_ERROR_NOSPC,
10212 G_IO_CHANNEL_ERROR_NXIO,
10213 G_IO_CHANNEL_ERROR_OVERFLOW,
10214 G_IO_CHANNEL_ERROR_PIPE,
10215
10216 G_IO_CHANNEL_ERROR_FAILED
10217} GIOChannelError;
10218
10219typedef enum
10220{
10221 G_IO_STATUS_ERROR,
10222 G_IO_STATUS_NORMAL,
10223 G_IO_STATUS_EOF,
10224 G_IO_STATUS_AGAIN
10225} GIOStatus;
10226
10227typedef enum
10228{
10229 G_SEEK_CUR,
10230 G_SEEK_SET,
10231 G_SEEK_END
10232} GSeekType;
10233
10234typedef enum
10235{
10236 G_IO_IN =1,
10237 G_IO_OUT =4,
10238 G_IO_PRI =2,
10239 G_IO_ERR =8,
10240 G_IO_HUP =16,
10241 G_IO_NVAL =32
10242} GIOCondition;
10243
10244typedef enum
10245{
10246 G_IO_FLAG_APPEND = 1 << 0,
10247 G_IO_FLAG_NONBLOCK = 1 << 1,
10248 G_IO_FLAG_IS_READABLE = 1 << 2,
10249 G_IO_FLAG_IS_WRITEABLE = 1 << 3,
10250 G_IO_FLAG_IS_SEEKABLE = 1 << 4,
10251 G_IO_FLAG_MASK = (1 << 5) - 1,
10252 G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK,
10253 G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK
10254} GIOFlags;
10255
10256struct _GIOChannel
10257{
10258
10259 gint ref_count;
10260 GIOFuncs *funcs;
10261
10262 gchar *encoding;
10263 GIConv read_cd;
10264 GIConv write_cd;
10265 gchar *line_term;
10266 guint line_term_len;
10267
10268 gsize buf_size;
10269 GString *read_buf;
10270 GString *encoded_read_buf;
10271 GString *write_buf;
10272 gchar partial_write_buf[6];
10273
10274
10275
10276 guint use_buffer : 1;
10277 guint do_encode : 1;
10278 guint close_on_unref : 1;
10279 guint is_readable : 1;
10280 guint is_writeable : 1;
10281 guint is_seekable : 1;
10282
10283 gpointer reserved1;
10284 gpointer reserved2;
10285};
10286
10287typedef gboolean (*GIOFunc) (GIOChannel *source,
10288 GIOCondition condition,
10289 gpointer data);
10290struct _GIOFuncs
10291{
10292 GIOStatus (*io_read) (GIOChannel *channel,
10293 gchar *buf,
10294 gsize count,
10295 gsize *bytes_read,
10296 GError **err);
10297 GIOStatus (*io_write) (GIOChannel *channel,
10298 const gchar *buf,
10299 gsize count,
10300 gsize *bytes_written,
10301 GError **err);
10302 GIOStatus (*io_seek) (GIOChannel *channel,
10303 gint64 offset,
10304 GSeekType type,
10305 GError **err);
10306 GIOStatus (*io_close) (GIOChannel *channel,
10307 GError **err);
10308 GSource* (*io_create_watch) (GIOChannel *channel,
10309 GIOCondition condition);
10310 void (*io_free) (GIOChannel *channel);
10311 GIOStatus (*io_set_flags) (GIOChannel *channel,
10312 GIOFlags flags,
10313 GError **err);
10314 GIOFlags (*io_get_flags) (GIOChannel *channel);
10315};
10316
10317void g_io_channel_init (GIOChannel *channel);
10318GIOChannel *g_io_channel_ref (GIOChannel *channel);
10319void g_io_channel_unref (GIOChannel *channel);
10320
10321
10322GIOError g_io_channel_read (GIOChannel *channel,
10323 gchar *buf,
10324 gsize count,
10325 gsize *bytes_read);
10326GIOError g_io_channel_write (GIOChannel *channel,
10327 const gchar *buf,
10328 gsize count,
10329 gsize *bytes_written);
10330GIOError g_io_channel_seek (GIOChannel *channel,
10331 gint64 offset,
10332 GSeekType type);
10333void g_io_channel_close (GIOChannel *channel);
10334
10335
10336GIOStatus g_io_channel_shutdown (GIOChannel *channel,
10337 gboolean flush,
10338 GError **err);
10339guint g_io_add_watch_full (GIOChannel *channel,
10340 gint priority,
10341 GIOCondition condition,
10342 GIOFunc func,
10343 gpointer user_data,
10344 GDestroyNotify notify);
10345GSource * g_io_create_watch (GIOChannel *channel,
10346 GIOCondition condition);
10347guint g_io_add_watch (GIOChannel *channel,
10348 GIOCondition condition,
10349 GIOFunc func,
10350 gpointer user_data);
10351
10352
10353
10354
10355void g_io_channel_set_buffer_size (GIOChannel *channel,
10356 gsize size);
10357gsize g_io_channel_get_buffer_size (GIOChannel *channel);
10358GIOCondition g_io_channel_get_buffer_condition (GIOChannel *channel);
10359GIOStatus g_io_channel_set_flags (GIOChannel *channel,
10360 GIOFlags flags,
10361 GError **error);
10362GIOFlags g_io_channel_get_flags (GIOChannel *channel);
10363void g_io_channel_set_line_term (GIOChannel *channel,
10364 const gchar *line_term,
10365 gint length);
10366const gchar* g_io_channel_get_line_term (GIOChannel *channel,
10367 gint *length);
10368void g_io_channel_set_buffered (GIOChannel *channel,
10369 gboolean buffered);
10370gboolean g_io_channel_get_buffered (GIOChannel *channel);
10371GIOStatus g_io_channel_set_encoding (GIOChannel *channel,
10372 const gchar *encoding,
10373 GError **error);
10374const gchar* g_io_channel_get_encoding (GIOChannel *channel);
10375void g_io_channel_set_close_on_unref (GIOChannel *channel,
10376 gboolean do_close);
10377gboolean g_io_channel_get_close_on_unref (GIOChannel *channel);
10378
10379
10380GIOStatus g_io_channel_flush (GIOChannel *channel,
10381 GError **error);
10382GIOStatus g_io_channel_read_line (GIOChannel *channel,
10383 gchar **str_return,
10384 gsize *length,
10385 gsize *terminator_pos,
10386 GError **error);
10387GIOStatus g_io_channel_read_line_string (GIOChannel *channel,
10388 GString *buffer,
10389 gsize *terminator_pos,
10390 GError **error);
10391GIOStatus g_io_channel_read_to_end (GIOChannel *channel,
10392 gchar **str_return,
10393 gsize *length,
10394 GError **error);
10395GIOStatus g_io_channel_read_chars (GIOChannel *channel,
10396 gchar *buf,
10397 gsize count,
10398 gsize *bytes_read,
10399 GError **error);
10400GIOStatus g_io_channel_read_unichar (GIOChannel *channel,
10401 gunichar *thechar,
10402 GError **error);
10403GIOStatus g_io_channel_write_chars (GIOChannel *channel,
10404 const gchar *buf,
10405 gssize count,
10406 gsize *bytes_written,
10407 GError **error);
10408GIOStatus g_io_channel_write_unichar (GIOChannel *channel,
10409 gunichar thechar,
10410 GError **error);
10411GIOStatus g_io_channel_seek_position (GIOChannel *channel,
10412 gint64 offset,
10413 GSeekType type,
10414 GError **error);
10415
10416
10417
10418
10419GIOChannel* g_io_channel_new_file (const gchar *filename,
10420 const gchar *mode,
10421 GError **error);
10422
10423
10424
10425GQuark g_io_channel_error_quark (void);
10426GIOChannelError g_io_channel_error_from_errno (gint en);
10427# 298 "/usr/include/glib-2.0/glib/giochannel.h"
10428GIOChannel* g_io_channel_unix_new (int fd);
10429gint g_io_channel_unix_get_fd (GIOChannel *channel);
10430
10431
10432
10433extern GSourceFuncs g_io_watch_funcs;
10434# 364 "/usr/include/glib-2.0/glib/giochannel.h"
10435
10436# 51 "/usr/include/glib-2.0/glib.h" 2
10437# 1 "/usr/include/glib-2.0/glib/gkeyfile.h" 1
10438# 30 "/usr/include/glib-2.0/glib/gkeyfile.h"
10439# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
10440# 31 "/usr/include/glib-2.0/glib/gkeyfile.h" 2
10441
10442
10443
10444typedef enum
10445{
10446 G_KEY_FILE_ERROR_UNKNOWN_ENCODING,
10447 G_KEY_FILE_ERROR_PARSE,
10448 G_KEY_FILE_ERROR_NOT_FOUND,
10449 G_KEY_FILE_ERROR_KEY_NOT_FOUND,
10450 G_KEY_FILE_ERROR_GROUP_NOT_FOUND,
10451 G_KEY_FILE_ERROR_INVALID_VALUE
10452} GKeyFileError;
10453
10454
10455
10456GQuark g_key_file_error_quark (void);
10457
10458typedef struct _GKeyFile GKeyFile;
10459
10460typedef enum
10461{
10462 G_KEY_FILE_NONE = 0,
10463 G_KEY_FILE_KEEP_COMMENTS = 1 << 0,
10464 G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1
10465} GKeyFileFlags;
10466
10467GKeyFile *g_key_file_new (void);
10468void g_key_file_free (GKeyFile *key_file);
10469void g_key_file_set_list_separator (GKeyFile *key_file,
10470 gchar separator);
10471gboolean g_key_file_load_from_file (GKeyFile *key_file,
10472 const gchar *file,
10473 GKeyFileFlags flags,
10474 GError **error);
10475gboolean g_key_file_load_from_data (GKeyFile *key_file,
10476 const gchar *data,
10477 gsize length,
10478 GKeyFileFlags flags,
10479 GError **error);
10480gboolean g_key_file_load_from_dirs (GKeyFile *key_file,
10481 const gchar *file,
10482 const gchar **search_dirs,
10483 gchar **full_path,
10484 GKeyFileFlags flags,
10485 GError **error);
10486gboolean g_key_file_load_from_data_dirs (GKeyFile *key_file,
10487 const gchar *file,
10488 gchar **full_path,
10489 GKeyFileFlags flags,
10490 GError **error);
10491gchar *g_key_file_to_data (GKeyFile *key_file,
10492 gsize *length,
10493 GError **error) __attribute__((__malloc__));
10494gchar *g_key_file_get_start_group (GKeyFile *key_file) __attribute__((__malloc__));
10495gchar **g_key_file_get_groups (GKeyFile *key_file,
10496 gsize *length) __attribute__((__malloc__));
10497gchar **g_key_file_get_keys (GKeyFile *key_file,
10498 const gchar *group_name,
10499 gsize *length,
10500 GError **error) __attribute__((__malloc__));
10501gboolean g_key_file_has_group (GKeyFile *key_file,
10502 const gchar *group_name);
10503gboolean g_key_file_has_key (GKeyFile *key_file,
10504 const gchar *group_name,
10505 const gchar *key,
10506 GError **error);
10507gchar *g_key_file_get_value (GKeyFile *key_file,
10508 const gchar *group_name,
10509 const gchar *key,
10510 GError **error) __attribute__((__malloc__));
10511void g_key_file_set_value (GKeyFile *key_file,
10512 const gchar *group_name,
10513 const gchar *key,
10514 const gchar *value);
10515gchar *g_key_file_get_string (GKeyFile *key_file,
10516 const gchar *group_name,
10517 const gchar *key,
10518 GError **error) __attribute__((__malloc__));
10519void g_key_file_set_string (GKeyFile *key_file,
10520 const gchar *group_name,
10521 const gchar *key,
10522 const gchar *string);
10523gchar *g_key_file_get_locale_string (GKeyFile *key_file,
10524 const gchar *group_name,
10525 const gchar *key,
10526 const gchar *locale,
10527 GError **error) __attribute__((__malloc__));
10528void g_key_file_set_locale_string (GKeyFile *key_file,
10529 const gchar *group_name,
10530 const gchar *key,
10531 const gchar *locale,
10532 const gchar *string);
10533gboolean g_key_file_get_boolean (GKeyFile *key_file,
10534 const gchar *group_name,
10535 const gchar *key,
10536 GError **error);
10537void g_key_file_set_boolean (GKeyFile *key_file,
10538 const gchar *group_name,
10539 const gchar *key,
10540 gboolean value);
10541gint g_key_file_get_integer (GKeyFile *key_file,
10542 const gchar *group_name,
10543 const gchar *key,
10544 GError **error);
10545void g_key_file_set_integer (GKeyFile *key_file,
10546 const gchar *group_name,
10547 const gchar *key,
10548 gint value);
10549gdouble g_key_file_get_double (GKeyFile *key_file,
10550 const gchar *group_name,
10551 const gchar *key,
10552 GError **error);
10553void g_key_file_set_double (GKeyFile *key_file,
10554 const gchar *group_name,
10555 const gchar *key,
10556 gdouble value);
10557gchar **g_key_file_get_string_list (GKeyFile *key_file,
10558 const gchar *group_name,
10559 const gchar *key,
10560 gsize *length,
10561 GError **error) __attribute__((__malloc__));
10562void g_key_file_set_string_list (GKeyFile *key_file,
10563 const gchar *group_name,
10564 const gchar *key,
10565 const gchar * const list[],
10566 gsize length);
10567gchar **g_key_file_get_locale_string_list (GKeyFile *key_file,
10568 const gchar *group_name,
10569 const gchar *key,
10570 const gchar *locale,
10571 gsize *length,
10572 GError **error) __attribute__((__malloc__));
10573void g_key_file_set_locale_string_list (GKeyFile *key_file,
10574 const gchar *group_name,
10575 const gchar *key,
10576 const gchar *locale,
10577 const gchar * const list[],
10578 gsize length);
10579gboolean *g_key_file_get_boolean_list (GKeyFile *key_file,
10580 const gchar *group_name,
10581 const gchar *key,
10582 gsize *length,
10583 GError **error) __attribute__((__malloc__));
10584void g_key_file_set_boolean_list (GKeyFile *key_file,
10585 const gchar *group_name,
10586 const gchar *key,
10587 gboolean list[],
10588 gsize length);
10589gint *g_key_file_get_integer_list (GKeyFile *key_file,
10590 const gchar *group_name,
10591 const gchar *key,
10592 gsize *length,
10593 GError **error) __attribute__((__malloc__));
10594void g_key_file_set_double_list (GKeyFile *key_file,
10595 const gchar *group_name,
10596 const gchar *key,
10597 gdouble list[],
10598 gsize length);
10599gdouble *g_key_file_get_double_list (GKeyFile *key_file,
10600 const gchar *group_name,
10601 const gchar *key,
10602 gsize *length,
10603 GError **error) __attribute__((__malloc__));
10604void g_key_file_set_integer_list (GKeyFile *key_file,
10605 const gchar *group_name,
10606 const gchar *key,
10607 gint list[],
10608 gsize length);
10609gboolean g_key_file_set_comment (GKeyFile *key_file,
10610 const gchar *group_name,
10611 const gchar *key,
10612 const gchar *comment,
10613 GError **error);
10614gchar *g_key_file_get_comment (GKeyFile *key_file,
10615 const gchar *group_name,
10616 const gchar *key,
10617 GError **error) __attribute__((__malloc__));
10618
10619gboolean g_key_file_remove_comment (GKeyFile *key_file,
10620 const gchar *group_name,
10621 const gchar *key,
10622 GError **error);
10623gboolean g_key_file_remove_key (GKeyFile *key_file,
10624 const gchar *group_name,
10625 const gchar *key,
10626 GError **error);
10627gboolean g_key_file_remove_group (GKeyFile *key_file,
10628 const gchar *group_name,
10629 GError **error);
10630# 248 "/usr/include/glib-2.0/glib/gkeyfile.h"
10631
10632# 52 "/usr/include/glib-2.0/glib.h" 2
10633# 1 "/usr/include/glib-2.0/glib/glist.h" 1
10634# 53 "/usr/include/glib-2.0/glib.h" 2
10635# 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
10636# 54 "/usr/include/glib-2.0/glib.h" 2
10637# 1 "/usr/include/glib-2.0/glib/gmain.h" 1
10638# 55 "/usr/include/glib-2.0/glib.h" 2
10639# 1 "/usr/include/glib-2.0/glib/gmappedfile.h" 1
10640# 29 "/usr/include/glib-2.0/glib/gmappedfile.h"
10641# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
10642# 30 "/usr/include/glib-2.0/glib/gmappedfile.h" 2
10643
10644
10645
10646typedef struct _GMappedFile GMappedFile;
10647
10648GMappedFile *g_mapped_file_new (const gchar *filename,
10649 gboolean writable,
10650 GError **error) __attribute__((__malloc__));
10651gsize g_mapped_file_get_length (GMappedFile *file);
10652gchar *g_mapped_file_get_contents (GMappedFile *file);
10653void g_mapped_file_free (GMappedFile *file);
10654
10655
10656# 56 "/usr/include/glib-2.0/glib.h" 2
10657# 1 "/usr/include/glib-2.0/glib/gmarkup.h" 1
10658# 30 "/usr/include/glib-2.0/glib/gmarkup.h"
10659# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
10660# 31 "/usr/include/glib-2.0/glib/gmarkup.h" 2
10661# 1 "/usr/include/glib-2.0/glib/gslist.h" 1
10662# 32 "/usr/include/glib-2.0/glib/gmarkup.h" 2
10663
10664
10665
10666typedef enum
10667{
10668 G_MARKUP_ERROR_BAD_UTF8,
10669 G_MARKUP_ERROR_EMPTY,
10670 G_MARKUP_ERROR_PARSE,
10671
10672
10673
10674 G_MARKUP_ERROR_UNKNOWN_ELEMENT,
10675 G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE,
10676 G_MARKUP_ERROR_INVALID_CONTENT,
10677 G_MARKUP_ERROR_MISSING_ATTRIBUTE
10678} GMarkupError;
10679
10680
10681
10682GQuark g_markup_error_quark (void);
10683
10684typedef enum
10685{
10686 G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0,
10687 G_MARKUP_TREAT_CDATA_AS_TEXT = 1 << 1,
10688 G_MARKUP_PREFIX_ERROR_POSITION = 1 << 2
10689} GMarkupParseFlags;
10690
10691typedef struct _GMarkupParseContext GMarkupParseContext;
10692typedef struct _GMarkupParser GMarkupParser;
10693
10694struct _GMarkupParser
10695{
10696
10697 void (*start_element) (GMarkupParseContext *context,
10698 const gchar *element_name,
10699 const gchar **attribute_names,
10700 const gchar **attribute_values,
10701 gpointer user_data,
10702 GError **error);
10703
10704
10705 void (*end_element) (GMarkupParseContext *context,
10706 const gchar *element_name,
10707 gpointer user_data,
10708 GError **error);
10709
10710
10711
10712 void (*text) (GMarkupParseContext *context,
10713 const gchar *text,
10714 gsize text_len,
10715 gpointer user_data,
10716 GError **error);
10717
10718
10719
10720
10721
10722
10723 void (*passthrough) (GMarkupParseContext *context,
10724 const gchar *passthrough_text,
10725 gsize text_len,
10726 gpointer user_data,
10727 GError **error);
10728
10729
10730
10731
10732 void (*error) (GMarkupParseContext *context,
10733 GError *error,
10734 gpointer user_data);
10735};
10736
10737GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser,
10738 GMarkupParseFlags flags,
10739 gpointer user_data,
10740 GDestroyNotify user_data_dnotify);
10741void g_markup_parse_context_free (GMarkupParseContext *context);
10742gboolean g_markup_parse_context_parse (GMarkupParseContext *context,
10743 const gchar *text,
10744 gssize text_len,
10745 GError **error);
10746void g_markup_parse_context_push (GMarkupParseContext *context,
10747 GMarkupParser *parser,
10748 gpointer user_data);
10749gpointer g_markup_parse_context_pop (GMarkupParseContext *context);
10750
10751gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context,
10752 GError **error);
10753const gchar *g_markup_parse_context_get_element (GMarkupParseContext *context);
10754const GSList *g_markup_parse_context_get_element_stack (GMarkupParseContext *context);
10755
10756
10757void g_markup_parse_context_get_position (GMarkupParseContext *context,
10758 gint *line_number,
10759 gint *char_number);
10760gpointer g_markup_parse_context_get_user_data (GMarkupParseContext *context);
10761
10762
10763gchar* g_markup_escape_text (const gchar *text,
10764 gssize length);
10765
10766gchar *g_markup_printf_escaped (const char *format,
10767 ...) __attribute__((__format__ (__printf__, 1, 2)));
10768gchar *g_markup_vprintf_escaped (const char *format,
10769 va_list args);
10770
10771typedef enum
10772{
10773 G_MARKUP_COLLECT_INVALID,
10774 G_MARKUP_COLLECT_STRING,
10775 G_MARKUP_COLLECT_STRDUP,
10776 G_MARKUP_COLLECT_BOOLEAN,
10777 G_MARKUP_COLLECT_TRISTATE,
10778
10779 G_MARKUP_COLLECT_OPTIONAL = (1 << 16)
10780} GMarkupCollectType;
10781
10782
10783
10784gboolean g_markup_collect_attributes (const gchar *element_name,
10785 const gchar **attribute_names,
10786 const gchar **attribute_values,
10787 GError **error,
10788 GMarkupCollectType first_type,
10789 const gchar *first_attr,
10790 ...);
10791
10792
10793# 57 "/usr/include/glib-2.0/glib.h" 2
10794# 1 "/usr/include/glib-2.0/glib/gmem.h" 1
10795# 58 "/usr/include/glib-2.0/glib.h" 2
10796# 1 "/usr/include/glib-2.0/glib/gmessages.h" 1
10797# 35 "/usr/include/glib-2.0/glib/gmessages.h"
10798# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
10799# 36 "/usr/include/glib-2.0/glib/gmessages.h" 2
10800# 1 "/usr/include/glib-2.0/glib/gmacros.h" 1
10801# 37 "/usr/include/glib-2.0/glib/gmessages.h" 2
10802
10803
10804
10805
10806
10807# 42 "/usr/include/glib-2.0/glib/gmessages.h" 3
10808
10809
10810
10811
10812
10813
10814gsize g_printf_string_upper_bound (const gchar* format,
10815 va_list args);
10816# 58 "/usr/include/glib-2.0/glib/gmessages.h" 3
10817typedef enum
10818{
10819
10820 G_LOG_FLAG_RECURSION = 1 << 0,
10821 G_LOG_FLAG_FATAL = 1 << 1,
10822
10823
10824 G_LOG_LEVEL_ERROR = 1 << 2,
10825 G_LOG_LEVEL_CRITICAL = 1 << 3,
10826 G_LOG_LEVEL_WARNING = 1 << 4,
10827 G_LOG_LEVEL_MESSAGE = 1 << 5,
10828 G_LOG_LEVEL_INFO = 1 << 6,
10829 G_LOG_LEVEL_DEBUG = 1 << 7,
10830
10831 G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL)
10832} GLogLevelFlags;
10833
10834
10835
10836
10837typedef void (*GLogFunc) (const gchar *log_domain,
10838 GLogLevelFlags log_level,
10839 const gchar *message,
10840 gpointer user_data);
10841
10842
10843
10844guint g_log_set_handler (const gchar *log_domain,
10845 GLogLevelFlags log_levels,
10846 GLogFunc log_func,
10847 gpointer user_data);
10848void g_log_remove_handler (const gchar *log_domain,
10849 guint handler_id);
10850void g_log_default_handler (const gchar *log_domain,
10851 GLogLevelFlags log_level,
10852 const gchar *message,
10853 gpointer unused_data);
10854GLogFunc g_log_set_default_handler (GLogFunc log_func,
10855 gpointer user_data);
10856void g_log (const gchar *log_domain,
10857 GLogLevelFlags log_level,
10858 const gchar *format,
10859 ...) __attribute__((__format__ (__printf__, 3, 4)));
10860void g_logv (const gchar *log_domain,
10861 GLogLevelFlags log_level,
10862 const gchar *format,
10863 va_list args);
10864GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain,
10865 GLogLevelFlags fatal_mask);
10866GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
10867
10868
10869__attribute__((visibility("hidden"))) void _g_log_fallback_handler (const gchar *log_domain,
10870 GLogLevelFlags log_level,
10871 const gchar *message,
10872 gpointer unused_data);
10873
10874
10875void g_return_if_fail_warning (const char *log_domain,
10876 const char *pretty_function,
10877 const char *expression);
10878void g_warn_message (const char *domain,
10879 const char *file,
10880 int line,
10881 const char *func,
10882 const char *warnexpr);
10883
10884void g_assert_warning (const char *log_domain,
10885 const char *file,
10886 const int line,
10887 const char *pretty_function,
10888 const char *expression) __attribute__((__noreturn__));
10889# 227 "/usr/include/glib-2.0/glib/gmessages.h" 3
10890typedef void (*GPrintFunc) (const gchar *string);
10891void g_print (const gchar *format,
10892 ...) __attribute__((__format__ (__printf__, 1, 2)));
10893GPrintFunc g_set_print_handler (GPrintFunc func);
10894void g_printerr (const gchar *format,
10895 ...) __attribute__((__format__ (__printf__, 1, 2)));
10896GPrintFunc g_set_printerr_handler (GPrintFunc func);
10897# 339 "/usr/include/glib-2.0/glib/gmessages.h" 3
10898
10899# 59 "/usr/include/glib-2.0/glib.h" 2
10900# 1 "/usr/include/glib-2.0/glib/gnode.h" 1
10901# 34 "/usr/include/glib-2.0/glib/gnode.h"
10902# 1 "/usr/include/glib-2.0/glib/gmem.h" 1
10903# 35 "/usr/include/glib-2.0/glib/gnode.h" 2
10904
10905
10906
10907typedef struct _GNode GNode;
10908
10909
10910typedef enum
10911{
10912 G_TRAVERSE_LEAVES = 1 << 0,
10913 G_TRAVERSE_NON_LEAVES = 1 << 1,
10914 G_TRAVERSE_ALL = G_TRAVERSE_LEAVES | G_TRAVERSE_NON_LEAVES,
10915 G_TRAVERSE_MASK = 0x03,
10916 G_TRAVERSE_LEAFS = G_TRAVERSE_LEAVES,
10917 G_TRAVERSE_NON_LEAFS = G_TRAVERSE_NON_LEAVES
10918} GTraverseFlags;
10919
10920
10921typedef enum
10922{
10923 G_IN_ORDER,
10924 G_PRE_ORDER,
10925 G_POST_ORDER,
10926 G_LEVEL_ORDER
10927} GTraverseType;
10928
10929typedef gboolean (*GNodeTraverseFunc) (GNode *node,
10930 gpointer data);
10931typedef void (*GNodeForeachFunc) (GNode *node,
10932 gpointer data);
10933# 77 "/usr/include/glib-2.0/glib/gnode.h"
10934typedef gpointer (*GCopyFunc) (gconstpointer src,
10935 gpointer data);
10936
10937
10938
10939struct _GNode
10940{
10941 gpointer data;
10942 GNode *next;
10943 GNode *prev;
10944 GNode *parent;
10945 GNode *children;
10946};
10947# 115 "/usr/include/glib-2.0/glib/gnode.h"
10948GNode* g_node_new (gpointer data);
10949void g_node_destroy (GNode *root);
10950void g_node_unlink (GNode *node);
10951GNode* g_node_copy_deep (GNode *node,
10952 GCopyFunc copy_func,
10953 gpointer data);
10954GNode* g_node_copy (GNode *node);
10955GNode* g_node_insert (GNode *parent,
10956 gint position,
10957 GNode *node);
10958GNode* g_node_insert_before (GNode *parent,
10959 GNode *sibling,
10960 GNode *node);
10961GNode* g_node_insert_after (GNode *parent,
10962 GNode *sibling,
10963 GNode *node);
10964GNode* g_node_prepend (GNode *parent,
10965 GNode *node);
10966guint g_node_n_nodes (GNode *root,
10967 GTraverseFlags flags);
10968GNode* g_node_get_root (GNode *node);
10969gboolean g_node_is_ancestor (GNode *node,
10970 GNode *descendant);
10971guint g_node_depth (GNode *node);
10972GNode* g_node_find (GNode *root,
10973 GTraverseType order,
10974 GTraverseFlags flags,
10975 gpointer data);
10976# 213 "/usr/include/glib-2.0/glib/gnode.h"
10977void g_node_traverse (GNode *root,
10978 GTraverseType order,
10979 GTraverseFlags flags,
10980 gint max_depth,
10981 GNodeTraverseFunc func,
10982 gpointer data);
10983
10984
10985
10986
10987
10988
10989guint g_node_max_height (GNode *root);
10990
10991void g_node_children_foreach (GNode *node,
10992 GTraverseFlags flags,
10993 GNodeForeachFunc func,
10994 gpointer data);
10995void g_node_reverse_children (GNode *node);
10996guint g_node_n_children (GNode *node);
10997GNode* g_node_nth_child (GNode *node,
10998 guint n);
10999GNode* g_node_last_child (GNode *node);
11000GNode* g_node_find_child (GNode *node,
11001 GTraverseFlags flags,
11002 gpointer data);
11003gint g_node_child_position (GNode *node,
11004 GNode *child);
11005gint g_node_child_index (GNode *node,
11006 gpointer data);
11007
11008GNode* g_node_first_sibling (GNode *node);
11009GNode* g_node_last_sibling (GNode *node);
11010# 282 "/usr/include/glib-2.0/glib/gnode.h"
11011void g_node_push_allocator (gpointer dummy);
11012void g_node_pop_allocator (void);
11013
11014
11015
11016# 60 "/usr/include/glib-2.0/glib.h" 2
11017# 1 "/usr/include/glib-2.0/glib/goption.h" 1
11018# 28 "/usr/include/glib-2.0/glib/goption.h"
11019# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
11020# 29 "/usr/include/glib-2.0/glib/goption.h" 2
11021# 1 "/usr/include/glib-2.0/glib/gquark.h" 1
11022# 30 "/usr/include/glib-2.0/glib/goption.h" 2
11023
11024
11025
11026typedef struct _GOptionContext GOptionContext;
11027typedef struct _GOptionGroup GOptionGroup;
11028typedef struct _GOptionEntry GOptionEntry;
11029
11030typedef enum
11031{
11032 G_OPTION_FLAG_HIDDEN = 1 << 0,
11033 G_OPTION_FLAG_IN_MAIN = 1 << 1,
11034 G_OPTION_FLAG_REVERSE = 1 << 2,
11035 G_OPTION_FLAG_NO_ARG = 1 << 3,
11036 G_OPTION_FLAG_FILENAME = 1 << 4,
11037 G_OPTION_FLAG_OPTIONAL_ARG = 1 << 5,
11038 G_OPTION_FLAG_NOALIAS = 1 << 6
11039} GOptionFlags;
11040
11041typedef enum
11042{
11043 G_OPTION_ARG_NONE,
11044 G_OPTION_ARG_STRING,
11045 G_OPTION_ARG_INT,
11046 G_OPTION_ARG_CALLBACK,
11047 G_OPTION_ARG_FILENAME,
11048 G_OPTION_ARG_STRING_ARRAY,
11049 G_OPTION_ARG_FILENAME_ARRAY,
11050 G_OPTION_ARG_DOUBLE,
11051 G_OPTION_ARG_INT64
11052} GOptionArg;
11053
11054typedef gboolean (*GOptionArgFunc) (const gchar *option_name,
11055 const gchar *value,
11056 gpointer data,
11057 GError **error);
11058
11059typedef gboolean (*GOptionParseFunc) (GOptionContext *context,
11060 GOptionGroup *group,
11061 gpointer data,
11062 GError **error);
11063
11064typedef void (*GOptionErrorFunc) (GOptionContext *context,
11065 GOptionGroup *group,
11066 gpointer data,
11067 GError **error);
11068
11069
11070
11071typedef enum
11072{
11073 G_OPTION_ERROR_UNKNOWN_OPTION,
11074 G_OPTION_ERROR_BAD_VALUE,
11075 G_OPTION_ERROR_FAILED
11076} GOptionError;
11077
11078GQuark g_option_error_quark (void);
11079
11080
11081struct _GOptionEntry
11082{
11083 const gchar *long_name;
11084 gchar short_name;
11085 gint flags;
11086
11087 GOptionArg arg;
11088 gpointer arg_data;
11089
11090 const gchar *description;
11091 const gchar *arg_description;
11092};
11093
11094
11095
11096GOptionContext *g_option_context_new (const gchar *parameter_string);
11097void g_option_context_set_summary (GOptionContext *context,
11098 const gchar *summary);
11099const gchar *g_option_context_get_summary (GOptionContext *context);
11100void g_option_context_set_description (GOptionContext *context,
11101 const gchar *description);
11102const gchar *g_option_context_get_description (GOptionContext *context);
11103void g_option_context_free (GOptionContext *context);
11104void g_option_context_set_help_enabled (GOptionContext *context,
11105 gboolean help_enabled);
11106gboolean g_option_context_get_help_enabled (GOptionContext *context);
11107void g_option_context_set_ignore_unknown_options (GOptionContext *context,
11108 gboolean ignore_unknown);
11109gboolean g_option_context_get_ignore_unknown_options (GOptionContext *context);
11110
11111void g_option_context_add_main_entries (GOptionContext *context,
11112 const GOptionEntry *entries,
11113 const gchar *translation_domain);
11114gboolean g_option_context_parse (GOptionContext *context,
11115 gint *argc,
11116 gchar ***argv,
11117 GError **error);
11118void g_option_context_set_translate_func (GOptionContext *context,
11119 GTranslateFunc func,
11120 gpointer data,
11121 GDestroyNotify destroy_notify);
11122void g_option_context_set_translation_domain (GOptionContext *context,
11123 const gchar *domain);
11124
11125void g_option_context_add_group (GOptionContext *context,
11126 GOptionGroup *group);
11127void g_option_context_set_main_group (GOptionContext *context,
11128 GOptionGroup *group);
11129GOptionGroup *g_option_context_get_main_group (GOptionContext *context);
11130gchar *g_option_context_get_help (GOptionContext *context,
11131 gboolean main_help,
11132 GOptionGroup *group);
11133
11134GOptionGroup *g_option_group_new (const gchar *name,
11135 const gchar *description,
11136 const gchar *help_description,
11137 gpointer user_data,
11138 GDestroyNotify destroy);
11139void g_option_group_set_parse_hooks (GOptionGroup *group,
11140 GOptionParseFunc pre_parse_func,
11141 GOptionParseFunc post_parse_func);
11142void g_option_group_set_error_hook (GOptionGroup *group,
11143 GOptionErrorFunc error_func);
11144void g_option_group_free (GOptionGroup *group);
11145void g_option_group_add_entries (GOptionGroup *group,
11146 const GOptionEntry *entries);
11147void g_option_group_set_translate_func (GOptionGroup *group,
11148 GTranslateFunc func,
11149 gpointer data,
11150 GDestroyNotify destroy_notify);
11151void g_option_group_set_translation_domain (GOptionGroup *group,
11152 const gchar *domain);
11153
11154
11155# 61 "/usr/include/glib-2.0/glib.h" 2
11156# 1 "/usr/include/glib-2.0/glib/gpattern.h" 1
11157# 27 "/usr/include/glib-2.0/glib/gpattern.h"
11158# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
11159# 28 "/usr/include/glib-2.0/glib/gpattern.h" 2
11160
11161
11162
11163
11164typedef struct _GPatternSpec GPatternSpec;
11165
11166GPatternSpec* g_pattern_spec_new (const gchar *pattern);
11167void g_pattern_spec_free (GPatternSpec *pspec);
11168gboolean g_pattern_spec_equal (GPatternSpec *pspec1,
11169 GPatternSpec *pspec2);
11170gboolean g_pattern_match (GPatternSpec *pspec,
11171 guint string_length,
11172 const gchar *string,
11173 const gchar *string_reversed);
11174gboolean g_pattern_match_string (GPatternSpec *pspec,
11175 const gchar *string);
11176gboolean g_pattern_match_simple (const gchar *pattern,
11177 const gchar *string);
11178
11179
11180# 62 "/usr/include/glib-2.0/glib.h" 2
11181# 1 "/usr/include/glib-2.0/glib/gpoll.h" 1
11182# 63 "/usr/include/glib-2.0/glib.h" 2
11183# 1 "/usr/include/glib-2.0/glib/gprimes.h" 1
11184# 34 "/usr/include/glib-2.0/glib/gprimes.h"
11185# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
11186# 35 "/usr/include/glib-2.0/glib/gprimes.h" 2
11187
11188
11189# 47 "/usr/include/glib-2.0/glib/gprimes.h"
11190guint g_spaced_primes_closest (guint num) __attribute__((__const__));
11191
11192
11193# 64 "/usr/include/glib-2.0/glib.h" 2
11194# 1 "/usr/include/glib-2.0/glib/gqsort.h" 1
11195# 34 "/usr/include/glib-2.0/glib/gqsort.h"
11196# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
11197# 35 "/usr/include/glib-2.0/glib/gqsort.h" 2
11198
11199
11200
11201void g_qsort_with_data (gconstpointer pbase,
11202 gint total_elems,
11203 gsize size,
11204 GCompareDataFunc compare_func,
11205 gpointer user_data);
11206
11207
11208# 65 "/usr/include/glib-2.0/glib.h" 2
11209# 1 "/usr/include/glib-2.0/glib/gquark.h" 1
11210# 66 "/usr/include/glib-2.0/glib.h" 2
11211# 1 "/usr/include/glib-2.0/glib/gqueue.h" 1
11212# 34 "/usr/include/glib-2.0/glib/gqueue.h"
11213# 1 "/usr/include/glib-2.0/glib/glist.h" 1
11214# 35 "/usr/include/glib-2.0/glib/gqueue.h" 2
11215
11216
11217
11218typedef struct _GQueue GQueue;
11219
11220struct _GQueue
11221{
11222 GList *head;
11223 GList *tail;
11224 guint length;
11225};
11226
11227
11228
11229
11230
11231GQueue* g_queue_new (void);
11232void g_queue_free (GQueue *queue);
11233void g_queue_init (GQueue *queue);
11234void g_queue_clear (GQueue *queue);
11235gboolean g_queue_is_empty (GQueue *queue);
11236guint g_queue_get_length (GQueue *queue);
11237void g_queue_reverse (GQueue *queue);
11238GQueue * g_queue_copy (GQueue *queue);
11239void g_queue_foreach (GQueue *queue,
11240 GFunc func,
11241 gpointer user_data);
11242GList * g_queue_find (GQueue *queue,
11243 gconstpointer data);
11244GList * g_queue_find_custom (GQueue *queue,
11245 gconstpointer data,
11246 GCompareFunc func);
11247void g_queue_sort (GQueue *queue,
11248 GCompareDataFunc compare_func,
11249 gpointer user_data);
11250
11251void g_queue_push_head (GQueue *queue,
11252 gpointer data);
11253void g_queue_push_tail (GQueue *queue,
11254 gpointer data);
11255void g_queue_push_nth (GQueue *queue,
11256 gpointer data,
11257 gint n);
11258gpointer g_queue_pop_head (GQueue *queue);
11259gpointer g_queue_pop_tail (GQueue *queue);
11260gpointer g_queue_pop_nth (GQueue *queue,
11261 guint n);
11262gpointer g_queue_peek_head (GQueue *queue);
11263gpointer g_queue_peek_tail (GQueue *queue);
11264gpointer g_queue_peek_nth (GQueue *queue,
11265 guint n);
11266gint g_queue_index (GQueue *queue,
11267 gconstpointer data);
11268void g_queue_remove (GQueue *queue,
11269 gconstpointer data);
11270void g_queue_remove_all (GQueue *queue,
11271 gconstpointer data);
11272void g_queue_insert_before (GQueue *queue,
11273 GList *sibling,
11274 gpointer data);
11275void g_queue_insert_after (GQueue *queue,
11276 GList *sibling,
11277 gpointer data);
11278void g_queue_insert_sorted (GQueue *queue,
11279 gpointer data,
11280 GCompareDataFunc func,
11281 gpointer user_data);
11282
11283void g_queue_push_head_link (GQueue *queue,
11284 GList *link_);
11285void g_queue_push_tail_link (GQueue *queue,
11286 GList *link_);
11287void g_queue_push_nth_link (GQueue *queue,
11288 gint n,
11289 GList *link_);
11290GList* g_queue_pop_head_link (GQueue *queue);
11291GList* g_queue_pop_tail_link (GQueue *queue);
11292GList* g_queue_pop_nth_link (GQueue *queue,
11293 guint n);
11294GList* g_queue_peek_head_link (GQueue *queue);
11295GList* g_queue_peek_tail_link (GQueue *queue);
11296GList* g_queue_peek_nth_link (GQueue *queue,
11297 guint n);
11298gint g_queue_link_index (GQueue *queue,
11299 GList *link_);
11300void g_queue_unlink (GQueue *queue,
11301 GList *link_);
11302void g_queue_delete_link (GQueue *queue,
11303 GList *link_);
11304
11305
11306# 67 "/usr/include/glib-2.0/glib.h" 2
11307# 1 "/usr/include/glib-2.0/glib/grand.h" 1
11308# 34 "/usr/include/glib-2.0/glib/grand.h"
11309# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
11310# 35 "/usr/include/glib-2.0/glib/grand.h" 2
11311
11312
11313
11314typedef struct _GRand GRand;
11315# 49 "/usr/include/glib-2.0/glib/grand.h"
11316GRand* g_rand_new_with_seed (guint32 seed);
11317GRand* g_rand_new_with_seed_array (const guint32 *seed,
11318 guint seed_length);
11319GRand* g_rand_new (void);
11320void g_rand_free (GRand *rand_);
11321GRand* g_rand_copy (GRand *rand_);
11322void g_rand_set_seed (GRand *rand_,
11323 guint32 seed);
11324void g_rand_set_seed_array (GRand *rand_,
11325 const guint32 *seed,
11326 guint seed_length);
11327
11328
11329
11330guint32 g_rand_int (GRand *rand_);
11331gint32 g_rand_int_range (GRand *rand_,
11332 gint32 begin,
11333 gint32 end);
11334gdouble g_rand_double (GRand *rand_);
11335gdouble g_rand_double_range (GRand *rand_,
11336 gdouble begin,
11337 gdouble end);
11338void g_random_set_seed (guint32 seed);
11339
11340
11341
11342guint32 g_random_int (void);
11343gint32 g_random_int_range (gint32 begin,
11344 gint32 end);
11345gdouble g_random_double (void);
11346gdouble g_random_double_range (gdouble begin,
11347 gdouble end);
11348
11349
11350
11351# 68 "/usr/include/glib-2.0/glib.h" 2
11352# 1 "/usr/include/glib-2.0/glib/grel.h" 1
11353# 34 "/usr/include/glib-2.0/glib/grel.h"
11354# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
11355# 35 "/usr/include/glib-2.0/glib/grel.h" 2
11356
11357
11358
11359typedef struct _GRelation GRelation;
11360typedef struct _GTuples GTuples;
11361
11362struct _GTuples
11363{
11364 guint len;
11365};
11366# 69 "/usr/include/glib-2.0/glib/grel.h"
11367GRelation* g_relation_new (gint fields);
11368void g_relation_destroy (GRelation *relation);
11369void g_relation_index (GRelation *relation,
11370 gint field,
11371 GHashFunc hash_func,
11372 GEqualFunc key_equal_func);
11373void g_relation_insert (GRelation *relation,
11374 ...);
11375gint g_relation_delete (GRelation *relation,
11376 gconstpointer key,
11377 gint field);
11378GTuples* g_relation_select (GRelation *relation,
11379 gconstpointer key,
11380 gint field);
11381gint g_relation_count (GRelation *relation,
11382 gconstpointer key,
11383 gint field);
11384gboolean g_relation_exists (GRelation *relation,
11385 ...);
11386void g_relation_print (GRelation *relation);
11387
11388void g_tuples_destroy (GTuples *tuples);
11389gpointer g_tuples_index (GTuples *tuples,
11390 gint index_,
11391 gint field);
11392
11393
11394# 69 "/usr/include/glib-2.0/glib.h" 2
11395# 1 "/usr/include/glib-2.0/glib/gregex.h" 1
11396# 29 "/usr/include/glib-2.0/glib/gregex.h"
11397# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
11398# 30 "/usr/include/glib-2.0/glib/gregex.h" 2
11399# 1 "/usr/include/glib-2.0/glib/gstring.h" 1
11400# 31 "/usr/include/glib-2.0/glib/gregex.h" 2
11401
11402
11403
11404typedef enum
11405{
11406 G_REGEX_ERROR_COMPILE,
11407 G_REGEX_ERROR_OPTIMIZE,
11408 G_REGEX_ERROR_REPLACE,
11409 G_REGEX_ERROR_MATCH,
11410 G_REGEX_ERROR_INTERNAL,
11411
11412
11413 G_REGEX_ERROR_STRAY_BACKSLASH = 101,
11414 G_REGEX_ERROR_MISSING_CONTROL_CHAR = 102,
11415 G_REGEX_ERROR_UNRECOGNIZED_ESCAPE = 103,
11416 G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER = 104,
11417 G_REGEX_ERROR_QUANTIFIER_TOO_BIG = 105,
11418 G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS = 106,
11419 G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS = 107,
11420 G_REGEX_ERROR_RANGE_OUT_OF_ORDER = 108,
11421 G_REGEX_ERROR_NOTHING_TO_REPEAT = 109,
11422 G_REGEX_ERROR_UNRECOGNIZED_CHARACTER = 112,
11423 G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS = 113,
11424 G_REGEX_ERROR_UNMATCHED_PARENTHESIS = 114,
11425 G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE = 115,
11426 G_REGEX_ERROR_UNTERMINATED_COMMENT = 118,
11427 G_REGEX_ERROR_EXPRESSION_TOO_LARGE = 120,
11428 G_REGEX_ERROR_MEMORY_ERROR = 121,
11429 G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND = 125,
11430 G_REGEX_ERROR_MALFORMED_CONDITION = 126,
11431 G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES = 127,
11432 G_REGEX_ERROR_ASSERTION_EXPECTED = 128,
11433 G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME = 130,
11434 G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED = 131,
11435 G_REGEX_ERROR_HEX_CODE_TOO_LARGE = 134,
11436 G_REGEX_ERROR_INVALID_CONDITION = 135,
11437 G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND = 136,
11438 G_REGEX_ERROR_INFINITE_LOOP = 140,
11439 G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR = 142,
11440 G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME = 143,
11441 G_REGEX_ERROR_MALFORMED_PROPERTY = 146,
11442 G_REGEX_ERROR_UNKNOWN_PROPERTY = 147,
11443 G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG = 148,
11444 G_REGEX_ERROR_TOO_MANY_SUBPATTERNS = 149,
11445 G_REGEX_ERROR_INVALID_OCTAL_VALUE = 151,
11446 G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE = 154,
11447 G_REGEX_ERROR_DEFINE_REPETION = 155,
11448 G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS = 156,
11449 G_REGEX_ERROR_MISSING_BACK_REFERENCE = 157
11450} GRegexError;
11451
11452
11453
11454GQuark g_regex_error_quark (void);
11455
11456
11457
11458typedef enum
11459{
11460 G_REGEX_CASELESS = 1 << 0,
11461 G_REGEX_MULTILINE = 1 << 1,
11462 G_REGEX_DOTALL = 1 << 2,
11463 G_REGEX_EXTENDED = 1 << 3,
11464 G_REGEX_ANCHORED = 1 << 4,
11465 G_REGEX_DOLLAR_ENDONLY = 1 << 5,
11466 G_REGEX_UNGREEDY = 1 << 9,
11467 G_REGEX_RAW = 1 << 11,
11468 G_REGEX_NO_AUTO_CAPTURE = 1 << 12,
11469 G_REGEX_OPTIMIZE = 1 << 13,
11470 G_REGEX_DUPNAMES = 1 << 19,
11471 G_REGEX_NEWLINE_CR = 1 << 20,
11472 G_REGEX_NEWLINE_LF = 1 << 21,
11473 G_REGEX_NEWLINE_CRLF = G_REGEX_NEWLINE_CR | G_REGEX_NEWLINE_LF
11474} GRegexCompileFlags;
11475
11476
11477
11478typedef enum
11479{
11480 G_REGEX_MATCH_ANCHORED = 1 << 4,
11481 G_REGEX_MATCH_NOTBOL = 1 << 7,
11482 G_REGEX_MATCH_NOTEOL = 1 << 8,
11483 G_REGEX_MATCH_NOTEMPTY = 1 << 10,
11484 G_REGEX_MATCH_PARTIAL = 1 << 15,
11485 G_REGEX_MATCH_NEWLINE_CR = 1 << 20,
11486 G_REGEX_MATCH_NEWLINE_LF = 1 << 21,
11487 G_REGEX_MATCH_NEWLINE_CRLF = G_REGEX_MATCH_NEWLINE_CR | G_REGEX_MATCH_NEWLINE_LF,
11488 G_REGEX_MATCH_NEWLINE_ANY = 1 << 22
11489} GRegexMatchFlags;
11490
11491typedef struct _GRegex GRegex;
11492typedef struct _GMatchInfo GMatchInfo;
11493
11494typedef gboolean (*GRegexEvalCallback) (const GMatchInfo *match_info,
11495 GString *result,
11496 gpointer user_data);
11497
11498
11499GRegex *g_regex_new (const gchar *pattern,
11500 GRegexCompileFlags compile_options,
11501 GRegexMatchFlags match_options,
11502 GError **error);
11503GRegex *g_regex_ref (GRegex *regex);
11504void g_regex_unref (GRegex *regex);
11505const gchar *g_regex_get_pattern (const GRegex *regex);
11506gint g_regex_get_max_backref (const GRegex *regex);
11507gint g_regex_get_capture_count (const GRegex *regex);
11508gint g_regex_get_string_number (const GRegex *regex,
11509 const gchar *name);
11510gchar *g_regex_escape_string (const gchar *string,
11511 gint length);
11512
11513
11514gboolean g_regex_match_simple (const gchar *pattern,
11515 const gchar *string,
11516 GRegexCompileFlags compile_options,
11517 GRegexMatchFlags match_options);
11518gboolean g_regex_match (const GRegex *regex,
11519 const gchar *string,
11520 GRegexMatchFlags match_options,
11521 GMatchInfo **match_info);
11522gboolean g_regex_match_full (const GRegex *regex,
11523 const gchar *string,
11524 gssize string_len,
11525 gint start_position,
11526 GRegexMatchFlags match_options,
11527 GMatchInfo **match_info,
11528 GError **error);
11529gboolean g_regex_match_all (const GRegex *regex,
11530 const gchar *string,
11531 GRegexMatchFlags match_options,
11532 GMatchInfo **match_info);
11533gboolean g_regex_match_all_full (const GRegex *regex,
11534 const gchar *string,
11535 gssize string_len,
11536 gint start_position,
11537 GRegexMatchFlags match_options,
11538 GMatchInfo **match_info,
11539 GError **error);
11540
11541
11542gchar **g_regex_split_simple (const gchar *pattern,
11543 const gchar *string,
11544 GRegexCompileFlags compile_options,
11545 GRegexMatchFlags match_options);
11546gchar **g_regex_split (const GRegex *regex,
11547 const gchar *string,
11548 GRegexMatchFlags match_options);
11549gchar **g_regex_split_full (const GRegex *regex,
11550 const gchar *string,
11551 gssize string_len,
11552 gint start_position,
11553 GRegexMatchFlags match_options,
11554 gint max_tokens,
11555 GError **error);
11556
11557
11558gchar *g_regex_replace (const GRegex *regex,
11559 const gchar *string,
11560 gssize string_len,
11561 gint start_position,
11562 const gchar *replacement,
11563 GRegexMatchFlags match_options,
11564 GError **error);
11565gchar *g_regex_replace_literal (const GRegex *regex,
11566 const gchar *string,
11567 gssize string_len,
11568 gint start_position,
11569 const gchar *replacement,
11570 GRegexMatchFlags match_options,
11571 GError **error);
11572gchar *g_regex_replace_eval (const GRegex *regex,
11573 const gchar *string,
11574 gssize string_len,
11575 gint start_position,
11576 GRegexMatchFlags match_options,
11577 GRegexEvalCallback eval,
11578 gpointer user_data,
11579 GError **error);
11580gboolean g_regex_check_replacement (const gchar *replacement,
11581 gboolean *has_references,
11582 GError **error);
11583
11584
11585GRegex *g_match_info_get_regex (const GMatchInfo *match_info);
11586const gchar *g_match_info_get_string (const GMatchInfo *match_info);
11587
11588void g_match_info_free (GMatchInfo *match_info);
11589gboolean g_match_info_next (GMatchInfo *match_info,
11590 GError **error);
11591gboolean g_match_info_matches (const GMatchInfo *match_info);
11592gint g_match_info_get_match_count (const GMatchInfo *match_info);
11593gboolean g_match_info_is_partial_match (const GMatchInfo *match_info);
11594gchar *g_match_info_expand_references(const GMatchInfo *match_info,
11595 const gchar *string_to_expand,
11596 GError **error);
11597gchar *g_match_info_fetch (const GMatchInfo *match_info,
11598 gint match_num);
11599gboolean g_match_info_fetch_pos (const GMatchInfo *match_info,
11600 gint match_num,
11601 gint *start_pos,
11602 gint *end_pos);
11603gchar *g_match_info_fetch_named (const GMatchInfo *match_info,
11604 const gchar *name);
11605gboolean g_match_info_fetch_named_pos (const GMatchInfo *match_info,
11606 const gchar *name,
11607 gint *start_pos,
11608 gint *end_pos);
11609gchar **g_match_info_fetch_all (const GMatchInfo *match_info);
11610
11611
11612# 70 "/usr/include/glib-2.0/glib.h" 2
11613# 1 "/usr/include/glib-2.0/glib/gscanner.h" 1
11614# 34 "/usr/include/glib-2.0/glib/gscanner.h"
11615# 1 "/usr/include/glib-2.0/glib/gdataset.h" 1
11616# 35 "/usr/include/glib-2.0/glib/gscanner.h" 2
11617# 1 "/usr/include/glib-2.0/glib/ghash.h" 1
11618# 36 "/usr/include/glib-2.0/glib/gscanner.h" 2
11619
11620
11621
11622typedef struct _GScanner GScanner;
11623typedef struct _GScannerConfig GScannerConfig;
11624typedef union _GTokenValue GTokenValue;
11625
11626typedef void (*GScannerMsgFunc) (GScanner *scanner,
11627 gchar *message,
11628 gboolean error);
11629# 64 "/usr/include/glib-2.0/glib/gscanner.h"
11630typedef enum
11631{
11632 G_ERR_UNKNOWN,
11633 G_ERR_UNEXP_EOF,
11634 G_ERR_UNEXP_EOF_IN_STRING,
11635 G_ERR_UNEXP_EOF_IN_COMMENT,
11636 G_ERR_NON_DIGIT_IN_CONST,
11637 G_ERR_DIGIT_RADIX,
11638 G_ERR_FLOAT_RADIX,
11639 G_ERR_FLOAT_MALFORMED
11640} GErrorType;
11641
11642
11643typedef enum
11644{
11645 G_TOKEN_EOF = 0,
11646
11647 G_TOKEN_LEFT_PAREN = '(',
11648 G_TOKEN_RIGHT_PAREN = ')',
11649 G_TOKEN_LEFT_CURLY = '{',
11650 G_TOKEN_RIGHT_CURLY = '}',
11651 G_TOKEN_LEFT_BRACE = '[',
11652 G_TOKEN_RIGHT_BRACE = ']',
11653 G_TOKEN_EQUAL_SIGN = '=',
11654 G_TOKEN_COMMA = ',',
11655
11656 G_TOKEN_NONE = 256,
11657
11658 G_TOKEN_ERROR,
11659
11660 G_TOKEN_CHAR,
11661 G_TOKEN_BINARY,
11662 G_TOKEN_OCTAL,
11663 G_TOKEN_INT,
11664 G_TOKEN_HEX,
11665 G_TOKEN_FLOAT,
11666 G_TOKEN_STRING,
11667
11668 G_TOKEN_SYMBOL,
11669 G_TOKEN_IDENTIFIER,
11670 G_TOKEN_IDENTIFIER_NULL,
11671
11672 G_TOKEN_COMMENT_SINGLE,
11673 G_TOKEN_COMMENT_MULTI,
11674 G_TOKEN_LAST
11675} GTokenType;
11676
11677union _GTokenValue
11678{
11679 gpointer v_symbol;
11680 gchar *v_identifier;
11681 gulong v_binary;
11682 gulong v_octal;
11683 gulong v_int;
11684 guint64 v_int64;
11685 gdouble v_float;
11686 gulong v_hex;
11687 gchar *v_string;
11688 gchar *v_comment;
11689 guchar v_char;
11690 guint v_error;
11691};
11692
11693struct _GScannerConfig
11694{
11695
11696
11697 gchar *cset_skip_characters;
11698 gchar *cset_identifier_first;
11699 gchar *cset_identifier_nth;
11700 gchar *cpair_comment_single;
11701
11702
11703
11704 guint case_sensitive : 1;
11705
11706
11707
11708
11709 guint skip_comment_multi : 1;
11710 guint skip_comment_single : 1;
11711 guint scan_comment_multi : 1;
11712 guint scan_identifier : 1;
11713 guint scan_identifier_1char : 1;
11714 guint scan_identifier_NULL : 1;
11715 guint scan_symbols : 1;
11716 guint scan_binary : 1;
11717 guint scan_octal : 1;
11718 guint scan_float : 1;
11719 guint scan_hex : 1;
11720 guint scan_hex_dollar : 1;
11721 guint scan_string_sq : 1;
11722 guint scan_string_dq : 1;
11723 guint numbers_2_int : 1;
11724 guint int_2_float : 1;
11725 guint identifier_2_string : 1;
11726 guint char_2_token : 1;
11727 guint symbol_2_token : 1;
11728 guint scope_0_fallback : 1;
11729 guint store_int64 : 1;
11730 guint padding_dummy;
11731};
11732
11733struct _GScanner
11734{
11735
11736 gpointer user_data;
11737 guint max_parse_errors;
11738
11739
11740 guint parse_errors;
11741
11742
11743 const gchar *input_name;
11744
11745
11746 GData *qdata;
11747
11748
11749 GScannerConfig *config;
11750
11751
11752 GTokenType token;
11753 GTokenValue value;
11754 guint line;
11755 guint position;
11756
11757
11758 GTokenType next_token;
11759 GTokenValue next_value;
11760 guint next_line;
11761 guint next_position;
11762
11763
11764 GHashTable *symbol_table;
11765 gint input_fd;
11766 const gchar *text;
11767 const gchar *text_end;
11768 gchar *buffer;
11769 guint scope_id;
11770
11771
11772 GScannerMsgFunc msg_handler;
11773};
11774
11775GScanner* g_scanner_new (const GScannerConfig *config_templ);
11776void g_scanner_destroy (GScanner *scanner);
11777void g_scanner_input_file (GScanner *scanner,
11778 gint input_fd);
11779void g_scanner_sync_file_offset (GScanner *scanner);
11780void g_scanner_input_text (GScanner *scanner,
11781 const gchar *text,
11782 guint text_len);
11783GTokenType g_scanner_get_next_token (GScanner *scanner);
11784GTokenType g_scanner_peek_next_token (GScanner *scanner);
11785GTokenType g_scanner_cur_token (GScanner *scanner);
11786GTokenValue g_scanner_cur_value (GScanner *scanner);
11787guint g_scanner_cur_line (GScanner *scanner);
11788guint g_scanner_cur_position (GScanner *scanner);
11789gboolean g_scanner_eof (GScanner *scanner);
11790guint g_scanner_set_scope (GScanner *scanner,
11791 guint scope_id);
11792void g_scanner_scope_add_symbol (GScanner *scanner,
11793 guint scope_id,
11794 const gchar *symbol,
11795 gpointer value);
11796void g_scanner_scope_remove_symbol (GScanner *scanner,
11797 guint scope_id,
11798 const gchar *symbol);
11799gpointer g_scanner_scope_lookup_symbol (GScanner *scanner,
11800 guint scope_id,
11801 const gchar *symbol);
11802void g_scanner_scope_foreach_symbol (GScanner *scanner,
11803 guint scope_id,
11804 GHFunc func,
11805 gpointer user_data);
11806gpointer g_scanner_lookup_symbol (GScanner *scanner,
11807 const gchar *symbol);
11808void g_scanner_unexp_token (GScanner *scanner,
11809 GTokenType expected_token,
11810 const gchar *identifier_spec,
11811 const gchar *symbol_spec,
11812 const gchar *symbol_name,
11813 const gchar *message,
11814 gint is_error);
11815void g_scanner_error (GScanner *scanner,
11816 const gchar *format,
11817 ...) __attribute__((__format__ (__printf__, 2, 3)));
11818void g_scanner_warn (GScanner *scanner,
11819 const gchar *format,
11820 ...) __attribute__((__format__ (__printf__, 2, 3)));
11821# 276 "/usr/include/glib-2.0/glib/gscanner.h"
11822
11823# 71 "/usr/include/glib-2.0/glib.h" 2
11824# 1 "/usr/include/glib-2.0/glib/gsequence.h" 1
11825# 28 "/usr/include/glib-2.0/glib/gsequence.h"
11826# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
11827# 29 "/usr/include/glib-2.0/glib/gsequence.h" 2
11828
11829
11830
11831typedef struct _GSequence GSequence;
11832typedef struct _GSequenceNode GSequenceIter;
11833
11834typedef gint (* GSequenceIterCompareFunc) (GSequenceIter *a,
11835 GSequenceIter *b,
11836 gpointer data);
11837
11838
11839
11840GSequence * g_sequence_new (GDestroyNotify data_destroy);
11841void g_sequence_free (GSequence *seq);
11842gint g_sequence_get_length (GSequence *seq);
11843void g_sequence_foreach (GSequence *seq,
11844 GFunc func,
11845 gpointer user_data);
11846void g_sequence_foreach_range (GSequenceIter *begin,
11847 GSequenceIter *end,
11848 GFunc func,
11849 gpointer user_data);
11850void g_sequence_sort (GSequence *seq,
11851 GCompareDataFunc cmp_func,
11852 gpointer cmp_data);
11853void g_sequence_sort_iter (GSequence *seq,
11854 GSequenceIterCompareFunc cmp_func,
11855 gpointer cmp_data);
11856
11857
11858
11859GSequenceIter *g_sequence_get_begin_iter (GSequence *seq);
11860GSequenceIter *g_sequence_get_end_iter (GSequence *seq);
11861GSequenceIter *g_sequence_get_iter_at_pos (GSequence *seq,
11862 gint pos);
11863GSequenceIter *g_sequence_append (GSequence *seq,
11864 gpointer data);
11865GSequenceIter *g_sequence_prepend (GSequence *seq,
11866 gpointer data);
11867GSequenceIter *g_sequence_insert_before (GSequenceIter *iter,
11868 gpointer data);
11869void g_sequence_move (GSequenceIter *src,
11870 GSequenceIter *dest);
11871void g_sequence_swap (GSequenceIter *a,
11872 GSequenceIter *b);
11873GSequenceIter *g_sequence_insert_sorted (GSequence *seq,
11874 gpointer data,
11875 GCompareDataFunc cmp_func,
11876 gpointer cmp_data);
11877GSequenceIter *g_sequence_insert_sorted_iter (GSequence *seq,
11878 gpointer data,
11879 GSequenceIterCompareFunc iter_cmp,
11880 gpointer cmp_data);
11881void g_sequence_sort_changed (GSequenceIter *iter,
11882 GCompareDataFunc cmp_func,
11883 gpointer cmp_data);
11884void g_sequence_sort_changed_iter (GSequenceIter *iter,
11885 GSequenceIterCompareFunc iter_cmp,
11886 gpointer cmp_data);
11887void g_sequence_remove (GSequenceIter *iter);
11888void g_sequence_remove_range (GSequenceIter *begin,
11889 GSequenceIter *end);
11890void g_sequence_move_range (GSequenceIter *dest,
11891 GSequenceIter *begin,
11892 GSequenceIter *end);
11893GSequenceIter *g_sequence_search (GSequence *seq,
11894 gpointer data,
11895 GCompareDataFunc cmp_func,
11896 gpointer cmp_data);
11897GSequenceIter *g_sequence_search_iter (GSequence *seq,
11898 gpointer data,
11899 GSequenceIterCompareFunc iter_cmp,
11900 gpointer cmp_data);
11901
11902
11903
11904gpointer g_sequence_get (GSequenceIter *iter);
11905void g_sequence_set (GSequenceIter *iter,
11906 gpointer data);
11907
11908
11909gboolean g_sequence_iter_is_begin (GSequenceIter *iter);
11910gboolean g_sequence_iter_is_end (GSequenceIter *iter);
11911GSequenceIter *g_sequence_iter_next (GSequenceIter *iter);
11912GSequenceIter *g_sequence_iter_prev (GSequenceIter *iter);
11913gint g_sequence_iter_get_position (GSequenceIter *iter);
11914GSequenceIter *g_sequence_iter_move (GSequenceIter *iter,
11915 gint delta);
11916GSequence * g_sequence_iter_get_sequence (GSequenceIter *iter);
11917
11918
11919
11920gint g_sequence_iter_compare (GSequenceIter *a,
11921 GSequenceIter *b);
11922GSequenceIter *g_sequence_range_get_midpoint (GSequenceIter *begin,
11923 GSequenceIter *end);
11924
11925
11926# 72 "/usr/include/glib-2.0/glib.h" 2
11927# 1 "/usr/include/glib-2.0/glib/gshell.h" 1
11928# 28 "/usr/include/glib-2.0/glib/gshell.h"
11929# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
11930# 29 "/usr/include/glib-2.0/glib/gshell.h" 2
11931
11932
11933
11934
11935
11936typedef enum
11937{
11938
11939 G_SHELL_ERROR_BAD_QUOTING,
11940
11941 G_SHELL_ERROR_EMPTY_STRING,
11942 G_SHELL_ERROR_FAILED
11943} GShellError;
11944
11945GQuark g_shell_error_quark (void);
11946
11947gchar* g_shell_quote (const gchar *unquoted_string);
11948gchar* g_shell_unquote (const gchar *quoted_string,
11949 GError **error);
11950gboolean g_shell_parse_argv (const gchar *command_line,
11951 gint *argcp,
11952 gchar ***argvp,
11953 GError **error);
11954
11955
11956# 73 "/usr/include/glib-2.0/glib.h" 2
11957# 1 "/usr/include/glib-2.0/glib/gslice.h" 1
11958# 74 "/usr/include/glib-2.0/glib.h" 2
11959# 1 "/usr/include/glib-2.0/glib/gslist.h" 1
11960# 75 "/usr/include/glib-2.0/glib.h" 2
11961# 1 "/usr/include/glib-2.0/glib/gspawn.h" 1
11962# 28 "/usr/include/glib-2.0/glib/gspawn.h"
11963# 1 "/usr/include/glib-2.0/glib/gerror.h" 1
11964# 29 "/usr/include/glib-2.0/glib/gspawn.h" 2
11965
11966
11967
11968
11969
11970
11971typedef enum
11972{
11973 G_SPAWN_ERROR_FORK,
11974 G_SPAWN_ERROR_READ,
11975 G_SPAWN_ERROR_CHDIR,
11976 G_SPAWN_ERROR_ACCES,
11977 G_SPAWN_ERROR_PERM,
11978 G_SPAWN_ERROR_2BIG,
11979 G_SPAWN_ERROR_NOEXEC,
11980 G_SPAWN_ERROR_NAMETOOLONG,
11981 G_SPAWN_ERROR_NOENT,
11982 G_SPAWN_ERROR_NOMEM,
11983 G_SPAWN_ERROR_NOTDIR,
11984 G_SPAWN_ERROR_LOOP,
11985 G_SPAWN_ERROR_TXTBUSY,
11986 G_SPAWN_ERROR_IO,
11987 G_SPAWN_ERROR_NFILE,
11988 G_SPAWN_ERROR_MFILE,
11989 G_SPAWN_ERROR_INVAL,
11990 G_SPAWN_ERROR_ISDIR,
11991 G_SPAWN_ERROR_LIBBAD,
11992 G_SPAWN_ERROR_FAILED
11993
11994
11995} GSpawnError;
11996
11997typedef void (* GSpawnChildSetupFunc) (gpointer user_data);
11998
11999typedef enum
12000{
12001 G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0,
12002 G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1,
12003
12004 G_SPAWN_SEARCH_PATH = 1 << 2,
12005
12006 G_SPAWN_STDOUT_TO_DEV_NULL = 1 << 3,
12007 G_SPAWN_STDERR_TO_DEV_NULL = 1 << 4,
12008 G_SPAWN_CHILD_INHERITS_STDIN = 1 << 5,
12009 G_SPAWN_FILE_AND_ARGV_ZERO = 1 << 6
12010} GSpawnFlags;
12011
12012GQuark g_spawn_error_quark (void);
12013# 86 "/usr/include/glib-2.0/glib/gspawn.h"
12014gboolean g_spawn_async (const gchar *working_directory,
12015 gchar **argv,
12016 gchar **envp,
12017 GSpawnFlags flags,
12018 GSpawnChildSetupFunc child_setup,
12019 gpointer user_data,
12020 GPid *child_pid,
12021 GError **error);
12022
12023
12024
12025
12026
12027gboolean g_spawn_async_with_pipes (const gchar *working_directory,
12028 gchar **argv,
12029 gchar **envp,
12030 GSpawnFlags flags,
12031 GSpawnChildSetupFunc child_setup,
12032 gpointer user_data,
12033 GPid *child_pid,
12034 gint *standard_input,
12035 gint *standard_output,
12036 gint *standard_error,
12037 GError **error);
12038
12039
12040
12041
12042
12043
12044gboolean g_spawn_sync (const gchar *working_directory,
12045 gchar **argv,
12046 gchar **envp,
12047 GSpawnFlags flags,
12048 GSpawnChildSetupFunc child_setup,
12049 gpointer user_data,
12050 gchar **standard_output,
12051 gchar **standard_error,
12052 gint *exit_status,
12053 GError **error);
12054
12055gboolean g_spawn_command_line_sync (const gchar *command_line,
12056 gchar **standard_output,
12057 gchar **standard_error,
12058 gint *exit_status,
12059 GError **error);
12060gboolean g_spawn_command_line_async (const gchar *command_line,
12061 GError **error);
12062
12063void g_spawn_close_pid (GPid pid);
12064
12065
12066# 76 "/usr/include/glib-2.0/glib.h" 2
12067# 1 "/usr/include/glib-2.0/glib/gstrfuncs.h" 1
12068# 35 "/usr/include/glib-2.0/glib/gstrfuncs.h"
12069# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
12070# 36 "/usr/include/glib-2.0/glib/gstrfuncs.h" 2
12071
12072
12073
12074
12075typedef enum {
12076 G_ASCII_ALNUM = 1 << 0,
12077 G_ASCII_ALPHA = 1 << 1,
12078 G_ASCII_CNTRL = 1 << 2,
12079 G_ASCII_DIGIT = 1 << 3,
12080 G_ASCII_GRAPH = 1 << 4,
12081 G_ASCII_LOWER = 1 << 5,
12082 G_ASCII_PRINT = 1 << 6,
12083 G_ASCII_PUNCT = 1 << 7,
12084 G_ASCII_SPACE = 1 << 8,
12085 G_ASCII_UPPER = 1 << 9,
12086 G_ASCII_XDIGIT = 1 << 10
12087} GAsciiType;
12088
12089extern const guint16 * const g_ascii_table;
12090# 89 "/usr/include/glib-2.0/glib/gstrfuncs.h"
12091gchar g_ascii_tolower (gchar c) __attribute__((__const__));
12092gchar g_ascii_toupper (gchar c) __attribute__((__const__));
12093
12094gint g_ascii_digit_value (gchar c) __attribute__((__const__));
12095gint g_ascii_xdigit_value (gchar c) __attribute__((__const__));
12096
12097
12098
12099
12100
12101gchar* g_strdelimit (gchar *string,
12102 const gchar *delimiters,
12103 gchar new_delimiter);
12104gchar* g_strcanon (gchar *string,
12105 const gchar *valid_chars,
12106 gchar substitutor);
12107const gchar* g_strerror (gint errnum) __attribute__((__const__));
12108const gchar* g_strsignal (gint signum) __attribute__((__const__));
12109gchar* g_strreverse (gchar *string);
12110gsize g_strlcpy (gchar *dest,
12111 const gchar *src,
12112 gsize dest_size);
12113gsize g_strlcat (gchar *dest,
12114 const gchar *src,
12115 gsize dest_size);
12116gchar * g_strstr_len (const gchar *haystack,
12117 gssize haystack_len,
12118 const gchar *needle);
12119gchar * g_strrstr (const gchar *haystack,
12120 const gchar *needle);
12121gchar * g_strrstr_len (const gchar *haystack,
12122 gssize haystack_len,
12123 const gchar *needle);
12124
12125gboolean g_str_has_suffix (const gchar *str,
12126 const gchar *suffix);
12127gboolean g_str_has_prefix (const gchar *str,
12128 const gchar *prefix);
12129
12130
12131
12132gdouble g_strtod (const gchar *nptr,
12133 gchar **endptr);
12134gdouble g_ascii_strtod (const gchar *nptr,
12135 gchar **endptr);
12136guint64 g_ascii_strtoull (const gchar *nptr,
12137 gchar **endptr,
12138 guint base);
12139gint64 g_ascii_strtoll (const gchar *nptr,
12140 gchar **endptr,
12141 guint base);
12142
12143
12144
12145
12146gchar * g_ascii_dtostr (gchar *buffer,
12147 gint buf_len,
12148 gdouble d);
12149gchar * g_ascii_formatd (gchar *buffer,
12150 gint buf_len,
12151 const gchar *format,
12152 gdouble d);
12153
12154
12155gchar* g_strchug (gchar *string);
12156
12157gchar* g_strchomp (gchar *string);
12158
12159
12160
12161gint g_ascii_strcasecmp (const gchar *s1,
12162 const gchar *s2);
12163gint g_ascii_strncasecmp (const gchar *s1,
12164 const gchar *s2,
12165 gsize n);
12166gchar* g_ascii_strdown (const gchar *str,
12167 gssize len) __attribute__((__malloc__));
12168gchar* g_ascii_strup (const gchar *str,
12169 gssize len) __attribute__((__malloc__));
12170# 176 "/usr/include/glib-2.0/glib/gstrfuncs.h"
12171gint g_strcasecmp (const gchar *s1,
12172 const gchar *s2);
12173gint g_strncasecmp (const gchar *s1,
12174 const gchar *s2,
12175 guint n);
12176gchar* g_strdown (gchar *string);
12177gchar* g_strup (gchar *string);
12178
12179
12180
12181
12182
12183
12184gchar* g_strdup (const gchar *str) __attribute__((__malloc__));
12185gchar* g_strdup_printf (const gchar *format,
12186 ...) __attribute__((__format__ (__printf__, 1, 2))) __attribute__((__malloc__));
12187gchar* g_strdup_vprintf (const gchar *format,
12188 va_list args) __attribute__((__malloc__));
12189gchar* g_strndup (const gchar *str,
12190 gsize n) __attribute__((__malloc__));
12191gchar* g_strnfill (gsize length,
12192 gchar fill_char) __attribute__((__malloc__));
12193gchar* g_strconcat (const gchar *string1,
12194 ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
12195gchar* g_strjoin (const gchar *separator,
12196 ...) __attribute__((__malloc__)) __attribute__((__sentinel__));
12197
12198
12199
12200
12201
12202gchar* g_strcompress (const gchar *source) __attribute__((__malloc__));
12203# 217 "/usr/include/glib-2.0/glib/gstrfuncs.h"
12204gchar* g_strescape (const gchar *source,
12205 const gchar *exceptions) __attribute__((__malloc__));
12206
12207gpointer g_memdup (gconstpointer mem,
12208 guint byte_size) __attribute__((__malloc__)) __attribute__((__alloc_size__(2)));
12209# 232 "/usr/include/glib-2.0/glib/gstrfuncs.h"
12210gchar** g_strsplit (const gchar *string,
12211 const gchar *delimiter,
12212 gint max_tokens) __attribute__((__malloc__));
12213gchar ** g_strsplit_set (const gchar *string,
12214 const gchar *delimiters,
12215 gint max_tokens) __attribute__((__malloc__));
12216gchar* g_strjoinv (const gchar *separator,
12217 gchar **str_array) __attribute__((__malloc__));
12218void g_strfreev (gchar **str_array);
12219gchar** g_strdupv (gchar **str_array) __attribute__((__malloc__));
12220guint g_strv_length (gchar **str_array);
12221
12222gchar* g_stpcpy (gchar *dest,
12223 const char *src);
12224
12225const gchar *g_strip_context (const gchar *msgid,
12226 const gchar *msgval) __attribute__((__format_arg__ (1)));
12227
12228const gchar *g_dgettext (const gchar *domain,
12229 const gchar *msgid) __attribute__((__format_arg__ (2)));
12230
12231const gchar *g_dngettext (const gchar *domain,
12232 const gchar *msgid,
12233 const gchar *msgid_plural,
12234 gulong n) __attribute__((__format_arg__ (3)));
12235const gchar *g_dpgettext (const gchar *domain,
12236 const gchar *msgctxtid,
12237 gsize msgidoffset) __attribute__((__format_arg__ (2)));
12238const gchar *g_dpgettext2 (const gchar *domain,
12239 const gchar *context,
12240 const gchar *msgid) __attribute__((__format_arg__ (3)));
12241
12242
12243# 77 "/usr/include/glib-2.0/glib.h" 2
12244# 1 "/usr/include/glib-2.0/glib/gstring.h" 1
12245# 78 "/usr/include/glib-2.0/glib.h" 2
12246# 1 "/usr/include/glib-2.0/glib/gtestutils.h" 1
12247# 28 "/usr/include/glib-2.0/glib/gtestutils.h"
12248# 1 "/usr/include/glib-2.0/glib.h" 1
12249# 29 "/usr/include/glib-2.0/glib/gtestutils.h" 2
12250
12251
12252
12253typedef struct GTestCase GTestCase;
12254typedef struct GTestSuite GTestSuite;
12255# 72 "/usr/include/glib-2.0/glib/gtestutils.h"
12256int g_strcmp0 (const char *str1,
12257 const char *str2);
12258
12259
12260void g_test_minimized_result (double minimized_quantity,
12261 const char *format,
12262 ...) __attribute__((__format__ (__printf__, 2, 3)));
12263void g_test_maximized_result (double maximized_quantity,
12264 const char *format,
12265 ...) __attribute__((__format__ (__printf__, 2, 3)));
12266
12267
12268void g_test_init (int *argc,
12269 char ***argv,
12270 ...);
12271# 95 "/usr/include/glib-2.0/glib/gtestutils.h"
12272int g_test_run (void);
12273
12274void g_test_add_func (const char *testpath,
12275 void (*test_func) (void));
12276void g_test_add_data_func (const char *testpath,
12277 gconstpointer test_data,
12278 void (*test_func) (gconstpointer));
12279# 116 "/usr/include/glib-2.0/glib/gtestutils.h"
12280void g_test_message (const char *format,
12281 ...) __attribute__((__format__ (__printf__, 1, 2)));
12282void g_test_bug_base (const char *uri_pattern);
12283void g_test_bug (const char *bug_uri_snippet);
12284
12285void g_test_timer_start (void);
12286double g_test_timer_elapsed (void);
12287double g_test_timer_last (void);
12288
12289
12290void g_test_queue_free (gpointer gfree_pointer);
12291void g_test_queue_destroy (GDestroyNotify destroy_func,
12292 gpointer destroy_data);
12293
12294
12295
12296typedef enum {
12297 G_TEST_TRAP_SILENCE_STDOUT = 1 << 7,
12298 G_TEST_TRAP_SILENCE_STDERR = 1 << 8,
12299 G_TEST_TRAP_INHERIT_STDIN = 1 << 9
12300} GTestTrapFlags;
12301gboolean g_test_trap_fork (guint64 usec_timeout,
12302 GTestTrapFlags test_trap_flags);
12303gboolean g_test_trap_has_passed (void);
12304gboolean g_test_trap_reached_timeout (void);
12305# 150 "/usr/include/glib-2.0/glib/gtestutils.h"
12306gint32 g_test_rand_int (void);
12307gint32 g_test_rand_int_range (gint32 begin,
12308 gint32 end);
12309double g_test_rand_double (void);
12310double g_test_rand_double_range (double range_start,
12311 double range_end);
12312
12313
12314GTestCase* g_test_create_case (const char *test_name,
12315 gsize data_size,
12316 gconstpointer test_data,
12317 void (*data_setup) (void),
12318 void (*data_test) (void),
12319 void (*data_teardown) (void));
12320GTestSuite* g_test_create_suite (const char *suite_name);
12321GTestSuite* g_test_get_root (void);
12322void g_test_suite_add (GTestSuite *suite,
12323 GTestCase *test_case);
12324void g_test_suite_add_suite (GTestSuite *suite,
12325 GTestSuite *nestedsuite);
12326int g_test_run_suite (GTestSuite *suite);
12327
12328
12329void g_test_trap_assertions (const char *domain,
12330 const char *file,
12331 int line,
12332 const char *func,
12333 guint64 assertion_flags,
12334 const char *pattern);
12335void g_assertion_message (const char *domain,
12336 const char *file,
12337 int line,
12338 const char *func,
12339 const char *message) __attribute__((__noreturn__));
12340void g_assertion_message_expr (const char *domain,
12341 const char *file,
12342 int line,
12343 const char *func,
12344 const char *expr) __attribute__((__noreturn__));
12345void g_assertion_message_cmpstr (const char *domain,
12346 const char *file,
12347 int line,
12348 const char *func,
12349 const char *expr,
12350 const char *arg1,
12351 const char *cmp,
12352 const char *arg2) __attribute__((__noreturn__));
12353void g_assertion_message_cmpnum (const char *domain,
12354 const char *file,
12355 int line,
12356 const char *func,
12357 const char *expr,
12358 long double arg1,
12359 const char *cmp,
12360 long double arg2,
12361 char numtype) __attribute__((__noreturn__));
12362void g_assertion_message_error (const char *domain,
12363 const char *file,
12364 int line,
12365 const char *func,
12366 const char *expr,
12367 GError *error,
12368 GQuark error_domain,
12369 int error_code) __attribute__((__noreturn__));
12370void g_test_add_vtable (const char *testpath,
12371 gsize data_size,
12372 gconstpointer test_data,
12373 void (*data_setup) (void),
12374 void (*data_test) (void),
12375 void (*data_teardown) (void));
12376typedef struct {
12377 gboolean test_initialized;
12378 gboolean test_quick;
12379 gboolean test_perf;
12380 gboolean test_verbose;
12381 gboolean test_quiet;
12382} GTestConfig;
12383extern const GTestConfig * const g_test_config_vars;
12384
12385
12386typedef enum {
12387 G_TEST_LOG_NONE,
12388 G_TEST_LOG_ERROR,
12389 G_TEST_LOG_START_BINARY,
12390 G_TEST_LOG_LIST_CASE,
12391 G_TEST_LOG_SKIP_CASE,
12392 G_TEST_LOG_START_CASE,
12393 G_TEST_LOG_STOP_CASE,
12394 G_TEST_LOG_MIN_RESULT,
12395 G_TEST_LOG_MAX_RESULT,
12396 G_TEST_LOG_MESSAGE
12397} GTestLogType;
12398
12399typedef struct {
12400 GTestLogType log_type;
12401 guint n_strings;
12402 gchar **strings;
12403 guint n_nums;
12404 long double *nums;
12405} GTestLogMsg;
12406typedef struct {
12407
12408 GString *data;
12409 GSList *msgs;
12410} GTestLogBuffer;
12411
12412const char* g_test_log_type_name (GTestLogType log_type);
12413GTestLogBuffer* g_test_log_buffer_new (void);
12414void g_test_log_buffer_free (GTestLogBuffer *tbuffer);
12415void g_test_log_buffer_push (GTestLogBuffer *tbuffer,
12416 guint n_bytes,
12417 const guint8 *bytes);
12418GTestLogMsg* g_test_log_buffer_pop (GTestLogBuffer *tbuffer);
12419void g_test_log_msg_free (GTestLogMsg *tmsg);
12420
12421
12422# 79 "/usr/include/glib-2.0/glib.h" 2
12423# 1 "/usr/include/glib-2.0/glib/gthread.h" 1
12424# 80 "/usr/include/glib-2.0/glib.h" 2
12425# 1 "/usr/include/glib-2.0/glib/gthreadpool.h" 1
12426# 34 "/usr/include/glib-2.0/glib/gthreadpool.h"
12427# 1 "/usr/include/glib-2.0/glib/gthread.h" 1
12428# 35 "/usr/include/glib-2.0/glib/gthreadpool.h" 2
12429
12430
12431
12432typedef struct _GThreadPool GThreadPool;
12433
12434
12435
12436
12437
12438
12439struct _GThreadPool
12440{
12441 GFunc func;
12442 gpointer user_data;
12443 gboolean exclusive;
12444};
12445
12446
12447
12448
12449
12450
12451GThreadPool* g_thread_pool_new (GFunc func,
12452 gpointer user_data,
12453 gint max_threads,
12454 gboolean exclusive,
12455 GError **error);
12456
12457
12458
12459
12460
12461void g_thread_pool_push (GThreadPool *pool,
12462 gpointer data,
12463 GError **error);
12464
12465
12466
12467
12468void g_thread_pool_set_max_threads (GThreadPool *pool,
12469 gint max_threads,
12470 GError **error);
12471gint g_thread_pool_get_max_threads (GThreadPool *pool);
12472
12473
12474
12475guint g_thread_pool_get_num_threads (GThreadPool *pool);
12476
12477
12478guint g_thread_pool_unprocessed (GThreadPool *pool);
12479
12480
12481
12482
12483
12484void g_thread_pool_free (GThreadPool *pool,
12485 gboolean immediate,
12486 gboolean wait_);
12487
12488
12489
12490void g_thread_pool_set_max_unused_threads (gint max_threads);
12491gint g_thread_pool_get_max_unused_threads (void);
12492guint g_thread_pool_get_num_unused_threads (void);
12493
12494
12495void g_thread_pool_stop_unused_threads (void);
12496
12497
12498void g_thread_pool_set_sort_function (GThreadPool *pool,
12499 GCompareDataFunc func,
12500 gpointer user_data);
12501
12502
12503void g_thread_pool_set_max_idle_time (guint interval);
12504guint g_thread_pool_get_max_idle_time (void);
12505
12506
12507# 81 "/usr/include/glib-2.0/glib.h" 2
12508# 1 "/usr/include/glib-2.0/glib/gtimer.h" 1
12509# 34 "/usr/include/glib-2.0/glib/gtimer.h"
12510# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
12511# 35 "/usr/include/glib-2.0/glib/gtimer.h" 2
12512
12513
12514
12515
12516
12517
12518
12519typedef struct _GTimer GTimer;
12520
12521
12522
12523GTimer* g_timer_new (void);
12524void g_timer_destroy (GTimer *timer);
12525void g_timer_start (GTimer *timer);
12526void g_timer_stop (GTimer *timer);
12527void g_timer_reset (GTimer *timer);
12528void g_timer_continue (GTimer *timer);
12529gdouble g_timer_elapsed (GTimer *timer,
12530 gulong *microseconds);
12531
12532void g_usleep (gulong microseconds);
12533
12534void g_time_val_add (GTimeVal *time_,
12535 glong microseconds);
12536gboolean g_time_val_from_iso8601 (const gchar *iso_date,
12537 GTimeVal *time_);
12538gchar* g_time_val_to_iso8601 (GTimeVal *time_) __attribute__((__malloc__));
12539
12540
12541# 82 "/usr/include/glib-2.0/glib.h" 2
12542# 1 "/usr/include/glib-2.0/glib/gtree.h" 1
12543# 34 "/usr/include/glib-2.0/glib/gtree.h"
12544# 1 "/usr/include/glib-2.0/glib/gnode.h" 1
12545# 35 "/usr/include/glib-2.0/glib/gtree.h" 2
12546
12547
12548
12549typedef struct _GTree GTree;
12550
12551typedef gboolean (*GTraverseFunc) (gpointer key,
12552 gpointer value,
12553 gpointer data);
12554
12555
12556
12557GTree* g_tree_new (GCompareFunc key_compare_func);
12558GTree* g_tree_new_with_data (GCompareDataFunc key_compare_func,
12559 gpointer key_compare_data);
12560GTree* g_tree_new_full (GCompareDataFunc key_compare_func,
12561 gpointer key_compare_data,
12562 GDestroyNotify key_destroy_func,
12563 GDestroyNotify value_destroy_func);
12564void g_tree_destroy (GTree *tree);
12565void g_tree_insert (GTree *tree,
12566 gpointer key,
12567 gpointer value);
12568void g_tree_replace (GTree *tree,
12569 gpointer key,
12570 gpointer value);
12571gboolean g_tree_remove (GTree *tree,
12572 gconstpointer key);
12573gboolean g_tree_steal (GTree *tree,
12574 gconstpointer key);
12575gpointer g_tree_lookup (GTree *tree,
12576 gconstpointer key);
12577gboolean g_tree_lookup_extended (GTree *tree,
12578 gconstpointer lookup_key,
12579 gpointer *orig_key,
12580 gpointer *value);
12581void g_tree_foreach (GTree *tree,
12582 GTraverseFunc func,
12583 gpointer user_data);
12584
12585
12586void g_tree_traverse (GTree *tree,
12587 GTraverseFunc traverse_func,
12588 GTraverseType traverse_type,
12589 gpointer user_data);
12590
12591
12592gpointer g_tree_search (GTree *tree,
12593 GCompareFunc search_func,
12594 gconstpointer user_data);
12595gint g_tree_height (GTree *tree);
12596gint g_tree_nnodes (GTree *tree);
12597
12598
12599# 83 "/usr/include/glib-2.0/glib.h" 2
12600# 1 "/usr/include/glib-2.0/glib/gtypes.h" 1
12601# 84 "/usr/include/glib-2.0/glib.h" 2
12602# 1 "/usr/include/glib-2.0/glib/gunicode.h" 1
12603# 85 "/usr/include/glib-2.0/glib.h" 2
12604# 1 "/usr/include/glib-2.0/glib/gurifuncs.h" 1
12605# 32 "/usr/include/glib-2.0/glib/gurifuncs.h"
12606
12607# 69 "/usr/include/glib-2.0/glib/gurifuncs.h"
12608char * g_uri_unescape_string (const char *escaped_string,
12609 const char *illegal_characters);
12610char * g_uri_unescape_segment (const char *escaped_string,
12611 const char *escaped_string_end,
12612 const char *illegal_characters);
12613char * g_uri_parse_scheme (const char *uri);
12614char * g_uri_escape_string (const char *unescaped,
12615 const char *reserved_chars_allowed,
12616 gboolean allow_utf8);
12617
12618
12619# 86 "/usr/include/glib-2.0/glib.h" 2
12620# 1 "/usr/include/glib-2.0/glib/gutils.h" 1
12621# 87 "/usr/include/glib-2.0/glib.h" 2
12622# 28 "/usr/include/gstreamer-0.10/gst/gst.h" 2
12623
12624# 1 "/usr/include/gstreamer-0.10/gst/glib-compat.h" 1
12625# 33 "/usr/include/gstreamer-0.10/gst/glib-compat.h"
12626
12627
12628
12629# 30 "/usr/include/gstreamer-0.10/gst/gst.h" 2
12630
12631# 1 "/usr/include/gstreamer-0.10/gst/gstenumtypes.h" 1
12632
12633
12634
12635
12636
12637
12638# 1 "/usr/include/glib-2.0/glib-object.h" 1
12639# 25 "/usr/include/glib-2.0/glib-object.h"
12640# 1 "/usr/include/glib-2.0/gobject/gboxed.h" 1
12641# 26 "/usr/include/glib-2.0/gobject/gboxed.h"
12642# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
12643# 28 "/usr/include/glib-2.0/gobject/gtype.h"
12644
12645# 367 "/usr/include/glib-2.0/gobject/gtype.h"
12646typedef gsize GType;
12647
12648
12649
12650typedef struct _GValue GValue;
12651typedef union _GTypeCValue GTypeCValue;
12652typedef struct _GTypePlugin GTypePlugin;
12653typedef struct _GTypeClass GTypeClass;
12654typedef struct _GTypeInterface GTypeInterface;
12655typedef struct _GTypeInstance GTypeInstance;
12656typedef struct _GTypeInfo GTypeInfo;
12657typedef struct _GTypeFundamentalInfo GTypeFundamentalInfo;
12658typedef struct _GInterfaceInfo GInterfaceInfo;
12659typedef struct _GTypeValueTable GTypeValueTable;
12660typedef struct _GTypeQuery GTypeQuery;
12661# 391 "/usr/include/glib-2.0/gobject/gtype.h"
12662struct _GTypeClass
12663{
12664
12665 GType g_type;
12666};
12667
12668
12669
12670
12671
12672struct _GTypeInstance
12673{
12674
12675 GTypeClass *g_class;
12676};
12677
12678
12679
12680
12681
12682struct _GTypeInterface
12683{
12684
12685 GType g_type;
12686 GType g_instance_type;
12687};
12688# 427 "/usr/include/glib-2.0/gobject/gtype.h"
12689struct _GTypeQuery
12690{
12691 GType type;
12692 const gchar *type_name;
12693 guint class_size;
12694 guint instance_size;
12695};
12696# 623 "/usr/include/glib-2.0/gobject/gtype.h"
12697typedef enum
12698{
12699 G_TYPE_DEBUG_NONE = 0,
12700 G_TYPE_DEBUG_OBJECTS = 1 << 0,
12701 G_TYPE_DEBUG_SIGNALS = 1 << 1,
12702 G_TYPE_DEBUG_MASK = 0x03
12703} GTypeDebugFlags;
12704
12705
12706
12707void g_type_init (void);
12708void g_type_init_with_debug_flags (GTypeDebugFlags debug_flags);
12709const gchar* g_type_name (GType type);
12710GQuark g_type_qname (GType type);
12711GType g_type_from_name (const gchar *name);
12712GType g_type_parent (GType type);
12713guint g_type_depth (GType type);
12714GType g_type_next_base (GType leaf_type,
12715 GType root_type);
12716gboolean g_type_is_a (GType type,
12717 GType is_a_type);
12718gpointer g_type_class_ref (GType type);
12719gpointer g_type_class_peek (GType type);
12720gpointer g_type_class_peek_static (GType type);
12721void g_type_class_unref (gpointer g_class);
12722gpointer g_type_class_peek_parent (gpointer g_class);
12723gpointer g_type_interface_peek (gpointer instance_class,
12724 GType iface_type);
12725gpointer g_type_interface_peek_parent (gpointer g_iface);
12726
12727gpointer g_type_default_interface_ref (GType g_type);
12728gpointer g_type_default_interface_peek (GType g_type);
12729void g_type_default_interface_unref (gpointer g_iface);
12730
12731
12732GType* g_type_children (GType type,
12733 guint *n_children);
12734GType* g_type_interfaces (GType type,
12735 guint *n_interfaces);
12736
12737
12738void g_type_set_qdata (GType type,
12739 GQuark quark,
12740 gpointer data);
12741gpointer g_type_get_qdata (GType type,
12742 GQuark quark);
12743void g_type_query (GType type,
12744 GTypeQuery *query);
12745# 687 "/usr/include/glib-2.0/gobject/gtype.h"
12746typedef void (*GBaseInitFunc) (gpointer g_class);
12747# 698 "/usr/include/glib-2.0/gobject/gtype.h"
12748typedef void (*GBaseFinalizeFunc) (gpointer g_class);
12749# 803 "/usr/include/glib-2.0/gobject/gtype.h"
12750typedef void (*GClassInitFunc) (gpointer g_class,
12751 gpointer class_data);
12752# 818 "/usr/include/glib-2.0/gobject/gtype.h"
12753typedef void (*GClassFinalizeFunc) (gpointer g_class,
12754 gpointer class_data);
12755# 833 "/usr/include/glib-2.0/gobject/gtype.h"
12756typedef void (*GInstanceInitFunc) (GTypeInstance *instance,
12757 gpointer g_class);
12758# 844 "/usr/include/glib-2.0/gobject/gtype.h"
12759typedef void (*GInterfaceInitFunc) (gpointer g_iface,
12760 gpointer iface_data);
12761# 855 "/usr/include/glib-2.0/gobject/gtype.h"
12762typedef void (*GInterfaceFinalizeFunc) (gpointer g_iface,
12763 gpointer iface_data);
12764# 875 "/usr/include/glib-2.0/gobject/gtype.h"
12765typedef gboolean (*GTypeClassCacheFunc) (gpointer cache_data,
12766 GTypeClass *g_class);
12767# 887 "/usr/include/glib-2.0/gobject/gtype.h"
12768typedef void (*GTypeInterfaceCheckFunc) (gpointer check_data,
12769 gpointer g_iface);
12770# 899 "/usr/include/glib-2.0/gobject/gtype.h"
12771typedef enum
12772{
12773 G_TYPE_FLAG_CLASSED = (1 << 0),
12774 G_TYPE_FLAG_INSTANTIATABLE = (1 << 1),
12775 G_TYPE_FLAG_DERIVABLE = (1 << 2),
12776 G_TYPE_FLAG_DEEP_DERIVABLE = (1 << 3)
12777} GTypeFundamentalFlags;
12778# 916 "/usr/include/glib-2.0/gobject/gtype.h"
12779typedef enum
12780{
12781 G_TYPE_FLAG_ABSTRACT = (1 << 4),
12782 G_TYPE_FLAG_VALUE_ABSTRACT = (1 << 5)
12783} GTypeFlags;
12784# 951 "/usr/include/glib-2.0/gobject/gtype.h"
12785struct _GTypeInfo
12786{
12787
12788 guint16 class_size;
12789
12790 GBaseInitFunc base_init;
12791 GBaseFinalizeFunc base_finalize;
12792
12793
12794 GClassInitFunc class_init;
12795 GClassFinalizeFunc class_finalize;
12796 gconstpointer class_data;
12797
12798
12799 guint16 instance_size;
12800 guint16 n_preallocs;
12801 GInstanceInitFunc instance_init;
12802
12803
12804 const GTypeValueTable *value_table;
12805};
12806
12807
12808
12809
12810
12811
12812
12813struct _GTypeFundamentalInfo
12814{
12815 GTypeFundamentalFlags type_flags;
12816};
12817# 992 "/usr/include/glib-2.0/gobject/gtype.h"
12818struct _GInterfaceInfo
12819{
12820 GInterfaceInitFunc interface_init;
12821 GInterfaceFinalizeFunc interface_finalize;
12822 gpointer interface_data;
12823};
12824# 1166 "/usr/include/glib-2.0/gobject/gtype.h"
12825struct _GTypeValueTable
12826{
12827 void (*value_init) (GValue *value);
12828 void (*value_free) (GValue *value);
12829 void (*value_copy) (const GValue *src_value,
12830 GValue *dest_value);
12831
12832 gpointer (*value_peek_pointer) (const GValue *value);
12833 gchar *collect_format;
12834 gchar* (*collect_value) (GValue *value,
12835 guint n_collect_values,
12836 GTypeCValue *collect_values,
12837 guint collect_flags);
12838 gchar *lcopy_format;
12839 gchar* (*lcopy_value) (const GValue *value,
12840 guint n_collect_values,
12841 GTypeCValue *collect_values,
12842 guint collect_flags);
12843};
12844GType g_type_register_static (GType parent_type,
12845 const gchar *type_name,
12846 const GTypeInfo *info,
12847 GTypeFlags flags);
12848GType g_type_register_static_simple (GType parent_type,
12849 const gchar *type_name,
12850 guint class_size,
12851 GClassInitFunc class_init,
12852 guint instance_size,
12853 GInstanceInitFunc instance_init,
12854 GTypeFlags flags);
12855
12856GType g_type_register_dynamic (GType parent_type,
12857 const gchar *type_name,
12858 GTypePlugin *plugin,
12859 GTypeFlags flags);
12860GType g_type_register_fundamental (GType type_id,
12861 const gchar *type_name,
12862 const GTypeInfo *info,
12863 const GTypeFundamentalInfo *finfo,
12864 GTypeFlags flags);
12865void g_type_add_interface_static (GType instance_type,
12866 GType interface_type,
12867 const GInterfaceInfo *info);
12868void g_type_add_interface_dynamic (GType instance_type,
12869 GType interface_type,
12870 GTypePlugin *plugin);
12871void g_type_interface_add_prerequisite (GType interface_type,
12872 GType prerequisite_type);
12873GType*g_type_interface_prerequisites (GType interface_type,
12874 guint *n_prerequisites);
12875void g_type_class_add_private (gpointer g_class,
12876 gsize private_size);
12877gpointer g_type_instance_get_private (GTypeInstance *instance,
12878 GType private_type);
12879# 1404 "/usr/include/glib-2.0/gobject/gtype.h"
12880GTypePlugin* g_type_get_plugin (GType type);
12881GTypePlugin* g_type_interface_get_plugin (GType instance_type,
12882 GType interface_type);
12883GType g_type_fundamental_next (void);
12884GType g_type_fundamental (GType type_id);
12885GTypeInstance* g_type_create_instance (GType type);
12886void g_type_free_instance (GTypeInstance *instance);
12887
12888void g_type_add_class_cache_func (gpointer cache_data,
12889 GTypeClassCacheFunc cache_func);
12890void g_type_remove_class_cache_func (gpointer cache_data,
12891 GTypeClassCacheFunc cache_func);
12892void g_type_class_unref_uncached (gpointer g_class);
12893
12894void g_type_add_interface_check (gpointer check_data,
12895 GTypeInterfaceCheckFunc check_func);
12896void g_type_remove_interface_check (gpointer check_data,
12897 GTypeInterfaceCheckFunc check_func);
12898
12899GTypeValueTable* g_type_value_table_peek (GType type);
12900
12901
12902
12903gboolean g_type_check_instance (GTypeInstance *instance) __attribute__((__pure__));
12904GTypeInstance* g_type_check_instance_cast (GTypeInstance *instance,
12905 GType iface_type);
12906gboolean g_type_check_instance_is_a (GTypeInstance *instance,
12907 GType iface_type) __attribute__((__pure__));
12908GTypeClass* g_type_check_class_cast (GTypeClass *g_class,
12909 GType is_a_type);
12910gboolean g_type_check_class_is_a (GTypeClass *g_class,
12911 GType is_a_type) __attribute__((__pure__));
12912gboolean g_type_check_is_value_type (GType type) __attribute__((__const__));
12913gboolean g_type_check_value (GValue *value) __attribute__((__pure__));
12914gboolean g_type_check_value_holds (GValue *value,
12915 GType type) __attribute__((__pure__));
12916gboolean g_type_test_flags (GType type,
12917 guint flags) __attribute__((__const__));
12918
12919
12920
12921const gchar* g_type_name_from_instance (GTypeInstance *instance);
12922const gchar* g_type_name_from_class (GTypeClass *g_class);
12923
12924
12925
12926__attribute__((visibility("hidden"))) void g_value_c_init (void);
12927__attribute__((visibility("hidden"))) void g_value_types_init (void);
12928__attribute__((visibility("hidden"))) void g_enum_types_init (void);
12929__attribute__((visibility("hidden"))) void g_param_type_init (void);
12930__attribute__((visibility("hidden"))) void g_boxed_type_init (void);
12931__attribute__((visibility("hidden"))) void g_object_type_init (void);
12932__attribute__((visibility("hidden"))) void g_param_spec_types_init (void);
12933__attribute__((visibility("hidden"))) void g_value_transforms_init (void);
12934__attribute__((visibility("hidden"))) void g_signal_init (void);
12935# 1511 "/usr/include/glib-2.0/gobject/gtype.h"
12936extern GTypeDebugFlags _g_type_debug_flags;
12937
12938
12939# 27 "/usr/include/glib-2.0/gobject/gboxed.h" 2
12940
12941
12942# 53 "/usr/include/glib-2.0/gobject/gboxed.h"
12943typedef gpointer (*GBoxedCopyFunc) (gpointer boxed);
12944# 62 "/usr/include/glib-2.0/gobject/gboxed.h"
12945typedef void (*GBoxedFreeFunc) (gpointer boxed);
12946
12947
12948
12949gpointer g_boxed_copy (GType boxed_type,
12950 gconstpointer src_boxed);
12951void g_boxed_free (GType boxed_type,
12952 gpointer boxed);
12953void g_value_set_boxed (GValue *value,
12954 gconstpointer v_boxed);
12955void g_value_set_static_boxed (GValue *value,
12956 gconstpointer v_boxed);
12957gpointer g_value_get_boxed (const GValue *value);
12958gpointer g_value_dup_boxed (const GValue *value);
12959
12960
12961
12962GType g_boxed_type_register_static (const gchar *name,
12963 GBoxedCopyFunc boxed_copy,
12964 GBoxedFreeFunc boxed_free);
12965# 167 "/usr/include/glib-2.0/gobject/gboxed.h"
12966void g_value_take_boxed (GValue *value,
12967 gconstpointer v_boxed);
12968
12969void g_value_set_boxed_take_ownership (GValue *value,
12970 gconstpointer v_boxed);
12971
12972GType g_closure_get_type (void) __attribute__((__const__));
12973GType g_value_get_type (void) __attribute__((__const__));
12974GType g_value_array_get_type (void) __attribute__((__const__));
12975GType g_date_get_type (void) __attribute__((__const__));
12976GType g_strv_get_type (void) __attribute__((__const__));
12977GType g_gstring_get_type (void) __attribute__((__const__));
12978GType g_hash_table_get_type (void) __attribute__((__const__));
12979GType g_regex_get_type (void) __attribute__((__const__));
12980
12981
12982
12983
12984
12985
12986typedef gchar** GStrv;
12987
12988
12989# 26 "/usr/include/glib-2.0/glib-object.h" 2
12990# 1 "/usr/include/glib-2.0/gobject/genums.h" 1
12991# 26 "/usr/include/glib-2.0/gobject/genums.h"
12992# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
12993# 27 "/usr/include/glib-2.0/gobject/genums.h" 2
12994
12995
12996# 140 "/usr/include/glib-2.0/gobject/genums.h"
12997typedef struct _GEnumClass GEnumClass;
12998typedef struct _GFlagsClass GFlagsClass;
12999typedef struct _GEnumValue GEnumValue;
13000typedef struct _GFlagsValue GFlagsValue;
13001# 157 "/usr/include/glib-2.0/gobject/genums.h"
13002struct _GEnumClass
13003{
13004 GTypeClass g_type_class;
13005
13006
13007 gint minimum;
13008 gint maximum;
13009 guint n_values;
13010 GEnumValue *values;
13011};
13012# 178 "/usr/include/glib-2.0/gobject/genums.h"
13013struct _GFlagsClass
13014{
13015 GTypeClass g_type_class;
13016
13017
13018 guint mask;
13019 guint n_values;
13020 GFlagsValue *values;
13021};
13022# 196 "/usr/include/glib-2.0/gobject/genums.h"
13023struct _GEnumValue
13024{
13025 gint value;
13026 const gchar *value_name;
13027 const gchar *value_nick;
13028};
13029# 211 "/usr/include/glib-2.0/gobject/genums.h"
13030struct _GFlagsValue
13031{
13032 guint value;
13033 const gchar *value_name;
13034 const gchar *value_nick;
13035};
13036
13037
13038
13039GEnumValue* g_enum_get_value (GEnumClass *enum_class,
13040 gint value);
13041GEnumValue* g_enum_get_value_by_name (GEnumClass *enum_class,
13042 const gchar *name);
13043GEnumValue* g_enum_get_value_by_nick (GEnumClass *enum_class,
13044 const gchar *nick);
13045GFlagsValue* g_flags_get_first_value (GFlagsClass *flags_class,
13046 guint value);
13047GFlagsValue* g_flags_get_value_by_name (GFlagsClass *flags_class,
13048 const gchar *name);
13049GFlagsValue* g_flags_get_value_by_nick (GFlagsClass *flags_class,
13050 const gchar *nick);
13051void g_value_set_enum (GValue *value,
13052 gint v_enum);
13053gint g_value_get_enum (const GValue *value);
13054void g_value_set_flags (GValue *value,
13055 guint v_flags);
13056guint g_value_get_flags (const GValue *value);
13057
13058
13059
13060
13061
13062
13063
13064GType g_enum_register_static (const gchar *name,
13065 const GEnumValue *const_static_values);
13066GType g_flags_register_static (const gchar *name,
13067 const GFlagsValue *const_static_values);
13068
13069
13070
13071void g_enum_complete_type_info (GType g_enum_type,
13072 GTypeInfo *info,
13073 const GEnumValue *const_values);
13074void g_flags_complete_type_info (GType g_flags_type,
13075 GTypeInfo *info,
13076 const GFlagsValue *const_values);
13077
13078
13079# 27 "/usr/include/glib-2.0/glib-object.h" 2
13080# 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
13081# 26 "/usr/include/glib-2.0/gobject/gobject.h"
13082# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
13083# 27 "/usr/include/glib-2.0/gobject/gobject.h" 2
13084# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
13085# 28 "/usr/include/glib-2.0/gobject/gvalue.h"
13086# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
13087# 29 "/usr/include/glib-2.0/gobject/gvalue.h" 2
13088
13089
13090# 94 "/usr/include/glib-2.0/gobject/gvalue.h"
13091typedef void (*GValueTransform) (const GValue *src_value,
13092 GValue *dest_value);
13093# 108 "/usr/include/glib-2.0/gobject/gvalue.h"
13094struct _GValue
13095{
13096
13097 GType g_type;
13098
13099
13100 union {
13101 gint v_int;
13102 guint v_uint;
13103 glong v_long;
13104 gulong v_ulong;
13105 gint64 v_int64;
13106 guint64 v_uint64;
13107 gfloat v_float;
13108 gdouble v_double;
13109 gpointer v_pointer;
13110 } data[2];
13111};
13112
13113
13114
13115GValue* g_value_init (GValue *value,
13116 GType g_type);
13117void g_value_copy (const GValue *src_value,
13118 GValue *dest_value);
13119GValue* g_value_reset (GValue *value);
13120void g_value_unset (GValue *value);
13121void g_value_set_instance (GValue *value,
13122 gpointer instance);
13123
13124
13125
13126gboolean g_value_fits_pointer (const GValue *value);
13127gpointer g_value_peek_pointer (const GValue *value);
13128
13129
13130
13131gboolean g_value_type_compatible (GType src_type,
13132 GType dest_type);
13133gboolean g_value_type_transformable (GType src_type,
13134 GType dest_type);
13135gboolean g_value_transform (const GValue *src_value,
13136 GValue *dest_value);
13137void g_value_register_transform_func (GType src_type,
13138 GType dest_type,
13139 GValueTransform transform_func);
13140
13141
13142
13143
13144# 28 "/usr/include/glib-2.0/gobject/gobject.h" 2
13145# 1 "/usr/include/glib-2.0/gobject/gparam.h" 1
13146# 28 "/usr/include/glib-2.0/gobject/gparam.h"
13147# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
13148# 29 "/usr/include/glib-2.0/gobject/gparam.h" 2
13149
13150
13151# 139 "/usr/include/glib-2.0/gobject/gparam.h"
13152typedef enum
13153{
13154 G_PARAM_READABLE = 1 << 0,
13155 G_PARAM_WRITABLE = 1 << 1,
13156 G_PARAM_CONSTRUCT = 1 << 2,
13157 G_PARAM_CONSTRUCT_ONLY = 1 << 3,
13158 G_PARAM_LAX_VALIDATION = 1 << 4,
13159 G_PARAM_STATIC_NAME = 1 << 5,
13160
13161 G_PARAM_PRIVATE = G_PARAM_STATIC_NAME,
13162
13163 G_PARAM_STATIC_NICK = 1 << 6,
13164 G_PARAM_STATIC_BLURB = 1 << 7
13165} GParamFlags;
13166# 184 "/usr/include/glib-2.0/gobject/gparam.h"
13167typedef struct _GParamSpec GParamSpec;
13168typedef struct _GParamSpecClass GParamSpecClass;
13169typedef struct _GParameter GParameter;
13170typedef struct _GParamSpecPool GParamSpecPool;
13171# 199 "/usr/include/glib-2.0/gobject/gparam.h"
13172struct _GParamSpec
13173{
13174 GTypeInstance g_type_instance;
13175
13176 gchar *name;
13177 GParamFlags flags;
13178 GType value_type;
13179 GType owner_type;
13180
13181
13182 gchar *_nick;
13183 gchar *_blurb;
13184 GData *qdata;
13185 guint ref_count;
13186 guint param_id;
13187};
13188# 234 "/usr/include/glib-2.0/gobject/gparam.h"
13189struct _GParamSpecClass
13190{
13191 GTypeClass g_type_class;
13192
13193 GType value_type;
13194
13195 void (*finalize) (GParamSpec *pspec);
13196
13197
13198 void (*value_set_default) (GParamSpec *pspec,
13199 GValue *value);
13200 gboolean (*value_validate) (GParamSpec *pspec,
13201 GValue *value);
13202 gint (*values_cmp) (GParamSpec *pspec,
13203 const GValue *value1,
13204 const GValue *value2);
13205
13206 gpointer dummy[4];
13207};
13208# 261 "/usr/include/glib-2.0/gobject/gparam.h"
13209struct _GParameter
13210{
13211 const gchar *name;
13212 GValue value;
13213};
13214
13215
13216
13217GParamSpec* g_param_spec_ref (GParamSpec *pspec);
13218void g_param_spec_unref (GParamSpec *pspec);
13219void g_param_spec_sink (GParamSpec *pspec);
13220GParamSpec* g_param_spec_ref_sink (GParamSpec *pspec);
13221gpointer g_param_spec_get_qdata (GParamSpec *pspec,
13222 GQuark quark);
13223void g_param_spec_set_qdata (GParamSpec *pspec,
13224 GQuark quark,
13225 gpointer data);
13226void g_param_spec_set_qdata_full (GParamSpec *pspec,
13227 GQuark quark,
13228 gpointer data,
13229 GDestroyNotify destroy);
13230gpointer g_param_spec_steal_qdata (GParamSpec *pspec,
13231 GQuark quark);
13232GParamSpec* g_param_spec_get_redirect_target (GParamSpec *pspec);
13233
13234void g_param_value_set_default (GParamSpec *pspec,
13235 GValue *value);
13236gboolean g_param_value_defaults (GParamSpec *pspec,
13237 GValue *value);
13238gboolean g_param_value_validate (GParamSpec *pspec,
13239 GValue *value);
13240gboolean g_param_value_convert (GParamSpec *pspec,
13241 const GValue *src_value,
13242 GValue *dest_value,
13243 gboolean strict_validation);
13244gint g_param_values_cmp (GParamSpec *pspec,
13245 const GValue *value1,
13246 const GValue *value2);
13247const gchar* g_param_spec_get_name (GParamSpec *pspec);
13248const gchar* g_param_spec_get_nick (GParamSpec *pspec);
13249const gchar* g_param_spec_get_blurb (GParamSpec *pspec);
13250void g_value_set_param (GValue *value,
13251 GParamSpec *param);
13252GParamSpec* g_value_get_param (const GValue *value);
13253GParamSpec* g_value_dup_param (const GValue *value);
13254
13255
13256void g_value_take_param (GValue *value,
13257 GParamSpec *param);
13258
13259void g_value_set_param_take_ownership (GValue *value,
13260 GParamSpec *param);
13261
13262
13263
13264typedef struct _GParamSpecTypeInfo GParamSpecTypeInfo;
13265# 341 "/usr/include/glib-2.0/gobject/gparam.h"
13266struct _GParamSpecTypeInfo
13267{
13268
13269 guint16 instance_size;
13270 guint16 n_preallocs;
13271 void (*instance_init) (GParamSpec *pspec);
13272
13273
13274 GType value_type;
13275 void (*finalize) (GParamSpec *pspec);
13276 void (*value_set_default) (GParamSpec *pspec,
13277 GValue *value);
13278 gboolean (*value_validate) (GParamSpec *pspec,
13279 GValue *value);
13280 gint (*values_cmp) (GParamSpec *pspec,
13281 const GValue *value1,
13282 const GValue *value2);
13283};
13284GType g_param_type_register_static (const gchar *name,
13285 const GParamSpecTypeInfo *pspec_info);
13286
13287
13288GType _g_param_type_register_static_constant (const gchar *name,
13289 const GParamSpecTypeInfo *pspec_info,
13290 GType opt_type);
13291
13292
13293
13294gpointer g_param_spec_internal (GType param_type,
13295 const gchar *name,
13296 const gchar *nick,
13297 const gchar *blurb,
13298 GParamFlags flags);
13299GParamSpecPool* g_param_spec_pool_new (gboolean type_prefixing);
13300void g_param_spec_pool_insert (GParamSpecPool *pool,
13301 GParamSpec *pspec,
13302 GType owner_type);
13303void g_param_spec_pool_remove (GParamSpecPool *pool,
13304 GParamSpec *pspec);
13305GParamSpec* g_param_spec_pool_lookup (GParamSpecPool *pool,
13306 const gchar *param_name,
13307 GType owner_type,
13308 gboolean walk_ancestors);
13309GList* g_param_spec_pool_list_owned (GParamSpecPool *pool,
13310 GType owner_type);
13311GParamSpec** g_param_spec_pool_list (GParamSpecPool *pool,
13312 GType owner_type,
13313 guint *n_pspecs_p);
13314# 408 "/usr/include/glib-2.0/gobject/gparam.h"
13315
13316# 29 "/usr/include/glib-2.0/gobject/gobject.h" 2
13317# 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1
13318# 27 "/usr/include/glib-2.0/gobject/gclosure.h"
13319# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
13320# 28 "/usr/include/glib-2.0/gobject/gclosure.h" 2
13321
13322
13323# 76 "/usr/include/glib-2.0/gobject/gclosure.h"
13324typedef struct _GClosure GClosure;
13325typedef struct _GClosureNotifyData GClosureNotifyData;
13326# 88 "/usr/include/glib-2.0/gobject/gclosure.h"
13327typedef void (*GCallback) (void);
13328# 97 "/usr/include/glib-2.0/gobject/gclosure.h"
13329typedef void (*GClosureNotify) (gpointer data,
13330 GClosure *closure);
13331# 114 "/usr/include/glib-2.0/gobject/gclosure.h"
13332typedef void (*GClosureMarshal) (GClosure *closure,
13333 GValue *return_value,
13334 guint n_param_values,
13335 const GValue *param_values,
13336 gpointer invocation_hint,
13337 gpointer marshal_data);
13338
13339
13340
13341
13342
13343
13344
13345typedef struct _GCClosure GCClosure;
13346
13347
13348
13349struct _GClosureNotifyData
13350{
13351 gpointer data;
13352 GClosureNotify notify;
13353};
13354# 145 "/usr/include/glib-2.0/gobject/gclosure.h"
13355struct _GClosure
13356{
13357
13358 volatile guint ref_count : 15;
13359 volatile guint meta_marshal : 1;
13360 volatile guint n_guards : 1;
13361 volatile guint n_fnotifiers : 2;
13362 volatile guint n_inotifiers : 8;
13363 volatile guint in_inotify : 1;
13364 volatile guint floating : 1;
13365
13366 volatile guint derivative_flag : 1;
13367
13368 volatile guint in_marshal : 1;
13369 volatile guint is_invalid : 1;
13370
13371 void (*marshal) (GClosure *closure,
13372 GValue *return_value,
13373 guint n_param_values,
13374 const GValue *param_values,
13375 gpointer invocation_hint,
13376 gpointer marshal_data);
13377 gpointer data;
13378
13379 GClosureNotifyData *notifiers;
13380# 181 "/usr/include/glib-2.0/gobject/gclosure.h"
13381};
13382
13383
13384struct _GCClosure
13385{
13386 GClosure closure;
13387 gpointer callback;
13388};
13389
13390
13391
13392GClosure* g_cclosure_new (GCallback callback_func,
13393 gpointer user_data,
13394 GClosureNotify destroy_data);
13395GClosure* g_cclosure_new_swap (GCallback callback_func,
13396 gpointer user_data,
13397 GClosureNotify destroy_data);
13398GClosure* g_signal_type_cclosure_new (GType itype,
13399 guint struct_offset);
13400
13401
13402
13403GClosure* g_closure_ref (GClosure *closure);
13404void g_closure_sink (GClosure *closure);
13405void g_closure_unref (GClosure *closure);
13406
13407GClosure* g_closure_new_simple (guint sizeof_closure,
13408 gpointer data);
13409void g_closure_add_finalize_notifier (GClosure *closure,
13410 gpointer notify_data,
13411 GClosureNotify notify_func);
13412void g_closure_remove_finalize_notifier (GClosure *closure,
13413 gpointer notify_data,
13414 GClosureNotify notify_func);
13415void g_closure_add_invalidate_notifier (GClosure *closure,
13416 gpointer notify_data,
13417 GClosureNotify notify_func);
13418void g_closure_remove_invalidate_notifier (GClosure *closure,
13419 gpointer notify_data,
13420 GClosureNotify notify_func);
13421void g_closure_add_marshal_guards (GClosure *closure,
13422 gpointer pre_marshal_data,
13423 GClosureNotify pre_marshal_notify,
13424 gpointer post_marshal_data,
13425 GClosureNotify post_marshal_notify);
13426void g_closure_set_marshal (GClosure *closure,
13427 GClosureMarshal marshal);
13428void g_closure_set_meta_marshal (GClosure *closure,
13429 gpointer marshal_data,
13430 GClosureMarshal meta_marshal);
13431void g_closure_invalidate (GClosure *closure);
13432void g_closure_invoke (GClosure *closure,
13433 GValue *return_value,
13434 guint n_param_values,
13435 const GValue *param_values,
13436 gpointer invocation_hint);
13437# 249 "/usr/include/glib-2.0/gobject/gclosure.h"
13438
13439# 30 "/usr/include/glib-2.0/gobject/gobject.h" 2
13440# 1 "/usr/include/glib-2.0/gobject/gsignal.h" 1
13441# 26 "/usr/include/glib-2.0/gobject/gsignal.h"
13442# 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1
13443# 27 "/usr/include/glib-2.0/gobject/gsignal.h" 2
13444# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
13445# 28 "/usr/include/glib-2.0/gobject/gsignal.h" 2
13446# 1 "/usr/include/glib-2.0/gobject/gparam.h" 1
13447# 29 "/usr/include/glib-2.0/gobject/gsignal.h" 2
13448# 1 "/usr/include/glib-2.0/gobject/gmarshal.h" 1
13449
13450
13451
13452
13453
13454
13455extern void g_cclosure_marshal_VOID__VOID (GClosure *closure,
13456 GValue *return_value,
13457 guint n_param_values,
13458 const GValue *param_values,
13459 gpointer invocation_hint,
13460 gpointer marshal_data);
13461
13462
13463extern void g_cclosure_marshal_VOID__BOOLEAN (GClosure *closure,
13464 GValue *return_value,
13465 guint n_param_values,
13466 const GValue *param_values,
13467 gpointer invocation_hint,
13468 gpointer marshal_data);
13469
13470
13471extern void g_cclosure_marshal_VOID__CHAR (GClosure *closure,
13472 GValue *return_value,
13473 guint n_param_values,
13474 const GValue *param_values,
13475 gpointer invocation_hint,
13476 gpointer marshal_data);
13477
13478
13479extern void g_cclosure_marshal_VOID__UCHAR (GClosure *closure,
13480 GValue *return_value,
13481 guint n_param_values,
13482 const GValue *param_values,
13483 gpointer invocation_hint,
13484 gpointer marshal_data);
13485
13486
13487extern void g_cclosure_marshal_VOID__INT (GClosure *closure,
13488 GValue *return_value,
13489 guint n_param_values,
13490 const GValue *param_values,
13491 gpointer invocation_hint,
13492 gpointer marshal_data);
13493
13494
13495extern void g_cclosure_marshal_VOID__UINT (GClosure *closure,
13496 GValue *return_value,
13497 guint n_param_values,
13498 const GValue *param_values,
13499 gpointer invocation_hint,
13500 gpointer marshal_data);
13501
13502
13503extern void g_cclosure_marshal_VOID__LONG (GClosure *closure,
13504 GValue *return_value,
13505 guint n_param_values,
13506 const GValue *param_values,
13507 gpointer invocation_hint,
13508 gpointer marshal_data);
13509
13510
13511extern void g_cclosure_marshal_VOID__ULONG (GClosure *closure,
13512 GValue *return_value,
13513 guint n_param_values,
13514 const GValue *param_values,
13515 gpointer invocation_hint,
13516 gpointer marshal_data);
13517
13518
13519extern void g_cclosure_marshal_VOID__ENUM (GClosure *closure,
13520 GValue *return_value,
13521 guint n_param_values,
13522 const GValue *param_values,
13523 gpointer invocation_hint,
13524 gpointer marshal_data);
13525
13526
13527extern void g_cclosure_marshal_VOID__FLAGS (GClosure *closure,
13528 GValue *return_value,
13529 guint n_param_values,
13530 const GValue *param_values,
13531 gpointer invocation_hint,
13532 gpointer marshal_data);
13533
13534
13535extern void g_cclosure_marshal_VOID__FLOAT (GClosure *closure,
13536 GValue *return_value,
13537 guint n_param_values,
13538 const GValue *param_values,
13539 gpointer invocation_hint,
13540 gpointer marshal_data);
13541
13542
13543extern void g_cclosure_marshal_VOID__DOUBLE (GClosure *closure,
13544 GValue *return_value,
13545 guint n_param_values,
13546 const GValue *param_values,
13547 gpointer invocation_hint,
13548 gpointer marshal_data);
13549
13550
13551extern void g_cclosure_marshal_VOID__STRING (GClosure *closure,
13552 GValue *return_value,
13553 guint n_param_values,
13554 const GValue *param_values,
13555 gpointer invocation_hint,
13556 gpointer marshal_data);
13557
13558
13559extern void g_cclosure_marshal_VOID__PARAM (GClosure *closure,
13560 GValue *return_value,
13561 guint n_param_values,
13562 const GValue *param_values,
13563 gpointer invocation_hint,
13564 gpointer marshal_data);
13565
13566
13567extern void g_cclosure_marshal_VOID__BOXED (GClosure *closure,
13568 GValue *return_value,
13569 guint n_param_values,
13570 const GValue *param_values,
13571 gpointer invocation_hint,
13572 gpointer marshal_data);
13573
13574
13575extern void g_cclosure_marshal_VOID__POINTER (GClosure *closure,
13576 GValue *return_value,
13577 guint n_param_values,
13578 const GValue *param_values,
13579 gpointer invocation_hint,
13580 gpointer marshal_data);
13581
13582
13583extern void g_cclosure_marshal_VOID__OBJECT (GClosure *closure,
13584 GValue *return_value,
13585 guint n_param_values,
13586 const GValue *param_values,
13587 gpointer invocation_hint,
13588 gpointer marshal_data);
13589
13590
13591extern void g_cclosure_marshal_VOID__UINT_POINTER (GClosure *closure,
13592 GValue *return_value,
13593 guint n_param_values,
13594 const GValue *param_values,
13595 gpointer invocation_hint,
13596 gpointer marshal_data);
13597
13598
13599extern void g_cclosure_marshal_BOOLEAN__FLAGS (GClosure *closure,
13600 GValue *return_value,
13601 guint n_param_values,
13602 const GValue *param_values,
13603 gpointer invocation_hint,
13604 gpointer marshal_data);
13605
13606
13607
13608extern void g_cclosure_marshal_STRING__OBJECT_POINTER (GClosure *closure,
13609 GValue *return_value,
13610 guint n_param_values,
13611 const GValue *param_values,
13612 gpointer invocation_hint,
13613 gpointer marshal_data);
13614
13615
13616# 30 "/usr/include/glib-2.0/gobject/gsignal.h" 2
13617
13618
13619
13620
13621typedef struct _GSignalQuery GSignalQuery;
13622typedef struct _GSignalInvocationHint GSignalInvocationHint;
13623# 45 "/usr/include/glib-2.0/gobject/gsignal.h"
13624typedef GClosureMarshal GSignalCMarshaller;
13625# 64 "/usr/include/glib-2.0/gobject/gsignal.h"
13626typedef gboolean (*GSignalEmissionHook) (GSignalInvocationHint *ihint,
13627 guint n_param_values,
13628 const GValue *param_values,
13629 gpointer data);
13630# 87 "/usr/include/glib-2.0/gobject/gsignal.h"
13631typedef gboolean (*GSignalAccumulator) (GSignalInvocationHint *ihint,
13632 GValue *return_accu,
13633 const GValue *handler_return,
13634 gpointer data);
13635# 116 "/usr/include/glib-2.0/gobject/gsignal.h"
13636typedef enum
13637{
13638 G_SIGNAL_RUN_FIRST = 1 << 0,
13639 G_SIGNAL_RUN_LAST = 1 << 1,
13640 G_SIGNAL_RUN_CLEANUP = 1 << 2,
13641 G_SIGNAL_NO_RECURSE = 1 << 3,
13642 G_SIGNAL_DETAILED = 1 << 4,
13643 G_SIGNAL_ACTION = 1 << 5,
13644 G_SIGNAL_NO_HOOKS = 1 << 6
13645} GSignalFlags;
13646# 142 "/usr/include/glib-2.0/gobject/gsignal.h"
13647typedef enum
13648{
13649 G_CONNECT_AFTER = 1 << 0,
13650 G_CONNECT_SWAPPED = 1 << 1
13651} GConnectFlags;
13652# 160 "/usr/include/glib-2.0/gobject/gsignal.h"
13653typedef enum
13654{
13655 G_SIGNAL_MATCH_ID = 1 << 0,
13656 G_SIGNAL_MATCH_DETAIL = 1 << 1,
13657 G_SIGNAL_MATCH_CLOSURE = 1 << 2,
13658 G_SIGNAL_MATCH_FUNC = 1 << 3,
13659 G_SIGNAL_MATCH_DATA = 1 << 4,
13660 G_SIGNAL_MATCH_UNBLOCKED = 1 << 5
13661} GSignalMatchType;
13662# 211 "/usr/include/glib-2.0/gobject/gsignal.h"
13663struct _GSignalInvocationHint
13664{
13665 guint signal_id;
13666 GQuark detail;
13667 GSignalFlags run_type;
13668};
13669# 237 "/usr/include/glib-2.0/gobject/gsignal.h"
13670struct _GSignalQuery
13671{
13672 guint signal_id;
13673 const gchar *signal_name;
13674 GType itype;
13675 GSignalFlags signal_flags;
13676 GType return_type;
13677 guint n_params;
13678 const GType *param_types;
13679};
13680
13681
13682
13683guint g_signal_newv (const gchar *signal_name,
13684 GType itype,
13685 GSignalFlags signal_flags,
13686 GClosure *class_closure,
13687 GSignalAccumulator accumulator,
13688 gpointer accu_data,
13689 GSignalCMarshaller c_marshaller,
13690 GType return_type,
13691 guint n_params,
13692 GType *param_types);
13693guint g_signal_new_valist (const gchar *signal_name,
13694 GType itype,
13695 GSignalFlags signal_flags,
13696 GClosure *class_closure,
13697 GSignalAccumulator accumulator,
13698 gpointer accu_data,
13699 GSignalCMarshaller c_marshaller,
13700 GType return_type,
13701 guint n_params,
13702 va_list args);
13703guint g_signal_new (const gchar *signal_name,
13704 GType itype,
13705 GSignalFlags signal_flags,
13706 guint class_offset,
13707 GSignalAccumulator accumulator,
13708 gpointer accu_data,
13709 GSignalCMarshaller c_marshaller,
13710 GType return_type,
13711 guint n_params,
13712 ...);
13713guint g_signal_new_class_handler (const gchar *signal_name,
13714 GType itype,
13715 GSignalFlags signal_flags,
13716 GCallback class_handler,
13717 GSignalAccumulator accumulator,
13718 gpointer accu_data,
13719 GSignalCMarshaller c_marshaller,
13720 GType return_type,
13721 guint n_params,
13722 ...);
13723
13724void g_signal_emitv (const GValue *instance_and_params,
13725 guint signal_id,
13726 GQuark detail,
13727 GValue *return_value);
13728void g_signal_emit_valist (gpointer instance,
13729 guint signal_id,
13730 GQuark detail,
13731 va_list var_args);
13732void g_signal_emit (gpointer instance,
13733 guint signal_id,
13734 GQuark detail,
13735 ...);
13736void g_signal_emit_by_name (gpointer instance,
13737 const gchar *detailed_signal,
13738 ...);
13739guint g_signal_lookup (const gchar *name,
13740 GType itype);
13741const gchar* g_signal_name (guint signal_id);
13742void g_signal_query (guint signal_id,
13743 GSignalQuery *query);
13744guint* g_signal_list_ids (GType itype,
13745 guint *n_ids);
13746gboolean g_signal_parse_name (const gchar *detailed_signal,
13747 GType itype,
13748 guint *signal_id_p,
13749 GQuark *detail_p,
13750 gboolean force_detail_quark);
13751GSignalInvocationHint* g_signal_get_invocation_hint (gpointer instance);
13752
13753
13754
13755void g_signal_stop_emission (gpointer instance,
13756 guint signal_id,
13757 GQuark detail);
13758void g_signal_stop_emission_by_name (gpointer instance,
13759 const gchar *detailed_signal);
13760gulong g_signal_add_emission_hook (guint signal_id,
13761 GQuark detail,
13762 GSignalEmissionHook hook_func,
13763 gpointer hook_data,
13764 GDestroyNotify data_destroy);
13765void g_signal_remove_emission_hook (guint signal_id,
13766 gulong hook_id);
13767
13768
13769
13770gboolean g_signal_has_handler_pending (gpointer instance,
13771 guint signal_id,
13772 GQuark detail,
13773 gboolean may_be_blocked);
13774gulong g_signal_connect_closure_by_id (gpointer instance,
13775 guint signal_id,
13776 GQuark detail,
13777 GClosure *closure,
13778 gboolean after);
13779gulong g_signal_connect_closure (gpointer instance,
13780 const gchar *detailed_signal,
13781 GClosure *closure,
13782 gboolean after);
13783gulong g_signal_connect_data (gpointer instance,
13784 const gchar *detailed_signal,
13785 GCallback c_handler,
13786 gpointer data,
13787 GClosureNotify destroy_data,
13788 GConnectFlags connect_flags);
13789void g_signal_handler_block (gpointer instance,
13790 gulong handler_id);
13791void g_signal_handler_unblock (gpointer instance,
13792 gulong handler_id);
13793void g_signal_handler_disconnect (gpointer instance,
13794 gulong handler_id);
13795gboolean g_signal_handler_is_connected (gpointer instance,
13796 gulong handler_id);
13797gulong g_signal_handler_find (gpointer instance,
13798 GSignalMatchType mask,
13799 guint signal_id,
13800 GQuark detail,
13801 GClosure *closure,
13802 gpointer func,
13803 gpointer data);
13804guint g_signal_handlers_block_matched (gpointer instance,
13805 GSignalMatchType mask,
13806 guint signal_id,
13807 GQuark detail,
13808 GClosure *closure,
13809 gpointer func,
13810 gpointer data);
13811guint g_signal_handlers_unblock_matched (gpointer instance,
13812 GSignalMatchType mask,
13813 guint signal_id,
13814 GQuark detail,
13815 GClosure *closure,
13816 gpointer func,
13817 gpointer data);
13818guint g_signal_handlers_disconnect_matched (gpointer instance,
13819 GSignalMatchType mask,
13820 guint signal_id,
13821 GQuark detail,
13822 GClosure *closure,
13823 gpointer func,
13824 gpointer data);
13825
13826
13827
13828void g_signal_override_class_closure (guint signal_id,
13829 GType instance_type,
13830 GClosure *class_closure);
13831void g_signal_override_class_handler (const gchar *signal_name,
13832 GType instance_type,
13833 GCallback class_handler);
13834void g_signal_chain_from_overridden (const GValue *instance_and_params,
13835 GValue *return_value);
13836void g_signal_chain_from_overridden_handler (gpointer instance,
13837 ...);
13838# 498 "/usr/include/glib-2.0/gobject/gsignal.h"
13839gboolean g_signal_accumulator_true_handled (GSignalInvocationHint *ihint,
13840 GValue *return_accu,
13841 const GValue *handler_return,
13842 gpointer dummy);
13843
13844
13845void g_signal_handlers_destroy (gpointer instance);
13846void _g_signals_destroy (GType itype);
13847
13848
13849# 31 "/usr/include/glib-2.0/gobject/gobject.h" 2
13850
13851
13852# 184 "/usr/include/glib-2.0/gobject/gobject.h"
13853typedef struct _GObject GObject;
13854typedef struct _GObjectClass GObjectClass;
13855typedef struct _GObject GInitiallyUnowned;
13856typedef struct _GObjectClass GInitiallyUnownedClass;
13857typedef struct _GObjectConstructParam GObjectConstructParam;
13858# 199 "/usr/include/glib-2.0/gobject/gobject.h"
13859typedef void (*GObjectGetPropertyFunc) (GObject *object,
13860 guint property_id,
13861 GValue *value,
13862 GParamSpec *pspec);
13863# 213 "/usr/include/glib-2.0/gobject/gobject.h"
13864typedef void (*GObjectSetPropertyFunc) (GObject *object,
13865 guint property_id,
13866 const GValue *value,
13867 GParamSpec *pspec);
13868
13869
13870
13871
13872
13873
13874typedef void (*GObjectFinalizeFunc) (GObject *object);
13875# 234 "/usr/include/glib-2.0/gobject/gobject.h"
13876typedef void (*GWeakNotify) (gpointer data,
13877 GObject *where_the_object_was);
13878
13879
13880
13881
13882
13883
13884struct _GObject
13885{
13886 GTypeInstance g_type_instance;
13887
13888
13889 volatile guint ref_count;
13890 GData *qdata;
13891};
13892# 312 "/usr/include/glib-2.0/gobject/gobject.h"
13893struct _GObjectClass
13894{
13895 GTypeClass g_type_class;
13896
13897
13898 GSList *construct_properties;
13899
13900
13901
13902 GObject* (*constructor) (GType type,
13903 guint n_construct_properties,
13904 GObjectConstructParam *construct_properties);
13905
13906 void (*set_property) (GObject *object,
13907 guint property_id,
13908 const GValue *value,
13909 GParamSpec *pspec);
13910 void (*get_property) (GObject *object,
13911 guint property_id,
13912 GValue *value,
13913 GParamSpec *pspec);
13914 void (*dispose) (GObject *object);
13915 void (*finalize) (GObject *object);
13916
13917 void (*dispatch_properties_changed) (GObject *object,
13918 guint n_pspecs,
13919 GParamSpec **pspecs);
13920
13921 void (*notify) (GObject *object,
13922 GParamSpec *pspec);
13923
13924
13925 void (*constructed) (GObject *object);
13926
13927
13928
13929 gpointer pdummy[7];
13930};
13931# 359 "/usr/include/glib-2.0/gobject/gobject.h"
13932struct _GObjectConstructParam
13933{
13934 GParamSpec *pspec;
13935 GValue *value;
13936};
13937# 380 "/usr/include/glib-2.0/gobject/gobject.h"
13938GType g_initially_unowned_get_type (void);
13939void g_object_class_install_property (GObjectClass *oclass,
13940 guint property_id,
13941 GParamSpec *pspec);
13942GParamSpec* g_object_class_find_property (GObjectClass *oclass,
13943 const gchar *property_name);
13944GParamSpec**g_object_class_list_properties (GObjectClass *oclass,
13945 guint *n_properties);
13946void g_object_class_override_property (GObjectClass *oclass,
13947 guint property_id,
13948 const gchar *name);
13949
13950void g_object_interface_install_property (gpointer g_iface,
13951 GParamSpec *pspec);
13952GParamSpec* g_object_interface_find_property (gpointer g_iface,
13953 const gchar *property_name);
13954GParamSpec**g_object_interface_list_properties (gpointer g_iface,
13955 guint *n_properties_p);
13956
13957GType g_object_get_type (void) __attribute__((__const__));
13958gpointer g_object_new (GType object_type,
13959 const gchar *first_property_name,
13960 ...);
13961gpointer g_object_newv (GType object_type,
13962 guint n_parameters,
13963 GParameter *parameters);
13964GObject* g_object_new_valist (GType object_type,
13965 const gchar *first_property_name,
13966 va_list var_args);
13967void g_object_set (gpointer object,
13968 const gchar *first_property_name,
13969 ...) __attribute__((__sentinel__));
13970void g_object_get (gpointer object,
13971 const gchar *first_property_name,
13972 ...) __attribute__((__sentinel__));
13973gpointer g_object_connect (gpointer object,
13974 const gchar *signal_spec,
13975 ...) __attribute__((__sentinel__));
13976void g_object_disconnect (gpointer object,
13977 const gchar *signal_spec,
13978 ...) __attribute__((__sentinel__));
13979void g_object_set_valist (GObject *object,
13980 const gchar *first_property_name,
13981 va_list var_args);
13982void g_object_get_valist (GObject *object,
13983 const gchar *first_property_name,
13984 va_list var_args);
13985void g_object_set_property (GObject *object,
13986 const gchar *property_name,
13987 const GValue *value);
13988void g_object_get_property (GObject *object,
13989 const gchar *property_name,
13990 GValue *value);
13991void g_object_freeze_notify (GObject *object);
13992void g_object_notify (GObject *object,
13993 const gchar *property_name);
13994void g_object_thaw_notify (GObject *object);
13995gboolean g_object_is_floating (gpointer object);
13996gpointer g_object_ref_sink (gpointer object);
13997gpointer g_object_ref (gpointer object);
13998void g_object_unref (gpointer object);
13999void g_object_weak_ref (GObject *object,
14000 GWeakNotify notify,
14001 gpointer data);
14002void g_object_weak_unref (GObject *object,
14003 GWeakNotify notify,
14004 gpointer data);
14005void g_object_add_weak_pointer (GObject *object,
14006 gpointer *weak_pointer_location);
14007void g_object_remove_weak_pointer (GObject *object,
14008 gpointer *weak_pointer_location);
14009# 464 "/usr/include/glib-2.0/gobject/gobject.h"
14010typedef void (*GToggleNotify) (gpointer data,
14011 GObject *object,
14012 gboolean is_last_ref);
14013
14014void g_object_add_toggle_ref (GObject *object,
14015 GToggleNotify notify,
14016 gpointer data);
14017void g_object_remove_toggle_ref (GObject *object,
14018 GToggleNotify notify,
14019 gpointer data);
14020
14021gpointer g_object_get_qdata (GObject *object,
14022 GQuark quark);
14023void g_object_set_qdata (GObject *object,
14024 GQuark quark,
14025 gpointer data);
14026void g_object_set_qdata_full (GObject *object,
14027 GQuark quark,
14028 gpointer data,
14029 GDestroyNotify destroy);
14030gpointer g_object_steal_qdata (GObject *object,
14031 GQuark quark);
14032gpointer g_object_get_data (GObject *object,
14033 const gchar *key);
14034void g_object_set_data (GObject *object,
14035 const gchar *key,
14036 gpointer data);
14037void g_object_set_data_full (GObject *object,
14038 const gchar *key,
14039 gpointer data,
14040 GDestroyNotify destroy);
14041gpointer g_object_steal_data (GObject *object,
14042 const gchar *key);
14043void g_object_watch_closure (GObject *object,
14044 GClosure *closure);
14045GClosure* g_cclosure_new_object (GCallback callback_func,
14046 GObject *object);
14047GClosure* g_cclosure_new_object_swap (GCallback callback_func,
14048 GObject *object);
14049GClosure* g_closure_new_object (guint sizeof_closure,
14050 GObject *object);
14051void g_value_set_object (GValue *value,
14052 gpointer v_object);
14053gpointer g_value_get_object (const GValue *value);
14054gpointer g_value_dup_object (const GValue *value);
14055gulong g_signal_connect_object (gpointer instance,
14056 const gchar *detailed_signal,
14057 GCallback c_handler,
14058 gpointer gobject,
14059 GConnectFlags connect_flags);
14060
14061
14062void g_object_force_floating (GObject *object);
14063void g_object_run_dispose (GObject *object);
14064
14065
14066void g_value_take_object (GValue *value,
14067 gpointer v_object);
14068
14069void g_value_set_object_take_ownership (GValue *value,
14070 gpointer v_object);
14071
14072
14073
14074gsize g_object_compat_control (gsize what,
14075 gpointer data);
14076# 558 "/usr/include/glib-2.0/gobject/gobject.h"
14077
14078# 28 "/usr/include/glib-2.0/glib-object.h" 2
14079# 1 "/usr/include/glib-2.0/gobject/gparam.h" 1
14080# 29 "/usr/include/glib-2.0/glib-object.h" 2
14081# 1 "/usr/include/glib-2.0/gobject/gparamspecs.h" 1
14082# 28 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14083# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
14084# 29 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
14085# 1 "/usr/include/glib-2.0/gobject/genums.h" 1
14086# 30 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
14087# 1 "/usr/include/glib-2.0/gobject/gboxed.h" 1
14088# 31 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
14089# 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
14090# 32 "/usr/include/glib-2.0/gobject/gparamspecs.h" 2
14091
14092
14093# 554 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14094typedef struct _GParamSpecChar GParamSpecChar;
14095typedef struct _GParamSpecUChar GParamSpecUChar;
14096typedef struct _GParamSpecBoolean GParamSpecBoolean;
14097typedef struct _GParamSpecInt GParamSpecInt;
14098typedef struct _GParamSpecUInt GParamSpecUInt;
14099typedef struct _GParamSpecLong GParamSpecLong;
14100typedef struct _GParamSpecULong GParamSpecULong;
14101typedef struct _GParamSpecInt64 GParamSpecInt64;
14102typedef struct _GParamSpecUInt64 GParamSpecUInt64;
14103typedef struct _GParamSpecUnichar GParamSpecUnichar;
14104typedef struct _GParamSpecEnum GParamSpecEnum;
14105typedef struct _GParamSpecFlags GParamSpecFlags;
14106typedef struct _GParamSpecFloat GParamSpecFloat;
14107typedef struct _GParamSpecDouble GParamSpecDouble;
14108typedef struct _GParamSpecString GParamSpecString;
14109typedef struct _GParamSpecParam GParamSpecParam;
14110typedef struct _GParamSpecBoxed GParamSpecBoxed;
14111typedef struct _GParamSpecPointer GParamSpecPointer;
14112typedef struct _GParamSpecValueArray GParamSpecValueArray;
14113typedef struct _GParamSpecObject GParamSpecObject;
14114typedef struct _GParamSpecOverride GParamSpecOverride;
14115typedef struct _GParamSpecGType GParamSpecGType;
14116# 586 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14117struct _GParamSpecChar
14118{
14119 GParamSpec parent_instance;
14120
14121 gint8 minimum;
14122 gint8 maximum;
14123 gint8 default_value;
14124};
14125# 603 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14126struct _GParamSpecUChar
14127{
14128 GParamSpec parent_instance;
14129
14130 guint8 minimum;
14131 guint8 maximum;
14132 guint8 default_value;
14133};
14134
14135
14136
14137
14138
14139
14140
14141struct _GParamSpecBoolean
14142{
14143 GParamSpec parent_instance;
14144
14145 gboolean default_value;
14146};
14147# 633 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14148struct _GParamSpecInt
14149{
14150 GParamSpec parent_instance;
14151
14152 gint minimum;
14153 gint maximum;
14154 gint default_value;
14155};
14156# 650 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14157struct _GParamSpecUInt
14158{
14159 GParamSpec parent_instance;
14160
14161 guint minimum;
14162 guint maximum;
14163 guint default_value;
14164};
14165# 667 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14166struct _GParamSpecLong
14167{
14168 GParamSpec parent_instance;
14169
14170 glong minimum;
14171 glong maximum;
14172 glong default_value;
14173};
14174# 684 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14175struct _GParamSpecULong
14176{
14177 GParamSpec parent_instance;
14178
14179 gulong minimum;
14180 gulong maximum;
14181 gulong default_value;
14182};
14183# 701 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14184struct _GParamSpecInt64
14185{
14186 GParamSpec parent_instance;
14187
14188 gint64 minimum;
14189 gint64 maximum;
14190 gint64 default_value;
14191};
14192# 718 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14193struct _GParamSpecUInt64
14194{
14195 GParamSpec parent_instance;
14196
14197 guint64 minimum;
14198 guint64 maximum;
14199 guint64 default_value;
14200};
14201
14202
14203
14204
14205
14206
14207
14208struct _GParamSpecUnichar
14209{
14210 GParamSpec parent_instance;
14211
14212 gunichar default_value;
14213};
14214# 748 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14215struct _GParamSpecEnum
14216{
14217 GParamSpec parent_instance;
14218
14219 GEnumClass *enum_class;
14220 gint default_value;
14221};
14222# 764 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14223struct _GParamSpecFlags
14224{
14225 GParamSpec parent_instance;
14226
14227 GFlagsClass *flags_class;
14228 guint default_value;
14229};
14230# 782 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14231struct _GParamSpecFloat
14232{
14233 GParamSpec parent_instance;
14234
14235 gfloat minimum;
14236 gfloat maximum;
14237 gfloat default_value;
14238 gfloat epsilon;
14239};
14240# 802 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14241struct _GParamSpecDouble
14242{
14243 GParamSpec parent_instance;
14244
14245 gdouble minimum;
14246 gdouble maximum;
14247 gdouble default_value;
14248 gdouble epsilon;
14249};
14250# 824 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14251struct _GParamSpecString
14252{
14253 GParamSpec parent_instance;
14254
14255 gchar *default_value;
14256 gchar *cset_first;
14257 gchar *cset_nth;
14258 gchar substitutor;
14259 guint null_fold_if_empty : 1;
14260 guint ensure_non_null : 1;
14261};
14262
14263
14264
14265
14266
14267
14268
14269struct _GParamSpecParam
14270{
14271 GParamSpec parent_instance;
14272};
14273
14274
14275
14276
14277
14278
14279struct _GParamSpecBoxed
14280{
14281 GParamSpec parent_instance;
14282};
14283
14284
14285
14286
14287
14288
14289struct _GParamSpecPointer
14290{
14291 GParamSpec parent_instance;
14292};
14293# 874 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14294struct _GParamSpecValueArray
14295{
14296 GParamSpec parent_instance;
14297 GParamSpec *element_spec;
14298 guint fixed_n_elements;
14299};
14300
14301
14302
14303
14304
14305
14306struct _GParamSpecObject
14307{
14308 GParamSpec parent_instance;
14309};
14310# 904 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14311struct _GParamSpecOverride
14312{
14313
14314 GParamSpec parent_instance;
14315 GParamSpec *overridden;
14316};
14317# 919 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14318struct _GParamSpecGType
14319{
14320 GParamSpec parent_instance;
14321 GType is_a_type;
14322};
14323
14324
14325GParamSpec* g_param_spec_char (const gchar *name,
14326 const gchar *nick,
14327 const gchar *blurb,
14328 gint8 minimum,
14329 gint8 maximum,
14330 gint8 default_value,
14331 GParamFlags flags);
14332GParamSpec* g_param_spec_uchar (const gchar *name,
14333 const gchar *nick,
14334 const gchar *blurb,
14335 guint8 minimum,
14336 guint8 maximum,
14337 guint8 default_value,
14338 GParamFlags flags);
14339GParamSpec* g_param_spec_boolean (const gchar *name,
14340 const gchar *nick,
14341 const gchar *blurb,
14342 gboolean default_value,
14343 GParamFlags flags);
14344GParamSpec* g_param_spec_int (const gchar *name,
14345 const gchar *nick,
14346 const gchar *blurb,
14347 gint minimum,
14348 gint maximum,
14349 gint default_value,
14350 GParamFlags flags);
14351GParamSpec* g_param_spec_uint (const gchar *name,
14352 const gchar *nick,
14353 const gchar *blurb,
14354 guint minimum,
14355 guint maximum,
14356 guint default_value,
14357 GParamFlags flags);
14358GParamSpec* g_param_spec_long (const gchar *name,
14359 const gchar *nick,
14360 const gchar *blurb,
14361 glong minimum,
14362 glong maximum,
14363 glong default_value,
14364 GParamFlags flags);
14365GParamSpec* g_param_spec_ulong (const gchar *name,
14366 const gchar *nick,
14367 const gchar *blurb,
14368 gulong minimum,
14369 gulong maximum,
14370 gulong default_value,
14371 GParamFlags flags);
14372GParamSpec* g_param_spec_int64 (const gchar *name,
14373 const gchar *nick,
14374 const gchar *blurb,
14375 gint64 minimum,
14376 gint64 maximum,
14377 gint64 default_value,
14378 GParamFlags flags);
14379GParamSpec* g_param_spec_uint64 (const gchar *name,
14380 const gchar *nick,
14381 const gchar *blurb,
14382 guint64 minimum,
14383 guint64 maximum,
14384 guint64 default_value,
14385 GParamFlags flags);
14386GParamSpec* g_param_spec_unichar (const gchar *name,
14387 const gchar *nick,
14388 const gchar *blurb,
14389 gunichar default_value,
14390 GParamFlags flags);
14391GParamSpec* g_param_spec_enum (const gchar *name,
14392 const gchar *nick,
14393 const gchar *blurb,
14394 GType enum_type,
14395 gint default_value,
14396 GParamFlags flags);
14397GParamSpec* g_param_spec_flags (const gchar *name,
14398 const gchar *nick,
14399 const gchar *blurb,
14400 GType flags_type,
14401 guint default_value,
14402 GParamFlags flags);
14403GParamSpec* g_param_spec_float (const gchar *name,
14404 const gchar *nick,
14405 const gchar *blurb,
14406 gfloat minimum,
14407 gfloat maximum,
14408 gfloat default_value,
14409 GParamFlags flags);
14410GParamSpec* g_param_spec_double (const gchar *name,
14411 const gchar *nick,
14412 const gchar *blurb,
14413 gdouble minimum,
14414 gdouble maximum,
14415 gdouble default_value,
14416 GParamFlags flags);
14417GParamSpec* g_param_spec_string (const gchar *name,
14418 const gchar *nick,
14419 const gchar *blurb,
14420 const gchar *default_value,
14421 GParamFlags flags);
14422GParamSpec* g_param_spec_param (const gchar *name,
14423 const gchar *nick,
14424 const gchar *blurb,
14425 GType param_type,
14426 GParamFlags flags);
14427GParamSpec* g_param_spec_boxed (const gchar *name,
14428 const gchar *nick,
14429 const gchar *blurb,
14430 GType boxed_type,
14431 GParamFlags flags);
14432GParamSpec* g_param_spec_pointer (const gchar *name,
14433 const gchar *nick,
14434 const gchar *blurb,
14435 GParamFlags flags);
14436GParamSpec* g_param_spec_value_array (const gchar *name,
14437 const gchar *nick,
14438 const gchar *blurb,
14439 GParamSpec *element_spec,
14440 GParamFlags flags);
14441GParamSpec* g_param_spec_object (const gchar *name,
14442 const gchar *nick,
14443 const gchar *blurb,
14444 GType object_type,
14445 GParamFlags flags);
14446GParamSpec* g_param_spec_override (const gchar *name,
14447 GParamSpec *overridden);
14448GParamSpec* g_param_spec_gtype (const gchar *name,
14449 const gchar *nick,
14450 const gchar *blurb,
14451 GType is_a_type,
14452 GParamFlags flags);
14453# 1079 "/usr/include/glib-2.0/gobject/gparamspecs.h"
14454extern GType *g_param_spec_types;
14455
14456
14457# 30 "/usr/include/glib-2.0/glib-object.h" 2
14458# 1 "/usr/include/glib-2.0/gobject/gsignal.h" 1
14459# 31 "/usr/include/glib-2.0/glib-object.h" 2
14460# 1 "/usr/include/glib-2.0/gobject/gsourceclosure.h" 1
14461# 26 "/usr/include/glib-2.0/gobject/gsourceclosure.h"
14462# 1 "/usr/include/glib-2.0/gobject/gclosure.h" 1
14463# 27 "/usr/include/glib-2.0/gobject/gsourceclosure.h" 2
14464
14465
14466
14467void g_source_set_closure (GSource *source,
14468 GClosure *closure);
14469
14470GType g_io_channel_get_type (void);
14471GType g_io_condition_get_type (void);
14472# 49 "/usr/include/glib-2.0/gobject/gsourceclosure.h"
14473
14474# 32 "/usr/include/glib-2.0/glib-object.h" 2
14475# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
14476# 33 "/usr/include/glib-2.0/glib-object.h" 2
14477# 1 "/usr/include/glib-2.0/gobject/gtypemodule.h" 1
14478# 26 "/usr/include/glib-2.0/gobject/gtypemodule.h"
14479# 1 "/usr/include/glib-2.0/gobject/gobject.h" 1
14480# 27 "/usr/include/glib-2.0/gobject/gtypemodule.h" 2
14481# 1 "/usr/include/glib-2.0/gobject/genums.h" 1
14482# 28 "/usr/include/glib-2.0/gobject/gtypemodule.h" 2
14483
14484
14485
14486typedef struct _GTypeModule GTypeModule;
14487typedef struct _GTypeModuleClass GTypeModuleClass;
14488# 48 "/usr/include/glib-2.0/gobject/gtypemodule.h"
14489struct _GTypeModule
14490{
14491 GObject parent_instance;
14492
14493 guint use_count;
14494 GSList *type_infos;
14495 GSList *interface_infos;
14496
14497
14498 gchar *name;
14499};
14500# 70 "/usr/include/glib-2.0/gobject/gtypemodule.h"
14501struct _GTypeModuleClass
14502{
14503 GObjectClass parent_class;
14504
14505
14506 gboolean (* load) (GTypeModule *module);
14507 void (* unload) (GTypeModule *module);
14508
14509
14510
14511 void (*reserved1) (void);
14512 void (*reserved2) (void);
14513 void (*reserved3) (void);
14514 void (*reserved4) (void);
14515};
14516# 219 "/usr/include/glib-2.0/gobject/gtypemodule.h"
14517GType g_type_module_get_type (void) __attribute__((__const__));
14518gboolean g_type_module_use (GTypeModule *module);
14519void g_type_module_unuse (GTypeModule *module);
14520void g_type_module_set_name (GTypeModule *module,
14521 const gchar *name);
14522GType g_type_module_register_type (GTypeModule *module,
14523 GType parent_type,
14524 const gchar *type_name,
14525 const GTypeInfo *type_info,
14526 GTypeFlags flags);
14527void g_type_module_add_interface (GTypeModule *module,
14528 GType instance_type,
14529 GType interface_type,
14530 const GInterfaceInfo *interface_info);
14531GType g_type_module_register_enum (GTypeModule *module,
14532 const gchar *name,
14533 const GEnumValue *const_static_values);
14534GType g_type_module_register_flags (GTypeModule *module,
14535 const gchar *name,
14536 const GFlagsValue *const_static_values);
14537
14538
14539# 34 "/usr/include/glib-2.0/glib-object.h" 2
14540# 1 "/usr/include/glib-2.0/gobject/gtypeplugin.h" 1
14541# 26 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
14542# 1 "/usr/include/glib-2.0/gobject/gtype.h" 1
14543# 27 "/usr/include/glib-2.0/gobject/gtypeplugin.h" 2
14544
14545
14546# 40 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
14547typedef struct _GTypePluginClass GTypePluginClass;
14548
14549
14550
14551
14552
14553
14554
14555typedef void (*GTypePluginUse) (GTypePlugin *plugin);
14556
14557
14558
14559
14560
14561
14562typedef void (*GTypePluginUnuse) (GTypePlugin *plugin);
14563# 65 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
14564typedef void (*GTypePluginCompleteTypeInfo) (GTypePlugin *plugin,
14565 GType g_type,
14566 GTypeInfo *info,
14567 GTypeValueTable *value_table);
14568# 79 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
14569typedef void (*GTypePluginCompleteInterfaceInfo) (GTypePlugin *plugin,
14570 GType instance_type,
14571 GType interface_type,
14572 GInterfaceInfo *info);
14573# 106 "/usr/include/glib-2.0/gobject/gtypeplugin.h"
14574struct _GTypePluginClass
14575{
14576
14577 GTypeInterface base_iface;
14578
14579
14580 GTypePluginUse use_plugin;
14581 GTypePluginUnuse unuse_plugin;
14582 GTypePluginCompleteTypeInfo complete_type_info;
14583 GTypePluginCompleteInterfaceInfo complete_interface_info;
14584};
14585
14586
14587
14588GType g_type_plugin_get_type (void) __attribute__((__const__));
14589void g_type_plugin_use (GTypePlugin *plugin);
14590void g_type_plugin_unuse (GTypePlugin *plugin);
14591void g_type_plugin_complete_type_info (GTypePlugin *plugin,
14592 GType g_type,
14593 GTypeInfo *info,
14594 GTypeValueTable *value_table);
14595void g_type_plugin_complete_interface_info (GTypePlugin *plugin,
14596 GType instance_type,
14597 GType interface_type,
14598 GInterfaceInfo *info);
14599
14600
14601# 35 "/usr/include/glib-2.0/glib-object.h" 2
14602# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
14603# 36 "/usr/include/glib-2.0/glib-object.h" 2
14604# 1 "/usr/include/glib-2.0/gobject/gvaluearray.h" 1
14605# 28 "/usr/include/glib-2.0/gobject/gvaluearray.h"
14606# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
14607# 29 "/usr/include/glib-2.0/gobject/gvaluearray.h" 2
14608
14609
14610
14611
14612
14613
14614typedef struct _GValueArray GValueArray;
14615
14616
14617
14618
14619
14620
14621
14622struct _GValueArray
14623{
14624 guint n_values;
14625 GValue *values;
14626
14627
14628 guint n_prealloced;
14629};
14630
14631
14632
14633GValue* g_value_array_get_nth (GValueArray *value_array,
14634 guint index_);
14635GValueArray* g_value_array_new (guint n_prealloced);
14636void g_value_array_free (GValueArray *value_array);
14637GValueArray* g_value_array_copy (const GValueArray *value_array);
14638GValueArray* g_value_array_prepend (GValueArray *value_array,
14639 const GValue *value);
14640GValueArray* g_value_array_append (GValueArray *value_array,
14641 const GValue *value);
14642GValueArray* g_value_array_insert (GValueArray *value_array,
14643 guint index_,
14644 const GValue *value);
14645GValueArray* g_value_array_remove (GValueArray *value_array,
14646 guint index_);
14647GValueArray* g_value_array_sort (GValueArray *value_array,
14648 GCompareFunc compare_func);
14649GValueArray* g_value_array_sort_with_data (GValueArray *value_array,
14650 GCompareDataFunc compare_func,
14651 gpointer user_data);
14652
14653
14654
14655# 37 "/usr/include/glib-2.0/glib-object.h" 2
14656# 1 "/usr/include/glib-2.0/gobject/gvaluetypes.h" 1
14657# 28 "/usr/include/glib-2.0/gobject/gvaluetypes.h"
14658# 1 "/usr/include/glib-2.0/gobject/gvalue.h" 1
14659# 29 "/usr/include/glib-2.0/gobject/gvaluetypes.h" 2
14660
14661
14662# 169 "/usr/include/glib-2.0/gobject/gvaluetypes.h"
14663void g_value_set_char (GValue *value,
14664 gchar v_char);
14665gchar g_value_get_char (const GValue *value);
14666void g_value_set_uchar (GValue *value,
14667 guchar v_uchar);
14668guchar g_value_get_uchar (const GValue *value);
14669void g_value_set_boolean (GValue *value,
14670 gboolean v_boolean);
14671gboolean g_value_get_boolean (const GValue *value);
14672void g_value_set_int (GValue *value,
14673 gint v_int);
14674gint g_value_get_int (const GValue *value);
14675void g_value_set_uint (GValue *value,
14676 guint v_uint);
14677guint g_value_get_uint (const GValue *value);
14678void g_value_set_long (GValue *value,
14679 glong v_long);
14680glong g_value_get_long (const GValue *value);
14681void g_value_set_ulong (GValue *value,
14682 gulong v_ulong);
14683gulong g_value_get_ulong (const GValue *value);
14684void g_value_set_int64 (GValue *value,
14685 gint64 v_int64);
14686gint64 g_value_get_int64 (const GValue *value);
14687void g_value_set_uint64 (GValue *value,
14688 guint64 v_uint64);
14689guint64 g_value_get_uint64 (const GValue *value);
14690void g_value_set_float (GValue *value,
14691 gfloat v_float);
14692gfloat g_value_get_float (const GValue *value);
14693void g_value_set_double (GValue *value,
14694 gdouble v_double);
14695gdouble g_value_get_double (const GValue *value);
14696void g_value_set_string (GValue *value,
14697 const gchar *v_string);
14698void g_value_set_static_string (GValue *value,
14699 const gchar *v_string);
14700const gchar* g_value_get_string (const GValue *value);
14701gchar* g_value_dup_string (const GValue *value);
14702void g_value_set_pointer (GValue *value,
14703 gpointer v_pointer);
14704gpointer g_value_get_pointer (const GValue *value);
14705GType g_gtype_get_type (void);
14706void g_value_set_gtype (GValue *value,
14707 GType v_gtype);
14708GType g_value_get_gtype (const GValue *value);
14709
14710
14711
14712GType g_pointer_type_register_static (const gchar *name);
14713
14714
14715gchar* g_strdup_value_contents (const GValue *value);
14716
14717
14718void g_value_take_string (GValue *value,
14719 gchar *v_string);
14720
14721void g_value_set_string_take_ownership (GValue *value,
14722 gchar *v_string);
14723# 238 "/usr/include/glib-2.0/gobject/gvaluetypes.h"
14724typedef gchar* gchararray;
14725
14726
14727
14728# 38 "/usr/include/glib-2.0/glib-object.h" 2
14729# 8 "/usr/include/gstreamer-0.10/gst/gstenumtypes.h" 2
14730
14731
14732
14733
14734GType gst_object_flags_get_type (void);
14735
14736
14737
14738GType gst_bin_flags_get_type (void);
14739
14740
14741
14742GType gst_buffer_flag_get_type (void);
14743
14744GType gst_buffer_copy_flags_get_type (void);
14745
14746
14747
14748GType gst_buffer_list_item_get_type (void);
14749
14750
14751
14752GType gst_bus_flags_get_type (void);
14753
14754GType gst_bus_sync_reply_get_type (void);
14755
14756
14757
14758GType gst_caps_flags_get_type (void);
14759
14760
14761
14762GType gst_clock_return_get_type (void);
14763
14764GType gst_clock_entry_type_get_type (void);
14765
14766GType gst_clock_flags_get_type (void);
14767
14768
14769
14770GType gst_debug_graph_details_get_type (void);
14771
14772
14773
14774GType gst_state_get_type (void);
14775
14776GType gst_state_change_return_get_type (void);
14777
14778GType gst_state_change_get_type (void);
14779
14780GType gst_element_flags_get_type (void);
14781
14782
14783
14784GType gst_core_error_get_type (void);
14785
14786GType gst_library_error_get_type (void);
14787
14788GType gst_resource_error_get_type (void);
14789
14790GType gst_stream_error_get_type (void);
14791
14792
14793
14794GType gst_event_type_flags_get_type (void);
14795
14796GType gst_event_type_get_type (void);
14797
14798GType gst_seek_type_get_type (void);
14799
14800GType gst_seek_flags_get_type (void);
14801
14802
14803
14804GType gst_format_get_type (void);
14805
14806
14807
14808GType gst_index_certainty_get_type (void);
14809
14810GType gst_index_entry_type_get_type (void);
14811
14812GType gst_index_lookup_method_get_type (void);
14813
14814GType gst_assoc_flags_get_type (void);
14815
14816GType gst_index_resolver_method_get_type (void);
14817
14818GType gst_index_flags_get_type (void);
14819
14820
14821
14822GType gst_debug_level_get_type (void);
14823
14824GType gst_debug_color_flags_get_type (void);
14825
14826
14827
14828GType gst_iterator_result_get_type (void);
14829
14830GType gst_iterator_item_get_type (void);
14831
14832
14833
14834GType gst_message_type_get_type (void);
14835
14836GType gst_structure_change_type_get_type (void);
14837
14838GType gst_stream_status_type_get_type (void);
14839
14840
14841
14842GType gst_mini_object_flags_get_type (void);
14843
14844
14845
14846GType gst_pad_link_return_get_type (void);
14847
14848GType gst_flow_return_get_type (void);
14849
14850GType gst_activate_mode_get_type (void);
14851
14852GType gst_pad_direction_get_type (void);
14853
14854GType gst_pad_flags_get_type (void);
14855
14856
14857
14858GType gst_pad_presence_get_type (void);
14859
14860GType gst_pad_template_flags_get_type (void);
14861
14862
14863
14864GType gst_pipeline_flags_get_type (void);
14865
14866
14867
14868GType gst_plugin_error_get_type (void);
14869
14870GType gst_plugin_flags_get_type (void);
14871
14872GType gst_plugin_dependency_flags_get_type (void);
14873
14874
14875
14876GType gst_rank_get_type (void);
14877
14878
14879
14880GType gst_query_type_get_type (void);
14881
14882GType gst_buffering_mode_get_type (void);
14883
14884
14885
14886GType gst_clock_type_get_type (void);
14887
14888
14889
14890GType gst_tag_merge_mode_get_type (void);
14891
14892GType gst_tag_flag_get_type (void);
14893
14894
14895
14896GType gst_task_state_get_type (void);
14897
14898
14899
14900GType gst_alloc_trace_flags_get_type (void);
14901
14902
14903
14904GType gst_type_find_probability_get_type (void);
14905
14906
14907
14908GType gst_uri_type_get_type (void);
14909
14910
14911
14912GType gst_search_mode_get_type (void);
14913
14914
14915
14916GType gst_parse_error_get_type (void);
14917
14918GType gst_parse_flags_get_type (void);
14919
14920
14921# 32 "/usr/include/gstreamer-0.10/gst/gst.h" 2
14922# 1 "/usr/include/gstreamer-0.10/gst/gstversion.h" 1
14923# 41 "/usr/include/gstreamer-0.10/gst/gstversion.h"
14924
14925# 86 "/usr/include/gstreamer-0.10/gst/gstversion.h"
14926
14927# 33 "/usr/include/gstreamer-0.10/gst/gst.h" 2
14928
14929# 1 "/usr/include/gstreamer-0.10/gst/gstbin.h" 1
14930# 27 "/usr/include/gstreamer-0.10/gst/gstbin.h"
14931# 1 "/usr/include/gstreamer-0.10/gst/gstelement.h" 1
14932# 28 "/usr/include/gstreamer-0.10/gst/gstelement.h"
14933typedef struct _GstElement GstElement;
14934typedef struct _GstElementClass GstElementClass;
14935# 42 "/usr/include/gstreamer-0.10/gst/gstelement.h"
14936typedef enum {
14937 GST_STATE_VOID_PENDING = 0,
14938 GST_STATE_NULL = 1,
14939 GST_STATE_READY = 2,
14940 GST_STATE_PAUSED = 3,
14941 GST_STATE_PLAYING = 4
14942} GstState;
14943
14944
14945# 1 "/usr/include/gstreamer-0.10/gst/gstconfig.h" 1
14946# 171 "/usr/include/gstreamer-0.10/gst/gstconfig.h"
14947# 1 "/usr/include/libxml2/libxml/parser.h" 1
14948# 15 "/usr/include/libxml2/libxml/parser.h"
14949# 1 "/usr/include/libxml2/libxml/xmlversion.h" 1
14950# 13 "/usr/include/libxml2/libxml/xmlversion.h"
14951# 1 "/usr/include/libxml2/libxml/xmlexports.h" 1
14952# 14 "/usr/include/libxml2/libxml/xmlversion.h" 2
14953# 24 "/usr/include/libxml2/libxml/xmlversion.h"
14954 void xmlCheckVersion(int version);
14955# 16 "/usr/include/libxml2/libxml/parser.h" 2
14956# 1 "/usr/include/libxml2/libxml/tree.h" 1
14957# 17 "/usr/include/libxml2/libxml/tree.h"
14958# 1 "/usr/include/libxml2/libxml/xmlstring.h" 1
14959# 28 "/usr/include/libxml2/libxml/xmlstring.h"
14960typedef unsigned char xmlChar;
14961# 40 "/usr/include/libxml2/libxml/xmlstring.h"
14962 xmlChar *
14963 xmlStrdup (const xmlChar *cur);
14964 xmlChar *
14965 xmlStrndup (const xmlChar *cur,
14966 int len);
14967 xmlChar *
14968 xmlCharStrndup (const char *cur,
14969 int len);
14970 xmlChar *
14971 xmlCharStrdup (const char *cur);
14972 xmlChar *
14973 xmlStrsub (const xmlChar *str,
14974 int start,
14975 int len);
14976 const xmlChar *
14977 xmlStrchr (const xmlChar *str,
14978 xmlChar val);
14979 const xmlChar *
14980 xmlStrstr (const xmlChar *str,
14981 const xmlChar *val);
14982 const xmlChar *
14983 xmlStrcasestr (const xmlChar *str,
14984 const xmlChar *val);
14985 int
14986 xmlStrcmp (const xmlChar *str1,
14987 const xmlChar *str2);
14988 int
14989 xmlStrncmp (const xmlChar *str1,
14990 const xmlChar *str2,
14991 int len);
14992 int
14993 xmlStrcasecmp (const xmlChar *str1,
14994 const xmlChar *str2);
14995 int
14996 xmlStrncasecmp (const xmlChar *str1,
14997 const xmlChar *str2,
14998 int len);
14999 int
15000 xmlStrEqual (const xmlChar *str1,
15001 const xmlChar *str2);
15002 int
15003 xmlStrQEqual (const xmlChar *pref,
15004 const xmlChar *name,
15005 const xmlChar *str);
15006 int
15007 xmlStrlen (const xmlChar *str);
15008 xmlChar *
15009 xmlStrcat (xmlChar *cur,
15010 const xmlChar *add);
15011 xmlChar *
15012 xmlStrncat (xmlChar *cur,
15013 const xmlChar *add,
15014 int len);
15015 xmlChar *
15016 xmlStrncatNew (const xmlChar *str1,
15017 const xmlChar *str2,
15018 int len);
15019 int
15020 xmlStrPrintf (xmlChar *buf,
15021 int len,
15022 const xmlChar *msg,
15023 ...);
15024 int
15025 xmlStrVPrintf (xmlChar *buf,
15026 int len,
15027 const xmlChar *msg,
15028 va_list ap);
15029
15030 int
15031 xmlGetUTF8Char (const unsigned char *utf,
15032 int *len);
15033 int
15034 xmlCheckUTF8 (const unsigned char *utf);
15035 int
15036 xmlUTF8Strsize (const xmlChar *utf,
15037 int len);
15038 xmlChar *
15039 xmlUTF8Strndup (const xmlChar *utf,
15040 int len);
15041 const xmlChar *
15042 xmlUTF8Strpos (const xmlChar *utf,
15043 int pos);
15044 int
15045 xmlUTF8Strloc (const xmlChar *utf,
15046 const xmlChar *utfchar);
15047 xmlChar *
15048 xmlUTF8Strsub (const xmlChar *utf,
15049 int start,
15050 int len);
15051 int
15052 xmlUTF8Strlen (const xmlChar *utf);
15053 int
15054 xmlUTF8Size (const xmlChar *utf);
15055 int
15056 xmlUTF8Charcmp (const xmlChar *utf1,
15057 const xmlChar *utf2);
15058# 18 "/usr/include/libxml2/libxml/tree.h" 2
15059# 27 "/usr/include/libxml2/libxml/tree.h"
15060typedef struct _xmlParserInputBuffer xmlParserInputBuffer;
15061typedef xmlParserInputBuffer *xmlParserInputBufferPtr;
15062
15063typedef struct _xmlOutputBuffer xmlOutputBuffer;
15064typedef xmlOutputBuffer *xmlOutputBufferPtr;
15065
15066
15067typedef struct _xmlParserInput xmlParserInput;
15068typedef xmlParserInput *xmlParserInputPtr;
15069
15070typedef struct _xmlParserCtxt xmlParserCtxt;
15071typedef xmlParserCtxt *xmlParserCtxtPtr;
15072
15073typedef struct _xmlSAXLocator xmlSAXLocator;
15074typedef xmlSAXLocator *xmlSAXLocatorPtr;
15075
15076typedef struct _xmlSAXHandler xmlSAXHandler;
15077typedef xmlSAXHandler *xmlSAXHandlerPtr;
15078
15079
15080typedef struct _xmlEntity xmlEntity;
15081typedef xmlEntity *xmlEntityPtr;
15082# 73 "/usr/include/libxml2/libxml/tree.h"
15083typedef enum {
15084 XML_BUFFER_ALLOC_DOUBLEIT,
15085 XML_BUFFER_ALLOC_EXACT,
15086 XML_BUFFER_ALLOC_IMMUTABLE,
15087 XML_BUFFER_ALLOC_IO
15088} xmlBufferAllocationScheme;
15089
15090
15091
15092
15093
15094
15095typedef struct _xmlBuffer xmlBuffer;
15096typedef xmlBuffer *xmlBufferPtr;
15097struct _xmlBuffer {
15098 xmlChar *content;
15099 unsigned int use;
15100 unsigned int size;
15101 xmlBufferAllocationScheme alloc;
15102 xmlChar *contentIO;
15103};
15104# 120 "/usr/include/libxml2/libxml/tree.h"
15105typedef enum {
15106 XML_ELEMENT_NODE= 1,
15107 XML_ATTRIBUTE_NODE= 2,
15108 XML_TEXT_NODE= 3,
15109 XML_CDATA_SECTION_NODE= 4,
15110 XML_ENTITY_REF_NODE= 5,
15111 XML_ENTITY_NODE= 6,
15112 XML_PI_NODE= 7,
15113 XML_COMMENT_NODE= 8,
15114 XML_DOCUMENT_NODE= 9,
15115 XML_DOCUMENT_TYPE_NODE= 10,
15116 XML_DOCUMENT_FRAG_NODE= 11,
15117 XML_NOTATION_NODE= 12,
15118 XML_HTML_DOCUMENT_NODE= 13,
15119 XML_DTD_NODE= 14,
15120 XML_ELEMENT_DECL= 15,
15121 XML_ATTRIBUTE_DECL= 16,
15122 XML_ENTITY_DECL= 17,
15123 XML_NAMESPACE_DECL= 18,
15124 XML_XINCLUDE_START= 19,
15125 XML_XINCLUDE_END= 20
15126
15127 ,XML_DOCB_DOCUMENT_NODE= 21
15128
15129} xmlElementType;
15130# 153 "/usr/include/libxml2/libxml/tree.h"
15131typedef struct _xmlNotation xmlNotation;
15132typedef xmlNotation *xmlNotationPtr;
15133struct _xmlNotation {
15134 const xmlChar *name;
15135 const xmlChar *PublicID;
15136 const xmlChar *SystemID;
15137};
15138
15139
15140
15141
15142
15143
15144
15145typedef enum {
15146 XML_ATTRIBUTE_CDATA = 1,
15147 XML_ATTRIBUTE_ID,
15148 XML_ATTRIBUTE_IDREF ,
15149 XML_ATTRIBUTE_IDREFS,
15150 XML_ATTRIBUTE_ENTITY,
15151 XML_ATTRIBUTE_ENTITIES,
15152 XML_ATTRIBUTE_NMTOKEN,
15153 XML_ATTRIBUTE_NMTOKENS,
15154 XML_ATTRIBUTE_ENUMERATION,
15155 XML_ATTRIBUTE_NOTATION
15156} xmlAttributeType;
15157
15158
15159
15160
15161
15162
15163
15164typedef enum {
15165 XML_ATTRIBUTE_NONE = 1,
15166 XML_ATTRIBUTE_REQUIRED,
15167 XML_ATTRIBUTE_IMPLIED,
15168 XML_ATTRIBUTE_FIXED
15169} xmlAttributeDefault;
15170
15171
15172
15173
15174
15175
15176
15177typedef struct _xmlEnumeration xmlEnumeration;
15178typedef xmlEnumeration *xmlEnumerationPtr;
15179struct _xmlEnumeration {
15180 struct _xmlEnumeration *next;
15181 const xmlChar *name;
15182};
15183
15184
15185
15186
15187
15188
15189
15190typedef struct _xmlAttribute xmlAttribute;
15191typedef xmlAttribute *xmlAttributePtr;
15192struct _xmlAttribute {
15193 void *_private;
15194 xmlElementType type;
15195 const xmlChar *name;
15196 struct _xmlNode *children;
15197 struct _xmlNode *last;
15198 struct _xmlDtd *parent;
15199 struct _xmlNode *next;
15200 struct _xmlNode *prev;
15201 struct _xmlDoc *doc;
15202
15203 struct _xmlAttribute *nexth;
15204 xmlAttributeType atype;
15205 xmlAttributeDefault def;
15206 const xmlChar *defaultValue;
15207 xmlEnumerationPtr tree;
15208 const xmlChar *prefix;
15209 const xmlChar *elem;
15210};
15211
15212
15213
15214
15215
15216
15217typedef enum {
15218 XML_ELEMENT_CONTENT_PCDATA = 1,
15219 XML_ELEMENT_CONTENT_ELEMENT,
15220 XML_ELEMENT_CONTENT_SEQ,
15221 XML_ELEMENT_CONTENT_OR
15222} xmlElementContentType;
15223
15224
15225
15226
15227
15228
15229typedef enum {
15230 XML_ELEMENT_CONTENT_ONCE = 1,
15231 XML_ELEMENT_CONTENT_OPT,
15232 XML_ELEMENT_CONTENT_MULT,
15233 XML_ELEMENT_CONTENT_PLUS
15234} xmlElementContentOccur;
15235# 265 "/usr/include/libxml2/libxml/tree.h"
15236typedef struct _xmlElementContent xmlElementContent;
15237typedef xmlElementContent *xmlElementContentPtr;
15238struct _xmlElementContent {
15239 xmlElementContentType type;
15240 xmlElementContentOccur ocur;
15241 const xmlChar *name;
15242 struct _xmlElementContent *c1;
15243 struct _xmlElementContent *c2;
15244 struct _xmlElementContent *parent;
15245 const xmlChar *prefix;
15246};
15247
15248
15249
15250
15251
15252
15253
15254typedef enum {
15255 XML_ELEMENT_TYPE_UNDEFINED = 0,
15256 XML_ELEMENT_TYPE_EMPTY = 1,
15257 XML_ELEMENT_TYPE_ANY,
15258 XML_ELEMENT_TYPE_MIXED,
15259 XML_ELEMENT_TYPE_ELEMENT
15260} xmlElementTypeVal;
15261
15262
15263
15264
15265# 1 "/usr/include/libxml2/libxml/xmlregexp.h" 1
15266# 28 "/usr/include/libxml2/libxml/xmlregexp.h"
15267typedef struct _xmlRegexp xmlRegexp;
15268typedef xmlRegexp *xmlRegexpPtr;
15269
15270
15271
15272
15273
15274
15275typedef struct _xmlRegExecCtxt xmlRegExecCtxt;
15276typedef xmlRegExecCtxt *xmlRegExecCtxtPtr;
15277
15278
15279
15280
15281# 1 "/usr/include/libxml2/libxml/tree.h" 1
15282# 43 "/usr/include/libxml2/libxml/xmlregexp.h" 2
15283# 1 "/usr/include/libxml2/libxml/dict.h" 1
15284# 24 "/usr/include/libxml2/libxml/dict.h"
15285typedef struct _xmlDict xmlDict;
15286typedef xmlDict *xmlDictPtr;
15287
15288
15289
15290
15291 xmlDictPtr
15292 xmlDictCreate (void);
15293 xmlDictPtr
15294 xmlDictCreateSub(xmlDictPtr sub);
15295 int
15296 xmlDictReference(xmlDictPtr dict);
15297 void
15298 xmlDictFree (xmlDictPtr dict);
15299
15300
15301
15302
15303 const xmlChar *
15304 xmlDictLookup (xmlDictPtr dict,
15305 const xmlChar *name,
15306 int len);
15307 const xmlChar *
15308 xmlDictExists (xmlDictPtr dict,
15309 const xmlChar *name,
15310 int len);
15311 const xmlChar *
15312 xmlDictQLookup (xmlDictPtr dict,
15313 const xmlChar *prefix,
15314 const xmlChar *name);
15315 int
15316 xmlDictOwns (xmlDictPtr dict,
15317 const xmlChar *str);
15318 int
15319 xmlDictSize (xmlDictPtr dict);
15320
15321
15322
15323
15324 void
15325 xmlDictCleanup (void);
15326# 44 "/usr/include/libxml2/libxml/xmlregexp.h" 2
15327
15328
15329
15330
15331
15332
15333
15334 xmlRegexpPtr
15335 xmlRegexpCompile (const xmlChar *regexp);
15336 void xmlRegFreeRegexp(xmlRegexpPtr regexp);
15337 int
15338 xmlRegexpExec (xmlRegexpPtr comp,
15339 const xmlChar *value);
15340 void
15341 xmlRegexpPrint (FILE *output,
15342 xmlRegexpPtr regexp);
15343 int
15344 xmlRegexpIsDeterminist(xmlRegexpPtr comp);
15345# 72 "/usr/include/libxml2/libxml/xmlregexp.h"
15346typedef void (*xmlRegExecCallbacks) (xmlRegExecCtxtPtr exec,
15347 const xmlChar *token,
15348 void *transdata,
15349 void *inputdata);
15350
15351
15352
15353
15354 xmlRegExecCtxtPtr
15355 xmlRegNewExecCtxt (xmlRegexpPtr comp,
15356 xmlRegExecCallbacks callback,
15357 void *data);
15358 void
15359 xmlRegFreeExecCtxt (xmlRegExecCtxtPtr exec);
15360 int
15361 xmlRegExecPushString(xmlRegExecCtxtPtr exec,
15362 const xmlChar *value,
15363 void *data);
15364 int
15365 xmlRegExecPushString2(xmlRegExecCtxtPtr exec,
15366 const xmlChar *value,
15367 const xmlChar *value2,
15368 void *data);
15369
15370 int
15371 xmlRegExecNextValues(xmlRegExecCtxtPtr exec,
15372 int *nbval,
15373 int *nbneg,
15374 xmlChar **values,
15375 int *terminal);
15376 int
15377 xmlRegExecErrInfo (xmlRegExecCtxtPtr exec,
15378 const xmlChar **string,
15379 int *nbval,
15380 int *nbneg,
15381 xmlChar **values,
15382 int *terminal);
15383
15384
15385
15386
15387
15388
15389
15390typedef struct _xmlExpCtxt xmlExpCtxt;
15391typedef xmlExpCtxt *xmlExpCtxtPtr;
15392
15393 void
15394 xmlExpFreeCtxt (xmlExpCtxtPtr ctxt);
15395 xmlExpCtxtPtr
15396 xmlExpNewCtxt (int maxNodes,
15397 xmlDictPtr dict);
15398
15399 int
15400 xmlExpCtxtNbNodes(xmlExpCtxtPtr ctxt);
15401 int
15402 xmlExpCtxtNbCons(xmlExpCtxtPtr ctxt);
15403
15404
15405typedef struct _xmlExpNode xmlExpNode;
15406typedef xmlExpNode *xmlExpNodePtr;
15407
15408typedef enum {
15409 XML_EXP_EMPTY = 0,
15410 XML_EXP_FORBID = 1,
15411 XML_EXP_ATOM = 2,
15412 XML_EXP_SEQ = 3,
15413 XML_EXP_OR = 4,
15414 XML_EXP_COUNT = 5
15415} xmlExpNodeType;
15416
15417
15418
15419
15420
15421extern xmlExpNodePtr forbiddenExp;
15422extern xmlExpNodePtr emptyExp;
15423
15424
15425
15426
15427 void
15428 xmlExpFree (xmlExpCtxtPtr ctxt,
15429 xmlExpNodePtr expr);
15430 void
15431 xmlExpRef (xmlExpNodePtr expr);
15432
15433
15434
15435
15436 xmlExpNodePtr
15437 xmlExpParse (xmlExpCtxtPtr ctxt,
15438 const char *expr);
15439 xmlExpNodePtr
15440 xmlExpNewAtom (xmlExpCtxtPtr ctxt,
15441 const xmlChar *name,
15442 int len);
15443 xmlExpNodePtr
15444 xmlExpNewOr (xmlExpCtxtPtr ctxt,
15445 xmlExpNodePtr left,
15446 xmlExpNodePtr right);
15447 xmlExpNodePtr
15448 xmlExpNewSeq (xmlExpCtxtPtr ctxt,
15449 xmlExpNodePtr left,
15450 xmlExpNodePtr right);
15451 xmlExpNodePtr
15452 xmlExpNewRange (xmlExpCtxtPtr ctxt,
15453 xmlExpNodePtr subset,
15454 int min,
15455 int max);
15456
15457
15458
15459 int
15460 xmlExpIsNillable(xmlExpNodePtr expr);
15461 int
15462 xmlExpMaxToken (xmlExpNodePtr expr);
15463 int
15464 xmlExpGetLanguage(xmlExpCtxtPtr ctxt,
15465 xmlExpNodePtr expr,
15466 const xmlChar**langList,
15467 int len);
15468 int
15469 xmlExpGetStart (xmlExpCtxtPtr ctxt,
15470 xmlExpNodePtr expr,
15471 const xmlChar**tokList,
15472 int len);
15473 xmlExpNodePtr
15474 xmlExpStringDerive(xmlExpCtxtPtr ctxt,
15475 xmlExpNodePtr expr,
15476 const xmlChar *str,
15477 int len);
15478 xmlExpNodePtr
15479 xmlExpExpDerive (xmlExpCtxtPtr ctxt,
15480 xmlExpNodePtr expr,
15481 xmlExpNodePtr sub);
15482 int
15483 xmlExpSubsume (xmlExpCtxtPtr ctxt,
15484 xmlExpNodePtr expr,
15485 xmlExpNodePtr sub);
15486 void
15487 xmlExpDump (xmlBufferPtr buf,
15488 xmlExpNodePtr expr);
15489# 295 "/usr/include/libxml2/libxml/tree.h" 2
15490# 305 "/usr/include/libxml2/libxml/tree.h"
15491typedef struct _xmlElement xmlElement;
15492typedef xmlElement *xmlElementPtr;
15493struct _xmlElement {
15494 void *_private;
15495 xmlElementType type;
15496 const xmlChar *name;
15497 struct _xmlNode *children;
15498 struct _xmlNode *last;
15499 struct _xmlDtd *parent;
15500 struct _xmlNode *next;
15501 struct _xmlNode *prev;
15502 struct _xmlDoc *doc;
15503
15504 xmlElementTypeVal etype;
15505 xmlElementContentPtr content;
15506 xmlAttributePtr attributes;
15507 const xmlChar *prefix;
15508
15509 xmlRegexpPtr contModel;
15510
15511
15512
15513};
15514# 336 "/usr/include/libxml2/libxml/tree.h"
15515typedef xmlElementType xmlNsType;
15516# 348 "/usr/include/libxml2/libxml/tree.h"
15517typedef struct _xmlNs xmlNs;
15518typedef xmlNs *xmlNsPtr;
15519struct _xmlNs {
15520 struct _xmlNs *next;
15521 xmlNsType type;
15522 const xmlChar *href;
15523 const xmlChar *prefix;
15524 void *_private;
15525 struct _xmlDoc *context;
15526};
15527
15528
15529
15530
15531
15532
15533
15534typedef struct _xmlDtd xmlDtd;
15535typedef xmlDtd *xmlDtdPtr;
15536struct _xmlDtd {
15537 void *_private;
15538 xmlElementType type;
15539 const xmlChar *name;
15540 struct _xmlNode *children;
15541 struct _xmlNode *last;
15542 struct _xmlDoc *parent;
15543 struct _xmlNode *next;
15544 struct _xmlNode *prev;
15545 struct _xmlDoc *doc;
15546
15547
15548 void *notations;
15549 void *elements;
15550 void *attributes;
15551 void *entities;
15552 const xmlChar *ExternalID;
15553 const xmlChar *SystemID;
15554 void *pentities;
15555};
15556
15557
15558
15559
15560
15561
15562typedef struct _xmlAttr xmlAttr;
15563typedef xmlAttr *xmlAttrPtr;
15564struct _xmlAttr {
15565 void *_private;
15566 xmlElementType type;
15567 const xmlChar *name;
15568 struct _xmlNode *children;
15569 struct _xmlNode *last;
15570 struct _xmlNode *parent;
15571 struct _xmlAttr *next;
15572 struct _xmlAttr *prev;
15573 struct _xmlDoc *doc;
15574 xmlNs *ns;
15575 xmlAttributeType atype;
15576 void *psvi;
15577};
15578
15579
15580
15581
15582
15583
15584
15585typedef struct _xmlID xmlID;
15586typedef xmlID *xmlIDPtr;
15587struct _xmlID {
15588 struct _xmlID *next;
15589 const xmlChar *value;
15590 xmlAttrPtr attr;
15591 const xmlChar *name;
15592 int lineno;
15593 struct _xmlDoc *doc;
15594};
15595
15596
15597
15598
15599
15600
15601
15602typedef struct _xmlRef xmlRef;
15603typedef xmlRef *xmlRefPtr;
15604struct _xmlRef {
15605 struct _xmlRef *next;
15606 const xmlChar *value;
15607 xmlAttrPtr attr;
15608 const xmlChar *name;
15609 int lineno;
15610};
15611
15612
15613
15614
15615
15616
15617typedef struct _xmlNode xmlNode;
15618typedef xmlNode *xmlNodePtr;
15619struct _xmlNode {
15620 void *_private;
15621 xmlElementType type;
15622 const xmlChar *name;
15623 struct _xmlNode *children;
15624 struct _xmlNode *last;
15625 struct _xmlNode *parent;
15626 struct _xmlNode *next;
15627 struct _xmlNode *prev;
15628 struct _xmlDoc *doc;
15629
15630
15631 xmlNs *ns;
15632 xmlChar *content;
15633 struct _xmlAttr *properties;
15634 xmlNs *nsDef;
15635 void *psvi;
15636 unsigned short line;
15637 unsigned short extra;
15638};
15639# 493 "/usr/include/libxml2/libxml/tree.h"
15640typedef enum {
15641 XML_DOC_WELLFORMED = 1<<0,
15642 XML_DOC_NSVALID = 1<<1,
15643 XML_DOC_OLD10 = 1<<2,
15644 XML_DOC_DTDVALID = 1<<3,
15645 XML_DOC_XINCLUDE = 1<<4,
15646 XML_DOC_USERBUILT = 1<<5,
15647
15648 XML_DOC_INTERNAL = 1<<6,
15649 XML_DOC_HTML = 1<<7
15650} xmlDocProperties;
15651
15652
15653
15654
15655
15656
15657typedef struct _xmlDoc xmlDoc;
15658typedef xmlDoc *xmlDocPtr;
15659struct _xmlDoc {
15660 void *_private;
15661 xmlElementType type;
15662 char *name;
15663 struct _xmlNode *children;
15664 struct _xmlNode *last;
15665 struct _xmlNode *parent;
15666 struct _xmlNode *next;
15667 struct _xmlNode *prev;
15668 struct _xmlDoc *doc;
15669
15670
15671 int compression;
15672 int standalone;
15673
15674
15675
15676
15677
15678 struct _xmlDtd *intSubset;
15679 struct _xmlDtd *extSubset;
15680 struct _xmlNs *oldNs;
15681 const xmlChar *version;
15682 const xmlChar *encoding;
15683 void *ids;
15684 void *refs;
15685 const xmlChar *URL;
15686 int charset;
15687
15688 struct _xmlDict *dict;
15689 void *psvi;
15690 int parseFlags;
15691
15692 int properties;
15693
15694};
15695
15696
15697typedef struct _xmlDOMWrapCtxt xmlDOMWrapCtxt;
15698typedef xmlDOMWrapCtxt *xmlDOMWrapCtxtPtr;
15699# 564 "/usr/include/libxml2/libxml/tree.h"
15700typedef xmlNsPtr (*xmlDOMWrapAcquireNsFunction) (xmlDOMWrapCtxtPtr ctxt,
15701 xmlNodePtr node,
15702 const xmlChar *nsName,
15703 const xmlChar *nsPrefix);
15704
15705
15706
15707
15708
15709
15710struct _xmlDOMWrapCtxt {
15711 void * _private;
15712
15713
15714
15715
15716 int type;
15717
15718
15719
15720 void * namespaceMap;
15721
15722
15723
15724
15725 xmlDOMWrapAcquireNsFunction getNsForNodeFunc;
15726};
15727# 620 "/usr/include/libxml2/libxml/tree.h"
15728 int
15729 xmlValidateNCName (const xmlChar *value,
15730 int space);
15731
15732
15733
15734 int
15735 xmlValidateQName (const xmlChar *value,
15736 int space);
15737 int
15738 xmlValidateName (const xmlChar *value,
15739 int space);
15740 int
15741 xmlValidateNMToken (const xmlChar *value,
15742 int space);
15743
15744
15745 xmlChar *
15746 xmlBuildQName (const xmlChar *ncname,
15747 const xmlChar *prefix,
15748 xmlChar *memory,
15749 int len);
15750 xmlChar *
15751 xmlSplitQName2 (const xmlChar *name,
15752 xmlChar **prefix);
15753 const xmlChar *
15754 xmlSplitQName3 (const xmlChar *name,
15755 int *len);
15756
15757
15758
15759
15760
15761 void
15762 xmlSetBufferAllocationScheme(xmlBufferAllocationScheme scheme);
15763 xmlBufferAllocationScheme
15764 xmlGetBufferAllocationScheme(void);
15765
15766 xmlBufferPtr
15767 xmlBufferCreate (void);
15768 xmlBufferPtr
15769 xmlBufferCreateSize (size_t size);
15770 xmlBufferPtr
15771 xmlBufferCreateStatic (void *mem,
15772 size_t size);
15773 int
15774 xmlBufferResize (xmlBufferPtr buf,
15775 unsigned int size);
15776 void
15777 xmlBufferFree (xmlBufferPtr buf);
15778 int
15779 xmlBufferDump (FILE *file,
15780 xmlBufferPtr buf);
15781 int
15782 xmlBufferAdd (xmlBufferPtr buf,
15783 const xmlChar *str,
15784 int len);
15785 int
15786 xmlBufferAddHead (xmlBufferPtr buf,
15787 const xmlChar *str,
15788 int len);
15789 int
15790 xmlBufferCat (xmlBufferPtr buf,
15791 const xmlChar *str);
15792 int
15793 xmlBufferCCat (xmlBufferPtr buf,
15794 const char *str);
15795 int
15796 xmlBufferShrink (xmlBufferPtr buf,
15797 unsigned int len);
15798 int
15799 xmlBufferGrow (xmlBufferPtr buf,
15800 unsigned int len);
15801 void
15802 xmlBufferEmpty (xmlBufferPtr buf);
15803 const xmlChar*
15804 xmlBufferContent (const xmlBufferPtr buf);
15805 void
15806 xmlBufferSetAllocationScheme(xmlBufferPtr buf,
15807 xmlBufferAllocationScheme scheme);
15808 int
15809 xmlBufferLength (const xmlBufferPtr buf);
15810
15811
15812
15813
15814 xmlDtdPtr
15815 xmlCreateIntSubset (xmlDocPtr doc,
15816 const xmlChar *name,
15817 const xmlChar *ExternalID,
15818 const xmlChar *SystemID);
15819 xmlDtdPtr
15820 xmlNewDtd (xmlDocPtr doc,
15821 const xmlChar *name,
15822 const xmlChar *ExternalID,
15823 const xmlChar *SystemID);
15824 xmlDtdPtr
15825 xmlGetIntSubset (xmlDocPtr doc);
15826 void
15827 xmlFreeDtd (xmlDtdPtr cur);
15828
15829 xmlNsPtr
15830 xmlNewGlobalNs (xmlDocPtr doc,
15831 const xmlChar *href,
15832 const xmlChar *prefix);
15833
15834 xmlNsPtr
15835 xmlNewNs (xmlNodePtr node,
15836 const xmlChar *href,
15837 const xmlChar *prefix);
15838 void
15839 xmlFreeNs (xmlNsPtr cur);
15840 void
15841 xmlFreeNsList (xmlNsPtr cur);
15842 xmlDocPtr
15843 xmlNewDoc (const xmlChar *version);
15844 void
15845 xmlFreeDoc (xmlDocPtr cur);
15846 xmlAttrPtr
15847 xmlNewDocProp (xmlDocPtr doc,
15848 const xmlChar *name,
15849 const xmlChar *value);
15850
15851
15852 xmlAttrPtr
15853 xmlNewProp (xmlNodePtr node,
15854 const xmlChar *name,
15855 const xmlChar *value);
15856
15857 xmlAttrPtr
15858 xmlNewNsProp (xmlNodePtr node,
15859 xmlNsPtr ns,
15860 const xmlChar *name,
15861 const xmlChar *value);
15862 xmlAttrPtr
15863 xmlNewNsPropEatName (xmlNodePtr node,
15864 xmlNsPtr ns,
15865 xmlChar *name,
15866 const xmlChar *value);
15867 void
15868 xmlFreePropList (xmlAttrPtr cur);
15869 void
15870 xmlFreeProp (xmlAttrPtr cur);
15871 xmlAttrPtr
15872 xmlCopyProp (xmlNodePtr target,
15873 xmlAttrPtr cur);
15874 xmlAttrPtr
15875 xmlCopyPropList (xmlNodePtr target,
15876 xmlAttrPtr cur);
15877
15878 xmlDtdPtr
15879 xmlCopyDtd (xmlDtdPtr dtd);
15880
15881
15882 xmlDocPtr
15883 xmlCopyDoc (xmlDocPtr doc,
15884 int recursive);
15885
15886
15887
15888
15889 xmlNodePtr
15890 xmlNewDocNode (xmlDocPtr doc,
15891 xmlNsPtr ns,
15892 const xmlChar *name,
15893 const xmlChar *content);
15894 xmlNodePtr
15895 xmlNewDocNodeEatName (xmlDocPtr doc,
15896 xmlNsPtr ns,
15897 xmlChar *name,
15898 const xmlChar *content);
15899 xmlNodePtr
15900 xmlNewNode (xmlNsPtr ns,
15901 const xmlChar *name);
15902 xmlNodePtr
15903 xmlNewNodeEatName (xmlNsPtr ns,
15904 xmlChar *name);
15905
15906 xmlNodePtr
15907 xmlNewChild (xmlNodePtr parent,
15908 xmlNsPtr ns,
15909 const xmlChar *name,
15910 const xmlChar *content);
15911
15912 xmlNodePtr
15913 xmlNewDocText (xmlDocPtr doc,
15914 const xmlChar *content);
15915 xmlNodePtr
15916 xmlNewText (const xmlChar *content);
15917 xmlNodePtr
15918 xmlNewDocPI (xmlDocPtr doc,
15919 const xmlChar *name,
15920 const xmlChar *content);
15921 xmlNodePtr
15922 xmlNewPI (const xmlChar *name,
15923 const xmlChar *content);
15924 xmlNodePtr
15925 xmlNewDocTextLen (xmlDocPtr doc,
15926 const xmlChar *content,
15927 int len);
15928 xmlNodePtr
15929 xmlNewTextLen (const xmlChar *content,
15930 int len);
15931 xmlNodePtr
15932 xmlNewDocComment (xmlDocPtr doc,
15933 const xmlChar *content);
15934 xmlNodePtr
15935 xmlNewComment (const xmlChar *content);
15936 xmlNodePtr
15937 xmlNewCDataBlock (xmlDocPtr doc,
15938 const xmlChar *content,
15939 int len);
15940 xmlNodePtr
15941 xmlNewCharRef (xmlDocPtr doc,
15942 const xmlChar *name);
15943 xmlNodePtr
15944 xmlNewReference (xmlDocPtr doc,
15945 const xmlChar *name);
15946 xmlNodePtr
15947 xmlCopyNode (const xmlNodePtr node,
15948 int recursive);
15949 xmlNodePtr
15950 xmlDocCopyNode (const xmlNodePtr node,
15951 xmlDocPtr doc,
15952 int recursive);
15953 xmlNodePtr
15954 xmlDocCopyNodeList (xmlDocPtr doc,
15955 const xmlNodePtr node);
15956 xmlNodePtr
15957 xmlCopyNodeList (const xmlNodePtr node);
15958
15959 xmlNodePtr
15960 xmlNewTextChild (xmlNodePtr parent,
15961 xmlNsPtr ns,
15962 const xmlChar *name,
15963 const xmlChar *content);
15964 xmlNodePtr
15965 xmlNewDocRawNode (xmlDocPtr doc,
15966 xmlNsPtr ns,
15967 const xmlChar *name,
15968 const xmlChar *content);
15969 xmlNodePtr
15970 xmlNewDocFragment (xmlDocPtr doc);
15971
15972
15973
15974
15975
15976 long
15977 xmlGetLineNo (xmlNodePtr node);
15978
15979 xmlChar *
15980 xmlGetNodePath (xmlNodePtr node);
15981
15982 xmlNodePtr
15983 xmlDocGetRootElement (xmlDocPtr doc);
15984 xmlNodePtr
15985 xmlGetLastChild (xmlNodePtr parent);
15986 int
15987 xmlNodeIsText (xmlNodePtr node);
15988 int
15989 xmlIsBlankNode (xmlNodePtr node);
15990
15991
15992
15993
15994
15995 xmlNodePtr
15996 xmlDocSetRootElement (xmlDocPtr doc,
15997 xmlNodePtr root);
15998
15999
16000 void
16001 xmlNodeSetName (xmlNodePtr cur,
16002 const xmlChar *name);
16003
16004 xmlNodePtr
16005 xmlAddChild (xmlNodePtr parent,
16006 xmlNodePtr cur);
16007 xmlNodePtr
16008 xmlAddChildList (xmlNodePtr parent,
16009 xmlNodePtr cur);
16010
16011 xmlNodePtr
16012 xmlReplaceNode (xmlNodePtr old,
16013 xmlNodePtr cur);
16014
16015
16016
16017 xmlNodePtr
16018 xmlAddPrevSibling (xmlNodePtr cur,
16019 xmlNodePtr elem);
16020
16021 xmlNodePtr
16022 xmlAddSibling (xmlNodePtr cur,
16023 xmlNodePtr elem);
16024 xmlNodePtr
16025 xmlAddNextSibling (xmlNodePtr cur,
16026 xmlNodePtr elem);
16027 void
16028 xmlUnlinkNode (xmlNodePtr cur);
16029 xmlNodePtr
16030 xmlTextMerge (xmlNodePtr first,
16031 xmlNodePtr second);
16032 int
16033 xmlTextConcat (xmlNodePtr node,
16034 const xmlChar *content,
16035 int len);
16036 void
16037 xmlFreeNodeList (xmlNodePtr cur);
16038 void
16039 xmlFreeNode (xmlNodePtr cur);
16040 void
16041 xmlSetTreeDoc (xmlNodePtr tree,
16042 xmlDocPtr doc);
16043 void
16044 xmlSetListDoc (xmlNodePtr list,
16045 xmlDocPtr doc);
16046
16047
16048
16049 xmlNsPtr
16050 xmlSearchNs (xmlDocPtr doc,
16051 xmlNodePtr node,
16052 const xmlChar *nameSpace);
16053 xmlNsPtr
16054 xmlSearchNsByHref (xmlDocPtr doc,
16055 xmlNodePtr node,
16056 const xmlChar *href);
16057
16058 xmlNsPtr *
16059 xmlGetNsList (xmlDocPtr doc,
16060 xmlNodePtr node);
16061
16062
16063 void
16064 xmlSetNs (xmlNodePtr node,
16065 xmlNsPtr ns);
16066 xmlNsPtr
16067 xmlCopyNamespace (xmlNsPtr cur);
16068 xmlNsPtr
16069 xmlCopyNamespaceList (xmlNsPtr cur);
16070
16071
16072
16073
16074
16075 xmlAttrPtr
16076 xmlSetProp (xmlNodePtr node,
16077 const xmlChar *name,
16078 const xmlChar *value);
16079 xmlAttrPtr
16080 xmlSetNsProp (xmlNodePtr node,
16081 xmlNsPtr ns,
16082 const xmlChar *name,
16083 const xmlChar *value);
16084
16085 xmlChar *
16086 xmlGetNoNsProp (xmlNodePtr node,
16087 const xmlChar *name);
16088 xmlChar *
16089 xmlGetProp (xmlNodePtr node,
16090 const xmlChar *name);
16091 xmlAttrPtr
16092 xmlHasProp (xmlNodePtr node,
16093 const xmlChar *name);
16094 xmlAttrPtr
16095 xmlHasNsProp (xmlNodePtr node,
16096 const xmlChar *name,
16097 const xmlChar *nameSpace);
16098 xmlChar *
16099 xmlGetNsProp (xmlNodePtr node,
16100 const xmlChar *name,
16101 const xmlChar *nameSpace);
16102 xmlNodePtr
16103 xmlStringGetNodeList (xmlDocPtr doc,
16104 const xmlChar *value);
16105 xmlNodePtr
16106 xmlStringLenGetNodeList (xmlDocPtr doc,
16107 const xmlChar *value,
16108 int len);
16109 xmlChar *
16110 xmlNodeListGetString (xmlDocPtr doc,
16111 xmlNodePtr list,
16112 int inLine);
16113
16114 xmlChar *
16115 xmlNodeListGetRawString (xmlDocPtr doc,
16116 xmlNodePtr list,
16117 int inLine);
16118
16119 void
16120 xmlNodeSetContent (xmlNodePtr cur,
16121 const xmlChar *content);
16122
16123 void
16124 xmlNodeSetContentLen (xmlNodePtr cur,
16125 const xmlChar *content,
16126 int len);
16127
16128 void
16129 xmlNodeAddContent (xmlNodePtr cur,
16130 const xmlChar *content);
16131 void
16132 xmlNodeAddContentLen (xmlNodePtr cur,
16133 const xmlChar *content,
16134 int len);
16135 xmlChar *
16136 xmlNodeGetContent (xmlNodePtr cur);
16137 int
16138 xmlNodeBufGetContent (xmlBufferPtr buffer,
16139 xmlNodePtr cur);
16140 xmlChar *
16141 xmlNodeGetLang (xmlNodePtr cur);
16142 int
16143 xmlNodeGetSpacePreserve (xmlNodePtr cur);
16144
16145 void
16146 xmlNodeSetLang (xmlNodePtr cur,
16147 const xmlChar *lang);
16148 void
16149 xmlNodeSetSpacePreserve (xmlNodePtr cur,
16150 int val);
16151
16152 xmlChar *
16153 xmlNodeGetBase (xmlDocPtr doc,
16154 xmlNodePtr cur);
16155
16156 void
16157 xmlNodeSetBase (xmlNodePtr cur,
16158 const xmlChar *uri);
16159
16160
16161
16162
16163
16164 int
16165 xmlRemoveProp (xmlAttrPtr cur);
16166
16167 int
16168 xmlUnsetNsProp (xmlNodePtr node,
16169 xmlNsPtr ns,
16170 const xmlChar *name);
16171 int
16172 xmlUnsetProp (xmlNodePtr node,
16173 const xmlChar *name);
16174
16175
16176
16177
16178
16179 void
16180 xmlBufferWriteCHAR (xmlBufferPtr buf,
16181 const xmlChar *string);
16182 void
16183 xmlBufferWriteChar (xmlBufferPtr buf,
16184 const char *string);
16185 void
16186 xmlBufferWriteQuotedString(xmlBufferPtr buf,
16187 const xmlChar *string);
16188
16189
16190 void xmlAttrSerializeTxtContent(xmlBufferPtr buf,
16191 xmlDocPtr doc,
16192 xmlAttrPtr attr,
16193 const xmlChar *string);
16194
16195
16196
16197
16198
16199
16200 int
16201 xmlReconciliateNs (xmlDocPtr doc,
16202 xmlNodePtr tree);
16203
16204
16205
16206
16207
16208
16209 void
16210 xmlDocDumpFormatMemory (xmlDocPtr cur,
16211 xmlChar **mem,
16212 int *size,
16213 int format);
16214 void
16215 xmlDocDumpMemory (xmlDocPtr cur,
16216 xmlChar **mem,
16217 int *size);
16218 void
16219 xmlDocDumpMemoryEnc (xmlDocPtr out_doc,
16220 xmlChar **doc_txt_ptr,
16221 int * doc_txt_len,
16222 const char *txt_encoding);
16223 void
16224 xmlDocDumpFormatMemoryEnc(xmlDocPtr out_doc,
16225 xmlChar **doc_txt_ptr,
16226 int * doc_txt_len,
16227 const char *txt_encoding,
16228 int format);
16229 int
16230 xmlDocFormatDump (FILE *f,
16231 xmlDocPtr cur,
16232 int format);
16233 int
16234 xmlDocDump (FILE *f,
16235 xmlDocPtr cur);
16236 void
16237 xmlElemDump (FILE *f,
16238 xmlDocPtr doc,
16239 xmlNodePtr cur);
16240 int
16241 xmlSaveFile (const char *filename,
16242 xmlDocPtr cur);
16243 int
16244 xmlSaveFormatFile (const char *filename,
16245 xmlDocPtr cur,
16246 int format);
16247 int
16248 xmlNodeDump (xmlBufferPtr buf,
16249 xmlDocPtr doc,
16250 xmlNodePtr cur,
16251 int level,
16252 int format);
16253
16254 int
16255 xmlSaveFileTo (xmlOutputBufferPtr buf,
16256 xmlDocPtr cur,
16257 const char *encoding);
16258 int
16259 xmlSaveFormatFileTo (xmlOutputBufferPtr buf,
16260 xmlDocPtr cur,
16261 const char *encoding,
16262 int format);
16263 void
16264 xmlNodeDumpOutput (xmlOutputBufferPtr buf,
16265 xmlDocPtr doc,
16266 xmlNodePtr cur,
16267 int level,
16268 int format,
16269 const char *encoding);
16270
16271 int
16272 xmlSaveFormatFileEnc (const char *filename,
16273 xmlDocPtr cur,
16274 const char *encoding,
16275 int format);
16276
16277 int
16278 xmlSaveFileEnc (const char *filename,
16279 xmlDocPtr cur,
16280 const char *encoding);
16281
16282
16283
16284
16285
16286 int
16287 xmlIsXHTML (const xmlChar *systemID,
16288 const xmlChar *publicID);
16289
16290
16291
16292
16293 int
16294 xmlGetDocCompressMode (xmlDocPtr doc);
16295 void
16296 xmlSetDocCompressMode (xmlDocPtr doc,
16297 int mode);
16298 int
16299 xmlGetCompressMode (void);
16300 void
16301 xmlSetCompressMode (int mode);
16302
16303
16304
16305
16306 xmlDOMWrapCtxtPtr
16307 xmlDOMWrapNewCtxt (void);
16308 void
16309 xmlDOMWrapFreeCtxt (xmlDOMWrapCtxtPtr ctxt);
16310 int
16311 xmlDOMWrapReconcileNamespaces(xmlDOMWrapCtxtPtr ctxt,
16312 xmlNodePtr elem,
16313 int options);
16314 int
16315 xmlDOMWrapAdoptNode (xmlDOMWrapCtxtPtr ctxt,
16316 xmlDocPtr sourceDoc,
16317 xmlNodePtr node,
16318 xmlDocPtr destDoc,
16319 xmlNodePtr destParent,
16320 int options);
16321 int
16322 xmlDOMWrapRemoveNode (xmlDOMWrapCtxtPtr ctxt,
16323 xmlDocPtr doc,
16324 xmlNodePtr node,
16325 int options);
16326 int
16327 xmlDOMWrapCloneNode (xmlDOMWrapCtxtPtr ctxt,
16328 xmlDocPtr sourceDoc,
16329 xmlNodePtr node,
16330 xmlNodePtr *clonedNode,
16331 xmlDocPtr destDoc,
16332 xmlNodePtr destParent,
16333 int deep,
16334 int options);
16335
16336
16337
16338
16339
16340
16341 unsigned long
16342 xmlChildElementCount (xmlNodePtr parent);
16343 xmlNodePtr
16344 xmlNextElementSibling (xmlNodePtr node);
16345 xmlNodePtr
16346 xmlFirstElementChild (xmlNodePtr parent);
16347 xmlNodePtr
16348 xmlLastElementChild (xmlNodePtr parent);
16349 xmlNodePtr
16350 xmlPreviousElementSibling (xmlNodePtr node);
16351# 17 "/usr/include/libxml2/libxml/parser.h" 2
16352
16353# 1 "/usr/include/libxml2/libxml/hash.h" 1
16354# 21 "/usr/include/libxml2/libxml/hash.h"
16355typedef struct _xmlHashTable xmlHashTable;
16356typedef xmlHashTable *xmlHashTablePtr;
16357
16358
16359
16360
16361
16362
16363# 1 "/usr/include/libxml2/libxml/parser.h" 1
16364# 30 "/usr/include/libxml2/libxml/hash.h" 2
16365# 69 "/usr/include/libxml2/libxml/hash.h"
16366typedef void (*xmlHashDeallocator)(void *payload, xmlChar *name);
16367# 79 "/usr/include/libxml2/libxml/hash.h"
16368typedef void *(*xmlHashCopier)(void *payload, xmlChar *name);
16369# 88 "/usr/include/libxml2/libxml/hash.h"
16370typedef void (*xmlHashScanner)(void *payload, void *data, xmlChar *name);
16371# 99 "/usr/include/libxml2/libxml/hash.h"
16372typedef void (*xmlHashScannerFull)(void *payload, void *data,
16373 const xmlChar *name, const xmlChar *name2,
16374 const xmlChar *name3);
16375
16376
16377
16378
16379 xmlHashTablePtr
16380 xmlHashCreate (int size);
16381 xmlHashTablePtr
16382 xmlHashCreateDict(int size,
16383 xmlDictPtr dict);
16384 void
16385 xmlHashFree (xmlHashTablePtr table,
16386 xmlHashDeallocator f);
16387
16388
16389
16390
16391 int
16392 xmlHashAddEntry (xmlHashTablePtr table,
16393 const xmlChar *name,
16394 void *userdata);
16395 int
16396 xmlHashUpdateEntry(xmlHashTablePtr table,
16397 const xmlChar *name,
16398 void *userdata,
16399 xmlHashDeallocator f);
16400 int
16401 xmlHashAddEntry2(xmlHashTablePtr table,
16402 const xmlChar *name,
16403 const xmlChar *name2,
16404 void *userdata);
16405 int
16406 xmlHashUpdateEntry2(xmlHashTablePtr table,
16407 const xmlChar *name,
16408 const xmlChar *name2,
16409 void *userdata,
16410 xmlHashDeallocator f);
16411 int
16412 xmlHashAddEntry3(xmlHashTablePtr table,
16413 const xmlChar *name,
16414 const xmlChar *name2,
16415 const xmlChar *name3,
16416 void *userdata);
16417 int
16418 xmlHashUpdateEntry3(xmlHashTablePtr table,
16419 const xmlChar *name,
16420 const xmlChar *name2,
16421 const xmlChar *name3,
16422 void *userdata,
16423 xmlHashDeallocator f);
16424
16425
16426
16427
16428 int
16429 xmlHashRemoveEntry(xmlHashTablePtr table, const xmlChar *name,
16430 xmlHashDeallocator f);
16431 int
16432 xmlHashRemoveEntry2(xmlHashTablePtr table, const xmlChar *name,
16433 const xmlChar *name2, xmlHashDeallocator f);
16434 int
16435 xmlHashRemoveEntry3(xmlHashTablePtr table, const xmlChar *name,
16436 const xmlChar *name2, const xmlChar *name3,
16437 xmlHashDeallocator f);
16438
16439
16440
16441
16442 void *
16443 xmlHashLookup (xmlHashTablePtr table,
16444 const xmlChar *name);
16445 void *
16446 xmlHashLookup2 (xmlHashTablePtr table,
16447 const xmlChar *name,
16448 const xmlChar *name2);
16449 void *
16450 xmlHashLookup3 (xmlHashTablePtr table,
16451 const xmlChar *name,
16452 const xmlChar *name2,
16453 const xmlChar *name3);
16454 void *
16455 xmlHashQLookup (xmlHashTablePtr table,
16456 const xmlChar *name,
16457 const xmlChar *prefix);
16458 void *
16459 xmlHashQLookup2 (xmlHashTablePtr table,
16460 const xmlChar *name,
16461 const xmlChar *prefix,
16462 const xmlChar *name2,
16463 const xmlChar *prefix2);
16464 void *
16465 xmlHashQLookup3 (xmlHashTablePtr table,
16466 const xmlChar *name,
16467 const xmlChar *prefix,
16468 const xmlChar *name2,
16469 const xmlChar *prefix2,
16470 const xmlChar *name3,
16471 const xmlChar *prefix3);
16472
16473
16474
16475
16476 xmlHashTablePtr
16477 xmlHashCopy (xmlHashTablePtr table,
16478 xmlHashCopier f);
16479 int
16480 xmlHashSize (xmlHashTablePtr table);
16481 void
16482 xmlHashScan (xmlHashTablePtr table,
16483 xmlHashScanner f,
16484 void *data);
16485 void
16486 xmlHashScan3 (xmlHashTablePtr table,
16487 const xmlChar *name,
16488 const xmlChar *name2,
16489 const xmlChar *name3,
16490 xmlHashScanner f,
16491 void *data);
16492 void
16493 xmlHashScanFull (xmlHashTablePtr table,
16494 xmlHashScannerFull f,
16495 void *data);
16496 void
16497 xmlHashScanFull3(xmlHashTablePtr table,
16498 const xmlChar *name,
16499 const xmlChar *name2,
16500 const xmlChar *name3,
16501 xmlHashScannerFull f,
16502 void *data);
16503# 19 "/usr/include/libxml2/libxml/parser.h" 2
16504# 1 "/usr/include/libxml2/libxml/valid.h" 1
16505# 15 "/usr/include/libxml2/libxml/valid.h"
16506# 1 "/usr/include/libxml2/libxml/xmlerror.h" 1
16507# 24 "/usr/include/libxml2/libxml/xmlerror.h"
16508typedef enum {
16509 XML_ERR_NONE = 0,
16510 XML_ERR_WARNING = 1,
16511 XML_ERR_ERROR = 2,
16512 XML_ERR_FATAL = 3
16513} xmlErrorLevel;
16514
16515
16516
16517
16518
16519
16520typedef enum {
16521 XML_FROM_NONE = 0,
16522 XML_FROM_PARSER,
16523 XML_FROM_TREE,
16524 XML_FROM_NAMESPACE,
16525 XML_FROM_DTD,
16526 XML_FROM_HTML,
16527 XML_FROM_MEMORY,
16528 XML_FROM_OUTPUT,
16529 XML_FROM_IO,
16530 XML_FROM_FTP,
16531 XML_FROM_HTTP,
16532 XML_FROM_XINCLUDE,
16533 XML_FROM_XPATH,
16534 XML_FROM_XPOINTER,
16535 XML_FROM_REGEXP,
16536 XML_FROM_DATATYPE,
16537 XML_FROM_SCHEMASP,
16538 XML_FROM_SCHEMASV,
16539 XML_FROM_RELAXNGP,
16540 XML_FROM_RELAXNGV,
16541 XML_FROM_CATALOG,
16542 XML_FROM_C14N,
16543 XML_FROM_XSLT,
16544 XML_FROM_VALID,
16545 XML_FROM_CHECK,
16546 XML_FROM_WRITER,
16547 XML_FROM_MODULE,
16548 XML_FROM_I18N,
16549 XML_FROM_SCHEMATRONV
16550} xmlErrorDomain;
16551
16552
16553
16554
16555
16556
16557
16558typedef struct _xmlError xmlError;
16559typedef xmlError *xmlErrorPtr;
16560struct _xmlError {
16561 int domain;
16562 int code;
16563 char *message;
16564 xmlErrorLevel level;
16565 char *file;
16566 int line;
16567 char *str1;
16568 char *str2;
16569 char *str3;
16570 int int1;
16571 int int2;
16572 void *ctxt;
16573 void *node;
16574};
16575
16576
16577
16578
16579
16580
16581typedef enum {
16582 XML_ERR_OK = 0,
16583 XML_ERR_INTERNAL_ERROR,
16584 XML_ERR_NO_MEMORY,
16585 XML_ERR_DOCUMENT_START,
16586 XML_ERR_DOCUMENT_EMPTY,
16587 XML_ERR_DOCUMENT_END,
16588 XML_ERR_INVALID_HEX_CHARREF,
16589 XML_ERR_INVALID_DEC_CHARREF,
16590 XML_ERR_INVALID_CHARREF,
16591 XML_ERR_INVALID_CHAR,
16592 XML_ERR_CHARREF_AT_EOF,
16593 XML_ERR_CHARREF_IN_PROLOG,
16594 XML_ERR_CHARREF_IN_EPILOG,
16595 XML_ERR_CHARREF_IN_DTD,
16596 XML_ERR_ENTITYREF_AT_EOF,
16597 XML_ERR_ENTITYREF_IN_PROLOG,
16598 XML_ERR_ENTITYREF_IN_EPILOG,
16599 XML_ERR_ENTITYREF_IN_DTD,
16600 XML_ERR_PEREF_AT_EOF,
16601 XML_ERR_PEREF_IN_PROLOG,
16602 XML_ERR_PEREF_IN_EPILOG,
16603 XML_ERR_PEREF_IN_INT_SUBSET,
16604 XML_ERR_ENTITYREF_NO_NAME,
16605 XML_ERR_ENTITYREF_SEMICOL_MISSING,
16606 XML_ERR_PEREF_NO_NAME,
16607 XML_ERR_PEREF_SEMICOL_MISSING,
16608 XML_ERR_UNDECLARED_ENTITY,
16609 XML_WAR_UNDECLARED_ENTITY,
16610 XML_ERR_UNPARSED_ENTITY,
16611 XML_ERR_ENTITY_IS_EXTERNAL,
16612 XML_ERR_ENTITY_IS_PARAMETER,
16613 XML_ERR_UNKNOWN_ENCODING,
16614 XML_ERR_UNSUPPORTED_ENCODING,
16615 XML_ERR_STRING_NOT_STARTED,
16616 XML_ERR_STRING_NOT_CLOSED,
16617 XML_ERR_NS_DECL_ERROR,
16618 XML_ERR_ENTITY_NOT_STARTED,
16619 XML_ERR_ENTITY_NOT_FINISHED,
16620 XML_ERR_LT_IN_ATTRIBUTE,
16621 XML_ERR_ATTRIBUTE_NOT_STARTED,
16622 XML_ERR_ATTRIBUTE_NOT_FINISHED,
16623 XML_ERR_ATTRIBUTE_WITHOUT_VALUE,
16624 XML_ERR_ATTRIBUTE_REDEFINED,
16625 XML_ERR_LITERAL_NOT_STARTED,
16626 XML_ERR_LITERAL_NOT_FINISHED,
16627 XML_ERR_COMMENT_NOT_FINISHED,
16628 XML_ERR_PI_NOT_STARTED,
16629 XML_ERR_PI_NOT_FINISHED,
16630 XML_ERR_NOTATION_NOT_STARTED,
16631 XML_ERR_NOTATION_NOT_FINISHED,
16632 XML_ERR_ATTLIST_NOT_STARTED,
16633 XML_ERR_ATTLIST_NOT_FINISHED,
16634 XML_ERR_MIXED_NOT_STARTED,
16635 XML_ERR_MIXED_NOT_FINISHED,
16636 XML_ERR_ELEMCONTENT_NOT_STARTED,
16637 XML_ERR_ELEMCONTENT_NOT_FINISHED,
16638 XML_ERR_XMLDECL_NOT_STARTED,
16639 XML_ERR_XMLDECL_NOT_FINISHED,
16640 XML_ERR_CONDSEC_NOT_STARTED,
16641 XML_ERR_CONDSEC_NOT_FINISHED,
16642 XML_ERR_EXT_SUBSET_NOT_FINISHED,
16643 XML_ERR_DOCTYPE_NOT_FINISHED,
16644 XML_ERR_MISPLACED_CDATA_END,
16645 XML_ERR_CDATA_NOT_FINISHED,
16646 XML_ERR_RESERVED_XML_NAME,
16647 XML_ERR_SPACE_REQUIRED,
16648 XML_ERR_SEPARATOR_REQUIRED,
16649 XML_ERR_NMTOKEN_REQUIRED,
16650 XML_ERR_NAME_REQUIRED,
16651 XML_ERR_PCDATA_REQUIRED,
16652 XML_ERR_URI_REQUIRED,
16653 XML_ERR_PUBID_REQUIRED,
16654 XML_ERR_LT_REQUIRED,
16655 XML_ERR_GT_REQUIRED,
16656 XML_ERR_LTSLASH_REQUIRED,
16657 XML_ERR_EQUAL_REQUIRED,
16658 XML_ERR_TAG_NAME_MISMATCH,
16659 XML_ERR_TAG_NOT_FINISHED,
16660 XML_ERR_STANDALONE_VALUE,
16661 XML_ERR_ENCODING_NAME,
16662 XML_ERR_HYPHEN_IN_COMMENT,
16663 XML_ERR_INVALID_ENCODING,
16664 XML_ERR_EXT_ENTITY_STANDALONE,
16665 XML_ERR_CONDSEC_INVALID,
16666 XML_ERR_VALUE_REQUIRED,
16667 XML_ERR_NOT_WELL_BALANCED,
16668 XML_ERR_EXTRA_CONTENT,
16669 XML_ERR_ENTITY_CHAR_ERROR,
16670 XML_ERR_ENTITY_PE_INTERNAL,
16671 XML_ERR_ENTITY_LOOP,
16672 XML_ERR_ENTITY_BOUNDARY,
16673 XML_ERR_INVALID_URI,
16674 XML_ERR_URI_FRAGMENT,
16675 XML_WAR_CATALOG_PI,
16676 XML_ERR_NO_DTD,
16677 XML_ERR_CONDSEC_INVALID_KEYWORD,
16678 XML_ERR_VERSION_MISSING,
16679 XML_WAR_UNKNOWN_VERSION,
16680 XML_WAR_LANG_VALUE,
16681 XML_WAR_NS_URI,
16682 XML_WAR_NS_URI_RELATIVE,
16683 XML_ERR_MISSING_ENCODING,
16684 XML_WAR_SPACE_VALUE,
16685 XML_ERR_NOT_STANDALONE,
16686 XML_ERR_ENTITY_PROCESSING,
16687 XML_ERR_NOTATION_PROCESSING,
16688 XML_WAR_NS_COLUMN,
16689 XML_WAR_ENTITY_REDEFINED,
16690 XML_ERR_UNKNOWN_VERSION,
16691 XML_ERR_VERSION_MISMATCH,
16692 XML_NS_ERR_XML_NAMESPACE = 200,
16693 XML_NS_ERR_UNDEFINED_NAMESPACE,
16694 XML_NS_ERR_QNAME,
16695 XML_NS_ERR_ATTRIBUTE_REDEFINED,
16696 XML_NS_ERR_EMPTY,
16697 XML_NS_ERR_COLON,
16698 XML_DTD_ATTRIBUTE_DEFAULT = 500,
16699 XML_DTD_ATTRIBUTE_REDEFINED,
16700 XML_DTD_ATTRIBUTE_VALUE,
16701 XML_DTD_CONTENT_ERROR,
16702 XML_DTD_CONTENT_MODEL,
16703 XML_DTD_CONTENT_NOT_DETERMINIST,
16704 XML_DTD_DIFFERENT_PREFIX,
16705 XML_DTD_ELEM_DEFAULT_NAMESPACE,
16706 XML_DTD_ELEM_NAMESPACE,
16707 XML_DTD_ELEM_REDEFINED,
16708 XML_DTD_EMPTY_NOTATION,
16709 XML_DTD_ENTITY_TYPE,
16710 XML_DTD_ID_FIXED,
16711 XML_DTD_ID_REDEFINED,
16712 XML_DTD_ID_SUBSET,
16713 XML_DTD_INVALID_CHILD,
16714 XML_DTD_INVALID_DEFAULT,
16715 XML_DTD_LOAD_ERROR,
16716 XML_DTD_MISSING_ATTRIBUTE,
16717 XML_DTD_MIXED_CORRUPT,
16718 XML_DTD_MULTIPLE_ID,
16719 XML_DTD_NO_DOC,
16720 XML_DTD_NO_DTD,
16721 XML_DTD_NO_ELEM_NAME,
16722 XML_DTD_NO_PREFIX,
16723 XML_DTD_NO_ROOT,
16724 XML_DTD_NOTATION_REDEFINED,
16725 XML_DTD_NOTATION_VALUE,
16726 XML_DTD_NOT_EMPTY,
16727 XML_DTD_NOT_PCDATA,
16728 XML_DTD_NOT_STANDALONE,
16729 XML_DTD_ROOT_NAME,
16730 XML_DTD_STANDALONE_WHITE_SPACE,
16731 XML_DTD_UNKNOWN_ATTRIBUTE,
16732 XML_DTD_UNKNOWN_ELEM,
16733 XML_DTD_UNKNOWN_ENTITY,
16734 XML_DTD_UNKNOWN_ID,
16735 XML_DTD_UNKNOWN_NOTATION,
16736 XML_DTD_STANDALONE_DEFAULTED,
16737 XML_DTD_XMLID_VALUE,
16738 XML_DTD_XMLID_TYPE,
16739 XML_DTD_DUP_TOKEN,
16740 XML_HTML_STRUCURE_ERROR = 800,
16741 XML_HTML_UNKNOWN_TAG,
16742 XML_RNGP_ANYNAME_ATTR_ANCESTOR = 1000,
16743 XML_RNGP_ATTR_CONFLICT,
16744 XML_RNGP_ATTRIBUTE_CHILDREN,
16745 XML_RNGP_ATTRIBUTE_CONTENT,
16746 XML_RNGP_ATTRIBUTE_EMPTY,
16747 XML_RNGP_ATTRIBUTE_NOOP,
16748 XML_RNGP_CHOICE_CONTENT,
16749 XML_RNGP_CHOICE_EMPTY,
16750 XML_RNGP_CREATE_FAILURE,
16751 XML_RNGP_DATA_CONTENT,
16752 XML_RNGP_DEF_CHOICE_AND_INTERLEAVE,
16753 XML_RNGP_DEFINE_CREATE_FAILED,
16754 XML_RNGP_DEFINE_EMPTY,
16755 XML_RNGP_DEFINE_MISSING,
16756 XML_RNGP_DEFINE_NAME_MISSING,
16757 XML_RNGP_ELEM_CONTENT_EMPTY,
16758 XML_RNGP_ELEM_CONTENT_ERROR,
16759 XML_RNGP_ELEMENT_EMPTY,
16760 XML_RNGP_ELEMENT_CONTENT,
16761 XML_RNGP_ELEMENT_NAME,
16762 XML_RNGP_ELEMENT_NO_CONTENT,
16763 XML_RNGP_ELEM_TEXT_CONFLICT,
16764 XML_RNGP_EMPTY,
16765 XML_RNGP_EMPTY_CONSTRUCT,
16766 XML_RNGP_EMPTY_CONTENT,
16767 XML_RNGP_EMPTY_NOT_EMPTY,
16768 XML_RNGP_ERROR_TYPE_LIB,
16769 XML_RNGP_EXCEPT_EMPTY,
16770 XML_RNGP_EXCEPT_MISSING,
16771 XML_RNGP_EXCEPT_MULTIPLE,
16772 XML_RNGP_EXCEPT_NO_CONTENT,
16773 XML_RNGP_EXTERNALREF_EMTPY,
16774 XML_RNGP_EXTERNAL_REF_FAILURE,
16775 XML_RNGP_EXTERNALREF_RECURSE,
16776 XML_RNGP_FORBIDDEN_ATTRIBUTE,
16777 XML_RNGP_FOREIGN_ELEMENT,
16778 XML_RNGP_GRAMMAR_CONTENT,
16779 XML_RNGP_GRAMMAR_EMPTY,
16780 XML_RNGP_GRAMMAR_MISSING,
16781 XML_RNGP_GRAMMAR_NO_START,
16782 XML_RNGP_GROUP_ATTR_CONFLICT,
16783 XML_RNGP_HREF_ERROR,
16784 XML_RNGP_INCLUDE_EMPTY,
16785 XML_RNGP_INCLUDE_FAILURE,
16786 XML_RNGP_INCLUDE_RECURSE,
16787 XML_RNGP_INTERLEAVE_ADD,
16788 XML_RNGP_INTERLEAVE_CREATE_FAILED,
16789 XML_RNGP_INTERLEAVE_EMPTY,
16790 XML_RNGP_INTERLEAVE_NO_CONTENT,
16791 XML_RNGP_INVALID_DEFINE_NAME,
16792 XML_RNGP_INVALID_URI,
16793 XML_RNGP_INVALID_VALUE,
16794 XML_RNGP_MISSING_HREF,
16795 XML_RNGP_NAME_MISSING,
16796 XML_RNGP_NEED_COMBINE,
16797 XML_RNGP_NOTALLOWED_NOT_EMPTY,
16798 XML_RNGP_NSNAME_ATTR_ANCESTOR,
16799 XML_RNGP_NSNAME_NO_NS,
16800 XML_RNGP_PARAM_FORBIDDEN,
16801 XML_RNGP_PARAM_NAME_MISSING,
16802 XML_RNGP_PARENTREF_CREATE_FAILED,
16803 XML_RNGP_PARENTREF_NAME_INVALID,
16804 XML_RNGP_PARENTREF_NO_NAME,
16805 XML_RNGP_PARENTREF_NO_PARENT,
16806 XML_RNGP_PARENTREF_NOT_EMPTY,
16807 XML_RNGP_PARSE_ERROR,
16808 XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME,
16809 XML_RNGP_PAT_ATTR_ATTR,
16810 XML_RNGP_PAT_ATTR_ELEM,
16811 XML_RNGP_PAT_DATA_EXCEPT_ATTR,
16812 XML_RNGP_PAT_DATA_EXCEPT_ELEM,
16813 XML_RNGP_PAT_DATA_EXCEPT_EMPTY,
16814 XML_RNGP_PAT_DATA_EXCEPT_GROUP,
16815 XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE,
16816 XML_RNGP_PAT_DATA_EXCEPT_LIST,
16817 XML_RNGP_PAT_DATA_EXCEPT_ONEMORE,
16818 XML_RNGP_PAT_DATA_EXCEPT_REF,
16819 XML_RNGP_PAT_DATA_EXCEPT_TEXT,
16820 XML_RNGP_PAT_LIST_ATTR,
16821 XML_RNGP_PAT_LIST_ELEM,
16822 XML_RNGP_PAT_LIST_INTERLEAVE,
16823 XML_RNGP_PAT_LIST_LIST,
16824 XML_RNGP_PAT_LIST_REF,
16825 XML_RNGP_PAT_LIST_TEXT,
16826 XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME,
16827 XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME,
16828 XML_RNGP_PAT_ONEMORE_GROUP_ATTR,
16829 XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR,
16830 XML_RNGP_PAT_START_ATTR,
16831 XML_RNGP_PAT_START_DATA,
16832 XML_RNGP_PAT_START_EMPTY,
16833 XML_RNGP_PAT_START_GROUP,
16834 XML_RNGP_PAT_START_INTERLEAVE,
16835 XML_RNGP_PAT_START_LIST,
16836 XML_RNGP_PAT_START_ONEMORE,
16837 XML_RNGP_PAT_START_TEXT,
16838 XML_RNGP_PAT_START_VALUE,
16839 XML_RNGP_PREFIX_UNDEFINED,
16840 XML_RNGP_REF_CREATE_FAILED,
16841 XML_RNGP_REF_CYCLE,
16842 XML_RNGP_REF_NAME_INVALID,
16843 XML_RNGP_REF_NO_DEF,
16844 XML_RNGP_REF_NO_NAME,
16845 XML_RNGP_REF_NOT_EMPTY,
16846 XML_RNGP_START_CHOICE_AND_INTERLEAVE,
16847 XML_RNGP_START_CONTENT,
16848 XML_RNGP_START_EMPTY,
16849 XML_RNGP_START_MISSING,
16850 XML_RNGP_TEXT_EXPECTED,
16851 XML_RNGP_TEXT_HAS_CHILD,
16852 XML_RNGP_TYPE_MISSING,
16853 XML_RNGP_TYPE_NOT_FOUND,
16854 XML_RNGP_TYPE_VALUE,
16855 XML_RNGP_UNKNOWN_ATTRIBUTE,
16856 XML_RNGP_UNKNOWN_COMBINE,
16857 XML_RNGP_UNKNOWN_CONSTRUCT,
16858 XML_RNGP_UNKNOWN_TYPE_LIB,
16859 XML_RNGP_URI_FRAGMENT,
16860 XML_RNGP_URI_NOT_ABSOLUTE,
16861 XML_RNGP_VALUE_EMPTY,
16862 XML_RNGP_VALUE_NO_CONTENT,
16863 XML_RNGP_XMLNS_NAME,
16864 XML_RNGP_XML_NS,
16865 XML_XPATH_EXPRESSION_OK = 1200,
16866 XML_XPATH_NUMBER_ERROR,
16867 XML_XPATH_UNFINISHED_LITERAL_ERROR,
16868 XML_XPATH_START_LITERAL_ERROR,
16869 XML_XPATH_VARIABLE_REF_ERROR,
16870 XML_XPATH_UNDEF_VARIABLE_ERROR,
16871 XML_XPATH_INVALID_PREDICATE_ERROR,
16872 XML_XPATH_EXPR_ERROR,
16873 XML_XPATH_UNCLOSED_ERROR,
16874 XML_XPATH_UNKNOWN_FUNC_ERROR,
16875 XML_XPATH_INVALID_OPERAND,
16876 XML_XPATH_INVALID_TYPE,
16877 XML_XPATH_INVALID_ARITY,
16878 XML_XPATH_INVALID_CTXT_SIZE,
16879 XML_XPATH_INVALID_CTXT_POSITION,
16880 XML_XPATH_MEMORY_ERROR,
16881 XML_XPTR_SYNTAX_ERROR,
16882 XML_XPTR_RESOURCE_ERROR,
16883 XML_XPTR_SUB_RESOURCE_ERROR,
16884 XML_XPATH_UNDEF_PREFIX_ERROR,
16885 XML_XPATH_ENCODING_ERROR,
16886 XML_XPATH_INVALID_CHAR_ERROR,
16887 XML_TREE_INVALID_HEX = 1300,
16888 XML_TREE_INVALID_DEC,
16889 XML_TREE_UNTERMINATED_ENTITY,
16890 XML_TREE_NOT_UTF8,
16891 XML_SAVE_NOT_UTF8 = 1400,
16892 XML_SAVE_CHAR_INVALID,
16893 XML_SAVE_NO_DOCTYPE,
16894 XML_SAVE_UNKNOWN_ENCODING,
16895 XML_REGEXP_COMPILE_ERROR = 1450,
16896 XML_IO_UNKNOWN = 1500,
16897 XML_IO_EACCES,
16898 XML_IO_EAGAIN,
16899 XML_IO_EBADF,
16900 XML_IO_EBADMSG,
16901 XML_IO_EBUSY,
16902 XML_IO_ECANCELED,
16903 XML_IO_ECHILD,
16904 XML_IO_EDEADLK,
16905 XML_IO_EDOM,
16906 XML_IO_EEXIST,
16907 XML_IO_EFAULT,
16908 XML_IO_EFBIG,
16909 XML_IO_EINPROGRESS,
16910 XML_IO_EINTR,
16911 XML_IO_EINVAL,
16912 XML_IO_EIO,
16913 XML_IO_EISDIR,
16914 XML_IO_EMFILE,
16915 XML_IO_EMLINK,
16916 XML_IO_EMSGSIZE,
16917 XML_IO_ENAMETOOLONG,
16918 XML_IO_ENFILE,
16919 XML_IO_ENODEV,
16920 XML_IO_ENOENT,
16921 XML_IO_ENOEXEC,
16922 XML_IO_ENOLCK,
16923 XML_IO_ENOMEM,
16924 XML_IO_ENOSPC,
16925 XML_IO_ENOSYS,
16926 XML_IO_ENOTDIR,
16927 XML_IO_ENOTEMPTY,
16928 XML_IO_ENOTSUP,
16929 XML_IO_ENOTTY,
16930 XML_IO_ENXIO,
16931 XML_IO_EPERM,
16932 XML_IO_EPIPE,
16933 XML_IO_ERANGE,
16934 XML_IO_EROFS,
16935 XML_IO_ESPIPE,
16936 XML_IO_ESRCH,
16937 XML_IO_ETIMEDOUT,
16938 XML_IO_EXDEV,
16939 XML_IO_NETWORK_ATTEMPT,
16940 XML_IO_ENCODER,
16941 XML_IO_FLUSH,
16942 XML_IO_WRITE,
16943 XML_IO_NO_INPUT,
16944 XML_IO_BUFFER_FULL,
16945 XML_IO_LOAD_ERROR,
16946 XML_IO_ENOTSOCK,
16947 XML_IO_EISCONN,
16948 XML_IO_ECONNREFUSED,
16949 XML_IO_ENETUNREACH,
16950 XML_IO_EADDRINUSE,
16951 XML_IO_EALREADY,
16952 XML_IO_EAFNOSUPPORT,
16953 XML_XINCLUDE_RECURSION=1600,
16954 XML_XINCLUDE_PARSE_VALUE,
16955 XML_XINCLUDE_ENTITY_DEF_MISMATCH,
16956 XML_XINCLUDE_NO_HREF,
16957 XML_XINCLUDE_NO_FALLBACK,
16958 XML_XINCLUDE_HREF_URI,
16959 XML_XINCLUDE_TEXT_FRAGMENT,
16960 XML_XINCLUDE_TEXT_DOCUMENT,
16961 XML_XINCLUDE_INVALID_CHAR,
16962 XML_XINCLUDE_BUILD_FAILED,
16963 XML_XINCLUDE_UNKNOWN_ENCODING,
16964 XML_XINCLUDE_MULTIPLE_ROOT,
16965 XML_XINCLUDE_XPTR_FAILED,
16966 XML_XINCLUDE_XPTR_RESULT,
16967 XML_XINCLUDE_INCLUDE_IN_INCLUDE,
16968 XML_XINCLUDE_FALLBACKS_IN_INCLUDE,
16969 XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE,
16970 XML_XINCLUDE_DEPRECATED_NS,
16971 XML_XINCLUDE_FRAGMENT_ID,
16972 XML_CATALOG_MISSING_ATTR = 1650,
16973 XML_CATALOG_ENTRY_BROKEN,
16974 XML_CATALOG_PREFER_VALUE,
16975 XML_CATALOG_NOT_CATALOG,
16976 XML_CATALOG_RECURSION,
16977 XML_SCHEMAP_PREFIX_UNDEFINED = 1700,
16978 XML_SCHEMAP_ATTRFORMDEFAULT_VALUE,
16979 XML_SCHEMAP_ATTRGRP_NONAME_NOREF,
16980 XML_SCHEMAP_ATTR_NONAME_NOREF,
16981 XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF,
16982 XML_SCHEMAP_ELEMFORMDEFAULT_VALUE,
16983 XML_SCHEMAP_ELEM_NONAME_NOREF,
16984 XML_SCHEMAP_EXTENSION_NO_BASE,
16985 XML_SCHEMAP_FACET_NO_VALUE,
16986 XML_SCHEMAP_FAILED_BUILD_IMPORT,
16987 XML_SCHEMAP_GROUP_NONAME_NOREF,
16988 XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI,
16989 XML_SCHEMAP_IMPORT_REDEFINE_NSNAME,
16990 XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI,
16991 XML_SCHEMAP_INVALID_BOOLEAN,
16992 XML_SCHEMAP_INVALID_ENUM,
16993 XML_SCHEMAP_INVALID_FACET,
16994 XML_SCHEMAP_INVALID_FACET_VALUE,
16995 XML_SCHEMAP_INVALID_MAXOCCURS,
16996 XML_SCHEMAP_INVALID_MINOCCURS,
16997 XML_SCHEMAP_INVALID_REF_AND_SUBTYPE,
16998 XML_SCHEMAP_INVALID_WHITE_SPACE,
16999 XML_SCHEMAP_NOATTR_NOREF,
17000 XML_SCHEMAP_NOTATION_NO_NAME,
17001 XML_SCHEMAP_NOTYPE_NOREF,
17002 XML_SCHEMAP_REF_AND_SUBTYPE,
17003 XML_SCHEMAP_RESTRICTION_NONAME_NOREF,
17004 XML_SCHEMAP_SIMPLETYPE_NONAME,
17005 XML_SCHEMAP_TYPE_AND_SUBTYPE,
17006 XML_SCHEMAP_UNKNOWN_ALL_CHILD,
17007 XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD,
17008 XML_SCHEMAP_UNKNOWN_ATTR_CHILD,
17009 XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD,
17010 XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP,
17011 XML_SCHEMAP_UNKNOWN_BASE_TYPE,
17012 XML_SCHEMAP_UNKNOWN_CHOICE_CHILD,
17013 XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD,
17014 XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD,
17015 XML_SCHEMAP_UNKNOWN_ELEM_CHILD,
17016 XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD,
17017 XML_SCHEMAP_UNKNOWN_FACET_CHILD,
17018 XML_SCHEMAP_UNKNOWN_FACET_TYPE,
17019 XML_SCHEMAP_UNKNOWN_GROUP_CHILD,
17020 XML_SCHEMAP_UNKNOWN_IMPORT_CHILD,
17021 XML_SCHEMAP_UNKNOWN_LIST_CHILD,
17022 XML_SCHEMAP_UNKNOWN_NOTATION_CHILD,
17023 XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD,
17024 XML_SCHEMAP_UNKNOWN_REF,
17025 XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD,
17026 XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD,
17027 XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD,
17028 XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD,
17029 XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD,
17030 XML_SCHEMAP_UNKNOWN_TYPE,
17031 XML_SCHEMAP_UNKNOWN_UNION_CHILD,
17032 XML_SCHEMAP_ELEM_DEFAULT_FIXED,
17033 XML_SCHEMAP_REGEXP_INVALID,
17034 XML_SCHEMAP_FAILED_LOAD,
17035 XML_SCHEMAP_NOTHING_TO_PARSE,
17036 XML_SCHEMAP_NOROOT,
17037 XML_SCHEMAP_REDEFINED_GROUP,
17038 XML_SCHEMAP_REDEFINED_TYPE,
17039 XML_SCHEMAP_REDEFINED_ELEMENT,
17040 XML_SCHEMAP_REDEFINED_ATTRGROUP,
17041 XML_SCHEMAP_REDEFINED_ATTR,
17042 XML_SCHEMAP_REDEFINED_NOTATION,
17043 XML_SCHEMAP_FAILED_PARSE,
17044 XML_SCHEMAP_UNKNOWN_PREFIX,
17045 XML_SCHEMAP_DEF_AND_PREFIX,
17046 XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD,
17047 XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI,
17048 XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI,
17049 XML_SCHEMAP_NOT_SCHEMA,
17050 XML_SCHEMAP_UNKNOWN_MEMBER_TYPE,
17051 XML_SCHEMAP_INVALID_ATTR_USE,
17052 XML_SCHEMAP_RECURSIVE,
17053 XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE,
17054 XML_SCHEMAP_INVALID_ATTR_COMBINATION,
17055 XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION,
17056 XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD,
17057 XML_SCHEMAP_INVALID_ATTR_NAME,
17058 XML_SCHEMAP_REF_AND_CONTENT,
17059 XML_SCHEMAP_CT_PROPS_CORRECT_1,
17060 XML_SCHEMAP_CT_PROPS_CORRECT_2,
17061 XML_SCHEMAP_CT_PROPS_CORRECT_3,
17062 XML_SCHEMAP_CT_PROPS_CORRECT_4,
17063 XML_SCHEMAP_CT_PROPS_CORRECT_5,
17064 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1,
17065 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1,
17066 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2,
17067 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2,
17068 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3,
17069 XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER,
17070 XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE,
17071 XML_SCHEMAP_UNION_NOT_EXPRESSIBLE,
17072 XML_SCHEMAP_SRC_IMPORT_3_1,
17073 XML_SCHEMAP_SRC_IMPORT_3_2,
17074 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1,
17075 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2,
17076 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3,
17077 XML_SCHEMAP_COS_CT_EXTENDS_1_3,
17078 XML_SCHEMAV_NOROOT = 1801,
17079 XML_SCHEMAV_UNDECLAREDELEM,
17080 XML_SCHEMAV_NOTTOPLEVEL,
17081 XML_SCHEMAV_MISSING,
17082 XML_SCHEMAV_WRONGELEM,
17083 XML_SCHEMAV_NOTYPE,
17084 XML_SCHEMAV_NOROLLBACK,
17085 XML_SCHEMAV_ISABSTRACT,
17086 XML_SCHEMAV_NOTEMPTY,
17087 XML_SCHEMAV_ELEMCONT,
17088 XML_SCHEMAV_HAVEDEFAULT,
17089 XML_SCHEMAV_NOTNILLABLE,
17090 XML_SCHEMAV_EXTRACONTENT,
17091 XML_SCHEMAV_INVALIDATTR,
17092 XML_SCHEMAV_INVALIDELEM,
17093 XML_SCHEMAV_NOTDETERMINIST,
17094 XML_SCHEMAV_CONSTRUCT,
17095 XML_SCHEMAV_INTERNAL,
17096 XML_SCHEMAV_NOTSIMPLE,
17097 XML_SCHEMAV_ATTRUNKNOWN,
17098 XML_SCHEMAV_ATTRINVALID,
17099 XML_SCHEMAV_VALUE,
17100 XML_SCHEMAV_FACET,
17101 XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1,
17102 XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2,
17103 XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3,
17104 XML_SCHEMAV_CVC_TYPE_3_1_1,
17105 XML_SCHEMAV_CVC_TYPE_3_1_2,
17106 XML_SCHEMAV_CVC_FACET_VALID,
17107 XML_SCHEMAV_CVC_LENGTH_VALID,
17108 XML_SCHEMAV_CVC_MINLENGTH_VALID,
17109 XML_SCHEMAV_CVC_MAXLENGTH_VALID,
17110 XML_SCHEMAV_CVC_MININCLUSIVE_VALID,
17111 XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID,
17112 XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID,
17113 XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID,
17114 XML_SCHEMAV_CVC_TOTALDIGITS_VALID,
17115 XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID,
17116 XML_SCHEMAV_CVC_PATTERN_VALID,
17117 XML_SCHEMAV_CVC_ENUMERATION_VALID,
17118 XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1,
17119 XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2,
17120 XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3,
17121 XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4,
17122 XML_SCHEMAV_CVC_ELT_1,
17123 XML_SCHEMAV_CVC_ELT_2,
17124 XML_SCHEMAV_CVC_ELT_3_1,
17125 XML_SCHEMAV_CVC_ELT_3_2_1,
17126 XML_SCHEMAV_CVC_ELT_3_2_2,
17127 XML_SCHEMAV_CVC_ELT_4_1,
17128 XML_SCHEMAV_CVC_ELT_4_2,
17129 XML_SCHEMAV_CVC_ELT_4_3,
17130 XML_SCHEMAV_CVC_ELT_5_1_1,
17131 XML_SCHEMAV_CVC_ELT_5_1_2,
17132 XML_SCHEMAV_CVC_ELT_5_2_1,
17133 XML_SCHEMAV_CVC_ELT_5_2_2_1,
17134 XML_SCHEMAV_CVC_ELT_5_2_2_2_1,
17135 XML_SCHEMAV_CVC_ELT_5_2_2_2_2,
17136 XML_SCHEMAV_CVC_ELT_6,
17137 XML_SCHEMAV_CVC_ELT_7,
17138 XML_SCHEMAV_CVC_ATTRIBUTE_1,
17139 XML_SCHEMAV_CVC_ATTRIBUTE_2,
17140 XML_SCHEMAV_CVC_ATTRIBUTE_3,
17141 XML_SCHEMAV_CVC_ATTRIBUTE_4,
17142 XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1,
17143 XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1,
17144 XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2,
17145 XML_SCHEMAV_CVC_COMPLEX_TYPE_4,
17146 XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1,
17147 XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2,
17148 XML_SCHEMAV_ELEMENT_CONTENT,
17149 XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING,
17150 XML_SCHEMAV_CVC_COMPLEX_TYPE_1,
17151 XML_SCHEMAV_CVC_AU,
17152 XML_SCHEMAV_CVC_TYPE_1,
17153 XML_SCHEMAV_CVC_TYPE_2,
17154 XML_SCHEMAV_CVC_IDC,
17155 XML_SCHEMAV_CVC_WILDCARD,
17156 XML_SCHEMAV_MISC,
17157 XML_XPTR_UNKNOWN_SCHEME = 1900,
17158 XML_XPTR_CHILDSEQ_START,
17159 XML_XPTR_EVAL_FAILED,
17160 XML_XPTR_EXTRA_OBJECTS,
17161 XML_C14N_CREATE_CTXT = 1950,
17162 XML_C14N_REQUIRES_UTF8,
17163 XML_C14N_CREATE_STACK,
17164 XML_C14N_INVALID_NODE,
17165 XML_C14N_UNKNOW_NODE,
17166 XML_C14N_RELATIVE_NAMESPACE,
17167 XML_FTP_PASV_ANSWER = 2000,
17168 XML_FTP_EPSV_ANSWER,
17169 XML_FTP_ACCNT,
17170 XML_FTP_URL_SYNTAX,
17171 XML_HTTP_URL_SYNTAX = 2020,
17172 XML_HTTP_USE_IP,
17173 XML_HTTP_UNKNOWN_HOST,
17174 XML_SCHEMAP_SRC_SIMPLE_TYPE_1 = 3000,
17175 XML_SCHEMAP_SRC_SIMPLE_TYPE_2,
17176 XML_SCHEMAP_SRC_SIMPLE_TYPE_3,
17177 XML_SCHEMAP_SRC_SIMPLE_TYPE_4,
17178 XML_SCHEMAP_SRC_RESOLVE,
17179 XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE,
17180 XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE,
17181 XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES,
17182 XML_SCHEMAP_ST_PROPS_CORRECT_1,
17183 XML_SCHEMAP_ST_PROPS_CORRECT_2,
17184 XML_SCHEMAP_ST_PROPS_CORRECT_3,
17185 XML_SCHEMAP_COS_ST_RESTRICTS_1_1,
17186 XML_SCHEMAP_COS_ST_RESTRICTS_1_2,
17187 XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1,
17188 XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2,
17189 XML_SCHEMAP_COS_ST_RESTRICTS_2_1,
17190 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1,
17191 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2,
17192 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1,
17193 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2,
17194 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3,
17195 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4,
17196 XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5,
17197 XML_SCHEMAP_COS_ST_RESTRICTS_3_1,
17198 XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1,
17199 XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2,
17200 XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2,
17201 XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1,
17202 XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3,
17203 XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4,
17204 XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5,
17205 XML_SCHEMAP_COS_ST_DERIVED_OK_2_1,
17206 XML_SCHEMAP_COS_ST_DERIVED_OK_2_2,
17207 XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED,
17208 XML_SCHEMAP_S4S_ELEM_MISSING,
17209 XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED,
17210 XML_SCHEMAP_S4S_ATTR_MISSING,
17211 XML_SCHEMAP_S4S_ATTR_INVALID_VALUE,
17212 XML_SCHEMAP_SRC_ELEMENT_1,
17213 XML_SCHEMAP_SRC_ELEMENT_2_1,
17214 XML_SCHEMAP_SRC_ELEMENT_2_2,
17215 XML_SCHEMAP_SRC_ELEMENT_3,
17216 XML_SCHEMAP_P_PROPS_CORRECT_1,
17217 XML_SCHEMAP_P_PROPS_CORRECT_2_1,
17218 XML_SCHEMAP_P_PROPS_CORRECT_2_2,
17219 XML_SCHEMAP_E_PROPS_CORRECT_2,
17220 XML_SCHEMAP_E_PROPS_CORRECT_3,
17221 XML_SCHEMAP_E_PROPS_CORRECT_4,
17222 XML_SCHEMAP_E_PROPS_CORRECT_5,
17223 XML_SCHEMAP_E_PROPS_CORRECT_6,
17224 XML_SCHEMAP_SRC_INCLUDE,
17225 XML_SCHEMAP_SRC_ATTRIBUTE_1,
17226 XML_SCHEMAP_SRC_ATTRIBUTE_2,
17227 XML_SCHEMAP_SRC_ATTRIBUTE_3_1,
17228 XML_SCHEMAP_SRC_ATTRIBUTE_3_2,
17229 XML_SCHEMAP_SRC_ATTRIBUTE_4,
17230 XML_SCHEMAP_NO_XMLNS,
17231 XML_SCHEMAP_NO_XSI,
17232 XML_SCHEMAP_COS_VALID_DEFAULT_1,
17233 XML_SCHEMAP_COS_VALID_DEFAULT_2_1,
17234 XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1,
17235 XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2,
17236 XML_SCHEMAP_CVC_SIMPLE_TYPE,
17237 XML_SCHEMAP_COS_CT_EXTENDS_1_1,
17238 XML_SCHEMAP_SRC_IMPORT_1_1,
17239 XML_SCHEMAP_SRC_IMPORT_1_2,
17240 XML_SCHEMAP_SRC_IMPORT_2,
17241 XML_SCHEMAP_SRC_IMPORT_2_1,
17242 XML_SCHEMAP_SRC_IMPORT_2_2,
17243 XML_SCHEMAP_INTERNAL,
17244 XML_SCHEMAP_NOT_DETERMINISTIC,
17245 XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1,
17246 XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2,
17247 XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3,
17248 XML_SCHEMAP_MG_PROPS_CORRECT_1,
17249 XML_SCHEMAP_MG_PROPS_CORRECT_2,
17250 XML_SCHEMAP_SRC_CT_1,
17251 XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3,
17252 XML_SCHEMAP_AU_PROPS_CORRECT_2,
17253 XML_SCHEMAP_A_PROPS_CORRECT_2,
17254 XML_SCHEMAP_C_PROPS_CORRECT,
17255 XML_SCHEMAP_SRC_REDEFINE,
17256 XML_SCHEMAP_SRC_IMPORT,
17257 XML_SCHEMAP_WARN_SKIP_SCHEMA,
17258 XML_SCHEMAP_WARN_UNLOCATED_SCHEMA,
17259 XML_SCHEMAP_WARN_ATTR_REDECL_PROH,
17260 XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH,
17261 XML_SCHEMAP_AG_PROPS_CORRECT,
17262 XML_SCHEMAP_COS_CT_EXTENDS_1_2,
17263 XML_SCHEMAP_AU_PROPS_CORRECT,
17264 XML_SCHEMAP_A_PROPS_CORRECT_3,
17265 XML_SCHEMAP_COS_ALL_LIMITED,
17266 XML_SCHEMATRONV_ASSERT = 4000,
17267 XML_SCHEMATRONV_REPORT,
17268 XML_MODULE_OPEN = 4900,
17269 XML_MODULE_CLOSE,
17270 XML_CHECK_FOUND_ELEMENT = 5000,
17271 XML_CHECK_FOUND_ATTRIBUTE,
17272 XML_CHECK_FOUND_TEXT,
17273 XML_CHECK_FOUND_CDATA,
17274 XML_CHECK_FOUND_ENTITYREF,
17275 XML_CHECK_FOUND_ENTITY,
17276 XML_CHECK_FOUND_PI,
17277 XML_CHECK_FOUND_COMMENT,
17278 XML_CHECK_FOUND_DOCTYPE,
17279 XML_CHECK_FOUND_FRAGMENT,
17280 XML_CHECK_FOUND_NOTATION,
17281 XML_CHECK_UNKNOWN_NODE,
17282 XML_CHECK_ENTITY_TYPE,
17283 XML_CHECK_NO_PARENT,
17284 XML_CHECK_NO_DOC,
17285 XML_CHECK_NO_NAME,
17286 XML_CHECK_NO_ELEM,
17287 XML_CHECK_WRONG_DOC,
17288 XML_CHECK_NO_PREV,
17289 XML_CHECK_WRONG_PREV,
17290 XML_CHECK_NO_NEXT,
17291 XML_CHECK_WRONG_NEXT,
17292 XML_CHECK_NOT_DTD,
17293 XML_CHECK_NOT_ATTR,
17294 XML_CHECK_NOT_ATTR_DECL,
17295 XML_CHECK_NOT_ELEM_DECL,
17296 XML_CHECK_NOT_ENTITY_DECL,
17297 XML_CHECK_NOT_NS_DECL,
17298 XML_CHECK_NO_HREF,
17299 XML_CHECK_WRONG_PARENT,
17300 XML_CHECK_NS_SCOPE,
17301 XML_CHECK_NS_ANCESTOR,
17302 XML_CHECK_NOT_UTF8,
17303 XML_CHECK_NO_DICT,
17304 XML_CHECK_NOT_NCNAME,
17305 XML_CHECK_OUTSIDE_DICT,
17306 XML_CHECK_WRONG_NAME,
17307 XML_CHECK_NAME_NOT_NULL,
17308 XML_I18N_NO_NAME = 6000,
17309 XML_I18N_NO_HANDLER,
17310 XML_I18N_EXCESS_HANDLER,
17311 XML_I18N_CONV_FAILED,
17312 XML_I18N_NO_OUTPUT
17313
17314
17315
17316
17317} xmlParserErrors;
17318# 844 "/usr/include/libxml2/libxml/xmlerror.h"
17319typedef void ( *xmlGenericErrorFunc) (void *ctx,
17320 const char *msg,
17321 ...) __attribute__((__format__(__printf__,2,3)));
17322# 855 "/usr/include/libxml2/libxml/xmlerror.h"
17323typedef void ( *xmlStructuredErrorFunc) (void *userData, xmlErrorPtr error);
17324
17325
17326
17327
17328
17329 void
17330 xmlSetGenericErrorFunc (void *ctx,
17331 xmlGenericErrorFunc handler);
17332 void
17333 initGenericErrorDefaultFunc (xmlGenericErrorFunc *handler);
17334
17335 void
17336 xmlSetStructuredErrorFunc (void *ctx,
17337 xmlStructuredErrorFunc handler);
17338
17339
17340
17341
17342 void
17343 xmlParserError (void *ctx,
17344 const char *msg,
17345 ...) __attribute__((__format__(__printf__,2,3)));
17346 void
17347 xmlParserWarning (void *ctx,
17348 const char *msg,
17349 ...) __attribute__((__format__(__printf__,2,3)));
17350 void
17351 xmlParserValidityError (void *ctx,
17352 const char *msg,
17353 ...) __attribute__((__format__(__printf__,2,3)));
17354 void
17355 xmlParserValidityWarning (void *ctx,
17356 const char *msg,
17357 ...) __attribute__((__format__(__printf__,2,3)));
17358 void
17359 xmlParserPrintFileInfo (xmlParserInputPtr input);
17360 void
17361 xmlParserPrintFileContext (xmlParserInputPtr input);
17362
17363
17364
17365
17366 xmlErrorPtr
17367 xmlGetLastError (void);
17368 void
17369 xmlResetLastError (void);
17370 xmlErrorPtr
17371 xmlCtxtGetLastError (void *ctx);
17372 void
17373 xmlCtxtResetLastError (void *ctx);
17374 void
17375 xmlResetError (xmlErrorPtr err);
17376 int
17377 xmlCopyError (xmlErrorPtr from,
17378 xmlErrorPtr to);
17379# 16 "/usr/include/libxml2/libxml/valid.h" 2
17380
17381# 1 "/usr/include/libxml2/libxml/list.h" 1
17382# 20 "/usr/include/libxml2/libxml/list.h"
17383typedef struct _xmlLink xmlLink;
17384typedef xmlLink *xmlLinkPtr;
17385
17386typedef struct _xmlList xmlList;
17387typedef xmlList *xmlListPtr;
17388
17389
17390
17391
17392
17393
17394
17395typedef void (*xmlListDeallocator) (xmlLinkPtr lk);
17396# 42 "/usr/include/libxml2/libxml/list.h"
17397typedef int (*xmlListDataCompare) (const void *data0, const void *data1);
17398# 52 "/usr/include/libxml2/libxml/list.h"
17399typedef int (*xmlListWalker) (const void *data, const void *user);
17400
17401
17402 xmlListPtr
17403 xmlListCreate (xmlListDeallocator deallocator,
17404 xmlListDataCompare compare);
17405 void
17406 xmlListDelete (xmlListPtr l);
17407
17408
17409 void *
17410 xmlListSearch (xmlListPtr l,
17411 void *data);
17412 void *
17413 xmlListReverseSearch (xmlListPtr l,
17414 void *data);
17415 int
17416 xmlListInsert (xmlListPtr l,
17417 void *data) ;
17418 int
17419 xmlListAppend (xmlListPtr l,
17420 void *data) ;
17421 int
17422 xmlListRemoveFirst (xmlListPtr l,
17423 void *data);
17424 int
17425 xmlListRemoveLast (xmlListPtr l,
17426 void *data);
17427 int
17428 xmlListRemoveAll (xmlListPtr l,
17429 void *data);
17430 void
17431 xmlListClear (xmlListPtr l);
17432 int
17433 xmlListEmpty (xmlListPtr l);
17434 xmlLinkPtr
17435 xmlListFront (xmlListPtr l);
17436 xmlLinkPtr
17437 xmlListEnd (xmlListPtr l);
17438 int
17439 xmlListSize (xmlListPtr l);
17440
17441 void
17442 xmlListPopFront (xmlListPtr l);
17443 void
17444 xmlListPopBack (xmlListPtr l);
17445 int
17446 xmlListPushFront (xmlListPtr l,
17447 void *data);
17448 int
17449 xmlListPushBack (xmlListPtr l,
17450 void *data);
17451
17452
17453 void
17454 xmlListReverse (xmlListPtr l);
17455 void
17456 xmlListSort (xmlListPtr l);
17457 void
17458 xmlListWalk (xmlListPtr l,
17459 xmlListWalker walker,
17460 const void *user);
17461 void
17462 xmlListReverseWalk (xmlListPtr l,
17463 xmlListWalker walker,
17464 const void *user);
17465 void
17466 xmlListMerge (xmlListPtr l1,
17467 xmlListPtr l2);
17468 xmlListPtr
17469 xmlListDup (const xmlListPtr old);
17470 int
17471 xmlListCopy (xmlListPtr cur,
17472 const xmlListPtr old);
17473
17474 void *
17475 xmlLinkGetData (xmlLinkPtr lk);
17476# 18 "/usr/include/libxml2/libxml/valid.h" 2
17477# 1 "/usr/include/libxml2/libxml/xmlautomata.h" 1
17478# 29 "/usr/include/libxml2/libxml/xmlautomata.h"
17479typedef struct _xmlAutomata xmlAutomata;
17480typedef xmlAutomata *xmlAutomataPtr;
17481
17482
17483
17484
17485
17486
17487typedef struct _xmlAutomataState xmlAutomataState;
17488typedef xmlAutomataState *xmlAutomataStatePtr;
17489
17490
17491
17492
17493 xmlAutomataPtr
17494 xmlNewAutomata (void);
17495 void
17496 xmlFreeAutomata (xmlAutomataPtr am);
17497
17498 xmlAutomataStatePtr
17499 xmlAutomataGetInitState (xmlAutomataPtr am);
17500 int
17501 xmlAutomataSetFinalState (xmlAutomataPtr am,
17502 xmlAutomataStatePtr state);
17503 xmlAutomataStatePtr
17504 xmlAutomataNewState (xmlAutomataPtr am);
17505 xmlAutomataStatePtr
17506 xmlAutomataNewTransition (xmlAutomataPtr am,
17507 xmlAutomataStatePtr from,
17508 xmlAutomataStatePtr to,
17509 const xmlChar *token,
17510 void *data);
17511 xmlAutomataStatePtr
17512 xmlAutomataNewTransition2 (xmlAutomataPtr am,
17513 xmlAutomataStatePtr from,
17514 xmlAutomataStatePtr to,
17515 const xmlChar *token,
17516 const xmlChar *token2,
17517 void *data);
17518 xmlAutomataStatePtr
17519 xmlAutomataNewNegTrans (xmlAutomataPtr am,
17520 xmlAutomataStatePtr from,
17521 xmlAutomataStatePtr to,
17522 const xmlChar *token,
17523 const xmlChar *token2,
17524 void *data);
17525
17526 xmlAutomataStatePtr
17527 xmlAutomataNewCountTrans (xmlAutomataPtr am,
17528 xmlAutomataStatePtr from,
17529 xmlAutomataStatePtr to,
17530 const xmlChar *token,
17531 int min,
17532 int max,
17533 void *data);
17534 xmlAutomataStatePtr
17535 xmlAutomataNewCountTrans2 (xmlAutomataPtr am,
17536 xmlAutomataStatePtr from,
17537 xmlAutomataStatePtr to,
17538 const xmlChar *token,
17539 const xmlChar *token2,
17540 int min,
17541 int max,
17542 void *data);
17543 xmlAutomataStatePtr
17544 xmlAutomataNewOnceTrans (xmlAutomataPtr am,
17545 xmlAutomataStatePtr from,
17546 xmlAutomataStatePtr to,
17547 const xmlChar *token,
17548 int min,
17549 int max,
17550 void *data);
17551 xmlAutomataStatePtr
17552 xmlAutomataNewOnceTrans2 (xmlAutomataPtr am,
17553 xmlAutomataStatePtr from,
17554 xmlAutomataStatePtr to,
17555 const xmlChar *token,
17556 const xmlChar *token2,
17557 int min,
17558 int max,
17559 void *data);
17560 xmlAutomataStatePtr
17561 xmlAutomataNewAllTrans (xmlAutomataPtr am,
17562 xmlAutomataStatePtr from,
17563 xmlAutomataStatePtr to,
17564 int lax);
17565 xmlAutomataStatePtr
17566 xmlAutomataNewEpsilon (xmlAutomataPtr am,
17567 xmlAutomataStatePtr from,
17568 xmlAutomataStatePtr to);
17569 xmlAutomataStatePtr
17570 xmlAutomataNewCountedTrans (xmlAutomataPtr am,
17571 xmlAutomataStatePtr from,
17572 xmlAutomataStatePtr to,
17573 int counter);
17574 xmlAutomataStatePtr
17575 xmlAutomataNewCounterTrans (xmlAutomataPtr am,
17576 xmlAutomataStatePtr from,
17577 xmlAutomataStatePtr to,
17578 int counter);
17579 int
17580 xmlAutomataNewCounter (xmlAutomataPtr am,
17581 int min,
17582 int max);
17583
17584 xmlRegexpPtr
17585 xmlAutomataCompile (xmlAutomataPtr am);
17586 int
17587 xmlAutomataIsDeterminist (xmlAutomataPtr am);
17588# 19 "/usr/include/libxml2/libxml/valid.h" 2
17589# 28 "/usr/include/libxml2/libxml/valid.h"
17590typedef struct _xmlValidState xmlValidState;
17591typedef xmlValidState *xmlValidStatePtr;
17592# 42 "/usr/include/libxml2/libxml/valid.h"
17593typedef void ( *xmlValidityErrorFunc) (void *ctx,
17594 const char *msg,
17595 ...) __attribute__((__format__(__printf__,2,3)));
17596# 57 "/usr/include/libxml2/libxml/valid.h"
17597typedef void ( *xmlValidityWarningFunc) (void *ctx,
17598 const char *msg,
17599 ...) __attribute__((__format__(__printf__,2,3)));
17600# 80 "/usr/include/libxml2/libxml/valid.h"
17601typedef struct _xmlValidCtxt xmlValidCtxt;
17602typedef xmlValidCtxt *xmlValidCtxtPtr;
17603struct _xmlValidCtxt {
17604 void *userData;
17605 xmlValidityErrorFunc error;
17606 xmlValidityWarningFunc warning;
17607
17608
17609 xmlNodePtr node;
17610 int nodeNr;
17611 int nodeMax;
17612 xmlNodePtr *nodeTab;
17613
17614 unsigned int finishDtd;
17615 xmlDocPtr doc;
17616 int valid;
17617
17618
17619 xmlValidState *vstate;
17620 int vstateNr;
17621 int vstateMax;
17622 xmlValidState *vstateTab;
17623
17624
17625 xmlAutomataPtr am;
17626 xmlAutomataStatePtr state;
17627
17628
17629
17630
17631};
17632
17633
17634
17635
17636
17637
17638typedef struct _xmlHashTable xmlNotationTable;
17639typedef xmlNotationTable *xmlNotationTablePtr;
17640
17641
17642
17643
17644
17645
17646typedef struct _xmlHashTable xmlElementTable;
17647typedef xmlElementTable *xmlElementTablePtr;
17648
17649
17650
17651
17652
17653
17654typedef struct _xmlHashTable xmlAttributeTable;
17655typedef xmlAttributeTable *xmlAttributeTablePtr;
17656
17657
17658
17659
17660
17661
17662typedef struct _xmlHashTable xmlIDTable;
17663typedef xmlIDTable *xmlIDTablePtr;
17664
17665
17666
17667
17668
17669
17670typedef struct _xmlHashTable xmlRefTable;
17671typedef xmlRefTable *xmlRefTablePtr;
17672
17673
17674 xmlNotationPtr
17675 xmlAddNotationDecl (xmlValidCtxtPtr ctxt,
17676 xmlDtdPtr dtd,
17677 const xmlChar *name,
17678 const xmlChar *PublicID,
17679 const xmlChar *SystemID);
17680
17681 xmlNotationTablePtr
17682 xmlCopyNotationTable (xmlNotationTablePtr table);
17683
17684 void
17685 xmlFreeNotationTable (xmlNotationTablePtr table);
17686
17687 void
17688 xmlDumpNotationDecl (xmlBufferPtr buf,
17689 xmlNotationPtr nota);
17690 void
17691 xmlDumpNotationTable (xmlBufferPtr buf,
17692 xmlNotationTablePtr table);
17693
17694
17695
17696
17697 xmlElementContentPtr
17698 xmlNewElementContent (const xmlChar *name,
17699 xmlElementContentType type);
17700 xmlElementContentPtr
17701 xmlCopyElementContent (xmlElementContentPtr content);
17702 void
17703 xmlFreeElementContent (xmlElementContentPtr cur);
17704
17705 xmlElementContentPtr
17706 xmlNewDocElementContent (xmlDocPtr doc,
17707 const xmlChar *name,
17708 xmlElementContentType type);
17709 xmlElementContentPtr
17710 xmlCopyDocElementContent(xmlDocPtr doc,
17711 xmlElementContentPtr content);
17712 void
17713 xmlFreeDocElementContent(xmlDocPtr doc,
17714 xmlElementContentPtr cur);
17715 void
17716 xmlSnprintfElementContent(char *buf,
17717 int size,
17718 xmlElementContentPtr content,
17719 int englob);
17720
17721
17722 void
17723 xmlSprintfElementContent(char *buf,
17724 xmlElementContentPtr content,
17725 int englob);
17726
17727
17728
17729
17730 xmlElementPtr
17731 xmlAddElementDecl (xmlValidCtxtPtr ctxt,
17732 xmlDtdPtr dtd,
17733 const xmlChar *name,
17734 xmlElementTypeVal type,
17735 xmlElementContentPtr content);
17736
17737 xmlElementTablePtr
17738 xmlCopyElementTable (xmlElementTablePtr table);
17739
17740 void
17741 xmlFreeElementTable (xmlElementTablePtr table);
17742
17743 void
17744 xmlDumpElementTable (xmlBufferPtr buf,
17745 xmlElementTablePtr table);
17746 void
17747 xmlDumpElementDecl (xmlBufferPtr buf,
17748 xmlElementPtr elem);
17749
17750
17751
17752 xmlEnumerationPtr
17753 xmlCreateEnumeration (const xmlChar *name);
17754 void
17755 xmlFreeEnumeration (xmlEnumerationPtr cur);
17756
17757 xmlEnumerationPtr
17758 xmlCopyEnumeration (xmlEnumerationPtr cur);
17759
17760
17761
17762 xmlAttributePtr
17763 xmlAddAttributeDecl (xmlValidCtxtPtr ctxt,
17764 xmlDtdPtr dtd,
17765 const xmlChar *elem,
17766 const xmlChar *name,
17767 const xmlChar *ns,
17768 xmlAttributeType type,
17769 xmlAttributeDefault def,
17770 const xmlChar *defaultValue,
17771 xmlEnumerationPtr tree);
17772
17773 xmlAttributeTablePtr
17774 xmlCopyAttributeTable (xmlAttributeTablePtr table);
17775
17776 void
17777 xmlFreeAttributeTable (xmlAttributeTablePtr table);
17778
17779 void
17780 xmlDumpAttributeTable (xmlBufferPtr buf,
17781 xmlAttributeTablePtr table);
17782 void
17783 xmlDumpAttributeDecl (xmlBufferPtr buf,
17784 xmlAttributePtr attr);
17785
17786
17787
17788 xmlIDPtr
17789 xmlAddID (xmlValidCtxtPtr ctxt,
17790 xmlDocPtr doc,
17791 const xmlChar *value,
17792 xmlAttrPtr attr);
17793 void
17794 xmlFreeIDTable (xmlIDTablePtr table);
17795 xmlAttrPtr
17796 xmlGetID (xmlDocPtr doc,
17797 const xmlChar *ID);
17798 int
17799 xmlIsID (xmlDocPtr doc,
17800 xmlNodePtr elem,
17801 xmlAttrPtr attr);
17802 int
17803 xmlRemoveID (xmlDocPtr doc,
17804 xmlAttrPtr attr);
17805
17806
17807 xmlRefPtr
17808 xmlAddRef (xmlValidCtxtPtr ctxt,
17809 xmlDocPtr doc,
17810 const xmlChar *value,
17811 xmlAttrPtr attr);
17812 void
17813 xmlFreeRefTable (xmlRefTablePtr table);
17814 int
17815 xmlIsRef (xmlDocPtr doc,
17816 xmlNodePtr elem,
17817 xmlAttrPtr attr);
17818 int
17819 xmlRemoveRef (xmlDocPtr doc,
17820 xmlAttrPtr attr);
17821 xmlListPtr
17822 xmlGetRefs (xmlDocPtr doc,
17823 const xmlChar *ID);
17824
17825
17826
17827
17828
17829
17830 xmlValidCtxtPtr
17831 xmlNewValidCtxt(void);
17832 void
17833 xmlFreeValidCtxt(xmlValidCtxtPtr);
17834
17835 int
17836 xmlValidateRoot (xmlValidCtxtPtr ctxt,
17837 xmlDocPtr doc);
17838 int
17839 xmlValidateElementDecl (xmlValidCtxtPtr ctxt,
17840 xmlDocPtr doc,
17841 xmlElementPtr elem);
17842 xmlChar *
17843 xmlValidNormalizeAttributeValue(xmlDocPtr doc,
17844 xmlNodePtr elem,
17845 const xmlChar *name,
17846 const xmlChar *value);
17847 xmlChar *
17848 xmlValidCtxtNormalizeAttributeValue(xmlValidCtxtPtr ctxt,
17849 xmlDocPtr doc,
17850 xmlNodePtr elem,
17851 const xmlChar *name,
17852 const xmlChar *value);
17853 int
17854 xmlValidateAttributeDecl(xmlValidCtxtPtr ctxt,
17855 xmlDocPtr doc,
17856 xmlAttributePtr attr);
17857 int
17858 xmlValidateAttributeValue(xmlAttributeType type,
17859 const xmlChar *value);
17860 int
17861 xmlValidateNotationDecl (xmlValidCtxtPtr ctxt,
17862 xmlDocPtr doc,
17863 xmlNotationPtr nota);
17864 int
17865 xmlValidateDtd (xmlValidCtxtPtr ctxt,
17866 xmlDocPtr doc,
17867 xmlDtdPtr dtd);
17868 int
17869 xmlValidateDtdFinal (xmlValidCtxtPtr ctxt,
17870 xmlDocPtr doc);
17871 int
17872 xmlValidateDocument (xmlValidCtxtPtr ctxt,
17873 xmlDocPtr doc);
17874 int
17875 xmlValidateElement (xmlValidCtxtPtr ctxt,
17876 xmlDocPtr doc,
17877 xmlNodePtr elem);
17878 int
17879 xmlValidateOneElement (xmlValidCtxtPtr ctxt,
17880 xmlDocPtr doc,
17881 xmlNodePtr elem);
17882 int
17883 xmlValidateOneAttribute (xmlValidCtxtPtr ctxt,
17884 xmlDocPtr doc,
17885 xmlNodePtr elem,
17886 xmlAttrPtr attr,
17887 const xmlChar *value);
17888 int
17889 xmlValidateOneNamespace (xmlValidCtxtPtr ctxt,
17890 xmlDocPtr doc,
17891 xmlNodePtr elem,
17892 const xmlChar *prefix,
17893 xmlNsPtr ns,
17894 const xmlChar *value);
17895 int
17896 xmlValidateDocumentFinal(xmlValidCtxtPtr ctxt,
17897 xmlDocPtr doc);
17898
17899
17900
17901 int
17902 xmlValidateNotationUse (xmlValidCtxtPtr ctxt,
17903 xmlDocPtr doc,
17904 const xmlChar *notationName);
17905
17906
17907 int
17908 xmlIsMixedElement (xmlDocPtr doc,
17909 const xmlChar *name);
17910 xmlAttributePtr
17911 xmlGetDtdAttrDesc (xmlDtdPtr dtd,
17912 const xmlChar *elem,
17913 const xmlChar *name);
17914 xmlAttributePtr
17915 xmlGetDtdQAttrDesc (xmlDtdPtr dtd,
17916 const xmlChar *elem,
17917 const xmlChar *name,
17918 const xmlChar *prefix);
17919 xmlNotationPtr
17920 xmlGetDtdNotationDesc (xmlDtdPtr dtd,
17921 const xmlChar *name);
17922 xmlElementPtr
17923 xmlGetDtdQElementDesc (xmlDtdPtr dtd,
17924 const xmlChar *name,
17925 const xmlChar *prefix);
17926 xmlElementPtr
17927 xmlGetDtdElementDesc (xmlDtdPtr dtd,
17928 const xmlChar *name);
17929
17930
17931
17932 int
17933 xmlValidGetPotentialChildren(xmlElementContent *ctree,
17934 const xmlChar **names,
17935 int *len,
17936 int max);
17937
17938 int
17939 xmlValidGetValidElements(xmlNode *prev,
17940 xmlNode *next,
17941 const xmlChar **names,
17942 int max);
17943 int
17944 xmlValidateNameValue (const xmlChar *value);
17945 int
17946 xmlValidateNamesValue (const xmlChar *value);
17947 int
17948 xmlValidateNmtokenValue (const xmlChar *value);
17949 int
17950 xmlValidateNmtokensValue(const xmlChar *value);
17951
17952
17953
17954
17955
17956 int
17957 xmlValidBuildContentModel(xmlValidCtxtPtr ctxt,
17958 xmlElementPtr elem);
17959
17960 int
17961 xmlValidatePushElement (xmlValidCtxtPtr ctxt,
17962 xmlDocPtr doc,
17963 xmlNodePtr elem,
17964 const xmlChar *qname);
17965 int
17966 xmlValidatePushCData (xmlValidCtxtPtr ctxt,
17967 const xmlChar *data,
17968 int len);
17969 int
17970 xmlValidatePopElement (xmlValidCtxtPtr ctxt,
17971 xmlDocPtr doc,
17972 xmlNodePtr elem,
17973 const xmlChar *qname);
17974# 20 "/usr/include/libxml2/libxml/parser.h" 2
17975# 1 "/usr/include/libxml2/libxml/entities.h" 1
17976# 24 "/usr/include/libxml2/libxml/entities.h"
17977typedef enum {
17978 XML_INTERNAL_GENERAL_ENTITY = 1,
17979 XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2,
17980 XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3,
17981 XML_INTERNAL_PARAMETER_ENTITY = 4,
17982 XML_EXTERNAL_PARAMETER_ENTITY = 5,
17983 XML_INTERNAL_PREDEFINED_ENTITY = 6
17984} xmlEntityType;
17985
17986
17987
17988
17989
17990
17991struct _xmlEntity {
17992 void *_private;
17993 xmlElementType type;
17994 const xmlChar *name;
17995 struct _xmlNode *children;
17996 struct _xmlNode *last;
17997 struct _xmlDtd *parent;
17998 struct _xmlNode *next;
17999 struct _xmlNode *prev;
18000 struct _xmlDoc *doc;
18001
18002 xmlChar *orig;
18003 xmlChar *content;
18004 int length;
18005 xmlEntityType etype;
18006 const xmlChar *ExternalID;
18007 const xmlChar *SystemID;
18008
18009 struct _xmlEntity *nexte;
18010 const xmlChar *URI;
18011 int owner;
18012 int checked;
18013
18014
18015};
18016
18017
18018
18019
18020
18021
18022typedef struct _xmlHashTable xmlEntitiesTable;
18023typedef xmlEntitiesTable *xmlEntitiesTablePtr;
18024
18025
18026
18027
18028
18029
18030 void
18031 xmlInitializePredefinedEntities (void);
18032
18033
18034 xmlEntityPtr
18035 xmlNewEntity (xmlDocPtr doc,
18036 const xmlChar *name,
18037 int type,
18038 const xmlChar *ExternalID,
18039 const xmlChar *SystemID,
18040 const xmlChar *content);
18041 xmlEntityPtr
18042 xmlAddDocEntity (xmlDocPtr doc,
18043 const xmlChar *name,
18044 int type,
18045 const xmlChar *ExternalID,
18046 const xmlChar *SystemID,
18047 const xmlChar *content);
18048 xmlEntityPtr
18049 xmlAddDtdEntity (xmlDocPtr doc,
18050 const xmlChar *name,
18051 int type,
18052 const xmlChar *ExternalID,
18053 const xmlChar *SystemID,
18054 const xmlChar *content);
18055 xmlEntityPtr
18056 xmlGetPredefinedEntity (const xmlChar *name);
18057 xmlEntityPtr
18058 xmlGetDocEntity (xmlDocPtr doc,
18059 const xmlChar *name);
18060 xmlEntityPtr
18061 xmlGetDtdEntity (xmlDocPtr doc,
18062 const xmlChar *name);
18063 xmlEntityPtr
18064 xmlGetParameterEntity (xmlDocPtr doc,
18065 const xmlChar *name);
18066
18067 const xmlChar *
18068 xmlEncodeEntities (xmlDocPtr doc,
18069 const xmlChar *input);
18070
18071 xmlChar *
18072 xmlEncodeEntitiesReentrant(xmlDocPtr doc,
18073 const xmlChar *input);
18074 xmlChar *
18075 xmlEncodeSpecialChars (xmlDocPtr doc,
18076 const xmlChar *input);
18077 xmlEntitiesTablePtr
18078 xmlCreateEntitiesTable (void);
18079
18080 xmlEntitiesTablePtr
18081 xmlCopyEntitiesTable (xmlEntitiesTablePtr table);
18082
18083 void
18084 xmlFreeEntitiesTable (xmlEntitiesTablePtr table);
18085
18086 void
18087 xmlDumpEntitiesTable (xmlBufferPtr buf,
18088 xmlEntitiesTablePtr table);
18089 void
18090 xmlDumpEntityDecl (xmlBufferPtr buf,
18091 xmlEntityPtr ent);
18092
18093
18094 void
18095 xmlCleanupPredefinedEntities(void);
18096# 21 "/usr/include/libxml2/libxml/parser.h" 2
18097# 1 "/usr/include/libxml2/libxml/xmlerror.h" 1
18098# 22 "/usr/include/libxml2/libxml/parser.h" 2
18099# 52 "/usr/include/libxml2/libxml/parser.h"
18100typedef void (* xmlParserInputDeallocate)(xmlChar *str);
18101
18102struct _xmlParserInput {
18103
18104 xmlParserInputBufferPtr buf;
18105
18106 const char *filename;
18107 const char *directory;
18108 const xmlChar *base;
18109 const xmlChar *cur;
18110 const xmlChar *end;
18111 int length;
18112 int line;
18113 int col;
18114
18115
18116
18117
18118
18119 unsigned long consumed;
18120 xmlParserInputDeallocate free;
18121 const xmlChar *encoding;
18122 const xmlChar *version;
18123 int standalone;
18124 int id;
18125};
18126# 86 "/usr/include/libxml2/libxml/parser.h"
18127typedef struct _xmlParserNodeInfo xmlParserNodeInfo;
18128typedef xmlParserNodeInfo *xmlParserNodeInfoPtr;
18129
18130struct _xmlParserNodeInfo {
18131 const struct _xmlNode* node;
18132
18133 unsigned long begin_pos;
18134 unsigned long begin_line;
18135 unsigned long end_pos;
18136 unsigned long end_line;
18137};
18138
18139typedef struct _xmlParserNodeInfoSeq xmlParserNodeInfoSeq;
18140typedef xmlParserNodeInfoSeq *xmlParserNodeInfoSeqPtr;
18141struct _xmlParserNodeInfoSeq {
18142 unsigned long maximum;
18143 unsigned long length;
18144 xmlParserNodeInfo* buffer;
18145};
18146
18147
18148
18149
18150
18151
18152
18153typedef enum {
18154 XML_PARSER_EOF = -1,
18155 XML_PARSER_START = 0,
18156 XML_PARSER_MISC,
18157 XML_PARSER_PI,
18158 XML_PARSER_DTD,
18159 XML_PARSER_PROLOG,
18160 XML_PARSER_COMMENT,
18161 XML_PARSER_START_TAG,
18162 XML_PARSER_CONTENT,
18163 XML_PARSER_CDATA_SECTION,
18164 XML_PARSER_END_TAG,
18165 XML_PARSER_ENTITY_DECL,
18166 XML_PARSER_ENTITY_VALUE,
18167 XML_PARSER_ATTRIBUTE_VALUE,
18168 XML_PARSER_SYSTEM_LITERAL,
18169 XML_PARSER_EPILOG,
18170 XML_PARSER_IGNORE,
18171 XML_PARSER_PUBLIC_LITERAL
18172} xmlParserInputState;
18173# 163 "/usr/include/libxml2/libxml/parser.h"
18174typedef enum {
18175 XML_PARSE_UNKNOWN = 0,
18176 XML_PARSE_DOM = 1,
18177 XML_PARSE_SAX = 2,
18178 XML_PARSE_PUSH_DOM = 3,
18179 XML_PARSE_PUSH_SAX = 4,
18180 XML_PARSE_READER = 5
18181} xmlParserMode;
18182# 184 "/usr/include/libxml2/libxml/parser.h"
18183struct _xmlParserCtxt {
18184 struct _xmlSAXHandler *sax;
18185 void *userData;
18186 xmlDocPtr myDoc;
18187 int wellFormed;
18188 int replaceEntities;
18189 const xmlChar *version;
18190 const xmlChar *encoding;
18191 int standalone;
18192 int html;
18193
18194
18195
18196
18197
18198 xmlParserInputPtr input;
18199 int inputNr;
18200 int inputMax;
18201 xmlParserInputPtr *inputTab;
18202
18203
18204 xmlNodePtr node;
18205 int nodeNr;
18206 int nodeMax;
18207 xmlNodePtr *nodeTab;
18208
18209 int record_info;
18210 xmlParserNodeInfoSeq node_seq;
18211
18212 int errNo;
18213
18214 int hasExternalSubset;
18215 int hasPErefs;
18216 int external;
18217
18218 int valid;
18219 int validate;
18220 xmlValidCtxt vctxt;
18221
18222 xmlParserInputState instate;
18223 int token;
18224
18225 char *directory;
18226
18227
18228 const xmlChar *name;
18229 int nameNr;
18230 int nameMax;
18231 const xmlChar * *nameTab;
18232
18233 long nbChars;
18234 long checkIndex;
18235 int keepBlanks;
18236 int disableSAX;
18237 int inSubset;
18238 const xmlChar * intSubName;
18239 xmlChar * extSubURI;
18240 xmlChar * extSubSystem;
18241
18242
18243 int * space;
18244 int spaceNr;
18245 int spaceMax;
18246 int * spaceTab;
18247
18248 int depth;
18249 xmlParserInputPtr entity;
18250 int charset;
18251
18252 int nodelen;
18253 int nodemem;
18254 int pedantic;
18255 void *_private;
18256
18257 int loadsubset;
18258 int linenumbers;
18259 void *catalogs;
18260 int recovery;
18261 int progressive;
18262 xmlDictPtr dict;
18263 const xmlChar * *atts;
18264 int maxatts;
18265 int docdict;
18266
18267
18268
18269
18270 const xmlChar *str_xml;
18271 const xmlChar *str_xmlns;
18272 const xmlChar *str_xml_ns;
18273
18274
18275
18276
18277 int sax2;
18278 int nsNr;
18279 int nsMax;
18280 const xmlChar * *nsTab;
18281 int *attallocs;
18282 void * *pushTab;
18283 xmlHashTablePtr attsDefault;
18284 xmlHashTablePtr attsSpecial;
18285 int nsWellFormed;
18286 int options;
18287
18288
18289
18290
18291 int dictNames;
18292 int freeElemsNr;
18293 xmlNodePtr freeElems;
18294 int freeAttrsNr;
18295 xmlAttrPtr freeAttrs;
18296
18297
18298
18299
18300 xmlError lastError;
18301 xmlParserMode parseMode;
18302 unsigned long nbentities;
18303 unsigned long sizeentities;
18304};
18305
18306
18307
18308
18309
18310
18311struct _xmlSAXLocator {
18312 const xmlChar *(*getPublicId)(void *ctx);
18313 const xmlChar *(*getSystemId)(void *ctx);
18314 int (*getLineNumber)(void *ctx);
18315 int (*getColumnNumber)(void *ctx);
18316};
18317# 341 "/usr/include/libxml2/libxml/parser.h"
18318typedef xmlParserInputPtr (*resolveEntitySAXFunc) (void *ctx,
18319 const xmlChar *publicId,
18320 const xmlChar *systemId);
18321# 353 "/usr/include/libxml2/libxml/parser.h"
18322typedef void (*internalSubsetSAXFunc) (void *ctx,
18323 const xmlChar *name,
18324 const xmlChar *ExternalID,
18325 const xmlChar *SystemID);
18326# 366 "/usr/include/libxml2/libxml/parser.h"
18327typedef void (*externalSubsetSAXFunc) (void *ctx,
18328 const xmlChar *name,
18329 const xmlChar *ExternalID,
18330 const xmlChar *SystemID);
18331# 379 "/usr/include/libxml2/libxml/parser.h"
18332typedef xmlEntityPtr (*getEntitySAXFunc) (void *ctx,
18333 const xmlChar *name);
18334# 390 "/usr/include/libxml2/libxml/parser.h"
18335typedef xmlEntityPtr (*getParameterEntitySAXFunc) (void *ctx,
18336 const xmlChar *name);
18337# 403 "/usr/include/libxml2/libxml/parser.h"
18338typedef void (*entityDeclSAXFunc) (void *ctx,
18339 const xmlChar *name,
18340 int type,
18341 const xmlChar *publicId,
18342 const xmlChar *systemId,
18343 xmlChar *content);
18344# 418 "/usr/include/libxml2/libxml/parser.h"
18345typedef void (*notationDeclSAXFunc)(void *ctx,
18346 const xmlChar *name,
18347 const xmlChar *publicId,
18348 const xmlChar *systemId);
18349# 434 "/usr/include/libxml2/libxml/parser.h"
18350typedef void (*attributeDeclSAXFunc)(void *ctx,
18351 const xmlChar *elem,
18352 const xmlChar *fullname,
18353 int type,
18354 int def,
18355 const xmlChar *defaultValue,
18356 xmlEnumerationPtr tree);
18357# 450 "/usr/include/libxml2/libxml/parser.h"
18358typedef void (*elementDeclSAXFunc)(void *ctx,
18359 const xmlChar *name,
18360 int type,
18361 xmlElementContentPtr content);
18362# 464 "/usr/include/libxml2/libxml/parser.h"
18363typedef void (*unparsedEntityDeclSAXFunc)(void *ctx,
18364 const xmlChar *name,
18365 const xmlChar *publicId,
18366 const xmlChar *systemId,
18367 const xmlChar *notationName);
18368# 477 "/usr/include/libxml2/libxml/parser.h"
18369typedef void (*setDocumentLocatorSAXFunc) (void *ctx,
18370 xmlSAXLocatorPtr loc);
18371
18372
18373
18374
18375
18376
18377typedef void (*startDocumentSAXFunc) (void *ctx);
18378
18379
18380
18381
18382
18383
18384typedef void (*endDocumentSAXFunc) (void *ctx);
18385# 501 "/usr/include/libxml2/libxml/parser.h"
18386typedef void (*startElementSAXFunc) (void *ctx,
18387 const xmlChar *name,
18388 const xmlChar **atts);
18389
18390
18391
18392
18393
18394
18395
18396typedef void (*endElementSAXFunc) (void *ctx,
18397 const xmlChar *name);
18398# 524 "/usr/include/libxml2/libxml/parser.h"
18399typedef void (*attributeSAXFunc) (void *ctx,
18400 const xmlChar *name,
18401 const xmlChar *value);
18402
18403
18404
18405
18406
18407
18408
18409typedef void (*referenceSAXFunc) (void *ctx,
18410 const xmlChar *name);
18411# 544 "/usr/include/libxml2/libxml/parser.h"
18412typedef void (*charactersSAXFunc) (void *ctx,
18413 const xmlChar *ch,
18414 int len);
18415# 556 "/usr/include/libxml2/libxml/parser.h"
18416typedef void (*ignorableWhitespaceSAXFunc) (void *ctx,
18417 const xmlChar *ch,
18418 int len);
18419# 567 "/usr/include/libxml2/libxml/parser.h"
18420typedef void (*processingInstructionSAXFunc) (void *ctx,
18421 const xmlChar *target,
18422 const xmlChar *data);
18423
18424
18425
18426
18427
18428
18429
18430typedef void (*commentSAXFunc) (void *ctx,
18431 const xmlChar *value);
18432# 587 "/usr/include/libxml2/libxml/parser.h"
18433typedef void (*cdataBlockSAXFunc) (
18434 void *ctx,
18435 const xmlChar *value,
18436 int len);
18437# 599 "/usr/include/libxml2/libxml/parser.h"
18438typedef void ( *warningSAXFunc) (void *ctx,
18439 const char *msg, ...) __attribute__((__format__(__printf__,2,3)));
18440# 609 "/usr/include/libxml2/libxml/parser.h"
18441typedef void ( *errorSAXFunc) (void *ctx,
18442 const char *msg, ...) __attribute__((__format__(__printf__,2,3)));
18443# 621 "/usr/include/libxml2/libxml/parser.h"
18444typedef void ( *fatalErrorSAXFunc) (void *ctx,
18445 const char *msg, ...) __attribute__((__format__(__printf__,2,3)));
18446# 631 "/usr/include/libxml2/libxml/parser.h"
18447typedef int (*isStandaloneSAXFunc) (void *ctx);
18448# 640 "/usr/include/libxml2/libxml/parser.h"
18449typedef int (*hasInternalSubsetSAXFunc) (void *ctx);
18450# 650 "/usr/include/libxml2/libxml/parser.h"
18451typedef int (*hasExternalSubsetSAXFunc) (void *ctx);
18452# 683 "/usr/include/libxml2/libxml/parser.h"
18453typedef void (*startElementNsSAX2Func) (void *ctx,
18454 const xmlChar *localname,
18455 const xmlChar *prefix,
18456 const xmlChar *URI,
18457 int nb_namespaces,
18458 const xmlChar **namespaces,
18459 int nb_attributes,
18460 int nb_defaulted,
18461 const xmlChar **attributes);
18462# 704 "/usr/include/libxml2/libxml/parser.h"
18463typedef void (*endElementNsSAX2Func) (void *ctx,
18464 const xmlChar *localname,
18465 const xmlChar *prefix,
18466 const xmlChar *URI);
18467
18468
18469struct _xmlSAXHandler {
18470 internalSubsetSAXFunc internalSubset;
18471 isStandaloneSAXFunc isStandalone;
18472 hasInternalSubsetSAXFunc hasInternalSubset;
18473 hasExternalSubsetSAXFunc hasExternalSubset;
18474 resolveEntitySAXFunc resolveEntity;
18475 getEntitySAXFunc getEntity;
18476 entityDeclSAXFunc entityDecl;
18477 notationDeclSAXFunc notationDecl;
18478 attributeDeclSAXFunc attributeDecl;
18479 elementDeclSAXFunc elementDecl;
18480 unparsedEntityDeclSAXFunc unparsedEntityDecl;
18481 setDocumentLocatorSAXFunc setDocumentLocator;
18482 startDocumentSAXFunc startDocument;
18483 endDocumentSAXFunc endDocument;
18484 startElementSAXFunc startElement;
18485 endElementSAXFunc endElement;
18486 referenceSAXFunc reference;
18487 charactersSAXFunc characters;
18488 ignorableWhitespaceSAXFunc ignorableWhitespace;
18489 processingInstructionSAXFunc processingInstruction;
18490 commentSAXFunc comment;
18491 warningSAXFunc warning;
18492 errorSAXFunc error;
18493 fatalErrorSAXFunc fatalError;
18494 getParameterEntitySAXFunc getParameterEntity;
18495 cdataBlockSAXFunc cdataBlock;
18496 externalSubsetSAXFunc externalSubset;
18497 unsigned int initialized;
18498
18499 void *_private;
18500 startElementNsSAX2Func startElementNs;
18501 endElementNsSAX2Func endElementNs;
18502 xmlStructuredErrorFunc serror;
18503};
18504
18505
18506
18507
18508typedef struct _xmlSAXHandlerV1 xmlSAXHandlerV1;
18509typedef xmlSAXHandlerV1 *xmlSAXHandlerV1Ptr;
18510struct _xmlSAXHandlerV1 {
18511 internalSubsetSAXFunc internalSubset;
18512 isStandaloneSAXFunc isStandalone;
18513 hasInternalSubsetSAXFunc hasInternalSubset;
18514 hasExternalSubsetSAXFunc hasExternalSubset;
18515 resolveEntitySAXFunc resolveEntity;
18516 getEntitySAXFunc getEntity;
18517 entityDeclSAXFunc entityDecl;
18518 notationDeclSAXFunc notationDecl;
18519 attributeDeclSAXFunc attributeDecl;
18520 elementDeclSAXFunc elementDecl;
18521 unparsedEntityDeclSAXFunc unparsedEntityDecl;
18522 setDocumentLocatorSAXFunc setDocumentLocator;
18523 startDocumentSAXFunc startDocument;
18524 endDocumentSAXFunc endDocument;
18525 startElementSAXFunc startElement;
18526 endElementSAXFunc endElement;
18527 referenceSAXFunc reference;
18528 charactersSAXFunc characters;
18529 ignorableWhitespaceSAXFunc ignorableWhitespace;
18530 processingInstructionSAXFunc processingInstruction;
18531 commentSAXFunc comment;
18532 warningSAXFunc warning;
18533 errorSAXFunc error;
18534 fatalErrorSAXFunc fatalError;
18535 getParameterEntitySAXFunc getParameterEntity;
18536 cdataBlockSAXFunc cdataBlock;
18537 externalSubsetSAXFunc externalSubset;
18538 unsigned int initialized;
18539};
18540# 793 "/usr/include/libxml2/libxml/parser.h"
18541typedef xmlParserInputPtr (*xmlExternalEntityLoader) (const char *URL,
18542 const char *ID,
18543 xmlParserCtxtPtr context);
18544
18545
18546
18547
18548
18549# 1 "/usr/include/libxml2/libxml/encoding.h" 1
18550# 28 "/usr/include/libxml2/libxml/encoding.h"
18551# 1 "/usr/include/iconv.h" 1 3 4
18552# 24 "/usr/include/iconv.h" 3 4
18553# 1 "/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/stddef.h" 1 3 4
18554# 25 "/usr/include/iconv.h" 2 3 4
18555
18556
18557
18558
18559
18560typedef void *iconv_t;
18561
18562
18563
18564
18565
18566
18567
18568extern iconv_t iconv_open (__const char *__tocode, __const char *__fromcode);
18569
18570
18571
18572
18573extern size_t iconv (iconv_t __cd, char **__restrict __inbuf,
18574 size_t *__restrict __inbytesleft,
18575 char **__restrict __outbuf,
18576 size_t *__restrict __outbytesleft);
18577
18578
18579
18580
18581
18582extern int iconv_close (iconv_t __cd);
18583
18584
18585# 29 "/usr/include/libxml2/libxml/encoding.h" 2
18586# 55 "/usr/include/libxml2/libxml/encoding.h"
18587typedef enum {
18588 XML_CHAR_ENCODING_ERROR= -1,
18589 XML_CHAR_ENCODING_NONE= 0,
18590 XML_CHAR_ENCODING_UTF8= 1,
18591 XML_CHAR_ENCODING_UTF16LE= 2,
18592 XML_CHAR_ENCODING_UTF16BE= 3,
18593 XML_CHAR_ENCODING_UCS4LE= 4,
18594 XML_CHAR_ENCODING_UCS4BE= 5,
18595 XML_CHAR_ENCODING_EBCDIC= 6,
18596 XML_CHAR_ENCODING_UCS4_2143=7,
18597 XML_CHAR_ENCODING_UCS4_3412=8,
18598 XML_CHAR_ENCODING_UCS2= 9,
18599 XML_CHAR_ENCODING_8859_1= 10,
18600 XML_CHAR_ENCODING_8859_2= 11,
18601 XML_CHAR_ENCODING_8859_3= 12,
18602 XML_CHAR_ENCODING_8859_4= 13,
18603 XML_CHAR_ENCODING_8859_5= 14,
18604 XML_CHAR_ENCODING_8859_6= 15,
18605 XML_CHAR_ENCODING_8859_7= 16,
18606 XML_CHAR_ENCODING_8859_8= 17,
18607 XML_CHAR_ENCODING_8859_9= 18,
18608 XML_CHAR_ENCODING_2022_JP= 19,
18609 XML_CHAR_ENCODING_SHIFT_JIS=20,
18610 XML_CHAR_ENCODING_EUC_JP= 21,
18611 XML_CHAR_ENCODING_ASCII= 22
18612} xmlCharEncoding;
18613# 98 "/usr/include/libxml2/libxml/encoding.h"
18614typedef int (* xmlCharEncodingInputFunc)(unsigned char *out, int *outlen,
18615 const unsigned char *in, int *inlen);
18616# 120 "/usr/include/libxml2/libxml/encoding.h"
18617typedef int (* xmlCharEncodingOutputFunc)(unsigned char *out, int *outlen,
18618 const unsigned char *in, int *inlen);
18619
18620
18621
18622
18623
18624
18625
18626typedef struct _xmlCharEncodingHandler xmlCharEncodingHandler;
18627typedef xmlCharEncodingHandler *xmlCharEncodingHandlerPtr;
18628struct _xmlCharEncodingHandler {
18629 char *name;
18630 xmlCharEncodingInputFunc input;
18631 xmlCharEncodingOutputFunc output;
18632
18633 iconv_t iconv_in;
18634 iconv_t iconv_out;
18635
18636};
18637# 152 "/usr/include/libxml2/libxml/encoding.h"
18638 void
18639 xmlInitCharEncodingHandlers (void);
18640 void
18641 xmlCleanupCharEncodingHandlers (void);
18642 void
18643 xmlRegisterCharEncodingHandler (xmlCharEncodingHandlerPtr handler);
18644 xmlCharEncodingHandlerPtr
18645 xmlGetCharEncodingHandler (xmlCharEncoding enc);
18646 xmlCharEncodingHandlerPtr
18647 xmlFindCharEncodingHandler (const char *name);
18648 xmlCharEncodingHandlerPtr
18649 xmlNewCharEncodingHandler (const char *name,
18650 xmlCharEncodingInputFunc input,
18651 xmlCharEncodingOutputFunc output);
18652
18653
18654
18655
18656 int
18657 xmlAddEncodingAlias (const char *name,
18658 const char *alias);
18659 int
18660 xmlDelEncodingAlias (const char *alias);
18661 const char *
18662 xmlGetEncodingAlias (const char *alias);
18663 void
18664 xmlCleanupEncodingAliases (void);
18665 xmlCharEncoding
18666 xmlParseCharEncoding (const char *name);
18667 const char *
18668 xmlGetCharEncodingName (xmlCharEncoding enc);
18669
18670
18671
18672
18673 xmlCharEncoding
18674 xmlDetectCharEncoding (const unsigned char *in,
18675 int len);
18676
18677 int
18678 xmlCharEncOutFunc (xmlCharEncodingHandler *handler,
18679 xmlBufferPtr out,
18680 xmlBufferPtr in);
18681
18682 int
18683 xmlCharEncInFunc (xmlCharEncodingHandler *handler,
18684 xmlBufferPtr out,
18685 xmlBufferPtr in);
18686 int
18687 xmlCharEncFirstLine (xmlCharEncodingHandler *handler,
18688 xmlBufferPtr out,
18689 xmlBufferPtr in);
18690 int
18691 xmlCharEncCloseFunc (xmlCharEncodingHandler *handler);
18692
18693
18694
18695
18696
18697 int
18698 UTF8Toisolat1 (unsigned char *out,
18699 int *outlen,
18700 const unsigned char *in,
18701 int *inlen);
18702
18703 int
18704 isolat1ToUTF8 (unsigned char *out,
18705 int *outlen,
18706 const unsigned char *in,
18707 int *inlen);
18708# 802 "/usr/include/libxml2/libxml/parser.h" 2
18709# 1 "/usr/include/libxml2/libxml/xmlIO.h" 1
18710# 34 "/usr/include/libxml2/libxml/xmlIO.h"
18711typedef int ( *xmlInputMatchCallback) (char const *filename);
18712# 43 "/usr/include/libxml2/libxml/xmlIO.h"
18713typedef void * ( *xmlInputOpenCallback) (char const *filename);
18714# 54 "/usr/include/libxml2/libxml/xmlIO.h"
18715typedef int ( *xmlInputReadCallback) (void * context, char * buffer, int len);
18716# 63 "/usr/include/libxml2/libxml/xmlIO.h"
18717typedef int ( *xmlInputCloseCallback) (void * context);
18718# 80 "/usr/include/libxml2/libxml/xmlIO.h"
18719typedef int ( *xmlOutputMatchCallback) (char const *filename);
18720# 89 "/usr/include/libxml2/libxml/xmlIO.h"
18721typedef void * ( *xmlOutputOpenCallback) (char const *filename);
18722# 100 "/usr/include/libxml2/libxml/xmlIO.h"
18723typedef int ( *xmlOutputWriteCallback) (void * context, const char * buffer,
18724 int len);
18725# 110 "/usr/include/libxml2/libxml/xmlIO.h"
18726typedef int ( *xmlOutputCloseCallback) (void * context);
18727
18728
18729
18730
18731
18732
18733# 1 "/usr/include/libxml2/libxml/globals.h" 1
18734# 19 "/usr/include/libxml2/libxml/globals.h"
18735# 1 "/usr/include/libxml2/libxml/xmlerror.h" 1
18736# 20 "/usr/include/libxml2/libxml/globals.h" 2
18737# 1 "/usr/include/libxml2/libxml/SAX.h" 1
18738# 19 "/usr/include/libxml2/libxml/SAX.h"
18739# 1 "/usr/include/libxml2/libxml/xlink.h" 1
18740# 32 "/usr/include/libxml2/libxml/xlink.h"
18741typedef xmlChar *xlinkHRef;
18742typedef xmlChar *xlinkRole;
18743typedef xmlChar *xlinkTitle;
18744
18745typedef enum {
18746 XLINK_TYPE_NONE = 0,
18747 XLINK_TYPE_SIMPLE,
18748 XLINK_TYPE_EXTENDED,
18749 XLINK_TYPE_EXTENDED_SET
18750} xlinkType;
18751
18752typedef enum {
18753 XLINK_SHOW_NONE = 0,
18754 XLINK_SHOW_NEW,
18755 XLINK_SHOW_EMBED,
18756 XLINK_SHOW_REPLACE
18757} xlinkShow;
18758
18759typedef enum {
18760 XLINK_ACTUATE_NONE = 0,
18761 XLINK_ACTUATE_AUTO,
18762 XLINK_ACTUATE_ONREQUEST
18763} xlinkActuate;
18764# 64 "/usr/include/libxml2/libxml/xlink.h"
18765typedef void (*xlinkNodeDetectFunc) (void *ctx, xmlNodePtr node);
18766# 81 "/usr/include/libxml2/libxml/xlink.h"
18767typedef void
18768(*xlinkSimpleLinkFunk) (void *ctx,
18769 xmlNodePtr node,
18770 const xlinkHRef href,
18771 const xlinkRole role,
18772 const xlinkTitle title);
18773# 106 "/usr/include/libxml2/libxml/xlink.h"
18774typedef void
18775(*xlinkExtendedLinkFunk)(void *ctx,
18776 xmlNodePtr node,
18777 int nbLocators,
18778 const xlinkHRef *hrefs,
18779 const xlinkRole *roles,
18780 int nbArcs,
18781 const xlinkRole *from,
18782 const xlinkRole *to,
18783 xlinkShow *show,
18784 xlinkActuate *actuate,
18785 int nbTitles,
18786 const xlinkTitle *titles,
18787 const xmlChar **langs);
18788# 134 "/usr/include/libxml2/libxml/xlink.h"
18789typedef void
18790(*xlinkExtendedLinkSetFunk) (void *ctx,
18791 xmlNodePtr node,
18792 int nbLocators,
18793 const xlinkHRef *hrefs,
18794 const xlinkRole *roles,
18795 int nbTitles,
18796 const xlinkTitle *titles,
18797 const xmlChar **langs);
18798
18799
18800
18801
18802
18803
18804
18805typedef struct _xlinkHandler xlinkHandler;
18806typedef xlinkHandler *xlinkHandlerPtr;
18807struct _xlinkHandler {
18808 xlinkSimpleLinkFunk simple;
18809 xlinkExtendedLinkFunk extended;
18810 xlinkExtendedLinkSetFunk set;
18811};
18812
18813
18814
18815
18816
18817
18818 xlinkNodeDetectFunc
18819 xlinkGetDefaultDetect (void);
18820 void
18821 xlinkSetDefaultDetect (xlinkNodeDetectFunc func);
18822
18823
18824
18825
18826 xlinkHandlerPtr
18827 xlinkGetDefaultHandler (void);
18828 void
18829 xlinkSetDefaultHandler (xlinkHandlerPtr handler);
18830
18831
18832
18833
18834 xlinkType
18835 xlinkIsLink (xmlDocPtr doc,
18836 xmlNodePtr node);
18837# 20 "/usr/include/libxml2/libxml/SAX.h" 2
18838
18839
18840
18841
18842
18843
18844 const xmlChar *
18845 getPublicId (void *ctx);
18846 const xmlChar *
18847 getSystemId (void *ctx);
18848 void
18849 setDocumentLocator (void *ctx,
18850 xmlSAXLocatorPtr loc);
18851
18852 int
18853 getLineNumber (void *ctx);
18854 int
18855 getColumnNumber (void *ctx);
18856
18857 int
18858 isStandalone (void *ctx);
18859 int
18860 hasInternalSubset (void *ctx);
18861 int
18862 hasExternalSubset (void *ctx);
18863
18864 void
18865 internalSubset (void *ctx,
18866 const xmlChar *name,
18867 const xmlChar *ExternalID,
18868 const xmlChar *SystemID);
18869 void
18870 externalSubset (void *ctx,
18871 const xmlChar *name,
18872 const xmlChar *ExternalID,
18873 const xmlChar *SystemID);
18874 xmlEntityPtr
18875 getEntity (void *ctx,
18876 const xmlChar *name);
18877 xmlEntityPtr
18878 getParameterEntity (void *ctx,
18879 const xmlChar *name);
18880 xmlParserInputPtr
18881 resolveEntity (void *ctx,
18882 const xmlChar *publicId,
18883 const xmlChar *systemId);
18884
18885 void
18886 entityDecl (void *ctx,
18887 const xmlChar *name,
18888 int type,
18889 const xmlChar *publicId,
18890 const xmlChar *systemId,
18891 xmlChar *content);
18892 void
18893 attributeDecl (void *ctx,
18894 const xmlChar *elem,
18895 const xmlChar *fullname,
18896 int type,
18897 int def,
18898 const xmlChar *defaultValue,
18899 xmlEnumerationPtr tree);
18900 void
18901 elementDecl (void *ctx,
18902 const xmlChar *name,
18903 int type,
18904 xmlElementContentPtr content);
18905 void
18906 notationDecl (void *ctx,
18907 const xmlChar *name,
18908 const xmlChar *publicId,
18909 const xmlChar *systemId);
18910 void
18911 unparsedEntityDecl (void *ctx,
18912 const xmlChar *name,
18913 const xmlChar *publicId,
18914 const xmlChar *systemId,
18915 const xmlChar *notationName);
18916
18917 void
18918 startDocument (void *ctx);
18919 void
18920 endDocument (void *ctx);
18921 void
18922 attribute (void *ctx,
18923 const xmlChar *fullname,
18924 const xmlChar *value);
18925 void
18926 startElement (void *ctx,
18927 const xmlChar *fullname,
18928 const xmlChar **atts);
18929 void
18930 endElement (void *ctx,
18931 const xmlChar *name);
18932 void
18933 reference (void *ctx,
18934 const xmlChar *name);
18935 void
18936 characters (void *ctx,
18937 const xmlChar *ch,
18938 int len);
18939 void
18940 ignorableWhitespace (void *ctx,
18941 const xmlChar *ch,
18942 int len);
18943 void
18944 processingInstruction (void *ctx,
18945 const xmlChar *target,
18946 const xmlChar *data);
18947 void
18948 globalNamespace (void *ctx,
18949 const xmlChar *href,
18950 const xmlChar *prefix);
18951 void
18952 setNamespace (void *ctx,
18953 const xmlChar *name);
18954 xmlNsPtr
18955 getNamespace (void *ctx);
18956 int
18957 checkNamespace (void *ctx,
18958 xmlChar *nameSpace);
18959 void
18960 namespaceDecl (void *ctx,
18961 const xmlChar *href,
18962 const xmlChar *prefix);
18963 void
18964 comment (void *ctx,
18965 const xmlChar *value);
18966 void
18967 cdataBlock (void *ctx,
18968 const xmlChar *value,
18969 int len);
18970
18971
18972 void
18973 initxmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr,
18974 int warning);
18975
18976 void
18977 inithtmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr);
18978
18979
18980 void
18981 initdocbDefaultSAXHandler (xmlSAXHandlerV1 *hdlr);
18982# 21 "/usr/include/libxml2/libxml/globals.h" 2
18983# 1 "/usr/include/libxml2/libxml/SAX2.h" 1
18984# 24 "/usr/include/libxml2/libxml/SAX2.h"
18985 const xmlChar *
18986 xmlSAX2GetPublicId (void *ctx);
18987 const xmlChar *
18988 xmlSAX2GetSystemId (void *ctx);
18989 void
18990 xmlSAX2SetDocumentLocator (void *ctx,
18991 xmlSAXLocatorPtr loc);
18992
18993 int
18994 xmlSAX2GetLineNumber (void *ctx);
18995 int
18996 xmlSAX2GetColumnNumber (void *ctx);
18997
18998 int
18999 xmlSAX2IsStandalone (void *ctx);
19000 int
19001 xmlSAX2HasInternalSubset (void *ctx);
19002 int
19003 xmlSAX2HasExternalSubset (void *ctx);
19004
19005 void
19006 xmlSAX2InternalSubset (void *ctx,
19007 const xmlChar *name,
19008 const xmlChar *ExternalID,
19009 const xmlChar *SystemID);
19010 void
19011 xmlSAX2ExternalSubset (void *ctx,
19012 const xmlChar *name,
19013 const xmlChar *ExternalID,
19014 const xmlChar *SystemID);
19015 xmlEntityPtr
19016 xmlSAX2GetEntity (void *ctx,
19017 const xmlChar *name);
19018 xmlEntityPtr
19019 xmlSAX2GetParameterEntity (void *ctx,
19020 const xmlChar *name);
19021 xmlParserInputPtr
19022 xmlSAX2ResolveEntity (void *ctx,
19023 const xmlChar *publicId,
19024 const xmlChar *systemId);
19025
19026 void
19027 xmlSAX2EntityDecl (void *ctx,
19028 const xmlChar *name,
19029 int type,
19030 const xmlChar *publicId,
19031 const xmlChar *systemId,
19032 xmlChar *content);
19033 void
19034 xmlSAX2AttributeDecl (void *ctx,
19035 const xmlChar *elem,
19036 const xmlChar *fullname,
19037 int type,
19038 int def,
19039 const xmlChar *defaultValue,
19040 xmlEnumerationPtr tree);
19041 void
19042 xmlSAX2ElementDecl (void *ctx,
19043 const xmlChar *name,
19044 int type,
19045 xmlElementContentPtr content);
19046 void
19047 xmlSAX2NotationDecl (void *ctx,
19048 const xmlChar *name,
19049 const xmlChar *publicId,
19050 const xmlChar *systemId);
19051 void
19052 xmlSAX2UnparsedEntityDecl (void *ctx,
19053 const xmlChar *name,
19054 const xmlChar *publicId,
19055 const xmlChar *systemId,
19056 const xmlChar *notationName);
19057
19058 void
19059 xmlSAX2StartDocument (void *ctx);
19060 void
19061 xmlSAX2EndDocument (void *ctx);
19062
19063 void
19064 xmlSAX2StartElement (void *ctx,
19065 const xmlChar *fullname,
19066 const xmlChar **atts);
19067 void
19068 xmlSAX2EndElement (void *ctx,
19069 const xmlChar *name);
19070
19071 void
19072 xmlSAX2StartElementNs (void *ctx,
19073 const xmlChar *localname,
19074 const xmlChar *prefix,
19075 const xmlChar *URI,
19076 int nb_namespaces,
19077 const xmlChar **namespaces,
19078 int nb_attributes,
19079 int nb_defaulted,
19080 const xmlChar **attributes);
19081 void
19082 xmlSAX2EndElementNs (void *ctx,
19083 const xmlChar *localname,
19084 const xmlChar *prefix,
19085 const xmlChar *URI);
19086 void
19087 xmlSAX2Reference (void *ctx,
19088 const xmlChar *name);
19089 void
19090 xmlSAX2Characters (void *ctx,
19091 const xmlChar *ch,
19092 int len);
19093 void
19094 xmlSAX2IgnorableWhitespace (void *ctx,
19095 const xmlChar *ch,
19096 int len);
19097 void
19098 xmlSAX2ProcessingInstruction (void *ctx,
19099 const xmlChar *target,
19100 const xmlChar *data);
19101 void
19102 xmlSAX2Comment (void *ctx,
19103 const xmlChar *value);
19104 void
19105 xmlSAX2CDataBlock (void *ctx,
19106 const xmlChar *value,
19107 int len);
19108
19109
19110 int
19111 xmlSAXDefaultVersion (int version);
19112
19113
19114 int
19115 xmlSAXVersion (xmlSAXHandler *hdlr,
19116 int version);
19117 void
19118 xmlSAX2InitDefaultSAXHandler (xmlSAXHandler *hdlr,
19119 int warning);
19120
19121 void
19122 xmlSAX2InitHtmlDefaultSAXHandler(xmlSAXHandler *hdlr);
19123 void
19124 htmlDefaultSAXHandlerInit (void);
19125
19126
19127 void
19128 xmlSAX2InitDocbDefaultSAXHandler(xmlSAXHandler *hdlr);
19129 void
19130 docbDefaultSAXHandlerInit (void);
19131
19132 void
19133 xmlDefaultSAXHandlerInit (void);
19134# 22 "/usr/include/libxml2/libxml/globals.h" 2
19135# 1 "/usr/include/libxml2/libxml/xmlmemory.h" 1
19136# 57 "/usr/include/libxml2/libxml/xmlmemory.h"
19137typedef void ( *xmlFreeFunc)(void *mem);
19138# 66 "/usr/include/libxml2/libxml/xmlmemory.h"
19139typedef void *(__attribute__((alloc_size(1))) *xmlMallocFunc)(size_t size);
19140# 77 "/usr/include/libxml2/libxml/xmlmemory.h"
19141typedef void *( *xmlReallocFunc)(void *mem, size_t size);
19142# 87 "/usr/include/libxml2/libxml/xmlmemory.h"
19143typedef char *( *xmlStrdupFunc)(const char *str);
19144# 103 "/usr/include/libxml2/libxml/xmlmemory.h"
19145 int
19146 xmlMemSetup (xmlFreeFunc freeFunc,
19147 xmlMallocFunc mallocFunc,
19148 xmlReallocFunc reallocFunc,
19149 xmlStrdupFunc strdupFunc);
19150 int
19151 xmlMemGet (xmlFreeFunc *freeFunc,
19152 xmlMallocFunc *mallocFunc,
19153 xmlReallocFunc *reallocFunc,
19154 xmlStrdupFunc *strdupFunc);
19155 int
19156 xmlGcMemSetup (xmlFreeFunc freeFunc,
19157 xmlMallocFunc mallocFunc,
19158 xmlMallocFunc mallocAtomicFunc,
19159 xmlReallocFunc reallocFunc,
19160 xmlStrdupFunc strdupFunc);
19161 int
19162 xmlGcMemGet (xmlFreeFunc *freeFunc,
19163 xmlMallocFunc *mallocFunc,
19164 xmlMallocFunc *mallocAtomicFunc,
19165 xmlReallocFunc *reallocFunc,
19166 xmlStrdupFunc *strdupFunc);
19167
19168
19169
19170
19171 int
19172 xmlInitMemory (void);
19173
19174
19175
19176
19177 void
19178 xmlCleanupMemory (void);
19179
19180
19181
19182 int
19183 xmlMemUsed (void);
19184 int
19185 xmlMemBlocks (void);
19186 void
19187 xmlMemDisplay (FILE *fp);
19188 void
19189 xmlMemDisplayLast(FILE *fp, long nbBytes);
19190 void
19191 xmlMemShow (FILE *fp, int nr);
19192 void
19193 xmlMemoryDump (void);
19194 void *
19195 xmlMemMalloc (size_t size) __attribute__((alloc_size(1)));
19196 void *
19197 xmlMemRealloc (void *ptr,size_t size);
19198 void
19199 xmlMemFree (void *ptr);
19200 char *
19201 xmlMemoryStrdup (const char *str);
19202 void *
19203 xmlMallocLoc (size_t size, const char *file, int line) __attribute__((alloc_size(1)));
19204 void *
19205 xmlReallocLoc (void *ptr, size_t size, const char *file, int line);
19206 void *
19207 xmlMallocAtomicLoc (size_t size, const char *file, int line) __attribute__((alloc_size(1)));
19208 char *
19209 xmlMemStrdupLoc (const char *str, const char *file, int line);
19210# 23 "/usr/include/libxml2/libxml/globals.h" 2
19211
19212
19213
19214
19215
19216 void xmlInitGlobals(void);
19217 void xmlCleanupGlobals(void);
19218# 42 "/usr/include/libxml2/libxml/globals.h"
19219typedef xmlParserInputBufferPtr (*xmlParserInputBufferCreateFilenameFunc) (const char *URI, xmlCharEncoding enc);
19220# 55 "/usr/include/libxml2/libxml/globals.h"
19221typedef xmlOutputBufferPtr (*xmlOutputBufferCreateFilenameFunc) (const char *URI, xmlCharEncodingHandlerPtr encoder, int compression);
19222
19223 xmlParserInputBufferCreateFilenameFunc
19224 xmlParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func);
19225 xmlOutputBufferCreateFilenameFunc
19226 xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func);
19227# 107 "/usr/include/libxml2/libxml/globals.h"
19228typedef void (*xmlRegisterNodeFunc) (xmlNodePtr node);
19229
19230
19231
19232
19233
19234
19235typedef void (*xmlDeregisterNodeFunc) (xmlNodePtr node);
19236
19237typedef struct _xmlGlobalState xmlGlobalState;
19238typedef xmlGlobalState *xmlGlobalStatePtr;
19239struct _xmlGlobalState
19240{
19241 const char *xmlParserVersion;
19242
19243 xmlSAXLocator xmlDefaultSAXLocator;
19244 xmlSAXHandlerV1 xmlDefaultSAXHandler;
19245 xmlSAXHandlerV1 docbDefaultSAXHandler;
19246 xmlSAXHandlerV1 htmlDefaultSAXHandler;
19247
19248 xmlFreeFunc xmlFree;
19249 xmlMallocFunc xmlMalloc;
19250 xmlStrdupFunc xmlMemStrdup;
19251 xmlReallocFunc xmlRealloc;
19252
19253 xmlGenericErrorFunc xmlGenericError;
19254 xmlStructuredErrorFunc xmlStructuredError;
19255 void *xmlGenericErrorContext;
19256
19257 int oldXMLWDcompatibility;
19258
19259 xmlBufferAllocationScheme xmlBufferAllocScheme;
19260 int xmlDefaultBufferSize;
19261
19262 int xmlSubstituteEntitiesDefaultValue;
19263 int xmlDoValidityCheckingDefaultValue;
19264 int xmlGetWarningsDefaultValue;
19265 int xmlKeepBlanksDefaultValue;
19266 int xmlLineNumbersDefaultValue;
19267 int xmlLoadExtDtdDefaultValue;
19268 int xmlParserDebugEntities;
19269 int xmlPedanticParserDefaultValue;
19270
19271 int xmlSaveNoEmptyTags;
19272 int xmlIndentTreeOutput;
19273 const char *xmlTreeIndentString;
19274
19275 xmlRegisterNodeFunc xmlRegisterNodeDefaultValue;
19276 xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue;
19277
19278 xmlMallocFunc xmlMallocAtomic;
19279 xmlError xmlLastError;
19280
19281 xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue;
19282 xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue;
19283
19284 void *xmlStructuredErrorContext;
19285};
19286
19287
19288
19289
19290# 1 "/usr/include/libxml2/libxml/threads.h" 1
19291# 23 "/usr/include/libxml2/libxml/threads.h"
19292typedef struct _xmlMutex xmlMutex;
19293typedef xmlMutex *xmlMutexPtr;
19294
19295
19296
19297
19298typedef struct _xmlRMutex xmlRMutex;
19299typedef xmlRMutex *xmlRMutexPtr;
19300
19301
19302
19303
19304# 1 "/usr/include/libxml2/libxml/globals.h" 1
19305# 36 "/usr/include/libxml2/libxml/threads.h" 2
19306
19307
19308
19309 xmlMutexPtr
19310 xmlNewMutex (void);
19311 void
19312 xmlMutexLock (xmlMutexPtr tok);
19313 void
19314 xmlMutexUnlock (xmlMutexPtr tok);
19315 void
19316 xmlFreeMutex (xmlMutexPtr tok);
19317
19318 xmlRMutexPtr
19319 xmlNewRMutex (void);
19320 void
19321 xmlRMutexLock (xmlRMutexPtr tok);
19322 void
19323 xmlRMutexUnlock (xmlRMutexPtr tok);
19324 void
19325 xmlFreeRMutex (xmlRMutexPtr tok);
19326
19327
19328
19329
19330 void
19331 xmlInitThreads (void);
19332 void
19333 xmlLockLibrary (void);
19334 void
19335 xmlUnlockLibrary(void);
19336 int
19337 xmlGetThreadId (void);
19338 int
19339 xmlIsMainThread (void);
19340 void
19341 xmlCleanupThreads(void);
19342 xmlGlobalStatePtr
19343 xmlGetGlobalState(void);
19344# 170 "/usr/include/libxml2/libxml/globals.h" 2
19345
19346
19347
19348
19349 void xmlInitializeGlobalState(xmlGlobalStatePtr gs);
19350
19351 void xmlThrDefSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler);
19352
19353 void xmlThrDefSetStructuredErrorFunc(void *ctx, xmlStructuredErrorFunc handler);
19354
19355 xmlRegisterNodeFunc xmlRegisterNodeDefault(xmlRegisterNodeFunc func);
19356 xmlRegisterNodeFunc xmlThrDefRegisterNodeDefault(xmlRegisterNodeFunc func);
19357 xmlDeregisterNodeFunc xmlDeregisterNodeDefault(xmlDeregisterNodeFunc func);
19358 xmlDeregisterNodeFunc xmlThrDefDeregisterNodeDefault(xmlDeregisterNodeFunc func);
19359
19360 xmlOutputBufferCreateFilenameFunc
19361 xmlThrDefOutputBufferCreateFilenameDefault(xmlOutputBufferCreateFilenameFunc func);
19362 xmlParserInputBufferCreateFilenameFunc
19363 xmlThrDefParserInputBufferCreateFilenameDefault(xmlParserInputBufferCreateFilenameFunc func);
19364# 243 "/usr/include/libxml2/libxml/globals.h"
19365extern xmlMallocFunc xmlMalloc;
19366extern xmlMallocFunc xmlMallocAtomic;
19367extern xmlReallocFunc xmlRealloc;
19368extern xmlFreeFunc xmlFree;
19369extern xmlStrdupFunc xmlMemStrdup;
19370
19371
19372
19373 xmlSAXHandlerV1 * __docbDefaultSAXHandler(void);
19374# 261 "/usr/include/libxml2/libxml/globals.h"
19375 xmlSAXHandlerV1 * __htmlDefaultSAXHandler(void);
19376# 270 "/usr/include/libxml2/libxml/globals.h"
19377 xmlError * __xmlLastError(void);
19378# 285 "/usr/include/libxml2/libxml/globals.h"
19379 int * __oldXMLWDcompatibility(void);
19380
19381
19382
19383
19384
19385
19386
19387 xmlBufferAllocationScheme * __xmlBufferAllocScheme(void);
19388
19389
19390
19391
19392
19393
19394 xmlBufferAllocationScheme xmlThrDefBufferAllocScheme(xmlBufferAllocationScheme v);
19395
19396 int * __xmlDefaultBufferSize(void);
19397
19398
19399
19400
19401
19402
19403 int xmlThrDefDefaultBufferSize(int v);
19404
19405 xmlSAXHandlerV1 * __xmlDefaultSAXHandler(void);
19406
19407
19408
19409
19410
19411
19412
19413 xmlSAXLocator * __xmlDefaultSAXLocator(void);
19414
19415
19416
19417
19418
19419
19420
19421 int * __xmlDoValidityCheckingDefaultValue(void);
19422
19423
19424
19425
19426
19427
19428 int xmlThrDefDoValidityCheckingDefaultValue(int v);
19429
19430 xmlGenericErrorFunc * __xmlGenericError(void);
19431
19432
19433
19434
19435
19436
19437
19438 xmlStructuredErrorFunc * __xmlStructuredError(void);
19439
19440
19441
19442
19443
19444
19445
19446 void * * __xmlGenericErrorContext(void);
19447
19448
19449
19450
19451
19452
19453
19454 void * * __xmlStructuredErrorContext(void);
19455
19456
19457
19458
19459
19460
19461
19462 int * __xmlGetWarningsDefaultValue(void);
19463
19464
19465
19466
19467
19468
19469 int xmlThrDefGetWarningsDefaultValue(int v);
19470
19471 int * __xmlIndentTreeOutput(void);
19472
19473
19474
19475
19476
19477
19478 int xmlThrDefIndentTreeOutput(int v);
19479
19480 const char * * __xmlTreeIndentString(void);
19481
19482
19483
19484
19485
19486
19487 const char * xmlThrDefTreeIndentString(const char * v);
19488
19489 int * __xmlKeepBlanksDefaultValue(void);
19490
19491
19492
19493
19494
19495
19496 int xmlThrDefKeepBlanksDefaultValue(int v);
19497
19498 int * __xmlLineNumbersDefaultValue(void);
19499
19500
19501
19502
19503
19504
19505 int xmlThrDefLineNumbersDefaultValue(int v);
19506
19507 int * __xmlLoadExtDtdDefaultValue(void);
19508
19509
19510
19511
19512
19513
19514 int xmlThrDefLoadExtDtdDefaultValue(int v);
19515
19516 int * __xmlParserDebugEntities(void);
19517
19518
19519
19520
19521
19522
19523 int xmlThrDefParserDebugEntities(int v);
19524
19525 const char * * __xmlParserVersion(void);
19526
19527
19528
19529
19530
19531
19532
19533 int * __xmlPedanticParserDefaultValue(void);
19534
19535
19536
19537
19538
19539
19540 int xmlThrDefPedanticParserDefaultValue(int v);
19541
19542 int * __xmlSaveNoEmptyTags(void);
19543
19544
19545
19546
19547
19548
19549 int xmlThrDefSaveNoEmptyTags(int v);
19550
19551 int * __xmlSubstituteEntitiesDefaultValue(void);
19552
19553
19554
19555
19556
19557
19558 int xmlThrDefSubstituteEntitiesDefaultValue(int v);
19559
19560 xmlRegisterNodeFunc * __xmlRegisterNodeDefaultValue(void);
19561
19562
19563
19564
19565
19566
19567
19568 xmlDeregisterNodeFunc * __xmlDeregisterNodeDefaultValue(void);
19569
19570
19571
19572
19573
19574
19575
19576 xmlParserInputBufferCreateFilenameFunc * __xmlParserInputBufferCreateFilenameValue(void);
19577
19578
19579
19580
19581
19582
19583
19584 xmlOutputBufferCreateFilenameFunc * __xmlOutputBufferCreateFilenameValue(void);
19585# 118 "/usr/include/libxml2/libxml/xmlIO.h" 2
19586
19587
19588
19589
19590
19591
19592
19593struct _xmlParserInputBuffer {
19594 void* context;
19595 xmlInputReadCallback readcallback;
19596 xmlInputCloseCallback closecallback;
19597
19598 xmlCharEncodingHandlerPtr encoder;
19599
19600 xmlBufferPtr buffer;
19601 xmlBufferPtr raw;
19602 int compressed;
19603 int error;
19604 unsigned long rawconsumed;
19605};
19606
19607
19608
19609struct _xmlOutputBuffer {
19610 void* context;
19611 xmlOutputWriteCallback writecallback;
19612 xmlOutputCloseCallback closecallback;
19613
19614 xmlCharEncodingHandlerPtr encoder;
19615
19616 xmlBufferPtr buffer;
19617 xmlBufferPtr conv;
19618 int written;
19619 int error;
19620};
19621
19622
19623
19624
19625
19626 void
19627 xmlCleanupInputCallbacks (void);
19628
19629 int
19630 xmlPopInputCallbacks (void);
19631
19632 void
19633 xmlRegisterDefaultInputCallbacks (void);
19634 xmlParserInputBufferPtr
19635 xmlAllocParserInputBuffer (xmlCharEncoding enc);
19636
19637 xmlParserInputBufferPtr
19638 xmlParserInputBufferCreateFilename (const char *URI,
19639 xmlCharEncoding enc);
19640 xmlParserInputBufferPtr
19641 xmlParserInputBufferCreateFile (FILE *file,
19642 xmlCharEncoding enc);
19643 xmlParserInputBufferPtr
19644 xmlParserInputBufferCreateFd (int fd,
19645 xmlCharEncoding enc);
19646 xmlParserInputBufferPtr
19647 xmlParserInputBufferCreateMem (const char *mem, int size,
19648 xmlCharEncoding enc);
19649 xmlParserInputBufferPtr
19650 xmlParserInputBufferCreateStatic (const char *mem, int size,
19651 xmlCharEncoding enc);
19652 xmlParserInputBufferPtr
19653 xmlParserInputBufferCreateIO (xmlInputReadCallback ioread,
19654 xmlInputCloseCallback ioclose,
19655 void *ioctx,
19656 xmlCharEncoding enc);
19657 int
19658 xmlParserInputBufferRead (xmlParserInputBufferPtr in,
19659 int len);
19660 int
19661 xmlParserInputBufferGrow (xmlParserInputBufferPtr in,
19662 int len);
19663 int
19664 xmlParserInputBufferPush (xmlParserInputBufferPtr in,
19665 int len,
19666 const char *buf);
19667 void
19668 xmlFreeParserInputBuffer (xmlParserInputBufferPtr in);
19669 char *
19670 xmlParserGetDirectory (const char *filename);
19671
19672 int
19673 xmlRegisterInputCallbacks (xmlInputMatchCallback matchFunc,
19674 xmlInputOpenCallback openFunc,
19675 xmlInputReadCallback readFunc,
19676 xmlInputCloseCallback closeFunc);
19677
19678xmlParserInputBufferPtr
19679 __xmlParserInputBufferCreateFilename(const char *URI,
19680 xmlCharEncoding enc);
19681
19682
19683
19684
19685
19686 void
19687 xmlCleanupOutputCallbacks (void);
19688 void
19689 xmlRegisterDefaultOutputCallbacks(void);
19690 xmlOutputBufferPtr
19691 xmlAllocOutputBuffer (xmlCharEncodingHandlerPtr encoder);
19692
19693 xmlOutputBufferPtr
19694 xmlOutputBufferCreateFilename (const char *URI,
19695 xmlCharEncodingHandlerPtr encoder,
19696 int compression);
19697
19698 xmlOutputBufferPtr
19699 xmlOutputBufferCreateFile (FILE *file,
19700 xmlCharEncodingHandlerPtr encoder);
19701
19702 xmlOutputBufferPtr
19703 xmlOutputBufferCreateBuffer (xmlBufferPtr buffer,
19704 xmlCharEncodingHandlerPtr encoder);
19705
19706 xmlOutputBufferPtr
19707 xmlOutputBufferCreateFd (int fd,
19708 xmlCharEncodingHandlerPtr encoder);
19709
19710 xmlOutputBufferPtr
19711 xmlOutputBufferCreateIO (xmlOutputWriteCallback iowrite,
19712 xmlOutputCloseCallback ioclose,
19713 void *ioctx,
19714 xmlCharEncodingHandlerPtr encoder);
19715
19716 int
19717 xmlOutputBufferWrite (xmlOutputBufferPtr out,
19718 int len,
19719 const char *buf);
19720 int
19721 xmlOutputBufferWriteString (xmlOutputBufferPtr out,
19722 const char *str);
19723 int
19724 xmlOutputBufferWriteEscape (xmlOutputBufferPtr out,
19725 const xmlChar *str,
19726 xmlCharEncodingOutputFunc escaping);
19727
19728 int
19729 xmlOutputBufferFlush (xmlOutputBufferPtr out);
19730 int
19731 xmlOutputBufferClose (xmlOutputBufferPtr out);
19732
19733 int
19734 xmlRegisterOutputCallbacks (xmlOutputMatchCallback matchFunc,
19735 xmlOutputOpenCallback openFunc,
19736 xmlOutputWriteCallback writeFunc,
19737 xmlOutputCloseCallback closeFunc);
19738
19739xmlOutputBufferPtr
19740 __xmlOutputBufferCreateFilename(const char *URI,
19741 xmlCharEncodingHandlerPtr encoder,
19742 int compression);
19743
19744
19745
19746 void
19747 xmlRegisterHTTPPostCallbacks (void );
19748
19749
19750
19751
19752 xmlParserInputPtr
19753 xmlCheckHTTPInput (xmlParserCtxtPtr ctxt,
19754 xmlParserInputPtr ret);
19755
19756
19757
19758
19759 xmlParserInputPtr
19760 xmlNoNetExternalEntityLoader (const char *URL,
19761 const char *ID,
19762 xmlParserCtxtPtr ctxt);
19763
19764
19765
19766
19767
19768 xmlChar *
19769 xmlNormalizeWindowsPath (const xmlChar *path);
19770
19771 int
19772 xmlCheckFilename (const char *path);
19773
19774
19775
19776 int
19777 xmlFileMatch (const char *filename);
19778 void *
19779 xmlFileOpen (const char *filename);
19780 int
19781 xmlFileRead (void * context,
19782 char * buffer,
19783 int len);
19784 int
19785 xmlFileClose (void * context);
19786
19787
19788
19789
19790
19791 int
19792 xmlIOHTTPMatch (const char *filename);
19793 void *
19794 xmlIOHTTPOpen (const char *filename);
19795
19796 void *
19797 xmlIOHTTPOpenW (const char * post_uri,
19798 int compression );
19799
19800 int
19801 xmlIOHTTPRead (void * context,
19802 char * buffer,
19803 int len);
19804 int
19805 xmlIOHTTPClose (void * context);
19806
19807
19808
19809
19810
19811
19812 int
19813 xmlIOFTPMatch (const char *filename);
19814 void *
19815 xmlIOFTPOpen (const char *filename);
19816 int
19817 xmlIOFTPRead (void * context,
19818 char * buffer,
19819 int len);
19820 int
19821 xmlIOFTPClose (void * context);
19822# 803 "/usr/include/libxml2/libxml/parser.h" 2
19823# 813 "/usr/include/libxml2/libxml/parser.h"
19824 void
19825 xmlInitParser (void);
19826 void
19827 xmlCleanupParser (void);
19828
19829
19830
19831
19832 int
19833 xmlParserInputRead (xmlParserInputPtr in,
19834 int len);
19835 int
19836 xmlParserInputGrow (xmlParserInputPtr in,
19837 int len);
19838
19839
19840
19841
19842
19843 xmlDocPtr
19844 xmlParseDoc (const xmlChar *cur);
19845 xmlDocPtr
19846 xmlParseFile (const char *filename);
19847 xmlDocPtr
19848 xmlParseMemory (const char *buffer,
19849 int size);
19850
19851 int
19852 xmlSubstituteEntitiesDefault(int val);
19853 int
19854 xmlKeepBlanksDefault (int val);
19855 void
19856 xmlStopParser (xmlParserCtxtPtr ctxt);
19857 int
19858 xmlPedanticParserDefault(int val);
19859 int
19860 xmlLineNumbersDefault (int val);
19861
19862
19863
19864
19865
19866 xmlDocPtr
19867 xmlRecoverDoc (const xmlChar *cur);
19868 xmlDocPtr
19869 xmlRecoverMemory (const char *buffer,
19870 int size);
19871 xmlDocPtr
19872 xmlRecoverFile (const char *filename);
19873
19874
19875
19876
19877
19878 int
19879 xmlParseDocument (xmlParserCtxtPtr ctxt);
19880 int
19881 xmlParseExtParsedEnt (xmlParserCtxtPtr ctxt);
19882
19883 int
19884 xmlSAXUserParseFile (xmlSAXHandlerPtr sax,
19885 void *user_data,
19886 const char *filename);
19887 int
19888 xmlSAXUserParseMemory (xmlSAXHandlerPtr sax,
19889 void *user_data,
19890 const char *buffer,
19891 int size);
19892 xmlDocPtr
19893 xmlSAXParseDoc (xmlSAXHandlerPtr sax,
19894 const xmlChar *cur,
19895 int recovery);
19896 xmlDocPtr
19897 xmlSAXParseMemory (xmlSAXHandlerPtr sax,
19898 const char *buffer,
19899 int size,
19900 int recovery);
19901 xmlDocPtr
19902 xmlSAXParseMemoryWithData (xmlSAXHandlerPtr sax,
19903 const char *buffer,
19904 int size,
19905 int recovery,
19906 void *data);
19907 xmlDocPtr
19908 xmlSAXParseFile (xmlSAXHandlerPtr sax,
19909 const char *filename,
19910 int recovery);
19911 xmlDocPtr
19912 xmlSAXParseFileWithData (xmlSAXHandlerPtr sax,
19913 const char *filename,
19914 int recovery,
19915 void *data);
19916 xmlDocPtr
19917 xmlSAXParseEntity (xmlSAXHandlerPtr sax,
19918 const char *filename);
19919 xmlDocPtr
19920 xmlParseEntity (const char *filename);
19921
19922
19923
19924 xmlDtdPtr
19925 xmlSAXParseDTD (xmlSAXHandlerPtr sax,
19926 const xmlChar *ExternalID,
19927 const xmlChar *SystemID);
19928 xmlDtdPtr
19929 xmlParseDTD (const xmlChar *ExternalID,
19930 const xmlChar *SystemID);
19931 xmlDtdPtr
19932 xmlIOParseDTD (xmlSAXHandlerPtr sax,
19933 xmlParserInputBufferPtr input,
19934 xmlCharEncoding enc);
19935
19936
19937 int
19938 xmlParseBalancedChunkMemory(xmlDocPtr doc,
19939 xmlSAXHandlerPtr sax,
19940 void *user_data,
19941 int depth,
19942 const xmlChar *string,
19943 xmlNodePtr *lst);
19944
19945 xmlParserErrors
19946 xmlParseInNodeContext (xmlNodePtr node,
19947 const char *data,
19948 int datalen,
19949 int options,
19950 xmlNodePtr *lst);
19951
19952 int
19953 xmlParseBalancedChunkMemoryRecover(xmlDocPtr doc,
19954 xmlSAXHandlerPtr sax,
19955 void *user_data,
19956 int depth,
19957 const xmlChar *string,
19958 xmlNodePtr *lst,
19959 int recover);
19960 int
19961 xmlParseExternalEntity (xmlDocPtr doc,
19962 xmlSAXHandlerPtr sax,
19963 void *user_data,
19964 int depth,
19965 const xmlChar *URL,
19966 const xmlChar *ID,
19967 xmlNodePtr *lst);
19968
19969 int
19970 xmlParseCtxtExternalEntity(xmlParserCtxtPtr ctx,
19971 const xmlChar *URL,
19972 const xmlChar *ID,
19973 xmlNodePtr *lst);
19974
19975
19976
19977
19978 xmlParserCtxtPtr
19979 xmlNewParserCtxt (void);
19980 int
19981 xmlInitParserCtxt (xmlParserCtxtPtr ctxt);
19982 void
19983 xmlClearParserCtxt (xmlParserCtxtPtr ctxt);
19984 void
19985 xmlFreeParserCtxt (xmlParserCtxtPtr ctxt);
19986
19987 void
19988 xmlSetupParserForBuffer (xmlParserCtxtPtr ctxt,
19989 const xmlChar* buffer,
19990 const char *filename);
19991
19992 xmlParserCtxtPtr
19993 xmlCreateDocParserCtxt (const xmlChar *cur);
19994
19995
19996
19997
19998
19999 int
20000 xmlGetFeaturesList (int *len,
20001 const char **result);
20002 int
20003 xmlGetFeature (xmlParserCtxtPtr ctxt,
20004 const char *name,
20005 void *result);
20006 int
20007 xmlSetFeature (xmlParserCtxtPtr ctxt,
20008 const char *name,
20009 void *value);
20010
20011
20012
20013
20014
20015
20016 xmlParserCtxtPtr
20017 xmlCreatePushParserCtxt(xmlSAXHandlerPtr sax,
20018 void *user_data,
20019 const char *chunk,
20020 int size,
20021 const char *filename);
20022 int
20023 xmlParseChunk (xmlParserCtxtPtr ctxt,
20024 const char *chunk,
20025 int size,
20026 int terminate);
20027
20028
20029
20030
20031
20032
20033 xmlParserCtxtPtr
20034 xmlCreateIOParserCtxt (xmlSAXHandlerPtr sax,
20035 void *user_data,
20036 xmlInputReadCallback ioread,
20037 xmlInputCloseCallback ioclose,
20038 void *ioctx,
20039 xmlCharEncoding enc);
20040
20041 xmlParserInputPtr
20042 xmlNewIOInputStream (xmlParserCtxtPtr ctxt,
20043 xmlParserInputBufferPtr input,
20044 xmlCharEncoding enc);
20045
20046
20047
20048
20049 const xmlParserNodeInfo*
20050 xmlParserFindNodeInfo (const xmlParserCtxtPtr ctxt,
20051 const xmlNodePtr node);
20052 void
20053 xmlInitNodeInfoSeq (xmlParserNodeInfoSeqPtr seq);
20054 void
20055 xmlClearNodeInfoSeq (xmlParserNodeInfoSeqPtr seq);
20056 unsigned long
20057 xmlParserFindNodeInfoIndex(const xmlParserNodeInfoSeqPtr seq,
20058 const xmlNodePtr node);
20059 void
20060 xmlParserAddNodeInfo (xmlParserCtxtPtr ctxt,
20061 const xmlParserNodeInfoPtr info);
20062
20063
20064
20065
20066
20067 void
20068 xmlSetExternalEntityLoader(xmlExternalEntityLoader f);
20069 xmlExternalEntityLoader
20070 xmlGetExternalEntityLoader(void);
20071 xmlParserInputPtr
20072 xmlLoadExternalEntity (const char *URL,
20073 const char *ID,
20074 xmlParserCtxtPtr ctxt);
20075
20076
20077
20078
20079 long
20080 xmlByteConsumed (xmlParserCtxtPtr ctxt);
20081# 1080 "/usr/include/libxml2/libxml/parser.h"
20082typedef enum {
20083 XML_PARSE_RECOVER = 1<<0,
20084 XML_PARSE_NOENT = 1<<1,
20085 XML_PARSE_DTDLOAD = 1<<2,
20086 XML_PARSE_DTDATTR = 1<<3,
20087 XML_PARSE_DTDVALID = 1<<4,
20088 XML_PARSE_NOERROR = 1<<5,
20089 XML_PARSE_NOWARNING = 1<<6,
20090 XML_PARSE_PEDANTIC = 1<<7,
20091 XML_PARSE_NOBLANKS = 1<<8,
20092 XML_PARSE_SAX1 = 1<<9,
20093 XML_PARSE_XINCLUDE = 1<<10,
20094 XML_PARSE_NONET = 1<<11,
20095 XML_PARSE_NODICT = 1<<12,
20096 XML_PARSE_NSCLEAN = 1<<13,
20097 XML_PARSE_NOCDATA = 1<<14,
20098 XML_PARSE_NOXINCNODE= 1<<15,
20099 XML_PARSE_COMPACT = 1<<16,
20100
20101
20102 XML_PARSE_OLD10 = 1<<17,
20103 XML_PARSE_NOBASEFIX = 1<<18,
20104 XML_PARSE_HUGE = 1<<19,
20105 XML_PARSE_OLDSAX = 1<<20
20106} xmlParserOption;
20107
20108 void
20109 xmlCtxtReset (xmlParserCtxtPtr ctxt);
20110 int
20111 xmlCtxtResetPush (xmlParserCtxtPtr ctxt,
20112 const char *chunk,
20113 int size,
20114 const char *filename,
20115 const char *encoding);
20116 int
20117 xmlCtxtUseOptions (xmlParserCtxtPtr ctxt,
20118 int options);
20119 xmlDocPtr
20120 xmlReadDoc (const xmlChar *cur,
20121 const char *URL,
20122 const char *encoding,
20123 int options);
20124 xmlDocPtr
20125 xmlReadFile (const char *URL,
20126 const char *encoding,
20127 int options);
20128 xmlDocPtr
20129 xmlReadMemory (const char *buffer,
20130 int size,
20131 const char *URL,
20132 const char *encoding,
20133 int options);
20134 xmlDocPtr
20135 xmlReadFd (int fd,
20136 const char *URL,
20137 const char *encoding,
20138 int options);
20139 xmlDocPtr
20140 xmlReadIO (xmlInputReadCallback ioread,
20141 xmlInputCloseCallback ioclose,
20142 void *ioctx,
20143 const char *URL,
20144 const char *encoding,
20145 int options);
20146 xmlDocPtr
20147 xmlCtxtReadDoc (xmlParserCtxtPtr ctxt,
20148 const xmlChar *cur,
20149 const char *URL,
20150 const char *encoding,
20151 int options);
20152 xmlDocPtr
20153 xmlCtxtReadFile (xmlParserCtxtPtr ctxt,
20154 const char *filename,
20155 const char *encoding,
20156 int options);
20157 xmlDocPtr
20158 xmlCtxtReadMemory (xmlParserCtxtPtr ctxt,
20159 const char *buffer,
20160 int size,
20161 const char *URL,
20162 const char *encoding,
20163 int options);
20164 xmlDocPtr
20165 xmlCtxtReadFd (xmlParserCtxtPtr ctxt,
20166 int fd,
20167 const char *URL,
20168 const char *encoding,
20169 int options);
20170 xmlDocPtr
20171 xmlCtxtReadIO (xmlParserCtxtPtr ctxt,
20172 xmlInputReadCallback ioread,
20173 xmlInputCloseCallback ioclose,
20174 void *ioctx,
20175 const char *URL,
20176 const char *encoding,
20177 int options);
20178# 1187 "/usr/include/libxml2/libxml/parser.h"
20179typedef enum {
20180 XML_WITH_THREAD = 1,
20181 XML_WITH_TREE = 2,
20182 XML_WITH_OUTPUT = 3,
20183 XML_WITH_PUSH = 4,
20184 XML_WITH_READER = 5,
20185 XML_WITH_PATTERN = 6,
20186 XML_WITH_WRITER = 7,
20187 XML_WITH_SAX1 = 8,
20188 XML_WITH_FTP = 9,
20189 XML_WITH_HTTP = 10,
20190 XML_WITH_VALID = 11,
20191 XML_WITH_HTML = 12,
20192 XML_WITH_LEGACY = 13,
20193 XML_WITH_C14N = 14,
20194 XML_WITH_CATALOG = 15,
20195 XML_WITH_XPATH = 16,
20196 XML_WITH_XPTR = 17,
20197 XML_WITH_XINCLUDE = 18,
20198 XML_WITH_ICONV = 19,
20199 XML_WITH_ISO8859X = 20,
20200 XML_WITH_UNICODE = 21,
20201 XML_WITH_REGEXP = 22,
20202 XML_WITH_AUTOMATA = 23,
20203 XML_WITH_EXPR = 24,
20204 XML_WITH_SCHEMAS = 25,
20205 XML_WITH_SCHEMATRON = 26,
20206 XML_WITH_MODULES = 27,
20207 XML_WITH_DEBUG = 28,
20208 XML_WITH_DEBUG_MEM = 29,
20209 XML_WITH_DEBUG_RUN = 30,
20210 XML_WITH_ZLIB = 31,
20211 XML_WITH_NONE = 99999
20212} xmlFeature;
20213
20214 int
20215 xmlHasFeature (xmlFeature feature);
20216# 172 "/usr/include/gstreamer-0.10/gst/gstconfig.h" 2
20217# 52 "/usr/include/gstreamer-0.10/gst/gstelement.h" 2
20218# 1 "/usr/include/gstreamer-0.10/gst/gstobject.h" 1
20219# 31 "/usr/include/gstreamer-0.10/gst/gstobject.h"
20220
20221# 59 "/usr/include/gstreamer-0.10/gst/gstobject.h"
20222typedef enum
20223{
20224 GST_OBJECT_DISPOSING = (1<<0),
20225 GST_OBJECT_FLOATING = (1<<1),
20226
20227 GST_OBJECT_FLAG_LAST = (1<<4)
20228} GstObjectFlags;
20229# 181 "/usr/include/gstreamer-0.10/gst/gstobject.h"
20230typedef struct _GstObject GstObject;
20231typedef struct _GstObjectClass GstObjectClass;
20232# 195 "/usr/include/gstreamer-0.10/gst/gstobject.h"
20233struct _GstObject {
20234 GObject object;
20235
20236
20237 gint refcount;
20238
20239
20240 GMutex *lock;
20241 gchar *name;
20242 gchar *name_prefix;
20243 GstObject *parent;
20244 guint32 flags;
20245
20246
20247 gpointer _gst_reserved;
20248};
20249# 249 "/usr/include/gstreamer-0.10/gst/gstobject.h"
20250struct _GstObjectClass {
20251 GObjectClass parent_class;
20252
20253 gchar *path_string_separator;
20254 GObject *signal_object;
20255
20256 GStaticRecMutex *lock;
20257
20258
20259 void (*parent_set) (GstObject * object, GstObject * parent);
20260 void (*parent_unset) (GstObject * object, GstObject * parent);
20261 void (*object_saved) (GstObject * object, xmlNodePtr parent);
20262 void (*deep_notify) (GstObject * object, GstObject * orig, GParamSpec * pspec);
20263
20264
20265
20266 xmlNodePtr (*save_thyself) (GstObject * object, xmlNodePtr parent);
20267 void (*restore_thyself) (GstObject * object, xmlNodePtr self);
20268
20269
20270 gpointer _gst_reserved[4];
20271};
20272
20273
20274GType gst_object_get_type (void);
20275
20276
20277gboolean gst_object_set_name (GstObject *object, const gchar *name);
20278gchar* gst_object_get_name (GstObject *object);
20279void gst_object_set_name_prefix (GstObject *object, const gchar *name_prefix);
20280gchar* gst_object_get_name_prefix (GstObject *object);
20281
20282
20283gboolean gst_object_set_parent (GstObject *object, GstObject *parent);
20284GstObject* gst_object_get_parent (GstObject *object);
20285void gst_object_unparent (GstObject *object);
20286gboolean gst_object_has_ancestor (GstObject *object, GstObject *ancestor);
20287
20288void gst_object_default_deep_notify (GObject *object, GstObject *orig,
20289 GParamSpec *pspec, gchar **excluded_props);
20290
20291
20292gpointer gst_object_ref (gpointer object);
20293void gst_object_unref (gpointer object);
20294void gst_object_ref_sink (gpointer object);
20295void gst_object_sink (gpointer object);
20296
20297
20298void gst_object_replace (GstObject **oldobj, GstObject *newobj);
20299
20300
20301gchar * gst_object_get_path_string (GstObject *object);
20302
20303
20304gboolean gst_object_check_uniqueness (GList *list, const gchar *name);
20305
20306
20307
20308xmlNodePtr gst_object_save_thyself (GstObject *object, xmlNodePtr parent);
20309void gst_object_restore_thyself (GstObject *object, xmlNodePtr self);
20310# 317 "/usr/include/gstreamer-0.10/gst/gstobject.h"
20311guint gst_class_signal_connect (GstObjectClass *klass,
20312 const gchar *name,
20313 gpointer func,
20314 gpointer func_data);
20315
20316
20317void gst_class_signal_emit_by_name (GstObject * object,
20318 const gchar * name,
20319 xmlNodePtr self);
20320
20321
20322
20323
20324
20325
20326
20327
20328# 53 "/usr/include/gstreamer-0.10/gst/gstelement.h" 2
20329# 1 "/usr/include/gstreamer-0.10/gst/gstpad.h" 1
20330# 30 "/usr/include/gstreamer-0.10/gst/gstpad.h"
20331# 1 "/usr/include/gstreamer-0.10/gst/gstbuffer.h" 1
20332# 27 "/usr/include/gstreamer-0.10/gst/gstbuffer.h"
20333# 1 "/usr/include/gstreamer-0.10/gst/gstminiobject.h" 1
20334# 30 "/usr/include/gstreamer-0.10/gst/gstminiobject.h"
20335
20336# 40 "/usr/include/gstreamer-0.10/gst/gstminiobject.h"
20337typedef struct _GstMiniObject GstMiniObject;
20338typedef struct _GstMiniObjectClass GstMiniObjectClass;
20339# 51 "/usr/include/gstreamer-0.10/gst/gstminiobject.h"
20340typedef GstMiniObject * (*GstMiniObjectCopyFunction) (const GstMiniObject *obj);
20341# 62 "/usr/include/gstreamer-0.10/gst/gstminiobject.h"
20342typedef void (*GstMiniObjectFinalizeFunction) (GstMiniObject *obj);
20343# 112 "/usr/include/gstreamer-0.10/gst/gstminiobject.h"
20344typedef enum
20345{
20346 GST_MINI_OBJECT_FLAG_READONLY = (1<<0),
20347
20348 GST_MINI_OBJECT_FLAG_LAST = (1<<4)
20349} GstMiniObjectFlags;
20350# 142 "/usr/include/gstreamer-0.10/gst/gstminiobject.h"
20351struct _GstMiniObject {
20352 GTypeInstance instance;
20353
20354 gint refcount;
20355 guint flags;
20356
20357
20358 gpointer _gst_reserved;
20359};
20360
20361struct _GstMiniObjectClass {
20362 GTypeClass type_class;
20363
20364 GstMiniObjectCopyFunction copy;
20365 GstMiniObjectFinalizeFunction finalize;
20366
20367
20368 gpointer _gst_reserved;
20369};
20370
20371GType gst_mini_object_get_type (void);
20372
20373GstMiniObject* gst_mini_object_new (GType type);
20374GstMiniObject* gst_mini_object_copy (const GstMiniObject *mini_object);
20375gboolean gst_mini_object_is_writable (const GstMiniObject *mini_object);
20376GstMiniObject* gst_mini_object_make_writable (GstMiniObject *mini_object);
20377
20378
20379GstMiniObject* gst_mini_object_ref (GstMiniObject *mini_object);
20380void gst_mini_object_unref (GstMiniObject *mini_object);
20381void gst_mini_object_replace (GstMiniObject **olddata, GstMiniObject *newdata);
20382# 183 "/usr/include/gstreamer-0.10/gst/gstminiobject.h"
20383typedef struct _GstParamSpecMiniObject GstParamSpecMiniObject;
20384# 192 "/usr/include/gstreamer-0.10/gst/gstminiobject.h"
20385struct _GstParamSpecMiniObject
20386{
20387 GParamSpec parent_instance;
20388};
20389
20390
20391GType gst_param_spec_mini_object_get_type (void);
20392
20393GParamSpec* gst_param_spec_mini_object (const char *name, const char *nick,
20394 const char *blurb, GType object_type,
20395 GParamFlags flags);
20396
20397
20398
20399void gst_value_set_mini_object (GValue *value, GstMiniObject *mini_object);
20400void gst_value_take_mini_object (GValue *value, GstMiniObject *mini_object);
20401GstMiniObject* gst_value_get_mini_object (const GValue *value);
20402GstMiniObject* gst_value_dup_mini_object (const GValue *value);
20403
20404
20405
20406# 28 "/usr/include/gstreamer-0.10/gst/gstbuffer.h" 2
20407# 1 "/usr/include/gstreamer-0.10/gst/gstclock.h" 1
20408# 29 "/usr/include/gstreamer-0.10/gst/gstclock.h"
20409
20410# 48 "/usr/include/gstreamer-0.10/gst/gstclock.h"
20411typedef guint64 GstClockTime;
20412# 62 "/usr/include/gstreamer-0.10/gst/gstclock.h"
20413typedef gint64 GstClockTimeDiff;
20414
20415
20416
20417
20418
20419typedef gpointer GstClockID;
20420# 235 "/usr/include/gstreamer-0.10/gst/gstclock.h"
20421typedef struct _GstClockEntry GstClockEntry;
20422typedef struct _GstClock GstClock;
20423typedef struct _GstClockClass GstClockClass;
20424typedef struct _GstClockPrivate GstClockPrivate;
20425# 252 "/usr/include/gstreamer-0.10/gst/gstclock.h"
20426typedef gboolean (*GstClockCallback) (GstClock *clock, GstClockTime time,
20427 GstClockID id, gpointer user_data);
20428# 266 "/usr/include/gstreamer-0.10/gst/gstclock.h"
20429typedef enum
20430{
20431 GST_CLOCK_OK = 0,
20432 GST_CLOCK_EARLY = 1,
20433 GST_CLOCK_UNSCHEDULED = 2,
20434 GST_CLOCK_BUSY = 3,
20435 GST_CLOCK_BADTIME = 4,
20436 GST_CLOCK_ERROR = 5,
20437 GST_CLOCK_UNSUPPORTED = 6
20438} GstClockReturn;
20439# 284 "/usr/include/gstreamer-0.10/gst/gstclock.h"
20440typedef enum {
20441 GST_CLOCK_ENTRY_SINGLE,
20442 GST_CLOCK_ENTRY_PERIODIC
20443} GstClockEntryType;
20444# 339 "/usr/include/gstreamer-0.10/gst/gstclock.h"
20445struct _GstClockEntry {
20446 gint refcount;
20447
20448 GstClock *clock;
20449 GstClockEntryType type;
20450 GstClockTime time;
20451 GstClockTime interval;
20452 GstClockReturn status;
20453 GstClockCallback func;
20454 gpointer user_data;
20455};
20456# 363 "/usr/include/gstreamer-0.10/gst/gstclock.h"
20457typedef enum {
20458 GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC = (GST_OBJECT_FLAG_LAST << 0),
20459 GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC = (GST_OBJECT_FLAG_LAST << 1),
20460 GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC = (GST_OBJECT_FLAG_LAST << 2),
20461 GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC = (GST_OBJECT_FLAG_LAST << 3),
20462 GST_CLOCK_FLAG_CAN_SET_RESOLUTION = (GST_OBJECT_FLAG_LAST << 4),
20463 GST_CLOCK_FLAG_CAN_SET_MASTER = (GST_OBJECT_FLAG_LAST << 5),
20464
20465 GST_CLOCK_FLAG_LAST = (GST_OBJECT_FLAG_LAST << 8)
20466} GstClockFlags;
20467# 420 "/usr/include/gstreamer-0.10/gst/gstclock.h"
20468struct _GstClock {
20469 GstObject object;
20470
20471 GMutex *slave_lock;
20472
20473
20474 GstClockTime internal_calibration;
20475 GstClockTime external_calibration;
20476 GstClockTime rate_numerator;
20477 GstClockTime rate_denominator;
20478 GstClockTime last_time;
20479 GList *entries;
20480 GCond *entries_changed;
20481
20482
20483 GstClockTime resolution;
20484 gboolean stats;
20485
20486
20487 GstClock *master;
20488
20489
20490 gboolean filling;
20491 gint window_size;
20492 gint window_threshold;
20493 gint time_index;
20494 GstClockTime timeout;
20495 GstClockTime *times;
20496 GstClockID clockid;
20497
20498
20499 union {
20500 GstClockPrivate *priv;
20501 GstClockTime _gst_reserved[4];
20502 } ABI;
20503};
20504# 474 "/usr/include/gstreamer-0.10/gst/gstclock.h"
20505struct _GstClockClass {
20506 GstObjectClass parent_class;
20507
20508
20509
20510 GstClockTime (*change_resolution) (GstClock *clock,
20511 GstClockTime old_resolution,
20512 GstClockTime new_resolution);
20513 GstClockTime (*get_resolution) (GstClock *clock);
20514
20515 GstClockTime (*get_internal_time) (GstClock *clock);
20516
20517
20518 GstClockReturn (*wait) (GstClock *clock, GstClockEntry *entry);
20519 GstClockReturn (*wait_async) (GstClock *clock, GstClockEntry *entry);
20520 void (*unschedule) (GstClock *clock, GstClockEntry *entry);
20521
20522
20523 GstClockReturn (*wait_jitter) (GstClock *clock, GstClockEntry *entry,
20524 GstClockTimeDiff *jitter);
20525
20526 gpointer _gst_reserved[4 - 1];
20527};
20528
20529GType gst_clock_get_type (void);
20530
20531GstClockTime gst_clock_set_resolution (GstClock *clock,
20532 GstClockTime resolution);
20533GstClockTime gst_clock_get_resolution (GstClock *clock);
20534
20535GstClockTime gst_clock_get_time (GstClock *clock);
20536void gst_clock_set_calibration (GstClock *clock, GstClockTime internal,
20537 GstClockTime external,
20538 GstClockTime rate_num,
20539 GstClockTime rate_denom);
20540void gst_clock_get_calibration (GstClock *clock, GstClockTime *internal,
20541 GstClockTime *external,
20542 GstClockTime *rate_num,
20543 GstClockTime *rate_denom);
20544
20545
20546gboolean gst_clock_set_master (GstClock *clock, GstClock *master);
20547GstClock* gst_clock_get_master (GstClock *clock);
20548gboolean gst_clock_add_observation (GstClock *clock, GstClockTime slave,
20549 GstClockTime master, gdouble *r_squared);
20550
20551
20552
20553GstClockTime gst_clock_get_internal_time (GstClock *clock);
20554GstClockTime gst_clock_adjust_unlocked (GstClock *clock, GstClockTime internal);
20555GstClockTime gst_clock_unadjust_unlocked (GstClock * clock, GstClockTime external);
20556
20557
20558
20559GstClockID gst_clock_new_single_shot_id (GstClock *clock,
20560 GstClockTime time);
20561GstClockID gst_clock_new_periodic_id (GstClock *clock,
20562 GstClockTime start_time,
20563 GstClockTime interval);
20564
20565
20566GstClockID gst_clock_id_ref (GstClockID id);
20567void gst_clock_id_unref (GstClockID id);
20568
20569
20570gint gst_clock_id_compare_func (gconstpointer id1, gconstpointer id2);
20571
20572GstClockTime gst_clock_id_get_time (GstClockID id);
20573GstClockReturn gst_clock_id_wait (GstClockID id,
20574 GstClockTimeDiff *jitter);
20575GstClockReturn gst_clock_id_wait_async (GstClockID id,
20576 GstClockCallback func,
20577 gpointer user_data);
20578void gst_clock_id_unschedule (GstClockID id);
20579
20580
20581
20582# 29 "/usr/include/gstreamer-0.10/gst/gstbuffer.h" 2
20583# 1 "/usr/include/gstreamer-0.10/gst/gstcaps.h" 1
20584# 24 "/usr/include/gstreamer-0.10/gst/gstcaps.h"
20585# 1 "/usr/include/gstreamer-0.10/gst/gststructure.h" 1
20586# 28 "/usr/include/gstreamer-0.10/gst/gststructure.h"
20587
20588
20589
20590
20591
20592
20593typedef struct _GstStructure GstStructure;
20594# 48 "/usr/include/gstreamer-0.10/gst/gststructure.h"
20595typedef gboolean (*GstStructureForeachFunc) (GQuark field_id,
20596 const GValue * value,
20597 gpointer user_data);
20598# 64 "/usr/include/gstreamer-0.10/gst/gststructure.h"
20599typedef gboolean (*GstStructureMapFunc) (GQuark field_id,
20600 GValue * value,
20601 gpointer user_data);
20602
20603
20604
20605
20606
20607
20608
20609struct _GstStructure {
20610 GType type;
20611
20612
20613 GQuark name;
20614
20615
20616 gint *parent_refcount;
20617
20618 GArray *fields;
20619
20620 gpointer _gst_reserved;
20621};
20622
20623GType gst_structure_get_type (void);
20624
20625GstStructure * gst_structure_empty_new (const gchar * name);
20626GstStructure * gst_structure_id_empty_new (GQuark quark);
20627GstStructure * gst_structure_new (const gchar * name,
20628 const gchar * firstfield,
20629 ...);
20630GstStructure * gst_structure_new_valist (const gchar * name,
20631 const gchar * firstfield,
20632 va_list varargs);
20633GstStructure * gst_structure_id_new (GQuark name_quark,
20634 GQuark field_quark,
20635 ...);
20636GstStructure * gst_structure_copy (const GstStructure *structure);
20637void gst_structure_set_parent_refcount (GstStructure *structure,
20638 gint *refcount);
20639void gst_structure_free (GstStructure *structure);
20640
20641const gchar * gst_structure_get_name (const GstStructure *structure);
20642GQuark gst_structure_get_name_id (const GstStructure *structure);
20643gboolean gst_structure_has_name (const GstStructure *structure,
20644 const gchar *name);
20645void gst_structure_set_name (GstStructure *structure,
20646 const gchar *name);
20647
20648void gst_structure_id_set_value (GstStructure *structure,
20649 GQuark field,
20650 const GValue *value);
20651void gst_structure_set_value (GstStructure *structure,
20652 const gchar *fieldname,
20653 const GValue *value);
20654void gst_structure_set (GstStructure *structure,
20655 const gchar *fieldname,
20656 ...) __attribute__((__sentinel__));
20657
20658void gst_structure_set_valist (GstStructure *structure,
20659 const gchar *fieldname,
20660 va_list varargs);
20661
20662void gst_structure_id_set (GstStructure *structure,
20663 GQuark fieldname,
20664 ...) __attribute__((__sentinel__));
20665
20666void gst_structure_id_set_valist (GstStructure *structure,
20667 GQuark fieldname,
20668 va_list varargs);
20669
20670gboolean gst_structure_get_valist (GstStructure *structure,
20671 const char *first_fieldname,
20672 va_list args);
20673
20674gboolean gst_structure_get (GstStructure *structure,
20675 const char *first_fieldname,
20676 ...) __attribute__((__sentinel__));
20677
20678gboolean gst_structure_id_get_valist (GstStructure *structure,
20679 GQuark first_field_id,
20680 va_list args);
20681
20682gboolean gst_structure_id_get (GstStructure *structure,
20683 GQuark first_field_id,
20684 ...) __attribute__((__sentinel__));
20685
20686const GValue * gst_structure_id_get_value (const GstStructure *structure,
20687 GQuark field);
20688const GValue * gst_structure_get_value (const GstStructure *structure,
20689 const gchar *fieldname);
20690void gst_structure_remove_field (GstStructure *structure,
20691 const gchar *fieldname);
20692void gst_structure_remove_fields (GstStructure *structure,
20693 const gchar *fieldname,
20694 ...) __attribute__((__sentinel__));
20695void gst_structure_remove_fields_valist (GstStructure *structure,
20696 const gchar *fieldname,
20697 va_list varargs);
20698void gst_structure_remove_all_fields (GstStructure *structure);
20699
20700GType gst_structure_get_field_type (const GstStructure *structure,
20701 const gchar *fieldname);
20702gboolean gst_structure_foreach (const GstStructure *structure,
20703 GstStructureForeachFunc func,
20704 gpointer user_data);
20705gboolean gst_structure_map_in_place (GstStructure *structure,
20706 GstStructureMapFunc func,
20707 gpointer user_data);
20708gint gst_structure_n_fields (const GstStructure *structure);
20709const gchar * gst_structure_nth_field_name (const GstStructure *structure, guint index);
20710gboolean gst_structure_has_field (const GstStructure *structure,
20711 const gchar *fieldname);
20712gboolean gst_structure_has_field_typed (const GstStructure *structure,
20713 const gchar *fieldname,
20714 GType type);
20715
20716
20717gboolean gst_structure_get_boolean (const GstStructure *structure,
20718 const gchar *fieldname,
20719 gboolean *value);
20720gboolean gst_structure_get_int (const GstStructure *structure,
20721 const gchar *fieldname,
20722 gint *value);
20723gboolean gst_structure_get_uint (const GstStructure *structure,
20724 const gchar *fieldname,
20725 guint *value);
20726gboolean gst_structure_get_fourcc (const GstStructure *structure,
20727 const gchar *fieldname,
20728 guint32 *value);
20729gboolean gst_structure_get_double (const GstStructure *structure,
20730 const gchar *fieldname,
20731 gdouble *value);
20732gboolean gst_structure_get_date (const GstStructure *structure,
20733 const gchar *fieldname,
20734 GDate **value);
20735gboolean gst_structure_get_clock_time (const GstStructure *structure,
20736 const gchar *fieldname,
20737 GstClockTime *value);
20738const gchar * gst_structure_get_string (const GstStructure *structure,
20739 const gchar *fieldname);
20740gboolean gst_structure_get_enum (const GstStructure *structure,
20741 const gchar *fieldname,
20742 GType enumtype,
20743 gint *value);
20744gboolean gst_structure_get_fraction (const GstStructure *structure,
20745 const gchar *fieldname,
20746 gint *value_numerator,
20747 gint *value_denominator);
20748
20749gchar * gst_structure_to_string (const GstStructure *structure);
20750GstStructure * gst_structure_from_string (const gchar *string,
20751 gchar **end);
20752
20753gboolean gst_structure_fixate_field_nearest_int (GstStructure *structure,
20754 const char *field_name,
20755 int target);
20756gboolean gst_structure_fixate_field_nearest_double (GstStructure *structure,
20757 const char *field_name,
20758 double target);
20759
20760gboolean gst_structure_fixate_field_boolean (GstStructure *structure,
20761 const char *field_name,
20762 gboolean target);
20763gboolean gst_structure_fixate_field_nearest_fraction (GstStructure *structure,
20764 const char *field_name,
20765 const gint target_numerator,
20766 const gint target_denominator);
20767
20768
20769# 25 "/usr/include/gstreamer-0.10/gst/gstcaps.h" 2
20770
20771
20772
20773# 42 "/usr/include/gstreamer-0.10/gst/gstcaps.h"
20774typedef enum {
20775 GST_CAPS_FLAGS_ANY = (1 << 0)
20776} GstCapsFlags;
20777# 114 "/usr/include/gstreamer-0.10/gst/gstcaps.h"
20778typedef struct _GstCaps GstCaps;
20779typedef struct _GstStaticCaps GstStaticCaps;
20780# 141 "/usr/include/gstreamer-0.10/gst/gstcaps.h"
20781struct _GstCaps {
20782 GType type;
20783
20784
20785
20786 gint refcount;
20787
20788
20789 GstCapsFlags flags;
20790
20791
20792 GPtrArray *structs;
20793
20794
20795 gpointer _gst_reserved[4];
20796};
20797# 167 "/usr/include/gstreamer-0.10/gst/gstcaps.h"
20798struct _GstStaticCaps {
20799
20800 GstCaps caps;
20801 const char *string;
20802
20803
20804 gpointer _gst_reserved[4];
20805};
20806
20807GType gst_caps_get_type (void);
20808GstCaps * gst_caps_new_empty (void);
20809GstCaps * gst_caps_new_any (void);
20810GstCaps * gst_caps_new_simple (const char *media_type,
20811 const char *fieldname,
20812 ...);
20813GstCaps * gst_caps_new_full (GstStructure *struct1, ...);
20814GstCaps * gst_caps_new_full_valist (GstStructure *structure,
20815 va_list var_args);
20816
20817
20818GstCaps * gst_caps_ref (GstCaps *caps);
20819GstCaps * gst_caps_copy (const GstCaps *caps);
20820GstCaps * gst_caps_make_writable (GstCaps *caps);
20821void gst_caps_unref (GstCaps *caps);
20822
20823GType gst_static_caps_get_type (void);
20824GstCaps * gst_static_caps_get (GstStaticCaps *static_caps);
20825
20826
20827void gst_caps_append (GstCaps *caps1,
20828 GstCaps *caps2);
20829void gst_caps_merge (GstCaps *caps1,
20830 GstCaps *caps2);
20831void gst_caps_append_structure (GstCaps *caps,
20832 GstStructure *structure);
20833void gst_caps_remove_structure (GstCaps *caps, guint idx);
20834void gst_caps_merge_structure (GstCaps *caps,
20835 GstStructure *structure);
20836guint gst_caps_get_size (const GstCaps *caps);
20837GstStructure * gst_caps_get_structure (const GstCaps *caps,
20838 guint index);
20839GstCaps * gst_caps_copy_nth (const GstCaps *caps, guint nth);
20840void gst_caps_truncate (GstCaps *caps);
20841void gst_caps_set_simple (GstCaps *caps,
20842 const char *field, ...) __attribute__((__sentinel__));
20843void gst_caps_set_simple_valist (GstCaps *caps,
20844 const char *field,
20845 va_list varargs);
20846
20847
20848gboolean gst_caps_is_any (const GstCaps *caps);
20849gboolean gst_caps_is_empty (const GstCaps *caps);
20850gboolean gst_caps_is_fixed (const GstCaps *caps);
20851gboolean gst_caps_is_always_compatible (const GstCaps *caps1,
20852 const GstCaps *caps2);
20853gboolean gst_caps_is_subset (const GstCaps *subset,
20854 const GstCaps *superset);
20855gboolean gst_caps_is_equal (const GstCaps *caps1,
20856 const GstCaps *caps2);
20857gboolean gst_caps_is_equal_fixed (const GstCaps *caps1,
20858 const GstCaps *caps2);
20859
20860
20861
20862GstCaps * gst_caps_intersect (const GstCaps *caps1,
20863 const GstCaps *caps2);
20864GstCaps * gst_caps_subtract (const GstCaps *minuend,
20865 const GstCaps *subtrahend);
20866GstCaps * gst_caps_union (const GstCaps *caps1,
20867 const GstCaps *caps2);
20868GstCaps * gst_caps_normalize (const GstCaps *caps);
20869gboolean gst_caps_do_simplify (GstCaps *caps);
20870
20871
20872xmlNodePtr gst_caps_save_thyself (const GstCaps *caps,
20873 xmlNodePtr parent);
20874GstCaps * gst_caps_load_thyself (xmlNodePtr parent);
20875
20876
20877
20878void gst_caps_replace (GstCaps **caps,
20879 GstCaps *newcaps);
20880gchar * gst_caps_to_string (const GstCaps *caps);
20881GstCaps * gst_caps_from_string (const gchar *string);
20882
20883
20884# 30 "/usr/include/gstreamer-0.10/gst/gstbuffer.h" 2
20885
20886
20887
20888typedef struct _GstBuffer GstBuffer;
20889typedef struct _GstBufferClass GstBufferClass;
20890# 227 "/usr/include/gstreamer-0.10/gst/gstbuffer.h"
20891typedef enum {
20892 GST_BUFFER_FLAG_READONLY = GST_MINI_OBJECT_FLAG_READONLY,
20893 GST_BUFFER_FLAG_PREROLL = (GST_MINI_OBJECT_FLAG_LAST << 0),
20894 GST_BUFFER_FLAG_DISCONT = (GST_MINI_OBJECT_FLAG_LAST << 1),
20895 GST_BUFFER_FLAG_IN_CAPS = (GST_MINI_OBJECT_FLAG_LAST << 2),
20896 GST_BUFFER_FLAG_GAP = (GST_MINI_OBJECT_FLAG_LAST << 3),
20897 GST_BUFFER_FLAG_DELTA_UNIT = (GST_MINI_OBJECT_FLAG_LAST << 4),
20898 GST_BUFFER_FLAG_MEDIA1 = (GST_MINI_OBJECT_FLAG_LAST << 5),
20899 GST_BUFFER_FLAG_MEDIA2 = (GST_MINI_OBJECT_FLAG_LAST << 6),
20900 GST_BUFFER_FLAG_MEDIA3 = (GST_MINI_OBJECT_FLAG_LAST << 7),
20901 GST_BUFFER_FLAG_LAST = (GST_MINI_OBJECT_FLAG_LAST << 8)
20902} GstBufferFlag;
20903# 265 "/usr/include/gstreamer-0.10/gst/gstbuffer.h"
20904struct _GstBuffer {
20905 GstMiniObject mini_object;
20906
20907
20908
20909 guint8 *data;
20910 guint size;
20911
20912
20913 GstClockTime timestamp;
20914 GstClockTime duration;
20915
20916
20917 GstCaps *caps;
20918
20919
20920 guint64 offset;
20921 guint64 offset_end;
20922
20923 guint8 *malloc_data;
20924
20925 GFreeFunc free_func;
20926
20927
20928 gpointer _gst_reserved[4 - 1];
20929};
20930
20931struct _GstBufferClass {
20932 GstMiniObjectClass mini_object_class;
20933};
20934
20935GType gst_buffer_get_type (void);
20936
20937
20938GstBuffer * gst_buffer_new (void);
20939GstBuffer * gst_buffer_new_and_alloc (guint size);
20940GstBuffer * gst_buffer_try_new_and_alloc (guint size);
20941# 342 "/usr/include/gstreamer-0.10/gst/gstbuffer.h"
20942static inline GstBuffer *
20943gst_buffer_ref (GstBuffer * buf)
20944{
20945 return (GstBuffer *) gst_mini_object_ref (((GstMiniObject*)(buf)));
20946}
20947# 360 "/usr/include/gstreamer-0.10/gst/gstbuffer.h"
20948static inline void
20949gst_buffer_unref (GstBuffer * buf)
20950{
20951 gst_mini_object_unref (((GstMiniObject*)(buf)));
20952}
20953# 380 "/usr/include/gstreamer-0.10/gst/gstbuffer.h"
20954static inline GstBuffer *
20955gst_buffer_copy (const GstBuffer * buf)
20956{
20957 return ((((GstBuffer*) g_type_check_instance_cast ((GTypeInstance*) ((gst_mini_object_copy (((GstMiniObject*)(buf))))), ((gst_buffer_get_type()))))));
20958}
20959# 399 "/usr/include/gstreamer-0.10/gst/gstbuffer.h"
20960typedef enum {
20961 GST_BUFFER_COPY_FLAGS = (1 << 0),
20962 GST_BUFFER_COPY_TIMESTAMPS = (1 << 1),
20963 GST_BUFFER_COPY_CAPS = (1 << 2)
20964} GstBufferCopyFlags;
20965# 416 "/usr/include/gstreamer-0.10/gst/gstbuffer.h"
20966void gst_buffer_copy_metadata (GstBuffer *dest, const GstBuffer *src,
20967 GstBufferCopyFlags flags);
20968# 441 "/usr/include/gstreamer-0.10/gst/gstbuffer.h"
20969gboolean gst_buffer_is_metadata_writable (GstBuffer *buf);
20970GstBuffer* gst_buffer_make_metadata_writable (GstBuffer *buf);
20971# 464 "/usr/include/gstreamer-0.10/gst/gstbuffer.h"
20972GstCaps* gst_buffer_get_caps (GstBuffer *buffer);
20973void gst_buffer_set_caps (GstBuffer *buffer, GstCaps *caps);
20974
20975
20976GstBuffer* gst_buffer_create_sub (GstBuffer *parent, guint offset, guint size);
20977
20978
20979gboolean gst_buffer_is_span_fast (GstBuffer *buf1, GstBuffer *buf2);
20980GstBuffer* gst_buffer_span (GstBuffer *buf1, guint32 offset, GstBuffer *buf2, guint32 len);
20981# 500 "/usr/include/gstreamer-0.10/gst/gstbuffer.h"
20982
20983# 31 "/usr/include/gstreamer-0.10/gst/gstpad.h" 2
20984# 1 "/usr/include/gstreamer-0.10/gst/gstbufferlist.h" 1
20985# 28 "/usr/include/gstreamer-0.10/gst/gstbufferlist.h"
20986
20987# 38 "/usr/include/gstreamer-0.10/gst/gstbufferlist.h"
20988typedef struct _GstBufferList GstBufferList;
20989typedef struct _GstBufferListClass GstBufferListClass;
20990typedef struct _GstBufferListIterator GstBufferListIterator;
20991# 62 "/usr/include/gstreamer-0.10/gst/gstbufferlist.h"
20992typedef GstBuffer* (*GstBufferListDoFunction) (GstBuffer * buffer, gpointer user_data);
20993# 72 "/usr/include/gstreamer-0.10/gst/gstbufferlist.h"
20994typedef enum {
20995 GST_BUFFER_LIST_CONTINUE,
20996 GST_BUFFER_LIST_SKIP_GROUP,
20997 GST_BUFFER_LIST_END
20998} GstBufferListItem;
20999# 101 "/usr/include/gstreamer-0.10/gst/gstbufferlist.h"
21000typedef GstBufferListItem (*GstBufferListFunc) (GstBuffer **buffer, guint group, guint idx,
21001 gpointer user_data);
21002
21003
21004GType gst_buffer_list_get_type (void);
21005
21006
21007GstBufferList *gst_buffer_list_new (void);
21008# 128 "/usr/include/gstreamer-0.10/gst/gstbufferlist.h"
21009static inline GstBufferList *
21010gst_buffer_list_ref (GstBufferList * list)
21011{
21012 return ((GstBufferList *)gst_mini_object_ref (((GstMiniObject*)(list))));
21013
21014}
21015# 146 "/usr/include/gstreamer-0.10/gst/gstbufferlist.h"
21016static inline void
21017gst_buffer_list_unref (GstBufferList * list)
21018{
21019 gst_mini_object_unref (((GstMiniObject*)(list)));
21020}
21021# 167 "/usr/include/gstreamer-0.10/gst/gstbufferlist.h"
21022static inline GstBufferList *
21023gst_buffer_list_copy (const GstBufferList * list)
21024{
21025 return ((((GstBufferList*) g_type_check_instance_cast ((GTypeInstance*) ((gst_mini_object_copy (((GstMiniObject*)(list))))), ((gst_buffer_list_get_type ()))))));
21026}
21027# 191 "/usr/include/gstreamer-0.10/gst/gstbufferlist.h"
21028guint gst_buffer_list_n_groups (GstBufferList *list);
21029
21030void gst_buffer_list_foreach (GstBufferList *list,
21031 GstBufferListFunc func,
21032 gpointer user_data);
21033GstBuffer * gst_buffer_list_get (GstBufferList *list, guint group, guint idx);
21034
21035
21036GstBufferListIterator * gst_buffer_list_iterate (GstBufferList *list);
21037void gst_buffer_list_iterator_free (GstBufferListIterator *it);
21038
21039guint gst_buffer_list_iterator_n_buffers (const GstBufferListIterator *it);
21040GstBuffer * gst_buffer_list_iterator_next (GstBufferListIterator *it);
21041gboolean gst_buffer_list_iterator_next_group (GstBufferListIterator *it);
21042
21043void gst_buffer_list_iterator_add (GstBufferListIterator *it, GstBuffer *buffer);
21044void gst_buffer_list_iterator_add_group (GstBufferListIterator *it);
21045void gst_buffer_list_iterator_remove (GstBufferListIterator *it);
21046GstBuffer * gst_buffer_list_iterator_steal (GstBufferListIterator *it);
21047void gst_buffer_list_iterator_take (GstBufferListIterator *it, GstBuffer *buffer);
21048
21049GstBuffer * gst_buffer_list_iterator_do (GstBufferListIterator *it, GstBufferListDoFunction do_func,
21050 gpointer user_data);
21051
21052
21053GstBuffer * gst_buffer_list_iterator_merge_group (const GstBufferListIterator *it);
21054
21055
21056# 32 "/usr/include/gstreamer-0.10/gst/gstpad.h" 2
21057
21058# 1 "/usr/include/gstreamer-0.10/gst/gstevent.h" 1
21059# 29 "/usr/include/gstreamer-0.10/gst/gstevent.h"
21060# 1 "/usr/include/gstreamer-0.10/gst/gstformat.h" 1
21061# 30 "/usr/include/gstreamer-0.10/gst/gstformat.h"
21062# 1 "/usr/include/gstreamer-0.10/gst/gstiterator.h" 1
21063# 28 "/usr/include/gstreamer-0.10/gst/gstiterator.h"
21064
21065# 39 "/usr/include/gstreamer-0.10/gst/gstiterator.h"
21066typedef enum {
21067 GST_ITERATOR_DONE = 0,
21068 GST_ITERATOR_OK = 1,
21069 GST_ITERATOR_RESYNC = 2,
21070 GST_ITERATOR_ERROR = 3
21071} GstIteratorResult;
21072
21073typedef struct _GstIterator GstIterator;
21074# 56 "/usr/include/gstreamer-0.10/gst/gstiterator.h"
21075typedef enum {
21076 GST_ITERATOR_ITEM_SKIP = 0,
21077 GST_ITERATOR_ITEM_PASS = 1,
21078 GST_ITERATOR_ITEM_END = 2
21079} GstIteratorItem;
21080# 69 "/usr/include/gstreamer-0.10/gst/gstiterator.h"
21081typedef void (*GstIteratorDisposeFunction) (gpointer owner);
21082# 85 "/usr/include/gstreamer-0.10/gst/gstiterator.h"
21083typedef GstIteratorResult (*GstIteratorNextFunction) (GstIterator *it, gpointer *result);
21084# 101 "/usr/include/gstreamer-0.10/gst/gstiterator.h"
21085typedef GstIteratorItem (*GstIteratorItemFunction) (GstIterator *it, gpointer item);
21086# 115 "/usr/include/gstreamer-0.10/gst/gstiterator.h"
21087typedef void (*GstIteratorResyncFunction) (GstIterator *it);
21088# 126 "/usr/include/gstreamer-0.10/gst/gstiterator.h"
21089typedef void (*GstIteratorFreeFunction) (GstIterator *it);
21090# 138 "/usr/include/gstreamer-0.10/gst/gstiterator.h"
21091typedef gboolean (*GstIteratorFoldFunction) (gpointer item, GValue *ret, gpointer user_data);
21092# 192 "/usr/include/gstreamer-0.10/gst/gstiterator.h"
21093struct _GstIterator {
21094
21095 GstIteratorNextFunction next;
21096 GstIteratorItemFunction item;
21097 GstIteratorResyncFunction resync;
21098 GstIteratorFreeFunction free;
21099
21100 GstIterator *pushed;
21101
21102 GType type;
21103 GMutex *lock;
21104 guint32 cookie;
21105 guint32 *master_cookie;
21106
21107
21108
21109 gpointer _gst_reserved[4];
21110};
21111
21112
21113GstIterator* gst_iterator_new (guint size,
21114 GType type,
21115 GMutex *lock,
21116 guint32 *master_cookie,
21117 GstIteratorNextFunction next,
21118 GstIteratorItemFunction item,
21119 GstIteratorResyncFunction resync,
21120 GstIteratorFreeFunction free);
21121
21122GstIterator* gst_iterator_new_list (GType type,
21123 GMutex *lock,
21124 guint32 *master_cookie,
21125 GList **list,
21126 gpointer owner,
21127 GstIteratorItemFunction item,
21128 GstIteratorDisposeFunction free);
21129
21130
21131GstIteratorResult gst_iterator_next (GstIterator *it, gpointer *elem);
21132void gst_iterator_resync (GstIterator *it);
21133void gst_iterator_free (GstIterator *it);
21134
21135void gst_iterator_push (GstIterator *it, GstIterator *other);
21136
21137
21138GstIterator* gst_iterator_filter (GstIterator *it, GCompareFunc func,
21139 gpointer user_data);
21140GstIteratorResult gst_iterator_fold (GstIterator *it,
21141 GstIteratorFoldFunction func,
21142 GValue *ret, gpointer user_data);
21143GstIteratorResult gst_iterator_foreach (GstIterator *it,
21144 GFunc func, gpointer user_data);
21145gpointer gst_iterator_find_custom (GstIterator *it, GCompareFunc func,
21146 gpointer user_data);
21147
21148
21149# 31 "/usr/include/gstreamer-0.10/gst/gstformat.h" 2
21150
21151
21152# 52 "/usr/include/gstreamer-0.10/gst/gstformat.h"
21153typedef enum {
21154 GST_FORMAT_UNDEFINED = 0,
21155 GST_FORMAT_DEFAULT = 1,
21156 GST_FORMAT_BYTES = 2,
21157 GST_FORMAT_TIME = 3,
21158 GST_FORMAT_BUFFERS = 4,
21159 GST_FORMAT_PERCENT = 5
21160} GstFormat;
21161# 76 "/usr/include/gstreamer-0.10/gst/gstformat.h"
21162typedef struct _GstFormatDefinition GstFormatDefinition;
21163# 87 "/usr/include/gstreamer-0.10/gst/gstformat.h"
21164struct _GstFormatDefinition
21165{
21166 GstFormat value;
21167 gchar *nick;
21168 gchar *description;
21169 GQuark quark;
21170};
21171
21172const gchar* gst_format_get_name (GstFormat format);
21173GQuark gst_format_to_quark (GstFormat format);
21174
21175
21176GstFormat gst_format_register (const gchar *nick,
21177 const gchar *description);
21178GstFormat gst_format_get_by_nick (const gchar *nick);
21179
21180
21181gboolean gst_formats_contains (const GstFormat *formats, GstFormat format);
21182
21183
21184const GstFormatDefinition*
21185 gst_format_get_details (GstFormat format);
21186GstIterator* gst_format_iterate_definitions (void);
21187
21188
21189# 30 "/usr/include/gstreamer-0.10/gst/gstevent.h" 2
21190
21191
21192
21193# 1 "/usr/include/gstreamer-0.10/gst/gsttaglist.h" 1
21194# 30 "/usr/include/gstreamer-0.10/gst/gsttaglist.h"
21195
21196# 110 "/usr/include/gstreamer-0.10/gst/gsttaglist.h"
21197typedef enum {
21198 GST_TAG_MERGE_UNDEFINED,
21199 GST_TAG_MERGE_REPLACE_ALL,
21200 GST_TAG_MERGE_REPLACE,
21201 GST_TAG_MERGE_APPEND,
21202 GST_TAG_MERGE_PREPEND,
21203 GST_TAG_MERGE_KEEP,
21204 GST_TAG_MERGE_KEEP_ALL,
21205
21206 GST_TAG_MERGE_COUNT
21207} GstTagMergeMode;
21208# 134 "/usr/include/gstreamer-0.10/gst/gsttaglist.h"
21209typedef enum {
21210 GST_TAG_FLAG_UNDEFINED,
21211 GST_TAG_FLAG_META,
21212 GST_TAG_FLAG_ENCODED,
21213 GST_TAG_FLAG_DECODED,
21214 GST_TAG_FLAG_COUNT
21215} GstTagFlag;
21216# 149 "/usr/include/gstreamer-0.10/gst/gsttaglist.h"
21217typedef GstStructure GstTagList;
21218# 163 "/usr/include/gstreamer-0.10/gst/gsttaglist.h"
21219typedef void (*GstTagForeachFunc) (const GstTagList * list,
21220 const gchar * tag,
21221 gpointer user_data);
21222# 175 "/usr/include/gstreamer-0.10/gst/gsttaglist.h"
21223typedef void (* GstTagMergeFunc) (GValue *dest, const GValue *src);
21224
21225GType gst_tag_list_get_type (void);
21226
21227
21228void gst_tag_register (const gchar * name,
21229 GstTagFlag flag,
21230 GType type,
21231 const gchar * nick,
21232 const gchar * blurb,
21233 GstTagMergeFunc func);
21234
21235
21236void gst_tag_merge_use_first (GValue * dest, const GValue * src);
21237void gst_tag_merge_strings_with_comma (GValue * dest, const GValue * src);
21238
21239
21240gboolean gst_tag_exists (const gchar * tag);
21241GType gst_tag_get_type (const gchar * tag);
21242const gchar * gst_tag_get_nick (const gchar * tag);
21243const gchar * gst_tag_get_description (const gchar * tag);
21244GstTagFlag gst_tag_get_flag (const gchar * tag);
21245gboolean gst_tag_is_fixed (const gchar * tag);
21246
21247
21248GstTagList * gst_tag_list_new (void);
21249GstTagList * gst_tag_list_new_full (const gchar * tag, ...);
21250GstTagList * gst_tag_list_new_full_valist (va_list var_args);
21251
21252gboolean gst_is_tag_list (gconstpointer p);
21253GstTagList * gst_tag_list_copy (const GstTagList * list);
21254gboolean gst_tag_list_is_empty (const GstTagList * list);
21255void gst_tag_list_insert (GstTagList * into,
21256 const GstTagList * from,
21257 GstTagMergeMode mode);
21258GstTagList * gst_tag_list_merge (const GstTagList * list1,
21259 const GstTagList * list2,
21260 GstTagMergeMode mode);
21261void gst_tag_list_free (GstTagList * list);
21262guint gst_tag_list_get_tag_size (const GstTagList * list,
21263 const gchar * tag);
21264void gst_tag_list_add (GstTagList * list,
21265 GstTagMergeMode mode,
21266 const gchar * tag,
21267 ...) __attribute__((__sentinel__));
21268void gst_tag_list_add_values (GstTagList * list,
21269 GstTagMergeMode mode,
21270 const gchar * tag,
21271 ...) __attribute__((__sentinel__));
21272void gst_tag_list_add_valist (GstTagList * list,
21273 GstTagMergeMode mode,
21274 const gchar * tag,
21275 va_list var_args);
21276void gst_tag_list_add_valist_values (GstTagList * list,
21277 GstTagMergeMode mode,
21278 const gchar * tag,
21279 va_list var_args);
21280void gst_tag_list_add_value (GstTagList * list,
21281 GstTagMergeMode mode,
21282 const gchar * tag,
21283 const GValue * value);
21284void gst_tag_list_remove_tag (GstTagList * list,
21285 const gchar * tag);
21286void gst_tag_list_foreach (const GstTagList * list,
21287 GstTagForeachFunc func,
21288 gpointer user_data);
21289
21290const GValue *
21291 gst_tag_list_get_value_index (const GstTagList * list,
21292 const gchar * tag,
21293 guint index);
21294gboolean gst_tag_list_copy_value (GValue * dest,
21295 const GstTagList * list,
21296 const gchar * tag);
21297
21298
21299gboolean gst_tag_list_get_char (const GstTagList * list,
21300 const gchar * tag,
21301 gchar * value);
21302gboolean gst_tag_list_get_char_index (const GstTagList * list,
21303 const gchar * tag,
21304 guint index,
21305 gchar * value);
21306gboolean gst_tag_list_get_uchar (const GstTagList * list,
21307 const gchar * tag,
21308 guchar * value);
21309gboolean gst_tag_list_get_uchar_index (const GstTagList * list,
21310 const gchar * tag,
21311 guint index,
21312 guchar * value);
21313gboolean gst_tag_list_get_boolean (const GstTagList * list,
21314 const gchar * tag,
21315 gboolean * value);
21316gboolean gst_tag_list_get_boolean_index (const GstTagList * list,
21317 const gchar * tag,
21318 guint index,
21319 gboolean * value);
21320gboolean gst_tag_list_get_int (const GstTagList * list,
21321 const gchar * tag,
21322 gint * value);
21323gboolean gst_tag_list_get_int_index (const GstTagList * list,
21324 const gchar * tag,
21325 guint index,
21326 gint * value);
21327gboolean gst_tag_list_get_uint (const GstTagList * list,
21328 const gchar * tag,
21329 guint * value);
21330gboolean gst_tag_list_get_uint_index (const GstTagList * list,
21331 const gchar * tag,
21332 guint index,
21333 guint * value);
21334gboolean gst_tag_list_get_long (const GstTagList * list,
21335 const gchar * tag,
21336 glong * value);
21337gboolean gst_tag_list_get_long_index (const GstTagList * list,
21338 const gchar * tag,
21339 guint index,
21340 glong * value);
21341gboolean gst_tag_list_get_ulong (const GstTagList * list,
21342 const gchar * tag,
21343 gulong * value);
21344gboolean gst_tag_list_get_ulong_index (const GstTagList * list,
21345 const gchar * tag,
21346 guint index,
21347 gulong * value);
21348gboolean gst_tag_list_get_int64 (const GstTagList * list,
21349 const gchar * tag,
21350 gint64 * value);
21351gboolean gst_tag_list_get_int64_index (const GstTagList * list,
21352 const gchar * tag,
21353 guint index,
21354 gint64 * value);
21355gboolean gst_tag_list_get_uint64 (const GstTagList * list,
21356 const gchar * tag,
21357 guint64 * value);
21358gboolean gst_tag_list_get_uint64_index (const GstTagList * list,
21359 const gchar * tag,
21360 guint index,
21361 guint64 * value);
21362gboolean gst_tag_list_get_float (const GstTagList * list,
21363 const gchar * tag,
21364 gfloat * value);
21365gboolean gst_tag_list_get_float_index (const GstTagList * list,
21366 const gchar * tag,
21367 guint index,
21368 gfloat * value);
21369gboolean gst_tag_list_get_double (const GstTagList * list,
21370 const gchar * tag,
21371 gdouble * value);
21372gboolean gst_tag_list_get_double_index (const GstTagList * list,
21373 const gchar * tag,
21374 guint index,
21375 gdouble * value);
21376gboolean gst_tag_list_get_string (const GstTagList * list,
21377 const gchar * tag,
21378 gchar ** value);
21379gboolean gst_tag_list_get_string_index (const GstTagList * list,
21380 const gchar * tag,
21381 guint index,
21382 gchar ** value);
21383gboolean gst_tag_list_get_pointer (const GstTagList * list,
21384 const gchar * tag,
21385 gpointer * value);
21386gboolean gst_tag_list_get_pointer_index (const GstTagList * list,
21387 const gchar * tag,
21388 guint index,
21389 gpointer * value);
21390gboolean gst_tag_list_get_date (const GstTagList * list,
21391 const gchar * tag,
21392 GDate ** value);
21393gboolean gst_tag_list_get_date_index (const GstTagList * list,
21394 const gchar * tag,
21395 guint index,
21396 GDate ** value);
21397gboolean gst_tag_list_get_buffer (const GstTagList * list,
21398 const gchar * tag,
21399 GstBuffer ** value);
21400gboolean gst_tag_list_get_buffer_index (const GstTagList * list,
21401 const gchar * tag,
21402 guint index,
21403 GstBuffer ** value);
21404# 769 "/usr/include/gstreamer-0.10/gst/gsttaglist.h"
21405
21406# 34 "/usr/include/gstreamer-0.10/gst/gstevent.h" 2
21407
21408
21409# 48 "/usr/include/gstreamer-0.10/gst/gstevent.h"
21410typedef enum {
21411 GST_EVENT_TYPE_UPSTREAM = 1 << 0,
21412 GST_EVENT_TYPE_DOWNSTREAM = 1 << 1,
21413 GST_EVENT_TYPE_SERIALIZED = 1 << 2
21414} GstEventTypeFlags;
21415# 113 "/usr/include/gstreamer-0.10/gst/gstevent.h"
21416typedef enum {
21417 GST_EVENT_UNKNOWN = (((0) << 4) | (0)),
21418
21419 GST_EVENT_FLUSH_START = (((1) << 4) | ((GST_EVENT_TYPE_UPSTREAM | GST_EVENT_TYPE_DOWNSTREAM))),
21420 GST_EVENT_FLUSH_STOP = (((2) << 4) | ((GST_EVENT_TYPE_UPSTREAM | GST_EVENT_TYPE_DOWNSTREAM) | GST_EVENT_TYPE_SERIALIZED)),
21421
21422 GST_EVENT_EOS = (((5) << 4) | (GST_EVENT_TYPE_DOWNSTREAM | GST_EVENT_TYPE_SERIALIZED)),
21423 GST_EVENT_NEWSEGMENT = (((6) << 4) | (GST_EVENT_TYPE_DOWNSTREAM | GST_EVENT_TYPE_SERIALIZED)),
21424 GST_EVENT_TAG = (((7) << 4) | (GST_EVENT_TYPE_DOWNSTREAM | GST_EVENT_TYPE_SERIALIZED)),
21425 GST_EVENT_BUFFERSIZE = (((8) << 4) | (GST_EVENT_TYPE_DOWNSTREAM | GST_EVENT_TYPE_SERIALIZED)),
21426
21427 GST_EVENT_QOS = (((15) << 4) | (GST_EVENT_TYPE_UPSTREAM)),
21428 GST_EVENT_SEEK = (((16) << 4) | (GST_EVENT_TYPE_UPSTREAM)),
21429 GST_EVENT_NAVIGATION = (((17) << 4) | (GST_EVENT_TYPE_UPSTREAM)),
21430 GST_EVENT_LATENCY = (((18) << 4) | (GST_EVENT_TYPE_UPSTREAM)),
21431 GST_EVENT_STEP = (((19) << 4) | (GST_EVENT_TYPE_UPSTREAM)),
21432
21433
21434 GST_EVENT_CUSTOM_UPSTREAM = (((32) << 4) | (GST_EVENT_TYPE_UPSTREAM)),
21435 GST_EVENT_CUSTOM_DOWNSTREAM = (((32) << 4) | (GST_EVENT_TYPE_DOWNSTREAM | GST_EVENT_TYPE_SERIALIZED)),
21436 GST_EVENT_CUSTOM_DOWNSTREAM_OOB = (((32) << 4) | (GST_EVENT_TYPE_DOWNSTREAM)),
21437 GST_EVENT_CUSTOM_BOTH = (((32) << 4) | ((GST_EVENT_TYPE_UPSTREAM | GST_EVENT_TYPE_DOWNSTREAM) | GST_EVENT_TYPE_SERIALIZED)),
21438 GST_EVENT_CUSTOM_BOTH_OOB = (((32) << 4) | ((GST_EVENT_TYPE_UPSTREAM | GST_EVENT_TYPE_DOWNSTREAM)))
21439} GstEventType;
21440# 146 "/usr/include/gstreamer-0.10/gst/gstevent.h"
21441typedef struct _GstEvent GstEvent;
21442typedef struct _GstEventClass GstEventClass;
21443# 245 "/usr/include/gstreamer-0.10/gst/gstevent.h"
21444typedef enum {
21445
21446 GST_SEEK_TYPE_NONE = 0,
21447 GST_SEEK_TYPE_CUR = 1,
21448 GST_SEEK_TYPE_SET = 2,
21449 GST_SEEK_TYPE_END = 3
21450} GstSeekType;
21451# 288 "/usr/include/gstreamer-0.10/gst/gstevent.h"
21452typedef enum {
21453 GST_SEEK_FLAG_NONE = 0,
21454 GST_SEEK_FLAG_FLUSH = (1 << 0),
21455 GST_SEEK_FLAG_ACCURATE = (1 << 1),
21456 GST_SEEK_FLAG_KEY_UNIT = (1 << 2),
21457 GST_SEEK_FLAG_SEGMENT = (1 << 3),
21458 GST_SEEK_FLAG_SKIP = (1 << 4)
21459} GstSeekFlags;
21460# 307 "/usr/include/gstreamer-0.10/gst/gstevent.h"
21461struct _GstEvent {
21462 GstMiniObject mini_object;
21463
21464
21465 GstEventType type;
21466 guint64 timestamp;
21467 GstObject *src;
21468
21469 GstStructure *structure;
21470
21471
21472 union {
21473 guint32 seqnum;
21474 gpointer _gst_reserved;
21475 } abidata;
21476};
21477
21478struct _GstEventClass {
21479 GstMiniObjectClass mini_object_class;
21480
21481
21482 gpointer _gst_reserved[4];
21483};
21484
21485const gchar* gst_event_type_get_name (GstEventType type);
21486GQuark gst_event_type_to_quark (GstEventType type);
21487GstEventTypeFlags
21488 gst_event_type_get_flags (GstEventType type);
21489
21490
21491GType gst_event_get_type (void);
21492# 352 "/usr/include/gstreamer-0.10/gst/gstevent.h"
21493static inline GstEvent *
21494gst_event_ref (GstEvent * event)
21495{
21496 return (GstEvent *) gst_mini_object_ref (((((GstMiniObject*) g_type_check_instance_cast ((GTypeInstance*) ((event)), ((gst_mini_object_get_type())))))));
21497}
21498# 368 "/usr/include/gstreamer-0.10/gst/gstevent.h"
21499static inline void
21500gst_event_unref (GstEvent * event)
21501{
21502 gst_mini_object_unref (((((GstMiniObject*) g_type_check_instance_cast ((GTypeInstance*) ((event)), ((gst_mini_object_get_type())))))));
21503}
21504# 385 "/usr/include/gstreamer-0.10/gst/gstevent.h"
21505static inline GstEvent *
21506gst_event_copy (const GstEvent * event)
21507{
21508 return ((GstEvent *)(gst_mini_object_copy (((((GstMiniObject*) g_type_check_instance_cast ((GTypeInstance*) ((event)), ((gst_mini_object_get_type())))))))));
21509}
21510
21511
21512
21513GstEvent* gst_event_new_custom (GstEventType type, GstStructure *structure);
21514
21515const GstStructure *
21516 gst_event_get_structure (GstEvent *event);
21517
21518gboolean gst_event_has_name (GstEvent *event, const gchar *name);
21519
21520
21521guint32 gst_event_get_seqnum (GstEvent *event);
21522void gst_event_set_seqnum (GstEvent *event, guint32 seqnum);
21523
21524
21525GstEvent * gst_event_new_flush_start (void);
21526GstEvent * gst_event_new_flush_stop (void);
21527
21528
21529GstEvent * gst_event_new_eos (void);
21530
21531
21532GstEvent* gst_event_new_new_segment (gboolean update, gdouble rate,
21533 GstFormat format,
21534 gint64 start, gint64 stop,
21535 gint64 position);
21536GstEvent* gst_event_new_new_segment_full (gboolean update, gdouble rate,
21537 gdouble applied_rate,
21538 GstFormat format,
21539 gint64 start, gint64 stop,
21540 gint64 position);
21541void gst_event_parse_new_segment (GstEvent *event,
21542 gboolean *update,
21543 gdouble *rate,
21544 GstFormat *format,
21545 gint64 *start, gint64 *stop,
21546 gint64 *position);
21547void gst_event_parse_new_segment_full (GstEvent *event,
21548 gboolean *update,
21549 gdouble *rate,
21550 gdouble *applied_rate,
21551 GstFormat *format,
21552 gint64 *start, gint64 *stop,
21553 gint64 *position);
21554
21555
21556GstEvent* gst_event_new_tag (GstTagList *taglist);
21557void gst_event_parse_tag (GstEvent *event, GstTagList **taglist);
21558
21559
21560GstEvent * gst_event_new_buffer_size (GstFormat format, gint64 minsize, gint64 maxsize,
21561 gboolean async);
21562void gst_event_parse_buffer_size (GstEvent *event, GstFormat *format, gint64 *minsize,
21563 gint64 *maxsize, gboolean *async);
21564
21565
21566GstEvent* gst_event_new_qos (gdouble proportion, GstClockTimeDiff diff,
21567 GstClockTime timestamp);
21568void gst_event_parse_qos (GstEvent *event, gdouble *proportion, GstClockTimeDiff *diff,
21569 GstClockTime *timestamp);
21570
21571GstEvent* gst_event_new_seek (gdouble rate, GstFormat format, GstSeekFlags flags,
21572 GstSeekType start_type, gint64 start,
21573 GstSeekType stop_type, gint64 stop);
21574void gst_event_parse_seek (GstEvent *event, gdouble *rate, GstFormat *format,
21575 GstSeekFlags *flags,
21576 GstSeekType *start_type, gint64 *start,
21577 GstSeekType *stop_type, gint64 *stop);
21578
21579GstEvent* gst_event_new_navigation (GstStructure *structure);
21580
21581
21582GstEvent* gst_event_new_latency (GstClockTime latency);
21583void gst_event_parse_latency (GstEvent *event, GstClockTime *latency);
21584
21585
21586GstEvent* gst_event_new_step (GstFormat format, guint64 amount, gdouble rate,
21587 gboolean flush, gboolean intermediate);
21588void gst_event_parse_step (GstEvent *event, GstFormat *format, guint64 *amount,
21589 gdouble *rate, gboolean *flush, gboolean *intermediate);
21590
21591
21592# 34 "/usr/include/gstreamer-0.10/gst/gstpad.h" 2
21593# 1 "/usr/include/gstreamer-0.10/gst/gstquery.h" 1
21594# 35 "/usr/include/gstreamer-0.10/gst/gstquery.h"
21595
21596# 59 "/usr/include/gstreamer-0.10/gst/gstquery.h"
21597typedef enum {
21598 GST_QUERY_NONE = 0,
21599 GST_QUERY_POSITION,
21600 GST_QUERY_DURATION,
21601 GST_QUERY_LATENCY,
21602 GST_QUERY_JITTER,
21603 GST_QUERY_RATE,
21604 GST_QUERY_SEEKING,
21605 GST_QUERY_SEGMENT,
21606 GST_QUERY_CONVERT,
21607 GST_QUERY_FORMATS,
21608 GST_QUERY_BUFFERING,
21609 GST_QUERY_CUSTOM,
21610 GST_QUERY_URI
21611} GstQueryType;
21612# 84 "/usr/include/gstreamer-0.10/gst/gstquery.h"
21613typedef enum {
21614 GST_BUFFERING_STREAM,
21615 GST_BUFFERING_DOWNLOAD,
21616 GST_BUFFERING_TIMESHIFT,
21617 GST_BUFFERING_LIVE
21618} GstBufferingMode;
21619
21620typedef struct _GstQueryTypeDefinition GstQueryTypeDefinition;
21621typedef struct _GstQuery GstQuery;
21622typedef struct _GstQueryClass GstQueryClass;
21623# 104 "/usr/include/gstreamer-0.10/gst/gstquery.h"
21624struct _GstQueryTypeDefinition
21625{
21626 GstQueryType value;
21627 gchar *nick;
21628 gchar *description;
21629 GQuark quark;
21630};
21631# 148 "/usr/include/gstreamer-0.10/gst/gstquery.h"
21632struct _GstQuery
21633{
21634 GstMiniObject mini_object;
21635
21636
21637 GstQueryType type;
21638
21639 GstStructure *structure;
21640
21641
21642 gpointer _gst_reserved;
21643};
21644
21645struct _GstQueryClass {
21646 GstMiniObjectClass mini_object_class;
21647
21648
21649 gpointer _gst_reserved[4];
21650};
21651
21652const gchar* gst_query_type_get_name (GstQueryType query);
21653GQuark gst_query_type_to_quark (GstQueryType query);
21654
21655GType gst_query_get_type (void);
21656
21657
21658GstQueryType gst_query_type_register (const gchar *nick,
21659 const gchar *description);
21660GstQueryType gst_query_type_get_by_nick (const gchar *nick);
21661
21662
21663gboolean gst_query_types_contains (const GstQueryType *types,
21664 GstQueryType type);
21665
21666
21667
21668const GstQueryTypeDefinition*
21669 gst_query_type_get_details (GstQueryType type);
21670GstIterator* gst_query_type_iterate_definitions (void);
21671# 201 "/usr/include/gstreamer-0.10/gst/gstquery.h"
21672static inline GstQuery *
21673gst_query_ref (GstQuery * q)
21674{
21675 return ((((GstQuery*) g_type_check_instance_cast ((GTypeInstance*) ((gst_mini_object_ref (((GstMiniObject*)(q))))), ((gst_query_get_type()))))));
21676}
21677# 218 "/usr/include/gstreamer-0.10/gst/gstquery.h"
21678static inline void
21679gst_query_unref (GstQuery * q)
21680{
21681 gst_mini_object_unref (((GstMiniObject*)(q)));
21682}
21683# 238 "/usr/include/gstreamer-0.10/gst/gstquery.h"
21684static inline GstQuery *
21685gst_query_copy (const GstQuery * q)
21686{
21687 return ((((GstQuery*) g_type_check_instance_cast ((GTypeInstance*) ((gst_mini_object_copy (((GstMiniObject*)(q))))), ((gst_query_get_type()))))));
21688}
21689# 253 "/usr/include/gstreamer-0.10/gst/gstquery.h"
21690GstQuery* gst_query_new_position (GstFormat format);
21691void gst_query_set_position (GstQuery *query, GstFormat format, gint64 cur);
21692void gst_query_parse_position (GstQuery *query, GstFormat *format, gint64 *cur);
21693
21694
21695GstQuery* gst_query_new_duration (GstFormat format);
21696void gst_query_set_duration (GstQuery *query, GstFormat format, gint64 duration);
21697void gst_query_parse_duration (GstQuery *query, GstFormat *format, gint64 *duration);
21698
21699
21700GstQuery* gst_query_new_latency (void);
21701void gst_query_set_latency (GstQuery *query, gboolean live, GstClockTime min_latency,
21702 GstClockTime max_latency);
21703void gst_query_parse_latency (GstQuery *query, gboolean *live, GstClockTime *min_latency,
21704 GstClockTime *max_latency);
21705
21706
21707GstQuery* gst_query_new_convert (GstFormat src_format, gint64 value, GstFormat dest_format);
21708void gst_query_set_convert (GstQuery *query, GstFormat src_format, gint64 src_value,
21709 GstFormat dest_format, gint64 dest_value);
21710void gst_query_parse_convert (GstQuery *query, GstFormat *src_format, gint64 *src_value,
21711 GstFormat *dest_format, gint64 *dest_value);
21712
21713GstQuery* gst_query_new_segment (GstFormat format);
21714void gst_query_set_segment (GstQuery *query, gdouble rate, GstFormat format,
21715 gint64 start_value, gint64 stop_value);
21716void gst_query_parse_segment (GstQuery *query, gdouble *rate, GstFormat *format,
21717 gint64 *start_value, gint64 *stop_value);
21718
21719
21720GstQuery * gst_query_new_application (GstQueryType type,
21721 GstStructure *structure);
21722GstStructure * gst_query_get_structure (GstQuery *query);
21723
21724
21725GstQuery* gst_query_new_seeking (GstFormat format);
21726void gst_query_set_seeking (GstQuery *query, GstFormat format,
21727 gboolean seekable,
21728 gint64 segment_start,
21729 gint64 segment_end);
21730void gst_query_parse_seeking (GstQuery *query, GstFormat *format,
21731 gboolean *seekable,
21732 gint64 *segment_start,
21733 gint64 *segment_end);
21734
21735GstQuery* gst_query_new_formats (void);
21736void gst_query_set_formats (GstQuery *query, gint n_formats, ...);
21737void gst_query_set_formatsv (GstQuery *query, gint n_formats, GstFormat *formats);
21738void gst_query_parse_formats_length (GstQuery *query, guint *n_formats);
21739void gst_query_parse_formats_nth (GstQuery *query, guint nth, GstFormat *format);
21740
21741
21742GstQuery* gst_query_new_buffering (GstFormat format);
21743void gst_query_set_buffering_percent (GstQuery *query, gboolean busy, gint percent);
21744void gst_query_parse_buffering_percent (GstQuery *query, gboolean *busy, gint *percent);
21745
21746void gst_query_set_buffering_stats (GstQuery *query, GstBufferingMode mode,
21747 gint avg_in, gint avg_out,
21748 gint64 buffering_left);
21749void gst_query_parse_buffering_stats (GstQuery *query, GstBufferingMode *mode,
21750 gint *avg_in, gint *avg_out,
21751 gint64 *buffering_left);
21752
21753void gst_query_set_buffering_range (GstQuery *query, GstFormat format,
21754 gint64 start, gint64 stop,
21755 gint64 estimated_total);
21756void gst_query_parse_buffering_range (GstQuery *query, GstFormat *format,
21757 gint64 *start, gint64 *stop,
21758 gint64 *estimated_total);
21759
21760GstQuery * gst_query_new_uri (void);
21761void gst_query_parse_uri (GstQuery *query, gchar **uri);
21762void gst_query_set_uri (GstQuery *query, const gchar *uri);
21763
21764
21765# 35 "/usr/include/gstreamer-0.10/gst/gstpad.h" 2
21766# 1 "/usr/include/gstreamer-0.10/gst/gsttask.h" 1
21767# 27 "/usr/include/gstreamer-0.10/gst/gsttask.h"
21768# 1 "/usr/include/gstreamer-0.10/gst/gsttaskpool.h" 1
21769# 27 "/usr/include/gstreamer-0.10/gst/gsttaskpool.h"
21770
21771# 38 "/usr/include/gstreamer-0.10/gst/gsttaskpool.h"
21772typedef struct _GstTaskPool GstTaskPool;
21773typedef struct _GstTaskPoolClass GstTaskPoolClass;
21774
21775typedef void (*GstTaskPoolFunction) (void *data);
21776
21777
21778
21779
21780
21781
21782struct _GstTaskPool {
21783 GstObject object;
21784
21785
21786 GThreadPool *pool;
21787
21788 gpointer _gst_reserved[4];
21789};
21790# 67 "/usr/include/gstreamer-0.10/gst/gsttaskpool.h"
21791struct _GstTaskPoolClass {
21792 GstObjectClass parent_class;
21793
21794
21795 void (*prepare) (GstTaskPool *pool, GError **error);
21796 void (*cleanup) (GstTaskPool *pool);
21797
21798 gpointer (*push) (GstTaskPool *pool, GstTaskPoolFunction func,
21799 gpointer user_data, GError **error);
21800 void (*join) (GstTaskPool *pool, gpointer id);
21801
21802
21803 gpointer _gst_reserved[4];
21804};
21805
21806GType gst_task_pool_get_type (void);
21807
21808GstTaskPool * gst_task_pool_new (void);
21809void gst_task_pool_prepare (GstTaskPool *pool, GError **error);
21810
21811gpointer gst_task_pool_push (GstTaskPool *pool, GstTaskPoolFunction func,
21812 gpointer user_data, GError **error);
21813void gst_task_pool_join (GstTaskPool *pool, gpointer id);
21814
21815void gst_task_pool_cleanup (GstTaskPool *pool);
21816
21817
21818# 28 "/usr/include/gstreamer-0.10/gst/gsttask.h" 2
21819
21820
21821# 38 "/usr/include/gstreamer-0.10/gst/gsttask.h"
21822typedef void (*GstTaskFunction) (void *data);
21823# 49 "/usr/include/gstreamer-0.10/gst/gsttask.h"
21824typedef struct _GstTask GstTask;
21825typedef struct _GstTaskClass GstTaskClass;
21826typedef struct _GstTaskPrivate GstTaskPrivate;
21827# 61 "/usr/include/gstreamer-0.10/gst/gsttask.h"
21828typedef enum {
21829 GST_TASK_STARTED,
21830 GST_TASK_STOPPED,
21831 GST_TASK_PAUSED
21832} GstTaskState;
21833# 123 "/usr/include/gstreamer-0.10/gst/gsttask.h"
21834typedef struct {
21835
21836 void (*enter_thread) (GstTask *task, GThread *thread, gpointer user_data);
21837 void (*leave_thread) (GstTask *task, GThread *thread, gpointer user_data);
21838
21839 gpointer _gst_reserved[4];
21840} GstTaskThreadCallbacks;
21841# 142 "/usr/include/gstreamer-0.10/gst/gsttask.h"
21842struct _GstTask {
21843 GstObject object;
21844
21845
21846 GstTaskState state;
21847 GCond *cond;
21848
21849 GStaticRecMutex *lock;
21850
21851 GstTaskFunction func;
21852 gpointer data;
21853
21854 gboolean running;
21855
21856
21857 union {
21858 struct {
21859
21860 GThread *thread;
21861 } ABI;
21862 gpointer _gst_reserved[4 - 1];
21863 } abidata;
21864
21865 GstTaskPrivate *priv;
21866};
21867
21868struct _GstTaskClass {
21869 GstObjectClass parent_class;
21870
21871
21872 GstTaskPool *pool;
21873
21874
21875 gpointer _gst_reserved[4];
21876};
21877
21878void gst_task_cleanup_all (void);
21879
21880GType gst_task_get_type (void);
21881
21882GstTask* gst_task_create (GstTaskFunction func, gpointer data);
21883void gst_task_set_lock (GstTask *task, GStaticRecMutex *mutex);
21884void gst_task_set_priority (GstTask *task, GThreadPriority priority);
21885
21886GstTaskPool * gst_task_get_pool (GstTask *task);
21887void gst_task_set_pool (GstTask *task, GstTaskPool *pool);
21888
21889void gst_task_set_thread_callbacks (GstTask *task,
21890 GstTaskThreadCallbacks *callbacks,
21891 gpointer user_data,
21892 GDestroyNotify notify);
21893
21894GstTaskState gst_task_get_state (GstTask *task);
21895gboolean gst_task_set_state (GstTask *task, GstTaskState state);
21896
21897gboolean gst_task_start (GstTask *task);
21898gboolean gst_task_stop (GstTask *task);
21899gboolean gst_task_pause (GstTask *task);
21900
21901gboolean gst_task_join (GstTask *task);
21902
21903
21904# 36 "/usr/include/gstreamer-0.10/gst/gstpad.h" 2
21905
21906
21907# 50 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21908typedef struct _GstPad GstPad;
21909typedef struct _GstPadPrivate GstPadPrivate;
21910typedef struct _GstPadClass GstPadClass;
21911# 66 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21912typedef enum {
21913 GST_PAD_LINK_OK = 0,
21914 GST_PAD_LINK_WRONG_HIERARCHY = -1,
21915 GST_PAD_LINK_WAS_LINKED = -2,
21916 GST_PAD_LINK_WRONG_DIRECTION = -3,
21917 GST_PAD_LINK_NOFORMAT = -4,
21918 GST_PAD_LINK_NOSCHED = -5,
21919 GST_PAD_LINK_REFUSED = -6
21920} GstPadLinkReturn;
21921# 118 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21922typedef enum {
21923
21924 GST_FLOW_CUSTOM_SUCCESS = 100,
21925
21926
21927 GST_FLOW_RESEND = 1,
21928 GST_FLOW_OK = 0,
21929
21930 GST_FLOW_NOT_LINKED = -1,
21931 GST_FLOW_WRONG_STATE = -2,
21932
21933 GST_FLOW_UNEXPECTED = -3,
21934 GST_FLOW_NOT_NEGOTIATED = -4,
21935 GST_FLOW_ERROR = -5,
21936 GST_FLOW_NOT_SUPPORTED = -6,
21937
21938
21939 GST_FLOW_CUSTOM_ERROR = -100
21940} GstFlowReturn;
21941# 163 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21942const gchar* gst_flow_get_name (GstFlowReturn ret);
21943GQuark gst_flow_to_quark (GstFlowReturn ret);
21944# 176 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21945typedef enum {
21946 GST_ACTIVATE_NONE,
21947 GST_ACTIVATE_PUSH,
21948 GST_ACTIVATE_PULL
21949} GstActivateMode;
21950# 203 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21951typedef gboolean (*GstPadActivateFunction) (GstPad *pad);
21952# 213 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21953typedef gboolean (*GstPadActivateModeFunction) (GstPad *pad, gboolean active);
21954# 234 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21955typedef GstFlowReturn (*GstPadChainFunction) (GstPad *pad, GstBuffer *buffer);
21956# 253 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21957typedef GstFlowReturn (*GstPadChainListFunction) (GstPad *pad, GstBufferList *list);
21958# 296 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21959typedef GstFlowReturn (*GstPadGetRangeFunction) (GstPad *pad, guint64 offset,
21960 guint length, GstBuffer **buffer);
21961# 308 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21962typedef gboolean (*GstPadEventFunction) (GstPad *pad, GstEvent *event);
21963# 323 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21964typedef gboolean (*GstPadCheckGetRangeFunction) (GstPad *pad);
21965# 339 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21966typedef GList* (*GstPadIntLinkFunction) (GstPad *pad);
21967# 354 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21968typedef GstIterator* (*GstPadIterIntLinkFunction) (GstPad *pad);
21969# 365 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21970typedef const GstQueryType* (*GstPadQueryTypeFunction) (GstPad *pad);
21971# 376 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21972typedef gboolean (*GstPadQueryFunction) (GstPad *pad, GstQuery *query);
21973# 389 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21974typedef GstPadLinkReturn (*GstPadLinkFunction) (GstPad *pad, GstPad *peer);
21975
21976
21977
21978
21979
21980
21981typedef void (*GstPadUnlinkFunction) (GstPad *pad);
21982# 410 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21983typedef GstCaps* (*GstPadGetCapsFunction) (GstPad *pad);
21984# 423 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21985typedef gboolean (*GstPadSetCapsFunction) (GstPad *pad, GstCaps *caps);
21986# 435 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21987typedef gboolean (*GstPadAcceptCapsFunction) (GstPad *pad, GstCaps *caps);
21988# 446 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21989typedef void (*GstPadFixateCapsFunction) (GstPad *pad, GstCaps *caps);
21990# 480 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21991typedef GstFlowReturn (*GstPadBufferAllocFunction) (GstPad *pad, guint64 offset, guint size,
21992 GstCaps *caps, GstBuffer **buf);
21993# 494 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21994typedef gboolean (*GstPadDispatcherFunction) (GstPad *pad, gpointer data);
21995# 505 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21996typedef void (*GstPadBlockCallback) (GstPad *pad, gboolean blocked, gpointer user_data);
21997# 515 "/usr/include/gstreamer-0.10/gst/gstpad.h"
21998typedef enum {
21999 GST_PAD_UNKNOWN,
22000 GST_PAD_SRC,
22001 GST_PAD_SINK
22002} GstPadDirection;
22003# 532 "/usr/include/gstreamer-0.10/gst/gstpad.h"
22004typedef enum {
22005 GST_PAD_BLOCKED = (GST_OBJECT_FLAG_LAST << 0),
22006 GST_PAD_FLUSHING = (GST_OBJECT_FLAG_LAST << 1),
22007 GST_PAD_IN_GETCAPS = (GST_OBJECT_FLAG_LAST << 2),
22008 GST_PAD_IN_SETCAPS = (GST_OBJECT_FLAG_LAST << 3),
22009 GST_PAD_BLOCKING = (GST_OBJECT_FLAG_LAST << 4),
22010
22011 GST_PAD_FLAG_LAST = (GST_OBJECT_FLAG_LAST << 8)
22012} GstPadFlags;
22013
22014
22015typedef struct _GstPadTemplate GstPadTemplate;
22016# 587 "/usr/include/gstreamer-0.10/gst/gstpad.h"
22017struct _GstPad {
22018 GstObject object;
22019
22020
22021 gpointer element_private;
22022
22023 GstPadTemplate *padtemplate;
22024
22025 GstPadDirection direction;
22026
22027
22028
22029 GStaticRecMutex *stream_rec_lock;
22030 GstTask *task;
22031
22032 GMutex *preroll_lock;
22033 GCond *preroll_cond;
22034
22035
22036
22037 GCond *block_cond;
22038 GstPadBlockCallback block_callback;
22039 gpointer block_data;
22040
22041
22042 GstCaps *caps;
22043 GstPadGetCapsFunction getcapsfunc;
22044 GstPadSetCapsFunction setcapsfunc;
22045 GstPadAcceptCapsFunction acceptcapsfunc;
22046 GstPadFixateCapsFunction fixatecapsfunc;
22047
22048 GstPadActivateFunction activatefunc;
22049 GstPadActivateModeFunction activatepushfunc;
22050 GstPadActivateModeFunction activatepullfunc;
22051
22052
22053 GstPadLinkFunction linkfunc;
22054 GstPadUnlinkFunction unlinkfunc;
22055 GstPad *peer;
22056
22057 gpointer sched_private;
22058
22059
22060 GstPadChainFunction chainfunc;
22061 GstPadCheckGetRangeFunction checkgetrangefunc;
22062 GstPadGetRangeFunction getrangefunc;
22063 GstPadEventFunction eventfunc;
22064
22065 GstActivateMode mode;
22066
22067
22068 GstPadQueryTypeFunction querytypefunc;
22069 GstPadQueryFunction queryfunc;
22070
22071
22072 GstPadIntLinkFunction intlinkfunc;
22073
22074 GstPadBufferAllocFunction bufferallocfunc;
22075
22076
22077
22078 gint do_buffer_signals;
22079 gint do_event_signals;
22080
22081
22082
22083 GstPadIterIntLinkFunction iterintlinkfunc;
22084
22085
22086 GDestroyNotify block_destroy_data;
22087
22088
22089 union {
22090 struct {
22091 gboolean block_callback_called;
22092 GstPadPrivate *priv;
22093 } ABI;
22094 gpointer _gst_reserved[4 - 2];
22095 } abidata;
22096};
22097
22098struct _GstPadClass {
22099 GstObjectClass parent_class;
22100
22101
22102 void (*linked) (GstPad *pad, GstPad *peer);
22103 void (*unlinked) (GstPad *pad, GstPad *peer);
22104 void (*request_link) (GstPad *pad);
22105 gboolean (*have_data) (GstPad *pad, GstMiniObject *data);
22106
22107
22108 gpointer _gst_reserved[4];
22109};
22110# 803 "/usr/include/gstreamer-0.10/gst/gstpad.h"
22111# 1 "/usr/include/gstreamer-0.10/gst/gstpadtemplate.h" 1
22112# 36 "/usr/include/gstreamer-0.10/gst/gstpadtemplate.h"
22113
22114
22115
22116
22117typedef struct _GstPadTemplateClass GstPadTemplateClass;
22118typedef struct _GstStaticPadTemplate GstStaticPadTemplate;
22119# 60 "/usr/include/gstreamer-0.10/gst/gstpadtemplate.h"
22120typedef enum {
22121 GST_PAD_ALWAYS,
22122 GST_PAD_SOMETIMES,
22123 GST_PAD_REQUEST
22124} GstPadPresence;
22125# 105 "/usr/include/gstreamer-0.10/gst/gstpadtemplate.h"
22126typedef enum {
22127 GST_PAD_TEMPLATE_FIXED = (GST_OBJECT_FLAG_LAST << 0),
22128
22129 GST_PAD_TEMPLATE_FLAG_LAST = (GST_OBJECT_FLAG_LAST << 4)
22130} GstPadTemplateFlags;
22131# 124 "/usr/include/gstreamer-0.10/gst/gstpadtemplate.h"
22132struct _GstPadTemplate {
22133 GstObject object;
22134
22135 gchar *name_template;
22136 GstPadDirection direction;
22137 GstPadPresence presence;
22138 GstCaps *caps;
22139
22140 gpointer _gst_reserved[4];
22141};
22142
22143struct _GstPadTemplateClass {
22144 GstObjectClass parent_class;
22145
22146
22147 void (*pad_created) (GstPadTemplate *templ, GstPad *pad);
22148
22149 gpointer _gst_reserved[4];
22150};
22151# 153 "/usr/include/gstreamer-0.10/gst/gstpadtemplate.h"
22152struct _GstStaticPadTemplate {
22153 const gchar *name_template;
22154 GstPadDirection direction;
22155 GstPadPresence presence;
22156 GstStaticCaps static_caps;
22157};
22158# 179 "/usr/include/gstreamer-0.10/gst/gstpadtemplate.h"
22159GType gst_pad_template_get_type (void);
22160GType gst_static_pad_template_get_type (void);
22161
22162GstPadTemplate* gst_pad_template_new (const gchar *name_template,
22163 GstPadDirection direction, GstPadPresence presence,
22164 GstCaps *caps);
22165
22166GstPadTemplate * gst_static_pad_template_get (GstStaticPadTemplate *pad_template);
22167GstCaps* gst_static_pad_template_get_caps (GstStaticPadTemplate *templ);
22168GstCaps* gst_pad_template_get_caps (GstPadTemplate *templ);
22169
22170void gst_pad_template_pad_created (GstPadTemplate * templ, GstPad * pad);
22171
22172
22173# 804 "/usr/include/gstreamer-0.10/gst/gstpad.h" 2
22174
22175GType gst_pad_get_type (void);
22176
22177
22178GstPad* gst_pad_new (const gchar *name, GstPadDirection direction);
22179GstPad* gst_pad_new_from_template (GstPadTemplate *templ, const gchar *name);
22180GstPad* gst_pad_new_from_static_template (GstStaticPadTemplate *templ, const gchar *name);
22181# 834 "/usr/include/gstreamer-0.10/gst/gstpad.h"
22182GstPadDirection gst_pad_get_direction (GstPad *pad);
22183
22184gboolean gst_pad_set_active (GstPad *pad, gboolean active);
22185gboolean gst_pad_is_active (GstPad *pad);
22186gboolean gst_pad_activate_pull (GstPad *pad, gboolean active);
22187gboolean gst_pad_activate_push (GstPad *pad, gboolean active);
22188
22189gboolean gst_pad_set_blocked (GstPad *pad, gboolean blocked);
22190gboolean gst_pad_set_blocked_async (GstPad *pad, gboolean blocked,
22191 GstPadBlockCallback callback, gpointer user_data);
22192gboolean gst_pad_set_blocked_async_full (GstPad *pad, gboolean blocked,
22193 GstPadBlockCallback callback, gpointer user_data,
22194 GDestroyNotify destroy_data);
22195gboolean gst_pad_is_blocked (GstPad *pad);
22196gboolean gst_pad_is_blocking (GstPad *pad);
22197
22198void gst_pad_set_element_private (GstPad *pad, gpointer priv);
22199gpointer gst_pad_get_element_private (GstPad *pad);
22200
22201GstPadTemplate* gst_pad_get_pad_template (GstPad *pad);
22202
22203void gst_pad_set_bufferalloc_function (GstPad *pad, GstPadBufferAllocFunction bufalloc);
22204GstFlowReturn gst_pad_alloc_buffer (GstPad *pad, guint64 offset, gint size,
22205 GstCaps *caps, GstBuffer **buf);
22206GstFlowReturn gst_pad_alloc_buffer_and_set_caps (GstPad *pad, guint64 offset, gint size,
22207 GstCaps *caps, GstBuffer **buf);
22208
22209
22210void gst_pad_set_activate_function (GstPad *pad, GstPadActivateFunction activate);
22211void gst_pad_set_activatepull_function (GstPad *pad, GstPadActivateModeFunction activatepull);
22212void gst_pad_set_activatepush_function (GstPad *pad, GstPadActivateModeFunction activatepush);
22213void gst_pad_set_chain_function (GstPad *pad, GstPadChainFunction chain);
22214void gst_pad_set_chain_list_function (GstPad *pad, GstPadChainListFunction chainlist);
22215void gst_pad_set_getrange_function (GstPad *pad, GstPadGetRangeFunction get);
22216void gst_pad_set_checkgetrange_function (GstPad *pad, GstPadCheckGetRangeFunction check);
22217void gst_pad_set_event_function (GstPad *pad, GstPadEventFunction event);
22218
22219
22220void gst_pad_set_link_function (GstPad *pad, GstPadLinkFunction link);
22221void gst_pad_set_unlink_function (GstPad *pad, GstPadUnlinkFunction unlink);
22222
22223gboolean gst_pad_can_link (GstPad *srcpad, GstPad *sinkpad);
22224GstPadLinkReturn gst_pad_link (GstPad *srcpad, GstPad *sinkpad);
22225gboolean gst_pad_unlink (GstPad *srcpad, GstPad *sinkpad);
22226gboolean gst_pad_is_linked (GstPad *pad);
22227
22228GstPad* gst_pad_get_peer (GstPad *pad);
22229
22230
22231void gst_pad_set_getcaps_function (GstPad *pad, GstPadGetCapsFunction getcaps);
22232void gst_pad_set_acceptcaps_function (GstPad *pad, GstPadAcceptCapsFunction acceptcaps);
22233void gst_pad_set_fixatecaps_function (GstPad *pad, GstPadFixateCapsFunction fixatecaps);
22234void gst_pad_set_setcaps_function (GstPad *pad, GstPadSetCapsFunction setcaps);
22235
22236const GstCaps* gst_pad_get_pad_template_caps (GstPad *pad);
22237
22238
22239GstCaps * gst_pad_get_caps (GstPad * pad);
22240void gst_pad_fixate_caps (GstPad * pad, GstCaps *caps);
22241gboolean gst_pad_accept_caps (GstPad * pad, GstCaps *caps);
22242gboolean gst_pad_set_caps (GstPad * pad, GstCaps *caps);
22243
22244GstCaps * gst_pad_peer_get_caps (GstPad * pad);
22245gboolean gst_pad_peer_accept_caps (GstPad * pad, GstCaps *caps);
22246
22247
22248GstCaps * gst_pad_get_allowed_caps (GstPad * pad);
22249GstCaps * gst_pad_get_negotiated_caps (GstPad * pad);
22250
22251
22252GstFlowReturn gst_pad_push (GstPad *pad, GstBuffer *buffer);
22253GstFlowReturn gst_pad_push_list (GstPad *pad, GstBufferList *list);
22254gboolean gst_pad_check_pull_range (GstPad *pad);
22255GstFlowReturn gst_pad_pull_range (GstPad *pad, guint64 offset, guint size,
22256 GstBuffer **buffer);
22257gboolean gst_pad_push_event (GstPad *pad, GstEvent *event);
22258gboolean gst_pad_event_default (GstPad *pad, GstEvent *event);
22259
22260
22261GstFlowReturn gst_pad_chain (GstPad *pad, GstBuffer *buffer);
22262GstFlowReturn gst_pad_chain_list (GstPad *pad, GstBufferList *list);
22263GstFlowReturn gst_pad_get_range (GstPad *pad, guint64 offset, guint size,
22264 GstBuffer **buffer);
22265gboolean gst_pad_send_event (GstPad *pad, GstEvent *event);
22266
22267
22268gboolean gst_pad_start_task (GstPad *pad, GstTaskFunction func,
22269 gpointer data);
22270gboolean gst_pad_pause_task (GstPad *pad);
22271gboolean gst_pad_stop_task (GstPad *pad);
22272
22273
22274void gst_pad_set_internal_link_function (GstPad *pad, GstPadIntLinkFunction intlink);
22275GList* gst_pad_get_internal_links (GstPad *pad);
22276GList* gst_pad_get_internal_links_default (GstPad *pad);
22277
22278void gst_pad_set_iterate_internal_links_function (GstPad * pad,
22279 GstPadIterIntLinkFunction iterintlink);
22280GstIterator * gst_pad_iterate_internal_links (GstPad * pad);
22281GstIterator * gst_pad_iterate_internal_links_default (GstPad * pad);
22282
22283
22284
22285void gst_pad_set_query_type_function (GstPad *pad, GstPadQueryTypeFunction type_func);
22286const GstQueryType*
22287 gst_pad_get_query_types (GstPad *pad);
22288const GstQueryType*
22289 gst_pad_get_query_types_default (GstPad *pad);
22290
22291gboolean gst_pad_query (GstPad *pad, GstQuery *query);
22292gboolean gst_pad_peer_query (GstPad *pad, GstQuery *query);
22293void gst_pad_set_query_function (GstPad *pad, GstPadQueryFunction query);
22294gboolean gst_pad_query_default (GstPad *pad, GstQuery *query);
22295
22296
22297gboolean gst_pad_dispatcher (GstPad *pad, GstPadDispatcherFunction dispatch,
22298 gpointer data);
22299
22300
22301void gst_pad_load_and_link (xmlNodePtr self, GstObject *parent);
22302
22303
22304
22305# 54 "/usr/include/gstreamer-0.10/gst/gstelement.h" 2
22306# 1 "/usr/include/gstreamer-0.10/gst/gstbus.h" 1
22307# 25 "/usr/include/gstreamer-0.10/gst/gstbus.h"
22308typedef struct _GstBus GstBus;
22309typedef struct _GstBusPrivate GstBusPrivate;
22310typedef struct _GstBusClass GstBusClass;
22311
22312# 1 "/usr/include/gstreamer-0.10/gst/gstmessage.h" 1
22313# 25 "/usr/include/gstreamer-0.10/gst/gstmessage.h"
22314
22315
22316typedef struct _GstMessage GstMessage;
22317typedef struct _GstMessageClass GstMessageClass;
22318# 95 "/usr/include/gstreamer-0.10/gst/gstmessage.h"
22319typedef enum
22320{
22321 GST_MESSAGE_UNKNOWN = 0,
22322 GST_MESSAGE_EOS = (1 << 0),
22323 GST_MESSAGE_ERROR = (1 << 1),
22324 GST_MESSAGE_WARNING = (1 << 2),
22325 GST_MESSAGE_INFO = (1 << 3),
22326 GST_MESSAGE_TAG = (1 << 4),
22327 GST_MESSAGE_BUFFERING = (1 << 5),
22328 GST_MESSAGE_STATE_CHANGED = (1 << 6),
22329 GST_MESSAGE_STATE_DIRTY = (1 << 7),
22330 GST_MESSAGE_STEP_DONE = (1 << 8),
22331 GST_MESSAGE_CLOCK_PROVIDE = (1 << 9),
22332 GST_MESSAGE_CLOCK_LOST = (1 << 10),
22333 GST_MESSAGE_NEW_CLOCK = (1 << 11),
22334 GST_MESSAGE_STRUCTURE_CHANGE = (1 << 12),
22335 GST_MESSAGE_STREAM_STATUS = (1 << 13),
22336 GST_MESSAGE_APPLICATION = (1 << 14),
22337 GST_MESSAGE_ELEMENT = (1 << 15),
22338 GST_MESSAGE_SEGMENT_START = (1 << 16),
22339 GST_MESSAGE_SEGMENT_DONE = (1 << 17),
22340 GST_MESSAGE_DURATION = (1 << 18),
22341 GST_MESSAGE_LATENCY = (1 << 19),
22342 GST_MESSAGE_ASYNC_START = (1 << 20),
22343 GST_MESSAGE_ASYNC_DONE = (1 << 21),
22344 GST_MESSAGE_REQUEST_STATE = (1 << 22),
22345 GST_MESSAGE_STEP_START = (1 << 23),
22346 GST_MESSAGE_ANY = ~0
22347} GstMessageType;
22348
22349
22350
22351# 1 "/usr/include/gstreamer-0.10/gst/gstelement.h" 1
22352# 128 "/usr/include/gstreamer-0.10/gst/gstmessage.h" 2
22353# 208 "/usr/include/gstreamer-0.10/gst/gstmessage.h"
22354typedef enum {
22355 GST_STRUCTURE_CHANGE_TYPE_PAD_LINK = 0,
22356 GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK = 1
22357} GstStructureChangeType;
22358# 228 "/usr/include/gstreamer-0.10/gst/gstmessage.h"
22359typedef enum {
22360 GST_STREAM_STATUS_TYPE_CREATE = 0,
22361 GST_STREAM_STATUS_TYPE_ENTER = 1,
22362 GST_STREAM_STATUS_TYPE_LEAVE = 2,
22363 GST_STREAM_STATUS_TYPE_DESTROY = 3,
22364
22365 GST_STREAM_STATUS_TYPE_START = 8,
22366 GST_STREAM_STATUS_TYPE_PAUSE = 9,
22367 GST_STREAM_STATUS_TYPE_STOP = 10
22368} GstStreamStatusType;
22369# 249 "/usr/include/gstreamer-0.10/gst/gstmessage.h"
22370struct _GstMessage
22371{
22372 GstMiniObject mini_object;
22373
22374
22375 GMutex *lock;
22376 GCond *cond;
22377
22378
22379 GstMessageType type;
22380 guint64 timestamp;
22381 GstObject *src;
22382
22383 GstStructure *structure;
22384
22385
22386 union {
22387 struct {
22388 guint32 seqnum;
22389 } ABI;
22390
22391 gpointer _gst_reserved[4 + 0];
22392 } abidata;
22393};
22394
22395struct _GstMessageClass {
22396 GstMiniObjectClass mini_object_class;
22397
22398
22399 gpointer _gst_reserved[4];
22400};
22401
22402GType gst_message_get_type (void);
22403
22404const gchar* gst_message_type_get_name (GstMessageType type);
22405GQuark gst_message_type_to_quark (GstMessageType type);
22406# 299 "/usr/include/gstreamer-0.10/gst/gstmessage.h"
22407static inline GstMessage *
22408gst_message_ref (GstMessage * msg)
22409{
22410 return (GstMessage *) gst_mini_object_ref (((((GstMiniObject*) g_type_check_instance_cast ((GTypeInstance*) ((msg)), ((gst_mini_object_get_type())))))));
22411}
22412# 316 "/usr/include/gstreamer-0.10/gst/gstmessage.h"
22413static inline void
22414gst_message_unref (GstMessage * msg)
22415{
22416 gst_mini_object_unref (((GstMiniObject*)(msg)));
22417}
22418# 337 "/usr/include/gstreamer-0.10/gst/gstmessage.h"
22419static inline GstMessage *
22420gst_message_copy (const GstMessage * msg)
22421{
22422 return ((((GstMessage*) g_type_check_instance_cast ((GTypeInstance*) ((gst_mini_object_copy (((GstMiniObject*)(msg))))), ((gst_message_get_type()))))));
22423}
22424# 355 "/usr/include/gstreamer-0.10/gst/gstmessage.h"
22425guint32 gst_message_get_seqnum (GstMessage *message);
22426void gst_message_set_seqnum (GstMessage *message, guint32 seqnum);
22427
22428
22429GstMessage * gst_message_new_eos (GstObject * src);
22430
22431
22432
22433GstMessage * gst_message_new_error (GstObject * src, GError * error, const gchar * debug);
22434void gst_message_parse_error (GstMessage *message, GError **gerror, gchar **debug);
22435
22436
22437GstMessage * gst_message_new_warning (GstObject * src, GError * error, const gchar * debug);
22438void gst_message_parse_warning (GstMessage *message, GError **gerror, gchar **debug);
22439
22440
22441GstMessage * gst_message_new_info (GstObject * src, GError * error, const gchar * debug);
22442void gst_message_parse_info (GstMessage *message, GError **gerror, gchar **debug);
22443
22444
22445GstMessage * gst_message_new_tag (GstObject * src, GstTagList * tag_list);
22446GstMessage * gst_message_new_tag_full (GstObject * src, GstPad *pad, GstTagList * tag_list);
22447void gst_message_parse_tag (GstMessage *message, GstTagList **tag_list);
22448void gst_message_parse_tag_full (GstMessage *message, GstPad **pad, GstTagList **tag_list);
22449
22450
22451GstMessage * gst_message_new_buffering (GstObject * src, gint percent);
22452void gst_message_parse_buffering (GstMessage *message, gint *percent);
22453void gst_message_set_buffering_stats (GstMessage *message, GstBufferingMode mode,
22454 gint avg_in, gint avg_out,
22455 gint64 buffering_left);
22456void gst_message_parse_buffering_stats (GstMessage *message, GstBufferingMode *mode,
22457 gint *avg_in, gint *avg_out,
22458 gint64 *buffering_left);
22459
22460
22461GstMessage * gst_message_new_state_changed (GstObject * src, GstState oldstate,
22462 GstState newstate, GstState pending);
22463void gst_message_parse_state_changed (GstMessage *message, GstState *oldstate,
22464 GstState *newstate, GstState *pending);
22465
22466
22467GstMessage * gst_message_new_state_dirty (GstObject * src);
22468
22469
22470GstMessage * gst_message_new_step_done (GstObject * src, GstFormat format, guint64 amount,
22471 gdouble rate, gboolean flush, gboolean intermediate,
22472 guint64 duration, gboolean eos);
22473void gst_message_parse_step_done (GstMessage * message, GstFormat *format, guint64 *amount,
22474 gdouble *rate, gboolean *flush, gboolean *intermediate,
22475 guint64 *duration, gboolean *eos);
22476
22477GstMessage * gst_message_new_clock_provide (GstObject * src, GstClock *clock, gboolean ready);
22478void gst_message_parse_clock_provide (GstMessage *message, GstClock **clock,
22479 gboolean *ready);
22480
22481
22482GstMessage * gst_message_new_clock_lost (GstObject * src, GstClock *clock);
22483void gst_message_parse_clock_lost (GstMessage *message, GstClock **clock);
22484
22485
22486GstMessage * gst_message_new_new_clock (GstObject * src, GstClock *clock);
22487void gst_message_parse_new_clock (GstMessage *message, GstClock **clock);
22488
22489
22490GstMessage * gst_message_new_application (GstObject * src, GstStructure * structure);
22491
22492
22493GstMessage * gst_message_new_element (GstObject * src, GstStructure * structure);
22494
22495
22496GstMessage * gst_message_new_segment_start (GstObject * src, GstFormat format, gint64 position);
22497void gst_message_parse_segment_start (GstMessage *message, GstFormat *format,
22498 gint64 *position);
22499
22500
22501GstMessage * gst_message_new_segment_done (GstObject * src, GstFormat format, gint64 position);
22502void gst_message_parse_segment_done (GstMessage *message, GstFormat *format,
22503 gint64 *position);
22504
22505
22506GstMessage * gst_message_new_duration (GstObject * src, GstFormat format, gint64 duration);
22507void gst_message_parse_duration (GstMessage *message, GstFormat *format,
22508 gint64 *duration);
22509
22510
22511GstMessage * gst_message_new_latency (GstObject * src);
22512
22513
22514GstMessage * gst_message_new_async_start (GstObject * src, gboolean new_base_time);
22515void gst_message_parse_async_start (GstMessage *message, gboolean *new_base_time);
22516
22517
22518GstMessage * gst_message_new_async_done (GstObject * src);
22519
22520
22521GstMessage * gst_message_new_structure_change (GstObject * src, GstStructureChangeType type,
22522 GstElement *owner, gboolean busy);
22523void gst_message_parse_structure_change (GstMessage *message, GstStructureChangeType *type,
22524 GstElement **owner, gboolean *busy);
22525
22526
22527GstMessage * gst_message_new_stream_status (GstObject * src, GstStreamStatusType type,
22528 GstElement *owner);
22529void gst_message_parse_stream_status (GstMessage *message, GstStreamStatusType *type,
22530 GstElement **owner);
22531void gst_message_set_stream_status_object (GstMessage *message, const GValue *object);
22532const GValue * gst_message_get_stream_status_object (GstMessage *message);
22533
22534
22535GstMessage * gst_message_new_request_state (GstObject * src, GstState state);
22536void gst_message_parse_request_state (GstMessage * message, GstState *state);
22537
22538
22539GstMessage * gst_message_new_step_start (GstObject * src, gboolean active, GstFormat format,
22540 guint64 amount, gdouble rate, gboolean flush,
22541 gboolean intermediate);
22542void gst_message_parse_step_start (GstMessage * message, gboolean *active, GstFormat *format,
22543 guint64 *amount, gdouble *rate, gboolean *flush,
22544 gboolean *intermediate);
22545
22546
22547GstMessage * gst_message_new_custom (GstMessageType type,
22548 GstObject * src,
22549 GstStructure * structure);
22550const GstStructure * gst_message_get_structure (GstMessage *message);
22551
22552
22553# 30 "/usr/include/gstreamer-0.10/gst/gstbus.h" 2
22554
22555
22556
22557# 50 "/usr/include/gstreamer-0.10/gst/gstbus.h"
22558typedef enum {
22559 GST_BUS_FLUSHING = (GST_OBJECT_FLAG_LAST << 0),
22560
22561 GST_BUS_FLAG_LAST = (GST_OBJECT_FLAG_LAST << 1)
22562} GstBusFlags;
22563# 64 "/usr/include/gstreamer-0.10/gst/gstbus.h"
22564typedef enum
22565{
22566 GST_BUS_DROP = 0,
22567 GST_BUS_PASS = 1,
22568 GST_BUS_ASYNC = 2
22569} GstBusSyncReply;
22570# 86 "/usr/include/gstreamer-0.10/gst/gstbus.h"
22571typedef GstBusSyncReply (*GstBusSyncHandler) (GstBus * bus, GstMessage * message, gpointer data);
22572# 106 "/usr/include/gstreamer-0.10/gst/gstbus.h"
22573typedef gboolean (*GstBusFunc) (GstBus * bus, GstMessage * message, gpointer data);
22574
22575
22576
22577
22578
22579
22580struct _GstBus
22581{
22582 GstObject object;
22583
22584
22585 GQueue *queue;
22586 GMutex *queue_lock;
22587
22588 GstBusSyncHandler sync_handler;
22589 gpointer sync_handler_data;
22590
22591 guint signal_watch_id;
22592 guint num_signal_watchers;
22593
22594
22595 GstBusPrivate *priv;
22596 gpointer _gst_reserved[4 - 1];
22597};
22598
22599struct _GstBusClass
22600{
22601 GstObjectClass parent_class;
22602
22603
22604 void (*message) (GstBus *bus, GstMessage *message);
22605 void (*sync_message) (GstBus *bus, GstMessage *message);
22606
22607
22608 gpointer _gst_reserved[4];
22609};
22610
22611GType gst_bus_get_type (void);
22612
22613GstBus* gst_bus_new (void);
22614
22615gboolean gst_bus_post (GstBus * bus, GstMessage * message);
22616
22617gboolean gst_bus_have_pending (GstBus * bus);
22618GstMessage * gst_bus_peek (GstBus * bus);
22619GstMessage * gst_bus_pop (GstBus * bus);
22620GstMessage * gst_bus_pop_filtered (GstBus * bus, GstMessageType types);
22621GstMessage * gst_bus_timed_pop (GstBus * bus, GstClockTime timeout);
22622GstMessage * gst_bus_timed_pop_filtered (GstBus * bus, GstClockTime timeout, GstMessageType types);
22623void gst_bus_set_flushing (GstBus * bus, gboolean flushing);
22624
22625
22626void gst_bus_set_sync_handler (GstBus * bus, GstBusSyncHandler func,
22627 gpointer data);
22628
22629GSource * gst_bus_create_watch (GstBus * bus);
22630guint gst_bus_add_watch_full (GstBus * bus,
22631 gint priority,
22632 GstBusFunc func,
22633 gpointer user_data,
22634 GDestroyNotify notify);
22635guint gst_bus_add_watch (GstBus * bus,
22636 GstBusFunc func,
22637 gpointer user_data);
22638
22639
22640GstMessage* gst_bus_poll (GstBus *bus, GstMessageType events,
22641 GstClockTimeDiff timeout);
22642
22643
22644gboolean gst_bus_async_signal_func (GstBus *bus, GstMessage *message,
22645 gpointer data);
22646GstBusSyncReply gst_bus_sync_signal_handler (GstBus *bus, GstMessage *message,
22647 gpointer data);
22648
22649
22650void gst_bus_add_signal_watch (GstBus * bus);
22651void gst_bus_add_signal_watch_full (GstBus * bus, gint priority);
22652void gst_bus_remove_signal_watch (GstBus * bus);
22653
22654void gst_bus_enable_sync_message_emission (GstBus * bus);
22655void gst_bus_disable_sync_message_emission (GstBus * bus);
22656
22657
22658# 55 "/usr/include/gstreamer-0.10/gst/gstelement.h" 2
22659
22660# 1 "/usr/include/gstreamer-0.10/gst/gstelementfactory.h" 1
22661# 27 "/usr/include/gstreamer-0.10/gst/gstelementfactory.h"
22662typedef struct _GstElementFactory GstElementFactory;
22663typedef struct _GstElementFactoryClass GstElementFactoryClass;
22664
22665
22666
22667
22668# 1 "/usr/include/gstreamer-0.10/gst/gstplugin.h" 1
22669# 32 "/usr/include/gstreamer-0.10/gst/gstplugin.h"
22670# 1 "/usr/include/glib-2.0/gmodule.h" 1
22671# 32 "/usr/include/glib-2.0/gmodule.h"
22672
22673# 44 "/usr/include/glib-2.0/gmodule.h"
22674typedef enum
22675{
22676 G_MODULE_BIND_LAZY = 1 << 0,
22677 G_MODULE_BIND_LOCAL = 1 << 1,
22678 G_MODULE_BIND_MASK = 0x03
22679} GModuleFlags;
22680
22681typedef struct _GModule GModule;
22682typedef const gchar* (*GModuleCheckInit) (GModule *module);
22683typedef void (*GModuleUnload) (GModule *module);
22684
22685
22686
22687
22688
22689
22690
22691gboolean g_module_supported (void) __attribute__((__const__));
22692
22693
22694GModule* g_module_open (const gchar *file_name,
22695 GModuleFlags flags);
22696
22697
22698gboolean g_module_close (GModule *module);
22699
22700
22701void g_module_make_resident (GModule *module);
22702
22703
22704const gchar* g_module_error (void);
22705
22706
22707gboolean g_module_symbol (GModule *module,
22708 const gchar *symbol_name,
22709 gpointer *symbol);
22710
22711
22712const gchar* g_module_name (GModule *module);
22713# 95 "/usr/include/glib-2.0/gmodule.h"
22714gchar* g_module_build_path (const gchar *directory,
22715 const gchar *module_name);
22716
22717
22718
22719# 33 "/usr/include/gstreamer-0.10/gst/gstplugin.h" 2
22720
22721# 1 "/usr/include/gstreamer-0.10/gst/gstmacros.h" 1
22722# 29 "/usr/include/gstreamer-0.10/gst/gstmacros.h"
22723
22724# 49 "/usr/include/gstreamer-0.10/gst/gstmacros.h"
22725
22726# 35 "/usr/include/gstreamer-0.10/gst/gstplugin.h" 2
22727
22728
22729
22730
22731typedef struct _GstPlugin GstPlugin;
22732typedef struct _GstPluginClass GstPluginClass;
22733typedef struct _GstPluginPrivate GstPluginPrivate;
22734typedef struct _GstPluginDesc GstPluginDesc;
22735# 51 "/usr/include/gstreamer-0.10/gst/gstplugin.h"
22736GQuark gst_plugin_error_quark (void);
22737# 67 "/usr/include/gstreamer-0.10/gst/gstplugin.h"
22738typedef enum
22739{
22740 GST_PLUGIN_ERROR_MODULE,
22741 GST_PLUGIN_ERROR_DEPENDENCIES,
22742 GST_PLUGIN_ERROR_NAME_MISMATCH
22743} GstPluginError;
22744
22745
22746typedef enum
22747{
22748 GST_PLUGIN_FLAG_CACHED = (1<<0)
22749} GstPluginFlags;
22750# 94 "/usr/include/gstreamer-0.10/gst/gstplugin.h"
22751typedef enum {
22752 GST_PLUGIN_DEPENDENCY_FLAG_NONE = 0,
22753 GST_PLUGIN_DEPENDENCY_FLAG_RECURSE = (1 << 0),
22754 GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY = (1 << 1),
22755 GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX = (1 << 2)
22756} GstPluginDependencyFlags;
22757# 111 "/usr/include/gstreamer-0.10/gst/gstplugin.h"
22758typedef gboolean (*GstPluginInitFunc) (GstPlugin *plugin);
22759# 128 "/usr/include/gstreamer-0.10/gst/gstplugin.h"
22760typedef gboolean (*GstPluginInitFullFunc) (GstPlugin *plugin, gpointer user_data);
22761# 150 "/usr/include/gstreamer-0.10/gst/gstplugin.h"
22762struct _GstPluginDesc {
22763 gint major_version;
22764 gint minor_version;
22765 const gchar *name;
22766 gchar *description;
22767 GstPluginInitFunc plugin_init;
22768 const gchar *version;
22769 const gchar *license;
22770 const gchar *source;
22771 const gchar *package;
22772 const gchar *origin;
22773
22774 gpointer _gst_reserved[4];
22775};
22776# 179 "/usr/include/gstreamer-0.10/gst/gstplugin.h"
22777struct _GstPlugin {
22778 GstObject object;
22779
22780
22781 GstPluginDesc desc;
22782
22783 GstPluginDesc *orig_desc;
22784
22785 unsigned int flags;
22786
22787 gchar * filename;
22788 gchar * basename;
22789
22790 GModule * module;
22791
22792 off_t file_size;
22793 time_t file_mtime;
22794 gboolean registered;
22795
22796
22797 GstPluginPrivate *priv;
22798 gpointer _gst_reserved[4 - 1];
22799};
22800
22801struct _GstPluginClass {
22802 GstObjectClass object_class;
22803
22804
22805 gpointer _gst_reserved[4];
22806};
22807# 309 "/usr/include/gstreamer-0.10/gst/gstplugin.h"
22808typedef gboolean (*GstPluginFilter) (GstPlugin *plugin,
22809 gpointer user_data);
22810
22811GType gst_plugin_get_type (void);
22812
22813
22814void _gst_plugin_register_static (GstPluginDesc *desc);
22815
22816
22817gboolean gst_plugin_register_static (gint major_version,
22818 gint minor_version,
22819 const gchar *name,
22820 gchar *description,
22821 GstPluginInitFunc init_func,
22822 const gchar *version,
22823 const gchar *license,
22824 const gchar *source,
22825 const gchar *package,
22826 const gchar *origin);
22827
22828gboolean gst_plugin_register_static_full (gint major_version,
22829 gint minor_version,
22830 const gchar *name,
22831 gchar *description,
22832 GstPluginInitFullFunc init_full_func,
22833 const gchar *version,
22834 const gchar *license,
22835 const gchar *source,
22836 const gchar *package,
22837 const gchar *origin,
22838 gpointer user_data);
22839
22840const gchar* gst_plugin_get_name (GstPlugin *plugin);
22841const gchar* gst_plugin_get_description (GstPlugin *plugin);
22842const gchar* gst_plugin_get_filename (GstPlugin *plugin);
22843const gchar* gst_plugin_get_version (GstPlugin *plugin);
22844const gchar* gst_plugin_get_license (GstPlugin *plugin);
22845const gchar* gst_plugin_get_source (GstPlugin *plugin);
22846const gchar* gst_plugin_get_package (GstPlugin *plugin);
22847const gchar* gst_plugin_get_origin (GstPlugin *plugin);
22848const GstStructure* gst_plugin_get_cache_data (GstPlugin * plugin);
22849void gst_plugin_set_cache_data (GstPlugin * plugin, GstStructure *cache_data);
22850
22851GModule * gst_plugin_get_module (GstPlugin *plugin);
22852gboolean gst_plugin_is_loaded (GstPlugin *plugin);
22853
22854gboolean gst_plugin_name_filter (GstPlugin *plugin, const gchar *name);
22855
22856GstPlugin * gst_plugin_load_file (const gchar *filename, GError** error);
22857
22858GstPlugin * gst_plugin_load (GstPlugin *plugin);
22859GstPlugin * gst_plugin_load_by_name (const gchar *name);
22860
22861void gst_plugin_add_dependency (GstPlugin * plugin,
22862 const gchar ** env_vars,
22863 const gchar ** paths,
22864 const gchar ** names,
22865 GstPluginDependencyFlags flags);
22866
22867void gst_plugin_add_dependency_simple (GstPlugin * plugin,
22868 const gchar * env_vars,
22869 const gchar * paths,
22870 const gchar * names,
22871 GstPluginDependencyFlags flags);
22872
22873void gst_plugin_list_free (GList *list);
22874
22875
22876# 34 "/usr/include/gstreamer-0.10/gst/gstelementfactory.h" 2
22877# 1 "/usr/include/gstreamer-0.10/gst/gstpluginfeature.h" 1
22878# 30 "/usr/include/gstreamer-0.10/gst/gstpluginfeature.h"
22879
22880# 48 "/usr/include/gstreamer-0.10/gst/gstpluginfeature.h"
22881typedef struct _GstPluginFeature GstPluginFeature;
22882typedef struct _GstPluginFeatureClass GstPluginFeatureClass;
22883# 66 "/usr/include/gstreamer-0.10/gst/gstpluginfeature.h"
22884typedef enum {
22885 GST_RANK_NONE = 0,
22886 GST_RANK_MARGINAL = 64,
22887 GST_RANK_SECONDARY = 128,
22888 GST_RANK_PRIMARY = 256
22889} GstRank;
22890
22891
22892
22893
22894
22895
22896struct _GstPluginFeature {
22897 GstObject object;
22898
22899
22900 gboolean loaded;
22901 gchar *name;
22902 guint rank;
22903
22904 const gchar *plugin_name;
22905
22906
22907 gpointer _gst_reserved[4];
22908};
22909
22910struct _GstPluginFeatureClass {
22911 GstObjectClass parent_class;
22912
22913
22914 gpointer _gst_reserved[4];
22915};
22916# 106 "/usr/include/gstreamer-0.10/gst/gstpluginfeature.h"
22917typedef struct {
22918 const gchar *name;
22919 GType type;
22920} GstTypeNameData;
22921# 122 "/usr/include/gstreamer-0.10/gst/gstpluginfeature.h"
22922typedef gboolean (*GstPluginFeatureFilter) (GstPluginFeature *feature,
22923 gpointer user_data);
22924
22925
22926GType gst_plugin_feature_get_type (void);
22927
22928GstPluginFeature *
22929 gst_plugin_feature_load (GstPluginFeature *feature);
22930
22931gboolean gst_plugin_feature_type_name_filter (GstPluginFeature *feature,
22932 GstTypeNameData *data);
22933
22934void gst_plugin_feature_set_rank (GstPluginFeature *feature, guint rank);
22935void gst_plugin_feature_set_name (GstPluginFeature *feature, const gchar *name);
22936guint gst_plugin_feature_get_rank (GstPluginFeature *feature);
22937const gchar *gst_plugin_feature_get_name (GstPluginFeature *feature);
22938
22939void gst_plugin_feature_list_free (GList *list);
22940
22941gboolean gst_plugin_feature_check_version (GstPluginFeature *feature,
22942 guint min_major,
22943 guint min_minor,
22944 guint min_micro);
22945
22946
22947# 35 "/usr/include/gstreamer-0.10/gst/gstelementfactory.h" 2
22948
22949
22950
22951
22952typedef struct _GstElementDetails GstElementDetails;
22953# 60 "/usr/include/gstreamer-0.10/gst/gstelementfactory.h"
22954struct _GstElementDetails
22955{
22956
22957 gchar *longname;
22958 gchar *klass;
22959 gchar *description;
22960 gchar *author;
22961
22962
22963 gpointer _gst_reserved[4];
22964};
22965# 111 "/usr/include/gstreamer-0.10/gst/gstelementfactory.h"
22966struct _GstElementFactory {
22967 GstPluginFeature parent;
22968
22969 GType type;
22970
22971 GstElementDetails details;
22972
22973 GList * staticpadtemplates;
22974 guint numpadtemplates;
22975
22976
22977 guint uri_type;
22978 gchar ** uri_protocols;
22979
22980 GList * interfaces;
22981
22982 gpointer _gst_reserved[4];
22983};
22984
22985struct _GstElementFactoryClass {
22986 GstPluginFeatureClass parent_class;
22987
22988 gpointer _gst_reserved[4];
22989};
22990
22991GType gst_element_factory_get_type (void);
22992
22993GstElementFactory * gst_element_factory_find (const gchar *name);
22994
22995GType gst_element_factory_get_element_type (GstElementFactory *factory);
22996const gchar * gst_element_factory_get_longname (GstElementFactory *factory);
22997const gchar * gst_element_factory_get_klass (GstElementFactory *factory);
22998const gchar * gst_element_factory_get_description (GstElementFactory *factory);
22999const gchar * gst_element_factory_get_author (GstElementFactory *factory);
23000guint gst_element_factory_get_num_pad_templates (GstElementFactory *factory);
23001const GList * gst_element_factory_get_static_pad_templates (GstElementFactory *factory);
23002gint gst_element_factory_get_uri_type (GstElementFactory *factory);
23003gchar ** gst_element_factory_get_uri_protocols (GstElementFactory *factory);
23004gboolean gst_element_factory_has_interface (GstElementFactory *factory,
23005 const gchar *interfacename);
23006
23007GstElement* gst_element_factory_create (GstElementFactory *factory,
23008 const gchar *name);
23009GstElement* gst_element_factory_make (const gchar *factoryname, const gchar *name);
23010
23011
23012void __gst_element_factory_add_static_pad_template (GstElementFactory *elementfactory,
23013 GstStaticPadTemplate *templ);
23014void __gst_element_factory_add_interface (GstElementFactory *elementfactory,
23015 const gchar *interfacename);
23016gboolean gst_element_register (GstPlugin *plugin, const gchar *name,
23017 guint rank, GType type);
23018
23019
23020
23021
23022# 57 "/usr/include/gstreamer-0.10/gst/gstelement.h" 2
23023
23024
23025# 1 "/usr/include/gstreamer-0.10/gst/gstindex.h" 1
23026# 31 "/usr/include/gstreamer-0.10/gst/gstindex.h"
23027
23028# 42 "/usr/include/gstreamer-0.10/gst/gstindex.h"
23029typedef struct _GstIndexEntry GstIndexEntry;
23030typedef struct _GstIndexGroup GstIndexGroup;
23031typedef struct _GstIndex GstIndex;
23032typedef struct _GstIndexClass GstIndexClass;
23033# 55 "/usr/include/gstreamer-0.10/gst/gstindex.h"
23034typedef enum {
23035 GST_INDEX_UNKNOWN,
23036 GST_INDEX_CERTAIN,
23037 GST_INDEX_FUZZY
23038} GstIndexCertainty;
23039# 70 "/usr/include/gstreamer-0.10/gst/gstindex.h"
23040typedef enum {
23041 GST_INDEX_ENTRY_ID,
23042 GST_INDEX_ENTRY_ASSOCIATION,
23043 GST_INDEX_ENTRY_OBJECT,
23044 GST_INDEX_ENTRY_FORMAT
23045} GstIndexEntryType;
23046# 85 "/usr/include/gstreamer-0.10/gst/gstindex.h"
23047typedef enum {
23048 GST_INDEX_LOOKUP_EXACT,
23049 GST_INDEX_LOOKUP_BEFORE,
23050 GST_INDEX_LOOKUP_AFTER
23051} GstIndexLookupMethod;
23052# 125 "/usr/include/gstreamer-0.10/gst/gstindex.h"
23053typedef struct _GstIndexAssociation GstIndexAssociation;
23054# 134 "/usr/include/gstreamer-0.10/gst/gstindex.h"
23055struct _GstIndexAssociation {
23056 GstFormat format;
23057 gint64 value;
23058};
23059# 150 "/usr/include/gstreamer-0.10/gst/gstindex.h"
23060typedef enum {
23061 GST_ASSOCIATION_FLAG_NONE = 0,
23062 GST_ASSOCIATION_FLAG_KEY_UNIT = (1 << 0),
23063 GST_ASSOCIATION_FLAG_DELTA_UNIT = (1 << 1),
23064
23065
23066 GST_ASSOCIATION_FLAG_LAST = (1 << 8)
23067} GstAssocFlags;
23068# 195 "/usr/include/gstreamer-0.10/gst/gstindex.h"
23069struct _GstIndexEntry {
23070
23071 GstIndexEntryType type;
23072 gint id;
23073
23074 union {
23075 struct {
23076 gchar *description;
23077 } id;
23078 struct {
23079 gint nassocs;
23080 GstIndexAssociation
23081 *assocs;
23082 GstAssocFlags flags;
23083 } assoc;
23084 struct {
23085 gchar *key;
23086 GType type;
23087 gpointer object;
23088 } object;
23089 struct {
23090 GstFormat format;
23091 const gchar *key;
23092 } format;
23093 } data;
23094};
23095
23096
23097
23098
23099
23100
23101
23102struct _GstIndexGroup {
23103
23104
23105 gint groupnum;
23106
23107
23108 GList *entries;
23109
23110
23111 GstIndexCertainty certainty;
23112
23113
23114 gint peergroup;
23115};
23116# 255 "/usr/include/gstreamer-0.10/gst/gstindex.h"
23117typedef gboolean (*GstIndexFilter) (GstIndex *index,
23118 GstIndexEntry *entry,
23119 gpointer user_data);
23120# 266 "/usr/include/gstreamer-0.10/gst/gstindex.h"
23121typedef enum {
23122 GST_INDEX_RESOLVER_CUSTOM,
23123 GST_INDEX_RESOLVER_GTYPE,
23124 GST_INDEX_RESOLVER_PATH
23125} GstIndexResolverMethod;
23126# 283 "/usr/include/gstreamer-0.10/gst/gstindex.h"
23127typedef gboolean (*GstIndexResolver) (GstIndex *index,
23128 GstObject *writer,
23129 gchar **writer_string,
23130 gpointer user_data);
23131# 296 "/usr/include/gstreamer-0.10/gst/gstindex.h"
23132typedef enum {
23133 GST_INDEX_WRITABLE = (GST_OBJECT_FLAG_LAST << 0),
23134 GST_INDEX_READABLE = (GST_OBJECT_FLAG_LAST << 1),
23135
23136 GST_INDEX_FLAG_LAST = (GST_OBJECT_FLAG_LAST << 8)
23137} GstIndexFlags;
23138# 324 "/usr/include/gstreamer-0.10/gst/gstindex.h"
23139struct _GstIndex {
23140 GstObject object;
23141
23142
23143 GList *groups;
23144 GstIndexGroup *curgroup;
23145 gint maxgroup;
23146
23147 GstIndexResolverMethod method;
23148 GstIndexResolver resolver;
23149 gpointer resolver_user_data;
23150
23151 GstIndexFilter filter;
23152 gpointer filter_user_data;
23153 GDestroyNotify filter_user_data_destroy;
23154
23155 GHashTable *writers;
23156 gint last_id;
23157
23158
23159 GDestroyNotify resolver_user_data_destroy;
23160
23161
23162 gpointer _gst_reserved[4 - 1];
23163};
23164
23165struct _GstIndexClass {
23166 GstObjectClass parent_class;
23167
23168
23169 gboolean (*get_writer_id) (GstIndex *index, gint *writer_id, gchar *writer_string);
23170
23171 void (*commit) (GstIndex *index, gint id);
23172
23173
23174 void (*add_entry) (GstIndex *index, GstIndexEntry *entry);
23175
23176 GstIndexEntry* (*get_assoc_entry) (GstIndex *index, gint id,
23177 GstIndexLookupMethod method, GstAssocFlags flags,
23178 GstFormat format, gint64 value,
23179 GCompareDataFunc func,
23180 gpointer user_data);
23181
23182 void (*entry_added) (GstIndex *index, GstIndexEntry *entry);
23183
23184
23185 gpointer _gst_reserved[4];
23186};
23187
23188GType gst_index_get_type (void);
23189GstIndex* gst_index_new (void);
23190void gst_index_commit (GstIndex *index, gint id);
23191
23192gint gst_index_get_group (GstIndex *index);
23193gint gst_index_new_group (GstIndex *index);
23194gboolean gst_index_set_group (GstIndex *index, gint groupnum);
23195
23196void gst_index_set_certainty (GstIndex *index,
23197 GstIndexCertainty certainty);
23198GstIndexCertainty gst_index_get_certainty (GstIndex *index);
23199
23200void gst_index_set_filter (GstIndex *index,
23201 GstIndexFilter filter, gpointer user_data);
23202void gst_index_set_filter_full (GstIndex *index,
23203 GstIndexFilter filter, gpointer user_data,
23204 GDestroyNotify user_data_destroy);
23205void gst_index_set_resolver (GstIndex *index,
23206 GstIndexResolver resolver, gpointer user_data);
23207void gst_index_set_resolver_full (GstIndex *index, GstIndexResolver resolver,
23208 gpointer user_data,
23209 GDestroyNotify user_data_destroy);
23210
23211gboolean gst_index_get_writer_id (GstIndex *index, GstObject *writer, gint *id);
23212
23213GstIndexEntry* gst_index_add_format (GstIndex *index, gint id, GstFormat format);
23214GstIndexEntry* gst_index_add_associationv (GstIndex * index, gint id, GstAssocFlags flags,
23215 gint n, const GstIndexAssociation * list);
23216GstIndexEntry* gst_index_add_association (GstIndex *index, gint id, GstAssocFlags flags,
23217 GstFormat format, gint64 value, ...);
23218GstIndexEntry* gst_index_add_object (GstIndex *index, gint id, gchar *key,
23219 GType type, gpointer object);
23220GstIndexEntry* gst_index_add_id (GstIndex *index, gint id,
23221 gchar *description);
23222
23223GstIndexEntry* gst_index_get_assoc_entry (GstIndex *index, gint id,
23224 GstIndexLookupMethod method, GstAssocFlags flags,
23225 GstFormat format, gint64 value);
23226GstIndexEntry* gst_index_get_assoc_entry_full (GstIndex *index, gint id,
23227 GstIndexLookupMethod method, GstAssocFlags flags,
23228 GstFormat format, gint64 value,
23229 GCompareDataFunc func,
23230 gpointer user_data);
23231
23232
23233GType gst_index_entry_get_type (void);
23234GstIndexEntry * gst_index_entry_copy (GstIndexEntry *entry);
23235void gst_index_entry_free (GstIndexEntry *entry);
23236gboolean gst_index_entry_assoc_map (GstIndexEntry *entry,
23237 GstFormat format, gint64 *value);
23238
23239
23240# 60 "/usr/include/gstreamer-0.10/gst/gstelement.h" 2
23241# 1 "/usr/include/gstreamer-0.10/gst/gstindexfactory.h" 1
23242# 31 "/usr/include/gstreamer-0.10/gst/gstindexfactory.h"
23243
23244# 40 "/usr/include/gstreamer-0.10/gst/gstindexfactory.h"
23245typedef struct _GstIndexFactory GstIndexFactory;
23246typedef struct _GstIndexFactoryClass GstIndexFactoryClass;
23247
23248
23249
23250
23251
23252
23253struct _GstIndexFactory {
23254 GstPluginFeature feature;
23255
23256 gchar *longdesc;
23257 GType type;
23258
23259 gpointer _gst_reserved[4];
23260};
23261
23262struct _GstIndexFactoryClass {
23263 GstPluginFeatureClass parent;
23264
23265 gpointer _gst_reserved[4];
23266};
23267
23268GType gst_index_factory_get_type (void);
23269
23270GstIndexFactory* gst_index_factory_new (const gchar *name,
23271 const gchar *longdesc, GType type);
23272void gst_index_factory_destroy (GstIndexFactory *factory);
23273
23274GstIndexFactory* gst_index_factory_find (const gchar *name);
23275
23276GstIndex* gst_index_factory_create (GstIndexFactory *factory);
23277GstIndex* gst_index_factory_make (const gchar *name);
23278
23279
23280# 61 "/usr/include/gstreamer-0.10/gst/gstelement.h" 2
23281
23282
23283
23284
23285
23286# 87 "/usr/include/gstreamer-0.10/gst/gstelement.h"
23287typedef enum {
23288 GST_STATE_CHANGE_FAILURE = 0,
23289 GST_STATE_CHANGE_SUCCESS = 1,
23290 GST_STATE_CHANGE_ASYNC = 2,
23291 GST_STATE_CHANGE_NO_PREROLL = 3
23292} GstStateChangeReturn;
23293# 186 "/usr/include/gstreamer-0.10/gst/gstelement.h"
23294typedef enum
23295{
23296 GST_STATE_CHANGE_NULL_TO_READY = (GST_STATE_NULL<<3) | GST_STATE_READY,
23297 GST_STATE_CHANGE_READY_TO_PAUSED = (GST_STATE_READY<<3) | GST_STATE_PAUSED,
23298 GST_STATE_CHANGE_PAUSED_TO_PLAYING = (GST_STATE_PAUSED<<3) | GST_STATE_PLAYING,
23299 GST_STATE_CHANGE_PLAYING_TO_PAUSED = (GST_STATE_PLAYING<<3) | GST_STATE_PAUSED,
23300 GST_STATE_CHANGE_PAUSED_TO_READY = (GST_STATE_PAUSED<<3) | GST_STATE_READY,
23301 GST_STATE_CHANGE_READY_TO_NULL = (GST_STATE_READY<<3) | GST_STATE_NULL
23302} GstStateChange;
23303# 206 "/usr/include/gstreamer-0.10/gst/gstelement.h"
23304typedef enum
23305{
23306 GST_ELEMENT_LOCKED_STATE = (GST_OBJECT_FLAG_LAST << 0),
23307 GST_ELEMENT_IS_SINK = (GST_OBJECT_FLAG_LAST << 1),
23308 GST_ELEMENT_UNPARENTING = (GST_OBJECT_FLAG_LAST << 2),
23309
23310 GST_ELEMENT_FLAG_LAST = (GST_OBJECT_FLAG_LAST << 16)
23311} GstElementFlags;
23312# 419 "/usr/include/gstreamer-0.10/gst/gstelement.h"
23313struct _GstElement
23314{
23315 GstObject object;
23316
23317
23318 GStaticRecMutex *state_lock;
23319
23320
23321 GCond *state_cond;
23322 guint32 state_cookie;
23323 GstState current_state;
23324 GstState next_state;
23325 GstState pending_state;
23326 GstStateChangeReturn last_return;
23327
23328 GstBus *bus;
23329
23330
23331 GstClock *clock;
23332 GstClockTimeDiff base_time;
23333
23334
23335
23336 guint16 numpads;
23337 GList *pads;
23338 guint16 numsrcpads;
23339 GList *srcpads;
23340 guint16 numsinkpads;
23341 GList *sinkpads;
23342 guint32 pads_cookie;
23343
23344
23345 union {
23346 struct {
23347
23348 GstState target_state;
23349
23350 GstClockTime start_time;
23351 } ABI;
23352
23353 gpointer _gst_reserved[4 + 0];
23354 } abidata;
23355};
23356# 488 "/usr/include/gstreamer-0.10/gst/gstelement.h"
23357struct _GstElementClass
23358{
23359 GstObjectClass parent_class;
23360
23361
23362
23363 GstElementDetails details;
23364
23365
23366 GstElementFactory *elementfactory;
23367
23368
23369 GList *padtemplates;
23370 gint numpadtemplates;
23371 guint32 pad_templ_cookie;
23372
23373
23374
23375 void (*pad_added) (GstElement *element, GstPad *pad);
23376 void (*pad_removed) (GstElement *element, GstPad *pad);
23377 void (*no_more_pads) (GstElement *element);
23378
23379
23380
23381
23382
23383 GstPad* (*request_new_pad) (GstElement *element, GstPadTemplate *templ, const gchar* name);
23384 void (*release_pad) (GstElement *element, GstPad *pad);
23385
23386
23387 GstStateChangeReturn (*get_state) (GstElement * element, GstState * state,
23388 GstState * pending, GstClockTime timeout);
23389 GstStateChangeReturn (*set_state) (GstElement *element, GstState state);
23390 GstStateChangeReturn (*change_state) (GstElement *element, GstStateChange transition);
23391
23392
23393 void (*set_bus) (GstElement * element, GstBus * bus);
23394
23395
23396 GstClock* (*provide_clock) (GstElement *element);
23397 gboolean (*set_clock) (GstElement *element, GstClock *clock);
23398
23399
23400 GstIndex* (*get_index) (GstElement *element);
23401 void (*set_index) (GstElement *element, GstIndex *index);
23402
23403
23404 gboolean (*send_event) (GstElement *element, GstEvent *event);
23405
23406 const GstQueryType* (*get_query_types) (GstElement *element);
23407 gboolean (*query) (GstElement *element, GstQuery *query);
23408
23409
23410 gpointer _gst_reserved[4];
23411};
23412
23413
23414void gst_element_class_add_pad_template (GstElementClass *klass, GstPadTemplate *templ);
23415GstPadTemplate* gst_element_class_get_pad_template (GstElementClass *element_class, const gchar *name);
23416GList* gst_element_class_get_pad_template_list (GstElementClass *element_class);
23417void gst_element_class_set_details (GstElementClass *klass, const GstElementDetails *details);
23418void gst_element_class_set_details_simple (GstElementClass *klass,
23419 const gchar *longname,
23420 const gchar *classification,
23421 const gchar *description,
23422 const gchar *author);
23423
23424
23425GType gst_element_get_type (void);
23426# 595 "/usr/include/gstreamer-0.10/gst/gstelement.h"
23427gboolean gst_element_requires_clock (GstElement *element);
23428gboolean gst_element_provides_clock (GstElement *element);
23429GstClock* gst_element_provide_clock (GstElement *element);
23430GstClock* gst_element_get_clock (GstElement *element);
23431gboolean gst_element_set_clock (GstElement *element, GstClock *clock);
23432void gst_element_set_base_time (GstElement *element, GstClockTime time);
23433GstClockTime gst_element_get_base_time (GstElement *element);
23434void gst_element_set_start_time (GstElement *element, GstClockTime time);
23435GstClockTime gst_element_get_start_time (GstElement *element);
23436
23437
23438gboolean gst_element_is_indexable (GstElement *element);
23439void gst_element_set_index (GstElement *element, GstIndex *index);
23440GstIndex* gst_element_get_index (GstElement *element);
23441
23442
23443void gst_element_set_bus (GstElement * element, GstBus * bus);
23444GstBus * gst_element_get_bus (GstElement * element);
23445
23446
23447gboolean gst_element_add_pad (GstElement *element, GstPad *pad);
23448gboolean gst_element_remove_pad (GstElement *element, GstPad *pad);
23449void gst_element_no_more_pads (GstElement *element);
23450
23451
23452GstPad* gst_element_get_pad (GstElement *element, const gchar *name);
23453
23454GstPad* gst_element_get_static_pad (GstElement *element, const gchar *name);
23455GstPad* gst_element_get_request_pad (GstElement *element, const gchar *name);
23456void gst_element_release_request_pad (GstElement *element, GstPad *pad);
23457
23458GstIterator * gst_element_iterate_pads (GstElement * element);
23459GstIterator * gst_element_iterate_src_pads (GstElement * element);
23460GstIterator * gst_element_iterate_sink_pads (GstElement * element);
23461
23462
23463gboolean gst_element_send_event (GstElement *element, GstEvent *event);
23464gboolean gst_element_seek (GstElement *element, gdouble rate,
23465 GstFormat format, GstSeekFlags flags,
23466 GstSeekType cur_type, gint64 cur,
23467 GstSeekType stop_type, gint64 stop);
23468const GstQueryType*
23469 gst_element_get_query_types (GstElement *element);
23470gboolean gst_element_query (GstElement *element, GstQuery *query);
23471
23472
23473gboolean gst_element_post_message (GstElement * element, GstMessage * message);
23474
23475
23476
23477
23478gchar * _gst_element_error_printf (const gchar *format, ...);
23479
23480
23481
23482void gst_element_message_full (GstElement * element, GstMessageType type,
23483 GQuark domain, gint code, gchar * text,
23484 gchar * debug, const gchar * file,
23485 const gchar * function, gint line);
23486
23487
23488gboolean gst_element_is_locked_state (GstElement *element);
23489gboolean gst_element_set_locked_state (GstElement *element, gboolean locked_state);
23490gboolean gst_element_sync_state_with_parent (GstElement *element);
23491
23492GstStateChangeReturn gst_element_get_state (GstElement * element,
23493 GstState * state,
23494 GstState * pending,
23495 GstClockTime timeout);
23496GstStateChangeReturn gst_element_set_state (GstElement *element, GstState state);
23497
23498void gst_element_abort_state (GstElement * element);
23499GstStateChangeReturn gst_element_change_state (GstElement * element,
23500 GstStateChange transition);
23501GstStateChangeReturn gst_element_continue_state (GstElement * element,
23502 GstStateChangeReturn ret);
23503void gst_element_lost_state (GstElement * element);
23504void gst_element_lost_state_full (GstElement * element, gboolean new_base_time);
23505
23506
23507GstElementFactory* gst_element_get_factory (GstElement *element);
23508
23509
23510# 28 "/usr/include/gstreamer-0.10/gst/gstbin.h" 2
23511
23512
23513
23514
23515# 50 "/usr/include/gstreamer-0.10/gst/gstbin.h"
23516typedef enum {
23517
23518 GST_BIN_FLAG_LAST = (GST_ELEMENT_FLAG_LAST << 5)
23519} GstBinFlags;
23520
23521typedef struct _GstBin GstBin;
23522typedef struct _GstBinClass GstBinClass;
23523typedef struct _GstBinPrivate GstBinPrivate;
23524# 97 "/usr/include/gstreamer-0.10/gst/gstbin.h"
23525struct _GstBin {
23526 GstElement element;
23527
23528
23529
23530
23531 gint numchildren;
23532 GList *children;
23533 guint32 children_cookie;
23534
23535 GstBus *child_bus;
23536 GList *messages;
23537
23538 gboolean polling;
23539 gboolean state_dirty;
23540
23541 gboolean clock_dirty;
23542 GstClock *provided_clock;
23543 GstElement *clock_provider;
23544
23545
23546 GstBinPrivate *priv;
23547
23548 gpointer _gst_reserved[4 - 1];
23549};
23550# 137 "/usr/include/gstreamer-0.10/gst/gstbin.h"
23551struct _GstBinClass {
23552 GstElementClass parent_class;
23553
23554
23555 GThreadPool *pool;
23556
23557
23558 void (*element_added) (GstBin *bin, GstElement *child);
23559 void (*element_removed) (GstBin *bin, GstElement *child);
23560
23561
23562
23563 gboolean (*add_element) (GstBin *bin, GstElement *element);
23564 gboolean (*remove_element) (GstBin *bin, GstElement *element);
23565
23566 void (*handle_message) (GstBin *bin, GstMessage *message);
23567
23568
23569
23570 gboolean (*do_latency) (GstBin *bin);
23571
23572
23573 gpointer _gst_reserved[4 -1];
23574};
23575
23576GType gst_bin_get_type (void);
23577GstElement* gst_bin_new (const gchar *name);
23578
23579
23580gboolean gst_bin_add (GstBin *bin, GstElement *element);
23581gboolean gst_bin_remove (GstBin *bin, GstElement *element);
23582
23583
23584GstElement* gst_bin_get_by_name (GstBin *bin, const gchar *name);
23585GstElement* gst_bin_get_by_name_recurse_up (GstBin *bin, const gchar *name);
23586GstElement* gst_bin_get_by_interface (GstBin *bin, GType iface);
23587
23588
23589GstIterator* gst_bin_iterate_elements (GstBin *bin);
23590GstIterator* gst_bin_iterate_sorted (GstBin *bin);
23591GstIterator* gst_bin_iterate_recurse (GstBin *bin);
23592
23593GstIterator* gst_bin_iterate_sinks (GstBin *bin);
23594GstIterator* gst_bin_iterate_sources (GstBin *bin);
23595GstIterator* gst_bin_iterate_all_by_interface (GstBin *bin, GType iface);
23596
23597
23598gboolean gst_bin_recalculate_latency (GstBin * bin);
23599
23600
23601
23602# 35 "/usr/include/gstreamer-0.10/gst/gst.h" 2
23603
23604
23605
23606# 1 "/usr/include/gstreamer-0.10/gst/gstchildproxy.h" 1
23607# 26 "/usr/include/gstreamer-0.10/gst/gstchildproxy.h"
23608# 1 "/usr/include/gstreamer-0.10/gst/gst.h" 1
23609# 27 "/usr/include/gstreamer-0.10/gst/gstchildproxy.h" 2
23610
23611
23612# 41 "/usr/include/gstreamer-0.10/gst/gstchildproxy.h"
23613typedef struct _GstChildProxy GstChildProxy;
23614typedef struct _GstChildProxyInterface GstChildProxyInterface;
23615# 52 "/usr/include/gstreamer-0.10/gst/gstchildproxy.h"
23616struct _GstChildProxyInterface
23617{
23618 GTypeInterface parent;
23619
23620
23621 GstObject *(*get_child_by_index) (GstChildProxy * parent, guint index);
23622 guint (*get_children_count) (GstChildProxy * parent);
23623
23624
23625 void (*child_added) (GstChildProxy * parent, GstObject * child);
23626 void (*child_removed) (GstChildProxy * parent, GstObject * child);
23627
23628
23629 gpointer _gst_reserved[4];
23630};
23631
23632GType gst_child_proxy_get_type (void);
23633
23634GstObject *gst_child_proxy_get_child_by_name (GstChildProxy * parent, const gchar * name);
23635GstObject *gst_child_proxy_get_child_by_index (GstChildProxy * parent, guint index);
23636guint gst_child_proxy_get_children_count (GstChildProxy * parent);
23637
23638gboolean gst_child_proxy_lookup (GstObject *object, const gchar *name,
23639 GstObject **target, GParamSpec **pspec);
23640void gst_child_proxy_get_property (GstObject * object, const gchar *name, GValue *value);
23641void gst_child_proxy_get_valist (GstObject * object,
23642 const gchar * first_property_name, va_list var_args);
23643void gst_child_proxy_get (GstObject * object, const gchar * first_property_name,
23644 ...) __attribute__((__sentinel__));
23645void gst_child_proxy_set_property (GstObject * object, const gchar *name, const GValue *value);
23646void gst_child_proxy_set_valist (GstObject* object,
23647 const gchar * first_property_name, va_list var_args);
23648void gst_child_proxy_set (GstObject * object, const gchar * first_property_name,
23649 ...) __attribute__((__sentinel__));
23650void gst_child_proxy_child_added (GstObject * object, GstObject * child);
23651void gst_child_proxy_child_removed (GstObject * object, GstObject * child);
23652
23653
23654# 39 "/usr/include/gstreamer-0.10/gst/gst.h" 2
23655
23656# 1 "/usr/include/gstreamer-0.10/gst/gstdebugutils.h" 1
23657# 30 "/usr/include/gstreamer-0.10/gst/gstdebugutils.h"
23658
23659# 45 "/usr/include/gstreamer-0.10/gst/gstdebugutils.h"
23660typedef enum {
23661 GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE = (1<<0),
23662 GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS = (1<<1),
23663 GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS = (1<<2),
23664 GST_DEBUG_GRAPH_SHOW_STATES = (1<<3),
23665 GST_DEBUG_GRAPH_SHOW_ALL = ((1<<4)-1)
23666} GstDebugGraphDetails;
23667
23668
23669
23670
23671
23672
23673void _gst_debug_bin_to_dot_file (GstBin *bin, GstDebugGraphDetails details, const gchar *file_name);
23674void _gst_debug_bin_to_dot_file_with_ts (GstBin *bin, GstDebugGraphDetails details, const gchar *file_name);
23675# 106 "/usr/include/gstreamer-0.10/gst/gstdebugutils.h"
23676
23677# 41 "/usr/include/gstreamer-0.10/gst/gst.h" 2
23678
23679# 1 "/usr/include/gstreamer-0.10/gst/gsterror.h" 1
23680# 25 "/usr/include/gstreamer-0.10/gst/gsterror.h"
23681# 1 "/usr/include/errno.h" 1 3 4
23682# 26 "/usr/include/gstreamer-0.10/gst/gsterror.h" 2
23683
23684
23685# 63 "/usr/include/gstreamer-0.10/gst/gsterror.h"
23686typedef enum
23687{
23688 GST_CORE_ERROR_FAILED = 1,
23689 GST_CORE_ERROR_TOO_LAZY,
23690 GST_CORE_ERROR_NOT_IMPLEMENTED,
23691 GST_CORE_ERROR_STATE_CHANGE,
23692 GST_CORE_ERROR_PAD,
23693 GST_CORE_ERROR_THREAD,
23694 GST_CORE_ERROR_NEGOTIATION,
23695 GST_CORE_ERROR_EVENT,
23696 GST_CORE_ERROR_SEEK,
23697 GST_CORE_ERROR_CAPS,
23698 GST_CORE_ERROR_TAG,
23699 GST_CORE_ERROR_MISSING_PLUGIN,
23700 GST_CORE_ERROR_CLOCK,
23701 GST_CORE_ERROR_DISABLED,
23702 GST_CORE_ERROR_NUM_ERRORS
23703} GstCoreError;
23704# 97 "/usr/include/gstreamer-0.10/gst/gsterror.h"
23705typedef enum
23706{
23707 GST_LIBRARY_ERROR_FAILED = 1,
23708 GST_LIBRARY_ERROR_TOO_LAZY,
23709 GST_LIBRARY_ERROR_INIT,
23710 GST_LIBRARY_ERROR_SHUTDOWN,
23711 GST_LIBRARY_ERROR_SETTINGS,
23712 GST_LIBRARY_ERROR_ENCODE,
23713 GST_LIBRARY_ERROR_NUM_ERRORS
23714} GstLibraryError;
23715# 133 "/usr/include/gstreamer-0.10/gst/gsterror.h"
23716typedef enum
23717{
23718 GST_RESOURCE_ERROR_FAILED = 1,
23719 GST_RESOURCE_ERROR_TOO_LAZY,
23720 GST_RESOURCE_ERROR_NOT_FOUND,
23721 GST_RESOURCE_ERROR_BUSY,
23722 GST_RESOURCE_ERROR_OPEN_READ,
23723 GST_RESOURCE_ERROR_OPEN_WRITE,
23724 GST_RESOURCE_ERROR_OPEN_READ_WRITE,
23725 GST_RESOURCE_ERROR_CLOSE,
23726 GST_RESOURCE_ERROR_READ,
23727 GST_RESOURCE_ERROR_WRITE,
23728 GST_RESOURCE_ERROR_SEEK,
23729 GST_RESOURCE_ERROR_SYNC,
23730 GST_RESOURCE_ERROR_SETTINGS,
23731 GST_RESOURCE_ERROR_NO_SPACE_LEFT,
23732 GST_RESOURCE_ERROR_NUM_ERRORS
23733} GstResourceError;
23734# 182 "/usr/include/gstreamer-0.10/gst/gsterror.h"
23735typedef enum
23736{
23737 GST_STREAM_ERROR_FAILED = 1,
23738 GST_STREAM_ERROR_TOO_LAZY,
23739 GST_STREAM_ERROR_NOT_IMPLEMENTED,
23740 GST_STREAM_ERROR_TYPE_NOT_FOUND,
23741 GST_STREAM_ERROR_WRONG_TYPE,
23742 GST_STREAM_ERROR_CODEC_NOT_FOUND,
23743 GST_STREAM_ERROR_DECODE,
23744 GST_STREAM_ERROR_ENCODE,
23745 GST_STREAM_ERROR_DEMUX,
23746 GST_STREAM_ERROR_MUX,
23747 GST_STREAM_ERROR_FORMAT,
23748 GST_STREAM_ERROR_DECRYPT,
23749 GST_STREAM_ERROR_DECRYPT_NOKEY,
23750 GST_STREAM_ERROR_NUM_ERRORS
23751} GstStreamError;
23752# 243 "/usr/include/gstreamer-0.10/gst/gsterror.h"
23753GType gst_g_error_get_type (void);
23754gchar *gst_error_get_message (GQuark domain, gint code);
23755GQuark gst_stream_error_quark (void);
23756GQuark gst_core_error_quark (void);
23757GQuark gst_resource_error_quark (void);
23758GQuark gst_library_error_quark (void);
23759
23760
23761# 43 "/usr/include/gstreamer-0.10/gst/gst.h" 2
23762
23763# 1 "/usr/include/gstreamer-0.10/gst/gstghostpad.h" 1
23764# 32 "/usr/include/gstreamer-0.10/gst/gstghostpad.h"
23765
23766
23767
23768
23769
23770
23771
23772
23773typedef struct _GstProxyPad GstProxyPad;
23774typedef struct _GstProxyPadPrivate GstProxyPadPrivate;
23775typedef struct _GstProxyPadClass GstProxyPadClass;
23776
23777struct _GstProxyPad
23778{
23779 GstPad pad;
23780
23781
23782 GstProxyPadPrivate *priv;
23783};
23784
23785struct _GstProxyPadClass
23786{
23787 GstPadClass parent_class;
23788
23789
23790 gpointer _gst_reserved[1];
23791};
23792
23793GType gst_proxy_pad_get_type (void);
23794# 75 "/usr/include/gstreamer-0.10/gst/gstghostpad.h"
23795typedef struct _GstGhostPad GstGhostPad;
23796typedef struct _GstGhostPadPrivate GstGhostPadPrivate;
23797typedef struct _GstGhostPadClass GstGhostPadClass;
23798
23799struct _GstGhostPad
23800{
23801 GstProxyPad pad;
23802
23803
23804 GstGhostPadPrivate *priv;
23805};
23806
23807struct _GstGhostPadClass
23808{
23809 GstProxyPadClass parent_class;
23810
23811
23812 gpointer _gst_reserved[4];
23813};
23814
23815
23816GType gst_ghost_pad_get_type (void);
23817
23818GstPad* gst_ghost_pad_new (const gchar *name, GstPad *target);
23819GstPad* gst_ghost_pad_new_no_target (const gchar *name, GstPadDirection dir);
23820
23821GstPad* gst_ghost_pad_new_from_template (const gchar *name, GstPad * target, GstPadTemplate * templ);
23822GstPad* gst_ghost_pad_new_no_target_from_template (const gchar *name, GstPadTemplate * templ);
23823
23824GstPad* gst_ghost_pad_get_target (GstGhostPad *gpad);
23825gboolean gst_ghost_pad_set_target (GstGhostPad *gpad, GstPad *newtarget);
23826
23827gboolean gst_ghost_pad_construct (GstGhostPad *gpad);
23828
23829
23830# 45 "/usr/include/gstreamer-0.10/gst/gst.h" 2
23831
23832
23833# 1 "/usr/include/gstreamer-0.10/gst/gstinfo.h" 1
23834# 35 "/usr/include/gstreamer-0.10/gst/gstinfo.h"
23835
23836# 75 "/usr/include/gstreamer-0.10/gst/gstinfo.h"
23837typedef enum {
23838 GST_LEVEL_NONE = 0,
23839 GST_LEVEL_ERROR,
23840 GST_LEVEL_WARNING,
23841 GST_LEVEL_INFO,
23842 GST_LEVEL_DEBUG,
23843 GST_LEVEL_LOG,
23844 GST_LEVEL_FIXME = 6,
23845
23846 GST_LEVEL_MEMDUMP = 9,
23847
23848 GST_LEVEL_COUNT
23849} GstDebugLevel;
23850# 136 "/usr/include/gstreamer-0.10/gst/gstinfo.h"
23851typedef enum {
23852
23853 GST_DEBUG_FG_BLACK = 0x0000,
23854 GST_DEBUG_FG_RED = 0x0001,
23855 GST_DEBUG_FG_GREEN = 0x0002,
23856 GST_DEBUG_FG_YELLOW = 0x0003,
23857 GST_DEBUG_FG_BLUE = 0x0004,
23858 GST_DEBUG_FG_MAGENTA = 0x0005,
23859 GST_DEBUG_FG_CYAN = 0x0006,
23860 GST_DEBUG_FG_WHITE = 0x0007,
23861
23862 GST_DEBUG_BG_BLACK = 0x0000,
23863 GST_DEBUG_BG_RED = 0x0010,
23864 GST_DEBUG_BG_GREEN = 0x0020,
23865 GST_DEBUG_BG_YELLOW = 0x0030,
23866 GST_DEBUG_BG_BLUE = 0x0040,
23867 GST_DEBUG_BG_MAGENTA = 0x0050,
23868 GST_DEBUG_BG_CYAN = 0x0060,
23869 GST_DEBUG_BG_WHITE = 0x0070,
23870
23871 GST_DEBUG_BOLD = 0x0100,
23872 GST_DEBUG_UNDERLINE = 0x0200
23873} GstDebugColorFlags;
23874
23875
23876
23877
23878
23879typedef struct _GstDebugCategory GstDebugCategory;
23880
23881
23882
23883
23884
23885
23886struct _GstDebugCategory {
23887
23888 gint threshold;
23889 guint color;
23890
23891 const gchar * name;
23892 const gchar * description;
23893};
23894# 231 "/usr/include/gstreamer-0.10/gst/gstinfo.h"
23895typedef struct _GstDebugMessage GstDebugMessage;
23896# 248 "/usr/include/gstreamer-0.10/gst/gstinfo.h"
23897typedef void (*GstLogFunction) (GstDebugCategory * category,
23898 GstDebugLevel level,
23899 const gchar * file,
23900 const gchar * function,
23901 gint line,
23902 GObject * object,
23903 GstDebugMessage * message,
23904 gpointer data);
23905
23906
23907
23908
23909void _gst_debug_init (void);
23910
23911
23912
23913
23914
23915void gst_debug_log (GstDebugCategory * category,
23916 GstDebugLevel level,
23917 const gchar * file,
23918 const gchar * function,
23919 gint line,
23920 GObject * object,
23921 const gchar * format,
23922 ...) __attribute__((__no_instrument_function__));
23923# 288 "/usr/include/gstreamer-0.10/gst/gstinfo.h"
23924void gst_debug_log_valist (GstDebugCategory * category,
23925 GstDebugLevel level,
23926 const gchar * file,
23927 const gchar * function,
23928 gint line,
23929 GObject * object,
23930 const gchar * format,
23931 va_list args) __attribute__((__no_instrument_function__));
23932
23933const gchar * gst_debug_message_get (GstDebugMessage * message);
23934
23935void gst_debug_log_default (GstDebugCategory * category,
23936 GstDebugLevel level,
23937 const gchar * file,
23938 const gchar * function,
23939 gint line,
23940 GObject * object,
23941 GstDebugMessage * message,
23942 gpointer unused) __attribute__((__no_instrument_function__));
23943
23944const gchar *
23945 gst_debug_level_get_name (GstDebugLevel level);
23946
23947void gst_debug_add_log_function (GstLogFunction func,
23948 gpointer data);
23949guint gst_debug_remove_log_function (GstLogFunction func);
23950guint gst_debug_remove_log_function_by_data (gpointer data);
23951
23952void gst_debug_set_active (gboolean active);
23953gboolean gst_debug_is_active (void);
23954
23955void gst_debug_set_colored (gboolean colored);
23956gboolean gst_debug_is_colored (void);
23957
23958void gst_debug_set_default_threshold (GstDebugLevel level);
23959GstDebugLevel gst_debug_get_default_threshold (void);
23960void gst_debug_set_threshold_for_name (const gchar * name,
23961 GstDebugLevel level);
23962void gst_debug_unset_threshold_for_name (const gchar * name);
23963# 355 "/usr/include/gstreamer-0.10/gst/gstinfo.h"
23964GstDebugCategory *_gst_debug_category_new (const gchar * name,
23965 guint color,
23966 const gchar * description);
23967# 398 "/usr/include/gstreamer-0.10/gst/gstinfo.h"
23968void gst_debug_category_free (GstDebugCategory * category);
23969void gst_debug_category_set_threshold (GstDebugCategory * category,
23970 GstDebugLevel level);
23971void gst_debug_category_reset_threshold(GstDebugCategory * category);
23972GstDebugLevel
23973 gst_debug_category_get_threshold (GstDebugCategory * category);
23974const gchar *
23975 gst_debug_category_get_name (GstDebugCategory * category);
23976guint gst_debug_category_get_color (GstDebugCategory * category);
23977const gchar *
23978 gst_debug_category_get_description (GstDebugCategory * category);
23979GSList *
23980 gst_debug_get_all_categories (void);
23981
23982
23983GstDebugCategory *_gst_debug_get_category (const gchar *name);
23984# 449 "/usr/include/gstreamer-0.10/gst/gstinfo.h"
23985gchar * gst_debug_construct_term_color (guint colorinfo);
23986gint gst_debug_construct_win_color (guint colorinfo);
23987
23988
23989
23990
23991
23992
23993
23994extern GstDebugCategory * GST_CAT_DEFAULT;
23995
23996extern gboolean __gst_debug_enabled;
23997
23998
23999
24000extern GstDebugLevel __gst_debug_min;
24001# 517 "/usr/include/gstreamer-0.10/gst/gstinfo.h"
24002void _gst_debug_dump_mem (GstDebugCategory * cat, const gchar * file,
24003 const gchar * func, gint line, GObject * obj, const gchar * msg,
24004 const guint8 * data, guint length);
24005# 1097 "/usr/include/gstreamer-0.10/gst/gstinfo.h"
24006typedef void (* GstDebugFuncPtr) (void);
24007void _gst_debug_register_funcptr (GstDebugFuncPtr func,
24008 const gchar * ptrname);
24009const gchar *
24010 _gst_debug_nameof_funcptr (GstDebugFuncPtr func);
24011# 1393 "/usr/include/gstreamer-0.10/gst/gstinfo.h"
24012void gst_debug_print_stack_trace (void);
24013
24014
24015# 48 "/usr/include/gstreamer-0.10/gst/gst.h" 2
24016# 1 "/usr/include/gstreamer-0.10/gst/gstinterface.h" 1
24017# 28 "/usr/include/gstreamer-0.10/gst/gstinterface.h"
24018
24019# 46 "/usr/include/gstreamer-0.10/gst/gstinterface.h"
24020typedef struct _GstImplementsInterface GstImplementsInterface;
24021
24022typedef struct _GstImplementsInterfaceClass GstImplementsInterfaceClass;
24023
24024
24025
24026
24027
24028struct _GstImplementsInterfaceClass {
24029 GTypeInterface parent;
24030
24031
24032 gboolean (* supported) (GstImplementsInterface *iface,
24033 GType iface_type);
24034
24035 gpointer _gst_reserved[4];
24036};
24037
24038
24039
24040
24041
24042
24043GType gst_implements_interface_get_type (void);
24044
24045
24046gboolean gst_element_implements_interface (GstElement *element,
24047 GType iface_type);
24048gpointer gst_implements_interface_cast (gpointer from,
24049 GType type);
24050gboolean gst_implements_interface_check (gpointer from,
24051 GType type);
24052
24053
24054# 49 "/usr/include/gstreamer-0.10/gst/gst.h" 2
24055
24056# 1 "/usr/include/gstreamer-0.10/gst/gstmarshal.h" 1
24057
24058
24059
24060
24061
24062
24063
24064# 25 "/usr/include/gstreamer-0.10/gst/gstmarshal.h"
24065extern void gst_marshal_VOID__BOXED_OBJECT (GClosure *closure,
24066 GValue *return_value,
24067 guint n_param_values,
24068 const GValue *param_values,
24069 gpointer invocation_hint,
24070 gpointer marshal_data);
24071
24072
24073
24074
24075
24076extern void gst_marshal_VOID__POINTER_OBJECT (GClosure *closure,
24077 GValue *return_value,
24078 guint n_param_values,
24079 const GValue *param_values,
24080 gpointer invocation_hint,
24081 gpointer marshal_data);
24082
24083
24084
24085
24086
24087extern void gst_marshal_VOID__OBJECT_OBJECT (GClosure *closure,
24088 GValue *return_value,
24089 guint n_param_values,
24090 const GValue *param_values,
24091 gpointer invocation_hint,
24092 gpointer marshal_data);
24093
24094
24095extern void gst_marshal_VOID__OBJECT_PARAM (GClosure *closure,
24096 GValue *return_value,
24097 guint n_param_values,
24098 const GValue *param_values,
24099 gpointer invocation_hint,
24100 gpointer marshal_data);
24101
24102
24103extern void gst_marshal_VOID__OBJECT_POINTER (GClosure *closure,
24104 GValue *return_value,
24105 guint n_param_values,
24106 const GValue *param_values,
24107 gpointer invocation_hint,
24108 gpointer marshal_data);
24109
24110
24111extern void gst_marshal_VOID__OBJECT_BOXED (GClosure *closure,
24112 GValue *return_value,
24113 guint n_param_values,
24114 const GValue *param_values,
24115 gpointer invocation_hint,
24116 gpointer marshal_data);
24117
24118
24119extern void gst_marshal_VOID__OBJECT_BOXED_STRING (GClosure *closure,
24120 GValue *return_value,
24121 guint n_param_values,
24122 const GValue *param_values,
24123 gpointer invocation_hint,
24124 gpointer marshal_data);
24125
24126
24127extern void gst_marshal_VOID__OBJECT_OBJECT_STRING (GClosure *closure,
24128 GValue *return_value,
24129 guint n_param_values,
24130 const GValue *param_values,
24131 gpointer invocation_hint,
24132 gpointer marshal_data);
24133
24134
24135extern void gst_marshal_VOID__OBJECT_STRING (GClosure *closure,
24136 GValue *return_value,
24137 guint n_param_values,
24138 const GValue *param_values,
24139 gpointer invocation_hint,
24140 gpointer marshal_data);
24141
24142
24143extern void gst_marshal_VOID__INT_INT (GClosure *closure,
24144 GValue *return_value,
24145 guint n_param_values,
24146 const GValue *param_values,
24147 gpointer invocation_hint,
24148 gpointer marshal_data);
24149
24150
24151extern void gst_marshal_VOID__INT64 (GClosure *closure,
24152 GValue *return_value,
24153 guint n_param_values,
24154 const GValue *param_values,
24155 gpointer invocation_hint,
24156 gpointer marshal_data);
24157
24158
24159extern void gst_marshal_VOID__UINT_BOXED (GClosure *closure,
24160 GValue *return_value,
24161 guint n_param_values,
24162 const GValue *param_values,
24163 gpointer invocation_hint,
24164 gpointer marshal_data);
24165
24166
24167
24168
24169
24170extern void gst_marshal_BOOLEAN__VOID (GClosure *closure,
24171 GValue *return_value,
24172 guint n_param_values,
24173 const GValue *param_values,
24174 gpointer invocation_hint,
24175 gpointer marshal_data);
24176
24177
24178extern void gst_marshal_BOOLEAN__POINTER (GClosure *closure,
24179 GValue *return_value,
24180 guint n_param_values,
24181 const GValue *param_values,
24182 gpointer invocation_hint,
24183 gpointer marshal_data);
24184
24185
24186extern void gst_marshal_POINTER__POINTER (GClosure *closure,
24187 GValue *return_value,
24188 guint n_param_values,
24189 const GValue *param_values,
24190 gpointer invocation_hint,
24191 gpointer marshal_data);
24192
24193
24194extern void gst_marshal_BOXED__BOXED (GClosure *closure,
24195 GValue *return_value,
24196 guint n_param_values,
24197 const GValue *param_values,
24198 gpointer invocation_hint,
24199 gpointer marshal_data);
24200
24201
24202# 51 "/usr/include/gstreamer-0.10/gst/gst.h" 2
24203
24204
24205
24206
24207# 1 "/usr/include/gstreamer-0.10/gst/gstparamspecs.h" 1
24208# 23 "/usr/include/gstreamer-0.10/gst/gstparamspecs.h"
24209# 1 "/usr/include/gstreamer-0.10/gst/gstvalue.h" 1
24210# 27 "/usr/include/gstreamer-0.10/gst/gstvalue.h"
24211
24212# 304 "/usr/include/gstreamer-0.10/gst/gstvalue.h"
24213typedef gint (* GstValueCompareFunc) (const GValue *value1,
24214 const GValue *value2);
24215# 315 "/usr/include/gstreamer-0.10/gst/gstvalue.h"
24216typedef gchar * (* GstValueSerializeFunc) (const GValue *value1);
24217# 326 "/usr/include/gstreamer-0.10/gst/gstvalue.h"
24218typedef gboolean (* GstValueDeserializeFunc) (GValue *dest,
24219 const gchar *s);
24220# 340 "/usr/include/gstreamer-0.10/gst/gstvalue.h"
24221typedef gboolean (* GstValueUnionFunc) (GValue *dest,
24222 const GValue *value1,
24223 const GValue *value2);
24224# 358 "/usr/include/gstreamer-0.10/gst/gstvalue.h"
24225typedef gboolean (* GstValueIntersectFunc) (GValue *dest,
24226 const GValue *value1,
24227 const GValue *value2);
24228# 373 "/usr/include/gstreamer-0.10/gst/gstvalue.h"
24229typedef gboolean (* GstValueSubtractFunc) (GValue *dest,
24230 const GValue *minuend,
24231 const GValue *subtrahend);
24232
24233typedef struct _GstValueTable GstValueTable;
24234# 387 "/usr/include/gstreamer-0.10/gst/gstvalue.h"
24235struct _GstValueTable {
24236 GType type;
24237 GstValueCompareFunc compare;
24238 GstValueSerializeFunc serialize;
24239 GstValueDeserializeFunc deserialize;
24240
24241
24242 void *_gst_reserved [4];
24243};
24244
24245GType gst_int_range_get_type (void);
24246GType gst_double_range_get_type (void);
24247GType gst_fraction_range_get_type (void);
24248GType gst_fourcc_get_type (void);
24249GType gst_fraction_get_type (void);
24250GType gst_value_list_get_type (void);
24251GType gst_value_array_get_type (void);
24252
24253GType gst_date_get_type (void);
24254
24255void gst_value_register (const GstValueTable *table);
24256void gst_value_init_and_copy (GValue *dest,
24257 const GValue *src);
24258
24259gchar * gst_value_serialize (const GValue *value);
24260gboolean gst_value_deserialize (GValue *dest,
24261 const gchar *src);
24262
24263
24264void gst_value_list_append_value (GValue *value,
24265 const GValue *append_value);
24266void gst_value_list_prepend_value (GValue *value,
24267 const GValue *prepend_value);
24268void gst_value_list_concat (GValue *dest,
24269 const GValue *value1,
24270 const GValue *value2);
24271guint gst_value_list_get_size (const GValue *value);
24272const GValue *
24273 gst_value_list_get_value (const GValue *value,
24274 guint index);
24275
24276
24277void gst_value_array_append_value (GValue *value,
24278 const GValue *append_value);
24279void gst_value_array_prepend_value (GValue *value,
24280 const GValue *prepend_value);
24281guint gst_value_array_get_size (const GValue *value);
24282const GValue *
24283 gst_value_array_get_value (const GValue *value,
24284 guint index);
24285
24286
24287void gst_value_set_fourcc (GValue *value,
24288 guint32 fourcc);
24289guint32 gst_value_get_fourcc (const GValue *value);
24290
24291
24292void gst_value_set_int_range (GValue *value,
24293 gint start,
24294 gint end);
24295gint gst_value_get_int_range_min (const GValue *value);
24296gint gst_value_get_int_range_max (const GValue *value);
24297
24298
24299void gst_value_set_double_range (GValue *value,
24300 gdouble start,
24301 gdouble end);
24302gdouble gst_value_get_double_range_min (const GValue *value);
24303gdouble gst_value_get_double_range_max (const GValue *value);
24304
24305
24306const GstCaps *
24307 gst_value_get_caps (const GValue *value);
24308void gst_value_set_caps (GValue *value,
24309 const GstCaps *caps);
24310
24311
24312const GstStructure *
24313 gst_value_get_structure (const GValue *value);
24314void gst_value_set_structure (GValue *value,
24315 const GstStructure *structure);
24316
24317
24318void gst_value_set_fraction (GValue *value,
24319 gint numerator,
24320 gint denominator);
24321gint gst_value_get_fraction_numerator (const GValue *value);
24322gint gst_value_get_fraction_denominator(const GValue *value);
24323gboolean gst_value_fraction_multiply (GValue *product,
24324 const GValue *factor1,
24325 const GValue *factor2);
24326gboolean gst_value_fraction_subtract (GValue * dest,
24327 const GValue * minuend,
24328 const GValue * subtrahend);
24329
24330
24331void gst_value_set_fraction_range (GValue *value,
24332 const GValue *start,
24333 const GValue *end);
24334void gst_value_set_fraction_range_full (GValue *value,
24335 gint numerator_start,
24336 gint denominator_start,
24337 gint numerator_end,
24338 gint denominator_end);
24339const GValue *gst_value_get_fraction_range_min (const GValue *value);
24340const GValue *gst_value_get_fraction_range_max (const GValue *value);
24341
24342
24343const GDate *
24344 gst_value_get_date (const GValue *value);
24345void gst_value_set_date (GValue *value,
24346 const GDate *date);
24347
24348
24349gint gst_value_compare (const GValue *value1,
24350 const GValue *value2);
24351gboolean gst_value_can_compare (const GValue *value1,
24352 const GValue *value2);
24353
24354gboolean gst_value_union (GValue *dest,
24355 const GValue *value1,
24356 const GValue *value2);
24357gboolean gst_value_can_union (const GValue *value1,
24358 const GValue *value2);
24359void gst_value_register_union_func (GType type1,
24360 GType type2,
24361 GstValueUnionFunc func);
24362
24363
24364gboolean gst_value_intersect (GValue *dest,
24365 const GValue *value1,
24366 const GValue *value2);
24367gboolean gst_value_can_intersect (const GValue *value1,
24368 const GValue *value2);
24369void gst_value_register_intersect_func (GType type1,
24370 GType type2,
24371 GstValueIntersectFunc func);
24372
24373
24374gboolean gst_value_subtract (GValue *dest,
24375 const GValue *minuend,
24376 const GValue *subtrahend);
24377gboolean gst_value_can_subtract (const GValue *minuend,
24378 const GValue *subtrahend);
24379void gst_value_register_subtract_func (GType minuend_type,
24380 GType subtrahend_type,
24381 GstValueSubtractFunc func);
24382
24383
24384gboolean gst_value_is_fixed (const GValue *value);
24385
24386
24387# 24 "/usr/include/gstreamer-0.10/gst/gstparamspecs.h" 2
24388
24389
24390# 86 "/usr/include/gstreamer-0.10/gst/gstparamspecs.h"
24391GType gst_param_spec_fraction_get_type (void);
24392
24393
24394
24395
24396typedef struct _GstParamSpecFraction GstParamSpecFraction;
24397# 106 "/usr/include/gstreamer-0.10/gst/gstparamspecs.h"
24398struct _GstParamSpecFraction {
24399 GParamSpec parent_instance;
24400
24401 gint min_num, min_den;
24402 gint max_num, max_den;
24403 gint def_num, def_den;
24404};
24405
24406
24407
24408
24409GParamSpec * gst_param_spec_fraction (const gchar * name,
24410 const gchar * nick,
24411 const gchar * blurb,
24412 gint min_num, gint min_denom,
24413 gint max_num, gint max_denom,
24414 gint default_num, gint default_denom,
24415 GParamFlags flags);
24416
24417
24418# 56 "/usr/include/gstreamer-0.10/gst/gst.h" 2
24419# 1 "/usr/include/gstreamer-0.10/gst/gstpipeline.h" 1
24420# 29 "/usr/include/gstreamer-0.10/gst/gstpipeline.h"
24421
24422# 39 "/usr/include/gstreamer-0.10/gst/gstpipeline.h"
24423typedef struct _GstPipeline GstPipeline;
24424typedef struct _GstPipelineClass GstPipelineClass;
24425typedef struct _GstPipelinePrivate GstPipelinePrivate;
24426# 50 "/usr/include/gstreamer-0.10/gst/gstpipeline.h"
24427typedef enum {
24428 GST_PIPELINE_FLAG_FIXED_CLOCK = (GST_BIN_FLAG_LAST << 0),
24429
24430 GST_PIPELINE_FLAG_LAST = (GST_BIN_FLAG_LAST << 4)
24431} GstPipelineFlags;
24432# 69 "/usr/include/gstreamer-0.10/gst/gstpipeline.h"
24433struct _GstPipeline {
24434 GstBin bin;
24435
24436
24437 GstClock *fixed_clock;
24438
24439 GstClockTime stream_time;
24440 GstClockTime delay;
24441
24442
24443 GstPipelinePrivate *priv;
24444
24445 gpointer _gst_reserved[4 -1];
24446};
24447
24448struct _GstPipelineClass {
24449 GstBinClass parent_class;
24450
24451
24452 gpointer _gst_reserved[4];
24453};
24454
24455GType gst_pipeline_get_type (void);
24456GstElement* gst_pipeline_new (const gchar *name);
24457
24458GstBus* gst_pipeline_get_bus (GstPipeline *pipeline);
24459
24460
24461void gst_pipeline_set_new_stream_time (GstPipeline *pipeline, GstClockTime time);
24462GstClockTime gst_pipeline_get_last_stream_time (GstPipeline *pipeline);
24463
24464
24465void gst_pipeline_use_clock (GstPipeline *pipeline, GstClock *clock);
24466gboolean gst_pipeline_set_clock (GstPipeline *pipeline, GstClock *clock);
24467GstClock* gst_pipeline_get_clock (GstPipeline *pipeline);
24468void gst_pipeline_auto_clock (GstPipeline *pipeline);
24469
24470void gst_pipeline_set_delay (GstPipeline *pipeline, GstClockTime delay);
24471GstClockTime gst_pipeline_get_delay (GstPipeline *pipeline);
24472
24473void gst_pipeline_set_auto_flush_bus (GstPipeline *pipeline, gboolean auto_flush);
24474gboolean gst_pipeline_get_auto_flush_bus (GstPipeline *pipeline);
24475
24476
24477# 57 "/usr/include/gstreamer-0.10/gst/gst.h" 2
24478
24479# 1 "/usr/include/gstreamer-0.10/gst/gstpoll.h" 1
24480# 32 "/usr/include/gstreamer-0.10/gst/gstpoll.h"
24481
24482
24483
24484
24485
24486
24487
24488typedef struct _GstPoll GstPoll;
24489
24490
24491
24492
24493
24494
24495
24496typedef struct {
24497 int fd;
24498
24499
24500 gint idx;
24501} GstPollFD;
24502# 66 "/usr/include/gstreamer-0.10/gst/gstpoll.h"
24503GstPoll* gst_poll_new (gboolean controllable);
24504GstPoll* gst_poll_new_timer (void);
24505void gst_poll_free (GstPoll *set);
24506
24507void gst_poll_fd_init (GstPollFD *fd);
24508
24509gboolean gst_poll_add_fd (GstPoll *set, GstPollFD *fd);
24510gboolean gst_poll_remove_fd (GstPoll *set, GstPollFD *fd);
24511
24512gboolean gst_poll_fd_ctl_write (GstPoll *set, GstPollFD *fd, gboolean active);
24513gboolean gst_poll_fd_ctl_read (GstPoll *set, GstPollFD *fd, gboolean active);
24514void gst_poll_fd_ignored (GstPoll *set, GstPollFD *fd);
24515
24516gboolean gst_poll_fd_has_closed (const GstPoll *set, GstPollFD *fd);
24517gboolean gst_poll_fd_has_error (const GstPoll *set, GstPollFD *fd);
24518gboolean gst_poll_fd_can_read (const GstPoll *set, GstPollFD *fd);
24519gboolean gst_poll_fd_can_write (const GstPoll *set, GstPollFD *fd);
24520
24521gint gst_poll_wait (GstPoll *set, GstClockTime timeout);
24522
24523gboolean gst_poll_set_controllable (GstPoll *set, gboolean controllable);
24524void gst_poll_restart (GstPoll *set);
24525void gst_poll_set_flushing (GstPoll *set, gboolean flushing);
24526
24527gboolean gst_poll_write_control (GstPoll *set);
24528gboolean gst_poll_read_control (GstPoll *set);
24529
24530
24531# 59 "/usr/include/gstreamer-0.10/gst/gst.h" 2
24532# 1 "/usr/include/gstreamer-0.10/gst/gstpreset.h" 1
24533# 28 "/usr/include/gstreamer-0.10/gst/gstpreset.h"
24534
24535# 40 "/usr/include/gstreamer-0.10/gst/gstpreset.h"
24536typedef struct _GstPreset GstPreset;
24537typedef struct _GstPresetInterface GstPresetInterface;
24538# 57 "/usr/include/gstreamer-0.10/gst/gstpreset.h"
24539struct _GstPresetInterface
24540{
24541 GTypeInterface parent;
24542
24543
24544 gchar** (*get_preset_names) (GstPreset *preset);
24545
24546 gchar** (*get_property_names) (GstPreset *preset);
24547
24548 gboolean (*load_preset) (GstPreset *preset, const gchar *name);
24549 gboolean (*save_preset) (GstPreset *preset, const gchar *name);
24550 gboolean (*rename_preset) (GstPreset *preset, const gchar *old_name,
24551 const gchar *new_name);
24552 gboolean (*delete_preset) (GstPreset *preset, const gchar *name);
24553
24554 gboolean (*set_meta) (GstPreset *preset, const gchar *name,
24555 const gchar *tag, const gchar *value);
24556 gboolean (*get_meta) (GstPreset *preset, const gchar *name,
24557 const gchar *tag, gchar **value);
24558
24559 gpointer _gst_reserved[4];
24560};
24561
24562GType gst_preset_get_type(void);
24563
24564gchar** gst_preset_get_preset_names (GstPreset *preset);
24565
24566gchar** gst_preset_get_property_names (GstPreset *preset);
24567
24568gboolean gst_preset_load_preset (GstPreset *preset, const gchar *name);
24569gboolean gst_preset_save_preset (GstPreset *preset, const gchar *name);
24570gboolean gst_preset_rename_preset (GstPreset *preset, const gchar *old_name,
24571 const gchar *new_name);
24572gboolean gst_preset_delete_preset (GstPreset *preset, const gchar *name);
24573
24574gboolean gst_preset_set_meta (GstPreset *preset, const gchar *name,
24575 const gchar *tag, const gchar *value);
24576gboolean gst_preset_get_meta (GstPreset *preset, const gchar *name,
24577 const gchar *tag, gchar **value);
24578
24579
24580# 60 "/usr/include/gstreamer-0.10/gst/gst.h" 2
24581
24582# 1 "/usr/include/gstreamer-0.10/gst/gstregistry.h" 1
24583# 32 "/usr/include/gstreamer-0.10/gst/gstregistry.h"
24584
24585# 41 "/usr/include/gstreamer-0.10/gst/gstregistry.h"
24586typedef struct _GstRegistry GstRegistry;
24587typedef struct _GstRegistryClass GstRegistryClass;
24588
24589
24590
24591
24592
24593
24594struct _GstRegistry {
24595 GstObject object;
24596
24597
24598 GList *plugins;
24599 GList *features;
24600
24601 GList *paths;
24602
24603
24604 int cache_file;
24605
24606
24607 GHashTable *feature_hash;
24608
24609
24610 gpointer _gst_reserved[4 -1];
24611};
24612
24613struct _GstRegistryClass {
24614 GstObjectClass parent_class;
24615
24616
24617 void (*plugin_added) (GstRegistry *registry, GstPlugin *plugin);
24618 void (*feature_added) (GstRegistry *registry, GstPluginFeature *feature);
24619
24620
24621 gpointer _gst_reserved[4];
24622};
24623
24624
24625
24626GType gst_registry_get_type (void);
24627
24628GstRegistry * gst_registry_get_default (void);
24629
24630gboolean gst_registry_scan_path (GstRegistry *registry, const gchar *path);
24631void gst_registry_add_path (GstRegistry * registry, const gchar * path);
24632GList* gst_registry_get_path_list (GstRegistry *registry);
24633
24634gboolean gst_registry_add_plugin (GstRegistry *registry, GstPlugin *plugin);
24635void gst_registry_remove_plugin (GstRegistry *registry, GstPlugin *plugin);
24636gboolean gst_registry_add_feature (GstRegistry * registry, GstPluginFeature * feature);
24637void gst_registry_remove_feature (GstRegistry * registry, GstPluginFeature * feature);
24638
24639GList* gst_registry_get_plugin_list (GstRegistry *registry);
24640GList* gst_registry_plugin_filter (GstRegistry *registry,
24641 GstPluginFilter filter,
24642 gboolean first,
24643 gpointer user_data);
24644GList* gst_registry_feature_filter (GstRegistry *registry,
24645 GstPluginFeatureFilter filter,
24646 gboolean first,
24647 gpointer user_data);
24648GList * gst_registry_get_feature_list (GstRegistry *registry,
24649 GType type);
24650GList * gst_registry_get_feature_list_by_plugin (GstRegistry *registry, const gchar *name);
24651
24652GstPlugin* gst_registry_find_plugin (GstRegistry *registry, const gchar *name);
24653GstPluginFeature* gst_registry_find_feature (GstRegistry *registry, const gchar *name, GType type);
24654
24655GstPlugin * gst_registry_lookup (GstRegistry *registry, const char *filename);
24656GstPluginFeature * gst_registry_lookup_feature (GstRegistry *registry, const char *name);
24657
24658
24659gboolean gst_registry_xml_read_cache (GstRegistry * registry, const char *location);
24660gboolean gst_registry_xml_write_cache (GstRegistry * registry, const char *location);
24661# 203 "/usr/include/gstreamer-0.10/gst/gstregistry.h"
24662gboolean gst_default_registry_check_feature_version (const gchar *feature_name,
24663 guint min_major,
24664 guint min_minor,
24665 guint min_micro);
24666
24667
24668# 62 "/usr/include/gstreamer-0.10/gst/gst.h" 2
24669# 1 "/usr/include/gstreamer-0.10/gst/gstsegment.h" 1
24670# 29 "/usr/include/gstreamer-0.10/gst/gstsegment.h"
24671
24672
24673
24674
24675typedef struct _GstSegment GstSegment;
24676# 52 "/usr/include/gstreamer-0.10/gst/gstsegment.h"
24677struct _GstSegment {
24678
24679 gdouble rate;
24680 gdouble abs_rate;
24681 GstFormat format;
24682 GstSeekFlags flags;
24683 gint64 start;
24684 gint64 stop;
24685 gint64 time;
24686 gint64 accum;
24687
24688 gint64 last_stop;
24689 gint64 duration;
24690
24691
24692 gdouble applied_rate;
24693
24694
24695
24696 guint8 _gst_reserved[(sizeof (gpointer) * 4) - sizeof (gdouble)];
24697};
24698
24699GType gst_segment_get_type (void);
24700
24701GstSegment * gst_segment_new (void);
24702GstSegment * gst_segment_copy (GstSegment *segment);
24703void gst_segment_free (GstSegment *segment);
24704
24705void gst_segment_init (GstSegment *segment, GstFormat format);
24706
24707void gst_segment_set_duration (GstSegment *segment, GstFormat format, gint64 duration);
24708void gst_segment_set_last_stop (GstSegment *segment, GstFormat format, gint64 position);
24709
24710void gst_segment_set_seek (GstSegment *segment, gdouble rate,
24711 GstFormat format, GstSeekFlags flags,
24712 GstSeekType start_type, gint64 start,
24713 GstSeekType stop_type, gint64 stop,
24714 gboolean *update);
24715
24716void gst_segment_set_newsegment (GstSegment *segment, gboolean update, gdouble rate,
24717 GstFormat format, gint64 start, gint64 stop, gint64 time);
24718void gst_segment_set_newsegment_full (GstSegment *segment, gboolean update, gdouble rate,
24719 gdouble applied_rate, GstFormat format, gint64 start,
24720 gint64 stop, gint64 time);
24721
24722gint64 gst_segment_to_stream_time (GstSegment *segment, GstFormat format, gint64 position);
24723gint64 gst_segment_to_running_time (GstSegment *segment, GstFormat format, gint64 position);
24724gint64 gst_segment_to_position (GstSegment *segment, GstFormat format, gint64 running_time);
24725
24726gboolean gst_segment_clip (GstSegment *segment, GstFormat format, gint64 start,
24727 gint64 stop, gint64 *clip_start, gint64 *clip_stop);
24728
24729gboolean gst_segment_set_running_time (GstSegment *segment, GstFormat format, gint64 running_time);
24730
24731
24732
24733# 63 "/usr/include/gstreamer-0.10/gst/gst.h" 2
24734
24735# 1 "/usr/include/gstreamer-0.10/gst/gstsystemclock.h" 1
24736# 30 "/usr/include/gstreamer-0.10/gst/gstsystemclock.h"
24737
24738# 41 "/usr/include/gstreamer-0.10/gst/gstsystemclock.h"
24739typedef struct _GstSystemClock GstSystemClock;
24740typedef struct _GstSystemClockClass GstSystemClockClass;
24741typedef struct _GstSystemClockPrivate GstSystemClockPrivate;
24742# 53 "/usr/include/gstreamer-0.10/gst/gstsystemclock.h"
24743typedef enum {
24744 GST_CLOCK_TYPE_REALTIME = 0,
24745 GST_CLOCK_TYPE_MONOTONIC = 1
24746} GstClockType;
24747
24748
24749
24750
24751
24752
24753
24754struct _GstSystemClock {
24755 GstClock clock;
24756
24757
24758 GThread *thread;
24759 gboolean stopping;
24760
24761
24762 GstSystemClockPrivate *priv;
24763
24764 gpointer _gst_reserved[4 - 1];
24765};
24766
24767struct _GstSystemClockClass {
24768 GstClockClass parent_class;
24769
24770
24771 gpointer _gst_reserved[4];
24772};
24773
24774GType gst_system_clock_get_type (void);
24775
24776GstClock* gst_system_clock_obtain (void);
24777
24778
24779# 65 "/usr/include/gstreamer-0.10/gst/gst.h" 2
24780
24781# 1 "/usr/include/gstreamer-0.10/gst/gsttagsetter.h" 1
24782# 27 "/usr/include/gstreamer-0.10/gst/gsttagsetter.h"
24783
24784# 39 "/usr/include/gstreamer-0.10/gst/gsttagsetter.h"
24785typedef struct _GstTagSetter GstTagSetter;
24786typedef struct _GstTagSetterIFace GstTagSetterIFace;
24787# 50 "/usr/include/gstreamer-0.10/gst/gsttagsetter.h"
24788struct _GstTagSetterIFace
24789{
24790 GTypeInterface g_iface;
24791
24792
24793
24794
24795};
24796
24797GType gst_tag_setter_get_type (void);
24798
24799void gst_tag_setter_reset_tags (GstTagSetter * setter);
24800
24801void gst_tag_setter_merge_tags (GstTagSetter * setter,
24802 const GstTagList * list,
24803 GstTagMergeMode mode);
24804void gst_tag_setter_add_tags (GstTagSetter * setter,
24805 GstTagMergeMode mode,
24806 const gchar * tag,
24807 ...) __attribute__((__sentinel__));
24808
24809void gst_tag_setter_add_tag_values (GstTagSetter * setter,
24810 GstTagMergeMode mode,
24811 const gchar * tag,
24812 ...) __attribute__((__sentinel__));
24813
24814void gst_tag_setter_add_tag_valist (GstTagSetter * setter,
24815 GstTagMergeMode mode,
24816 const gchar * tag,
24817 va_list var_args);
24818
24819void gst_tag_setter_add_tag_valist_values(GstTagSetter * setter,
24820 GstTagMergeMode mode,
24821 const gchar * tag,
24822 va_list var_args);
24823
24824void gst_tag_setter_add_tag_value (GstTagSetter * setter,
24825 GstTagMergeMode mode,
24826 const gchar * tag,
24827 const GValue * value);
24828
24829const GstTagList *
24830 gst_tag_setter_get_tag_list (GstTagSetter * setter);
24831
24832void gst_tag_setter_set_tag_merge_mode (GstTagSetter * setter,
24833 GstTagMergeMode mode);
24834GstTagMergeMode gst_tag_setter_get_tag_merge_mode (GstTagSetter * setter);
24835
24836
24837# 67 "/usr/include/gstreamer-0.10/gst/gst.h" 2
24838
24839
24840# 1 "/usr/include/gstreamer-0.10/gst/gsttrace.h" 1
24841# 29 "/usr/include/gstreamer-0.10/gst/gsttrace.h"
24842
24843# 38 "/usr/include/gstreamer-0.10/gst/gsttrace.h"
24844typedef enum {
24845 GST_ALLOC_TRACE_LIVE = (1 << 0),
24846 GST_ALLOC_TRACE_MEM_LIVE = (1 << 1)
24847} GstAllocTraceFlags;
24848
24849typedef struct _GstAllocTrace GstAllocTrace;
24850# 54 "/usr/include/gstreamer-0.10/gst/gsttrace.h"
24851struct _GstAllocTrace {
24852 gchar *name;
24853 gint flags;
24854
24855 gint live;
24856 GSList *mem_live;
24857};
24858
24859
24860
24861typedef struct _GstTrace GstTrace;
24862typedef struct _GstTraceEntry GstTraceEntry;
24863
24864
24865
24866
24867
24868
24869struct _GstTrace {
24870
24871
24872 gchar *filename;
24873 int fd;
24874
24875
24876 GstTraceEntry *buf;
24877 gint bufsize;
24878 gint bufoffset;
24879};
24880
24881struct _GstTraceEntry {
24882 gint64 timestamp;
24883 guint32 sequence;
24884 guint32 data;
24885 gchar message[112];
24886};
24887
24888GstTrace* gst_trace_new (gchar *filename, gint size);
24889
24890void gst_trace_destroy (GstTrace *trace);
24891void gst_trace_flush (GstTrace *trace);
24892void gst_trace_text_flush (GstTrace *trace);
24893# 117 "/usr/include/gstreamer-0.10/gst/gsttrace.h"
24894void gst_trace_set_default (GstTrace *trace);
24895
24896void _gst_trace_add_entry (GstTrace *trace, guint32 seq,
24897 guint32 data, gchar *msg);
24898
24899void gst_trace_read_tsc (gint64 *dst);
24900
24901
24902extern GStaticMutex _gst_trace_mutex;
24903
24904gboolean gst_alloc_trace_available (void);
24905const GList* gst_alloc_trace_list (void);
24906GstAllocTrace* _gst_alloc_trace_register (const gchar *name);
24907
24908int gst_alloc_trace_live_all (void);
24909void gst_alloc_trace_print_all (void);
24910void gst_alloc_trace_print_live (void);
24911void gst_alloc_trace_set_flags_all (GstAllocTraceFlags flags);
24912
24913GstAllocTrace* gst_alloc_trace_get (const gchar *name);
24914void gst_alloc_trace_print (const GstAllocTrace *trace);
24915void gst_alloc_trace_set_flags (GstAllocTrace *trace, GstAllocTraceFlags flags);
24916# 197 "/usr/include/gstreamer-0.10/gst/gsttrace.h"
24917extern gint _gst_trace_on;
24918# 250 "/usr/include/gstreamer-0.10/gst/gsttrace.h"
24919
24920# 70 "/usr/include/gstreamer-0.10/gst/gst.h" 2
24921# 1 "/usr/include/gstreamer-0.10/gst/gsttypefind.h" 1
24922# 30 "/usr/include/gstreamer-0.10/gst/gsttypefind.h"
24923
24924
24925
24926
24927typedef struct _GstTypeFind GstTypeFind;
24928# 43 "/usr/include/gstreamer-0.10/gst/gsttypefind.h"
24929typedef void (* GstTypeFindFunction) (GstTypeFind *find, gpointer data);
24930# 56 "/usr/include/gstreamer-0.10/gst/gsttypefind.h"
24931typedef enum {
24932 GST_TYPE_FIND_MINIMUM = 1,
24933 GST_TYPE_FIND_POSSIBLE = 50,
24934 GST_TYPE_FIND_LIKELY = 80,
24935 GST_TYPE_FIND_NEARLY_CERTAIN = 99,
24936 GST_TYPE_FIND_MAXIMUM = 100
24937} GstTypeFindProbability;
24938# 73 "/usr/include/gstreamer-0.10/gst/gsttypefind.h"
24939struct _GstTypeFind {
24940
24941 guint8 * (* peek) (gpointer data,
24942 gint64 offset,
24943 guint size);
24944
24945 void (* suggest) (gpointer data,
24946 guint probability,
24947 const GstCaps * caps);
24948
24949 gpointer data;
24950
24951
24952 guint64 (* get_length) (gpointer data);
24953
24954
24955 gpointer _gst_reserved[4];
24956};
24957
24958GType gst_type_find_get_type (void);
24959
24960
24961guint8 * gst_type_find_peek (GstTypeFind * find,
24962 gint64 offset,
24963 guint size);
24964
24965void gst_type_find_suggest (GstTypeFind * find,
24966 guint probability,
24967 const GstCaps * caps);
24968
24969void gst_type_find_suggest_simple (GstTypeFind * find,
24970 guint probability,
24971 const char * media_type,
24972 const char * fieldname, ...);
24973
24974guint64 gst_type_find_get_length (GstTypeFind * find);
24975
24976
24977gboolean gst_type_find_register (GstPlugin * plugin,
24978 const gchar * name,
24979 guint rank,
24980 GstTypeFindFunction func,
24981 gchar ** extensions,
24982 const GstCaps * possible_caps,
24983 gpointer data,
24984 GDestroyNotify data_notify);
24985
24986
24987# 71 "/usr/include/gstreamer-0.10/gst/gst.h" 2
24988# 1 "/usr/include/gstreamer-0.10/gst/gsttypefindfactory.h" 1
24989# 30 "/usr/include/gstreamer-0.10/gst/gsttypefindfactory.h"
24990
24991# 39 "/usr/include/gstreamer-0.10/gst/gsttypefindfactory.h"
24992typedef struct _GstTypeFindFactory GstTypeFindFactory;
24993typedef struct _GstTypeFindFactoryClass GstTypeFindFactoryClass;
24994
24995
24996
24997
24998
24999
25000struct _GstTypeFindFactory {
25001 GstPluginFeature feature;
25002
25003
25004 GstTypeFindFunction function;
25005 gchar ** extensions;
25006 GstCaps * caps;
25007
25008 gpointer user_data;
25009 GDestroyNotify user_data_notify;
25010
25011 gpointer _gst_reserved[4];
25012};
25013
25014struct _GstTypeFindFactoryClass {
25015 GstPluginFeatureClass parent;
25016
25017
25018 gpointer _gst_reserved[4];
25019};
25020
25021
25022
25023GType gst_type_find_factory_get_type (void);
25024
25025GList * gst_type_find_factory_get_list (void);
25026
25027gchar ** gst_type_find_factory_get_extensions (GstTypeFindFactory *factory);
25028GstCaps * gst_type_find_factory_get_caps (GstTypeFindFactory *factory);
25029void gst_type_find_factory_call_function (GstTypeFindFactory *factory,
25030 GstTypeFind *find);
25031
25032
25033# 72 "/usr/include/gstreamer-0.10/gst/gst.h" 2
25034# 1 "/usr/include/gstreamer-0.10/gst/gsturi.h" 1
25035# 31 "/usr/include/gstreamer-0.10/gst/gsturi.h"
25036
25037# 42 "/usr/include/gstreamer-0.10/gst/gsturi.h"
25038typedef enum {
25039 GST_URI_UNKNOWN,
25040 GST_URI_SINK,
25041 GST_URI_SRC
25042} GstURIType;
25043# 67 "/usr/include/gstreamer-0.10/gst/gsturi.h"
25044typedef struct _GstURIHandler GstURIHandler;
25045typedef struct _GstURIHandlerInterface GstURIHandlerInterface;
25046# 88 "/usr/include/gstreamer-0.10/gst/gsturi.h"
25047struct _GstURIHandlerInterface {
25048 GTypeInterface parent;
25049
25050
25051
25052 void (* new_uri) (GstURIHandler * handler,
25053 const gchar * uri);
25054# 105 "/usr/include/gstreamer-0.10/gst/gsturi.h"
25055 GstURIType (* get_type) (void);
25056 gchar ** (* get_protocols) (void);
25057
25058
25059 const gchar *(* get_uri) (GstURIHandler * handler);
25060 gboolean (* set_uri) (GstURIHandler * handler,
25061 const gchar * uri);
25062
25063 GstURIType (* get_type_full) (GType type);
25064 gchar ** (* get_protocols_full) (GType type);
25065
25066
25067
25068
25069
25070 gpointer _gst_reserved[4 - 2];
25071};
25072
25073
25074
25075gboolean gst_uri_protocol_is_valid (const gchar * protocol);
25076gboolean gst_uri_protocol_is_supported (const GstURIType type,
25077 const gchar *protocol);
25078gboolean gst_uri_is_valid (const gchar * uri);
25079gchar * gst_uri_get_protocol (const gchar * uri);
25080gboolean gst_uri_has_protocol (const gchar * uri,
25081 const gchar * protocol);
25082gchar * gst_uri_get_location (const gchar * uri);
25083gchar * gst_uri_construct (const gchar * protocol,
25084 const gchar * location);
25085
25086GstElement * gst_element_make_from_uri (const GstURIType type,
25087 const gchar * uri,
25088 const gchar * elementname);
25089
25090
25091GType gst_uri_handler_get_type (void);
25092
25093guint gst_uri_handler_get_uri_type (GstURIHandler * handler);
25094gchar ** gst_uri_handler_get_protocols (GstURIHandler * handler);
25095const
25096gchar * gst_uri_handler_get_uri (GstURIHandler * handler);
25097gboolean gst_uri_handler_set_uri (GstURIHandler * handler,
25098 const gchar * uri);
25099void gst_uri_handler_new_uri (GstURIHandler * handler,
25100 const gchar * uri);
25101
25102
25103# 73 "/usr/include/gstreamer-0.10/gst/gst.h" 2
25104# 1 "/usr/include/gstreamer-0.10/gst/gstutils.h" 1
25105# 30 "/usr/include/gstreamer-0.10/gst/gstutils.h"
25106# 1 "/usr/include/gstreamer-0.10/gst/gstparse.h" 1
25107# 28 "/usr/include/gstreamer-0.10/gst/gstparse.h"
25108
25109
25110GQuark gst_parse_error_quark (void);
25111# 50 "/usr/include/gstreamer-0.10/gst/gstparse.h"
25112typedef enum
25113{
25114 GST_PARSE_ERROR_SYNTAX,
25115 GST_PARSE_ERROR_NO_SUCH_ELEMENT,
25116 GST_PARSE_ERROR_NO_SUCH_PROPERTY,
25117 GST_PARSE_ERROR_LINK,
25118 GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY,
25119 GST_PARSE_ERROR_EMPTY_BIN,
25120 GST_PARSE_ERROR_EMPTY
25121} GstParseError;
25122# 72 "/usr/include/gstreamer-0.10/gst/gstparse.h"
25123typedef enum
25124{
25125 GST_PARSE_FLAG_NONE = 0,
25126 GST_PARSE_FLAG_FATAL_ERRORS = (1 << 0)
25127} GstParseFlags;
25128# 85 "/usr/include/gstreamer-0.10/gst/gstparse.h"
25129typedef struct _GstParseContext GstParseContext;
25130
25131
25132
25133GstParseContext * gst_parse_context_new (void);
25134
25135gchar ** gst_parse_context_get_missing_elements (GstParseContext * context);
25136
25137void gst_parse_context_free (GstParseContext * context);
25138
25139
25140
25141
25142GstElement * gst_parse_launch (const gchar * pipeline_description,
25143 GError ** error);
25144
25145GstElement * gst_parse_launchv (const gchar ** argv,
25146 GError ** error);
25147
25148GstElement * gst_parse_launch_full (const gchar * pipeline_description,
25149 GstParseContext * context,
25150 GstParseFlags flags,
25151 GError ** error);
25152
25153GstElement * gst_parse_launchv_full (const gchar ** argv,
25154 GstParseContext * context,
25155 GstParseFlags flags,
25156 GError ** error);
25157
25158
25159# 31 "/usr/include/gstreamer-0.10/gst/gstutils.h" 2
25160
25161
25162
25163void gst_util_set_value_from_string (GValue *value, const gchar *value_str);
25164void gst_util_set_object_arg (GObject *object, const gchar *name, const gchar *value);
25165void gst_util_dump_mem (const guchar *mem, guint size);
25166
25167guint64 gst_util_gdouble_to_guint64 (gdouble value) __attribute__((__pure__));
25168gdouble gst_util_guint64_to_gdouble (guint64 value) __attribute__((__pure__));
25169# 66 "/usr/include/gstreamer-0.10/gst/gstutils.h"
25170guint64 gst_util_uint64_scale (guint64 val, guint64 num, guint64 denom) __attribute__((__pure__));
25171
25172guint64 gst_util_uint64_scale_int (guint64 val, gint num, gint denom) __attribute__((__pure__));
25173
25174guint32 gst_util_seqnum_next (void);
25175gint32 gst_util_seqnum_compare (guint32 s1, guint32 s2);
25176
25177void gst_print_pad_caps (GString *buf, gint indent, GstPad *pad);
25178void gst_print_element_args (GString *buf, gint indent, GstElement *element);
25179
25180
25181GType gst_type_register_static_full (GType parent_type,
25182 const gchar *type_name,
25183 guint class_size,
25184 GBaseInitFunc base_init,
25185 GBaseFinalizeFunc base_finalize,
25186 GClassInitFunc class_init,
25187 GClassFinalizeFunc class_finalize,
25188 gconstpointer class_data,
25189 guint instance_size,
25190 guint16 n_preallocs,
25191 GInstanceInitFunc instance_init,
25192 const GTypeValueTable *value_table,
25193 GTypeFlags flags);
25194# 526 "/usr/include/gstreamer-0.10/gst/gstutils.h"
25195inline static gfloat
25196GFLOAT_SWAP_LE_BE(gfloat in)
25197{
25198 union
25199 {
25200 guint32 i;
25201 gfloat f;
25202 } u;
25203
25204 u.f = in;
25205 u.i = (((guint32) ( (((guint32) (u.i) & (guint32) 0x000000ffU) << 24) | (((guint32) (u.i) & (guint32) 0x0000ff00U) << 8) | (((guint32) (u.i) & (guint32) 0x00ff0000U) >> 8) | (((guint32) (u.i) & (guint32) 0xff000000U) >> 24))));
25206 return u.f;
25207}
25208# 555 "/usr/include/gstreamer-0.10/gst/gstutils.h"
25209inline static gdouble
25210GDOUBLE_SWAP_LE_BE(gdouble in)
25211{
25212 union
25213 {
25214 guint64 i;
25215 gdouble d;
25216 } u;
25217
25218 u.d = in;
25219 u.i = (((guint64) ( (((guint64) (u.i) & (guint64) (0x00000000000000ffUL)) << 56) | (((guint64) (u.i) & (guint64) (0x000000000000ff00UL)) << 40) | (((guint64) (u.i) & (guint64) (0x0000000000ff0000UL)) << 24) | (((guint64) (u.i) & (guint64) (0x00000000ff000000UL)) << 8) | (((guint64) (u.i) & (guint64) (0x000000ff00000000UL)) >> 8) | (((guint64) (u.i) & (guint64) (0x0000ff0000000000UL)) >> 24) | (((guint64) (u.i) & (guint64) (0x00ff000000000000UL)) >> 40) | (((guint64) (u.i) & (guint64) (0xff00000000000000UL)) >> 56))));
25220 return u.d;
25221}
25222# 689 "/usr/include/gstreamer-0.10/gst/gstutils.h"
25223inline static gfloat
25224GST_READ_FLOAT_LE(const guint8 *data)
25225{
25226 union
25227 {
25228 guint32 i;
25229 gfloat f;
25230 } u;
25231
25232 u.i = ((((guint32) (((guint8 *) (data))[3])) << (24)) | (((guint32) (((guint8 *) (data))[2])) << (16)) | (((guint32) (((guint8 *) (data))[1])) << (8)) | (((guint32) (((guint8 *) (data))[0])) << (0)));
25233 return u.f;
25234}
25235# 717 "/usr/include/gstreamer-0.10/gst/gstutils.h"
25236inline static gfloat
25237GST_READ_FLOAT_BE(const guint8 *data)
25238{
25239 union
25240 {
25241 guint32 i;
25242 gfloat f;
25243 } u;
25244
25245 u.i = ((((guint32) (((guint8 *) (data))[0])) << (24)) | (((guint32) (((guint8 *) (data))[1])) << (16)) | (((guint32) (((guint8 *) (data))[2])) << (8)) | (((guint32) (((guint8 *) (data))[3])) << (0)));
25246 return u.f;
25247}
25248# 745 "/usr/include/gstreamer-0.10/gst/gstutils.h"
25249inline static gdouble
25250GST_READ_DOUBLE_LE(const guint8 *data)
25251{
25252 union
25253 {
25254 guint64 i;
25255 gdouble d;
25256 } u;
25257
25258 u.i = ((((guint64) (((guint8 *) (data))[7])) << (56)) | (((guint64) (((guint8 *) (data))[6])) << (48)) | (((guint64) (((guint8 *) (data))[5])) << (40)) | (((guint64) (((guint8 *) (data))[4])) << (32)) | (((guint64) (((guint8 *) (data))[3])) << (24)) | (((guint64) (((guint8 *) (data))[2])) << (16)) | (((guint64) (((guint8 *) (data))[1])) << (8)) | (((guint64) (((guint8 *) (data))[0])) << (0)));
25259 return u.d;
25260}
25261# 773 "/usr/include/gstreamer-0.10/gst/gstutils.h"
25262inline static gdouble
25263GST_READ_DOUBLE_BE(const guint8 *data)
25264{
25265 union
25266 {
25267 guint64 i;
25268 gdouble d;
25269 } u;
25270
25271 u.i = ((((guint64) (((guint8 *) (data))[0])) << (56)) | (((guint64) (((guint8 *) (data))[1])) << (48)) | (((guint64) (((guint8 *) (data))[2])) << (40)) | (((guint64) (((guint8 *) (data))[3])) << (32)) | (((guint64) (((guint8 *) (data))[4])) << (24)) | (((guint64) (((guint8 *) (data))[5])) << (16)) | (((guint64) (((guint8 *) (data))[6])) << (8)) | (((guint64) (((guint8 *) (data))[7])) << (0)));
25272 return u.d;
25273}
25274# 800 "/usr/include/gstreamer-0.10/gst/gstutils.h"
25275inline static void
25276GST_WRITE_FLOAT_LE(guint8 *data, gfloat num)
25277{
25278 union
25279 {
25280 guint32 i;
25281 gfloat f;
25282 } u;
25283
25284 u.f = num;
25285 do { (((guint8 *) (data))[0] = (((guint32) (u.i)) >> (0)) & 0xff); (((guint8 *) (data))[1] = (((guint32) (u.i)) >> (8)) & 0xff); (((guint8 *) (data))[2] = (((guint32) (u.i)) >> (16)) & 0xff); (((guint8 *) (data))[3] = (((guint32) (u.i)) >> (24)) & 0xff); } while (0);
25286}
25287# 827 "/usr/include/gstreamer-0.10/gst/gstutils.h"
25288inline static void
25289GST_WRITE_FLOAT_BE(guint8 *data, gfloat num)
25290{
25291 union
25292 {
25293 guint32 i;
25294 gfloat f;
25295 } u;
25296
25297 u.f = num;
25298 do { (((guint8 *) (data))[0] = (((guint32) (u.i)) >> (24)) & 0xff); (((guint8 *) (data))[1] = (((guint32) (u.i)) >> (16)) & 0xff); (((guint8 *) (data))[2] = (((guint32) (u.i)) >> (8)) & 0xff); (((guint8 *) (data))[3] = (((guint32) (u.i)) >> (0)) & 0xff); } while (0);
25299}
25300# 854 "/usr/include/gstreamer-0.10/gst/gstutils.h"
25301inline static void
25302GST_WRITE_DOUBLE_LE(guint8 *data, gdouble num)
25303{
25304 union
25305 {
25306 guint64 i;
25307 gdouble d;
25308 } u;
25309
25310 u.d = num;
25311 do { (((guint8 *) (data))[0] = (((guint64) (u.i)) >> (0)) & 0xff); (((guint8 *) (data))[1] = (((guint64) (u.i)) >> (8)) & 0xff); (((guint8 *) (data))[2] = (((guint64) (u.i)) >> (16)) & 0xff); (((guint8 *) (data))[3] = (((guint64) (u.i)) >> (24)) & 0xff); (((guint8 *) (data))[4] = (((guint64) (u.i)) >> (32)) & 0xff); (((guint8 *) (data))[5] = (((guint64) (u.i)) >> (40)) & 0xff); (((guint8 *) (data))[6] = (((guint64) (u.i)) >> (48)) & 0xff); (((guint8 *) (data))[7] = (((guint64) (u.i)) >> (56)) & 0xff); } while (0);
25312}
25313# 881 "/usr/include/gstreamer-0.10/gst/gstutils.h"
25314inline static void
25315GST_WRITE_DOUBLE_BE(guint8 *data, gdouble num)
25316{
25317 union
25318 {
25319 guint64 i;
25320 gdouble d;
25321 } u;
25322
25323 u.d = num;
25324 do { (((guint8 *) (data))[0] = (((guint64) (u.i)) >> (56)) & 0xff); (((guint8 *) (data))[1] = (((guint64) (u.i)) >> (48)) & 0xff); (((guint8 *) (data))[2] = (((guint64) (u.i)) >> (40)) & 0xff); (((guint8 *) (data))[3] = (((guint64) (u.i)) >> (32)) & 0xff); (((guint8 *) (data))[4] = (((guint64) (u.i)) >> (24)) & 0xff); (((guint8 *) (data))[5] = (((guint64) (u.i)) >> (16)) & 0xff); (((guint8 *) (data))[6] = (((guint64) (u.i)) >> (8)) & 0xff); (((guint8 *) (data))[7] = (((guint64) (u.i)) >> (0)) & 0xff); } while (0);
25325}
25326# 994 "/usr/include/gstreamer-0.10/gst/gstutils.h"
25327void gst_object_default_error (GstObject * source,
25328 GError * error, gchar * debug);
25329
25330
25331void gst_element_create_all_pads (GstElement *element);
25332GstPad* gst_element_get_compatible_pad (GstElement *element, GstPad *pad,
25333 const GstCaps *caps);
25334
25335GstPadTemplate* gst_element_get_compatible_pad_template (GstElement *element, GstPadTemplate *compattempl);
25336
25337const gchar* gst_element_state_get_name (GstState state);
25338const gchar * gst_element_state_change_return_get_name (GstStateChangeReturn state_ret);
25339
25340gboolean gst_element_link (GstElement *src, GstElement *dest);
25341gboolean gst_element_link_many (GstElement *element_1,
25342 GstElement *element_2, ...) __attribute__((__sentinel__));
25343gboolean gst_element_link_filtered (GstElement * src,
25344 GstElement * dest,
25345 GstCaps *filter);
25346void gst_element_unlink (GstElement *src, GstElement *dest);
25347void gst_element_unlink_many (GstElement *element_1,
25348 GstElement *element_2, ...) __attribute__((__sentinel__));
25349
25350gboolean gst_element_link_pads (GstElement *src, const gchar *srcpadname,
25351 GstElement *dest, const gchar *destpadname);
25352void gst_element_unlink_pads (GstElement *src, const gchar *srcpadname,
25353 GstElement *dest, const gchar *destpadname);
25354
25355gboolean gst_element_link_pads_filtered (GstElement * src, const gchar * srcpadname,
25356 GstElement * dest, const gchar * destpadname,
25357 GstCaps *filter);
25358
25359gboolean gst_element_seek_simple (GstElement *element,
25360 GstFormat format,
25361 GstSeekFlags seek_flags,
25362 gint64 seek_pos);
25363
25364
25365gboolean gst_element_factory_can_src_caps(GstElementFactory *factory, const GstCaps *caps);
25366gboolean gst_element_factory_can_sink_caps(GstElementFactory *factory, const GstCaps *caps);
25367
25368
25369gboolean gst_element_query_position (GstElement *element, GstFormat *format,
25370 gint64 *cur);
25371gboolean gst_element_query_duration (GstElement *element, GstFormat *format,
25372 gint64 *duration);
25373gboolean gst_element_query_convert (GstElement *element, GstFormat src_format, gint64 src_val,
25374 GstFormat *dest_format, gint64 *dest_val);
25375
25376
25377void gst_element_class_install_std_props (GstElementClass * klass,
25378 const gchar * first_name, ...) __attribute__((__sentinel__));
25379
25380
25381void gst_pad_use_fixed_caps (GstPad *pad);
25382GstCaps* gst_pad_get_fixed_caps_func (GstPad *pad);
25383GstCaps* gst_pad_proxy_getcaps (GstPad * pad);
25384gboolean gst_pad_proxy_setcaps (GstPad * pad, GstCaps * caps);
25385
25386GstElement* gst_pad_get_parent_element (GstPad *pad);
25387
25388
25389gboolean gst_pad_query_position (GstPad *pad, GstFormat *format,
25390 gint64 *cur);
25391gboolean gst_pad_query_duration (GstPad *pad, GstFormat *format,
25392 gint64 *duration);
25393gboolean gst_pad_query_convert (GstPad *pad, GstFormat src_format, gint64 src_val,
25394 GstFormat *dest_format, gint64 *dest_val);
25395
25396gboolean gst_pad_query_peer_position (GstPad *pad, GstFormat *format,
25397 gint64 *cur);
25398gboolean gst_pad_query_peer_duration (GstPad *pad, GstFormat *format,
25399 gint64 *duration);
25400gboolean gst_pad_query_peer_convert (GstPad *pad, GstFormat src_format, gint64 src_val,
25401 GstFormat *dest_format, gint64 *dest_val);
25402
25403
25404void gst_bin_add_many (GstBin *bin, GstElement *element_1, ...) __attribute__((__sentinel__));
25405void gst_bin_remove_many (GstBin *bin, GstElement *element_1, ...) __attribute__((__sentinel__));
25406GstPad * gst_bin_find_unlinked_pad (GstBin *bin, GstPadDirection direction);
25407
25408GstPad * gst_bin_find_unconnected_pad (GstBin *bin, GstPadDirection direction);
25409
25410
25411
25412GstBuffer * gst_buffer_merge (GstBuffer * buf1, GstBuffer * buf2);
25413GstBuffer * gst_buffer_join (GstBuffer * buf1, GstBuffer * buf2);
25414
25415void gst_buffer_stamp (GstBuffer * dest, const GstBuffer * src);
25416
25417
25418
25419
25420void gst_atomic_int_set (gint * atomic_int, gint value);
25421
25422
25423
25424gulong gst_pad_add_data_probe (GstPad * pad,
25425 GCallback handler,
25426 gpointer data);
25427
25428gulong gst_pad_add_data_probe_full (GstPad * pad,
25429 GCallback handler,
25430 gpointer data,
25431 GDestroyNotify notify);
25432
25433void gst_pad_remove_data_probe (GstPad * pad, guint handler_id);
25434
25435gulong gst_pad_add_event_probe (GstPad * pad,
25436 GCallback handler,
25437 gpointer data);
25438
25439gulong gst_pad_add_event_probe_full (GstPad * pad,
25440 GCallback handler,
25441 gpointer data,
25442 GDestroyNotify notify);
25443
25444void gst_pad_remove_event_probe (GstPad * pad, guint handler_id);
25445
25446gulong gst_pad_add_buffer_probe (GstPad * pad,
25447 GCallback handler,
25448 gpointer data);
25449
25450gulong gst_pad_add_buffer_probe_full (GstPad * pad,
25451 GCallback handler,
25452 gpointer data,
25453 GDestroyNotify notify);
25454
25455void gst_pad_remove_buffer_probe (GstPad * pad, guint handler_id);
25456
25457
25458void gst_element_found_tags_for_pad (GstElement * element,
25459 GstPad * pad,
25460 GstTagList * list);
25461void gst_element_found_tags (GstElement * element,
25462 GstTagList * list);
25463
25464
25465GstElement * gst_parse_bin_from_description (const gchar * bin_description,
25466 gboolean ghost_unlinked_pads,
25467 GError ** err);
25468
25469GstElement * gst_parse_bin_from_description_full (const gchar * bin_description,
25470 gboolean ghost_unlinked_pads,
25471 GstParseContext * context,
25472 GstParseFlags flags,
25473 GError ** err);
25474
25475GstClockTime gst_util_get_timestamp (void);
25476# 1154 "/usr/include/gstreamer-0.10/gst/gstutils.h"
25477typedef enum {
25478 GST_SEARCH_MODE_EXACT = 0,
25479 GST_SEARCH_MODE_BEFORE,
25480 GST_SEARCH_MODE_AFTER
25481} GstSearchMode;
25482
25483gpointer gst_util_array_binary_search (gpointer array, guint num_elements,
25484 gsize element_size, GCompareDataFunc search_func,
25485 GstSearchMode mode, gconstpointer search_data,
25486 gpointer user_data);
25487
25488
25489# 74 "/usr/include/gstreamer-0.10/gst/gst.h" 2
25490
25491# 1 "/usr/include/gstreamer-0.10/gst/gstxml.h" 1
25492# 32 "/usr/include/gstreamer-0.10/gst/gstxml.h"
25493
25494# 41 "/usr/include/gstreamer-0.10/gst/gstxml.h"
25495typedef struct _GstXML GstXML;
25496typedef struct _GstXMLClass GstXMLClass;
25497# 51 "/usr/include/gstreamer-0.10/gst/gstxml.h"
25498struct _GstXML {
25499 GstObject object;
25500
25501
25502 GList *topelements;
25503
25504 xmlNsPtr ns;
25505
25506
25507 gpointer _gst_reserved[4];
25508};
25509
25510struct _GstXMLClass {
25511 GstObjectClass parent_class;
25512
25513
25514 void (*object_loaded) (GstXML *xml, GstObject *object, xmlNodePtr self);
25515 void (*object_saved) (GstXML *xml, GstObject *object, xmlNodePtr self);
25516
25517 gpointer _gst_reserved[4];
25518};
25519
25520GType gst_xml_get_type (void);
25521
25522
25523
25524xmlDocPtr gst_xml_write (GstElement *element);
25525
25526
25527gint gst_xml_write_file (GstElement *element, FILE *out);
25528
25529GstXML* gst_xml_new (void);
25530
25531gboolean gst_xml_parse_doc (GstXML *xml, xmlDocPtr doc, const guchar *root);
25532gboolean gst_xml_parse_file (GstXML *xml, const guchar *fname, const guchar *root);
25533gboolean gst_xml_parse_memory (GstXML *xml, guchar *buffer, guint size, const gchar *root);
25534
25535
25536GstElement* gst_xml_get_element (GstXML *xml, const guchar *name);
25537GList* gst_xml_get_topelements (GstXML *xml);
25538
25539GstElement* gst_xml_make_element (xmlNodePtr cur, GstObject *parent);
25540
25541
25542# 76 "/usr/include/gstreamer-0.10/gst/gst.h" 2
25543
25544
25545
25546
25547# 1 "/usr/include/gstreamer-0.10/gst/gstcompat.h" 1
25548# 35 "/usr/include/gstreamer-0.10/gst/gstcompat.h"
25549
25550
25551
25552
25553
25554
25555
25556# 81 "/usr/include/gstreamer-0.10/gst/gst.h" 2
25557
25558
25559
25560void gst_init (int *argc, char **argv[]);
25561gboolean gst_init_check (int *argc, char **argv[],
25562 GError ** err);
25563GOptionGroup * gst_init_get_option_group (void);
25564void gst_deinit (void);
25565
25566void gst_version (guint *major, guint *minor,
25567 guint *micro, guint *nano);
25568gchar * gst_version_string (void);
25569
25570gboolean gst_segtrap_is_enabled (void);
25571void gst_segtrap_set_enabled (gboolean enabled);
25572
25573gboolean gst_registry_fork_is_enabled (void);
25574void gst_registry_fork_set_enabled (gboolean enabled);
25575
25576gboolean gst_update_registry (void);
25577
25578
25579# 12 "bigloo.c" 2
25580
25581
25582
25583
25584extern obj_t BGl_readz00zz__readerz00(obj_t, obj_t);
25585extern obj_t BGl_mainz00zzrecettez00(obj_t);
25586static obj_t BGl_cnstzd2initzd2zzrecettez00();
25587extern obj_t BGl_exitz00zz__errorz00(obj_t);
25588extern obj_t BGl_modulezd2initializa7ationz75zzrecettez00(long, char *);
25589extern obj_t BGl_modulezd2initializa7ationz75zz__gstreamer_gstreamerz00(long, char *);
25590extern obj_t BGl_modulezd2initializa7ationz75zz__pth_threadz00(long, char *);
25591extern obj_t BGl_modulezd2initializa7ationz75zz__readerz00(long, char *);
25592extern obj_t BGl_modulezd2initializa7ationz75zz__errorz00(long, char *);
25593static obj_t BGl_toplevelzd2initzd2zzrecettez00();
25594extern obj_t BGl_modulezd2initzd2errorz00zz__errorz00(char *, char *);
25595extern obj_t bigloo_main(obj_t);
25596static obj_t BGl_methodzd2initzd2zzrecettez00();
25597static obj_t BGl__mainz00zzrecettez00(obj_t, obj_t);
25598extern obj_t BGl_bigloozd2typezd2errorz00zz__errorz00(obj_t, obj_t, obj_t);
25599static obj_t BGl_requirezd2initializa7ationz75zzrecettez00 = ((obj_t)(obj_t)((long)(((long)(3) << 3) | 2)));
25600static obj_t BGl_genericzd2initzd2zzrecettez00();
25601extern obj_t BGl_bigloozd2initializa7edz12z67zz__paramz00();
25602extern long BGl_bitzd2andzd2zz__bitz00(long, long);
25603extern obj_t bgl_open_input_string(obj_t, int);
25604extern bool_t BGl_zd3fxzd3zz__r4_numbers_6_5_fixnumz00(long, long);
25605static obj_t BGl_libraryzd2moduleszd2initz00zzrecettez00();
25606static obj_t __cnst[ 1 ] ;
25607
25608
25609static struct { double _; int length; char string[11 +1]; } BgL_bgl_string2166za700za7za7r2189za7 = { 0.0, 11, "recette.scm" }; static obj_t BGl_string2166z00zzrecettez00 = ((obj_t)((long)&(BgL_bgl_string2166za700za7za7r2189za7.length) + 7));
25610static struct { double _; int length; char string[4 +1]; } BgL_bgl_string2167za700za7za7r2190za7 = { 0.0, 4, "pair" }; static obj_t BGl_string2167z00zzrecettez00 = ((obj_t)((long)&(BgL_bgl_string2167za700za7za7r2190za7.length) + 7));
25611static struct { double _; int length; char string[6 +1]; } BgL_bgl_string2168za700za7za7r2191za7 = { 0.0, 6, "_main " }; static obj_t BGl_string2168z00zzrecettez00 = ((obj_t)((long)&(BgL_bgl_string2168za700za7za7r2191za7.length) + 7));
25612static struct { double _; header_t header; obj_t (*entry)(); obj_t (*va_entry)(); obj_t attr; int arity; } const BgL_bgl__mainza700za7za7recett2192za7 = { 0.0, ((header_t)((long)(((long)(3) << (3 + 16)) | 0<<3))), (obj_t (*)())BGl__mainz00zzrecettez00, (obj_t (*)())0L, ((obj_t)(obj_t)((long)(((long)(3) << 3) | 2))), 1 }; const obj_t BGl_mainzd2envzd2zzrecettez00 = ((obj_t)(&(BgL_bgl__mainza700za7za7recett2192za7.header)));
25613
25614
25615
25616extern void bglpth_setup(int, char *[], char *[]);
25617
25618long bigloo_abort(long n) { return n; }
25619
25620int main(int argc, char *argv[], char *env[])
25621{
25622
25623bglpth_setup(argc, argv, env);
25624
25625return _bigloo_main(argc, argv, env, &bigloo_main);}
25626
25627
25628
25629
25630 obj_t BGl_modulezd2initializa7ationz75zzrecettez00(long BgL_checksumz00_509, char * BgL_fromz00_510)
25631{ ;
25632{
25633{
25634bool_t BgL_test2176z00_511;
25635{
25636obj_t BgL_arg2181z00_513;
25637BgL_arg2181z00_513 =
25638(obj_t)((long)(((long)(BGl_bitzd2andzd2zz__bitz00(BgL_checksumz00_509, ((long)67281932))) << 3) | 1));
25639
25640BgL_test2176z00_511 =
25641BGl_zd3fxzd3zz__r4_numbers_6_5_fixnumz00(
25642(long)(long)((long)((long)(BgL_arg2181z00_513) >> 3)), BgL_checksumz00_509); }
25643if(BgL_test2176z00_511)
25644{
25645if(
25646(BGl_requirezd2initializa7ationz75zzrecettez00 != ((obj_t)(obj_t)((long)(((long)(1) << 3) | 2)))))
25647{
25648BGl_requirezd2initializa7ationz75zzrecettez00 =
25649(((bool_t)0) ? ((obj_t)(obj_t)((long)(((long)(2) << 3) | 2))) : ((obj_t)(obj_t)((long)(((long)(1) << 3) | 2))));
25650BGl_libraryzd2moduleszd2initz00zzrecettez00();
25651BGl_cnstzd2initzd2zzrecettez00();
25652BGl_genericzd2initzd2zzrecettez00();
25653BGl_methodzd2initzd2zzrecettez00();
25654BGl_toplevelzd2initzd2zzrecettez00();
25655return ((obj_t)(obj_t)((long)(((long)(3) << 3) | 2)));} else
25656{
25657return ((obj_t)(obj_t)((long)(((long)(3) << 3) | 2)));} } else
25658{
25659char * BgL_sz00_512;
25660BgL_sz00_512 =
25661"recette";
25662return
25663BGl_modulezd2initzd2errorz00zz__errorz00(BgL_sz00_512, BgL_fromz00_510);} } }
25664}
25665
25666
25667
25668
25669 obj_t bigloo_main(obj_t BgL_argvz00_514)
25670{ ;
25671{
25672BGl_modulezd2initializa7ationz75zzrecettez00(((long)0), "recette");
25673BGl_bigloozd2initializa7edz12z67zz__paramz00();
25674{
25675obj_t BgL_arg2188z00_515;
25676BgL_arg2188z00_515 =
25677BGl_mainz00zzrecettez00(BgL_argvz00_514);
25678return
25679bigloo_exit(BgL_arg2188z00_515);} }
25680}
25681
25682
25683
25684
25685obj_t BGl_libraryzd2moduleszd2initz00zzrecettez00()
25686{ ;
25687{
25688BGl_modulezd2initializa7ationz75zz__readerz00(((long)0), "recette");
25689BGl_modulezd2initializa7ationz75zz__errorz00(((long)0), "recette");
25690BGl_modulezd2initializa7ationz75zz__gstreamer_gstreamerz00(((long)0), "recette");
25691BGl_modulezd2initializa7ationz75zz__pth_threadz00(((long)0), "recette");
25692return ((obj_t)(obj_t)((long)(((long)(3) << 3) | 2)));}
25693}
25694
25695
25696
25697
25698obj_t BGl_cnstzd2initzd2zzrecettez00()
25699{ ;
25700{
25701{
25702obj_t BgL_cportz00_501;
25703BgL_cportz00_501 =
25704bgl_open_input_string(BGl_string2168z00zzrecettez00,
25705(int)(((long)0)));
25706{
25707long BgL_iz00_502;
25708BgL_iz00_502 = ((long)0);
25709BgL_loopz00_503:
25710{
25711bool_t BgL_test2169z00_504;
25712BgL_test2169z00_504 =
25713(BgL_iz00_502==((long)-1));
25714if(BgL_test2169z00_504)
25715{
25716return ((obj_t)(obj_t)((long)(((long)(3) << 3) | 2)));} else
25717{
25718{
25719obj_t BgL_arg2175z00_505;
25720{
25721
25722{
25723obj_t BgL_iportz00_506;
25724BgL_iportz00_506 = BgL_cportz00_501;
25725{
25726obj_t BgL_locationz00_507;
25727BgL_locationz00_507 =
25728(((bool_t)0) ? ((obj_t)(obj_t)((long)(((long)(2) << 3) | 2))) : ((obj_t)(obj_t)((long)(((long)(1) << 3) | 2))));
25729{
25730
25731BgL_arg2175z00_505 =
25732BGl_readz00zz__readerz00(BgL_iportz00_506, BgL_locationz00_507); } } } }
25733{
25734int BgL_auxz00_545;
25735BgL_auxz00_545 =
25736(int)(BgL_iz00_502);
25737( __cnst[ BgL_auxz00_545 ] = BgL_arg2175z00_505, ((obj_t)(obj_t)((long)(((long)(3) << 3) | 2))) ); } }
25738{
25739int BgL_auxz00_508;
25740BgL_auxz00_508 =
25741(int)(
25742(BgL_iz00_502-((long)1)));
25743{
25744long BgL_iz00_550;
25745BgL_iz00_550 =
25746(long)(BgL_auxz00_508);
25747BgL_iz00_502 = BgL_iz00_550;
25748goto BgL_loopz00_503;} } } } } } }
25749}
25750
25751
25752
25753
25754obj_t BGl_toplevelzd2initzd2zzrecettez00()
25755{ ;
25756{
25757BGl_modulezd2initializa7ationz75zz__gstreamer_gstreamerz00(((long)0),
25758((char *)(&((((obj_t)((long)BGl_string2166z00zzrecettez00 - 7))->string_t).char0))));
25759BGl_modulezd2initializa7ationz75zz__pth_threadz00(((long)0),
25760((char *)(&((((obj_t)((long)BGl_string2166z00zzrecettez00 - 7))->string_t).char0))));
25761return ((obj_t)(obj_t)((long)(((long)(1) << 3) | 2)));}
25762}
25763
25764
25765
25766
25767 obj_t BGl_mainz00zzrecettez00(obj_t BgL_argvz00_1)
25768{ ;
25769{
25770{
25771obj_t BgL_list2163z00_496;
25772BgL_list2163z00_496 =
25773({ obj_t an_object; an_object = (obj_t)GC_malloc( (sizeof( struct pair )) ); an_object->pair_t.car = (obj_t)((long)(((long)(((long)0)) << 3) | 1)); an_object->pair_t.cdr = ((obj_t)(obj_t)((long)(((long)(0) << 3) | 2))); ( ((obj_t)((long)an_object | 3)) ); });
25774
25775return
25776BGl_exitz00zz__errorz00(BgL_list2163z00_496);} }
25777}
25778
25779
25780
25781
25782obj_t BGl__mainz00zzrecettez00(obj_t BgL_envz00_497, obj_t BgL_argvz00_498)
25783{ ;
25784{
25785{
25786obj_t BgL_auxz00_559;
25787{
25788obj_t BgL_aux2164z00_499;
25789BgL_aux2164z00_499 = BgL_argvz00_498;
25790{
25791bool_t BgL_test2165z00_500;
25792BgL_test2165z00_500 =
25793((((long)BgL_aux2164z00_499) & ((1 << 3) - 1)) == 3);
25794if(BgL_test2165z00_500)
25795{
25796BgL_auxz00_559 = BgL_aux2164z00_499
25797; } else
25798{
25799BGl_bigloozd2typezd2errorz00zz__errorz00(
25800__cnst[ ((long)0) ], BGl_string2167z00zzrecettez00, BgL_aux2164z00_499);
25801exit( -1 );} } }
25802return
25803BGl_mainz00zzrecettez00(BgL_auxz00_559);} }
25804}
25805
25806
25807
25808
25809obj_t BGl_genericzd2initzd2zzrecettez00()
25810{ ;
25811{
25812return ((obj_t)(obj_t)((long)(((long)(3) << 3) | 2)));}
25813}
25814
25815
25816
25817
25818obj_t BGl_methodzd2initzd2zzrecettez00()
25819{ ;
25820{
25821return ((obj_t)(obj_t)((long)(((long)(3) << 3) | 2)));}
25822}