Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 189061 Details for
Bug 281101
Segmentation Fault when compiling mu-conference plug-in for jabberd
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Preprocessed Source
ccfx854G.out (text/plain), 269.83 KB, created by
Harold Pritchett
on 2007-09-06 18:18:10 UTC
(
hide
)
Description:
Preprocessed Source
Filename:
MIME Type:
Creator:
Harold Pritchett
Created:
2007-09-06 18:18:10 UTC
Size:
269.83 KB
patch
obsolete
>// /usr/libexec/gcc/x86_64-redhat-linux/4.1.2/cc1 -quiet -I. -I../../include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_REENTRANT -DLIBIDN expat.c -quiet -dumpbase expat.c -mtune=generic -auxbase-strip expat.o -O2 -Wall -o - -frandom-seed=0 ># 1 "expat.c" ># 1 "<built-in>" ># 1 "<command line>" ># 1 "expat.c" ># 42 "expat.c" ># 1 "../../include/lib.h" 1 > ># 1 "/usr/include/string.h" 1 3 4 ># 26 "/usr/include/string.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 329 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 313 "/usr/include/sys/cdefs.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 314 "/usr/include/sys/cdefs.h" 2 3 4 ># 330 "/usr/include/features.h" 2 3 4 ># 352 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 > > > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 5 "/usr/include/gnu/stubs.h" 2 3 4 > > > > ># 1 "/usr/include/gnu/stubs-64.h" 1 3 4 ># 10 "/usr/include/gnu/stubs.h" 2 3 4 ># 353 "/usr/include/features.h" 2 3 4 ># 27 "/usr/include/string.h" 2 3 4 > > > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 214 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 3 4 >typedef long unsigned int size_t; ># 34 "/usr/include/string.h" 2 3 4 > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > ># 82 "/usr/include/string.h" 3 4 > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > ># 130 "/usr/include/string.h" 3 4 >extern char *strdup (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 165 "/usr/include/string.h" 3 4 > > >extern char *strchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern char *strrchr (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > ># 181 "/usr/include/string.h" 3 4 > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strpbrk (__const char *__s, __const char *__accept) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strstr (__const char *__haystack, __const char *__needle) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); ># 240 "/usr/include/string.h" 3 4 > > >extern size_t strlen (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > ># 254 "/usr/include/string.h" 3 4 > > >extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); > ># 270 "/usr/include/string.h" 3 4 >extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); ># 288 "/usr/include/string.h" 3 4 >extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *index (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern char *rindex (__const char *__s, int __c) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > >extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 325 "/usr/include/string.h" 3 4 >extern int strcasecmp (__const char *__s1, __const char *__s2) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 348 "/usr/include/string.h" 3 4 >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); ># 414 "/usr/include/string.h" 3 4 ># 1 "/usr/include/bits/string.h" 1 3 4 ># 415 "/usr/include/string.h" 2 3 4 > > ># 1 "/usr/include/bits/string2.h" 1 3 4 ># 52 "/usr/include/bits/string2.h" 3 4 ># 1 "/usr/include/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 38 "/usr/include/endian.h" 2 3 4 ># 53 "/usr/include/bits/string2.h" 2 3 4 ># 1 "/usr/include/bits/types.h" 1 3 4 ># 28 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/bits/types.h" 2 3 4 > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 32 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > >typedef signed long int __int64_t; >typedef unsigned long int __uint64_t; > > > > > > > >typedef long int __quad_t; >typedef unsigned long int __u_quad_t; ># 134 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 135 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned long int __dev_t; >typedef unsigned int __uid_t; >typedef unsigned int __gid_t; >typedef unsigned long int __ino_t; >typedef unsigned long int __ino64_t; >typedef unsigned int __mode_t; >typedef unsigned long int __nlink_t; >typedef long int __off_t; >typedef long int __off64_t; >typedef int __pid_t; >typedef struct { int __val[2]; } __fsid_t; >typedef long int __clock_t; >typedef unsigned long int __rlim_t; >typedef unsigned long int __rlim64_t; >typedef unsigned int __id_t; >typedef long int __time_t; >typedef unsigned int __useconds_t; >typedef long int __suseconds_t; > >typedef int __daddr_t; >typedef long int __swblk_t; >typedef int __key_t; > > >typedef int __clockid_t; > > >typedef void * __timer_t; > > >typedef long int __blksize_t; > > > > >typedef long int __blkcnt_t; >typedef long int __blkcnt64_t; > > >typedef unsigned long int __fsblkcnt_t; >typedef unsigned long int __fsblkcnt64_t; > > >typedef unsigned long int __fsfilcnt_t; >typedef unsigned long int __fsfilcnt64_t; > >typedef long int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >typedef long int __intptr_t; > > >typedef unsigned int __socklen_t; ># 54 "/usr/include/bits/string2.h" 2 3 4 ># 394 "/usr/include/bits/string2.h" 3 4 >extern void *__rawmemchr (const void *__s, int __c); ># 969 "/usr/include/bits/string2.h" 3 4 >extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); >extern __inline size_t >__strcspn_c1 (__const char *__s, int __reject) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, > int __reject2); >extern __inline size_t >__strcspn_c2 (__const char *__s, int __reject1, int __reject2) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2) > ++__result; > return __result; >} > >extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, > int __reject2, int __reject3); >extern __inline size_t >__strcspn_c3 (__const char *__s, int __reject1, int __reject2, > int __reject3) >{ > register size_t __result = 0; > while (__s[__result] != '\0' && __s[__result] != __reject1 > && __s[__result] != __reject2 && __s[__result] != __reject3) > ++__result; > return __result; >} ># 1045 "/usr/include/bits/string2.h" 3 4 >extern __inline size_t __strspn_c1 (__const char *__s, int __accept); >extern __inline size_t >__strspn_c1 (__const char *__s, int __accept) >{ > register size_t __result = 0; > > while (__s[__result] == __accept) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline size_t >__strspn_c2 (__const char *__s, int __accept1, int __accept2) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2) > ++__result; > return __result; >} > >extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline size_t >__strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) >{ > register size_t __result = 0; > > while (__s[__result] == __accept1 || __s[__result] == __accept2 > || __s[__result] == __accept3) > ++__result; > return __result; >} ># 1121 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, > int __accept2); >extern __inline char * >__strpbrk_c2 (__const char *__s, int __accept1, int __accept2) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} > >extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, > int __accept2, int __accept3); >extern __inline char * >__strpbrk_c3 (__const char *__s, int __accept1, int __accept2, > int __accept3) >{ > > while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 > && *__s != __accept3) > ++__s; > return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; >} ># 1173 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); >extern __inline char * >__strtok_r_1c (char *__s, char __sep, char **__nextp) >{ > char *__result; > if (__s == ((void *)0)) > __s = *__nextp; > while (*__s == __sep) > ++__s; > __result = ((void *)0); > if (*__s != '\0') > { > __result = __s++; > while (*__s != '\0') > if (*__s++ == __sep) > { > __s[-1] = '\0'; > break; > } > *__nextp = __s; > } > return __result; >} ># 1205 "/usr/include/bits/string2.h" 3 4 >extern char *__strsep_g (char **__stringp, __const char *__delim); ># 1223 "/usr/include/bits/string2.h" 3 4 >extern __inline char *__strsep_1c (char **__s, char __reject); >extern __inline char * >__strsep_1c (char **__s, char __reject) >{ > register char *__retval = *__s; > if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) > *(*__s)++ = '\0'; > return __retval; >} > >extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); >extern __inline char * >__strsep_2c (char **__s, char __reject1, char __reject2) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} > >extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, > char __reject3); >extern __inline char * >__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) >{ > register char *__retval = *__s; > if (__retval != ((void *)0)) > { > register char *__cp = __retval; > while (1) > { > if (*__cp == '\0') > { > __cp = ((void *)0); > break; > } > if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) > { > *__cp++ = '\0'; > break; > } > ++__cp; > } > *__s = __cp; > } > return __retval; >} ># 1299 "/usr/include/bits/string2.h" 3 4 ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 34 "/usr/include/stdlib.h" 2 3 4 > > ># 587 "/usr/include/stdlib.h" 3 4 > > >extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; > ># 977 "/usr/include/stdlib.h" 3 4 > ># 1300 "/usr/include/bits/string2.h" 2 3 4 > > > > >extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); ># 1323 "/usr/include/bits/string2.h" 3 4 >extern char *__strndup (__const char *__string, size_t __n) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); ># 418 "/usr/include/string.h" 2 3 4 ># 426 "/usr/include/string.h" 3 4 > ># 3 "../../include/lib.h" 2 ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 326 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 3 4 >typedef int wchar_t; ># 34 "/usr/include/stdlib.h" 2 3 4 > > ># 96 "/usr/include/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > ># 140 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ; > > > > >extern double atof (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > >extern int atoi (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > >extern long int atol (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > ># 182 "/usr/include/stdlib.h" 3 4 > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > ># 279 "/usr/include/stdlib.h" 3 4 >extern double __strtod_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; >extern float __strtof_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; >extern long double __strtold_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > >extern long int __strtol_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > >extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > >__extension__ >extern long long int __strtoll_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > >__extension__ >extern unsigned long long int __strtoull_internal (__const char * > __restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > > > > > >extern __inline double >__attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr) >{ > return __strtod_internal (__nptr, __endptr, 0); >} >extern __inline long int >__attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtol_internal (__nptr, __endptr, __base, 0); >} >extern __inline unsigned long int >__attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoul_internal (__nptr, __endptr, __base, 0); >} > ># 364 "/usr/include/stdlib.h" 3 4 >__extension__ extern __inline long long int >__attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoll_internal (__nptr, __endptr, __base, 0); >} >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base) > >{ > return __strtoull_internal (__nptr, __endptr, __base, 0); >} > > > > >extern __inline double >__attribute__ ((__nothrow__)) atof (__const char *__nptr) >{ > return strtod (__nptr, (char **) ((void *)0)); >} >extern __inline int >__attribute__ ((__nothrow__)) atoi (__const char *__nptr) >{ > return (int) strtol (__nptr, (char **) ((void *)0), 10); >} >extern __inline long int >__attribute__ ((__nothrow__)) atol (__const char *__nptr) >{ > return strtol (__nptr, (char **) ((void *)0), 10); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__)) atoll (__const char *__nptr) >{ > return strtoll (__nptr, (char **) ((void *)0), 10); >} > ># 429 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ; > > >extern long int a64l (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > ># 1 "/usr/include/sys/types.h" 1 3 4 ># 29 "/usr/include/sys/types.h" 3 4 > > > > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > > > >typedef __loff_t loff_t; > > > >typedef __ino_t ino_t; ># 62 "/usr/include/sys/types.h" 3 4 >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; > > > > > >typedef __off_t off_t; ># 100 "/usr/include/sys/types.h" 3 4 >typedef __pid_t pid_t; > > > > >typedef __id_t id_t; > > > > >typedef __ssize_t ssize_t; > > > > > >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; ># 133 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 75 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; > > > ># 93 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 105 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 134 "/usr/include/sys/types.h" 2 3 4 ># 147 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 148 "/usr/include/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 195 "/usr/include/sys/types.h" 3 4 >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); ># 220 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/sys/select.h" 1 3 4 ># 31 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/select.h" 1 3 4 ># 32 "/usr/include/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 23 "/usr/include/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 35 "/usr/include/sys/select.h" 2 3 4 > > > >typedef __sigset_t sigset_t; > > > > > ># 1 "/usr/include/time.h" 1 3 4 ># 121 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > long int tv_nsec; > }; ># 45 "/usr/include/sys/select.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 69 "/usr/include/bits/time.h" 3 4 >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 47 "/usr/include/sys/select.h" 2 3 4 > > >typedef __suseconds_t suseconds_t; > > > > > >typedef long int __fd_mask; ># 67 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > > > > __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))]; > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 99 "/usr/include/sys/select.h" 3 4 > ># 109 "/usr/include/sys/select.h" 3 4 >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); ># 121 "/usr/include/sys/select.h" 3 4 >extern int pselect (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > const struct timespec *__restrict __timeout, > const __sigset_t *__restrict __sigmask); > > > ># 221 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 29 "/usr/include/sys/sysmacros.h" 3 4 >__extension__ >extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > __attribute__ ((__nothrow__)); > > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} ># 224 "/usr/include/sys/types.h" 2 3 4 ># 235 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt_t blkcnt_t; > > > >typedef __fsblkcnt_t fsblkcnt_t; > > > >typedef __fsfilcnt_t fsfilcnt_t; ># 270 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 23 "/usr/include/bits/pthreadtypes.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 ># 50 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef unsigned long int pthread_t; > > >typedef union >{ > char __size[56]; > long int __align; >} pthread_attr_t; > > > >typedef struct __pthread_internal_list >{ > struct __pthread_internal_list *__prev; > struct __pthread_internal_list *__next; >} __pthread_list_t; ># 76 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef union >{ > struct __pthread_mutex_s > { > int __lock; > unsigned int __count; > int __owner; > > unsigned int __nusers; > > > > int __kind; > > int __spins; > __pthread_list_t __list; ># 101 "/usr/include/bits/pthreadtypes.h" 3 4 > } __data; > char __size[40]; > long int __align; >} pthread_mutex_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_mutexattr_t; > > > > >typedef union >{ > struct > { > int __lock; > unsigned int __futex; > __extension__ unsigned long long int __total_seq; > __extension__ unsigned long long int __wakeup_seq; > __extension__ unsigned long long int __woken_seq; > void *__mutex; > unsigned int __nwaiters; > unsigned int __broadcast_seq; > } __data; > char __size[48]; > __extension__ long long int __align; >} pthread_cond_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_condattr_t; > > > >typedef unsigned int pthread_key_t; > > > >typedef int pthread_once_t; > > > > > >typedef union >{ > > struct > { > int __lock; > unsigned int __nr_readers; > unsigned int __readers_wakeup; > unsigned int __writer_wakeup; > unsigned int __nr_readers_queued; > unsigned int __nr_writers_queued; > int __writer; > int __pad1; > unsigned long int __pad2; > unsigned long int __pad3; > > > unsigned int __flags; > } __data; ># 184 "/usr/include/bits/pthreadtypes.h" 3 4 > char __size[56]; > long int __align; >} pthread_rwlock_t; > >typedef union >{ > char __size[8]; > long int __align; >} pthread_rwlockattr_t; > > > > > >typedef volatile int pthread_spinlock_t; > > > > >typedef union >{ > char __size[32]; > long int __align; >} pthread_barrier_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_barrierattr_t; ># 271 "/usr/include/sys/types.h" 2 3 4 > > > ># 439 "/usr/include/stdlib.h" 2 3 4 > > > > > > >extern long int random (void) __attribute__ ((__nothrow__)); > > >extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) __attribute__ ((__nothrow__)); > >extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > >extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); > > > > > > > >extern double drand48 (void) __attribute__ ((__nothrow__)); >extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) __attribute__ ((__nothrow__)); >extern long int nrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) __attribute__ ((__nothrow__)); >extern long int jrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); ># 597 "/usr/include/stdlib.h" 3 4 > > > >extern void *realloc (void *__ptr, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)); > >extern void free (void *__ptr) __attribute__ ((__nothrow__)); > > > > >extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 25 "/usr/include/alloca.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > > > > > > > >extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); > > > > > > ># 613 "/usr/include/stdlib.h" 2 3 4 > > > > >extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > >extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > ># 658 "/usr/include/stdlib.h" 3 4 > > >extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > >extern char *__secure_getenv (__const char *__name) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > >extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); > > > > > > >extern int clearenv (void) __attribute__ ((__nothrow__)); ># 698 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; ># 709 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; ># 729 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > > > > > >extern int system (__const char *__command) ; > ># 756 "/usr/include/stdlib.h" 3 4 >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) __attribute__ ((__nothrow__)) ; > > > > > > >typedef int (*__compar_fn_t) (__const void *, __const void *); > > > > > > > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar) > __attribute__ ((__nonnull__ (1, 2, 5))) ; > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); > > > >extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; >extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; > > > > > > > > > > > > >extern div_t div (int __numer, int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; >extern ldiv_t ldiv (long int __numer, long int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; > ># 821 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > > >extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ; > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ; > > >extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ; > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > __attribute__ ((__nothrow__)); > > > > > > > > >extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; ># 926 "/usr/include/stdlib.h" 3 4 >extern int posix_openpt (int __oflag) ; ># 961 "/usr/include/stdlib.h" 3 4 >extern int getloadavg (double __loadavg[], int __nelem) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 977 "/usr/include/stdlib.h" 3 4 > ># 4 "../../include/lib.h" 2 > ># 1 "/usr/include/stdio.h" 1 3 4 ># 30 "/usr/include/stdio.h" 3 4 > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 35 "/usr/include/stdio.h" 2 3 4 ># 44 "/usr/include/stdio.h" 3 4 > > >typedef struct _IO_FILE FILE; > > > > > ># 62 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 72 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/libio.h" 1 3 4 ># 32 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/_G_config.h" 1 3 4 ># 14 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 355 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 3 4 >typedef unsigned int wint_t; ># 15 "/usr/include/_G_config.h" 2 3 4 ># 24 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 > ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 51 "/usr/include/wchar.h" 2 3 4 ># 76 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > wint_t __wch; > char __wchb[4]; > } __value; >} __mbstate_t; ># 25 "/usr/include/_G_config.h" 2 3 4 > >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 44 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/gconv.h" 1 3 4 ># 28 "/usr/include/gconv.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 ># 29 "/usr/include/gconv.h" 2 3 4 > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 32 "/usr/include/gconv.h" 2 3 4 > > > > > >enum >{ > __GCONV_OK = 0, > __GCONV_NOCONV, > __GCONV_NODB, > __GCONV_NOMEM, > > __GCONV_EMPTY_INPUT, > __GCONV_FULL_OUTPUT, > __GCONV_ILLEGAL_INPUT, > __GCONV_INCOMPLETE_INPUT, > > __GCONV_ILLEGAL_DESCRIPTOR, > __GCONV_INTERNAL_ERROR >}; > > > >enum >{ > __GCONV_IS_LAST = 0x0001, > __GCONV_IGNORE_ERRORS = 0x0002 >}; > > > >struct __gconv_step; >struct __gconv_step_data; >struct __gconv_loaded_object; >struct __gconv_trans_data; > > > >typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, > __const unsigned char **, __const unsigned char *, > unsigned char **, size_t *, int, int); > > >typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); > > >typedef int (*__gconv_init_fct) (struct __gconv_step *); >typedef void (*__gconv_end_fct) (struct __gconv_step *); > > > >typedef int (*__gconv_trans_fct) (struct __gconv_step *, > struct __gconv_step_data *, void *, > __const unsigned char *, > __const unsigned char **, > __const unsigned char *, unsigned char **, > size_t *); > > >typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, > __const unsigned char *, > unsigned char *, unsigned char *); > > >typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, > size_t *); > > >typedef int (*__gconv_trans_init_fct) (void **, const char *); >typedef void (*__gconv_trans_end_fct) (void *); > >struct __gconv_trans_data >{ > > __gconv_trans_fct __trans_fct; > __gconv_trans_context_fct __trans_context_fct; > __gconv_trans_end_fct __trans_end_fct; > void *__data; > struct __gconv_trans_data *__next; >}; > > > >struct __gconv_step >{ > struct __gconv_loaded_object *__shlib_handle; > __const char *__modname; > > int __counter; > > char *__from_name; > char *__to_name; > > __gconv_fct __fct; > __gconv_btowc_fct __btowc_fct; > __gconv_init_fct __init_fct; > __gconv_end_fct __end_fct; > > > > int __min_needed_from; > int __max_needed_from; > int __min_needed_to; > int __max_needed_to; > > > int __stateful; > > void *__data; >}; > > > >struct __gconv_step_data >{ > unsigned char *__outbuf; > unsigned char *__outbufend; > > > > int __flags; > > > > int __invocation_counter; > > > > int __internal_use; > > __mbstate_t *__statep; > __mbstate_t __state; > > > > struct __gconv_trans_data *__trans; >}; > > > >typedef struct __gconv_info >{ > size_t __nsteps; > struct __gconv_step *__steps; > __extension__ struct __gconv_step_data __data []; >} *__gconv_t; ># 45 "/usr/include/_G_config.h" 2 3 4 >typedef union >{ > struct __gconv_info __cd; > struct > { > struct __gconv_info __cd; > struct __gconv_step_data __data; > } __combined; >} _G_iconv_t; > >typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); >typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); ># 33 "/usr/include/libio.h" 2 3 4 ># 53 "/usr/include/libio.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 167 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 177 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 200 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 268 "/usr/include/libio.h" 3 4 >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 316 "/usr/include/libio.h" 3 4 > __off64_t _offset; ># 325 "/usr/include/libio.h" 3 4 > void *__pad1; > void *__pad2; > void *__pad3; > void *__pad4; > size_t __pad5; > > int _mode; > > char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; > >}; > > >typedef struct _IO_FILE _IO_FILE; > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 361 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); ># 413 "/usr/include/libio.h" 3 4 >extern int __underflow (_IO_FILE *); >extern int __uflow (_IO_FILE *); >extern int __overflow (_IO_FILE *, int); >extern wint_t __wunderflow (_IO_FILE *); >extern wint_t __wuflow (_IO_FILE *); >extern wint_t __woverflow (_IO_FILE *, wint_t); ># 451 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp); >extern int _IO_putc (int __c, _IO_FILE *__fp); >extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); >extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); > >extern int _IO_peekc_locked (_IO_FILE *__fp); > > > > > >extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); ># 481 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); > >extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); ># 73 "/usr/include/stdio.h" 2 3 4 ># 86 "/usr/include/stdio.h" 3 4 > > >typedef _G_fpos_t fpos_t; > > > > ># 138 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 139 "/usr/include/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > > > >extern int remove (__const char *__filename) __attribute__ ((__nothrow__)); > >extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); > > > > > > > > > > > > > > >extern FILE *tmpfile (void); ># 185 "/usr/include/stdio.h" 3 4 >extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)); > > > > > >extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)); ># 203 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 228 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 242 "/usr/include/stdio.h" 3 4 > > > > > > >extern FILE *fopen (__const char *__restrict __filename, > __const char *__restrict __modes); > > > > >extern FILE *freopen (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); ># 269 "/usr/include/stdio.h" 3 4 > ># 280 "/usr/include/stdio.h" 3 4 >extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)); ># 300 "/usr/include/stdio.h" 3 4 > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) __attribute__ ((__nothrow__)); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) __attribute__ ((__nothrow__)); > > >extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) __attribute__ ((__nothrow__)); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); > ># 394 "/usr/include/stdio.h" 3 4 > > > > > >extern int fscanf (FILE *__restrict __stream, > __const char *__restrict __format, ...) ; > > > > >extern int scanf (__const char *__restrict __format, ...) ; > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > ># 436 "/usr/include/stdio.h" 3 4 > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 460 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 471 "/usr/include/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); > > > > > > > > > > > >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); > ># 504 "/usr/include/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); > > > > > > > > >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) > ; > > > > > > >extern char *gets (char *__s) ; > ># 585 "/usr/include/stdio.h" 3 4 > > > > > >extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (__const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; > > > > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s) ; > ># 638 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream) ; > > > > >extern void rewind (FILE *__stream); > ># 674 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream) ; ># 693 "/usr/include/stdio.h" 3 4 > > > > > > >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); > > > > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos); ># 716 "/usr/include/stdio.h" 3 4 > ># 725 "/usr/include/stdio.h" 3 4 > > >extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__)); > >extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ; > >extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ; > > > > >extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); >extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; >extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; > > > > > > > > >extern void perror (__const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern __const char *__const sys_errlist[]; ># 755 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ; > > > > >extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; ># 774 "/usr/include/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes) ; > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); ># 814 "/usr/include/stdio.h" 3 4 >extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); > > > >extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ; > > >extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); ># 835 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 33 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) >{ > return vfprintf (stdout, __fmt, __arg); >} > > >extern __inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >extern __inline int >fgetc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > > > > >extern __inline int >getc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >extern __inline int >getchar_unlocked (void) >{ > return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >extern __inline int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >extern __inline int >fputc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline int >putc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >extern __inline int >putchar_unlocked (int __c) >{ > return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} ># 121 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline int >__attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 836 "/usr/include/stdio.h" 2 3 4 ># 844 "/usr/include/stdio.h" 3 4 > ># 6 "../../include/lib.h" 2 ># 1 "/usr/include/setjmp.h" 1 3 4 ># 28 "/usr/include/setjmp.h" 3 4 > > ># 1 "/usr/include/bits/setjmp.h" 1 3 4 ># 27 "/usr/include/bits/setjmp.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 28 "/usr/include/bits/setjmp.h" 2 3 4 > > > > >typedef long int __jmp_buf[8]; ># 31 "/usr/include/setjmp.h" 2 3 4 ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 32 "/usr/include/setjmp.h" 2 3 4 > > > > >typedef struct __jmp_buf_tag > { > > > > > __jmp_buf __jmpbuf; > int __mask_was_saved; > __sigset_t __saved_mask; > } jmp_buf[1]; > > > > >extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__)); > > > > > > > >extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__)); > > > > >extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__)); ># 76 "/usr/include/setjmp.h" 3 4 > > > > >extern void longjmp (struct __jmp_buf_tag __env[1], int __val) > __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > > > > > >extern void _longjmp (struct __jmp_buf_tag __env[1], int __val) > __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > > > > > >typedef struct __jmp_buf_tag sigjmp_buf[1]; ># 108 "/usr/include/setjmp.h" 3 4 >extern void siglongjmp (sigjmp_buf __env, int __val) > __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > ># 7 "../../include/lib.h" 2 ># 1 "/usr/include/sys/stat.h" 1 3 4 ># 37 "/usr/include/sys/stat.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 38 "/usr/include/sys/stat.h" 2 3 4 ># 103 "/usr/include/sys/stat.h" 3 4 > > ># 1 "/usr/include/bits/stat.h" 1 3 4 ># 43 "/usr/include/bits/stat.h" 3 4 >struct stat > { > __dev_t st_dev; > > > > > __ino_t st_ino; > > > > > > > > __nlink_t st_nlink; > __mode_t st_mode; > > __uid_t st_uid; > __gid_t st_gid; > > int pad0; > > __dev_t st_rdev; > > > > > __off_t st_size; > > > > __blksize_t st_blksize; > > __blkcnt_t st_blocks; ># 88 "/usr/include/bits/stat.h" 3 4 > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 103 "/usr/include/bits/stat.h" 3 4 > long int __unused[3]; ># 112 "/usr/include/bits/stat.h" 3 4 > }; ># 106 "/usr/include/sys/stat.h" 2 3 4 ># 207 "/usr/include/sys/stat.h" 3 4 >extern int stat (__const char *__restrict __file, > struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); ># 259 "/usr/include/sys/stat.h" 3 4 >extern int lstat (__const char *__restrict __file, > struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); ># 280 "/usr/include/sys/stat.h" 3 4 >extern int chmod (__const char *__file, __mode_t __mode) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int lchmod (__const char *__file, __mode_t __mode) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__)); ># 307 "/usr/include/sys/stat.h" 3 4 >extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__)); ># 316 "/usr/include/sys/stat.h" 3 4 >extern int mkdir (__const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 331 "/usr/include/sys/stat.h" 3 4 >extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 345 "/usr/include/sys/stat.h" 3 4 >extern int mkfifo (__const char *__path, __mode_t __mode) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 380 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); >extern int __xstat (int __ver, __const char *__filename, > struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat (int __ver, __const char *__filename, > struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); >extern int __fxstatat (int __ver, int __fildes, __const char *__filename, > struct stat *__stat_buf, int __flag) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); ># 423 "/usr/include/sys/stat.h" 3 4 >extern int __xmknod (int __ver, __const char *__path, __mode_t __mode, > __dev_t *__dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int __xmknodat (int __ver, int __fd, __const char *__path, > __mode_t __mode, __dev_t *__dev) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 5))); > > > > >extern __inline__ int >__attribute__ ((__nothrow__)) stat (__const char *__path, struct stat *__statbuf) >{ > return __xstat (1, __path, __statbuf); >} > > >extern __inline__ int >__attribute__ ((__nothrow__)) lstat (__const char *__path, struct stat *__statbuf) >{ > return __lxstat (1, __path, __statbuf); >} > > >extern __inline__ int >__attribute__ ((__nothrow__)) fstat (int __fd, struct stat *__statbuf) >{ > return __fxstat (1, __fd, __statbuf); >} ># 463 "/usr/include/sys/stat.h" 3 4 >extern __inline__ int >__attribute__ ((__nothrow__)) mknod (__const char *__path, __mode_t __mode, __dev_t __dev) >{ > return __xmknod (0, __path, __mode, &__dev); >} ># 515 "/usr/include/sys/stat.h" 3 4 > ># 8 "../../include/lib.h" 2 ># 1 "/usr/include/fcntl.h" 1 3 4 ># 30 "/usr/include/fcntl.h" 3 4 > > > > ># 1 "/usr/include/bits/fcntl.h" 1 3 4 ># 25 "/usr/include/bits/fcntl.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 26 "/usr/include/bits/fcntl.h" 2 3 4 ># 155 "/usr/include/bits/fcntl.h" 3 4 >struct flock > { > short int l_type; > short int l_whence; > > __off_t l_start; > __off_t l_len; > > > > > __pid_t l_pid; > }; ># 222 "/usr/include/bits/fcntl.h" 3 4 > ># 251 "/usr/include/bits/fcntl.h" 3 4 > ># 35 "/usr/include/fcntl.h" 2 3 4 ># 76 "/usr/include/fcntl.h" 3 4 >extern int fcntl (int __fd, int __cmd, ...); ># 85 "/usr/include/fcntl.h" 3 4 >extern int open (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1))); ># 130 "/usr/include/fcntl.h" 3 4 >extern int creat (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1))); ># 159 "/usr/include/fcntl.h" 3 4 >extern int lockf (int __fd, int __cmd, __off_t __len); ># 176 "/usr/include/fcntl.h" 3 4 >extern int posix_fadvise (int __fd, __off_t __offset, __off_t __len, > int __advise) __attribute__ ((__nothrow__)); ># 198 "/usr/include/fcntl.h" 3 4 >extern int posix_fallocate (int __fd, __off_t __offset, __off_t __len); ># 213 "/usr/include/fcntl.h" 3 4 > ># 9 "../../include/lib.h" 2 ># 1 "/usr/include/errno.h" 1 3 4 ># 32 "/usr/include/errno.h" 3 4 > > > > ># 1 "/usr/include/bits/errno.h" 1 3 4 ># 25 "/usr/include/bits/errno.h" 3 4 ># 1 "/usr/include/linux/errno.h" 1 3 4 > > > ># 1 "/usr/include/asm/errno.h" 1 3 4 > > > > ># 1 "/usr/include/asm-x86_64/errno.h" 1 3 4 > > > ># 1 "/usr/include/asm-generic/errno.h" 1 3 4 > > > ># 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 ># 5 "/usr/include/asm-generic/errno.h" 2 3 4 ># 5 "/usr/include/asm-x86_64/errno.h" 2 3 4 ># 6 "/usr/include/asm/errno.h" 2 3 4 ># 5 "/usr/include/linux/errno.h" 2 3 4 ># 26 "/usr/include/bits/errno.h" 2 3 4 ># 43 "/usr/include/bits/errno.h" 3 4 >extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 37 "/usr/include/errno.h" 2 3 4 ># 59 "/usr/include/errno.h" 3 4 > ># 10 "../../include/lib.h" 2 ># 1 "/usr/include/signal.h" 1 3 4 ># 31 "/usr/include/signal.h" 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 103 "/usr/include/bits/sigset.h" 3 4 >extern int __sigismember (__const __sigset_t *, int); >extern int __sigaddset (__sigset_t *, int); >extern int __sigdelset (__sigset_t *, int); ># 117 "/usr/include/bits/sigset.h" 3 4 >extern __inline int __sigismember (__const __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return (__set->__val[__word] & __mask) ? 1 : 0; } >extern __inline int __sigaddset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] |= __mask), 0); } >extern __inline int __sigdelset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] &= ~__mask), 0); } ># 34 "/usr/include/signal.h" 2 3 4 > > > > > > > >typedef __sig_atomic_t sig_atomic_t; > ># 58 "/usr/include/signal.h" 3 4 ># 1 "/usr/include/bits/signum.h" 1 3 4 ># 59 "/usr/include/signal.h" 2 3 4 ># 75 "/usr/include/signal.h" 3 4 >typedef void (*__sighandler_t) (int); > > > > >extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) > __attribute__ ((__nothrow__)); ># 90 "/usr/include/signal.h" 3 4 > > >extern __sighandler_t signal (int __sig, __sighandler_t __handler) > __attribute__ ((__nothrow__)); ># 104 "/usr/include/signal.h" 3 4 > ># 117 "/usr/include/signal.h" 3 4 >extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__)); > > > > > > >extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__)); > > > > >extern int raise (int __sig) __attribute__ ((__nothrow__)); > > > > >extern __sighandler_t ssignal (int __sig, __sighandler_t __handler) > __attribute__ ((__nothrow__)); >extern int gsignal (int __sig) __attribute__ ((__nothrow__)); > > > > >extern void psignal (int __sig, __const char *__s); ># 153 "/usr/include/signal.h" 3 4 >extern int __sigpause (int __sig_or_mask, int __is_sig); ># 181 "/usr/include/signal.h" 3 4 >extern int sigblock (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); > > >extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); > > >extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); ># 201 "/usr/include/signal.h" 3 4 >typedef __sighandler_t sig_t; > > > > > > > ># 1 "/usr/include/time.h" 1 3 4 ># 210 "/usr/include/signal.h" 2 3 4 > > ># 1 "/usr/include/bits/siginfo.h" 1 3 4 ># 25 "/usr/include/bits/siginfo.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 26 "/usr/include/bits/siginfo.h" 2 3 4 > > > > > > > >typedef union sigval > { > int sival_int; > void *sival_ptr; > } sigval_t; ># 51 "/usr/include/bits/siginfo.h" 3 4 >typedef struct siginfo > { > int si_signo; > int si_errno; > > int si_code; > > union > { > int _pad[((128 / sizeof (int)) - 4)]; > > > struct > { > __pid_t si_pid; > __uid_t si_uid; > } _kill; > > > struct > { > int si_tid; > int si_overrun; > sigval_t si_sigval; > } _timer; > > > struct > { > __pid_t si_pid; > __uid_t si_uid; > sigval_t si_sigval; > } _rt; > > > struct > { > __pid_t si_pid; > __uid_t si_uid; > int si_status; > __clock_t si_utime; > __clock_t si_stime; > } _sigchld; > > > struct > { > void *si_addr; > } _sigfault; > > > struct > { > long int si_band; > int si_fd; > } _sigpoll; > } _sifields; > } siginfo_t; ># 129 "/usr/include/bits/siginfo.h" 3 4 >enum >{ > SI_ASYNCNL = -60, > > SI_TKILL = -6, > > SI_SIGIO, > > SI_ASYNCIO, > > SI_MESGQ, > > SI_TIMER, > > SI_QUEUE, > > SI_USER, > > SI_KERNEL = 0x80 > >}; > > > >enum >{ > ILL_ILLOPC = 1, > > ILL_ILLOPN, > > ILL_ILLADR, > > ILL_ILLTRP, > > ILL_PRVOPC, > > ILL_PRVREG, > > ILL_COPROC, > > ILL_BADSTK > >}; > > >enum >{ > FPE_INTDIV = 1, > > FPE_INTOVF, > > FPE_FLTDIV, > > FPE_FLTOVF, > > FPE_FLTUND, > > FPE_FLTRES, > > FPE_FLTINV, > > FPE_FLTSUB > >}; > > >enum >{ > SEGV_MAPERR = 1, > > SEGV_ACCERR > >}; > > >enum >{ > BUS_ADRALN = 1, > > BUS_ADRERR, > > BUS_OBJERR > >}; > > >enum >{ > TRAP_BRKPT = 1, > > TRAP_TRACE > >}; > > >enum >{ > CLD_EXITED = 1, > > CLD_KILLED, > > CLD_DUMPED, > > CLD_TRAPPED, > > CLD_STOPPED, > > CLD_CONTINUED > >}; > > >enum >{ > POLL_IN = 1, > > POLL_OUT, > > POLL_MSG, > > POLL_ERR, > > POLL_PRI, > > POLL_HUP > >}; ># 273 "/usr/include/bits/siginfo.h" 3 4 >typedef struct sigevent > { > sigval_t sigev_value; > int sigev_signo; > int sigev_notify; > > union > { > int _pad[((64 / sizeof (int)) - 4)]; > > > > __pid_t _tid; > > struct > { > void (*_function) (sigval_t); > void *_attribute; > } _sigev_thread; > } _sigev_un; > } sigevent_t; > > > > > > >enum >{ > SIGEV_SIGNAL = 0, > > SIGEV_NONE, > > SIGEV_THREAD, > > > SIGEV_THREAD_ID = 4 > >}; ># 213 "/usr/include/signal.h" 2 3 4 > > > >extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int sigismember (__const sigset_t *__set, int __signo) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 246 "/usr/include/signal.h" 3 4 ># 1 "/usr/include/bits/sigaction.h" 1 3 4 ># 25 "/usr/include/bits/sigaction.h" 3 4 >struct sigaction > { > > > union > { > > __sighandler_t sa_handler; > > void (*sa_sigaction) (int, siginfo_t *, void *); > } > __sigaction_handler; > > > > > > > > __sigset_t sa_mask; > > > int sa_flags; > > > void (*sa_restorer) (void); > }; ># 247 "/usr/include/signal.h" 2 3 4 > > >extern int sigprocmask (int __how, __const sigset_t *__restrict __set, > sigset_t *__restrict __oset) __attribute__ ((__nothrow__)); > > > > > > >extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1))); > > >extern int sigaction (int __sig, __const struct sigaction *__restrict __act, > struct sigaction *__restrict __oact) __attribute__ ((__nothrow__)); > > >extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig) > __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int sigwaitinfo (__const sigset_t *__restrict __set, > siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int sigtimedwait (__const sigset_t *__restrict __set, > siginfo_t *__restrict __info, > __const struct timespec *__restrict __timeout) > __attribute__ ((__nonnull__ (1))); > > > >extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val) > __attribute__ ((__nothrow__)); ># 304 "/usr/include/signal.h" 3 4 >extern __const char *__const _sys_siglist[65]; >extern __const char *__const sys_siglist[65]; > > >struct sigvec > { > __sighandler_t sv_handler; > int sv_mask; > > int sv_flags; > > }; ># 328 "/usr/include/signal.h" 3 4 >extern int sigvec (int __sig, __const struct sigvec *__vec, > struct sigvec *__ovec) __attribute__ ((__nothrow__)); > > > ># 1 "/usr/include/bits/sigcontext.h" 1 3 4 ># 26 "/usr/include/bits/sigcontext.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 27 "/usr/include/bits/sigcontext.h" 2 3 4 > >struct _fpreg >{ > unsigned short significand[4]; > unsigned short exponent; >}; > >struct _fpxreg >{ > unsigned short significand[4]; > unsigned short exponent; > unsigned short padding[3]; >}; > >struct _xmmreg >{ > __uint32_t element[4]; >}; ># 109 "/usr/include/bits/sigcontext.h" 3 4 >struct _fpstate >{ > > __uint16_t cwd; > __uint16_t swd; > __uint16_t ftw; > __uint16_t fop; > __uint64_t rip; > __uint64_t rdp; > __uint32_t mxcsr; > __uint32_t mxcr_mask; > struct _fpxreg _st[8]; > struct _xmmreg _xmm[16]; > __uint32_t padding[24]; >}; > >struct sigcontext >{ > unsigned long r8; > unsigned long r9; > unsigned long r10; > unsigned long r11; > unsigned long r12; > unsigned long r13; > unsigned long r14; > unsigned long r15; > unsigned long rdi; > unsigned long rsi; > unsigned long rbp; > unsigned long rbx; > unsigned long rdx; > unsigned long rax; > unsigned long rcx; > unsigned long rsp; > unsigned long rip; > unsigned long eflags; > unsigned short cs; > unsigned short gs; > unsigned short fs; > unsigned short __pad0; > unsigned long err; > unsigned long trapno; > unsigned long oldmask; > unsigned long cr2; > struct _fpstate * fpstate; > unsigned long __reserved1 [8]; >}; ># 334 "/usr/include/signal.h" 2 3 4 > > >extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__)); ># 346 "/usr/include/signal.h" 3 4 >extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__)); > ># 1 "/usr/include/bits/sigstack.h" 1 3 4 ># 26 "/usr/include/bits/sigstack.h" 3 4 >struct sigstack > { > void *ss_sp; > int ss_onstack; > }; > > > >enum >{ > SS_ONSTACK = 1, > > SS_DISABLE > >}; ># 50 "/usr/include/bits/sigstack.h" 3 4 >typedef struct sigaltstack > { > void *ss_sp; > int ss_flags; > size_t ss_size; > } stack_t; ># 349 "/usr/include/signal.h" 2 3 4 ># 357 "/usr/include/signal.h" 3 4 >extern int sigstack (struct sigstack *__ss, struct sigstack *__oss) > __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); > > > >extern int sigaltstack (__const struct sigaltstack *__restrict __ss, > struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__)); ># 387 "/usr/include/signal.h" 3 4 ># 1 "/usr/include/bits/sigthread.h" 1 3 4 ># 31 "/usr/include/bits/sigthread.h" 3 4 >extern int pthread_sigmask (int __how, > __const __sigset_t *__restrict __newmask, > __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__)); > > >extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__)); ># 388 "/usr/include/signal.h" 2 3 4 > > > > > > >extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__)); > >extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__)); > > > > ># 11 "../../include/lib.h" 2 ># 1 "/usr/include/syslog.h" 1 3 4 ># 1 "/usr/include/sys/syslog.h" 1 3 4 ># 37 "/usr/include/sys/syslog.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stdarg.h" 1 3 4 ># 38 "/usr/include/sys/syslog.h" 2 3 4 > > ># 1 "/usr/include/bits/syslog-path.h" 1 3 4 ># 41 "/usr/include/sys/syslog.h" 2 3 4 ># 169 "/usr/include/sys/syslog.h" 3 4 > > > > > > >extern void closelog (void); > > > > > >extern void openlog (__const char *__ident, int __option, int __facility); > > >extern int setlogmask (int __mask) __attribute__ ((__nothrow__)); > > > > > >extern void syslog (int __pri, __const char *__fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); ># 200 "/usr/include/sys/syslog.h" 3 4 >extern void vsyslog (int __pri, __const char *__fmt, __gnuc_va_list __ap) > __attribute__ ((__format__ (__printf__, 2, 0))); ># 213 "/usr/include/sys/syslog.h" 3 4 > ># 1 "/usr/include/syslog.h" 2 3 4 ># 12 "../../include/lib.h" 2 ># 1 "/usr/include/strings.h" 1 3 4 ># 13 "../../include/lib.h" 2 ># 1 "/usr/include/unistd.h" 1 3 4 ># 28 "/usr/include/unistd.h" 3 4 > ># 173 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/posix_opt.h" 1 3 4 ># 174 "/usr/include/unistd.h" 2 3 4 ># 197 "/usr/include/unistd.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 198 "/usr/include/unistd.h" 2 3 4 ># 226 "/usr/include/unistd.h" 3 4 >typedef __useconds_t useconds_t; ># 238 "/usr/include/unistd.h" 3 4 >typedef __intptr_t intptr_t; > > > > > > >typedef __socklen_t socklen_t; ># 258 "/usr/include/unistd.h" 3 4 >extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 301 "/usr/include/unistd.h" 3 4 >extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__)); ># 320 "/usr/include/unistd.h" 3 4 >extern int close (int __fd); > > > > > > >extern ssize_t read (int __fd, void *__buf, size_t __nbytes) ; > > > > > >extern ssize_t write (int __fd, __const void *__buf, size_t __n) ; ># 384 "/usr/include/unistd.h" 3 4 >extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)) ; ># 393 "/usr/include/unistd.h" 3 4 >extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__)); ># 405 "/usr/include/unistd.h" 3 4 >extern unsigned int sleep (unsigned int __seconds); > > > > > > >extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) > __attribute__ ((__nothrow__)); > > > > > > >extern int usleep (__useconds_t __useconds); ># 429 "/usr/include/unistd.h" 3 4 >extern int pause (void); > > > >extern int chown (__const char *__file, __uid_t __owner, __gid_t __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > >extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) ; > > > > >extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; ># 457 "/usr/include/unistd.h" 3 4 >extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > >extern int fchdir (int __fd) __attribute__ ((__nothrow__)) ; ># 471 "/usr/include/unistd.h" 3 4 >extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)) ; ># 484 "/usr/include/unistd.h" 3 4 >extern char *getwd (char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) ; > > > > >extern int dup (int __fd) __attribute__ ((__nothrow__)) ; > > >extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__)); > > >extern char **__environ; > > > > > > > >extern int execve (__const char *__path, char *__const __argv[], > char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 516 "/usr/include/unistd.h" 3 4 >extern int execv (__const char *__path, char *__const __argv[]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int execle (__const char *__path, __const char *__arg, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int execl (__const char *__path, __const char *__arg, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int execvp (__const char *__file, char *__const __argv[]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int execlp (__const char *__file, __const char *__arg, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int nice (int __inc) __attribute__ ((__nothrow__)) ; > > > > >extern void _exit (int __status) __attribute__ ((__noreturn__)); > > > > > ># 1 "/usr/include/bits/confname.h" 1 3 4 ># 26 "/usr/include/bits/confname.h" 3 4 >enum > { > _PC_LINK_MAX, > > _PC_MAX_CANON, > > _PC_MAX_INPUT, > > _PC_NAME_MAX, > > _PC_PATH_MAX, > > _PC_PIPE_BUF, > > _PC_CHOWN_RESTRICTED, > > _PC_NO_TRUNC, > > _PC_VDISABLE, > > _PC_SYNC_IO, > > _PC_ASYNC_IO, > > _PC_PRIO_IO, > > _PC_SOCK_MAXBUF, > > _PC_FILESIZEBITS, > > _PC_REC_INCR_XFER_SIZE, > > _PC_REC_MAX_XFER_SIZE, > > _PC_REC_MIN_XFER_SIZE, > > _PC_REC_XFER_ALIGN, > > _PC_ALLOC_SIZE_MIN, > > _PC_SYMLINK_MAX, > > _PC_2_SYMLINKS > > }; > > >enum > { > _SC_ARG_MAX, > > _SC_CHILD_MAX, > > _SC_CLK_TCK, > > _SC_NGROUPS_MAX, > > _SC_OPEN_MAX, > > _SC_STREAM_MAX, > > _SC_TZNAME_MAX, > > _SC_JOB_CONTROL, > > _SC_SAVED_IDS, > > _SC_REALTIME_SIGNALS, > > _SC_PRIORITY_SCHEDULING, > > _SC_TIMERS, > > _SC_ASYNCHRONOUS_IO, > > _SC_PRIORITIZED_IO, > > _SC_SYNCHRONIZED_IO, > > _SC_FSYNC, > > _SC_MAPPED_FILES, > > _SC_MEMLOCK, > > _SC_MEMLOCK_RANGE, > > _SC_MEMORY_PROTECTION, > > _SC_MESSAGE_PASSING, > > _SC_SEMAPHORES, > > _SC_SHARED_MEMORY_OBJECTS, > > _SC_AIO_LISTIO_MAX, > > _SC_AIO_MAX, > > _SC_AIO_PRIO_DELTA_MAX, > > _SC_DELAYTIMER_MAX, > > _SC_MQ_OPEN_MAX, > > _SC_MQ_PRIO_MAX, > > _SC_VERSION, > > _SC_PAGESIZE, > > > _SC_RTSIG_MAX, > > _SC_SEM_NSEMS_MAX, > > _SC_SEM_VALUE_MAX, > > _SC_SIGQUEUE_MAX, > > _SC_TIMER_MAX, > > > > > _SC_BC_BASE_MAX, > > _SC_BC_DIM_MAX, > > _SC_BC_SCALE_MAX, > > _SC_BC_STRING_MAX, > > _SC_COLL_WEIGHTS_MAX, > > _SC_EQUIV_CLASS_MAX, > > _SC_EXPR_NEST_MAX, > > _SC_LINE_MAX, > > _SC_RE_DUP_MAX, > > _SC_CHARCLASS_NAME_MAX, > > > _SC_2_VERSION, > > _SC_2_C_BIND, > > _SC_2_C_DEV, > > _SC_2_FORT_DEV, > > _SC_2_FORT_RUN, > > _SC_2_SW_DEV, > > _SC_2_LOCALEDEF, > > > _SC_PII, > > _SC_PII_XTI, > > _SC_PII_SOCKET, > > _SC_PII_INTERNET, > > _SC_PII_OSI, > > _SC_POLL, > > _SC_SELECT, > > _SC_UIO_MAXIOV, > > _SC_IOV_MAX = _SC_UIO_MAXIOV, > > _SC_PII_INTERNET_STREAM, > > _SC_PII_INTERNET_DGRAM, > > _SC_PII_OSI_COTS, > > _SC_PII_OSI_CLTS, > > _SC_PII_OSI_M, > > _SC_T_IOV_MAX, > > > > _SC_THREADS, > > _SC_THREAD_SAFE_FUNCTIONS, > > _SC_GETGR_R_SIZE_MAX, > > _SC_GETPW_R_SIZE_MAX, > > _SC_LOGIN_NAME_MAX, > > _SC_TTY_NAME_MAX, > > _SC_THREAD_DESTRUCTOR_ITERATIONS, > > _SC_THREAD_KEYS_MAX, > > _SC_THREAD_STACK_MIN, > > _SC_THREAD_THREADS_MAX, > > _SC_THREAD_ATTR_STACKADDR, > > _SC_THREAD_ATTR_STACKSIZE, > > _SC_THREAD_PRIORITY_SCHEDULING, > > _SC_THREAD_PRIO_INHERIT, > > _SC_THREAD_PRIO_PROTECT, > > _SC_THREAD_PROCESS_SHARED, > > > _SC_NPROCESSORS_CONF, > > _SC_NPROCESSORS_ONLN, > > _SC_PHYS_PAGES, > > _SC_AVPHYS_PAGES, > > _SC_ATEXIT_MAX, > > _SC_PASS_MAX, > > > _SC_XOPEN_VERSION, > > _SC_XOPEN_XCU_VERSION, > > _SC_XOPEN_UNIX, > > _SC_XOPEN_CRYPT, > > _SC_XOPEN_ENH_I18N, > > _SC_XOPEN_SHM, > > > _SC_2_CHAR_TERM, > > _SC_2_C_VERSION, > > _SC_2_UPE, > > > _SC_XOPEN_XPG2, > > _SC_XOPEN_XPG3, > > _SC_XOPEN_XPG4, > > > _SC_CHAR_BIT, > > _SC_CHAR_MAX, > > _SC_CHAR_MIN, > > _SC_INT_MAX, > > _SC_INT_MIN, > > _SC_LONG_BIT, > > _SC_WORD_BIT, > > _SC_MB_LEN_MAX, > > _SC_NZERO, > > _SC_SSIZE_MAX, > > _SC_SCHAR_MAX, > > _SC_SCHAR_MIN, > > _SC_SHRT_MAX, > > _SC_SHRT_MIN, > > _SC_UCHAR_MAX, > > _SC_UINT_MAX, > > _SC_ULONG_MAX, > > _SC_USHRT_MAX, > > > _SC_NL_ARGMAX, > > _SC_NL_LANGMAX, > > _SC_NL_MSGMAX, > > _SC_NL_NMAX, > > _SC_NL_SETMAX, > > _SC_NL_TEXTMAX, > > > _SC_XBS5_ILP32_OFF32, > > _SC_XBS5_ILP32_OFFBIG, > > _SC_XBS5_LP64_OFF64, > > _SC_XBS5_LPBIG_OFFBIG, > > > _SC_XOPEN_LEGACY, > > _SC_XOPEN_REALTIME, > > _SC_XOPEN_REALTIME_THREADS, > > > _SC_ADVISORY_INFO, > > _SC_BARRIERS, > > _SC_BASE, > > _SC_C_LANG_SUPPORT, > > _SC_C_LANG_SUPPORT_R, > > _SC_CLOCK_SELECTION, > > _SC_CPUTIME, > > _SC_THREAD_CPUTIME, > > _SC_DEVICE_IO, > > _SC_DEVICE_SPECIFIC, > > _SC_DEVICE_SPECIFIC_R, > > _SC_FD_MGMT, > > _SC_FIFO, > > _SC_PIPE, > > _SC_FILE_ATTRIBUTES, > > _SC_FILE_LOCKING, > > _SC_FILE_SYSTEM, > > _SC_MONOTONIC_CLOCK, > > _SC_MULTI_PROCESS, > > _SC_SINGLE_PROCESS, > > _SC_NETWORKING, > > _SC_READER_WRITER_LOCKS, > > _SC_SPIN_LOCKS, > > _SC_REGEXP, > > _SC_REGEX_VERSION, > > _SC_SHELL, > > _SC_SIGNALS, > > _SC_SPAWN, > > _SC_SPORADIC_SERVER, > > _SC_THREAD_SPORADIC_SERVER, > > _SC_SYSTEM_DATABASE, > > _SC_SYSTEM_DATABASE_R, > > _SC_TIMEOUTS, > > _SC_TYPED_MEMORY_OBJECTS, > > _SC_USER_GROUPS, > > _SC_USER_GROUPS_R, > > _SC_2_PBS, > > _SC_2_PBS_ACCOUNTING, > > _SC_2_PBS_LOCATE, > > _SC_2_PBS_MESSAGE, > > _SC_2_PBS_TRACK, > > _SC_SYMLOOP_MAX, > > _SC_STREAMS, > > _SC_2_PBS_CHECKPOINT, > > > _SC_V6_ILP32_OFF32, > > _SC_V6_ILP32_OFFBIG, > > _SC_V6_LP64_OFF64, > > _SC_V6_LPBIG_OFFBIG, > > > _SC_HOST_NAME_MAX, > > _SC_TRACE, > > _SC_TRACE_EVENT_FILTER, > > _SC_TRACE_INHERIT, > > _SC_TRACE_LOG, > > > _SC_LEVEL1_ICACHE_SIZE, > > _SC_LEVEL1_ICACHE_ASSOC, > > _SC_LEVEL1_ICACHE_LINESIZE, > > _SC_LEVEL1_DCACHE_SIZE, > > _SC_LEVEL1_DCACHE_ASSOC, > > _SC_LEVEL1_DCACHE_LINESIZE, > > _SC_LEVEL2_CACHE_SIZE, > > _SC_LEVEL2_CACHE_ASSOC, > > _SC_LEVEL2_CACHE_LINESIZE, > > _SC_LEVEL3_CACHE_SIZE, > > _SC_LEVEL3_CACHE_ASSOC, > > _SC_LEVEL3_CACHE_LINESIZE, > > _SC_LEVEL4_CACHE_SIZE, > > _SC_LEVEL4_CACHE_ASSOC, > > _SC_LEVEL4_CACHE_LINESIZE, > > > > _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, > > _SC_RAW_SOCKETS > > }; > > >enum > { > _CS_PATH, > > > _CS_V6_WIDTH_RESTRICTED_ENVS, > > > _CS_GNU_LIBC_VERSION, > > _CS_GNU_LIBPTHREAD_VERSION, > > > _CS_LFS_CFLAGS = 1000, > > _CS_LFS_LDFLAGS, > > _CS_LFS_LIBS, > > _CS_LFS_LINTFLAGS, > > _CS_LFS64_CFLAGS, > > _CS_LFS64_LDFLAGS, > > _CS_LFS64_LIBS, > > _CS_LFS64_LINTFLAGS, > > > _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, > > _CS_XBS5_ILP32_OFF32_LDFLAGS, > > _CS_XBS5_ILP32_OFF32_LIBS, > > _CS_XBS5_ILP32_OFF32_LINTFLAGS, > > _CS_XBS5_ILP32_OFFBIG_CFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LDFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LIBS, > > _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, > > _CS_XBS5_LP64_OFF64_CFLAGS, > > _CS_XBS5_LP64_OFF64_LDFLAGS, > > _CS_XBS5_LP64_OFF64_LIBS, > > _CS_XBS5_LP64_OFF64_LINTFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_CFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LIBS, > > _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_POSIX_V6_ILP32_OFF32_CFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LIBS, > > _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LIBS, > > _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, > > _CS_POSIX_V6_LP64_OFF64_CFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LDFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LIBS, > > _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS > > }; ># 555 "/usr/include/unistd.h" 2 3 4 > > >extern long int pathconf (__const char *__path, int __name) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__)); > > >extern long int sysconf (int __name) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > >extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__)); > > > > >extern __pid_t getpid (void) __attribute__ ((__nothrow__)); > > >extern __pid_t getppid (void) __attribute__ ((__nothrow__)); > > > > >extern __pid_t getpgrp (void) __attribute__ ((__nothrow__)); ># 591 "/usr/include/unistd.h" 3 4 >extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__)); ># 600 "/usr/include/unistd.h" 3 4 >extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__)); ># 617 "/usr/include/unistd.h" 3 4 >extern int setpgrp (void) __attribute__ ((__nothrow__)); ># 634 "/usr/include/unistd.h" 3 4 >extern __pid_t setsid (void) __attribute__ ((__nothrow__)); > > > > > > > >extern __uid_t getuid (void) __attribute__ ((__nothrow__)); > > >extern __uid_t geteuid (void) __attribute__ ((__nothrow__)); > > >extern __gid_t getgid (void) __attribute__ ((__nothrow__)); > > >extern __gid_t getegid (void) __attribute__ ((__nothrow__)); > > > > >extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)) ; ># 667 "/usr/include/unistd.h" 3 4 >extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__)); > > > > >extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__)); > > > > >extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__)); > > > > > > >extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__)); > > > > >extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__)); > > > > >extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__)); ># 723 "/usr/include/unistd.h" 3 4 >extern __pid_t fork (void) __attribute__ ((__nothrow__)); > > > > > > >extern __pid_t vfork (void) __attribute__ ((__nothrow__)); > > > > > >extern char *ttyname (int __fd) __attribute__ ((__nothrow__)); > > > >extern int ttyname_r (int __fd, char *__buf, size_t __buflen) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) ; > > > >extern int isatty (int __fd) __attribute__ ((__nothrow__)); > > > > > >extern int ttyslot (void) __attribute__ ((__nothrow__)); > > > > >extern int link (__const char *__from, __const char *__to) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) ; ># 769 "/usr/include/unistd.h" 3 4 >extern int symlink (__const char *__from, __const char *__to) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) ; > > > > >extern ssize_t readlink (__const char *__restrict __path, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) ; ># 792 "/usr/include/unistd.h" 3 4 >extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 801 "/usr/include/unistd.h" 3 4 >extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__)); > > >extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__)); > > > > > > >extern char *getlogin (void); > > > > > > > >extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); > > > > >extern int setlogin (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 837 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/getopt.h" 1 3 4 ># 59 "/usr/include/getopt.h" 3 4 >extern char *optarg; ># 73 "/usr/include/getopt.h" 3 4 >extern int optind; > > > > >extern int opterr; > > > >extern int optopt; ># 152 "/usr/include/getopt.h" 3 4 >extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) > __attribute__ ((__nothrow__)); ># 838 "/usr/include/unistd.h" 2 3 4 > > > > > > > >extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int sethostname (__const char *__name, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > >extern int sethostid (long int __id) __attribute__ ((__nothrow__)) ; > > > > > >extern int getdomainname (char *__name, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; >extern int setdomainname (__const char *__name, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >extern int vhangup (void) __attribute__ ((__nothrow__)); > > >extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > > > > >extern int profil (unsigned short int *__sample_buffer, size_t __size, > size_t __offset, unsigned int __scale) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int acct (__const char *__name) __attribute__ ((__nothrow__)); > > > >extern char *getusershell (void) __attribute__ ((__nothrow__)); >extern void endusershell (void) __attribute__ ((__nothrow__)); >extern void setusershell (void) __attribute__ ((__nothrow__)); > > > > > >extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)) ; > > > > > > >extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > >extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1))); ># 923 "/usr/include/unistd.h" 3 4 >extern int fsync (int __fd); > > > > > > >extern long int gethostid (void); > > >extern void sync (void) __attribute__ ((__nothrow__)); > > > > >extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > >extern int getdtablesize (void) __attribute__ ((__nothrow__)); > > > > >extern int truncate (__const char *__file, __off_t __length) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; ># 970 "/usr/include/unistd.h" 3 4 >extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__)) ; ># 990 "/usr/include/unistd.h" 3 4 >extern int brk (void *__addr) __attribute__ ((__nothrow__)) ; > > > > > >extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__)); ># 1011 "/usr/include/unistd.h" 3 4 >extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__)); ># 1065 "/usr/include/unistd.h" 3 4 >extern int fdatasync (int __fildes); ># 1103 "/usr/include/unistd.h" 3 4 > ># 14 "../../include/lib.h" 2 ># 1 "/usr/include/sys/param.h" 1 3 4 ># 22 "/usr/include/sys/param.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/limits.h" 1 3 4 ># 11 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/limits.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/limits.h" 1 3 4 ># 122 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/limits.h" 3 4 ># 1 "/usr/include/limits.h" 1 3 4 ># 145 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 153 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 36 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 37 "/usr/include/bits/local_lim.h" 2 3 4 ># 154 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 146 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 150 "/usr/include/limits.h" 2 3 4 ># 123 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/syslimits.h" 2 3 4 ># 12 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/limits.h" 2 3 4 ># 23 "/usr/include/sys/param.h" 2 3 4 > ># 1 "/usr/include/linux/param.h" 1 3 4 > > > ># 1 "/usr/include/asm/param.h" 1 3 4 > > > > ># 1 "/usr/include/asm-x86_64/param.h" 1 3 4 ># 6 "/usr/include/asm/param.h" 2 3 4 ># 5 "/usr/include/linux/param.h" 2 3 4 ># 25 "/usr/include/sys/param.h" 2 3 4 ># 15 "../../include/lib.h" 2 ># 1 "/usr/include/sys/socket.h" 1 3 4 ># 25 "/usr/include/sys/socket.h" 3 4 > > ># 1 "/usr/include/sys/uio.h" 1 3 4 ># 26 "/usr/include/sys/uio.h" 3 4 > > > ># 1 "/usr/include/bits/uio.h" 1 3 4 ># 44 "/usr/include/bits/uio.h" 3 4 >struct iovec > { > void *iov_base; > size_t iov_len; > }; ># 30 "/usr/include/sys/uio.h" 2 3 4 ># 40 "/usr/include/sys/uio.h" 3 4 >extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count); ># 50 "/usr/include/sys/uio.h" 3 4 >extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count); > > ># 28 "/usr/include/sys/socket.h" 2 3 4 > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 30 "/usr/include/sys/socket.h" 2 3 4 > > > > > ># 1 "/usr/include/bits/socket.h" 1 3 4 ># 29 "/usr/include/bits/socket.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 30 "/usr/include/bits/socket.h" 2 3 4 > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/limits.h" 1 3 4 ># 32 "/usr/include/bits/socket.h" 2 3 4 ># 41 "/usr/include/bits/socket.h" 3 4 >enum __socket_type >{ > SOCK_STREAM = 1, > > > SOCK_DGRAM = 2, > > > SOCK_RAW = 3, > > SOCK_RDM = 4, > > SOCK_SEQPACKET = 5, > > > SOCK_PACKET = 10 > > > >}; ># 142 "/usr/include/bits/socket.h" 3 4 ># 1 "/usr/include/bits/sockaddr.h" 1 3 4 ># 29 "/usr/include/bits/sockaddr.h" 3 4 >typedef unsigned short int sa_family_t; ># 143 "/usr/include/bits/socket.h" 2 3 4 > > >struct sockaddr > { > sa_family_t sa_family; > char sa_data[14]; > }; ># 162 "/usr/include/bits/socket.h" 3 4 >struct sockaddr_storage > { > sa_family_t ss_family; > __uint64_t __ss_align; > char __ss_padding[(128 - (2 * sizeof (__uint64_t)))]; > }; > > > >enum > { > MSG_OOB = 0x01, > > MSG_PEEK = 0x02, > > MSG_DONTROUTE = 0x04, > > > > > > > MSG_CTRUNC = 0x08, > > MSG_PROXY = 0x10, > > MSG_TRUNC = 0x20, > > MSG_DONTWAIT = 0x40, > > MSG_EOR = 0x80, > > MSG_WAITALL = 0x100, > > MSG_FIN = 0x200, > > MSG_SYN = 0x400, > > MSG_CONFIRM = 0x800, > > MSG_RST = 0x1000, > > MSG_ERRQUEUE = 0x2000, > > MSG_NOSIGNAL = 0x4000, > > MSG_MORE = 0x8000 > > }; > > > > >struct msghdr > { > void *msg_name; > socklen_t msg_namelen; > > struct iovec *msg_iov; > size_t msg_iovlen; > > void *msg_control; > size_t msg_controllen; > > > > > int msg_flags; > }; > > >struct cmsghdr > { > size_t cmsg_len; > > > > > int cmsg_level; > int cmsg_type; > > __extension__ unsigned char __cmsg_data []; > > }; ># 263 "/usr/include/bits/socket.h" 3 4 >extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, > struct cmsghdr *__cmsg) __attribute__ ((__nothrow__)); > > > > >extern __inline struct cmsghdr * >__attribute__ ((__nothrow__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) >{ > if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) > > return 0; > > __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg > + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))); > if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control > + __mhdr->msg_controllen) > || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) > > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen))) > > return 0; > return __cmsg; >} > > > > >enum > { > SCM_RIGHTS = 0x01 > > > , SCM_CREDENTIALS = 0x02 > > > }; > > > >struct ucred >{ > pid_t pid; > uid_t uid; > gid_t gid; >}; > > ># 1 "/usr/include/asm/socket.h" 1 3 4 > > > > ># 1 "/usr/include/asm-x86_64/socket.h" 1 3 4 > > > ># 1 "/usr/include/asm/sockios.h" 1 3 4 > > > > ># 1 "/usr/include/asm-x86_64/sockios.h" 1 3 4 ># 6 "/usr/include/asm/sockios.h" 2 3 4 ># 5 "/usr/include/asm-x86_64/socket.h" 2 3 4 ># 6 "/usr/include/asm/socket.h" 2 3 4 ># 311 "/usr/include/bits/socket.h" 2 3 4 > > > >struct linger > { > int l_onoff; > int l_linger; > }; ># 36 "/usr/include/sys/socket.h" 2 3 4 > > > > >struct osockaddr > { > unsigned short int sa_family; > unsigned char sa_data[14]; > }; > > > > >enum >{ > SHUT_RD = 0, > > SHUT_WR, > > SHUT_RDWR > >}; ># 100 "/usr/include/sys/socket.h" 3 4 >extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__)); > > > > > >extern int socketpair (int __domain, int __type, int __protocol, > int __fds[2]) __attribute__ ((__nothrow__)); > > >extern int bind (int __fd, __const struct sockaddr * __addr, socklen_t __len) > __attribute__ ((__nothrow__)); > > >extern int getsockname (int __fd, struct sockaddr *__restrict __addr, > socklen_t *__restrict __len) __attribute__ ((__nothrow__)); ># 124 "/usr/include/sys/socket.h" 3 4 >extern int connect (int __fd, __const struct sockaddr * __addr, socklen_t __len); > > > >extern int getpeername (int __fd, struct sockaddr *__restrict __addr, > socklen_t *__restrict __len) __attribute__ ((__nothrow__)); > > > > > > >extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags); > > > > > > >extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); > > > > > > >extern ssize_t sendto (int __fd, __const void *__buf, size_t __n, > int __flags, __const struct sockaddr * __addr, > socklen_t __addr_len); ># 161 "/usr/include/sys/socket.h" 3 4 >extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, > int __flags, struct sockaddr *__restrict __addr, > socklen_t *__restrict __addr_len); > > > > > > > >extern ssize_t sendmsg (int __fd, __const struct msghdr *__message, > int __flags); > > > > > > >extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); > > > > > >extern int getsockopt (int __fd, int __level, int __optname, > void *__restrict __optval, > socklen_t *__restrict __optlen) __attribute__ ((__nothrow__)); > > > > >extern int setsockopt (int __fd, int __level, int __optname, > __const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__)); > > > > > >extern int listen (int __fd, int __n) __attribute__ ((__nothrow__)); ># 209 "/usr/include/sys/socket.h" 3 4 >extern int accept (int __fd, struct sockaddr *__restrict __addr, > socklen_t *__restrict __addr_len); > > > > > > > >extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__)); > > > > >extern int sockatmark (int __fd) __attribute__ ((__nothrow__)); > > > > > > > >extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__)); ># 240 "/usr/include/sys/socket.h" 3 4 > ># 16 "../../include/lib.h" 2 ># 1 "/usr/include/netinet/in.h" 1 3 4 ># 23 "/usr/include/netinet/in.h" 3 4 ># 1 "/usr/include/stdint.h" 1 3 4 ># 28 "/usr/include/stdint.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/stdint.h" 2 3 4 ># 49 "/usr/include/stdint.h" 3 4 >typedef unsigned char uint8_t; >typedef unsigned short int uint16_t; > >typedef unsigned int uint32_t; > > > >typedef unsigned long int uint64_t; ># 66 "/usr/include/stdint.h" 3 4 >typedef signed char int_least8_t; >typedef short int int_least16_t; >typedef int int_least32_t; > >typedef long int int_least64_t; > > > > > > >typedef unsigned char uint_least8_t; >typedef unsigned short int uint_least16_t; >typedef unsigned int uint_least32_t; > >typedef unsigned long int uint_least64_t; ># 91 "/usr/include/stdint.h" 3 4 >typedef signed char int_fast8_t; > >typedef long int int_fast16_t; >typedef long int int_fast32_t; >typedef long int int_fast64_t; ># 104 "/usr/include/stdint.h" 3 4 >typedef unsigned char uint_fast8_t; > >typedef unsigned long int uint_fast16_t; >typedef unsigned long int uint_fast32_t; >typedef unsigned long int uint_fast64_t; ># 123 "/usr/include/stdint.h" 3 4 >typedef unsigned long int uintptr_t; ># 135 "/usr/include/stdint.h" 3 4 >typedef long int intmax_t; >typedef unsigned long int uintmax_t; ># 24 "/usr/include/netinet/in.h" 2 3 4 > > > > > > > >enum > { > IPPROTO_IP = 0, > > IPPROTO_HOPOPTS = 0, > > IPPROTO_ICMP = 1, > > IPPROTO_IGMP = 2, > > IPPROTO_IPIP = 4, > > IPPROTO_TCP = 6, > > IPPROTO_EGP = 8, > > IPPROTO_PUP = 12, > > IPPROTO_UDP = 17, > > IPPROTO_IDP = 22, > > IPPROTO_TP = 29, > > IPPROTO_IPV6 = 41, > > IPPROTO_ROUTING = 43, > > IPPROTO_FRAGMENT = 44, > > IPPROTO_RSVP = 46, > > IPPROTO_GRE = 47, > > IPPROTO_ESP = 50, > > IPPROTO_AH = 51, > > IPPROTO_ICMPV6 = 58, > > IPPROTO_NONE = 59, > > IPPROTO_DSTOPTS = 60, > > IPPROTO_MTP = 92, > > IPPROTO_ENCAP = 98, > > IPPROTO_PIM = 103, > > IPPROTO_COMP = 108, > > IPPROTO_SCTP = 132, > > IPPROTO_RAW = 255, > > IPPROTO_MAX > }; > > > >typedef uint16_t in_port_t; > > >enum > { > IPPORT_ECHO = 7, > IPPORT_DISCARD = 9, > IPPORT_SYSTAT = 11, > IPPORT_DAYTIME = 13, > IPPORT_NETSTAT = 15, > IPPORT_FTP = 21, > IPPORT_TELNET = 23, > IPPORT_SMTP = 25, > IPPORT_TIMESERVER = 37, > IPPORT_NAMESERVER = 42, > IPPORT_WHOIS = 43, > IPPORT_MTP = 57, > > IPPORT_TFTP = 69, > IPPORT_RJE = 77, > IPPORT_FINGER = 79, > IPPORT_TTYLINK = 87, > IPPORT_SUPDUP = 95, > > > IPPORT_EXECSERVER = 512, > IPPORT_LOGINSERVER = 513, > IPPORT_CMDSERVER = 514, > IPPORT_EFSSERVER = 520, > > > IPPORT_BIFFUDP = 512, > IPPORT_WHOSERVER = 513, > IPPORT_ROUTESERVER = 520, > > > IPPORT_RESERVED = 1024, > > > IPPORT_USERRESERVED = 5000 > }; > > > >typedef uint32_t in_addr_t; >struct in_addr > { > in_addr_t s_addr; > }; ># 193 "/usr/include/netinet/in.h" 3 4 >struct in6_addr > { > union > { > uint8_t u6_addr8[16]; > uint16_t u6_addr16[8]; > uint32_t u6_addr32[4]; > } in6_u; > > > > }; > >extern const struct in6_addr in6addr_any; >extern const struct in6_addr in6addr_loopback; ># 219 "/usr/include/netinet/in.h" 3 4 >struct sockaddr_in > { > sa_family_t sin_family; > in_port_t sin_port; > struct in_addr sin_addr; > > > unsigned char sin_zero[sizeof (struct sockaddr) - > (sizeof (unsigned short int)) - > sizeof (in_port_t) - > sizeof (struct in_addr)]; > }; > > >struct sockaddr_in6 > { > sa_family_t sin6_family; > in_port_t sin6_port; > uint32_t sin6_flowinfo; > struct in6_addr sin6_addr; > uint32_t sin6_scope_id; > }; > > > >struct ip_mreq > { > > struct in_addr imr_multiaddr; > > > struct in_addr imr_interface; > }; > >struct ip_mreq_source > { > > struct in_addr imr_multiaddr; > > > struct in_addr imr_interface; > > > struct in_addr imr_sourceaddr; > }; > > >struct ipv6_mreq > { > > struct in6_addr ipv6mr_multiaddr; > > > unsigned int ipv6mr_interface; > }; > > > >struct group_req > { > > uint32_t gr_interface; > > > struct sockaddr_storage gr_group; > }; > >struct group_source_req > { > > uint32_t gsr_interface; > > > struct sockaddr_storage gsr_group; > > > struct sockaddr_storage gsr_source; > }; > > > >struct ip_msfilter > { > > struct in_addr imsf_multiaddr; > > > struct in_addr imsf_interface; > > > uint32_t imsf_fmode; > > > uint32_t imsf_numsrc; > > struct in_addr imsf_slist[1]; > }; > > > > > >struct group_filter > { > > uint32_t gf_interface; > > > struct sockaddr_storage gf_group; > > > uint32_t gf_fmode; > > > uint32_t gf_numsrc; > > struct sockaddr_storage gf_slist[1]; >}; ># 345 "/usr/include/netinet/in.h" 3 4 ># 1 "/usr/include/bits/in.h" 1 3 4 ># 82 "/usr/include/bits/in.h" 3 4 >struct ip_opts > { > struct in_addr ip_dst; > char ip_opts[40]; > }; > > >struct ip_mreqn > { > struct in_addr imr_multiaddr; > struct in_addr imr_address; > int imr_ifindex; > }; > > >struct in_pktinfo > { > int ipi_ifindex; > struct in_addr ipi_spec_dst; > struct in_addr ipi_addr; > }; ># 346 "/usr/include/netinet/in.h" 2 3 4 ># 354 "/usr/include/netinet/in.h" 3 4 >extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); >extern uint16_t ntohs (uint16_t __netshort) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); >extern uint32_t htonl (uint32_t __hostlong) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); >extern uint16_t htons (uint16_t __hostshort) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > > > ># 1 "/usr/include/bits/byteswap.h" 1 3 4 ># 27 "/usr/include/bits/byteswap.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 28 "/usr/include/bits/byteswap.h" 2 3 4 ># 366 "/usr/include/netinet/in.h" 2 3 4 ># 428 "/usr/include/netinet/in.h" 3 4 >extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__)); > > >extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) > __attribute__ ((__nothrow__)); ># 456 "/usr/include/netinet/in.h" 3 4 >struct in6_pktinfo > { > struct in6_addr ipi6_addr; > unsigned int ipi6_ifindex; > }; > > >struct ip6_mtuinfo > { > struct sockaddr_in6 ip6m_addr; > uint32_t ip6m_mtu; > }; ># 551 "/usr/include/netinet/in.h" 3 4 > ># 17 "../../include/lib.h" 2 ># 1 "/usr/include/netdb.h" 1 3 4 ># 33 "/usr/include/netdb.h" 3 4 ># 1 "/usr/include/rpc/netdb.h" 1 3 4 ># 42 "/usr/include/rpc/netdb.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 43 "/usr/include/rpc/netdb.h" 2 3 4 > > > >struct rpcent >{ > char *r_name; > char **r_aliases; > int r_number; >}; > >extern void setrpcent (int __stayopen) __attribute__ ((__nothrow__)); >extern void endrpcent (void) __attribute__ ((__nothrow__)); >extern struct rpcent *getrpcbyname (__const char *__name) __attribute__ ((__nothrow__)); >extern struct rpcent *getrpcbynumber (int __number) __attribute__ ((__nothrow__)); >extern struct rpcent *getrpcent (void) __attribute__ ((__nothrow__)); > > >extern int getrpcbyname_r (__const char *__name, struct rpcent *__result_buf, > char *__buffer, size_t __buflen, > struct rpcent **__result) __attribute__ ((__nothrow__)); > >extern int getrpcbynumber_r (int __number, struct rpcent *__result_buf, > char *__buffer, size_t __buflen, > struct rpcent **__result) __attribute__ ((__nothrow__)); > >extern int getrpcent_r (struct rpcent *__result_buf, char *__buffer, > size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__)); > > > ># 34 "/usr/include/netdb.h" 2 3 4 ># 43 "/usr/include/netdb.h" 3 4 ># 1 "/usr/include/bits/netdb.h" 1 3 4 ># 27 "/usr/include/bits/netdb.h" 3 4 >struct netent >{ > char *n_name; > char **n_aliases; > int n_addrtype; > uint32_t n_net; >}; ># 44 "/usr/include/netdb.h" 2 3 4 ># 54 "/usr/include/netdb.h" 3 4 > > > > > > > >extern int *__h_errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 88 "/usr/include/netdb.h" 3 4 >extern void herror (__const char *__str) __attribute__ ((__nothrow__)); > > >extern __const char *hstrerror (int __err_num) __attribute__ ((__nothrow__)); > > > > >struct hostent >{ > char *h_name; > char **h_aliases; > int h_addrtype; > int h_length; > char **h_addr_list; > >}; > > > > > > >extern void sethostent (int __stay_open); > > > > > >extern void endhostent (void); > > > > > > >extern struct hostent *gethostent (void); > > > > > > >extern struct hostent *gethostbyaddr (__const void *__addr, __socklen_t __len, > int __type); > > > > > >extern struct hostent *gethostbyname (__const char *__name); ># 149 "/usr/include/netdb.h" 3 4 >extern struct hostent *gethostbyname2 (__const char *__name, int __af); ># 161 "/usr/include/netdb.h" 3 4 >extern int gethostent_r (struct hostent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct hostent **__restrict __result, > int *__restrict __h_errnop); > >extern int gethostbyaddr_r (__const void *__restrict __addr, __socklen_t __len, > int __type, > struct hostent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct hostent **__restrict __result, > int *__restrict __h_errnop); > >extern int gethostbyname_r (__const char *__restrict __name, > struct hostent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct hostent **__restrict __result, > int *__restrict __h_errnop); > >extern int gethostbyname2_r (__const char *__restrict __name, int __af, > struct hostent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct hostent **__restrict __result, > int *__restrict __h_errnop); ># 192 "/usr/include/netdb.h" 3 4 >extern void setnetent (int __stay_open); > > > > > >extern void endnetent (void); > > > > > > >extern struct netent *getnetent (void); > > > > > > >extern struct netent *getnetbyaddr (uint32_t __net, int __type); > > > > > >extern struct netent *getnetbyname (__const char *__name); ># 231 "/usr/include/netdb.h" 3 4 >extern int getnetent_r (struct netent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct netent **__restrict __result, > int *__restrict __h_errnop); > >extern int getnetbyaddr_r (uint32_t __net, int __type, > struct netent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct netent **__restrict __result, > int *__restrict __h_errnop); > >extern int getnetbyname_r (__const char *__restrict __name, > struct netent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct netent **__restrict __result, > int *__restrict __h_errnop); > > > > >struct servent >{ > char *s_name; > char **s_aliases; > int s_port; > char *s_proto; >}; > > > > > > >extern void setservent (int __stay_open); > > > > > >extern void endservent (void); > > > > > > >extern struct servent *getservent (void); > > > > > > >extern struct servent *getservbyname (__const char *__name, > __const char *__proto); > > > > > > >extern struct servent *getservbyport (int __port, __const char *__proto); ># 303 "/usr/include/netdb.h" 3 4 >extern int getservent_r (struct servent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct servent **__restrict __result); > >extern int getservbyname_r (__const char *__restrict __name, > __const char *__restrict __proto, > struct servent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct servent **__restrict __result); > >extern int getservbyport_r (int __port, __const char *__restrict __proto, > struct servent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct servent **__restrict __result); > > > > >struct protoent >{ > char *p_name; > char **p_aliases; > int p_proto; >}; > > > > > > >extern void setprotoent (int __stay_open); > > > > > >extern void endprotoent (void); > > > > > > >extern struct protoent *getprotoent (void); > > > > > >extern struct protoent *getprotobyname (__const char *__name); > > > > > >extern struct protoent *getprotobynumber (int __proto); ># 369 "/usr/include/netdb.h" 3 4 >extern int getprotoent_r (struct protoent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct protoent **__restrict __result); > >extern int getprotobyname_r (__const char *__restrict __name, > struct protoent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct protoent **__restrict __result); > >extern int getprotobynumber_r (int __proto, > struct protoent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct protoent **__restrict __result); ># 390 "/usr/include/netdb.h" 3 4 >extern int setnetgrent (__const char *__netgroup); > > > > > > > >extern void endnetgrent (void); ># 407 "/usr/include/netdb.h" 3 4 >extern int getnetgrent (char **__restrict __hostp, > char **__restrict __userp, > char **__restrict __domainp); ># 418 "/usr/include/netdb.h" 3 4 >extern int innetgr (__const char *__netgroup, __const char *__host, > __const char *__user, __const char *domain); > > > > > > > >extern int getnetgrent_r (char **__restrict __hostp, > char **__restrict __userp, > char **__restrict __domainp, > char *__restrict __buffer, size_t __buflen); ># 446 "/usr/include/netdb.h" 3 4 >extern int rcmd (char **__restrict __ahost, unsigned short int __rport, > __const char *__restrict __locuser, > __const char *__restrict __remuser, > __const char *__restrict __cmd, int *__restrict __fd2p); ># 458 "/usr/include/netdb.h" 3 4 >extern int rcmd_af (char **__restrict __ahost, unsigned short int __rport, > __const char *__restrict __locuser, > __const char *__restrict __remuser, > __const char *__restrict __cmd, int *__restrict __fd2p, > sa_family_t __af); ># 474 "/usr/include/netdb.h" 3 4 >extern int rexec (char **__restrict __ahost, int __rport, > __const char *__restrict __name, > __const char *__restrict __pass, > __const char *__restrict __cmd, int *__restrict __fd2p); ># 486 "/usr/include/netdb.h" 3 4 >extern int rexec_af (char **__restrict __ahost, int __rport, > __const char *__restrict __name, > __const char *__restrict __pass, > __const char *__restrict __cmd, int *__restrict __fd2p, > sa_family_t __af); ># 500 "/usr/include/netdb.h" 3 4 >extern int ruserok (__const char *__rhost, int __suser, > __const char *__remuser, __const char *__locuser); ># 510 "/usr/include/netdb.h" 3 4 >extern int ruserok_af (__const char *__rhost, int __suser, > __const char *__remuser, __const char *__locuser, > sa_family_t __af); ># 522 "/usr/include/netdb.h" 3 4 >extern int rresvport (int *__alport); ># 531 "/usr/include/netdb.h" 3 4 >extern int rresvport_af (int *__alport, sa_family_t __af); > > > > > > >struct addrinfo >{ > int ai_flags; > int ai_family; > int ai_socktype; > int ai_protocol; > socklen_t ai_addrlen; > struct sockaddr *ai_addr; > char *ai_canonname; > struct addrinfo *ai_next; >}; ># 631 "/usr/include/netdb.h" 3 4 >extern int getaddrinfo (__const char *__restrict __name, > __const char *__restrict __service, > __const struct addrinfo *__restrict __req, > struct addrinfo **__restrict __pai); > > >extern void freeaddrinfo (struct addrinfo *__ai) __attribute__ ((__nothrow__)); > > >extern __const char *gai_strerror (int __ecode) __attribute__ ((__nothrow__)); > > > > > >extern int getnameinfo (__const struct sockaddr *__restrict __sa, > socklen_t __salen, char *__restrict __host, > socklen_t __hostlen, char *__restrict __serv, > socklen_t __servlen, unsigned int __flags); ># 682 "/usr/include/netdb.h" 3 4 > ># 18 "../../include/lib.h" 2 ># 1 "/usr/include/arpa/inet.h" 1 3 4 ># 31 "/usr/include/arpa/inet.h" 3 4 > > > > >extern in_addr_t inet_addr (__const char *__cp) __attribute__ ((__nothrow__)); > > >extern in_addr_t inet_lnaof (struct in_addr __in) __attribute__ ((__nothrow__)); > > > >extern struct in_addr inet_makeaddr (in_addr_t __net, in_addr_t __host) > __attribute__ ((__nothrow__)); > > >extern in_addr_t inet_netof (struct in_addr __in) __attribute__ ((__nothrow__)); > > > >extern in_addr_t inet_network (__const char *__cp) __attribute__ ((__nothrow__)); > > > >extern char *inet_ntoa (struct in_addr __in) __attribute__ ((__nothrow__)); > > > > >extern int inet_pton (int __af, __const char *__restrict __cp, > void *__restrict __buf) __attribute__ ((__nothrow__)); > > > > >extern __const char *inet_ntop (int __af, __const void *__restrict __cp, > char *__restrict __buf, socklen_t __len) > __attribute__ ((__nothrow__)); > > > > > > >extern int inet_aton (__const char *__cp, struct in_addr *__inp) __attribute__ ((__nothrow__)); > > > >extern char *inet_neta (in_addr_t __net, char *__buf, size_t __len) __attribute__ ((__nothrow__)); > > > > >extern char *inet_net_ntop (int __af, __const void *__cp, int __bits, > char *__buf, size_t __len) __attribute__ ((__nothrow__)); > > > > >extern int inet_net_pton (int __af, __const char *__cp, > void *__buf, size_t __len) __attribute__ ((__nothrow__)); > > > > >extern unsigned int inet_nsap_addr (__const char *__cp, > unsigned char *__buf, int __len) __attribute__ ((__nothrow__)); > > > >extern char *inet_nsap_ntoa (int __len, __const unsigned char *__cp, > char *__buf) __attribute__ ((__nothrow__)); > > > ># 19 "../../include/lib.h" 2 ># 1 "/usr/include/sys/time.h" 1 3 4 ># 27 "/usr/include/sys/time.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 28 "/usr/include/sys/time.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 30 "/usr/include/sys/time.h" 2 3 4 ># 39 "/usr/include/sys/time.h" 3 4 > ># 57 "/usr/include/sys/time.h" 3 4 >struct timezone > { > int tz_minuteswest; > int tz_dsttime; > }; > >typedef struct timezone *__restrict __timezone_ptr_t; ># 73 "/usr/include/sys/time.h" 3 4 >extern int gettimeofday (struct timeval *__restrict __tv, > __timezone_ptr_t __tz) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > >extern int settimeofday (__const struct timeval *__tv, > __const struct timezone *__tz) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int adjtime (__const struct timeval *__delta, > struct timeval *__olddelta) __attribute__ ((__nothrow__)); > > > > >enum __itimer_which > { > > ITIMER_REAL = 0, > > > ITIMER_VIRTUAL = 1, > > > > ITIMER_PROF = 2 > > }; > > > >struct itimerval > { > > struct timeval it_interval; > > struct timeval it_value; > }; > > > > > > >typedef int __itimer_which_t; > > > > >extern int getitimer (__itimer_which_t __which, > struct itimerval *__value) __attribute__ ((__nothrow__)); > > > > >extern int setitimer (__itimer_which_t __which, > __const struct itimerval *__restrict __new, > struct itimerval *__restrict __old) __attribute__ ((__nothrow__)); > > > > >extern int utimes (__const char *__file, __const struct timeval __tvp[2]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > >extern int lutimes (__const char *__file, __const struct timeval __tvp[2]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)); ># 191 "/usr/include/sys/time.h" 3 4 > ># 20 "../../include/lib.h" 2 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stdarg.h" 1 3 4 ># 105 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stdarg.h" 3 4 >typedef __gnuc_va_list va_list; ># 21 "../../include/lib.h" 2 ># 1 "/usr/include/ctype.h" 1 3 4 ># 30 "/usr/include/ctype.h" 3 4 > ># 48 "/usr/include/ctype.h" 3 4 >enum >{ > _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)), > _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)), > _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)), > _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)), > _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)), > _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)), > _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)), > _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), > _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), > _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), > _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), > _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) >}; ># 81 "/usr/include/ctype.h" 3 4 >extern __const unsigned short int **__ctype_b_loc (void) > __attribute__ ((__const)); >extern __const __int32_t **__ctype_tolower_loc (void) > __attribute__ ((__const)); >extern __const __int32_t **__ctype_toupper_loc (void) > __attribute__ ((__const)); ># 96 "/usr/include/ctype.h" 3 4 > > > > > > >extern int isalnum (int) __attribute__ ((__nothrow__)); >extern int isalpha (int) __attribute__ ((__nothrow__)); >extern int iscntrl (int) __attribute__ ((__nothrow__)); >extern int isdigit (int) __attribute__ ((__nothrow__)); >extern int islower (int) __attribute__ ((__nothrow__)); >extern int isgraph (int) __attribute__ ((__nothrow__)); >extern int isprint (int) __attribute__ ((__nothrow__)); >extern int ispunct (int) __attribute__ ((__nothrow__)); >extern int isspace (int) __attribute__ ((__nothrow__)); >extern int isupper (int) __attribute__ ((__nothrow__)); >extern int isxdigit (int) __attribute__ ((__nothrow__)); > > > >extern int tolower (int __c) __attribute__ ((__nothrow__)); > > >extern int toupper (int __c) __attribute__ ((__nothrow__)); > > ># 142 "/usr/include/ctype.h" 3 4 >extern int isascii (int __c) __attribute__ ((__nothrow__)); > > > >extern int toascii (int __c) __attribute__ ((__nothrow__)); > > > >extern int _toupper (int) __attribute__ ((__nothrow__)); >extern int _tolower (int) __attribute__ ((__nothrow__)); ># 190 "/usr/include/ctype.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__)) tolower (int __c) >{ > return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c; >} > >extern __inline int >__attribute__ ((__nothrow__)) toupper (int __c) >{ > return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c; >} ># 323 "/usr/include/ctype.h" 3 4 > ># 22 "../../include/lib.h" 2 ># 1 "/usr/include/time.h" 1 3 4 ># 31 "/usr/include/time.h" 3 4 > > > > > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 40 "/usr/include/time.h" 2 3 4 > > > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 44 "/usr/include/time.h" 2 3 4 ># 59 "/usr/include/time.h" 3 4 > > >typedef __clock_t clock_t; > > > ># 132 "/usr/include/time.h" 3 4 > > >struct tm >{ > int tm_sec; > int tm_min; > int tm_hour; > int tm_mday; > int tm_mon; > int tm_year; > int tm_wday; > int tm_yday; > int tm_isdst; > > > long int tm_gmtoff; > __const char *tm_zone; > > > > >}; > > > > > > > > >struct itimerspec > { > struct timespec it_interval; > struct timespec it_value; > }; > > >struct sigevent; ># 181 "/usr/include/time.h" 3 4 > > > >extern clock_t clock (void) __attribute__ ((__nothrow__)); > > >extern time_t time (time_t *__timer) __attribute__ ((__nothrow__)); > > >extern double difftime (time_t __time1, time_t __time0) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__)); > > > > > >extern size_t strftime (char *__restrict __s, size_t __maxsize, > __const char *__restrict __format, > __const struct tm *__restrict __tp) __attribute__ ((__nothrow__)); > ># 229 "/usr/include/time.h" 3 4 > > > >extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__)); > > > >extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__)); > > > > > >extern struct tm *gmtime_r (__const time_t *__restrict __timer, > struct tm *__restrict __tp) __attribute__ ((__nothrow__)); > > > >extern struct tm *localtime_r (__const time_t *__restrict __timer, > struct tm *__restrict __tp) __attribute__ ((__nothrow__)); > > > > > >extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__)); > > >extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__)); > > > > > > > >extern char *asctime_r (__const struct tm *__restrict __tp, > char *__restrict __buf) __attribute__ ((__nothrow__)); > > >extern char *ctime_r (__const time_t *__restrict __timer, > char *__restrict __buf) __attribute__ ((__nothrow__)); > > > > >extern char *__tzname[2]; >extern int __daylight; >extern long int __timezone; > > > > >extern char *tzname[2]; > > > >extern void tzset (void) __attribute__ ((__nothrow__)); > > > >extern int daylight; >extern long int timezone; > > > > > >extern int stime (__const time_t *__when) __attribute__ ((__nothrow__)); ># 312 "/usr/include/time.h" 3 4 >extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__)); > > >extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__)); > > >extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); ># 327 "/usr/include/time.h" 3 4 >extern int nanosleep (__const struct timespec *__requested_time, > struct timespec *__remaining); > > > >extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__)); > > >extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__)); > > >extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) > __attribute__ ((__nothrow__)); > > > > > > >extern int clock_nanosleep (clockid_t __clock_id, int __flags, > __const struct timespec *__req, > struct timespec *__rem); > > >extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__)); > > > > >extern int timer_create (clockid_t __clock_id, > struct sigevent *__restrict __evp, > timer_t *__restrict __timerid) __attribute__ ((__nothrow__)); > > >extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__)); > > >extern int timer_settime (timer_t __timerid, int __flags, > __const struct itimerspec *__restrict __value, > struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__)); > > >extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) > __attribute__ ((__nothrow__)); > > >extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__)); ># 416 "/usr/include/time.h" 3 4 > ># 23 "../../include/lib.h" 2 ># 1 "/usr/include/glib-2.0/glib.h" 1 ># 30 "/usr/include/glib-2.0/glib.h" ># 1 "/usr/include/glib-2.0/glib/galloca.h" 1 ># 30 "/usr/include/glib-2.0/glib/galloca.h" ># 1 "/usr/include/glib-2.0/glib/gtypes.h" 1 ># 30 "/usr/include/glib-2.0/glib/gtypes.h" ># 1 "/usr/lib64/glib-2.0/include/glibconfig.h" 1 ># 9 "/usr/lib64/glib-2.0/include/glibconfig.h" ># 1 "/usr/include/glib-2.0/glib/gmacros.h" 1 ># 36 "/usr/include/glib-2.0/glib/gmacros.h" ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 152 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 3 4 >typedef long int ptrdiff_t; ># 37 "/usr/include/glib-2.0/glib/gmacros.h" 2 ># 10 "/usr/lib64/glib-2.0/include/glibconfig.h" 2 > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/limits.h" 1 3 4 ># 12 "/usr/lib64/glib-2.0/include/glibconfig.h" 2 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/float.h" 1 3 4 ># 13 "/usr/lib64/glib-2.0/include/glibconfig.h" 2 > > > > ># 32 "/usr/lib64/glib-2.0/include/glibconfig.h" >typedef signed char gint8; >typedef unsigned char guint8; >typedef signed short gint16; >typedef unsigned short guint16; > > > >typedef signed int gint32; >typedef unsigned int guint32; > > > > > >typedef signed long gint64; >typedef unsigned long guint64; ># 59 "/usr/lib64/glib-2.0/include/glibconfig.h" >typedef signed long gssize; >typedef unsigned long gsize; ># 131 "/usr/lib64/glib-2.0/include/glibconfig.h" >typedef struct _GStaticMutex GStaticMutex; >struct _GStaticMutex >{ > struct _GMutex *runtime_mutex; > union { > char pad[40]; > double dummy_double; > void *dummy_pointer; > long dummy_long; > } static_mutex; >}; ># 150 "/usr/lib64/glib-2.0/include/glibconfig.h" >typedef union _GSystemThread GSystemThread; >union _GSystemThread >{ > char data[8]; > double dummy_double; > void *dummy_pointer; > long dummy_long; >}; ># 190 "/usr/lib64/glib-2.0/include/glibconfig.h" >typedef int GPid; > > ># 31 "/usr/include/glib-2.0/glib/gtypes.h" 2 > > ># 41 "/usr/include/glib-2.0/glib/gtypes.h" >typedef char gchar; >typedef short gshort; >typedef long glong; >typedef int gint; >typedef gint gboolean; > >typedef unsigned char guchar; >typedef unsigned short gushort; >typedef unsigned long gulong; >typedef unsigned int guint; > >typedef float gfloat; >typedef double gdouble; ># 72 "/usr/include/glib-2.0/glib/gtypes.h" >typedef void* gpointer; >typedef const void *gconstpointer; > >typedef gint (*GCompareFunc) (gconstpointer a, > gconstpointer b); >typedef gint (*GCompareDataFunc) (gconstpointer a, > gconstpointer b, > gpointer user_data); >typedef gboolean (*GEqualFunc) (gconstpointer a, > gconstpointer b); >typedef void (*GDestroyNotify) (gpointer data); >typedef void (*GFunc) (gpointer data, > gpointer user_data); >typedef guint (*GHashFunc) (gconstpointer key); >typedef void (*GHFunc) (gpointer key, > gpointer value, > gpointer user_data); >typedef void (*GFreeFunc) (gpointer data); >typedef const gchar * (*GTranslateFunc) (const gchar *str, > gpointer data); ># 338 "/usr/include/glib-2.0/glib/gtypes.h" >typedef union _GDoubleIEEE754 GDoubleIEEE754; >typedef union _GFloatIEEE754 GFloatIEEE754; > > > > > >union _GFloatIEEE754 >{ > gfloat v_float; > struct { > guint mantissa : 23; > guint biased_exponent : 8; > guint sign : 1; > } mpn; >}; >union _GDoubleIEEE754 >{ > gdouble v_double; > struct { > guint mantissa_low : 32; > guint mantissa_high : 20; > guint biased_exponent : 11; > guint sign : 1; > } mpn; >}; ># 388 "/usr/include/glib-2.0/glib/gtypes.h" >typedef struct _GTimeVal GTimeVal; > >struct _GTimeVal >{ > glong tv_sec; > glong tv_usec; >}; > > ># 31 "/usr/include/glib-2.0/glib/galloca.h" 2 ># 31 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/garray.h" 1 ># 32 "/usr/include/glib-2.0/glib/garray.h" > > >typedef struct _GArray GArray; >typedef struct _GByteArray GByteArray; >typedef struct _GPtrArray GPtrArray; > >struct _GArray >{ > gchar *data; > guint len; >}; > >struct _GByteArray >{ > guint8 *data; > guint len; >}; > >struct _GPtrArray >{ > gpointer *pdata; > guint len; >}; ># 66 "/usr/include/glib-2.0/glib/garray.h" >GArray* g_array_new (gboolean zero_terminated, > gboolean clear_, > guint element_size); >GArray* g_array_sized_new (gboolean zero_terminated, > gboolean clear_, > guint element_size, > guint reserved_size); >gchar* g_array_free (GArray *array, > gboolean free_segment); >GArray* g_array_append_vals (GArray *array, > gconstpointer data, > guint len); >GArray* g_array_prepend_vals (GArray *array, > gconstpointer data, > guint len); >GArray* g_array_insert_vals (GArray *array, > guint index_, > gconstpointer data, > guint len); >GArray* g_array_set_size (GArray *array, > guint length); >GArray* g_array_remove_index (GArray *array, > guint index_); >GArray* g_array_remove_index_fast (GArray *array, > guint index_); >GArray* g_array_remove_range (GArray *array, > guint index_, > guint length); >void g_array_sort (GArray *array, > GCompareFunc compare_func); >void g_array_sort_with_data (GArray *array, > GCompareDataFunc compare_func, > gpointer user_data); > > > > > > >GPtrArray* g_ptr_array_new (void); >GPtrArray* g_ptr_array_sized_new (guint reserved_size); >gpointer* g_ptr_array_free (GPtrArray *array, > gboolean free_seg); >void g_ptr_array_set_size (GPtrArray *array, > gint length); >gpointer g_ptr_array_remove_index (GPtrArray *array, > guint index_); >gpointer g_ptr_array_remove_index_fast (GPtrArray *array, > guint index_); >gboolean g_ptr_array_remove (GPtrArray *array, > gpointer data); >gboolean g_ptr_array_remove_fast (GPtrArray *array, > gpointer data); >void g_ptr_array_remove_range (GPtrArray *array, > guint index_, > guint length); >void g_ptr_array_add (GPtrArray *array, > gpointer data); >void g_ptr_array_sort (GPtrArray *array, > GCompareFunc compare_func); >void g_ptr_array_sort_with_data (GPtrArray *array, > GCompareDataFunc compare_func, > gpointer user_data); >void g_ptr_array_foreach (GPtrArray *array, > GFunc func, > gpointer user_data); > > > > > > >GByteArray* g_byte_array_new (void); >GByteArray* g_byte_array_sized_new (guint reserved_size); >guint8* g_byte_array_free (GByteArray *array, > gboolean free_segment); >GByteArray* g_byte_array_append (GByteArray *array, > const guint8 *data, > guint len); >GByteArray* g_byte_array_prepend (GByteArray *array, > const guint8 *data, > guint len); >GByteArray* g_byte_array_set_size (GByteArray *array, > guint length); >GByteArray* g_byte_array_remove_index (GByteArray *array, > guint index_); >GByteArray* g_byte_array_remove_index_fast (GByteArray *array, > guint index_); >GByteArray* g_byte_array_remove_range (GByteArray *array, > guint index_, > guint length); >void g_byte_array_sort (GByteArray *array, > GCompareFunc compare_func); >void g_byte_array_sort_with_data (GByteArray *array, > GCompareDataFunc compare_func, > gpointer user_data); > > > ># 32 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gasyncqueue.h" 1 ># 30 "/usr/include/glib-2.0/glib/gasyncqueue.h" ># 1 "/usr/include/glib-2.0/glib/gthread.h" 1 ># 30 "/usr/include/glib-2.0/glib/gthread.h" ># 1 "/usr/include/glib-2.0/glib/gerror.h" 1 ># 24 "/usr/include/glib-2.0/glib/gerror.h" ># 1 "/usr/include/glib-2.0/glib/gquark.h" 1 ># 32 "/usr/include/glib-2.0/glib/gquark.h" > > >typedef guint32 GQuark; > > > >GQuark g_quark_try_string (const gchar *string); >GQuark g_quark_from_static_string (const gchar *string); >GQuark g_quark_from_string (const gchar *string); >const gchar* g_quark_to_string (GQuark quark) __attribute__((__const__)); > >const gchar* g_intern_string (const gchar *string); >const gchar* g_intern_static_string (const gchar *string); > > > ># 25 "/usr/include/glib-2.0/glib/gerror.h" 2 > > > >typedef struct _GError GError; > >struct _GError >{ > GQuark domain; > gint code; > gchar *message; >}; > >GError* g_error_new (GQuark domain, > gint code, > const gchar *format, > ...) __attribute__((__format__ (__printf__, 3, 4))); > >GError* g_error_new_literal (GQuark domain, > gint code, > const gchar *message); > >void g_error_free (GError *error); >GError* g_error_copy (const GError *error); > >gboolean g_error_matches (const GError *error, > GQuark domain, > gint code); > > > > >void g_set_error (GError **err, > GQuark domain, > gint code, > const gchar *format, > ...) __attribute__((__format__ (__printf__, 4, 5))); > > > >void g_propagate_error (GError **dest, > GError *src); > > >void g_clear_error (GError **err); > > > ># 31 "/usr/include/glib-2.0/glib/gthread.h" 2 > ># 1 "/usr/include/glib-2.0/glib/gatomic.h" 1 ># 35 "/usr/include/glib-2.0/glib/gatomic.h" > > >gint g_atomic_int_exchange_and_add (volatile gint *atomic, > gint val); >void g_atomic_int_add (volatile gint *atomic, > gint val); >gboolean g_atomic_int_compare_and_exchange (volatile gint *atomic, > gint oldval, > gint newval); >gboolean g_atomic_pointer_compare_and_exchange (volatile gpointer *atomic, > gpointer oldval, > gpointer newval); > >gint g_atomic_int_get (volatile gint *atomic); >void g_atomic_int_set (volatile gint *atomic, > gint newval); >gpointer g_atomic_pointer_get (volatile gpointer *atomic); >void g_atomic_pointer_set (volatile gpointer *atomic, > gpointer newval); ># 66 "/usr/include/glib-2.0/glib/gatomic.h" > ># 33 "/usr/include/glib-2.0/glib/gthread.h" 2 > > > > > > >extern GQuark g_thread_error_quark (void); > > >typedef enum >{ > G_THREAD_ERROR_AGAIN >} GThreadError; > >typedef gpointer (*GThreadFunc) (gpointer data); > >typedef enum >{ > G_THREAD_PRIORITY_LOW, > G_THREAD_PRIORITY_NORMAL, > G_THREAD_PRIORITY_HIGH, > G_THREAD_PRIORITY_URGENT >} GThreadPriority; > >typedef struct _GThread GThread; >struct _GThread >{ > > GThreadFunc func; > gpointer data; > gboolean joinable; > GThreadPriority priority; >}; > >typedef struct _GMutex GMutex; >typedef struct _GCond GCond; >typedef struct _GPrivate GPrivate; >typedef struct _GStaticPrivate GStaticPrivate; > >typedef struct _GThreadFunctions GThreadFunctions; >struct _GThreadFunctions >{ > GMutex* (*mutex_new) (void); > void (*mutex_lock) (GMutex *mutex); > gboolean (*mutex_trylock) (GMutex *mutex); > void (*mutex_unlock) (GMutex *mutex); > void (*mutex_free) (GMutex *mutex); > GCond* (*cond_new) (void); > void (*cond_signal) (GCond *cond); > void (*cond_broadcast) (GCond *cond); > void (*cond_wait) (GCond *cond, > GMutex *mutex); > gboolean (*cond_timed_wait) (GCond *cond, > GMutex *mutex, > GTimeVal *end_time); > void (*cond_free) (GCond *cond); > GPrivate* (*private_new) (GDestroyNotify destructor); > gpointer (*private_get) (GPrivate *private_key); > void (*private_set) (GPrivate *private_key, > gpointer data); > void (*thread_create) (GThreadFunc func, > gpointer data, > gulong stack_size, > gboolean joinable, > gboolean bound, > GThreadPriority priority, > gpointer thread, > GError **error); > void (*thread_yield) (void); > void (*thread_join) (gpointer thread); > void (*thread_exit) (void); > void (*thread_set_priority)(gpointer thread, > GThreadPriority priority); > void (*thread_self) (gpointer thread); > gboolean (*thread_equal) (gpointer thread1, > gpointer thread2); >}; > >extern GThreadFunctions g_thread_functions_for_glib_use; >extern gboolean g_thread_use_default_impl; >extern gboolean g_threads_got_initialized; > >extern guint64 (*g_thread_gettime) (void); > > > > > >void g_thread_init (GThreadFunctions *vtable); ># 130 "/usr/include/glib-2.0/glib/gthread.h" >void g_thread_init_with_errorcheck_mutexes (GThreadFunctions* vtable); ># 140 "/usr/include/glib-2.0/glib/gthread.h" >GMutex* g_static_mutex_get_mutex_impl (GMutex **mutex); ># 211 "/usr/include/glib-2.0/glib/gthread.h" >GThread* g_thread_create_full (GThreadFunc func, > gpointer data, > gulong stack_size, > gboolean joinable, > gboolean bound, > GThreadPriority priority, > GError **error); >GThread* g_thread_self (void); >void g_thread_exit (gpointer retval); >gpointer g_thread_join (GThread *thread); > >void g_thread_set_priority (GThread *thread, > GThreadPriority priority); ># 236 "/usr/include/glib-2.0/glib/gthread.h" >void g_static_mutex_init (GStaticMutex *mutex); >void g_static_mutex_free (GStaticMutex *mutex); > >struct _GStaticPrivate >{ > > guint index; >}; > >void g_static_private_init (GStaticPrivate *private_key); >gpointer g_static_private_get (GStaticPrivate *private_key); >void g_static_private_set (GStaticPrivate *private_key, > gpointer data, > GDestroyNotify notify); >void g_static_private_free (GStaticPrivate *private_key); > >typedef struct _GStaticRecMutex GStaticRecMutex; >struct _GStaticRecMutex >{ > > GStaticMutex mutex; > guint depth; > GSystemThread owner; >}; > > >void g_static_rec_mutex_init (GStaticRecMutex *mutex); >void g_static_rec_mutex_lock (GStaticRecMutex *mutex); >gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex); >void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); >void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex, > guint depth); >guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex); >void g_static_rec_mutex_free (GStaticRecMutex *mutex); > >typedef struct _GStaticRWLock GStaticRWLock; >struct _GStaticRWLock >{ > > GStaticMutex mutex; > GCond *read_cond; > GCond *write_cond; > guint read_counter; > gboolean have_writer; > guint want_to_read; > guint want_to_write; >}; > > > >void g_static_rw_lock_init (GStaticRWLock* lock); >void g_static_rw_lock_reader_lock (GStaticRWLock* lock); >gboolean g_static_rw_lock_reader_trylock (GStaticRWLock* lock); >void g_static_rw_lock_reader_unlock (GStaticRWLock* lock); >void g_static_rw_lock_writer_lock (GStaticRWLock* lock); >gboolean g_static_rw_lock_writer_trylock (GStaticRWLock* lock); >void g_static_rw_lock_writer_unlock (GStaticRWLock* lock); >void g_static_rw_lock_free (GStaticRWLock* lock); > >void g_thread_foreach (GFunc thread_func, > gpointer user_data); > >typedef enum >{ > G_ONCE_STATUS_NOTCALLED, > G_ONCE_STATUS_PROGRESS, > G_ONCE_STATUS_READY >} GOnceStatus; > >typedef struct _GOnce GOnce; >struct _GOnce >{ > volatile GOnceStatus status; > volatile gpointer retval; >}; > > > >gpointer g_once_impl (GOnce *once, GThreadFunc func, gpointer arg); ># 334 "/usr/include/glib-2.0/glib/gthread.h" >extern void glib_dummy_decl (void); ># 377 "/usr/include/glib-2.0/glib/gthread.h" > ># 31 "/usr/include/glib-2.0/glib/gasyncqueue.h" 2 > > > >typedef struct _GAsyncQueue GAsyncQueue; > > > > >GAsyncQueue* g_async_queue_new (void); > > > > > >void g_async_queue_lock (GAsyncQueue *queue); >void g_async_queue_unlock (GAsyncQueue *queue); > > >GAsyncQueue* g_async_queue_ref (GAsyncQueue *queue); >void g_async_queue_unref (GAsyncQueue *queue); > > > >void g_async_queue_ref_unlocked (GAsyncQueue *queue); >void g_async_queue_unref_and_unlock (GAsyncQueue *queue); > > > >void g_async_queue_push (GAsyncQueue *queue, > gpointer data); >void g_async_queue_push_unlocked (GAsyncQueue *queue, > gpointer data); > >void g_async_queue_push_sorted (GAsyncQueue *queue, > gpointer data, > GCompareDataFunc func, > gpointer user_data); >void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue, > gpointer data, > GCompareDataFunc func, > gpointer user_data); > > > > >gpointer g_async_queue_pop (GAsyncQueue *queue); >gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue); > > >gpointer g_async_queue_try_pop (GAsyncQueue *queue); >gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue); > > > > > > >gpointer g_async_queue_timed_pop (GAsyncQueue *queue, > GTimeVal *end_time); >gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue, > GTimeVal *end_time); ># 100 "/usr/include/glib-2.0/glib/gasyncqueue.h" >gint g_async_queue_length (GAsyncQueue *queue); >gint g_async_queue_length_unlocked (GAsyncQueue *queue); >void g_async_queue_sort (GAsyncQueue *queue, > GCompareDataFunc func, > gpointer user_data); >void g_async_queue_sort_unlocked (GAsyncQueue *queue, > GCompareDataFunc func, > gpointer user_data); > > >GMutex* _g_async_queue_get_mutex (GAsyncQueue *queue); > > ># 33 "/usr/include/glib-2.0/glib.h" 2 > ># 1 "/usr/include/glib-2.0/glib/gbacktrace.h" 1 ># 32 "/usr/include/glib-2.0/glib/gbacktrace.h" > ># 43 "/usr/include/glib-2.0/glib/gbacktrace.h" >void g_on_error_query (const gchar *prg_name); >void g_on_error_stack_trace (const gchar *prg_name); ># 59 "/usr/include/glib-2.0/glib/gbacktrace.h" > ># 35 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gbase64.h" 1 ># 26 "/usr/include/glib-2.0/glib/gbase64.h" > > >gsize g_base64_encode_step (const guchar *in, > gsize len, > gboolean break_lines, > gchar *out, > gint *state, > gint *save); >gsize g_base64_encode_close (gboolean break_lines, > gchar *out, > gint *state, > gint *save); >gchar* g_base64_encode (const guchar *data, > gsize len) __attribute__((__malloc__)); >gsize g_base64_decode_step (const gchar *in, > gsize len, > guchar *out, > gint *state, > guint *save); >guchar *g_base64_decode (const gchar *text, > gsize *out_len) __attribute__((__malloc__)); > > ># 36 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 1 ># 26 "/usr/include/glib-2.0/glib/gbookmarkfile.h" > > > > > > >typedef enum >{ > G_BOOKMARK_FILE_ERROR_INVALID_URI, > G_BOOKMARK_FILE_ERROR_INVALID_VALUE, > G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED, > G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND, > G_BOOKMARK_FILE_ERROR_READ, > G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING, > G_BOOKMARK_FILE_ERROR_WRITE, > G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND >} GBookmarkFileError; > >GQuark g_bookmark_file_error_quark (void); > > > > >typedef struct _GBookmarkFile GBookmarkFile; > >GBookmarkFile *g_bookmark_file_new (void); >void g_bookmark_file_free (GBookmarkFile *bookmark); > >gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark, > const gchar *filename, > GError **error); >gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark, > const gchar *data, > gsize length, > GError **error); >gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark, > const gchar *file, > gchar **full_path, > GError **error); >gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark, > gsize *length, > GError **error) __attribute__((__malloc__)); >gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark, > const gchar *filename, > GError **error); > >void g_bookmark_file_set_title (GBookmarkFile *bookmark, > const gchar *uri, > const gchar *title); >gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark, > const gchar *uri, > GError **error) __attribute__((__malloc__)); >void g_bookmark_file_set_description (GBookmarkFile *bookmark, > const gchar *uri, > const gchar *description); >gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark, > const gchar *uri, > GError **error) __attribute__((__malloc__)); >void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark, > const gchar *uri, > const gchar *mime_type); >gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark, > const gchar *uri, > GError **error) __attribute__((__malloc__)); >void g_bookmark_file_set_groups (GBookmarkFile *bookmark, > const gchar *uri, > const gchar **groups, > gsize length); >void g_bookmark_file_add_group (GBookmarkFile *bookmark, > const gchar *uri, > const gchar *group); >gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark, > const gchar *uri, > const gchar *group, > GError **error); >gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark, > const gchar *uri, > gsize *length, > GError **error) __attribute__((__malloc__)); >void g_bookmark_file_add_application (GBookmarkFile *bookmark, > const gchar *uri, > const gchar *name, > const gchar *exec); >gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark, > const gchar *uri, > const gchar *name, > GError **error); >gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark, > const gchar *uri, > gsize *length, > GError **error) __attribute__((__malloc__)); >gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark, > const gchar *uri, > const gchar *name, > const gchar *exec, > gint count, > time_t stamp, > GError **error); >gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark, > const gchar *uri, > const gchar *name, > gchar **exec, > guint *count, > time_t *stamp, > GError **error); >void g_bookmark_file_set_is_private (GBookmarkFile *bookmark, > const gchar *uri, > gboolean is_private); >gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark, > const gchar *uri, > GError **error); >void g_bookmark_file_set_icon (GBookmarkFile *bookmark, > const gchar *uri, > const gchar *href, > const gchar *mime_type); >gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark, > const gchar *uri, > gchar **href, > gchar **mime_type, > GError **error); >void g_bookmark_file_set_added (GBookmarkFile *bookmark, > const gchar *uri, > time_t added); >time_t g_bookmark_file_get_added (GBookmarkFile *bookmark, > const gchar *uri, > GError **error); >void g_bookmark_file_set_modified (GBookmarkFile *bookmark, > const gchar *uri, > time_t modified); >time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark, > const gchar *uri, > GError **error); >void g_bookmark_file_set_visited (GBookmarkFile *bookmark, > const gchar *uri, > time_t visited); >time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark, > const gchar *uri, > GError **error); >gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark, > const gchar *uri); >gint g_bookmark_file_get_size (GBookmarkFile *bookmark); >gchar ** g_bookmark_file_get_uris (GBookmarkFile *bookmark, > gsize *length) __attribute__((__malloc__)); >gboolean g_bookmark_file_remove_group (GBookmarkFile *bookmark, > const gchar *uri, > const gchar *group, > GError **error); >gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark, > const gchar *uri, > const gchar *name, > GError **error); >gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark, > const gchar *uri, > GError **error); >gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark, > const gchar *old_uri, > const gchar *new_uri, > GError **error); > > ># 37 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gcache.h" 1 ># 30 "/usr/include/glib-2.0/glib/gcache.h" ># 1 "/usr/include/glib-2.0/glib/glist.h" 1 ># 30 "/usr/include/glib-2.0/glib/glist.h" ># 1 "/usr/include/glib-2.0/glib/gmem.h" 1 ># 30 "/usr/include/glib-2.0/glib/gmem.h" ># 1 "/usr/include/glib-2.0/glib/gslice.h" 1 ># 28 "/usr/include/glib-2.0/glib/gslice.h" > > > > >gpointer g_slice_alloc (gsize block_size) __attribute__((__malloc__)); >gpointer g_slice_alloc0 (gsize block_size) __attribute__((__malloc__)); >void g_slice_free1 (gsize block_size, > gpointer mem_block); >void g_slice_free_chain_with_offset (gsize block_size, > gpointer mem_chain, > gsize next_offset); ># 63 "/usr/include/glib-2.0/glib/gslice.h" >typedef enum { > G_SLICE_CONFIG_ALWAYS_MALLOC = 1, > G_SLICE_CONFIG_BYPASS_MAGAZINES, > G_SLICE_CONFIG_WORKING_SET_MSECS, > G_SLICE_CONFIG_COLOR_INCREMENT, > G_SLICE_CONFIG_CHUNK_SIZES, > G_SLICE_CONFIG_CONTENTION_COUNTER >} GSliceConfig; >void g_slice_set_config (GSliceConfig ckey, gint64 value); >gint64 g_slice_get_config (GSliceConfig ckey); >gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values); > > ># 31 "/usr/include/glib-2.0/glib/gmem.h" 2 > > > > >typedef struct _GMemVTable GMemVTable; ># 47 "/usr/include/glib-2.0/glib/gmem.h" >gpointer g_malloc (gulong n_bytes) __attribute__((__malloc__)); >gpointer g_malloc0 (gulong n_bytes) __attribute__((__malloc__)); >gpointer g_realloc (gpointer mem, > gulong n_bytes) __attribute__((warn_unused_result)); >void g_free (gpointer mem); >gpointer g_try_malloc (gulong n_bytes) __attribute__((__malloc__)); >gpointer g_try_malloc0 (gulong n_bytes) __attribute__((__malloc__)); >gpointer g_try_realloc (gpointer mem, > gulong n_bytes) __attribute__((warn_unused_result)); ># 79 "/usr/include/glib-2.0/glib/gmem.h" >struct _GMemVTable >{ > gpointer (*malloc) (gsize n_bytes); > gpointer (*realloc) (gpointer mem, > gsize n_bytes); > void (*free) (gpointer mem); > > gpointer (*calloc) (gsize n_blocks, > gsize n_block_bytes); > gpointer (*try_malloc) (gsize n_bytes); > gpointer (*try_realloc) (gpointer mem, > gsize n_bytes); >}; >void g_mem_set_vtable (GMemVTable *vtable); >gboolean g_mem_is_system_malloc (void); > >extern gboolean g_mem_gc_friendly; > > > >extern GMemVTable *glib_mem_profiler_table; >void g_mem_profile (void); > > > > >typedef struct _GAllocator GAllocator; >typedef struct _GMemChunk GMemChunk; ># 124 "/usr/include/glib-2.0/glib/gmem.h" >GMemChunk* g_mem_chunk_new (const gchar *name, > gint atom_size, > gulong area_size, > gint type); >void g_mem_chunk_destroy (GMemChunk *mem_chunk); >gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk); >gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk); >void g_mem_chunk_free (GMemChunk *mem_chunk, > gpointer mem); >void g_mem_chunk_clean (GMemChunk *mem_chunk); >void g_mem_chunk_reset (GMemChunk *mem_chunk); >void g_mem_chunk_print (GMemChunk *mem_chunk); >void g_mem_chunk_info (void); >void g_blow_chunks (void); >GAllocator*g_allocator_new (const gchar *name, > guint n_preallocs); >void g_allocator_free (GAllocator *allocator); > > > > > > ># 31 "/usr/include/glib-2.0/glib/glist.h" 2 > > > >typedef struct _GList GList; > >struct _GList >{ > gpointer data; > GList *next; > GList *prev; >}; > > > >GList* g_list_alloc (void) __attribute__((warn_unused_result)); >void g_list_free (GList *list); >void g_list_free_1 (GList *list); > >GList* g_list_append (GList *list, > gpointer data) __attribute__((warn_unused_result)); >GList* g_list_prepend (GList *list, > gpointer data) __attribute__((warn_unused_result)); >GList* g_list_insert (GList *list, > gpointer data, > gint position) __attribute__((warn_unused_result)); >GList* g_list_insert_sorted (GList *list, > gpointer data, > GCompareFunc func) __attribute__((warn_unused_result)); >GList* g_list_insert_sorted_with_data (GList *list, > gpointer data, > GCompareDataFunc func, > gpointer user_data) __attribute__((warn_unused_result)); >GList* g_list_insert_before (GList *list, > GList *sibling, > gpointer data) __attribute__((warn_unused_result)); >GList* g_list_concat (GList *list1, > GList *list2) __attribute__((warn_unused_result)); >GList* g_list_remove (GList *list, > gconstpointer data) __attribute__((warn_unused_result)); >GList* g_list_remove_all (GList *list, > gconstpointer data) __attribute__((warn_unused_result)); >GList* g_list_remove_link (GList *list, > GList *llink) __attribute__((warn_unused_result)); >GList* g_list_delete_link (GList *list, > GList *link_) __attribute__((warn_unused_result)); >GList* g_list_reverse (GList *list) __attribute__((warn_unused_result)); >GList* g_list_copy (GList *list) __attribute__((warn_unused_result)); >GList* g_list_nth (GList *list, > guint n); >GList* g_list_nth_prev (GList *list, > guint n); >GList* g_list_find (GList *list, > gconstpointer data); >GList* g_list_find_custom (GList *list, > gconstpointer data, > GCompareFunc func); >gint g_list_position (GList *list, > GList *llink); >gint g_list_index (GList *list, > gconstpointer data); >GList* g_list_last (GList *list); >GList* g_list_first (GList *list); >guint g_list_length (GList *list); >void g_list_foreach (GList *list, > GFunc func, > gpointer user_data); >GList* g_list_sort (GList *list, > GCompareFunc compare_func) __attribute__((warn_unused_result)); >GList* g_list_sort_with_data (GList *list, > GCompareDataFunc compare_func, > gpointer user_data) __attribute__((warn_unused_result)); >gpointer g_list_nth_data (GList *list, > guint n); > > > > > > >void g_list_push_allocator (gpointer allocator); >void g_list_pop_allocator (void); > > ># 31 "/usr/include/glib-2.0/glib/gcache.h" 2 > > > >typedef struct _GCache GCache; > >typedef gpointer (*GCacheNewFunc) (gpointer key); >typedef gpointer (*GCacheDupFunc) (gpointer value); >typedef void (*GCacheDestroyFunc) (gpointer value); > > > >GCache* g_cache_new (GCacheNewFunc value_new_func, > GCacheDestroyFunc value_destroy_func, > GCacheDupFunc key_dup_func, > GCacheDestroyFunc key_destroy_func, > GHashFunc hash_key_func, > GHashFunc hash_value_func, > GEqualFunc key_equal_func); >void g_cache_destroy (GCache *cache); >gpointer g_cache_insert (GCache *cache, > gpointer key); >void g_cache_remove (GCache *cache, > gconstpointer value); >void g_cache_key_foreach (GCache *cache, > GHFunc func, > gpointer user_data); > >void g_cache_value_foreach (GCache *cache, > GHFunc func, > gpointer user_data); > > > ># 38 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gcompletion.h" 1 ># 32 "/usr/include/glib-2.0/glib/gcompletion.h" > > >typedef struct _GCompletion GCompletion; > >typedef gchar* (*GCompletionFunc) (gpointer); > > > > >typedef gint (*GCompletionStrncmpFunc) (const gchar *s1, > const gchar *s2, > gsize n); > >struct _GCompletion >{ > GList* items; > GCompletionFunc func; > > gchar* prefix; > GList* cache; > GCompletionStrncmpFunc strncmp_func; >}; > >GCompletion* g_completion_new (GCompletionFunc func); >void g_completion_add_items (GCompletion* cmp, > GList* items); >void g_completion_remove_items (GCompletion* cmp, > GList* items); >void g_completion_clear_items (GCompletion* cmp); >GList* g_completion_complete (GCompletion* cmp, > const gchar* prefix, > gchar** new_prefix); >GList* g_completion_complete_utf8 (GCompletion *cmp, > const gchar* prefix, > gchar** new_prefix); >void g_completion_set_compare (GCompletion *cmp, > GCompletionStrncmpFunc strncmp_func); >void g_completion_free (GCompletion* cmp); > > ># 39 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gconvert.h" 1 ># 30 "/usr/include/glib-2.0/glib/gconvert.h" ># 1 "/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h" 1 3 4 ># 31 "/usr/include/glib-2.0/glib/gconvert.h" 2 > > > > >typedef enum >{ > G_CONVERT_ERROR_NO_CONVERSION, > G_CONVERT_ERROR_ILLEGAL_SEQUENCE, > G_CONVERT_ERROR_FAILED, > G_CONVERT_ERROR_PARTIAL_INPUT, > G_CONVERT_ERROR_BAD_URI, > G_CONVERT_ERROR_NOT_ABSOLUTE_PATH >} GConvertError; > > >GQuark g_convert_error_quark (void); > > > >typedef struct _GIConv *GIConv; > >GIConv g_iconv_open (const gchar *to_codeset, > const gchar *from_codeset); >size_t g_iconv (GIConv converter, > gchar **inbuf, > gsize *inbytes_left, > gchar **outbuf, > gsize *outbytes_left); >gint g_iconv_close (GIConv converter); > > >gchar* g_convert (const gchar *str, > gssize len, > const gchar *to_codeset, > const gchar *from_codeset, > gsize *bytes_read, > gsize *bytes_written, > GError **error) __attribute__((__malloc__)); >gchar* g_convert_with_iconv (const gchar *str, > gssize len, > GIConv converter, > gsize *bytes_read, > gsize *bytes_written, > GError **error) __attribute__((__malloc__)); >gchar* g_convert_with_fallback (const gchar *str, > gssize len, > const gchar *to_codeset, > const gchar *from_codeset, > gchar *fallback, > gsize *bytes_read, > gsize *bytes_written, > GError **error) __attribute__((__malloc__)); > > > > >gchar* g_locale_to_utf8 (const gchar *opsysstring, > gssize len, > gsize *bytes_read, > gsize *bytes_written, > GError **error) __attribute__((__malloc__)); >gchar* g_locale_from_utf8 (const gchar *utf8string, > gssize len, > gsize *bytes_read, > gsize *bytes_written, > GError **error) __attribute__((__malloc__)); ># 108 "/usr/include/glib-2.0/glib/gconvert.h" >gchar* g_filename_to_utf8 (const gchar *opsysstring, > gssize len, > gsize *bytes_read, > gsize *bytes_written, > GError **error) __attribute__((__malloc__)); >gchar* g_filename_from_utf8 (const gchar *utf8string, > gssize len, > gsize *bytes_read, > gsize *bytes_written, > GError **error) __attribute__((__malloc__)); > >gchar *g_filename_from_uri (const gchar *uri, > gchar **hostname, > GError **error) __attribute__((__malloc__)); > >gchar *g_filename_to_uri (const gchar *filename, > const gchar *hostname, > GError **error) __attribute__((__malloc__)); >gchar *g_filename_display_name (const gchar *filename) __attribute__((__malloc__)); >gboolean g_get_filename_charsets (const gchar ***charsets); > >gchar *g_filename_display_basename (const gchar *filename) __attribute__((__malloc__)); > >gchar **g_uri_list_extract_uris (const gchar *uri_list) __attribute__((__malloc__)); > > ># 40 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gdataset.h" 1 ># 32 "/usr/include/glib-2.0/glib/gdataset.h" > > >typedef struct _GData GData; > >typedef void (*GDataForeachFunc) (GQuark key_id, > gpointer data, > gpointer user_data); > > > >void g_datalist_init (GData **datalist); >void g_datalist_clear (GData **datalist); >gpointer g_datalist_id_get_data (GData **datalist, > GQuark key_id); >void g_datalist_id_set_data_full (GData **datalist, > GQuark key_id, > gpointer data, > GDestroyNotify destroy_func); >gpointer g_datalist_id_remove_no_notify (GData **datalist, > GQuark key_id); >void g_datalist_foreach (GData **datalist, > GDataForeachFunc func, > gpointer user_data); ># 65 "/usr/include/glib-2.0/glib/gdataset.h" >void g_datalist_set_flags (GData **datalist, > guint flags); >void g_datalist_unset_flags (GData **datalist, > guint flags); >guint g_datalist_get_flags (GData **datalist); ># 89 "/usr/include/glib-2.0/glib/gdataset.h" >void g_dataset_destroy (gconstpointer dataset_location); >gpointer g_dataset_id_get_data (gconstpointer dataset_location, > GQuark key_id); >void g_dataset_id_set_data_full (gconstpointer dataset_location, > GQuark key_id, > gpointer data, > GDestroyNotify destroy_func); >gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location, > GQuark key_id); >void g_dataset_foreach (gconstpointer dataset_location, > GDataForeachFunc func, > gpointer user_data); ># 116 "/usr/include/glib-2.0/glib/gdataset.h" > ># 41 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gdate.h" 1 ># 35 "/usr/include/glib-2.0/glib/gdate.h" > ># 46 "/usr/include/glib-2.0/glib/gdate.h" >typedef gint32 GTime; >typedef guint16 GDateYear; >typedef guint8 GDateDay; >typedef struct _GDate GDate; > >struct tm; > > >typedef enum >{ > G_DATE_DAY = 0, > G_DATE_MONTH = 1, > G_DATE_YEAR = 2 >} GDateDMY; > > >typedef enum >{ > G_DATE_BAD_WEEKDAY = 0, > G_DATE_MONDAY = 1, > G_DATE_TUESDAY = 2, > G_DATE_WEDNESDAY = 3, > G_DATE_THURSDAY = 4, > G_DATE_FRIDAY = 5, > G_DATE_SATURDAY = 6, > G_DATE_SUNDAY = 7 >} GDateWeekday; >typedef enum >{ > G_DATE_BAD_MONTH = 0, > G_DATE_JANUARY = 1, > G_DATE_FEBRUARY = 2, > G_DATE_MARCH = 3, > G_DATE_APRIL = 4, > G_DATE_MAY = 5, > G_DATE_JUNE = 6, > G_DATE_JULY = 7, > G_DATE_AUGUST = 8, > G_DATE_SEPTEMBER = 9, > G_DATE_OCTOBER = 10, > G_DATE_NOVEMBER = 11, > G_DATE_DECEMBER = 12 >} GDateMonth; ># 99 "/usr/include/glib-2.0/glib/gdate.h" >struct _GDate >{ > guint julian_days : 32; > > > > > > guint julian : 1; > guint dmy : 1; > > > guint day : 6; > guint month : 4; > guint year : 16; >}; > > > > > >GDate* g_date_new (void); >GDate* g_date_new_dmy (GDateDay day, > GDateMonth month, > GDateYear year); >GDate* g_date_new_julian (guint32 julian_day); >void g_date_free (GDate *date); > > > > > > >gboolean g_date_valid (const GDate *date); >gboolean g_date_valid_day (GDateDay day) __attribute__((__const__)); >gboolean g_date_valid_month (GDateMonth month) __attribute__((__const__)); >gboolean g_date_valid_year (GDateYear year) __attribute__((__const__)); >gboolean g_date_valid_weekday (GDateWeekday weekday) __attribute__((__const__)); >gboolean g_date_valid_julian (guint32 julian_date) __attribute__((__const__)); >gboolean g_date_valid_dmy (GDateDay day, > GDateMonth month, > GDateYear year) __attribute__((__const__)); > >GDateWeekday g_date_get_weekday (const GDate *date); >GDateMonth g_date_get_month (const GDate *date); >GDateYear g_date_get_year (const GDate *date); >GDateDay g_date_get_day (const GDate *date); >guint32 g_date_get_julian (const GDate *date); >guint g_date_get_day_of_year (const GDate *date); > > > > > > >guint g_date_get_monday_week_of_year (const GDate *date); >guint g_date_get_sunday_week_of_year (const GDate *date); >guint g_date_get_iso8601_week_of_year (const GDate *date); > > > > > >void g_date_clear (GDate *date, > guint n_dates); > > > > > >void g_date_set_parse (GDate *date, > const gchar *str); >void g_date_set_time_t (GDate *date, > time_t timet); >void g_date_set_time_val (GDate *date, > GTimeVal *timeval); > >void g_date_set_time (GDate *date, > GTime time_); > >void g_date_set_month (GDate *date, > GDateMonth month); >void g_date_set_day (GDate *date, > GDateDay day); >void g_date_set_year (GDate *date, > GDateYear year); >void g_date_set_dmy (GDate *date, > GDateDay day, > GDateMonth month, > GDateYear y); >void g_date_set_julian (GDate *date, > guint32 julian_date); >gboolean g_date_is_first_of_month (const GDate *date); >gboolean g_date_is_last_of_month (const GDate *date); > > >void g_date_add_days (GDate *date, > guint n_days); >void g_date_subtract_days (GDate *date, > guint n_days); > > >void g_date_add_months (GDate *date, > guint n_months); >void g_date_subtract_months (GDate *date, > guint n_months); > > >void g_date_add_years (GDate *date, > guint n_years); >void g_date_subtract_years (GDate *date, > guint n_years); >gboolean g_date_is_leap_year (GDateYear year) __attribute__((__const__)); >guint8 g_date_get_days_in_month (GDateMonth month, > GDateYear year) __attribute__((__const__)); >guint8 g_date_get_monday_weeks_in_year (GDateYear year) __attribute__((__const__)); >guint8 g_date_get_sunday_weeks_in_year (GDateYear year) __attribute__((__const__)); > > > >gint g_date_days_between (const GDate *date1, > const GDate *date2); > > >gint g_date_compare (const GDate *lhs, > const GDate *rhs); >void g_date_to_struct_tm (const GDate *date, > struct tm *tm); > >void g_date_clamp (GDate *date, > const GDate *min_date, > const GDate *max_date); > > >void g_date_order (GDate *date1, GDate *date2); > > > > >gsize g_date_strftime (gchar *s, > gsize slen, > const gchar *format, > const GDate *date); ># 259 "/usr/include/glib-2.0/glib/gdate.h" > ># 42 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gdir.h" 1 ># 28 "/usr/include/glib-2.0/glib/gdir.h" > > >typedef struct _GDir GDir; > > > > > > > >GDir * g_dir_open (const gchar *path, > guint flags, > GError **error); >const gchar *g_dir_read_name (GDir *dir); >void g_dir_rewind (GDir *dir); >void g_dir_close (GDir *dir); > > ># 43 "/usr/include/glib-2.0/glib.h" 2 > ># 1 "/usr/include/glib-2.0/glib/gfileutils.h" 1 ># 26 "/usr/include/glib-2.0/glib/gfileutils.h" > > > > >typedef enum >{ > G_FILE_ERROR_EXIST, > G_FILE_ERROR_ISDIR, > G_FILE_ERROR_ACCES, > G_FILE_ERROR_NAMETOOLONG, > G_FILE_ERROR_NOENT, > G_FILE_ERROR_NOTDIR, > G_FILE_ERROR_NXIO, > G_FILE_ERROR_NODEV, > G_FILE_ERROR_ROFS, > G_FILE_ERROR_TXTBSY, > G_FILE_ERROR_FAULT, > G_FILE_ERROR_LOOP, > G_FILE_ERROR_NOSPC, > G_FILE_ERROR_NOMEM, > G_FILE_ERROR_MFILE, > G_FILE_ERROR_NFILE, > G_FILE_ERROR_BADF, > G_FILE_ERROR_INVAL, > G_FILE_ERROR_PIPE, > G_FILE_ERROR_AGAIN, > G_FILE_ERROR_INTR, > G_FILE_ERROR_IO, > G_FILE_ERROR_PERM, > G_FILE_ERROR_NOSYS, > G_FILE_ERROR_FAILED >} GFileError; > > > > > >typedef enum >{ > G_FILE_TEST_IS_REGULAR = 1 << 0, > G_FILE_TEST_IS_SYMLINK = 1 << 1, > G_FILE_TEST_IS_DIR = 1 << 2, > G_FILE_TEST_IS_EXECUTABLE = 1 << 3, > G_FILE_TEST_EXISTS = 1 << 4 >} GFileTest; > >GQuark g_file_error_quark (void); > >GFileError g_file_error_from_errno (gint err_no); ># 83 "/usr/include/glib-2.0/glib/gfileutils.h" >gboolean g_file_test (const gchar *filename, > GFileTest test); >gboolean g_file_get_contents (const gchar *filename, > gchar **contents, > gsize *length, > GError **error); >gboolean g_file_set_contents (const gchar *filename, > const gchar *contents, > gssize length, > GError **error); >gchar *g_file_read_link (const gchar *filename, > GError **error); > > >gint g_mkstemp (gchar *tmpl); > > >gint g_file_open_tmp (const gchar *tmpl, > gchar **name_used, > GError **error); > >gchar *g_build_path (const gchar *separator, > const gchar *first_element, > ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); >gchar *g_build_pathv (const gchar *separator, > gchar **args) __attribute__((__malloc__)); > >gchar *g_build_filename (const gchar *first_element, > ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); >gchar *g_build_filenamev (gchar **args) __attribute__((__malloc__)); > >int g_mkdir_with_parents (const gchar *pathname, > int mode); > > ># 45 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/ghash.h" 1 ># 32 "/usr/include/glib-2.0/glib/ghash.h" > > >typedef struct _GHashTable GHashTable; > >typedef gboolean (*GHRFunc) (gpointer key, > gpointer value, > gpointer user_data); > > > >GHashTable* g_hash_table_new (GHashFunc hash_func, > GEqualFunc key_equal_func); >GHashTable* g_hash_table_new_full (GHashFunc hash_func, > GEqualFunc key_equal_func, > GDestroyNotify key_destroy_func, > GDestroyNotify value_destroy_func); >void g_hash_table_destroy (GHashTable *hash_table); >void g_hash_table_insert (GHashTable *hash_table, > gpointer key, > gpointer value); >void g_hash_table_replace (GHashTable *hash_table, > gpointer key, > gpointer value); >gboolean g_hash_table_remove (GHashTable *hash_table, > gconstpointer key); >void g_hash_table_remove_all (GHashTable *hash_table); >gboolean g_hash_table_steal (GHashTable *hash_table, > gconstpointer key); >void g_hash_table_steal_all (GHashTable *hash_table); >gpointer g_hash_table_lookup (GHashTable *hash_table, > gconstpointer key); >gboolean g_hash_table_lookup_extended (GHashTable *hash_table, > gconstpointer lookup_key, > gpointer *orig_key, > gpointer *value); >void g_hash_table_foreach (GHashTable *hash_table, > GHFunc func, > gpointer user_data); >gpointer g_hash_table_find (GHashTable *hash_table, > GHRFunc predicate, > gpointer user_data); >guint g_hash_table_foreach_remove (GHashTable *hash_table, > GHRFunc func, > gpointer user_data); >guint g_hash_table_foreach_steal (GHashTable *hash_table, > GHRFunc func, > gpointer user_data); >guint g_hash_table_size (GHashTable *hash_table); > > >GHashTable* g_hash_table_ref (GHashTable *hash_table); >void g_hash_table_unref (GHashTable *hash_table); ># 96 "/usr/include/glib-2.0/glib/ghash.h" >gboolean g_str_equal (gconstpointer v1, > gconstpointer v2); >guint g_str_hash (gconstpointer v); > >gboolean g_int_equal (gconstpointer v1, > gconstpointer v2); >guint g_int_hash (gconstpointer v); > > > > > > > >guint g_direct_hash (gconstpointer v) __attribute__((__const__)); >gboolean g_direct_equal (gconstpointer v1, > gconstpointer v2) __attribute__((__const__)); > > ># 46 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/ghook.h" 1 ># 32 "/usr/include/glib-2.0/glib/ghook.h" > > > > >typedef struct _GHook GHook; >typedef struct _GHookList GHookList; > >typedef gint (*GHookCompareFunc) (GHook *new_hook, > GHook *sibling); >typedef gboolean (*GHookFindFunc) (GHook *hook, > gpointer data); >typedef void (*GHookMarshaller) (GHook *hook, > gpointer marshal_data); >typedef gboolean (*GHookCheckMarshaller) (GHook *hook, > gpointer marshal_data); >typedef void (*GHookFunc) (gpointer data); >typedef gboolean (*GHookCheckFunc) (gpointer data); >typedef void (*GHookFinalizeFunc) (GHookList *hook_list, > GHook *hook); >typedef enum >{ > G_HOOK_FLAG_ACTIVE = 1 << 0, > G_HOOK_FLAG_IN_CALL = 1 << 1, > G_HOOK_FLAG_MASK = 0x0f >} GHookFlagMask; > > > > >struct _GHookList >{ > gulong seq_id; > guint hook_size : 16; > guint is_setup : 1; > GHook *hooks; > gpointer dummy3; > GHookFinalizeFunc finalize_hook; > gpointer dummy[2]; >}; >struct _GHook >{ > gpointer data; > GHook *next; > GHook *prev; > guint ref_count; > gulong hook_id; > guint flags; > gpointer func; > GDestroyNotify destroy; >}; ># 102 "/usr/include/glib-2.0/glib/ghook.h" >void g_hook_list_init (GHookList *hook_list, > guint hook_size); >void g_hook_list_clear (GHookList *hook_list); >GHook* g_hook_alloc (GHookList *hook_list); >void g_hook_free (GHookList *hook_list, > GHook *hook); >GHook * g_hook_ref (GHookList *hook_list, > GHook *hook); >void g_hook_unref (GHookList *hook_list, > GHook *hook); >gboolean g_hook_destroy (GHookList *hook_list, > gulong hook_id); >void g_hook_destroy_link (GHookList *hook_list, > GHook *hook); >void g_hook_prepend (GHookList *hook_list, > GHook *hook); >void g_hook_insert_before (GHookList *hook_list, > GHook *sibling, > GHook *hook); >void g_hook_insert_sorted (GHookList *hook_list, > GHook *hook, > GHookCompareFunc func); >GHook* g_hook_get (GHookList *hook_list, > gulong hook_id); >GHook* g_hook_find (GHookList *hook_list, > gboolean need_valids, > GHookFindFunc func, > gpointer data); >GHook* g_hook_find_data (GHookList *hook_list, > gboolean need_valids, > gpointer data); >GHook* g_hook_find_func (GHookList *hook_list, > gboolean need_valids, > gpointer func); >GHook* g_hook_find_func_data (GHookList *hook_list, > gboolean need_valids, > gpointer func, > gpointer data); > >GHook* g_hook_first_valid (GHookList *hook_list, > gboolean may_be_in_call); > > > >GHook* g_hook_next_valid (GHookList *hook_list, > GHook *hook, > gboolean may_be_in_call); > >gint g_hook_compare_ids (GHook *new_hook, > GHook *sibling); > > > > > >void g_hook_list_invoke (GHookList *hook_list, > gboolean may_recurse); > > > >void g_hook_list_invoke_check (GHookList *hook_list, > gboolean may_recurse); > > >void g_hook_list_marshal (GHookList *hook_list, > gboolean may_recurse, > GHookMarshaller marshaller, > gpointer marshal_data); >void g_hook_list_marshal_check (GHookList *hook_list, > gboolean may_recurse, > GHookCheckMarshaller marshaller, > gpointer marshal_data); > > ># 47 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/giochannel.h" 1 ># 31 "/usr/include/glib-2.0/glib/giochannel.h" ># 1 "/usr/include/glib-2.0/glib/gmain.h" 1 ># 23 "/usr/include/glib-2.0/glib/gmain.h" ># 1 "/usr/include/glib-2.0/glib/gslist.h" 1 ># 32 "/usr/include/glib-2.0/glib/gslist.h" > > >typedef struct _GSList GSList; > >struct _GSList >{ > gpointer data; > GSList *next; >}; > > > >GSList* g_slist_alloc (void) __attribute__((warn_unused_result)); >void g_slist_free (GSList *list); >void g_slist_free_1 (GSList *list); > >GSList* g_slist_append (GSList *list, > gpointer data) __attribute__((warn_unused_result)); >GSList* g_slist_prepend (GSList *list, > gpointer data) __attribute__((warn_unused_result)); >GSList* g_slist_insert (GSList *list, > gpointer data, > gint position) __attribute__((warn_unused_result)); >GSList* g_slist_insert_sorted (GSList *list, > gpointer data, > GCompareFunc func) __attribute__((warn_unused_result)); >GSList* g_slist_insert_sorted_with_data (GSList *list, > gpointer data, > GCompareDataFunc func, > gpointer user_data) __attribute__((warn_unused_result)); >GSList* g_slist_insert_before (GSList *slist, > GSList *sibling, > gpointer data) __attribute__((warn_unused_result)); >GSList* g_slist_concat (GSList *list1, > GSList *list2) __attribute__((warn_unused_result)); >GSList* g_slist_remove (GSList *list, > gconstpointer data) __attribute__((warn_unused_result)); >GSList* g_slist_remove_all (GSList *list, > gconstpointer data) __attribute__((warn_unused_result)); >GSList* g_slist_remove_link (GSList *list, > GSList *link_) __attribute__((warn_unused_result)); >GSList* g_slist_delete_link (GSList *list, > GSList *link_) __attribute__((warn_unused_result)); >GSList* g_slist_reverse (GSList *list) __attribute__((warn_unused_result)); >GSList* g_slist_copy (GSList *list) __attribute__((warn_unused_result)); >GSList* g_slist_nth (GSList *list, > guint n); >GSList* g_slist_find (GSList *list, > gconstpointer data); >GSList* g_slist_find_custom (GSList *list, > gconstpointer data, > GCompareFunc func); >gint g_slist_position (GSList *list, > GSList *llink); >gint g_slist_index (GSList *list, > gconstpointer data); >GSList* g_slist_last (GSList *list); >guint g_slist_length (GSList *list); >void g_slist_foreach (GSList *list, > GFunc func, > gpointer user_data); >GSList* g_slist_sort (GSList *list, > GCompareFunc compare_func) __attribute__((warn_unused_result)); >GSList* g_slist_sort_with_data (GSList *list, > GCompareDataFunc compare_func, > gpointer user_data) __attribute__((warn_unused_result)); >gpointer g_slist_nth_data (GSList *list, > guint n); > > > > >void g_slist_push_allocator (gpointer dummy); >void g_slist_pop_allocator (void); > > ># 24 "/usr/include/glib-2.0/glib/gmain.h" 2 > > > > >typedef struct _GMainContext GMainContext; >typedef struct _GMainLoop GMainLoop; >typedef struct _GSource GSource; >typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs; >typedef struct _GSourceFuncs GSourceFuncs; > >typedef gboolean (*GSourceFunc) (gpointer data); >typedef void (*GChildWatchFunc) (GPid pid, > gint status, > gpointer data); >struct _GSource >{ > > gpointer callback_data; > GSourceCallbackFuncs *callback_funcs; > > GSourceFuncs *source_funcs; > guint ref_count; > > GMainContext *context; > > gint priority; > guint flags; > guint source_id; > > GSList *poll_fds; > > GSource *prev; > GSource *next; > > gpointer reserved1; > gpointer reserved2; >}; > >struct _GSourceCallbackFuncs >{ > void (*ref) (gpointer cb_data); > void (*unref) (gpointer cb_data); > void (*get) (gpointer cb_data, > GSource *source, > GSourceFunc *func, > gpointer *data); >}; > >typedef void (*GSourceDummyMarshal) (void); > >struct _GSourceFuncs >{ > gboolean (*prepare) (GSource *source, > gint *timeout_); > gboolean (*check) (GSource *source); > gboolean (*dispatch) (GSource *source, > GSourceFunc callback, > gpointer user_data); > void (*finalize) (GSource *source); > > > GSourceFunc closure_callback; > GSourceDummyMarshal closure_marshal; >}; ># 116 "/usr/include/glib-2.0/glib/gmain.h" >typedef struct _GPollFD GPollFD; >typedef gint (*GPollFunc) (GPollFD *ufds, > guint nfsd, > gint timeout_); > >struct _GPollFD >{ > gint fd; > gushort events; > gushort revents; >}; ># 138 "/usr/include/glib-2.0/glib/gmain.h" >GMainContext *g_main_context_new (void); >GMainContext *g_main_context_ref (GMainContext *context); >void g_main_context_unref (GMainContext *context); >GMainContext *g_main_context_default (void); > >gboolean g_main_context_iteration (GMainContext *context, > gboolean may_block); >gboolean g_main_context_pending (GMainContext *context); > > > >GSource *g_main_context_find_source_by_id (GMainContext *context, > guint source_id); >GSource *g_main_context_find_source_by_user_data (GMainContext *context, > gpointer user_data); >GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context, > GSourceFuncs *funcs, > gpointer user_data); > > > >void g_main_context_wakeup (GMainContext *context); >gboolean g_main_context_acquire (GMainContext *context); >void g_main_context_release (GMainContext *context); >gboolean g_main_context_is_owner (GMainContext *context); >gboolean g_main_context_wait (GMainContext *context, > GCond *cond, > GMutex *mutex); > >gboolean g_main_context_prepare (GMainContext *context, > gint *priority); >gint g_main_context_query (GMainContext *context, > gint max_priority, > gint *timeout_, > GPollFD *fds, > gint n_fds); >gint g_main_context_check (GMainContext *context, > gint max_priority, > GPollFD *fds, > gint n_fds); >void g_main_context_dispatch (GMainContext *context); > >void g_main_context_set_poll_func (GMainContext *context, > GPollFunc func); >GPollFunc g_main_context_get_poll_func (GMainContext *context); > > > >void g_main_context_add_poll (GMainContext *context, > GPollFD *fd, > gint priority); >void g_main_context_remove_poll (GMainContext *context, > GPollFD *fd); > >gint g_main_depth (void); >GSource *g_main_current_source (void); > > > > >GMainLoop *g_main_loop_new (GMainContext *context, > gboolean is_running); >void g_main_loop_run (GMainLoop *loop); >void g_main_loop_quit (GMainLoop *loop); >GMainLoop *g_main_loop_ref (GMainLoop *loop); >void g_main_loop_unref (GMainLoop *loop); >gboolean g_main_loop_is_running (GMainLoop *loop); >GMainContext *g_main_loop_get_context (GMainLoop *loop); > > > >GSource *g_source_new (GSourceFuncs *source_funcs, > guint struct_size); >GSource *g_source_ref (GSource *source); >void g_source_unref (GSource *source); > >guint g_source_attach (GSource *source, > GMainContext *context); >void g_source_destroy (GSource *source); > >void g_source_set_priority (GSource *source, > gint priority); >gint g_source_get_priority (GSource *source); >void g_source_set_can_recurse (GSource *source, > gboolean can_recurse); >gboolean g_source_get_can_recurse (GSource *source); >guint g_source_get_id (GSource *source); > >GMainContext *g_source_get_context (GSource *source); > >void g_source_set_callback (GSource *source, > GSourceFunc func, > gpointer data, > GDestroyNotify notify); > >void g_source_set_funcs (GSource *source, > GSourceFuncs *funcs); >gboolean g_source_is_destroyed (GSource *source); > > >void g_source_set_callback_indirect (GSource *source, > gpointer callback_data, > GSourceCallbackFuncs *callback_funcs); > >void g_source_add_poll (GSource *source, > GPollFD *fd); >void g_source_remove_poll (GSource *source, > GPollFD *fd); > >void g_source_get_current_time (GSource *source, > GTimeVal *timeval); > > > > > > > >GSource *g_idle_source_new (void); >GSource *g_child_watch_source_new (GPid pid); >GSource *g_timeout_source_new (guint interval); > > > >void g_get_current_time (GTimeVal *result); ># 287 "/usr/include/glib-2.0/glib/gmain.h" >gboolean g_source_remove (guint tag); >gboolean g_source_remove_by_user_data (gpointer user_data); >gboolean g_source_remove_by_funcs_user_data (GSourceFuncs *funcs, > gpointer user_data); > > >guint g_timeout_add_full (gint priority, > guint interval, > GSourceFunc function, > gpointer data, > GDestroyNotify notify); >guint g_timeout_add (guint interval, > GSourceFunc function, > gpointer data); >guint g_child_watch_add_full (gint priority, > GPid pid, > GChildWatchFunc function, > gpointer data, > GDestroyNotify notify); >guint g_child_watch_add (GPid pid, > GChildWatchFunc function, > gpointer data); >guint g_idle_add (GSourceFunc function, > gpointer data); >guint g_idle_add_full (gint priority, > GSourceFunc function, > gpointer data, > GDestroyNotify notify); >gboolean g_idle_remove_by_data (gpointer data); > > >extern GSourceFuncs g_timeout_funcs; >extern GSourceFuncs g_child_watch_funcs; >extern GSourceFuncs g_idle_funcs; > > ># 32 "/usr/include/glib-2.0/glib/giochannel.h" 2 ># 1 "/usr/include/glib-2.0/glib/gstring.h" 1 ># 31 "/usr/include/glib-2.0/glib/gstring.h" ># 1 "/usr/include/glib-2.0/glib/gunicode.h" 1 ># 28 "/usr/include/glib-2.0/glib/gunicode.h" > > >typedef guint32 gunichar; >typedef guint16 gunichar2; > > > > >typedef enum >{ > G_UNICODE_CONTROL, > G_UNICODE_FORMAT, > G_UNICODE_UNASSIGNED, > G_UNICODE_PRIVATE_USE, > G_UNICODE_SURROGATE, > G_UNICODE_LOWERCASE_LETTER, > G_UNICODE_MODIFIER_LETTER, > G_UNICODE_OTHER_LETTER, > G_UNICODE_TITLECASE_LETTER, > G_UNICODE_UPPERCASE_LETTER, > G_UNICODE_COMBINING_MARK, > G_UNICODE_ENCLOSING_MARK, > G_UNICODE_NON_SPACING_MARK, > G_UNICODE_DECIMAL_NUMBER, > G_UNICODE_LETTER_NUMBER, > G_UNICODE_OTHER_NUMBER, > G_UNICODE_CONNECT_PUNCTUATION, > G_UNICODE_DASH_PUNCTUATION, > G_UNICODE_CLOSE_PUNCTUATION, > G_UNICODE_FINAL_PUNCTUATION, > G_UNICODE_INITIAL_PUNCTUATION, > G_UNICODE_OTHER_PUNCTUATION, > G_UNICODE_OPEN_PUNCTUATION, > G_UNICODE_CURRENCY_SYMBOL, > G_UNICODE_MODIFIER_SYMBOL, > G_UNICODE_MATH_SYMBOL, > G_UNICODE_OTHER_SYMBOL, > G_UNICODE_LINE_SEPARATOR, > G_UNICODE_PARAGRAPH_SEPARATOR, > G_UNICODE_SPACE_SEPARATOR >} GUnicodeType; > > > > > > >typedef enum >{ > G_UNICODE_BREAK_MANDATORY, > G_UNICODE_BREAK_CARRIAGE_RETURN, > G_UNICODE_BREAK_LINE_FEED, > G_UNICODE_BREAK_COMBINING_MARK, > G_UNICODE_BREAK_SURROGATE, > G_UNICODE_BREAK_ZERO_WIDTH_SPACE, > G_UNICODE_BREAK_INSEPARABLE, > G_UNICODE_BREAK_NON_BREAKING_GLUE, > G_UNICODE_BREAK_CONTINGENT, > G_UNICODE_BREAK_SPACE, > G_UNICODE_BREAK_AFTER, > G_UNICODE_BREAK_BEFORE, > G_UNICODE_BREAK_BEFORE_AND_AFTER, > G_UNICODE_BREAK_HYPHEN, > G_UNICODE_BREAK_NON_STARTER, > G_UNICODE_BREAK_OPEN_PUNCTUATION, > G_UNICODE_BREAK_CLOSE_PUNCTUATION, > G_UNICODE_BREAK_QUOTATION, > G_UNICODE_BREAK_EXCLAMATION, > G_UNICODE_BREAK_IDEOGRAPHIC, > G_UNICODE_BREAK_NUMERIC, > G_UNICODE_BREAK_INFIX_SEPARATOR, > G_UNICODE_BREAK_SYMBOL, > G_UNICODE_BREAK_ALPHABETIC, > G_UNICODE_BREAK_PREFIX, > G_UNICODE_BREAK_POSTFIX, > G_UNICODE_BREAK_COMPLEX_CONTEXT, > G_UNICODE_BREAK_AMBIGUOUS, > G_UNICODE_BREAK_UNKNOWN, > G_UNICODE_BREAK_NEXT_LINE, > G_UNICODE_BREAK_WORD_JOINER, > G_UNICODE_BREAK_HANGUL_L_JAMO, > G_UNICODE_BREAK_HANGUL_V_JAMO, > G_UNICODE_BREAK_HANGUL_T_JAMO, > G_UNICODE_BREAK_HANGUL_LV_SYLLABLE, > G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE >} GUnicodeBreakType; > > > > > > > >gboolean g_get_charset (const char **charset); > > > >gboolean g_unichar_isalnum (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isalpha (gunichar c) __attribute__((__const__)); >gboolean g_unichar_iscntrl (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isdigit (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isgraph (gunichar c) __attribute__((__const__)); >gboolean g_unichar_islower (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isprint (gunichar c) __attribute__((__const__)); >gboolean g_unichar_ispunct (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isspace (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isupper (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isxdigit (gunichar c) __attribute__((__const__)); >gboolean g_unichar_istitle (gunichar c) __attribute__((__const__)); >gboolean g_unichar_isdefined (gunichar c) __attribute__((__const__)); >gboolean g_unichar_iswide (gunichar c) __attribute__((__const__)); >gboolean g_unichar_iswide_cjk(gunichar c) __attribute__((__const__)); > > > >gunichar g_unichar_toupper (gunichar c) __attribute__((__const__)); >gunichar g_unichar_tolower (gunichar c) __attribute__((__const__)); >gunichar g_unichar_totitle (gunichar c) __attribute__((__const__)); > > > >gint g_unichar_digit_value (gunichar c) __attribute__((__const__)); > >gint g_unichar_xdigit_value (gunichar c) __attribute__((__const__)); > > >GUnicodeType g_unichar_type (gunichar c) __attribute__((__const__)); > > >GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__((__const__)); > > > > > >void g_unicode_canonical_ordering (gunichar *string, > gsize len); > > > > >gunichar *g_unicode_canonical_decomposition (gunichar ch, > gsize *result_len) __attribute__((__malloc__)); > > > >extern const gchar * const g_utf8_skip; > > > >gunichar g_utf8_get_char (const gchar *p); >gunichar g_utf8_get_char_validated (const gchar *p, > gssize max_len); > >gchar* g_utf8_offset_to_pointer (const gchar *str, > glong offset); >glong g_utf8_pointer_to_offset (const gchar *str, > const gchar *pos); >gchar* g_utf8_prev_char (const gchar *p); >gchar* g_utf8_find_next_char (const gchar *p, > const gchar *end); >gchar* g_utf8_find_prev_char (const gchar *str, > const gchar *p); > >glong g_utf8_strlen (const gchar *p, > gssize max); > > >gchar* g_utf8_strncpy (gchar *dest, > const gchar *src, > gsize n); > > > >gchar* g_utf8_strchr (const gchar *p, > gssize len, > gunichar c); >gchar* g_utf8_strrchr (const gchar *p, > gssize len, > gunichar c); >gchar* g_utf8_strreverse (const gchar *str, > gssize len); > >gunichar2 *g_utf8_to_utf16 (const gchar *str, > glong len, > glong *items_read, > glong *items_written, > GError **error) __attribute__((__malloc__)); >gunichar * g_utf8_to_ucs4 (const gchar *str, > glong len, > glong *items_read, > glong *items_written, > GError **error) __attribute__((__malloc__)); >gunichar * g_utf8_to_ucs4_fast (const gchar *str, > glong len, > glong *items_written) __attribute__((__malloc__)); >gunichar * g_utf16_to_ucs4 (const gunichar2 *str, > glong len, > glong *items_read, > glong *items_written, > GError **error) __attribute__((__malloc__)); >gchar* g_utf16_to_utf8 (const gunichar2 *str, > glong len, > glong *items_read, > glong *items_written, > GError **error) __attribute__((__malloc__)); >gunichar2 *g_ucs4_to_utf16 (const gunichar *str, > glong len, > glong *items_read, > glong *items_written, > GError **error) __attribute__((__malloc__)); >gchar* g_ucs4_to_utf8 (const gunichar *str, > glong len, > glong *items_read, > glong *items_written, > GError **error) __attribute__((__malloc__)); > > > > > >gint g_unichar_to_utf8 (gunichar c, > gchar *outbuf); > > > > > >gboolean g_utf8_validate (const gchar *str, > gssize max_len, > const gchar **end); > > >gboolean g_unichar_validate (gunichar ch); > >gchar *g_utf8_strup (const gchar *str, > gssize len) __attribute__((__malloc__)); >gchar *g_utf8_strdown (const gchar *str, > gssize len) __attribute__((__malloc__)); >gchar *g_utf8_casefold (const gchar *str, > gssize len) __attribute__((__malloc__)); > >typedef enum { > G_NORMALIZE_DEFAULT, > G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT, > G_NORMALIZE_DEFAULT_COMPOSE, > G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE, > G_NORMALIZE_ALL, > G_NORMALIZE_NFKD = G_NORMALIZE_ALL, > G_NORMALIZE_ALL_COMPOSE, > G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE >} GNormalizeMode; > >gchar *g_utf8_normalize (const gchar *str, > gssize len, > GNormalizeMode mode) __attribute__((__malloc__)); > >gint g_utf8_collate (const gchar *str1, > const gchar *str2); >gchar *g_utf8_collate_key (const gchar *str, > gssize len) __attribute__((__malloc__)); >gchar *g_utf8_collate_key_for_filename (const gchar *str, > gssize len) __attribute__((__malloc__)); > >gboolean g_unichar_get_mirror_char (gunichar ch, > gunichar *mirrored_ch); > > > >gchar *_g_utf8_make_valid (const gchar *name); > > > ># 32 "/usr/include/glib-2.0/glib/gstring.h" 2 ># 1 "/usr/include/glib-2.0/glib/gutils.h" 1 ># 33 "/usr/include/glib-2.0/glib/gutils.h" > ># 116 "/usr/include/glib-2.0/glib/gutils.h" >const gchar* g_get_user_name (void); >const gchar* g_get_real_name (void); >const gchar* g_get_home_dir (void); >const gchar* g_get_tmp_dir (void); >const gchar* g_get_host_name (void); >gchar* g_get_prgname (void); >void g_set_prgname (const gchar *prgname); >const gchar* g_get_application_name (void); >void g_set_application_name (const gchar *application_name); > >const gchar* g_get_user_data_dir (void); >const gchar* g_get_user_config_dir (void); >const gchar* g_get_user_cache_dir (void); >const gchar* const * g_get_system_data_dirs (void); ># 144 "/usr/include/glib-2.0/glib/gutils.h" >const gchar* const * g_get_system_config_dirs (void); > >const gchar* const * g_get_language_names (void); > >typedef struct _GDebugKey GDebugKey; >struct _GDebugKey >{ > gchar *key; > guint value; >}; > > > >guint g_parse_debug_string (const gchar *string, > const GDebugKey *keys, > guint nkeys); > >gint g_snprintf (gchar *string, > gulong n, > gchar const *format, > ...) __attribute__((__format__ (__printf__, 3, 4))); >gint g_vsnprintf (gchar *string, > gulong n, > gchar const *format, > va_list args); > > >gboolean g_path_is_absolute (const gchar *file_name); > > >const gchar* g_path_skip_root (const gchar *file_name); > > > > > > > >const gchar* g_basename (const gchar *file_name); ># 192 "/usr/include/glib-2.0/glib/gutils.h" >gchar* g_get_current_dir (void); >gchar* g_path_get_basename (const gchar *file_name) __attribute__((__malloc__)); >gchar* g_path_get_dirname (const gchar *file_name) __attribute__((__malloc__)); > > >void g_nullify_pointer (gpointer *nullify_location); ># 208 "/usr/include/glib-2.0/glib/gutils.h" >const gchar* g_getenv (const gchar *variable); >gboolean g_setenv (const gchar *variable, > const gchar *value, > gboolean overwrite); >void g_unsetenv (const gchar *variable); >gchar** g_listenv (void); >const gchar* _g_getenv_nomalloc (const gchar *variable, > gchar buffer[1024]); > > > > > >typedef void (*GVoidFunc) (void); ># 232 "/usr/include/glib-2.0/glib/gutils.h" >void g_atexit (GVoidFunc func); ># 246 "/usr/include/glib-2.0/glib/gutils.h" >gchar* g_find_program_in_path (const gchar *program); > > > >extern inline gint g_bit_nth_lsf (gulong mask, > gint nth_bit) __attribute__((__const__)); >extern inline gint g_bit_nth_msf (gulong mask, > gint nth_bit) __attribute__((__const__)); >extern inline guint g_bit_storage (gulong number) __attribute__((__const__)); > > > > >typedef struct _GTrashStack GTrashStack; >struct _GTrashStack >{ > GTrashStack *next; >}; > >extern inline void g_trash_stack_push (GTrashStack **stack_p, > gpointer data_p); >extern inline gpointer g_trash_stack_pop (GTrashStack **stack_p); >extern inline gpointer g_trash_stack_peek (GTrashStack **stack_p); >extern inline guint g_trash_stack_height (GTrashStack **stack_p); > > > > >extern inline gint >g_bit_nth_lsf (gulong mask, > gint nth_bit) >{ > if ((__builtin_expect (__extension__ ({ int _g_boolean_var_; if (nth_bit < -1) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 0))) > nth_bit = -1; > while (nth_bit < ((8 * 8) - 1)) > { > nth_bit++; > if (mask & (1UL << nth_bit)) > return nth_bit; > } > return -1; >} >extern inline gint >g_bit_nth_msf (gulong mask, > gint nth_bit) >{ > if (nth_bit < 0 || (__builtin_expect (__extension__ ({ int _g_boolean_var_; if (nth_bit > 8 * 8) _g_boolean_var_ = 1; else _g_boolean_var_ = 0; _g_boolean_var_; }), 0))) > nth_bit = 8 * 8; > while (nth_bit > 0) > { > nth_bit--; > if (mask & (1UL << nth_bit)) > return nth_bit; > } > return -1; >} >extern inline guint >g_bit_storage (gulong number) >{ > > return number ? 8 * 8 - __builtin_clzl(number) : 1; ># 318 "/usr/include/glib-2.0/glib/gutils.h" >} >extern inline void >g_trash_stack_push (GTrashStack **stack_p, > gpointer data_p) >{ > GTrashStack *data = (GTrashStack *) data_p; > > data->next = *stack_p; > *stack_p = data; >} >extern inline gpointer >g_trash_stack_pop (GTrashStack **stack_p) >{ > GTrashStack *data; > > data = *stack_p; > if (data) > { > *stack_p = data->next; > > > > data->next = ((void *)0); > } > > return data; >} >extern inline gpointer >g_trash_stack_peek (GTrashStack **stack_p) >{ > GTrashStack *data; > > data = *stack_p; > > return data; >} >extern inline guint >g_trash_stack_height (GTrashStack **stack_p) >{ > GTrashStack *data; > guint i = 0; > > for (data = *stack_p; data; data = data->next) > i++; > > return i; >} > > > > > > >extern const guint glib_major_version; >extern const guint glib_minor_version; >extern const guint glib_micro_version; >extern const guint glib_interface_age; >extern const guint glib_binary_age; > >const gchar * glib_check_version (guint required_major, > guint required_minor, > guint required_micro); > > > > > > > > ># 33 "/usr/include/glib-2.0/glib/gstring.h" 2 > > > >typedef struct _GString GString; >typedef struct _GStringChunk GStringChunk; > >struct _GString >{ > gchar *str; > gsize len; > gsize allocated_len; >}; > > > >GStringChunk* g_string_chunk_new (gsize size); >void g_string_chunk_free (GStringChunk *chunk); >gchar* g_string_chunk_insert (GStringChunk *chunk, > const gchar *string); >gchar* g_string_chunk_insert_len (GStringChunk *chunk, > const gchar *string, > gssize len); >gchar* g_string_chunk_insert_const (GStringChunk *chunk, > const gchar *string); > > > > >GString* g_string_new (const gchar *init); >GString* g_string_new_len (const gchar *init, > gssize len); >GString* g_string_sized_new (gsize dfl_size); >gchar* g_string_free (GString *string, > gboolean free_segment); >gboolean g_string_equal (const GString *v, > const GString *v2); >guint g_string_hash (const GString *str); >GString* g_string_assign (GString *string, > const gchar *rval); >GString* g_string_truncate (GString *string, > gsize len); >GString* g_string_set_size (GString *string, > gsize len); >GString* g_string_insert_len (GString *string, > gssize pos, > const gchar *val, > gssize len); >GString* g_string_append (GString *string, > const gchar *val); >GString* g_string_append_len (GString *string, > const gchar *val, > gssize len); >GString* g_string_append_c (GString *string, > gchar c); >GString* g_string_append_unichar (GString *string, > gunichar wc); >GString* g_string_prepend (GString *string, > const gchar *val); >GString* g_string_prepend_c (GString *string, > gchar c); >GString* g_string_prepend_unichar (GString *string, > gunichar wc); >GString* g_string_prepend_len (GString *string, > const gchar *val, > gssize len); >GString* g_string_insert (GString *string, > gssize pos, > const gchar *val); >GString* g_string_insert_c (GString *string, > gssize pos, > gchar c); >GString* g_string_insert_unichar (GString *string, > gssize pos, > gunichar wc); >GString* g_string_erase (GString *string, > gssize pos, > gssize len); >GString* g_string_ascii_down (GString *string); >GString* g_string_ascii_up (GString *string); >void g_string_printf (GString *string, > const gchar *format, > ...) __attribute__((__format__ (__printf__, 2, 3))); >void g_string_append_printf (GString *string, > const gchar *format, > ...) __attribute__((__format__ (__printf__, 2, 3))); > > > >static inline GString* >g_string_append_c_inline (GString *gstring, > gchar c) >{ > if (gstring->len + 1 < gstring->allocated_len) > { > gstring->str[gstring->len++] = c; > gstring->str[gstring->len] = 0; > } > else > g_string_insert_c (gstring, -1, c); > return gstring; >} ># 145 "/usr/include/glib-2.0/glib/gstring.h" >GString* g_string_down (GString *string); >GString* g_string_up (GString *string); > > > > > > > > ># 33 "/usr/include/glib-2.0/glib/giochannel.h" 2 > > > > > > >typedef struct _GIOChannel GIOChannel; >typedef struct _GIOFuncs GIOFuncs; > >typedef enum >{ > G_IO_ERROR_NONE, > G_IO_ERROR_AGAIN, > G_IO_ERROR_INVAL, > G_IO_ERROR_UNKNOWN >} GIOError; > > > >typedef enum >{ > > G_IO_CHANNEL_ERROR_FBIG, > G_IO_CHANNEL_ERROR_INVAL, > G_IO_CHANNEL_ERROR_IO, > G_IO_CHANNEL_ERROR_ISDIR, > G_IO_CHANNEL_ERROR_NOSPC, > G_IO_CHANNEL_ERROR_NXIO, > G_IO_CHANNEL_ERROR_OVERFLOW, > G_IO_CHANNEL_ERROR_PIPE, > > G_IO_CHANNEL_ERROR_FAILED >} GIOChannelError; > >typedef enum >{ > G_IO_STATUS_ERROR, > G_IO_STATUS_NORMAL, > G_IO_STATUS_EOF, > G_IO_STATUS_AGAIN >} GIOStatus; > >typedef enum >{ > G_SEEK_CUR, > G_SEEK_SET, > G_SEEK_END >} GSeekType; > >typedef enum >{ > G_IO_IN =1, > G_IO_OUT =4, > G_IO_PRI =2, > G_IO_ERR =8, > G_IO_HUP =16, > G_IO_NVAL =32 >} GIOCondition; > >typedef enum >{ > G_IO_FLAG_APPEND = 1 << 0, > G_IO_FLAG_NONBLOCK = 1 << 1, > G_IO_FLAG_IS_READABLE = 1 << 2, > G_IO_FLAG_IS_WRITEABLE = 1 << 3, > G_IO_FLAG_IS_SEEKABLE = 1 << 4, > G_IO_FLAG_MASK = (1 << 5) - 1, > G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK, > G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK >} GIOFlags; > >struct _GIOChannel >{ > > gint ref_count; > GIOFuncs *funcs; > > gchar *encoding; > GIConv read_cd; > GIConv write_cd; > gchar *line_term; > guint line_term_len; > > gsize buf_size; > GString *read_buf; > GString *encoded_read_buf; > GString *write_buf; > gchar partial_write_buf[6]; > > > > guint use_buffer : 1; > guint do_encode : 1; > guint close_on_unref : 1; > guint is_readable : 1; > guint is_writeable : 1; > guint is_seekable : 1; > > gpointer reserved1; > gpointer reserved2; >}; > >typedef gboolean (*GIOFunc) (GIOChannel *source, > GIOCondition condition, > gpointer data); >struct _GIOFuncs >{ > GIOStatus (*io_read) (GIOChannel *channel, > gchar *buf, > gsize count, > gsize *bytes_read, > GError **err); > GIOStatus (*io_write) (GIOChannel *channel, > const gchar *buf, > gsize count, > gsize *bytes_written, > GError **err); > GIOStatus (*io_seek) (GIOChannel *channel, > gint64 offset, > GSeekType type, > GError **err); > GIOStatus (*io_close) (GIOChannel *channel, > GError **err); > GSource* (*io_create_watch) (GIOChannel *channel, > GIOCondition condition); > void (*io_free) (GIOChannel *channel); > GIOStatus (*io_set_flags) (GIOChannel *channel, > GIOFlags flags, > GError **err); > GIOFlags (*io_get_flags) (GIOChannel *channel); >}; > >void g_io_channel_init (GIOChannel *channel); >GIOChannel *g_io_channel_ref (GIOChannel *channel); >void g_io_channel_unref (GIOChannel *channel); > > >GIOError g_io_channel_read (GIOChannel *channel, > gchar *buf, > gsize count, > gsize *bytes_read); >GIOError g_io_channel_write (GIOChannel *channel, > const gchar *buf, > gsize count, > gsize *bytes_written); >GIOError g_io_channel_seek (GIOChannel *channel, > gint64 offset, > GSeekType type); >void g_io_channel_close (GIOChannel *channel); > > >GIOStatus g_io_channel_shutdown (GIOChannel *channel, > gboolean flush, > GError **err); >guint g_io_add_watch_full (GIOChannel *channel, > gint priority, > GIOCondition condition, > GIOFunc func, > gpointer user_data, > GDestroyNotify notify); >GSource * g_io_create_watch (GIOChannel *channel, > GIOCondition condition); >guint g_io_add_watch (GIOChannel *channel, > GIOCondition condition, > GIOFunc func, > gpointer user_data); > > > > >void g_io_channel_set_buffer_size (GIOChannel *channel, > gsize size); >gsize g_io_channel_get_buffer_size (GIOChannel *channel); >GIOCondition g_io_channel_get_buffer_condition (GIOChannel *channel); >GIOStatus g_io_channel_set_flags (GIOChannel *channel, > GIOFlags flags, > GError **error); >GIOFlags g_io_channel_get_flags (GIOChannel *channel); >void g_io_channel_set_line_term (GIOChannel *channel, > const gchar *line_term, > gint length); >const gchar* g_io_channel_get_line_term (GIOChannel *channel, > gint *length); >void g_io_channel_set_buffered (GIOChannel *channel, > gboolean buffered); >gboolean g_io_channel_get_buffered (GIOChannel *channel); >GIOStatus g_io_channel_set_encoding (GIOChannel *channel, > const gchar *encoding, > GError **error); >const gchar* g_io_channel_get_encoding (GIOChannel *channel); >void g_io_channel_set_close_on_unref (GIOChannel *channel, > gboolean do_close); >gboolean g_io_channel_get_close_on_unref (GIOChannel *channel); > > >GIOStatus g_io_channel_flush (GIOChannel *channel, > GError **error); >GIOStatus g_io_channel_read_line (GIOChannel *channel, > gchar **str_return, > gsize *length, > gsize *terminator_pos, > GError **error); >GIOStatus g_io_channel_read_line_string (GIOChannel *channel, > GString *buffer, > gsize *terminator_pos, > GError **error); >GIOStatus g_io_channel_read_to_end (GIOChannel *channel, > gchar **str_return, > gsize *length, > GError **error); >GIOStatus g_io_channel_read_chars (GIOChannel *channel, > gchar *buf, > gsize count, > gsize *bytes_read, > GError **error); >GIOStatus g_io_channel_read_unichar (GIOChannel *channel, > gunichar *thechar, > GError **error); >GIOStatus g_io_channel_write_chars (GIOChannel *channel, > const gchar *buf, > gssize count, > gsize *bytes_written, > GError **error); >GIOStatus g_io_channel_write_unichar (GIOChannel *channel, > gunichar thechar, > GError **error); >GIOStatus g_io_channel_seek_position (GIOChannel *channel, > gint64 offset, > GSeekType type, > GError **error); > > > > >GIOChannel* g_io_channel_new_file (const gchar *filename, > const gchar *mode, > GError **error); > > > >GQuark g_io_channel_error_quark (void); >GIOChannelError g_io_channel_error_from_errno (gint en); ># 294 "/usr/include/glib-2.0/glib/giochannel.h" >GIOChannel* g_io_channel_unix_new (int fd); >gint g_io_channel_unix_get_fd (GIOChannel *channel); > > > >extern GSourceFuncs g_io_watch_funcs; ># 352 "/usr/include/glib-2.0/glib/giochannel.h" > ># 48 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gkeyfile.h" 1 ># 28 "/usr/include/glib-2.0/glib/gkeyfile.h" > > >typedef enum >{ > G_KEY_FILE_ERROR_UNKNOWN_ENCODING, > G_KEY_FILE_ERROR_PARSE, > G_KEY_FILE_ERROR_NOT_FOUND, > G_KEY_FILE_ERROR_KEY_NOT_FOUND, > G_KEY_FILE_ERROR_GROUP_NOT_FOUND, > G_KEY_FILE_ERROR_INVALID_VALUE >} GKeyFileError; > > > >GQuark g_key_file_error_quark (void); > >typedef struct _GKeyFile GKeyFile; > >typedef enum >{ > G_KEY_FILE_NONE = 0, > G_KEY_FILE_KEEP_COMMENTS = 1 << 0, > G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1 >} GKeyFileFlags; > >GKeyFile *g_key_file_new (void); >void g_key_file_free (GKeyFile *key_file); >void g_key_file_set_list_separator (GKeyFile *key_file, > gchar separator); >gboolean g_key_file_load_from_file (GKeyFile *key_file, > const gchar *file, > GKeyFileFlags flags, > GError **error); >gboolean g_key_file_load_from_data (GKeyFile *key_file, > const gchar *data, > gsize length, > GKeyFileFlags flags, > GError **error); >gboolean g_key_file_load_from_data_dirs (GKeyFile *key_file, > const gchar *file, > gchar **full_path, > GKeyFileFlags flags, > GError **error); >gchar *g_key_file_to_data (GKeyFile *key_file, > gsize *length, > GError **error) __attribute__((__malloc__)); >gchar *g_key_file_get_start_group (GKeyFile *key_file) __attribute__((__malloc__)); >gchar **g_key_file_get_groups (GKeyFile *key_file, > gsize *length) __attribute__((__malloc__)); >gchar **g_key_file_get_keys (GKeyFile *key_file, > const gchar *group_name, > gsize *length, > GError **error) __attribute__((__malloc__)); >gboolean g_key_file_has_group (GKeyFile *key_file, > const gchar *group_name); >gboolean g_key_file_has_key (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > GError **error); >gchar *g_key_file_get_value (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > GError **error) __attribute__((__malloc__)); >void g_key_file_set_value (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > const gchar *value); >gchar *g_key_file_get_string (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > GError **error) __attribute__((__malloc__)); >void g_key_file_set_string (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > const gchar *string); >gchar *g_key_file_get_locale_string (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > const gchar *locale, > GError **error) __attribute__((__malloc__)); >void g_key_file_set_locale_string (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > const gchar *locale, > const gchar *string); >gboolean g_key_file_get_boolean (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > GError **error); >void g_key_file_set_boolean (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > gboolean value); >gint g_key_file_get_integer (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > GError **error); >void g_key_file_set_integer (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > gint value); >gdouble g_key_file_get_double (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > GError **error); >void g_key_file_set_double (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > gdouble value); >gchar **g_key_file_get_string_list (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > gsize *length, > GError **error) __attribute__((__malloc__)); >void g_key_file_set_string_list (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > const gchar * const list[], > gsize length); >gchar **g_key_file_get_locale_string_list (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > const gchar *locale, > gsize *length, > GError **error) __attribute__((__malloc__)); >void g_key_file_set_locale_string_list (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > const gchar *locale, > const gchar * const list[], > gsize length); >gboolean *g_key_file_get_boolean_list (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > gsize *length, > GError **error) __attribute__((__malloc__)); >void g_key_file_set_boolean_list (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > gboolean list[], > gsize length); >gint *g_key_file_get_integer_list (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > gsize *length, > GError **error) __attribute__((__malloc__)); >void g_key_file_set_double_list (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > gdouble list[], > gsize length); >gdouble *g_key_file_get_double_list (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > gsize *length, > GError **error) __attribute__((__malloc__)); >void g_key_file_set_integer_list (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > gint list[], > gsize length); >void g_key_file_set_comment (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > const gchar *comment, > GError **error); >gchar *g_key_file_get_comment (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > GError **error) __attribute__((__malloc__)); > >void g_key_file_remove_comment (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > GError **error); >void g_key_file_remove_key (GKeyFile *key_file, > const gchar *group_name, > const gchar *key, > GError **error); >void g_key_file_remove_group (GKeyFile *key_file, > const gchar *group_name, > GError **error); > > ># 49 "/usr/include/glib-2.0/glib.h" 2 > > > ># 1 "/usr/include/glib-2.0/glib/gmappedfile.h" 1 ># 26 "/usr/include/glib-2.0/glib/gmappedfile.h" > > >typedef struct _GMappedFile GMappedFile; > >GMappedFile *g_mapped_file_new (const gchar *filename, > gboolean writable, > GError **error) __attribute__((__malloc__)); >gsize g_mapped_file_get_length (GMappedFile *file); >gchar *g_mapped_file_get_contents (GMappedFile *file); >void g_mapped_file_free (GMappedFile *file); > > ># 53 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gmarkup.h" 1 ># 28 "/usr/include/glib-2.0/glib/gmarkup.h" > > >typedef enum >{ > G_MARKUP_ERROR_BAD_UTF8, > G_MARKUP_ERROR_EMPTY, > G_MARKUP_ERROR_PARSE, > > > > G_MARKUP_ERROR_UNKNOWN_ELEMENT, > G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE, > G_MARKUP_ERROR_INVALID_CONTENT >} GMarkupError; > > > >GQuark g_markup_error_quark (void); > >typedef enum >{ > G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0, > G_MARKUP_TREAT_CDATA_AS_TEXT = 1 << 1 >} GMarkupParseFlags; > >typedef struct _GMarkupParseContext GMarkupParseContext; >typedef struct _GMarkupParser GMarkupParser; > >struct _GMarkupParser >{ > > void (*start_element) (GMarkupParseContext *context, > const gchar *element_name, > const gchar **attribute_names, > const gchar **attribute_values, > gpointer user_data, > GError **error); > > > void (*end_element) (GMarkupParseContext *context, > const gchar *element_name, > gpointer user_data, > GError **error); > > > > void (*text) (GMarkupParseContext *context, > const gchar *text, > gsize text_len, > gpointer user_data, > GError **error); > > > > > > > void (*passthrough) (GMarkupParseContext *context, > const gchar *passthrough_text, > gsize text_len, > gpointer user_data, > GError **error); > > > > > void (*error) (GMarkupParseContext *context, > GError *error, > gpointer user_data); >}; > >GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser, > GMarkupParseFlags flags, > gpointer user_data, > GDestroyNotify user_data_dnotify); >void g_markup_parse_context_free (GMarkupParseContext *context); >gboolean g_markup_parse_context_parse (GMarkupParseContext *context, > const gchar *text, > gssize text_len, > GError **error); > >gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context, > GError **error); >const gchar *g_markup_parse_context_get_element (GMarkupParseContext *context); > > >void g_markup_parse_context_get_position (GMarkupParseContext *context, > gint *line_number, > gint *char_number); > > >gchar* g_markup_escape_text (const gchar *text, > gssize length); > >gchar *g_markup_printf_escaped (const char *format, > ...) __attribute__((__format__ (__printf__, 1, 2))); >gchar *g_markup_vprintf_escaped (const char *format, > va_list args); > > ># 54 "/usr/include/glib-2.0/glib.h" 2 > ># 1 "/usr/include/glib-2.0/glib/gmessages.h" 1 ># 37 "/usr/include/glib-2.0/glib/gmessages.h" > ># 38 "/usr/include/glib-2.0/glib/gmessages.h" 3 > > > > > > >gsize g_printf_string_upper_bound (const gchar* format, > va_list args); ># 54 "/usr/include/glib-2.0/glib/gmessages.h" 3 >typedef enum >{ > > G_LOG_FLAG_RECURSION = 1 << 0, > G_LOG_FLAG_FATAL = 1 << 1, > > > G_LOG_LEVEL_ERROR = 1 << 2, > G_LOG_LEVEL_CRITICAL = 1 << 3, > G_LOG_LEVEL_WARNING = 1 << 4, > G_LOG_LEVEL_MESSAGE = 1 << 5, > G_LOG_LEVEL_INFO = 1 << 6, > G_LOG_LEVEL_DEBUG = 1 << 7, > > G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL) >} GLogLevelFlags; > > > > >typedef void (*GLogFunc) (const gchar *log_domain, > GLogLevelFlags log_level, > const gchar *message, > gpointer user_data); > > > >guint g_log_set_handler (const gchar *log_domain, > GLogLevelFlags log_levels, > GLogFunc log_func, > gpointer user_data); >void g_log_remove_handler (const gchar *log_domain, > guint handler_id); >void g_log_default_handler (const gchar *log_domain, > GLogLevelFlags log_level, > const gchar *message, > gpointer unused_data); >GLogFunc g_log_set_default_handler (GLogFunc log_func, > gpointer user_data); >void g_log (const gchar *log_domain, > GLogLevelFlags log_level, > const gchar *format, > ...) __attribute__((__format__ (__printf__, 3, 4))); >void g_logv (const gchar *log_domain, > GLogLevelFlags log_level, > const gchar *format, > va_list args); >GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain, > GLogLevelFlags fatal_mask); >GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask); > > >void _g_log_fallback_handler (const gchar *log_domain, > GLogLevelFlags log_level, > const gchar *message, > gpointer unused_data) __attribute__((visibility("hidden"))); > > >void g_return_if_fail_warning (const char *log_domain, > const char *pretty_function, > const char *expression); >void g_assert_warning (const char *log_domain, > const char *file, > const int line, > const char *pretty_function, > const char *expression) __attribute__((__noreturn__)); ># 205 "/usr/include/glib-2.0/glib/gmessages.h" 3 >typedef void (*GPrintFunc) (const gchar *string); >void g_print (const gchar *format, > ...) __attribute__((__format__ (__printf__, 1, 2))); >GPrintFunc g_set_print_handler (GPrintFunc func); >void g_printerr (const gchar *format, > ...) __attribute__((__format__ (__printf__, 1, 2))); >GPrintFunc g_set_printerr_handler (GPrintFunc func); ># 361 "/usr/include/glib-2.0/glib/gmessages.h" 3 > ># 56 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gnode.h" 1 ># 32 "/usr/include/glib-2.0/glib/gnode.h" > > >typedef struct _GNode GNode; > > >typedef enum >{ > G_TRAVERSE_LEAVES = 1 << 0, > G_TRAVERSE_NON_LEAVES = 1 << 1, > G_TRAVERSE_ALL = G_TRAVERSE_LEAVES | G_TRAVERSE_NON_LEAVES, > G_TRAVERSE_MASK = 0x03, > G_TRAVERSE_LEAFS = G_TRAVERSE_LEAVES, > G_TRAVERSE_NON_LEAFS = G_TRAVERSE_NON_LEAVES >} GTraverseFlags; > > >typedef enum >{ > G_IN_ORDER, > G_PRE_ORDER, > G_POST_ORDER, > G_LEVEL_ORDER >} GTraverseType; > >typedef gboolean (*GNodeTraverseFunc) (GNode *node, > gpointer data); >typedef void (*GNodeForeachFunc) (GNode *node, > gpointer data); >typedef gpointer (*GCopyFunc) (gconstpointer src, > gpointer data); > > > >struct _GNode >{ > gpointer data; > GNode *next; > GNode *prev; > GNode *parent; > GNode *children; >}; > > > > > > >GNode* g_node_new (gpointer data); >void g_node_destroy (GNode *root); >void g_node_unlink (GNode *node); >GNode* g_node_copy_deep (GNode *node, > GCopyFunc copy_func, > gpointer data); >GNode* g_node_copy (GNode *node); >GNode* g_node_insert (GNode *parent, > gint position, > GNode *node); >GNode* g_node_insert_before (GNode *parent, > GNode *sibling, > GNode *node); >GNode* g_node_insert_after (GNode *parent, > GNode *sibling, > GNode *node); >GNode* g_node_prepend (GNode *parent, > GNode *node); >guint g_node_n_nodes (GNode *root, > GTraverseFlags flags); >GNode* g_node_get_root (GNode *node); >gboolean g_node_is_ancestor (GNode *node, > GNode *descendant); >guint g_node_depth (GNode *node); >GNode* g_node_find (GNode *root, > GTraverseType order, > GTraverseFlags flags, > gpointer data); ># 125 "/usr/include/glib-2.0/glib/gnode.h" >void g_node_traverse (GNode *root, > GTraverseType order, > GTraverseFlags flags, > gint max_depth, > GNodeTraverseFunc func, > gpointer data); > > > > > > >guint g_node_max_height (GNode *root); > >void g_node_children_foreach (GNode *node, > GTraverseFlags flags, > GNodeForeachFunc func, > gpointer data); >void g_node_reverse_children (GNode *node); >guint g_node_n_children (GNode *node); >GNode* g_node_nth_child (GNode *node, > guint n); >GNode* g_node_last_child (GNode *node); >GNode* g_node_find_child (GNode *node, > GTraverseFlags flags, > gpointer data); >gint g_node_child_position (GNode *node, > GNode *child); >gint g_node_child_index (GNode *node, > gpointer data); > >GNode* g_node_first_sibling (GNode *node); >GNode* g_node_last_sibling (GNode *node); ># 167 "/usr/include/glib-2.0/glib/gnode.h" >void g_node_push_allocator (gpointer dummy); >void g_node_pop_allocator (void); > > ># 57 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/goption.h" 1 ># 27 "/usr/include/glib-2.0/glib/goption.h" > > >typedef struct _GOptionContext GOptionContext; >typedef struct _GOptionGroup GOptionGroup; >typedef struct _GOptionEntry GOptionEntry; > >typedef enum >{ > G_OPTION_FLAG_HIDDEN = 1 << 0, > G_OPTION_FLAG_IN_MAIN = 1 << 1, > G_OPTION_FLAG_REVERSE = 1 << 2, > G_OPTION_FLAG_NO_ARG = 1 << 3, > G_OPTION_FLAG_FILENAME = 1 << 4, > G_OPTION_FLAG_OPTIONAL_ARG = 1 << 5, > G_OPTION_FLAG_NOALIAS = 1 << 6 >} GOptionFlags; > >typedef enum >{ > G_OPTION_ARG_NONE, > G_OPTION_ARG_STRING, > G_OPTION_ARG_INT, > G_OPTION_ARG_CALLBACK, > G_OPTION_ARG_FILENAME, > G_OPTION_ARG_STRING_ARRAY, > G_OPTION_ARG_FILENAME_ARRAY, > G_OPTION_ARG_DOUBLE, > G_OPTION_ARG_INT64 >} GOptionArg; > >typedef gboolean (*GOptionArgFunc) (const gchar *option_name, > const gchar *value, > gpointer data, > GError **error); > >typedef gboolean (*GOptionParseFunc) (GOptionContext *context, > GOptionGroup *group, > gpointer data, > GError **error); > >typedef void (*GOptionErrorFunc) (GOptionContext *context, > GOptionGroup *group, > gpointer data, > GError **error); > > > >typedef enum >{ > G_OPTION_ERROR_UNKNOWN_OPTION, > G_OPTION_ERROR_BAD_VALUE, > G_OPTION_ERROR_FAILED >} GOptionError; > >GQuark g_option_error_quark (void); > > >struct _GOptionEntry >{ > const gchar *long_name; > gchar short_name; > gint flags; > > GOptionArg arg; > gpointer arg_data; > > const gchar *description; > const gchar *arg_description; >}; > > > >GOptionContext *g_option_context_new (const gchar *parameter_string); >void g_option_context_set_summary (GOptionContext *context, > const gchar *summary); >const gchar *g_option_context_get_summary (GOptionContext *context); >void g_option_context_set_description (GOptionContext *context, > const gchar *description); >const gchar *g_option_context_get_description (GOptionContext *context); >void g_option_context_free (GOptionContext *context); >void g_option_context_set_help_enabled (GOptionContext *context, > gboolean help_enabled); >gboolean g_option_context_get_help_enabled (GOptionContext *context); >void g_option_context_set_ignore_unknown_options (GOptionContext *context, > gboolean ignore_unknown); >gboolean g_option_context_get_ignore_unknown_options (GOptionContext *context); > >void g_option_context_add_main_entries (GOptionContext *context, > const GOptionEntry *entries, > const gchar *translation_domain); >gboolean g_option_context_parse (GOptionContext *context, > gint *argc, > gchar ***argv, > GError **error); >void g_option_context_set_translate_func (GOptionContext *context, > GTranslateFunc func, > gpointer data, > GDestroyNotify destroy_notify); >void g_option_context_set_translation_domain (GOptionContext *context, > const gchar *domain); > >void g_option_context_add_group (GOptionContext *context, > GOptionGroup *group); >void g_option_context_set_main_group (GOptionContext *context, > GOptionGroup *group); >GOptionGroup *g_option_context_get_main_group (GOptionContext *context); > > >GOptionGroup *g_option_group_new (const gchar *name, > const gchar *description, > const gchar *help_description, > gpointer user_data, > GDestroyNotify destroy); >void g_option_group_set_parse_hooks (GOptionGroup *group, > GOptionParseFunc pre_parse_func, > GOptionParseFunc post_parse_func); >void g_option_group_set_error_hook (GOptionGroup *group, > GOptionErrorFunc error_func); >void g_option_group_free (GOptionGroup *group); >void g_option_group_add_entries (GOptionGroup *group, > const GOptionEntry *entries); >void g_option_group_set_translate_func (GOptionGroup *group, > GTranslateFunc func, > gpointer data, > GDestroyNotify destroy_notify); >void g_option_group_set_translation_domain (GOptionGroup *group, > const gchar *domain); > > > ># 58 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gpattern.h" 1 ># 24 "/usr/include/glib-2.0/glib/gpattern.h" > > > >typedef struct _GPatternSpec GPatternSpec; > >GPatternSpec* g_pattern_spec_new (const gchar *pattern); >void g_pattern_spec_free (GPatternSpec *pspec); >gboolean g_pattern_spec_equal (GPatternSpec *pspec1, > GPatternSpec *pspec2); >gboolean g_pattern_match (GPatternSpec *pspec, > guint string_length, > const gchar *string, > const gchar *string_reversed); >gboolean g_pattern_match_string (GPatternSpec *pspec, > const gchar *string); >gboolean g_pattern_match_simple (const gchar *pattern, > const gchar *string); > > ># 59 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gprimes.h" 1 ># 32 "/usr/include/glib-2.0/glib/gprimes.h" > ># 43 "/usr/include/glib-2.0/glib/gprimes.h" >guint g_spaced_primes_closest (guint num) __attribute__((__const__)); > > ># 60 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gqsort.h" 1 ># 33 "/usr/include/glib-2.0/glib/gqsort.h" > > >void g_qsort_with_data (gconstpointer pbase, > gint total_elems, > gsize size, > GCompareDataFunc compare_func, > gpointer user_data); > > ># 61 "/usr/include/glib-2.0/glib.h" 2 > ># 1 "/usr/include/glib-2.0/glib/gqueue.h" 1 ># 32 "/usr/include/glib-2.0/glib/gqueue.h" > > >typedef struct _GQueue GQueue; > >struct _GQueue >{ > GList *head; > GList *tail; > guint length; >}; > > > >GQueue* g_queue_new (void); >void g_queue_free (GQueue *queue); >gboolean g_queue_is_empty (GQueue *queue); >guint g_queue_get_length (GQueue *queue); >void g_queue_reverse (GQueue *queue); >GQueue * g_queue_copy (GQueue *queue); >void g_queue_foreach (GQueue *queue, > GFunc func, > gpointer user_data); >GList * g_queue_find (GQueue *queue, > gconstpointer data); >GList * g_queue_find_custom (GQueue *queue, > gconstpointer data, > GCompareFunc func); >void g_queue_sort (GQueue *queue, > GCompareDataFunc compare_func, > gpointer user_data); > >void g_queue_push_head (GQueue *queue, > gpointer data); >void g_queue_push_tail (GQueue *queue, > gpointer data); >void g_queue_push_nth (GQueue *queue, > gpointer data, > gint n); >gpointer g_queue_pop_head (GQueue *queue); >gpointer g_queue_pop_tail (GQueue *queue); >gpointer g_queue_pop_nth (GQueue *queue, > guint n); >gpointer g_queue_peek_head (GQueue *queue); >gpointer g_queue_peek_tail (GQueue *queue); >gpointer g_queue_peek_nth (GQueue *queue, > guint n); >gint g_queue_index (GQueue *queue, > gconstpointer data); >void g_queue_remove (GQueue *queue, > gconstpointer data); >void g_queue_remove_all (GQueue *queue, > gconstpointer data); >void g_queue_insert_before (GQueue *queue, > GList *sibling, > gpointer data); >void g_queue_insert_after (GQueue *queue, > GList *sibling, > gpointer data); >void g_queue_insert_sorted (GQueue *queue, > gpointer data, > GCompareDataFunc func, > gpointer user_data); > >void g_queue_push_head_link (GQueue *queue, > GList *link_); >void g_queue_push_tail_link (GQueue *queue, > GList *link_); >void g_queue_push_nth_link (GQueue *queue, > gint n, > GList *link_); >GList* g_queue_pop_head_link (GQueue *queue); >GList* g_queue_pop_tail_link (GQueue *queue); >GList* g_queue_pop_nth_link (GQueue *queue, > guint n); >GList* g_queue_peek_head_link (GQueue *queue); >GList* g_queue_peek_tail_link (GQueue *queue); >GList* g_queue_peek_nth_link (GQueue *queue, > guint n); >gint g_queue_link_index (GQueue *queue, > GList *link_); >void g_queue_unlink (GQueue *queue, > GList *link_); >void g_queue_delete_link (GQueue *queue, > GList *link_); > > ># 63 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/grand.h" 1 ># 32 "/usr/include/glib-2.0/glib/grand.h" > > >typedef struct _GRand GRand; ># 45 "/usr/include/glib-2.0/glib/grand.h" >GRand* g_rand_new_with_seed (guint32 seed); >GRand* g_rand_new_with_seed_array (const guint32 *seed, > guint seed_length); >GRand* g_rand_new (void); >void g_rand_free (GRand *rand_); >GRand* g_rand_copy (GRand *rand_); >void g_rand_set_seed (GRand *rand_, > guint32 seed); >void g_rand_set_seed_array (GRand *rand_, > const guint32 *seed, > guint seed_length); > > > >guint32 g_rand_int (GRand *rand_); >gint32 g_rand_int_range (GRand *rand_, > gint32 begin, > gint32 end); >gdouble g_rand_double (GRand *rand_); >gdouble g_rand_double_range (GRand *rand_, > gdouble begin, > gdouble end); >void g_random_set_seed (guint32 seed); > > > >guint32 g_random_int (void); >gint32 g_random_int_range (gint32 begin, > gint32 end); >gdouble g_random_double (void); >gdouble g_random_double_range (gdouble begin, > gdouble end); > > > ># 64 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/grel.h" 1 ># 32 "/usr/include/glib-2.0/glib/grel.h" > > >typedef struct _GRelation GRelation; >typedef struct _GTuples GTuples; > >struct _GTuples >{ > guint len; >}; ># 65 "/usr/include/glib-2.0/glib/grel.h" >GRelation* g_relation_new (gint fields); >void g_relation_destroy (GRelation *relation); >void g_relation_index (GRelation *relation, > gint field, > GHashFunc hash_func, > GEqualFunc key_equal_func); >void g_relation_insert (GRelation *relation, > ...); >gint g_relation_delete (GRelation *relation, > gconstpointer key, > gint field); >GTuples* g_relation_select (GRelation *relation, > gconstpointer key, > gint field); >gint g_relation_count (GRelation *relation, > gconstpointer key, > gint field); >gboolean g_relation_exists (GRelation *relation, > ...); >void g_relation_print (GRelation *relation); > >void g_tuples_destroy (GTuples *tuples); >gpointer g_tuples_index (GTuples *tuples, > gint index_, > gint field); > > ># 65 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gscanner.h" 1 ># 33 "/usr/include/glib-2.0/glib/gscanner.h" > > >typedef struct _GScanner GScanner; >typedef struct _GScannerConfig GScannerConfig; >typedef union _GTokenValue GTokenValue; > >typedef void (*GScannerMsgFunc) (GScanner *scanner, > gchar *message, > gboolean error); ># 60 "/usr/include/glib-2.0/glib/gscanner.h" >typedef enum >{ > G_ERR_UNKNOWN, > G_ERR_UNEXP_EOF, > G_ERR_UNEXP_EOF_IN_STRING, > G_ERR_UNEXP_EOF_IN_COMMENT, > G_ERR_NON_DIGIT_IN_CONST, > G_ERR_DIGIT_RADIX, > G_ERR_FLOAT_RADIX, > G_ERR_FLOAT_MALFORMED >} GErrorType; > > >typedef enum >{ > G_TOKEN_EOF = 0, > > G_TOKEN_LEFT_PAREN = '(', > G_TOKEN_RIGHT_PAREN = ')', > G_TOKEN_LEFT_CURLY = '{', > G_TOKEN_RIGHT_CURLY = '}', > G_TOKEN_LEFT_BRACE = '[', > G_TOKEN_RIGHT_BRACE = ']', > G_TOKEN_EQUAL_SIGN = '=', > G_TOKEN_COMMA = ',', > > G_TOKEN_NONE = 256, > > G_TOKEN_ERROR, > > G_TOKEN_CHAR, > G_TOKEN_BINARY, > G_TOKEN_OCTAL, > G_TOKEN_INT, > G_TOKEN_HEX, > G_TOKEN_FLOAT, > G_TOKEN_STRING, > > G_TOKEN_SYMBOL, > G_TOKEN_IDENTIFIER, > G_TOKEN_IDENTIFIER_NULL, > > G_TOKEN_COMMENT_SINGLE, > G_TOKEN_COMMENT_MULTI, > G_TOKEN_LAST >} GTokenType; > >union _GTokenValue >{ > gpointer v_symbol; > gchar *v_identifier; > gulong v_binary; > gulong v_octal; > gulong v_int; > guint64 v_int64; > gdouble v_float; > gulong v_hex; > gchar *v_string; > gchar *v_comment; > guchar v_char; > guint v_error; >}; > >struct _GScannerConfig >{ > > > gchar *cset_skip_characters; > gchar *cset_identifier_first; > gchar *cset_identifier_nth; > gchar *cpair_comment_single; > > > > guint case_sensitive : 1; > > > > > guint skip_comment_multi : 1; > guint skip_comment_single : 1; > guint scan_comment_multi : 1; > guint scan_identifier : 1; > guint scan_identifier_1char : 1; > guint scan_identifier_NULL : 1; > guint scan_symbols : 1; > guint scan_binary : 1; > guint scan_octal : 1; > guint scan_float : 1; > guint scan_hex : 1; > guint scan_hex_dollar : 1; > guint scan_string_sq : 1; > guint scan_string_dq : 1; > guint numbers_2_int : 1; > guint int_2_float : 1; > guint identifier_2_string : 1; > guint char_2_token : 1; > guint symbol_2_token : 1; > guint scope_0_fallback : 1; > guint store_int64 : 1; > guint padding_dummy; >}; > >struct _GScanner >{ > > gpointer user_data; > guint max_parse_errors; > > > guint parse_errors; > > > const gchar *input_name; > > > GData *qdata; > > > GScannerConfig *config; > > > GTokenType token; > GTokenValue value; > guint line; > guint position; > > > GTokenType next_token; > GTokenValue next_value; > guint next_line; > guint next_position; > > > GHashTable *symbol_table; > gint input_fd; > const gchar *text; > const gchar *text_end; > gchar *buffer; > guint scope_id; > > > GScannerMsgFunc msg_handler; >}; > >GScanner* g_scanner_new (const GScannerConfig *config_templ); >void g_scanner_destroy (GScanner *scanner); >void g_scanner_input_file (GScanner *scanner, > gint input_fd); >void g_scanner_sync_file_offset (GScanner *scanner); >void g_scanner_input_text (GScanner *scanner, > const gchar *text, > guint text_len); >GTokenType g_scanner_get_next_token (GScanner *scanner); >GTokenType g_scanner_peek_next_token (GScanner *scanner); >GTokenType g_scanner_cur_token (GScanner *scanner); >GTokenValue g_scanner_cur_value (GScanner *scanner); >guint g_scanner_cur_line (GScanner *scanner); >guint g_scanner_cur_position (GScanner *scanner); >gboolean g_scanner_eof (GScanner *scanner); >guint g_scanner_set_scope (GScanner *scanner, > guint scope_id); >void g_scanner_scope_add_symbol (GScanner *scanner, > guint scope_id, > const gchar *symbol, > gpointer value); >void g_scanner_scope_remove_symbol (GScanner *scanner, > guint scope_id, > const gchar *symbol); >gpointer g_scanner_scope_lookup_symbol (GScanner *scanner, > guint scope_id, > const gchar *symbol); >void g_scanner_scope_foreach_symbol (GScanner *scanner, > guint scope_id, > GHFunc func, > gpointer user_data); >gpointer g_scanner_lookup_symbol (GScanner *scanner, > const gchar *symbol); >void g_scanner_unexp_token (GScanner *scanner, > GTokenType expected_token, > const gchar *identifier_spec, > const gchar *symbol_spec, > const gchar *symbol_name, > const gchar *message, > gint is_error); >void g_scanner_error (GScanner *scanner, > const gchar *format, > ...) __attribute__((__format__ (__printf__, 2, 3))); >void g_scanner_warn (GScanner *scanner, > const gchar *format, > ...) __attribute__((__format__ (__printf__, 2, 3))); ># 272 "/usr/include/glib-2.0/glib/gscanner.h" > ># 66 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gshell.h" 1 ># 26 "/usr/include/glib-2.0/glib/gshell.h" > > > > >typedef enum >{ > > G_SHELL_ERROR_BAD_QUOTING, > > G_SHELL_ERROR_EMPTY_STRING, > G_SHELL_ERROR_FAILED >} GShellError; > >GQuark g_shell_error_quark (void); > >gchar* g_shell_quote (const gchar *unquoted_string); >gchar* g_shell_unquote (const gchar *quoted_string, > GError **error); >gboolean g_shell_parse_argv (const gchar *command_line, > gint *argcp, > gchar ***argvp, > GError **error); > > ># 67 "/usr/include/glib-2.0/glib.h" 2 > ># 1 "/usr/include/glib-2.0/glib/gspawn.h" 1 ># 26 "/usr/include/glib-2.0/glib/gspawn.h" > > > > > >typedef enum >{ > G_SPAWN_ERROR_FORK, > G_SPAWN_ERROR_READ, > G_SPAWN_ERROR_CHDIR, > G_SPAWN_ERROR_ACCES, > G_SPAWN_ERROR_PERM, > G_SPAWN_ERROR_2BIG, > G_SPAWN_ERROR_NOEXEC, > G_SPAWN_ERROR_NAMETOOLONG, > G_SPAWN_ERROR_NOENT, > G_SPAWN_ERROR_NOMEM, > G_SPAWN_ERROR_NOTDIR, > G_SPAWN_ERROR_LOOP, > G_SPAWN_ERROR_TXTBUSY, > G_SPAWN_ERROR_IO, > G_SPAWN_ERROR_NFILE, > G_SPAWN_ERROR_MFILE, > G_SPAWN_ERROR_INVAL, > G_SPAWN_ERROR_ISDIR, > G_SPAWN_ERROR_LIBBAD, > G_SPAWN_ERROR_FAILED > > >} GSpawnError; > >typedef void (* GSpawnChildSetupFunc) (gpointer user_data); > >typedef enum >{ > G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0, > G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1, > > G_SPAWN_SEARCH_PATH = 1 << 2, > > G_SPAWN_STDOUT_TO_DEV_NULL = 1 << 3, > G_SPAWN_STDERR_TO_DEV_NULL = 1 << 4, > G_SPAWN_CHILD_INHERITS_STDIN = 1 << 5, > G_SPAWN_FILE_AND_ARGV_ZERO = 1 << 6 >} GSpawnFlags; > >GQuark g_spawn_error_quark (void); ># 82 "/usr/include/glib-2.0/glib/gspawn.h" >gboolean g_spawn_async (const gchar *working_directory, > gchar **argv, > gchar **envp, > GSpawnFlags flags, > GSpawnChildSetupFunc child_setup, > gpointer user_data, > GPid *child_pid, > GError **error); > > > > > >gboolean g_spawn_async_with_pipes (const gchar *working_directory, > gchar **argv, > gchar **envp, > GSpawnFlags flags, > GSpawnChildSetupFunc child_setup, > gpointer user_data, > GPid *child_pid, > gint *standard_input, > gint *standard_output, > gint *standard_error, > GError **error); > > > > > > >gboolean g_spawn_sync (const gchar *working_directory, > gchar **argv, > gchar **envp, > GSpawnFlags flags, > GSpawnChildSetupFunc child_setup, > gpointer user_data, > gchar **standard_output, > gchar **standard_error, > gint *exit_status, > GError **error); > >gboolean g_spawn_command_line_sync (const gchar *command_line, > gchar **standard_output, > gchar **standard_error, > gint *exit_status, > GError **error); >gboolean g_spawn_command_line_async (const gchar *command_line, > GError **error); > >void g_spawn_close_pid (GPid pid); > > > ># 69 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gstrfuncs.h" 1 ># 33 "/usr/include/glib-2.0/glib/gstrfuncs.h" > > > >typedef enum { > G_ASCII_ALNUM = 1 << 0, > G_ASCII_ALPHA = 1 << 1, > G_ASCII_CNTRL = 1 << 2, > G_ASCII_DIGIT = 1 << 3, > G_ASCII_GRAPH = 1 << 4, > G_ASCII_LOWER = 1 << 5, > G_ASCII_PRINT = 1 << 6, > G_ASCII_PUNCT = 1 << 7, > G_ASCII_SPACE = 1 << 8, > G_ASCII_UPPER = 1 << 9, > G_ASCII_XDIGIT = 1 << 10 >} GAsciiType; > >extern const guint16 * const g_ascii_table; ># 85 "/usr/include/glib-2.0/glib/gstrfuncs.h" >gchar g_ascii_tolower (gchar c) __attribute__((__const__)); >gchar g_ascii_toupper (gchar c) __attribute__((__const__)); > >gint g_ascii_digit_value (gchar c) __attribute__((__const__)); >gint g_ascii_xdigit_value (gchar c) __attribute__((__const__)); > > > > > >gchar* g_strdelimit (gchar *string, > const gchar *delimiters, > gchar new_delimiter); >gchar* g_strcanon (gchar *string, > const gchar *valid_chars, > gchar substitutor); >const gchar* g_strerror (gint errnum) __attribute__((__const__)); >const gchar* g_strsignal (gint signum) __attribute__((__const__)); >gchar* g_strreverse (gchar *string); >gsize g_strlcpy (gchar *dest, > const gchar *src, > gsize dest_size); >gsize g_strlcat (gchar *dest, > const gchar *src, > gsize dest_size); >gchar * g_strstr_len (const gchar *haystack, > gssize haystack_len, > const gchar *needle); >gchar * g_strrstr (const gchar *haystack, > const gchar *needle); >gchar * g_strrstr_len (const gchar *haystack, > gssize haystack_len, > const gchar *needle); > >gboolean g_str_has_suffix (const gchar *str, > const gchar *suffix); >gboolean g_str_has_prefix (const gchar *str, > const gchar *prefix); > > > >gdouble g_strtod (const gchar *nptr, > gchar **endptr); >gdouble g_ascii_strtod (const gchar *nptr, > gchar **endptr); >guint64 g_ascii_strtoull (const gchar *nptr, > gchar **endptr, > guint base); >gint64 g_ascii_strtoll (const gchar *nptr, > gchar **endptr, > guint base); > > > > >gchar * g_ascii_dtostr (gchar *buffer, > gint buf_len, > gdouble d); >gchar * g_ascii_formatd (gchar *buffer, > gint buf_len, > const gchar *format, > gdouble d); > > >gchar* g_strchug (gchar *string); > >gchar* g_strchomp (gchar *string); > > > >gint g_ascii_strcasecmp (const gchar *s1, > const gchar *s2); >gint g_ascii_strncasecmp (const gchar *s1, > const gchar *s2, > gsize n); >gchar* g_ascii_strdown (const gchar *str, > gssize len) __attribute__((__malloc__)); >gchar* g_ascii_strup (const gchar *str, > gssize len) __attribute__((__malloc__)); ># 172 "/usr/include/glib-2.0/glib/gstrfuncs.h" >gint g_strcasecmp (const gchar *s1, > const gchar *s2); >gint g_strncasecmp (const gchar *s1, > const gchar *s2, > guint n); >gchar* g_strdown (gchar *string); >gchar* g_strup (gchar *string); > > > > > > >gchar* g_strdup (const gchar *str) __attribute__((__malloc__)); >gchar* g_strdup_printf (const gchar *format, > ...) __attribute__((__format__ (__printf__, 1, 2))) __attribute__((__malloc__)); >gchar* g_strdup_vprintf (const gchar *format, > va_list args) __attribute__((__malloc__)); >gchar* g_strndup (const gchar *str, > gsize n) __attribute__((__malloc__)); >gchar* g_strnfill (gsize length, > gchar fill_char) __attribute__((__malloc__)); >gchar* g_strconcat (const gchar *string1, > ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); >gchar* g_strjoin (const gchar *separator, > ...) __attribute__((__malloc__)) __attribute__((__sentinel__)); > > > > > >gchar* g_strcompress (const gchar *source) __attribute__((__malloc__)); ># 213 "/usr/include/glib-2.0/glib/gstrfuncs.h" >gchar* g_strescape (const gchar *source, > const gchar *exceptions) __attribute__((__malloc__)); > >gpointer g_memdup (gconstpointer mem, > guint byte_size) __attribute__((__malloc__)); ># 228 "/usr/include/glib-2.0/glib/gstrfuncs.h" >gchar** g_strsplit (const gchar *string, > const gchar *delimiter, > gint max_tokens) __attribute__((__malloc__)); >gchar ** g_strsplit_set (const gchar *string, > const gchar *delimiters, > gint max_tokens) __attribute__((__malloc__)); >gchar* g_strjoinv (const gchar *separator, > gchar **str_array) __attribute__((__malloc__)); >void g_strfreev (gchar **str_array); >gchar** g_strdupv (gchar **str_array) __attribute__((__malloc__)); >guint g_strv_length (gchar **str_array); > >gchar* g_stpcpy (gchar *dest, > const char *src); > >const gchar *g_strip_context (const gchar *msgid, > const gchar *msgval); > > ># 70 "/usr/include/glib-2.0/glib.h" 2 > > ># 1 "/usr/include/glib-2.0/glib/gthreadpool.h" 1 ># 32 "/usr/include/glib-2.0/glib/gthreadpool.h" > > >typedef struct _GThreadPool GThreadPool; > > > > > > >struct _GThreadPool >{ > GFunc func; > gpointer user_data; > gboolean exclusive; >}; > > > > > > >GThreadPool* g_thread_pool_new (GFunc func, > gpointer user_data, > gint max_threads, > gboolean exclusive, > GError **error); > > > > > >void g_thread_pool_push (GThreadPool *pool, > gpointer data, > GError **error); > > > > >void g_thread_pool_set_max_threads (GThreadPool *pool, > gint max_threads, > GError **error); >gint g_thread_pool_get_max_threads (GThreadPool *pool); > > > >guint g_thread_pool_get_num_threads (GThreadPool *pool); > > >guint g_thread_pool_unprocessed (GThreadPool *pool); > > > > > >void g_thread_pool_free (GThreadPool *pool, > gboolean immediate, > gboolean wait_); > > > >void g_thread_pool_set_max_unused_threads (gint max_threads); >gint g_thread_pool_get_max_unused_threads (void); >guint g_thread_pool_get_num_unused_threads (void); > > >void g_thread_pool_stop_unused_threads (void); > > >void g_thread_pool_set_sort_function (GThreadPool *pool, > GCompareDataFunc func, > gpointer user_data); > > >void g_thread_pool_set_max_idle_time (guint interval); >guint g_thread_pool_get_max_idle_time (void); > > ># 73 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gtimer.h" 1 ># 32 "/usr/include/glib-2.0/glib/gtimer.h" > > > > > > >typedef struct _GTimer GTimer; > > > >GTimer* g_timer_new (void); >void g_timer_destroy (GTimer *timer); >void g_timer_start (GTimer *timer); >void g_timer_stop (GTimer *timer); >void g_timer_reset (GTimer *timer); >void g_timer_continue (GTimer *timer); >gdouble g_timer_elapsed (GTimer *timer, > gulong *microseconds); > >void g_usleep (gulong microseconds); > >void g_time_val_add (GTimeVal *time_, > glong microseconds); >gboolean g_time_val_from_iso8601 (const gchar *iso_date, > GTimeVal *time_); >gchar* g_time_val_to_iso8601 (GTimeVal *time_) __attribute__((__malloc__)); > > ># 74 "/usr/include/glib-2.0/glib.h" 2 ># 1 "/usr/include/glib-2.0/glib/gtree.h" 1 ># 32 "/usr/include/glib-2.0/glib/gtree.h" > > >typedef struct _GTree GTree; > >typedef gboolean (*GTraverseFunc) (gpointer key, > gpointer value, > gpointer data); > > > >GTree* g_tree_new (GCompareFunc key_compare_func); >GTree* g_tree_new_with_data (GCompareDataFunc key_compare_func, > gpointer key_compare_data); >GTree* g_tree_new_full (GCompareDataFunc key_compare_func, > gpointer key_compare_data, > GDestroyNotify key_destroy_func, > GDestroyNotify value_destroy_func); >void g_tree_destroy (GTree *tree); >void g_tree_insert (GTree *tree, > gpointer key, > gpointer value); >void g_tree_replace (GTree *tree, > gpointer key, > gpointer value); >gboolean g_tree_remove (GTree *tree, > gconstpointer key); >gboolean g_tree_steal (GTree *tree, > gconstpointer key); >gpointer g_tree_lookup (GTree *tree, > gconstpointer key); >gboolean g_tree_lookup_extended (GTree *tree, > gconstpointer lookup_key, > gpointer *orig_key, > gpointer *value); >void g_tree_foreach (GTree *tree, > GTraverseFunc func, > gpointer user_data); > > >void g_tree_traverse (GTree *tree, > GTraverseFunc traverse_func, > GTraverseType traverse_type, > gpointer user_data); > > >gpointer g_tree_search (GTree *tree, > GCompareFunc search_func, > gconstpointer user_data); >gint g_tree_height (GTree *tree); >gint g_tree_nnodes (GTree *tree); > > > > ># 75 "/usr/include/glib-2.0/glib.h" 2 ># 24 "../../include/lib.h" 2 > ># 1 "/usr/include/expat.h" 1 3 4 ># 18 "/usr/include/expat.h" 3 4 ># 1 "/usr/include/expat_external.h" 1 3 4 ># 90 "/usr/include/expat_external.h" 3 4 >typedef char XML_Char; >typedef char XML_LChar; ># 19 "/usr/include/expat.h" 2 3 4 > >struct XML_ParserStruct; >typedef struct XML_ParserStruct *XML_Parser; > > >typedef unsigned char XML_Bool; ># 41 "/usr/include/expat.h" 3 4 >enum XML_Status { > XML_STATUS_ERROR = 0, > > XML_STATUS_OK = 1, > > XML_STATUS_SUSPENDED = 2, > >}; > >enum XML_Error { > XML_ERROR_NONE, > XML_ERROR_NO_MEMORY, > XML_ERROR_SYNTAX, > XML_ERROR_NO_ELEMENTS, > XML_ERROR_INVALID_TOKEN, > XML_ERROR_UNCLOSED_TOKEN, > XML_ERROR_PARTIAL_CHAR, > XML_ERROR_TAG_MISMATCH, > XML_ERROR_DUPLICATE_ATTRIBUTE, > XML_ERROR_JUNK_AFTER_DOC_ELEMENT, > XML_ERROR_PARAM_ENTITY_REF, > XML_ERROR_UNDEFINED_ENTITY, > XML_ERROR_RECURSIVE_ENTITY_REF, > XML_ERROR_ASYNC_ENTITY, > XML_ERROR_BAD_CHAR_REF, > XML_ERROR_BINARY_ENTITY_REF, > XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF, > XML_ERROR_MISPLACED_XML_PI, > XML_ERROR_UNKNOWN_ENCODING, > XML_ERROR_INCORRECT_ENCODING, > XML_ERROR_UNCLOSED_CDATA_SECTION, > XML_ERROR_EXTERNAL_ENTITY_HANDLING, > XML_ERROR_NOT_STANDALONE, > XML_ERROR_UNEXPECTED_STATE, > XML_ERROR_ENTITY_DECLARED_IN_PE, > XML_ERROR_FEATURE_REQUIRES_XML_DTD, > XML_ERROR_CANT_CHANGE_FEATURE_ONCE_PARSING, > > XML_ERROR_UNBOUND_PREFIX, > > XML_ERROR_UNDECLARING_PREFIX, > XML_ERROR_INCOMPLETE_PE, > XML_ERROR_XML_DECL, > XML_ERROR_TEXT_DECL, > XML_ERROR_PUBLICID, > XML_ERROR_SUSPENDED, > XML_ERROR_NOT_SUSPENDED, > XML_ERROR_ABORTED, > XML_ERROR_FINISHED, > XML_ERROR_SUSPEND_PE >}; > >enum XML_Content_Type { > XML_CTYPE_EMPTY = 1, > XML_CTYPE_ANY, > XML_CTYPE_MIXED, > XML_CTYPE_NAME, > XML_CTYPE_CHOICE, > XML_CTYPE_SEQ >}; > >enum XML_Content_Quant { > XML_CQUANT_NONE, > XML_CQUANT_OPT, > XML_CQUANT_REP, > XML_CQUANT_PLUS >}; ># 127 "/usr/include/expat.h" 3 4 >typedef struct XML_cp XML_Content; > >struct XML_cp { > enum XML_Content_Type type; > enum XML_Content_Quant quant; > XML_Char * name; > unsigned int numchildren; > XML_Content * children; >}; > > > > > > >typedef void ( *XML_ElementDeclHandler) (void *userData, > const XML_Char *name, > XML_Content *model); > > void >XML_SetElementDeclHandler(XML_Parser parser, > XML_ElementDeclHandler eldecl); ># 158 "/usr/include/expat.h" 3 4 >typedef void ( *XML_AttlistDeclHandler) ( > void *userData, > const XML_Char *elname, > const XML_Char *attname, > const XML_Char *att_type, > const XML_Char *dflt, > int isrequired); > > void >XML_SetAttlistDeclHandler(XML_Parser parser, > XML_AttlistDeclHandler attdecl); ># 178 "/usr/include/expat.h" 3 4 >typedef void ( *XML_XmlDeclHandler) (void *userData, > const XML_Char *version, > const XML_Char *encoding, > int standalone); > > void >XML_SetXmlDeclHandler(XML_Parser parser, > XML_XmlDeclHandler xmldecl); > > >typedef struct { > void *(*malloc_fcn)(size_t size); > void *(*realloc_fcn)(void *ptr, size_t size); > void (*free_fcn)(void *ptr); >} XML_Memory_Handling_Suite; > > > > > XML_Parser >XML_ParserCreate(const XML_Char *encoding); ># 211 "/usr/include/expat.h" 3 4 > XML_Parser >XML_ParserCreateNS(const XML_Char *encoding, XML_Char namespaceSeparator); ># 224 "/usr/include/expat.h" 3 4 > XML_Parser >XML_ParserCreate_MM(const XML_Char *encoding, > const XML_Memory_Handling_Suite *memsuite, > const XML_Char *namespaceSeparator); ># 238 "/usr/include/expat.h" 3 4 > XML_Bool >XML_ParserReset(XML_Parser parser, const XML_Char *encoding); > > > > >typedef void ( *XML_StartElementHandler) (void *userData, > const XML_Char *name, > const XML_Char **atts); > >typedef void ( *XML_EndElementHandler) (void *userData, > const XML_Char *name); > > > >typedef void ( *XML_CharacterDataHandler) (void *userData, > const XML_Char *s, > int len); > > >typedef void ( *XML_ProcessingInstructionHandler) ( > void *userData, > const XML_Char *target, > const XML_Char *data); > > >typedef void ( *XML_CommentHandler) (void *userData, > const XML_Char *data); > >typedef void ( *XML_StartCdataSectionHandler) (void *userData); >typedef void ( *XML_EndCdataSectionHandler) (void *userData); ># 283 "/usr/include/expat.h" 3 4 >typedef void ( *XML_DefaultHandler) (void *userData, > const XML_Char *s, > int len); > > > > >typedef void ( *XML_StartDoctypeDeclHandler) ( > void *userData, > const XML_Char *doctypeName, > const XML_Char *sysid, > const XML_Char *pubid, > int has_internal_subset); > > > > > >typedef void ( *XML_EndDoctypeDeclHandler)(void *userData); ># 321 "/usr/include/expat.h" 3 4 >typedef void ( *XML_EntityDeclHandler) ( > void *userData, > const XML_Char *entityName, > int is_parameter_entity, > const XML_Char *value, > int value_length, > const XML_Char *base, > const XML_Char *systemId, > const XML_Char *publicId, > const XML_Char *notationName); > > void >XML_SetEntityDeclHandler(XML_Parser parser, > XML_EntityDeclHandler handler); ># 345 "/usr/include/expat.h" 3 4 >typedef void ( *XML_UnparsedEntityDeclHandler) ( > void *userData, > const XML_Char *entityName, > const XML_Char *base, > const XML_Char *systemId, > const XML_Char *publicId, > const XML_Char *notationName); > > > > > >typedef void ( *XML_NotationDeclHandler) ( > void *userData, > const XML_Char *notationName, > const XML_Char *base, > const XML_Char *systemId, > const XML_Char *publicId); > > > > > > > >typedef void ( *XML_StartNamespaceDeclHandler) ( > void *userData, > const XML_Char *prefix, > const XML_Char *uri); > >typedef void ( *XML_EndNamespaceDeclHandler) ( > void *userData, > const XML_Char *prefix); ># 388 "/usr/include/expat.h" 3 4 >typedef int ( *XML_NotStandaloneHandler) (void *userData); ># 424 "/usr/include/expat.h" 3 4 >typedef int ( *XML_ExternalEntityRefHandler) ( > XML_Parser parser, > const XML_Char *context, > const XML_Char *base, > const XML_Char *systemId, > const XML_Char *publicId); ># 441 "/usr/include/expat.h" 3 4 >typedef void ( *XML_SkippedEntityHandler) ( > void *userData, > const XML_Char *entityName, > int is_parameter_entity); ># 498 "/usr/include/expat.h" 3 4 >typedef struct { > int map[256]; > void *data; > int ( *convert)(void *data, const char *s); > void ( *release)(void *data); >} XML_Encoding; ># 520 "/usr/include/expat.h" 3 4 >typedef int ( *XML_UnknownEncodingHandler) ( > void *encodingHandlerData, > const XML_Char *name, > XML_Encoding *info); > > void >XML_SetElementHandler(XML_Parser parser, > XML_StartElementHandler start, > XML_EndElementHandler end); > > void >XML_SetStartElementHandler(XML_Parser parser, > XML_StartElementHandler handler); > > void >XML_SetEndElementHandler(XML_Parser parser, > XML_EndElementHandler handler); > > void >XML_SetCharacterDataHandler(XML_Parser parser, > XML_CharacterDataHandler handler); > > void >XML_SetProcessingInstructionHandler(XML_Parser parser, > XML_ProcessingInstructionHandler handler); > void >XML_SetCommentHandler(XML_Parser parser, > XML_CommentHandler handler); > > void >XML_SetCdataSectionHandler(XML_Parser parser, > XML_StartCdataSectionHandler start, > XML_EndCdataSectionHandler end); > > void >XML_SetStartCdataSectionHandler(XML_Parser parser, > XML_StartCdataSectionHandler start); > > void >XML_SetEndCdataSectionHandler(XML_Parser parser, > XML_EndCdataSectionHandler end); > > > > > > void >XML_SetDefaultHandler(XML_Parser parser, > XML_DefaultHandler handler); > > > > > > void >XML_SetDefaultHandlerExpand(XML_Parser parser, > XML_DefaultHandler handler); > > void >XML_SetDoctypeDeclHandler(XML_Parser parser, > XML_StartDoctypeDeclHandler start, > XML_EndDoctypeDeclHandler end); > > void >XML_SetStartDoctypeDeclHandler(XML_Parser parser, > XML_StartDoctypeDeclHandler start); > > void >XML_SetEndDoctypeDeclHandler(XML_Parser parser, > XML_EndDoctypeDeclHandler end); > > void >XML_SetUnparsedEntityDeclHandler(XML_Parser parser, > XML_UnparsedEntityDeclHandler handler); > > void >XML_SetNotationDeclHandler(XML_Parser parser, > XML_NotationDeclHandler handler); > > void >XML_SetNamespaceDeclHandler(XML_Parser parser, > XML_StartNamespaceDeclHandler start, > XML_EndNamespaceDeclHandler end); > > void >XML_SetStartNamespaceDeclHandler(XML_Parser parser, > XML_StartNamespaceDeclHandler start); > > void >XML_SetEndNamespaceDeclHandler(XML_Parser parser, > XML_EndNamespaceDeclHandler end); > > void >XML_SetNotStandaloneHandler(XML_Parser parser, > XML_NotStandaloneHandler handler); > > void >XML_SetExternalEntityRefHandler(XML_Parser parser, > XML_ExternalEntityRefHandler handler); > > > > > > void >XML_SetExternalEntityRefHandlerArg(XML_Parser parser, > void *arg); > > void >XML_SetSkippedEntityHandler(XML_Parser parser, > XML_SkippedEntityHandler handler); > > void >XML_SetUnknownEncodingHandler(XML_Parser parser, > XML_UnknownEncodingHandler handler, > void *encodingHandlerData); > > > > > > void >XML_DefaultCurrent(XML_Parser parser); ># 658 "/usr/include/expat.h" 3 4 > void >XML_SetReturnNSTriplet(XML_Parser parser, int do_nst); > > > void >XML_SetUserData(XML_Parser parser, void *userData); ># 674 "/usr/include/expat.h" 3 4 > enum XML_Status >XML_SetEncoding(XML_Parser parser, const XML_Char *encoding); > > > > > > void >XML_UseParserAsHandlerArg(XML_Parser parser); ># 702 "/usr/include/expat.h" 3 4 > enum XML_Error >XML_UseForeignDTD(XML_Parser parser, XML_Bool useDTD); ># 714 "/usr/include/expat.h" 3 4 > enum XML_Status >XML_SetBase(XML_Parser parser, const XML_Char *base); > > const XML_Char * >XML_GetBase(XML_Parser parser); > > > > > > > > int >XML_GetSpecifiedAttributeCount(XML_Parser parser); > > > > > > > int >XML_GetIdAttributeIndex(XML_Parser parser); ># 746 "/usr/include/expat.h" 3 4 > enum XML_Status >XML_Parse(XML_Parser parser, const char *s, int len, int isFinal); > > void * >XML_GetBuffer(XML_Parser parser, int len); > > enum XML_Status >XML_ParseBuffer(XML_Parser parser, int len, int isFinal); ># 786 "/usr/include/expat.h" 3 4 > enum XML_Status >XML_StopParser(XML_Parser parser, XML_Bool resumable); ># 801 "/usr/include/expat.h" 3 4 > enum XML_Status >XML_ResumeParser(XML_Parser parser); > >enum XML_Parsing { > XML_INITIALIZED, > XML_PARSING, > XML_FINISHED, > XML_SUSPENDED >}; > >typedef struct { > enum XML_Parsing parsing; > XML_Bool finalBuffer; >} XML_ParsingStatus; > > > > > > > void >XML_GetParsingStatus(XML_Parser parser, XML_ParsingStatus *status); ># 840 "/usr/include/expat.h" 3 4 > XML_Parser >XML_ExternalEntityParserCreate(XML_Parser parser, > const XML_Char *context, > const XML_Char *encoding); > >enum XML_ParamEntityParsing { > XML_PARAM_ENTITY_PARSING_NEVER, > XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE, > XML_PARAM_ENTITY_PARSING_ALWAYS >}; ># 874 "/usr/include/expat.h" 3 4 > int >XML_SetParamEntityParsing(XML_Parser parser, > enum XML_ParamEntityParsing parsing); > > > > > enum XML_Error >XML_GetErrorCode(XML_Parser parser); ># 900 "/usr/include/expat.h" 3 4 > int XML_GetCurrentLineNumber(XML_Parser parser); > int XML_GetCurrentColumnNumber(XML_Parser parser); > long XML_GetCurrentByteIndex(XML_Parser parser); > > > > > int >XML_GetCurrentByteCount(XML_Parser parser); ># 920 "/usr/include/expat.h" 3 4 > const char * >XML_GetInputContext(XML_Parser parser, > int *offset, > int *size); > > > > > > > > void >XML_FreeContentModel(XML_Parser parser, XML_Content *model); > > > void * >XML_MemMalloc(XML_Parser parser, size_t size); > > void * >XML_MemRealloc(XML_Parser parser, void *ptr, size_t size); > > void >XML_MemFree(XML_Parser parser, void *ptr); > > > void >XML_ParserFree(XML_Parser parser); > > > const XML_LChar * >XML_ErrorString(enum XML_Error code); > > > const XML_LChar * >XML_ExpatVersion(void); > >typedef struct { > int major; > int minor; > int micro; >} XML_Expat_Version; > > > > > XML_Expat_Version >XML_ExpatVersionInfo(void); > > >enum XML_FeatureEnum { > XML_FEATURE_END = 0, > XML_FEATURE_UNICODE, > XML_FEATURE_UNICODE_WCHAR_T, > XML_FEATURE_DTD, > XML_FEATURE_CONTEXT_BYTES, > XML_FEATURE_MIN_SIZE, > XML_FEATURE_SIZEOF_XML_CHAR, > XML_FEATURE_SIZEOF_XML_LCHAR > >}; > >typedef struct { > enum XML_FeatureEnum feature; > const XML_LChar *name; > long int value; >} XML_Feature; > > const XML_Feature * >XML_GetFeatureList(void); ># 26 "../../include/lib.h" 2 ># 62 "../../include/lib.h" >extern int ap_snprintf(char *, size_t, const char *, ...); > > > > >extern int ap_vsnprintf(char *, size_t, const char *, va_list ap); > > > > >char *zonestr(char *file, int line); ># 83 "../../include/lib.h" >typedef void (*pool_cleaner)(void *arg); > >typedef struct pool_struct { > GMutex *lock; > GSList *pll; > pool_cleaner cf; > void *cf_arg; >} _pool, *pool; > > > > >pool _pool_new(char *zone); >pool _pool_new_heap(int size, char *zone); >void *pmalloc(pool p, int size); >void *pmalloc_x(pool p, int size, char c); >void *pmalloco(pool p, int size); >char *pstrdup(pool p, const char *src); >void pool_stat(int full); >char *pstrdupx(pool p, const char *src); >void pool_cleanup(pool p, pool_cleaner f, void *arg); >void pool_free(pool p); >int pool_size(pool p); ># 114 "../../include/lib.h" >char *j_strdup(const char *str); >char *j_strcat(char *dest, char *txt); >int j_strcmp(const char *a, const char *b); >int j_strcasecmp(const char *a, const char *b); >int j_strncmp(const char *a, const char *b, int i); >int j_strncasecmp(const char *a, const char *b, int i); >int j_strlen(const char *a); >int j_atoi(const char *a, int def); >void str_b64decode(char *str); ># 135 "../../include/lib.h" >typedef unsigned int uint32; > > >char *shahash(char *str); >void shahash_r(const char* str, char hashbuf[40]); > >int strprintsha(char *dest, int *hashval); > > > > > > > >char *strescape(pool p, char *buf); >char *strunescape(pool p, char *buf); > > > > > > > >struct spool_node >{ > char *c; > struct spool_node *next; >}; > >typedef struct spool_struct >{ > pool p; > int len; > struct spool_node *last; > struct spool_node *first; >} *spool; > >spool spool_new(pool p); >void spooler(spool s, ...); >char *spool_print(spool s); >void spool_add(spool s, char *str); >char *spools(pool p, ...); ># 195 "../../include/lib.h" >typedef struct xmlnode_t >{ > char* name; > unsigned short type; > char* data; > int data_sz; > int complete; > pool p; > struct xmlnode_t* parent; > struct xmlnode_t* firstchild; > struct xmlnode_t* lastchild; > struct xmlnode_t* prev; > struct xmlnode_t* next; > struct xmlnode_t* firstattrib; > struct xmlnode_t* lastattrib; >} _xmlnode, *xmlnode; > > >xmlnode xmlnode_wrap(xmlnode x,const char* wrapper); >xmlnode xmlnode_new_tag(const char* name); >xmlnode xmlnode_new_tag_pool(pool p, const char* name); >xmlnode xmlnode_insert_tag(xmlnode parent, const char* name); >xmlnode xmlnode_insert_cdata(xmlnode parent, const char* CDATA, unsigned int size); >xmlnode xmlnode_insert_tag_node(xmlnode parent, xmlnode node); >void xmlnode_insert_node(xmlnode parent, xmlnode node); >xmlnode xmlnode_str(char *str, int len); >xmlnode xmlnode_file(char *file); >char* xmlnode_file_borked(char *file); >xmlnode xmlnode_dup(xmlnode x); >xmlnode xmlnode_dup_pool(pool p, xmlnode x); > > >pool xmlnode_pool(xmlnode node); >xmlnode _xmlnode_new(pool p, const char *name, unsigned int type); > > >void xmlnode_hide(xmlnode child); >void xmlnode_hide_attrib(xmlnode parent, const char *name); > > >void xmlnode_free(xmlnode node); > > >xmlnode xmlnode_get_tag(xmlnode parent, const char* name); >char* xmlnode_get_tag_data(xmlnode parent, const char* name); > > >void xmlnode_put_attrib(xmlnode owner, const char* name, const char* value); >char* xmlnode_get_attrib(xmlnode owner, const char* name); >void xmlnode_put_expat_attribs(xmlnode owner, const char** atts); > > >void xmlnode_put_vattrib(xmlnode owner, const char* name, void *value); >void* xmlnode_get_vattrib(xmlnode owner, const char* name); > > >xmlnode xmlnode_get_firstattrib(xmlnode parent); >xmlnode xmlnode_get_firstchild(xmlnode parent); >xmlnode xmlnode_get_lastchild(xmlnode parent); >xmlnode xmlnode_get_nextsibling(xmlnode sibling); >xmlnode xmlnode_get_prevsibling(xmlnode sibling); >xmlnode xmlnode_get_parent(xmlnode node); > > >char* xmlnode_get_name(xmlnode node); >char* xmlnode_get_data(xmlnode node); >int xmlnode_get_datasz(xmlnode node); >int xmlnode_get_type(xmlnode node); > >int xmlnode_has_children(xmlnode node); >int xmlnode_has_attribs(xmlnode node); > > >char* xmlnode2str(xmlnode node); > > > >char* xmlnode2tstr(xmlnode node); > >int xmlnode_cmp(xmlnode a, xmlnode b); > >int xmlnode2file(char *file, xmlnode node); > > >void expat_startElement(void* userdata, const char* name, const char** atts); >void expat_endElement(void* userdata, const char* name); >void expat_charData(void* userdata, const char* s, int len); ># 295 "../../include/lib.h" >typedef void (*xstream_onNode)(int type, xmlnode x, void *arg); > >typedef struct xstream_struct >{ > XML_Parser parser; > xmlnode node; > char *cdata; > int cdata_len; > pool p; > xstream_onNode f; > void *arg; > int status; > int depth; >} *xstream, _xstream; > >xstream xstream_new(pool p, xstream_onNode f, void *arg); >int xstream_eat(xstream xs, char *buff, int len); > > >xmlnode xstream_header(char *namespace, char *to, char *from); >char *xstream_header_char(xmlnode x); > > >typedef struct { > unsigned long H[5]; > unsigned long W[80]; > int lenW; > unsigned long sizeHi,sizeLo; >} j_SHA_CTX; > > >void shaInit(j_SHA_CTX *ctx); >void shaUpdate(j_SHA_CTX *ctx, unsigned char *dataIn, int len); >void shaFinal(j_SHA_CTX *ctx, unsigned char hashout[20]); >void shaBlock(unsigned char *dataIn, int len, unsigned char hashout[20]); ># 342 "../../include/lib.h" >typedef struct jid_struct >{ > pool p; > char* resource; > char* user; > char* server; > char* full; > struct jid_struct *next; >} *jid; > >jid jid_new(pool p, const char *idstr); >void jid_set(jid id, char *str, int item); >char* jid_full(jid id); >int jid_cmp(jid a, jid b); >int jid_cmpx(jid a, jid b, int parts); >jid jid_append(jid a, jid b); > >xmlnode jid_nodescan(jid id, xmlnode x); >jid jid_user(jid a); >void jid_init_cache(void); >void jid_stop_caching(void); >void jid_clean_cache(void); ># 395 "../../include/lib.h" >typedef struct jpacket_struct >{ > unsigned char type; > int subtype; > int flag; > void* aux1; > xmlnode x; > jid to; > jid from; > char* iqns; > xmlnode iq; > pool p; >} *jpacket, _jpacket; > >jpacket jpacket_new(xmlnode x); >jpacket jpacket_reset(jpacket p); >int jpacket_subtype(jpacket p); > > > > > > > >typedef struct terror_struct >{ > int code; > char msg[64]; >} terror; ># 490 "../../include/lib.h" >xmlnode jutil_presnew(int type, char *to, char *status); >xmlnode jutil_iqnew(int type, char *ns); >xmlnode jutil_msgnew(char *type, char *to, char *subj, char *body); > >xmlnode jutil_header(char* xmlns, char* server); >int jutil_priority(xmlnode x); >void jutil_tofrom(xmlnode x); >xmlnode jutil_iqresult(xmlnode x); >char* jutil_timestamp(void); >char* jutil_timestamp_0091(void); >void jutil_error(xmlnode x, terror E); >void jutil_delay(xmlnode msg, char *reason); >char* jutil_regkey(char *key, char *seed); ># 43 "expat.c" 2 > >void expat_startElement(void* userdata, const char* name, const char** atts) >{ > > xmlnode *x = userdata; > xmlnode current = *x; > > if (current == ((void *)0)) > { > > current = xmlnode_new_tag(name); > xmlnode_put_expat_attribs(current, atts); > *x = current; > } > else > { > *x = xmlnode_insert_tag(current, name); > xmlnode_put_expat_attribs(*x, atts); > } >} > >void expat_endElement(void* userdata, const char* name) >{ > xmlnode *x = userdata; > xmlnode current = *x; > > current->complete = 1; > current = xmlnode_get_parent(current); > > > if(current != ((void *)0)) > *x = current; >} > >void expat_charData(void* userdata, const char* s, int len) >{ > xmlnode *x = userdata; > xmlnode current = *x; > > xmlnode_insert_cdata(current, s, len); >} > > >xmlnode xmlnode_str(char *str, int len) >{ > XML_Parser p; > xmlnode *x, node; > > if(((void *)0) == str) > return ((void *)0); > > x = malloc(sizeof(void *)); > > *x = ((void *)0); > p = XML_ParserCreate(((void *)0)); > XML_SetUserData(p, x); > XML_SetElementHandler(p, expat_startElement, expat_endElement); > XML_SetCharacterDataHandler(p, expat_charData); > if(!XML_Parse(p, str, len, 1)) > { > > xmlnode_free(*x); > *x = ((void *)0); > } > node = *x; > free(x); > XML_ParserFree(p); > return node; >} > >xmlnode xmlnode_file(char *file) >{ > XML_Parser p; > xmlnode *x, node; > char buf[8192]; > int done, fd, len; > > if(((void *)0) == file) > return ((void *)0); > > fd = open(file,00); > if(fd < 0) > return ((void *)0); > > x = malloc(sizeof(void *)); > > *x = ((void *)0); > p = XML_ParserCreate(((void *)0)); > XML_SetUserData(p, x); > XML_SetElementHandler(p, expat_startElement, expat_endElement); > XML_SetCharacterDataHandler(p, expat_charData); > do{ > len = read(fd, buf, 8192); > done = len < 8192; > if(!XML_Parse(p, buf, len, done)) > { > > xmlnode_free(*x); > *x = ((void *)0); > done = 1; > } > }while(!done); > > node = *x; > XML_ParserFree(p); > free(x); > close(fd); > return node; >} > >char* xmlnode_file_borked(char *file) >{ > XML_Parser p; > char buf[8192]; > static char err[1024]; > int fd, len, done; > > if(((void *)0) == file) > return "no file specified"; > > fd = open(file,00); > if(fd < 0) > return "unable to open file"; > > p = XML_ParserCreate(((void *)0)); > while(1) > { > len = read(fd, buf, 8192); > done = len < 8192; > if(!XML_Parse(p, buf, len, done)) > { > ap_snprintf(err,1023,"%s at line %d and column %d",XML_ErrorString(XML_GetErrorCode(p)),XML_GetCurrentLineNumber(p),XML_GetCurrentColumnNumber(p)); > XML_ParserFree(p); > close(fd); > return err; > } > } >} > >int xmlnode2file(char *file, xmlnode node) >{ > char *doc, *ftmp; > int fd, i; > > if(file == ((void *)0) || node == ((void *)0)) > return -1; > > ftmp = spools(xmlnode_pool(node),file,".t.m.p",xmlnode_pool(node)); > fd = open(ftmp, 0100 | 01 | 01000, 0600); > if(fd < 0) > return -1; > > doc = xmlnode2str(node); > i = write(fd,doc,strlen(doc)); > if(i < 0) > return -1; > > close(fd); > > if(rename(ftmp,file) < 0) > { > unlink(ftmp); > return -1; > } > return 1; >} > >void xmlnode_put_expat_attribs(xmlnode owner, const char** atts) >{ > int i = 0; > if (atts == ((void *)0)) return; > while (atts[i] != '\0') > { > xmlnode_put_attrib(owner, atts[i], atts[i+1]); > i += 2; > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 281101
: 189061