Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 99978 Details for
Bug 151882
CUPS 1.2.4 can't compile on LC_ALL="es_MX"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Preprocessed source
cc6g5F5q.out (text/x-csrc), 201.46 KB, created by
Jose Medellin
on 2006-10-18 16:03:46 UTC
(
hide
)
Description:
Preprocessed source
Filename:
MIME Type:
Creator:
Jose Medellin
Created:
2006-10-18 16:03:46 UTC
Size:
201.46 KB
patch
obsolete
>// /usr/libexec/gcc/i686-pc-linux-gnu/3.4.4/cc1 -quiet -I.. -I/usr/include -I/usr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT testlpd.c -quiet -dumpbase testlpd.c -march=athlon-tbird -auxbase testlpd -g -Os -O3 -Wshadow -Wunused -Wall -Wno-format-y2k -fPIC -fomit-frame-pointer -o - -frandom-seed=0 ># 1 "testlpd.c" ># 1 "/home/portage/portage/net-print/cups-1.2.4/work/cups-1.2.4/scheduler//" ># 1 "<interno>" ># 1 "<l\355nea de orden>" ># 1 "testlpd.c" ># 40 "testlpd.c" ># 1 "../cups/cups.h" 1 ># 34 "../cups/cups.h" ># 1 "../cups/ipp.h" 1 ># 35 "../cups/ipp.h" ># 1 "../cups/http.h" 1 ># 35 "../cups/http.h" ># 1 "/usr/include/string.h" 1 3 4 ># 26 "/usr/include/string.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 323 "/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 ># 324 "/usr/include/features.h" 2 3 4 ># 346 "/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-32.h" 1 3 4 ># 8 "/usr/include/gnu/stubs.h" 2 3 4 ># 347 "/usr/include/features.h" 2 3 4 ># 27 "/usr/include/string.h" 2 3 4 > > > > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 ># 213 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 3 4 >typedef 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/i686-pc-linux-gnu/3.4.4/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; > > > > >__extension__ typedef signed long long int __int64_t; >__extension__ typedef unsigned long long int __uint64_t; > > > > > > > >__extension__ typedef long long int __quad_t; >__extension__ typedef unsigned long 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 > > >__extension__ typedef __u_quad_t __dev_t; >__extension__ typedef unsigned int __uid_t; >__extension__ typedef unsigned int __gid_t; >__extension__ typedef unsigned long int __ino_t; >__extension__ typedef __u_quad_t __ino64_t; >__extension__ typedef unsigned int __mode_t; >__extension__ typedef unsigned int __nlink_t; >__extension__ typedef long int __off_t; >__extension__ typedef __quad_t __off64_t; >__extension__ typedef int __pid_t; >__extension__ typedef struct { int __val[2]; } __fsid_t; >__extension__ typedef long int __clock_t; >__extension__ typedef unsigned long int __rlim_t; >__extension__ typedef __u_quad_t __rlim64_t; >__extension__ typedef unsigned int __id_t; >__extension__ typedef long int __time_t; >__extension__ typedef unsigned int __useconds_t; >__extension__ typedef long int __suseconds_t; > >__extension__ typedef int __daddr_t; >__extension__ typedef long int __swblk_t; >__extension__ typedef int __key_t; > > >__extension__ typedef int __clockid_t; > > >__extension__ typedef void * __timer_t; > > >__extension__ typedef long int __blksize_t; > > > > >__extension__ typedef long int __blkcnt_t; >__extension__ typedef __quad_t __blkcnt64_t; > > >__extension__ typedef unsigned long int __fsblkcnt_t; >__extension__ typedef __u_quad_t __fsblkcnt64_t; > > >__extension__ typedef unsigned long int __fsfilcnt_t; >__extension__ typedef __u_quad_t __fsfilcnt64_t; > >__extension__ typedef int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >__extension__ typedef int __intptr_t; > > >__extension__ 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/i686-pc-linux-gnu/3.4.4/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__)) ; > ># 978 "/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 > ># 36 "../cups/http.h" 2 ># 1 "/usr/include/time.h" 1 3 4 ># 31 "/usr/include/time.h" 3 4 > > > > > > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/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; > > > ># 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; ># 121 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > long int tv_nsec; > }; > > > > > > > > >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; > > > > > >typedef __pid_t pid_t; > > > > > > > > >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 > ># 37 "../cups/http.h" 2 ># 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 __ino64_t ino_t; > > > > >typedef __ino64_t ino64_t; > > > > >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 __off64_t off_t; > > > > >typedef __off64_t off64_t; ># 105 "/usr/include/sys/types.h" 3 4 >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; ># 147 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/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/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 ># 248 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt64_t blkcnt_t; > > > >typedef __fsblkcnt64_t fsblkcnt_t; > > > >typedef __fsfilcnt64_t fsfilcnt_t; > > > > > >typedef __blkcnt64_t blkcnt64_t; >typedef __fsblkcnt64_t fsblkcnt64_t; >typedef __fsfilcnt64_t fsfilcnt64_t; > > > > > ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 36 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef unsigned long int pthread_t; > > >typedef union >{ > char __size[36]; > long int __align; >} pthread_attr_t; > > >typedef struct __pthread_internal_slist >{ > struct __pthread_internal_slist *__next; >} __pthread_slist_t; > > > > >typedef union >{ > struct __pthread_mutex_s > { > int __lock; > unsigned int __count; > int __owner; > > > int __kind; > unsigned int __nusers; > __extension__ union > { > int __spins; > __pthread_slist_t __list; > }; > } __data; > char __size[24]; > long int __align; >} pthread_mutex_t; > >typedef union >{ > char __size[4]; > long 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]; > long 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; > > > unsigned int __flags; > int __writer; > } __data; > char __size[32]; > 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[20]; > 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 > > > ># 38 "../cups/http.h" 2 > > > > > > > ># 1 "/usr/include/unistd.h" 1 3 4 ># 28 "/usr/include/unistd.h" 3 4 > ># 171 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/posix_opt.h" 1 3 4 ># 172 "/usr/include/unistd.h" 2 3 4 ># 195 "/usr/include/unistd.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 ># 196 "/usr/include/unistd.h" 2 3 4 ># 224 "/usr/include/unistd.h" 3 4 >typedef __useconds_t useconds_t; ># 236 "/usr/include/unistd.h" 3 4 >typedef __intptr_t intptr_t; > > > > > > >typedef __socklen_t socklen_t; ># 256 "/usr/include/unistd.h" 3 4 >extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 302 "/usr/include/unistd.h" 3 4 >extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) __asm__ ("" "lseek64") __attribute__ ((__nothrow__)); > > > > > > > >extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) > __attribute__ ((__nothrow__)); > > > > > > >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) ; ># 382 "/usr/include/unistd.h" 3 4 >extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)) ; ># 391 "/usr/include/unistd.h" 3 4 >extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__)); ># 403 "/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); ># 427 "/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))) ; ># 455 "/usr/include/unistd.h" 3 4 >extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > >extern int fchdir (int __fd) __attribute__ ((__nothrow__)) ; ># 469 "/usr/include/unistd.h" 3 4 >extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)) ; ># 482 "/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))); ># 514 "/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 > > }; ># 553 "/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__)); ># 589 "/usr/include/unistd.h" 3 4 >extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__)); ># 598 "/usr/include/unistd.h" 3 4 >extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__)); ># 615 "/usr/include/unistd.h" 3 4 >extern int setpgrp (void) __attribute__ ((__nothrow__)); ># 632 "/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__)) ; ># 665 "/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__)); ># 721 "/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))) ; ># 767 "/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))) ; ># 790 "/usr/include/unistd.h" 3 4 >extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 799 "/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))); ># 835 "/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__)); ># 836 "/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))); ># 921 "/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__)); ># 950 "/usr/include/unistd.h" 3 4 >extern int truncate (__const char *__file, __off64_t __length) __asm__ ("" "truncate64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > > > > >extern int truncate64 (__const char *__file, __off64_t __length) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; ># 971 "/usr/include/unistd.h" 3 4 >extern int ftruncate (int __fd, __off64_t __length) __asm__ ("" "ftruncate64") __attribute__ ((__nothrow__)) ; > > > > > > >extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__)) ; ># 988 "/usr/include/unistd.h" 3 4 >extern int brk (void *__addr) __attribute__ ((__nothrow__)) ; > > > > > >extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__)); ># 1009 "/usr/include/unistd.h" 3 4 >extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__)); ># 1035 "/usr/include/unistd.h" 3 4 >extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64") ; > > > > > > >extern int lockf64 (int __fd, int __cmd, __off64_t __len) ; ># 1063 "/usr/include/unistd.h" 3 4 >extern int fdatasync (int __fildes) __attribute__ ((__nothrow__)); ># 1101 "/usr/include/unistd.h" 3 4 > ># 46 "../cups/http.h" 2 ># 1 "/usr/include/sys/time.h" 1 3 4 ># 29 "/usr/include/sys/time.h" 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 > ># 47 "../cups/http.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/i686-pc-linux-gnu/3.4.4/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/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 ># 30 "/usr/include/bits/socket.h" 2 3 4 > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/limits.h" 1 3 4 ># 11 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/limits.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/limits.h" 1 3 4 ># 122 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/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/i686-pc-linux-gnu/3.4.4/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/syslimits.h" 2 3 4 ># 12 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/limits.h" 2 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; > __uint32_t __ss_align; > char __ss_padding[(128 - (2 * sizeof (__uint32_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/sockios.h" 1 3 4 ># 5 "/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 > ># 48 "../cups/http.h" 2 ># 1 "/usr/include/netdb.h" 1 3 4 ># 28 "/usr/include/netdb.h" 3 4 ># 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 ># 27 "/usr/include/stdint.h" 3 4 ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 28 "/usr/include/stdint.h" 2 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; > > > > > >__extension__ >typedef unsigned long long int uint64_t; > > > > > > >typedef signed char int_least8_t; >typedef short int int_least16_t; >typedef int int_least32_t; > > > >__extension__ >typedef long long int int_least64_t; > > > >typedef unsigned char uint_least8_t; >typedef unsigned short int uint_least16_t; >typedef unsigned int uint_least32_t; > > > >__extension__ >typedef unsigned long long int uint_least64_t; > > > > > > >typedef signed char int_fast8_t; > > > > > >typedef int int_fast16_t; >typedef int int_fast32_t; >__extension__ >typedef long long int int_fast64_t; > > > >typedef unsigned char uint_fast8_t; > > > > > >typedef unsigned int uint_fast16_t; >typedef unsigned int uint_fast32_t; >__extension__ >typedef unsigned long long int uint_fast64_t; ># 129 "/usr/include/stdint.h" 3 4 >typedef unsigned int uintptr_t; ># 138 "/usr/include/stdint.h" 3 4 >__extension__ >typedef long long int intmax_t; >__extension__ >typedef unsigned long 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 ># 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 > ># 29 "/usr/include/netdb.h" 2 3 4 > > > > ># 1 "/usr/include/rpc/netdb.h" 1 3 4 ># 42 "/usr/include/rpc/netdb.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/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 > ># 49 "../cups/http.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__)); > > > ># 51 "../cups/http.h" 2 ># 1 "/usr/include/netinet/in_systm.h" 1 3 4 ># 26 "/usr/include/netinet/in_systm.h" 3 4 > ># 35 "/usr/include/netinet/in_systm.h" 3 4 >typedef u_int16_t n_short; >typedef u_int32_t n_long; >typedef u_int32_t n_time; > > ># 52 "../cups/http.h" 2 ># 1 "/usr/include/netinet/ip.h" 1 3 4 ># 27 "/usr/include/netinet/ip.h" 3 4 > > >struct timestamp > { > u_int8_t len; > u_int8_t ptr; > > unsigned int flags:4; > unsigned int overflow:4; > > > > > > > u_int32_t data[9]; > }; > >struct iphdr > { > > unsigned int ihl:4; > unsigned int version:4; > > > > > > > u_int8_t tos; > u_int16_t tot_len; > u_int16_t id; > u_int16_t frag_off; > u_int8_t ttl; > u_int8_t protocol; > u_int16_t check; > u_int32_t saddr; > u_int32_t daddr; > > }; ># 108 "/usr/include/netinet/ip.h" 3 4 >struct ip > { > > unsigned int ip_hl:4; > unsigned int ip_v:4; > > > > > > u_int8_t ip_tos; > u_short ip_len; > u_short ip_id; > u_short ip_off; > > > > > u_int8_t ip_ttl; > u_int8_t ip_p; > u_short ip_sum; > struct in_addr ip_src, ip_dst; > }; > > > > >struct ip_timestamp > { > u_int8_t ipt_code; > u_int8_t ipt_len; > u_int8_t ipt_ptr; > > unsigned int ipt_flg:4; > unsigned int ipt_oflw:4; > > > > > > u_int32_t data[9]; > }; ># 247 "/usr/include/netinet/ip.h" 3 4 > ># 53 "../cups/http.h" 2 > ># 1 "/usr/include/netinet/tcp.h" 1 3 4 ># 89 "/usr/include/netinet/tcp.h" 3 4 >struct tcphdr > { > u_int16_t source; > u_int16_t dest; > u_int32_t seq; > u_int32_t ack_seq; > > u_int16_t res1:4; > u_int16_t doff:4; > u_int16_t fin:1; > u_int16_t syn:1; > u_int16_t rst:1; > u_int16_t psh:1; > u_int16_t ack:1; > u_int16_t urg:1; > u_int16_t res2:2; ># 118 "/usr/include/netinet/tcp.h" 3 4 > u_int16_t window; > u_int16_t check; > u_int16_t urg_ptr; >}; > > >enum >{ > TCP_ESTABLISHED = 1, > TCP_SYN_SENT, > TCP_SYN_RECV, > TCP_FIN_WAIT1, > TCP_FIN_WAIT2, > TCP_TIME_WAIT, > TCP_CLOSE, > TCP_CLOSE_WAIT, > TCP_LAST_ACK, > TCP_LISTEN, > TCP_CLOSING >}; ># 176 "/usr/include/netinet/tcp.h" 3 4 >enum tcp_ca_state >{ > TCP_CA_Open = 0, > TCP_CA_Disorder = 1, > TCP_CA_CWR = 2, > TCP_CA_Recovery = 3, > TCP_CA_Loss = 4 >}; > >struct tcp_info >{ > u_int8_t tcpi_state; > u_int8_t tcpi_ca_state; > u_int8_t tcpi_retransmits; > u_int8_t tcpi_probes; > u_int8_t tcpi_backoff; > u_int8_t tcpi_options; > u_int8_t tcpi_snd_wscale : 4, tcpi_rcv_wscale : 4; > > u_int32_t tcpi_rto; > u_int32_t tcpi_ato; > u_int32_t tcpi_snd_mss; > u_int32_t tcpi_rcv_mss; > > u_int32_t tcpi_unacked; > u_int32_t tcpi_sacked; > u_int32_t tcpi_lost; > u_int32_t tcpi_retrans; > u_int32_t tcpi_fackets; > > > u_int32_t tcpi_last_data_sent; > u_int32_t tcpi_last_ack_sent; > u_int32_t tcpi_last_data_recv; > u_int32_t tcpi_last_ack_recv; > > > u_int32_t tcpi_pmtu; > u_int32_t tcpi_rcv_ssthresh; > u_int32_t tcpi_rtt; > u_int32_t tcpi_rttvar; > u_int32_t tcpi_snd_ssthresh; > u_int32_t tcpi_snd_cwnd; > u_int32_t tcpi_advmss; > u_int32_t tcpi_reordering; >}; ># 55 "../cups/http.h" 2 > > > > > ># 1 "/usr/include/sys/un.h" 1 3 4 ># 27 "/usr/include/sys/un.h" 3 4 > > > >struct sockaddr_un > { > sa_family_t sun_family; > char sun_path[108]; > }; ># 45 "/usr/include/sys/un.h" 3 4 > ># 61 "../cups/http.h" 2 > > > ># 1 "../cups/md5.h" 1 ># 52 "../cups/md5.h" >typedef struct _cups_md5_state_s { > unsigned int count[2]; > unsigned int abcd[4]; > unsigned char buf[64]; >} _cups_md5_state_t; > > > > > > >void _cupsMD5Init(_cups_md5_state_t *pms); > > >void _cupsMD5Append(_cups_md5_state_t *pms, const unsigned char *data, int nbytes); > > >void _cupsMD5Finish(_cups_md5_state_t *pms, unsigned char digest[16]); ># 65 "../cups/http.h" 2 ># 132 "../cups/http.h" >typedef enum http_auth_e >{ > HTTP_AUTH_NONE, > HTTP_AUTH_BASIC, > HTTP_AUTH_MD5, > HTTP_AUTH_MD5_SESS, > HTTP_AUTH_MD5_INT, > HTTP_AUTH_MD5_SESS_INT >} http_auth_t; > >typedef enum http_encoding_e >{ > HTTP_ENCODE_LENGTH, > HTTP_ENCODE_CHUNKED, > HTTP_ENCODE_FIELDS >} http_encoding_t; > >typedef enum http_encryption_e >{ > HTTP_ENCRYPT_IF_REQUESTED, > HTTP_ENCRYPT_NEVER, > HTTP_ENCRYPT_REQUIRED, > HTTP_ENCRYPT_ALWAYS >} http_encryption_t; > >typedef enum http_field_e >{ > HTTP_FIELD_UNKNOWN = -1, > HTTP_FIELD_ACCEPT_LANGUAGE, > HTTP_FIELD_ACCEPT_RANGES, > HTTP_FIELD_AUTHORIZATION, > HTTP_FIELD_CONNECTION, > HTTP_FIELD_CONTENT_ENCODING, > HTTP_FIELD_CONTENT_LANGUAGE, > HTTP_FIELD_CONTENT_LENGTH, > HTTP_FIELD_CONTENT_LOCATION, > HTTP_FIELD_CONTENT_MD5, > HTTP_FIELD_CONTENT_RANGE, > HTTP_FIELD_CONTENT_TYPE, > HTTP_FIELD_CONTENT_VERSION, > HTTP_FIELD_DATE, > HTTP_FIELD_HOST, > HTTP_FIELD_IF_MODIFIED_SINCE, > HTTP_FIELD_IF_UNMODIFIED_SINCE, > HTTP_FIELD_KEEP_ALIVE, > HTTP_FIELD_LAST_MODIFIED, > HTTP_FIELD_LINK, > HTTP_FIELD_LOCATION, > HTTP_FIELD_RANGE, > HTTP_FIELD_REFERER, > HTTP_FIELD_RETRY_AFTER, > HTTP_FIELD_TRANSFER_ENCODING, > HTTP_FIELD_UPGRADE, > HTTP_FIELD_USER_AGENT, > HTTP_FIELD_WWW_AUTHENTICATE, > HTTP_FIELD_MAX >} http_field_t; > >typedef enum http_keepalive_e >{ > HTTP_KEEPALIVE_OFF = 0, > HTTP_KEEPALIVE_ON >} http_keepalive_t; > >typedef enum http_state_e > > >{ > HTTP_WAITING, > HTTP_OPTIONS, > HTTP_GET, > HTTP_GET_SEND, > HTTP_HEAD, > HTTP_POST, > HTTP_POST_RECV, > HTTP_POST_SEND, > HTTP_PUT, > HTTP_PUT_RECV, > HTTP_DELETE, > HTTP_TRACE, > HTTP_CLOSE, > HTTP_STATUS >} http_state_t; > >typedef enum http_status_e >{ > HTTP_ERROR = -1, > > HTTP_CONTINUE = 100, > HTTP_SWITCHING_PROTOCOLS, > > HTTP_OK = 200, > HTTP_CREATED, > HTTP_ACCEPTED, > HTTP_NOT_AUTHORITATIVE, > HTTP_NO_CONTENT, > HTTP_RESET_CONTENT, > HTTP_PARTIAL_CONTENT, > > HTTP_MULTIPLE_CHOICES = 300, > HTTP_MOVED_PERMANENTLY, > HTTP_MOVED_TEMPORARILY, > HTTP_SEE_OTHER, > HTTP_NOT_MODIFIED, > HTTP_USE_PROXY, > > HTTP_BAD_REQUEST = 400, > HTTP_UNAUTHORIZED, > HTTP_PAYMENT_REQUIRED, > HTTP_FORBIDDEN, > HTTP_NOT_FOUND, > HTTP_METHOD_NOT_ALLOWED, > HTTP_NOT_ACCEPTABLE, > HTTP_PROXY_AUTHENTICATION, > HTTP_REQUEST_TIMEOUT, > HTTP_CONFLICT, > HTTP_GONE, > HTTP_LENGTH_REQUIRED, > HTTP_PRECONDITION, > HTTP_REQUEST_TOO_LARGE, > HTTP_URI_TOO_LONG, > HTTP_UNSUPPORTED_MEDIATYPE, > HTTP_REQUESTED_RANGE, > HTTP_EXPECTATION_FAILED, > HTTP_UPGRADE_REQUIRED = 426, > > HTTP_SERVER_ERROR = 500, > HTTP_NOT_IMPLEMENTED, > HTTP_BAD_GATEWAY, > HTTP_SERVICE_UNAVAILABLE, > HTTP_GATEWAY_TIMEOUT, > HTTP_NOT_SUPPORTED >} http_status_t; > >typedef enum http_uri_status_e >{ > HTTP_URI_OVERFLOW = -8, > HTTP_URI_BAD_ARGUMENTS = -7, > HTTP_URI_BAD_RESOURCE = -6, > HTTP_URI_BAD_PORT = -5, > HTTP_URI_BAD_HOSTNAME = -4, > HTTP_URI_BAD_USERNAME = -3, > HTTP_URI_BAD_SCHEME = -2, > HTTP_URI_BAD_URI = -1, > HTTP_URI_OK = 0, > HTTP_URI_MISSING_SCHEME, > HTTP_URI_UNKNOWN_SCHEME, > HTTP_URI_MISSING_RESOURCE >} http_uri_status_t; > >typedef enum http_uri_coding_e >{ > HTTP_URI_CODING_NONE = 0, > HTTP_URI_CODING_USERNAME = 1, > HTTP_URI_CODING_HOSTNAME = 2, > HTTP_URI_CODING_RESOURCE = 4, > HTTP_URI_CODING_MOST = 7, > HTTP_URI_CODING_QUERY = 8, > HTTP_URI_CODING_ALL = 15 >} http_uri_coding_t; > >typedef enum http_version_e >{ > HTTP_0_9 = 9, > HTTP_1_0 = 100, > HTTP_1_1 = 101 >} http_version_t; > >typedef union _http_addr_u > > > > >{ > struct sockaddr addr; > struct sockaddr_in ipv4; > > struct sockaddr_in6 ipv6; > > > struct sockaddr_un un; > > char pad[256]; >} http_addr_t; > >typedef struct http_addrlist_s > > > > >{ > struct http_addrlist_s *next; > http_addr_t addr; >} http_addrlist_t; > >typedef struct _http_s >{ ># 337 "../cups/http.h" > int fd; > int blocking; > int error; > time_t activity; > http_state_t state; > http_status_t status; > http_version_t version; > http_keepalive_t keep_alive; > struct sockaddr_in _hostaddr; > char hostname[256], > > fields[HTTP_FIELD_MAX][256]; > > char *data; > http_encoding_t data_encoding; > int _data_remaining; > int used; > char buffer[2048]; > > int auth_type; > _cups_md5_state_t md5_state; > char nonce[256]; > > int nonce_count; > void *tls; > http_encryption_t encryption; > > fd_set *input_set; > http_status_t expect; > char *cookie; > > char authstring[256], > > userpass[256]; > > int digest_tries; > > off_t data_remaining; > http_addr_t *hostaddr; > http_addrlist_t *addrlist; > char wbuffer[2048]; > > int wused; >} http_t; > > > > > > >extern void httpBlocking(http_t *http, int b); >extern int httpCheck(http_t *http); >extern void httpClearFields(http_t *http); >extern void httpClose(http_t *http); >extern http_t *httpConnect(const char *host, int port); >extern http_t *httpConnectEncrypt(const char *host, int port, > http_encryption_t encryption); >extern int httpDelete(http_t *http, const char *uri); >extern int httpEncryption(http_t *http, http_encryption_t e); >extern int httpError(http_t *http); >extern void httpFlush(http_t *http); >extern int httpGet(http_t *http, const char *uri); >extern char *httpGets(char *line, int length, http_t *http); >extern const char *httpGetDateString(time_t t); >extern time_t httpGetDateTime(const char *s); >extern const char *httpGetField(http_t *http, http_field_t field); >extern struct hostent *httpGetHostByName(const char *name); >extern char *httpGetSubField(http_t *http, http_field_t field, > const char *name, char *value); >extern int httpHead(http_t *http, const char *uri); >extern void httpInitialize(void); >extern int httpOptions(http_t *http, const char *uri); >extern int httpPost(http_t *http, const char *uri); >extern int httpPrintf(http_t *http, const char *format, ...) > >__attribute__ ((__format__ (__printf__, 2, 3))) > >; >extern int httpPut(http_t *http, const char *uri); >extern int httpRead(http_t *http, char *buffer, int length) __attribute__ ((__deprecated__)); >extern int httpReconnect(http_t *http); >extern void httpSeparate(const char *uri, char *method, > char *username, char *host, int *port, > char *resource) __attribute__ ((__deprecated__)); >extern void httpSetField(http_t *http, http_field_t field, > const char *value); >extern const char *httpStatus(http_status_t status); >extern int httpTrace(http_t *http, const char *uri); >extern http_status_t httpUpdate(http_t *http); >extern int httpWrite(http_t *http, const char *buffer, int length) __attribute__ ((__deprecated__)); >extern char *httpEncode64(char *out, const char *in) __attribute__ ((__deprecated__)); >extern char *httpDecode64(char *out, const char *in) __attribute__ ((__deprecated__)); >extern int httpGetLength(http_t *http) __attribute__ ((__deprecated__)); >extern char *httpMD5(const char *, const char *, const char *, > char [33]); >extern char *httpMD5Final(const char *, const char *, const char *, > char [33]); >extern char *httpMD5String(const unsigned char *, char [33]); > > >extern void httpClearCookie(http_t *http); >extern const char *httpGetCookie(http_t *http); >extern void httpSetCookie(http_t *http, const char *cookie); >extern int httpWait(http_t *http, int msec); > > >extern char *httpDecode64_2(char *out, int *outlen, const char *in); >extern char *httpEncode64_2(char *out, int outlen, const char *in, > int inlen); >extern void httpSeparate2(const char *uri, > char *method, int methodlen, > char *username, int usernamelen, > char *host, int hostlen, int *port, > char *resource, int resourcelen) __attribute__ ((__deprecated__)); > > >extern int httpAddrAny(const http_addr_t *addr); >extern http_addrlist_t *httpAddrConnect(http_addrlist_t *addrlist, int *sock); >extern int httpAddrEqual(const http_addr_t *addr1, > const http_addr_t *addr2); >extern void httpAddrFreeList(http_addrlist_t *addrlist); >extern http_addrlist_t *httpAddrGetList(const char *hostname, int family, > const char *service); >extern int httpAddrLength(const http_addr_t *addr); >extern int httpAddrLocalhost(const http_addr_t *addr); >extern char *httpAddrLookup(const http_addr_t *addr, > char *name, int namelen); >extern char *httpAddrString(const http_addr_t *addr, > char *s, int slen); >extern http_uri_status_t httpAssembleURI(http_uri_coding_t encoding, > char *uri, int urilen, > const char *scheme, > const char *username, > const char *host, int port, > const char *resource); >extern http_uri_status_t httpAssembleURIf(http_uri_coding_t encoding, > char *uri, int urilen, > const char *scheme, > const char *username, > const char *host, int port, > const char *resourcef, ...); >extern int httpFlushWrite(http_t *http); >extern int httpGetBlocking(http_t *http); >extern const char *httpGetDateString2(time_t t, char *s, int slen); >extern int httpGetFd(http_t *http); >extern const char *httpGetHostname(http_t *http, char *s, int slen); >extern off_t httpGetLength2(http_t *http); >extern http_status_t httpGetStatus(http_t *http); >extern char *httpGetSubField2(http_t *http, http_field_t field, > const char *name, char *value, > int valuelen); >extern ssize_t httpRead2(http_t *http, char *buffer, size_t length); >extern http_uri_status_t httpSeparateURI(http_uri_coding_t decoding, > const char *uri, > char *scheme, int schemelen, > char *username, int usernamelen, > char *host, int hostlen, int *port, > char *resource, int resourcelen); >extern void httpSetExpect(http_t *http, http_status_t expect); >extern void httpSetLength(http_t *http, size_t length); >extern ssize_t httpWrite2(http_t *http, const char *buffer, > size_t length); ># 36 "../cups/ipp.h" 2 ># 75 "../cups/ipp.h" >typedef enum ipp_tag_e >{ > IPP_TAG_ZERO = 0x00, > IPP_TAG_OPERATION, > IPP_TAG_JOB, > IPP_TAG_END, > IPP_TAG_PRINTER, > IPP_TAG_UNSUPPORTED_GROUP, > IPP_TAG_SUBSCRIPTION, > IPP_TAG_EVENT_NOTIFICATION, > IPP_TAG_UNSUPPORTED_VALUE = 0x10, > IPP_TAG_DEFAULT, > IPP_TAG_UNKNOWN, > IPP_TAG_NOVALUE, > IPP_TAG_NOTSETTABLE = 0x15, > IPP_TAG_DELETEATTR, > IPP_TAG_ADMINDEFINE, > IPP_TAG_INTEGER = 0x21, > IPP_TAG_BOOLEAN, > IPP_TAG_ENUM, > IPP_TAG_STRING = 0x30, > IPP_TAG_DATE, > IPP_TAG_RESOLUTION, > IPP_TAG_RANGE, > IPP_TAG_BEGIN_COLLECTION, > IPP_TAG_TEXTLANG, > IPP_TAG_NAMELANG, > IPP_TAG_END_COLLECTION, > IPP_TAG_TEXT = 0x41, > IPP_TAG_NAME, > IPP_TAG_KEYWORD = 0x44, > IPP_TAG_URI, > IPP_TAG_URISCHEME, > IPP_TAG_CHARSET, > IPP_TAG_LANGUAGE, > IPP_TAG_MIMETYPE, > IPP_TAG_MEMBERNAME, > IPP_TAG_MASK = 0x7fffffff, > IPP_TAG_COPY = -0x7fffffff-1 >} ipp_tag_t; > >typedef enum ipp_res_e >{ > IPP_RES_PER_INCH = 3, > IPP_RES_PER_CM >} ipp_res_t; > >typedef enum ipp_finish_e >{ > IPP_FINISHINGS_NONE = 3, > IPP_FINISHINGS_STAPLE, > IPP_FINISHINGS_PUNCH, > IPP_FINISHINGS_COVER, > IPP_FINISHINGS_BIND, > IPP_FINISHINGS_SADDLE_STITCH, > IPP_FINISHINGS_EDGE_STITCH, > IPP_FINISHINGS_FOLD, > IPP_FINISHINGS_TRIM, > IPP_FINISHINGS_BALE, > IPP_FINISHINGS_BOOKLET_MAKER, > IPP_FINISHINGS_JOB_OFFSET, > IPP_FINISHINGS_STAPLE_TOP_LEFT = 20, > IPP_FINISHINGS_STAPLE_BOTTOM_LEFT, > IPP_FINISHINGS_STAPLE_TOP_RIGHT, > IPP_FINISHINGS_STAPLE_BOTTOM_RIGHT, > IPP_FINISHINGS_EDGE_STITCH_LEFT, > IPP_FINISHINGS_EDGE_STITCH_TOP, > IPP_FINISHINGS_EDGE_STITCH_RIGHT, > IPP_FINISHINGS_EDGE_STITCH_BOTTOM, > IPP_FINISHINGS_STAPLE_DUAL_LEFT, > IPP_FINISHINGS_STAPLE_DUAL_TOP, > IPP_FINISHINGS_STAPLE_DUAL_RIGHT, > IPP_FINISHINGS_STAPLE_DUAL_BOTTOM, > IPP_FINISHINGS_BIND_LEFT = 50, > IPP_FINISHINGS_BIND_TOP, > IPP_FINISHINGS_BIND_RIGHT, > IPP_FINISHINGS_BIND_BOTTOM >} ipp_finish_t; > >typedef enum ipp_orient_e >{ > IPP_PORTRAIT = 3, > IPP_LANDSCAPE, > IPP_REVERSE_LANDSCAPE, > IPP_REVERSE_PORTRAIT >} ipp_orient_t; > >typedef enum ipp_quality_e >{ > IPP_QUALITY_DRAFT = 3, > IPP_QUALITY_NORMAL, > IPP_QUALITY_HIGH >} ipp_quality_t; > >typedef enum ipp_jstate_e >{ > IPP_JOB_PENDING = 3, > IPP_JOB_HELD, > IPP_JOB_PROCESSING, > IPP_JOB_STOPPED, > IPP_JOB_CANCELED, > IPP_JOB_ABORTED, > IPP_JOB_COMPLETED >} ipp_jstate_t; > > >typedef enum ipp_pstate_e >{ > IPP_PRINTER_IDLE = 3, > IPP_PRINTER_PROCESSING, > IPP_PRINTER_STOPPED >} ipp_pstate_t; > >typedef enum ipp_state_e >{ > IPP_ERROR = -1, > IPP_IDLE, > IPP_HEADER, > IPP_ATTRIBUTE, > IPP_DATA >} ipp_state_t; > >typedef enum ipp_op_e >{ > IPP_PRINT_JOB = 0x0002, > IPP_PRINT_URI, > IPP_VALIDATE_JOB, > IPP_CREATE_JOB, > IPP_SEND_DOCUMENT, > IPP_SEND_URI, > IPP_CANCEL_JOB, > IPP_GET_JOB_ATTRIBUTES, > IPP_GET_JOBS, > IPP_GET_PRINTER_ATTRIBUTES, > IPP_HOLD_JOB, > IPP_RELEASE_JOB, > IPP_RESTART_JOB, > IPP_PAUSE_PRINTER = 0x0010, > IPP_RESUME_PRINTER, > IPP_PURGE_JOBS, > IPP_SET_PRINTER_ATTRIBUTES, > IPP_SET_JOB_ATTRIBUTES, > IPP_GET_PRINTER_SUPPORTED_VALUES, > IPP_CREATE_PRINTER_SUBSCRIPTION, > IPP_CREATE_JOB_SUBSCRIPTION, > IPP_GET_SUBSCRIPTION_ATTRIBUTES, > IPP_GET_SUBSCRIPTIONS, > IPP_RENEW_SUBSCRIPTION, > IPP_CANCEL_SUBSCRIPTION, > IPP_GET_NOTIFICATIONS, > IPP_SEND_NOTIFICATIONS, > IPP_GET_PRINT_SUPPORT_FILES = 0x0021, > IPP_ENABLE_PRINTER, > IPP_DISABLE_PRINTER, > IPP_PAUSE_PRINTER_AFTER_CURRENT_JOB, > IPP_HOLD_NEW_JOBS, > IPP_RELEASE_HELD_NEW_JOBS, > IPP_DEACTIVATE_PRINTER, > IPP_ACTIVATE_PRINTER, > IPP_RESTART_PRINTER, > IPP_SHUTDOWN_PRINTER, > IPP_STARTUP_PRINTER, > IPP_REPROCESS_JOB, > IPP_CANCEL_CURRENT_JOB, > IPP_SUSPEND_CURRENT_JOB, > IPP_RESUME_JOB, > IPP_PROMOTE_JOB, > IPP_SCHEDULE_JOB_AFTER, > IPP_PRIVATE = 0x4000, > CUPS_GET_DEFAULT, > CUPS_GET_PRINTERS, > CUPS_ADD_MODIFY_PRINTER, > CUPS_DELETE_PRINTER, > CUPS_GET_CLASSES, > CUPS_ADD_MODIFY_CLASS, > CUPS_DELETE_CLASS, > CUPS_ACCEPT_JOBS, > CUPS_REJECT_JOBS, > CUPS_SET_DEFAULT, > CUPS_GET_DEVICES, > CUPS_GET_PPDS, > CUPS_MOVE_JOB, > CUPS_AUTHENTICATE_JOB >} ipp_op_t; > > > > > >typedef enum ipp_status_e >{ > IPP_OK = 0x0000, > IPP_OK_SUBST, > IPP_OK_CONFLICT, > IPP_OK_IGNORED_SUBSCRIPTIONS, > IPP_OK_IGNORED_NOTIFICATIONS, > IPP_OK_TOO_MANY_EVENTS, > IPP_OK_BUT_CANCEL_SUBSCRIPTION, > IPP_OK_EVENTS_COMPLETE, > IPP_REDIRECTION_OTHER_SITE = 0x300, > IPP_BAD_REQUEST = 0x0400, > IPP_FORBIDDEN, > IPP_NOT_AUTHENTICATED, > IPP_NOT_AUTHORIZED, > IPP_NOT_POSSIBLE, > IPP_TIMEOUT, > IPP_NOT_FOUND, > IPP_GONE, > IPP_REQUEST_ENTITY, > IPP_REQUEST_VALUE, > IPP_DOCUMENT_FORMAT, > IPP_ATTRIBUTES, > IPP_URI_SCHEME, > IPP_CHARSET, > IPP_CONFLICT, > IPP_COMPRESSION_NOT_SUPPORTED, > IPP_COMPRESSION_ERROR, > IPP_DOCUMENT_FORMAT_ERROR, > IPP_DOCUMENT_ACCESS_ERROR, > IPP_ATTRIBUTES_NOT_SETTABLE, > IPP_IGNORED_ALL_SUBSCRIPTIONS, > IPP_TOO_MANY_SUBSCRIPTIONS, > IPP_IGNORED_ALL_NOTIFICATIONS, > IPP_PRINT_SUPPORT_FILE_NOT_FOUND, > > IPP_INTERNAL_ERROR = 0x0500, > IPP_OPERATION_NOT_SUPPORTED, > IPP_SERVICE_UNAVAILABLE, > IPP_VERSION_NOT_SUPPORTED, > IPP_DEVICE_ERROR, > IPP_TEMPORARY_ERROR, > IPP_NOT_ACCEPTING, > IPP_PRINTER_BUSY, > IPP_ERROR_JOB_CANCELED, > IPP_MULTIPLE_JOBS_NOT_SUPPORTED, > IPP_PRINTER_IS_DEACTIVATED >} ipp_status_t; > > >typedef unsigned char ipp_uchar_t; > > >typedef ssize_t (*ipp_iocb_t)(void *, ipp_uchar_t *, size_t); > > >typedef union ipp_request_u >{ > struct > { > ipp_uchar_t version[2]; > int op_status; > int request_id; > } any; > > struct > { > ipp_uchar_t version[2]; > ipp_op_t operation_id; > int request_id; > } op; > > struct > { > ipp_uchar_t version[2]; > ipp_status_t status_code; > int request_id; > } status; > > > struct > { > ipp_uchar_t version[2]; > ipp_status_t status_code; > int request_id; > } event; >} ipp_request_t; > > >typedef struct ipp_s ipp_t; > >typedef union ipp_value_u >{ > int integer; > > char boolean; > > ipp_uchar_t date[11]; > > struct > { > int xres, > yres; > ipp_res_t units; > } resolution; > > struct > { > int lower, > upper; > } range; > > struct > { > char *charset; > char *text; > } string; > > struct > { > int length; > void *data; > } unknown; > > > ipp_t *collection; >} ipp_value_t; > >typedef struct ipp_attribute_s >{ > struct ipp_attribute_s *next; > ipp_tag_t group_tag, > value_tag; > char *name; > int num_values; > ipp_value_t values[1]; >} ipp_attribute_t; > >struct ipp_s >{ > ipp_state_t state; > ipp_request_t request; > ipp_attribute_t *attrs; > ipp_attribute_t *last; > ipp_attribute_t *current; > ipp_tag_t curtag; > > > ipp_attribute_t *prev; >}; > > > > > > >extern ipp_attribute_t *ippAddBoolean(ipp_t *ipp, ipp_tag_t group, > const char *name, char value); >extern ipp_attribute_t *ippAddBooleans(ipp_t *ipp, ipp_tag_t group, > const char *name, int num_values, > const char *values); >extern ipp_attribute_t *ippAddDate(ipp_t *ipp, ipp_tag_t group, > const char *name, const ipp_uchar_t *value); >extern ipp_attribute_t *ippAddInteger(ipp_t *ipp, ipp_tag_t group, > ipp_tag_t type, const char *name, > int value); >extern ipp_attribute_t *ippAddIntegers(ipp_t *ipp, ipp_tag_t group, > ipp_tag_t type, const char *name, > int num_values, const int *values); >extern ipp_attribute_t *ippAddRange(ipp_t *ipp, ipp_tag_t group, > const char *name, int lower, int upper); >extern ipp_attribute_t *ippAddRanges(ipp_t *ipp, ipp_tag_t group, > const char *name, int num_values, > const int *lower, const int *upper); >extern ipp_attribute_t *ippAddResolution(ipp_t *ipp, ipp_tag_t group, > const char *name, ipp_res_t units, > int xres, int yres); >extern ipp_attribute_t *ippAddResolutions(ipp_t *ipp, ipp_tag_t group, > const char *name, int num_values, > ipp_res_t units, const int *xres, > const int *yres); >extern ipp_attribute_t *ippAddSeparator(ipp_t *ipp); >extern ipp_attribute_t *ippAddString(ipp_t *ipp, ipp_tag_t group, > ipp_tag_t type, const char *name, > const char *charset, const char *value); >extern ipp_attribute_t *ippAddStrings(ipp_t *ipp, ipp_tag_t group, > ipp_tag_t type, const char *name, > int num_values, const char *charset, > const char * const *values); >extern time_t ippDateToTime(const ipp_uchar_t *date); >extern void ippDelete(ipp_t *ipp); >extern const char *ippErrorString(ipp_status_t error); >extern ipp_attribute_t *ippFindAttribute(ipp_t *ipp, const char *name, > ipp_tag_t type); >extern ipp_attribute_t *ippFindNextAttribute(ipp_t *ipp, const char *name, > ipp_tag_t type); >extern size_t ippLength(ipp_t *ipp); >extern ipp_t *ippNew(void); >extern ipp_state_t ippRead(http_t *http, ipp_t *ipp); >extern const ipp_uchar_t *ippTimeToDate(time_t t); >extern ipp_state_t ippWrite(http_t *http, ipp_t *ipp); >extern int ippPort(void); >extern void ippSetPort(int p); > > >extern ipp_attribute_t *ippAddCollection(ipp_t *ipp, ipp_tag_t group, > const char *name, ipp_t *value); >extern ipp_attribute_t *ippAddCollections(ipp_t *ipp, ipp_tag_t group, > const char *name, int num_values, > const ipp_t **values); >extern void ippDeleteAttribute(ipp_t *ipp, ipp_attribute_t *attr); >extern ipp_state_t ippReadFile(int fd, ipp_t *ipp); >extern ipp_state_t ippWriteFile(int fd, ipp_t *ipp); > > >extern ipp_attribute_t *ippAddOctetString(ipp_t *ipp, ipp_tag_t group, > const char *name, > const void *data, int datalen); >extern ipp_status_t ippErrorValue(const char *name); >extern ipp_t *ippNewRequest(ipp_op_t op); >extern const char *ippOpString(ipp_op_t op); >extern ipp_op_t ippOpValue(const char *name); >extern ipp_state_t ippReadIO(void *src, ipp_iocb_t cb, int blocking, > ipp_t *parent, ipp_t *ipp); >extern ipp_state_t ippWriteIO(void *dst, ipp_iocb_t cb, int blocking, > ipp_t *parent, ipp_t *ipp); ># 35 "../cups/cups.h" 2 ># 1 "../cups/ppd.h" 1 ># 44 "../cups/ppd.h" ># 1 "/usr/include/stdio.h" 1 3 4 ># 30 "/usr/include/stdio.h" 3 4 > > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/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/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 ># 325 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 3 4 >typedef long int wchar_t; ># 354 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/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/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 ># 49 "/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/i686-pc-linux-gnu/3.4.4/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/i686-pc-linux-gnu/3.4.4/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/i686-pc-linux-gnu/3.4.4/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 166 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 176 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 199 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 267 "/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; ># 315 "/usr/include/libio.h" 3 4 > __off64_t _offset; ># 324 "/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_; ># 360 "/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); ># 412 "/usr/include/libio.h" 3 4 >extern int __underflow (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int __uflow (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int __overflow (_IO_FILE *, int) __attribute__ ((__nothrow__)); >extern wint_t __wunderflow (_IO_FILE *) __attribute__ ((__nothrow__)); >extern wint_t __wuflow (_IO_FILE *) __attribute__ ((__nothrow__)); >extern wint_t __woverflow (_IO_FILE *, wint_t) __attribute__ ((__nothrow__)); ># 450 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp) __attribute__ ((__nothrow__)); >extern int _IO_putc (int __c, _IO_FILE *__fp) __attribute__ ((__nothrow__)); >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) __attribute__ ((__nothrow__)); > > > > > >extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); ># 480 "/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) __attribute__ ((__nothrow__)); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) __attribute__ ((__nothrow__)); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) __attribute__ ((__nothrow__)); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__)); > >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_fpos64_t fpos_t; > > > >typedef _G_fpos64_t fpos64_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__)); > > > > > > > > > ># 172 "/usr/include/stdio.h" 3 4 >extern FILE *tmpfile (void) __asm__ ("" "tmpfile64"); > > > > > > >extern FILE *tmpfile64 (void); > > > >extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)); > > > > > >extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)); ># 201 "/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); > ># 226 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 240 "/usr/include/stdio.h" 3 4 > ># 257 "/usr/include/stdio.h" 3 4 >extern FILE *fopen (__const char *__restrict __filename, __const char *__restrict __modes) __asm__ ("" "fopen64"); > >extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64"); > > > > > > > > > >extern FILE *fopen64 (__const char *__restrict __filename, > __const char *__restrict __modes); >extern FILE *freopen64 (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); > > > > >extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)); ># 298 "/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))); > ># 392 "/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__)); > ># 434 "/usr/include/stdio.h" 3 4 > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 458 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 469 "/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); > ># 502 "/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) ; > ># 583 "/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) ; > ># 636 "/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); > ># 680 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64"); > > >extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64"); > > > > > > > > ># 705 "/usr/include/stdio.h" 3 4 >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64"); > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos) __asm__ ("" "fsetpos64"); > > > > > > > > > >extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); >extern __off64_t ftello64 (FILE *__stream) ; >extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); >extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos); > > > > >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[]; ># 753 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ; > > > > >extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; ># 772 "/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__)); ># 812 "/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__)); ># 833 "/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 >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))); >} ># 111 "/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); >} ># 834 "/usr/include/stdio.h" 2 3 4 ># 842 "/usr/include/stdio.h" 3 4 > ># 45 "../cups/ppd.h" 2 ># 1 "../cups/array.h" 1 ># 34 "../cups/array.h" ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 ># 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))) ; ># 445 "/usr/include/stdlib.h" 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/i686-pc-linux-gnu/3.4.4/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))) ; ># 712 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __asm__ ("" "mkstemp64") > __attribute__ ((__nonnull__ (1))) ; > > > > > >extern int mkstemp64 (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) ; > ># 757 "/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__)) ; > ># 822 "/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))) ; ># 927 "/usr/include/stdlib.h" 3 4 >extern int posix_openpt (int __oflag) ; ># 962 "/usr/include/stdlib.h" 3 4 >extern int getloadavg (double __loadavg[], int __nelem) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 978 "/usr/include/stdlib.h" 3 4 > ># 35 "../cups/array.h" 2 ># 50 "../cups/array.h" >typedef struct _cups_array_s cups_array_t; > >typedef int (*cups_array_func_t)(void *first, void *second, void *data); > > > > > > >extern int cupsArrayAdd(cups_array_t *a, void *e); >extern void cupsArrayClear(cups_array_t *a); >extern int cupsArrayCount(cups_array_t *a); >extern void *cupsArrayCurrent(cups_array_t *a); >extern void cupsArrayDelete(cups_array_t *a); >extern cups_array_t *cupsArrayDup(cups_array_t *a); >extern void *cupsArrayFind(cups_array_t *a, void *e); >extern void *cupsArrayFirst(cups_array_t *a); >extern void *cupsArrayIndex(cups_array_t *a, int n); >extern int cupsArrayInsert(cups_array_t *a, void *e); >extern void *cupsArrayLast(cups_array_t *a); >extern cups_array_t *cupsArrayNew(cups_array_func_t f, void *d); >extern void *cupsArrayNext(cups_array_t *a); >extern void *cupsArrayPrev(cups_array_t *a); >extern int cupsArrayRemove(cups_array_t *a, void *e); >extern void *cupsArrayRestore(cups_array_t *a); >extern int cupsArraySave(cups_array_t *a); >extern void *cupsArrayUserData(cups_array_t *a); ># 46 "../cups/ppd.h" 2 ># 1 "../cups/file.h" 1 ># 67 "../cups/file.h" >typedef struct _cups_file_s cups_file_t; > > > > > > >extern int cupsFileClose(cups_file_t *fp); >extern int cupsFileCompression(cups_file_t *fp); >extern int cupsFileEOF(cups_file_t *fp); >extern const char *cupsFileFind(const char *filename, const char *path, > int executable, char *buffer, > int bufsize); >extern int cupsFileFlush(cups_file_t *fp); >extern int cupsFileGetChar(cups_file_t *fp); >extern char *cupsFileGetConf(cups_file_t *fp, char *buf, size_t buflen, > char **value, int *linenum); >extern size_t cupsFileGetLine(cups_file_t *fp, char *buf, > size_t buflen); >extern char *cupsFileGets(cups_file_t *fp, char *buf, size_t buflen); >extern int cupsFileLock(cups_file_t *fp, int block); >extern int cupsFileNumber(cups_file_t *fp); >extern cups_file_t *cupsFileOpen(const char *filename, const char *mode); >extern cups_file_t *cupsFileOpenFd(int fd, const char *mode); >extern int cupsFilePeekChar(cups_file_t *fp); >extern int cupsFilePrintf(cups_file_t *fp, const char *format, ...); >extern int cupsFilePutChar(cups_file_t *fp, int c); >extern int cupsFilePuts(cups_file_t *fp, const char *s); >extern ssize_t cupsFileRead(cups_file_t *fp, char *buf, size_t bytes); >extern off_t cupsFileRewind(cups_file_t *fp); >extern off_t cupsFileSeek(cups_file_t *fp, off_t pos); >extern cups_file_t *cupsFileStderr(void); >extern cups_file_t *cupsFileStdin(void); >extern cups_file_t *cupsFileStdout(void); >extern off_t cupsFileTell(cups_file_t *fp); >extern int cupsFileUnlock(cups_file_t *fp); >extern ssize_t cupsFileWrite(cups_file_t *fp, const char *buf, size_t bytes); ># 47 "../cups/ppd.h" 2 ># 78 "../cups/ppd.h" >typedef enum ppd_ui_e >{ > PPD_UI_BOOLEAN, > PPD_UI_PICKONE, > PPD_UI_PICKMANY >} ppd_ui_t; > >typedef enum ppd_section_e >{ > PPD_ORDER_ANY, > PPD_ORDER_DOCUMENT, > PPD_ORDER_EXIT, > PPD_ORDER_JCL, > PPD_ORDER_PAGE, > PPD_ORDER_PROLOG >} ppd_section_t; > >typedef enum ppd_cs_e >{ > PPD_CS_CMYK = -4, > PPD_CS_CMY, > PPD_CS_GRAY = 1, > PPD_CS_RGB = 3, > PPD_CS_RGBK, > PPD_CS_N >} ppd_cs_t; > >typedef enum ppd_status_e >{ > PPD_OK = 0, > PPD_FILE_OPEN_ERROR, > PPD_NULL_FILE, > PPD_ALLOC_ERROR, > PPD_MISSING_PPDADOBE4, > PPD_MISSING_VALUE, > PPD_INTERNAL_ERROR, > PPD_BAD_OPEN_GROUP, > PPD_NESTED_OPEN_GROUP, > PPD_BAD_OPEN_UI, > PPD_NESTED_OPEN_UI, > PPD_BAD_ORDER_DEPENDENCY, > PPD_BAD_UI_CONSTRAINTS, > PPD_MISSING_ASTERISK, > PPD_LINE_TOO_LONG, > PPD_ILLEGAL_CHARACTER, > PPD_ILLEGAL_MAIN_KEYWORD, > PPD_ILLEGAL_OPTION_KEYWORD, > PPD_ILLEGAL_TRANSLATION, > PPD_ILLEGAL_WHITESPACE, > PPD_BAD_CUSTOM_PARAM >} ppd_status_t; > >typedef enum ppd_conform_e >{ > PPD_CONFORM_RELAXED, > PPD_CONFORM_STRICT >} ppd_conform_t; > >typedef struct ppd_attr_s >{ > char name[41]; > char spec[41]; > char text[81]; > char *value; >} ppd_attr_t; > >typedef struct ppd_option_s ppd_option_t; > > >typedef struct ppd_choice_s >{ > char marked; > char choice[41]; > char text[81]; > char *code; > ppd_option_t *option; >} ppd_choice_t; > >struct ppd_option_s >{ > char conflicted; > char keyword[41]; > char defchoice[41]; > char text[81]; > ppd_ui_t ui; > ppd_section_t section; > float order; > int num_choices; > ppd_choice_t *choices; >}; > >typedef struct ppd_group_s >{ > > > > > char text[81 - 41]; > > char name[41]; > int num_options; > ppd_option_t *options; > int num_subgroups; > struct ppd_group_s *subgroups; >} ppd_group_t; > >typedef struct >{ > char option1[41]; > char choice1[41]; > char option2[41]; > char choice2[41]; >} ppd_const_t; > >typedef struct ppd_size_s >{ > int marked; > char name[41]; > float width; > float length; > float left; > float bottom; > float right; > float top; >} ppd_size_t; > >typedef struct ppd_emul_s >{ > char name[41]; > char *start; > char *stop; >} ppd_emul_t; > >typedef struct ppd_profile_s >{ > char resolution[41]; > > char media_type[41]; > > float density; > float gamma; > float matrix[3][3]; >} ppd_profile_t; > > >typedef enum ppd_cptype_e >{ > PPD_CUSTOM_CURVE, > PPD_CUSTOM_INT, > PPD_CUSTOM_INVCURVE, > PPD_CUSTOM_PASSCODE, > PPD_CUSTOM_PASSWORD, > PPD_CUSTOM_POINTS, > PPD_CUSTOM_REAL, > PPD_CUSTOM_STRING >} ppd_cptype_t; > >typedef union ppd_cplimit_u >{ > float custom_curve; > int custom_int; > float custom_invcurve; > int custom_passcode; > int custom_password; > float custom_points; > float custom_real; > int custom_string; >} ppd_cplimit_t; > >typedef union ppd_cpvalue_u >{ > float custom_curve; > int custom_int; > float custom_invcurve; > char *custom_passcode; > char *custom_password; > float custom_points; > float custom_real; > char *custom_string; >} ppd_cpvalue_t; > >typedef struct ppd_cparam_s >{ > char name[41]; > char text[81]; > int order; > ppd_cptype_t type; > ppd_cplimit_t minimum, > maximum; > ppd_cpvalue_t current; >} ppd_cparam_t; > >typedef struct ppd_coption_s >{ > char keyword[41]; > ppd_option_t *option; > int marked; > cups_array_t *params; >} ppd_coption_t; > >typedef struct ppd_file_s >{ > int language_level; > int color_device; > int variable_sizes; > int accurate_screens; > int contone_only; > int landscape; > int model_number; > int manual_copies; > int throughput; > ppd_cs_t colorspace; > char *patches; > int num_emulations; > ppd_emul_t *emulations; > char *jcl_begin; > char *jcl_ps; > char *jcl_end; > char *lang_encoding; > char *lang_version; > char *modelname; > char *ttrasterizer; > char *manufacturer; > char *product; > char *nickname; > char *shortnickname; > int num_groups; > ppd_group_t *groups; > int num_sizes; > ppd_size_t *sizes; > float custom_min[2]; > float custom_max[2]; > float custom_margins[4]; > int num_consts; > ppd_const_t *consts; > int num_fonts; > char **fonts; > int num_profiles; > ppd_profile_t *profiles; > int num_filters; > char **filters; > > > int flip_duplex; > > > char *protocols; > char *pcfilename; > int num_attrs; > int cur_attr; > ppd_attr_t **attrs; > > > cups_array_t *sorted_attrs; > cups_array_t *options; > cups_array_t *coptions; >} ppd_file_t; > > > > > > >extern void ppdClose(ppd_file_t *ppd); >extern int ppdCollect(ppd_file_t *ppd, ppd_section_t section, > ppd_choice_t ***choices); >extern int ppdConflicts(ppd_file_t *ppd); >extern int ppdEmit(ppd_file_t *ppd, FILE *fp, > ppd_section_t section); >extern int ppdEmitFd(ppd_file_t *ppd, int fd, > ppd_section_t section); >extern int ppdEmitJCL(ppd_file_t *ppd, FILE *fp, int job_id, > const char *user, const char *title); >extern ppd_choice_t *ppdFindChoice(ppd_option_t *o, const char *option); >extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd, const char *keyword); >extern ppd_option_t *ppdFindOption(ppd_file_t *ppd, const char *keyword); >extern int ppdIsMarked(ppd_file_t *ppd, const char *keyword, > const char *option); >extern void ppdMarkDefaults(ppd_file_t *ppd); >extern int ppdMarkOption(ppd_file_t *ppd, const char *keyword, > const char *option); >extern ppd_file_t *ppdOpen(FILE *fp); >extern ppd_file_t *ppdOpenFd(int fd); >extern ppd_file_t *ppdOpenFile(const char *filename); >extern float ppdPageLength(ppd_file_t *ppd, const char *name); >extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name); >extern float ppdPageWidth(ppd_file_t *ppd, const char *name); > > >extern const char *ppdErrorString(ppd_status_t status); >extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name, > const char *spec); >extern ppd_attr_t *ppdFindNextAttr(ppd_file_t *ppd, const char *name, > const char *spec); >extern ppd_status_t ppdLastError(int *line); > > >extern void ppdSetConformance(ppd_conform_t c); > > >extern int ppdCollect2(ppd_file_t *ppd, ppd_section_t section, > float min_order, ppd_choice_t ***choices); >extern int ppdEmitAfterOrder(ppd_file_t *ppd, FILE *fp, > ppd_section_t section, int limit, > float min_order); >extern int ppdEmitJCLEnd(ppd_file_t *ppd, FILE *fp); >extern char *ppdEmitString(ppd_file_t *ppd, ppd_section_t section, > float min_order); >extern ppd_coption_t *ppdFindCustomOption(ppd_file_t *ppd, > const char *keyword); >extern ppd_cparam_t *ppdFindCustomParam(ppd_coption_t *opt, > const char *name); >extern ppd_cparam_t *ppdFirstCustomParam(ppd_coption_t *opt); >extern ppd_option_t *ppdFirstOption(ppd_file_t *ppd); >extern ppd_cparam_t *ppdNextCustomParam(ppd_coption_t *opt); >extern ppd_option_t *ppdNextOption(ppd_file_t *ppd); >extern int ppdLocalize(ppd_file_t *ppd); >extern ppd_file_t *ppdOpen2(cups_file_t *fp); ># 36 "../cups/cups.h" 2 ># 1 "../cups/language.h" 1 ># 34 "../cups/language.h" ># 1 "/usr/include/locale.h" 1 3 4 ># 29 "/usr/include/locale.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 ># 30 "/usr/include/locale.h" 2 3 4 ># 1 "/usr/include/bits/locale.h" 1 3 4 ># 27 "/usr/include/bits/locale.h" 3 4 >enum >{ > __LC_CTYPE = 0, > __LC_NUMERIC = 1, > __LC_TIME = 2, > __LC_COLLATE = 3, > __LC_MONETARY = 4, > __LC_MESSAGES = 5, > __LC_ALL = 6, > __LC_PAPER = 7, > __LC_NAME = 8, > __LC_ADDRESS = 9, > __LC_TELEPHONE = 10, > __LC_MEASUREMENT = 11, > __LC_IDENTIFICATION = 12 >}; ># 31 "/usr/include/locale.h" 2 3 4 > > ># 52 "/usr/include/locale.h" 3 4 >struct lconv >{ > > > char *decimal_point; > char *thousands_sep; > > > > > > char *grouping; > > > > > > char *int_curr_symbol; > char *currency_symbol; > char *mon_decimal_point; > char *mon_thousands_sep; > char *mon_grouping; > char *positive_sign; > char *negative_sign; > char int_frac_digits; > char frac_digits; > > char p_cs_precedes; > > char p_sep_by_space; > > char n_cs_precedes; > > char n_sep_by_space; > > > > > > > char p_sign_posn; > char n_sign_posn; ># 112 "/usr/include/locale.h" 3 4 > char __int_p_cs_precedes; > char __int_p_sep_by_space; > char __int_n_cs_precedes; > char __int_n_sep_by_space; > char __int_p_sign_posn; > char __int_n_sign_posn; > >}; > > > > > >extern char *setlocale (int __category, __const char *__locale) __attribute__ ((__nothrow__)); > > >extern struct lconv *localeconv (void) __attribute__ ((__nothrow__)); > > ># 208 "/usr/include/locale.h" 3 4 > ># 35 "../cups/language.h" 2 ># 46 "../cups/language.h" >typedef enum cups_encoding_e >{ > CUPS_AUTO_ENCODING = -1, > CUPS_US_ASCII, > CUPS_ISO8859_1, > CUPS_ISO8859_2, > CUPS_ISO8859_3, > CUPS_ISO8859_4, > CUPS_ISO8859_5, > CUPS_ISO8859_6, > CUPS_ISO8859_7, > CUPS_ISO8859_8, > CUPS_ISO8859_9, > CUPS_ISO8859_10, > CUPS_UTF8, > CUPS_ISO8859_13, > CUPS_ISO8859_14, > CUPS_ISO8859_15, > CUPS_WINDOWS_874, > CUPS_WINDOWS_1250, > CUPS_WINDOWS_1251, > CUPS_WINDOWS_1252, > CUPS_WINDOWS_1253, > CUPS_WINDOWS_1254, > CUPS_WINDOWS_1255, > CUPS_WINDOWS_1256, > CUPS_WINDOWS_1257, > CUPS_WINDOWS_1258, > CUPS_KOI8_R, > CUPS_KOI8_U, > CUPS_ISO8859_11, > CUPS_ISO8859_16, > CUPS_MAC_ROMAN, > CUPS_ENCODING_SBCS_END = 63, > > CUPS_WINDOWS_932, > CUPS_WINDOWS_936, > CUPS_WINDOWS_949, > CUPS_WINDOWS_950, > CUPS_WINDOWS_1361, > CUPS_ENCODING_DBCS_END = 127, > > CUPS_EUC_CN, > CUPS_EUC_JP, > CUPS_EUC_KR, > CUPS_EUC_TW, > CUPS_ENCODING_VBCS_END = 191 >} cups_encoding_t; > >typedef struct cups_lang_s >{ > struct cups_lang_s *next; > int used; > cups_encoding_t encoding; > char language[16]; > cups_array_t *strings; >} cups_lang_t; > > > > > > >extern cups_lang_t *cupsLangDefault(void); >extern const char *cupsLangEncoding(cups_lang_t *lang); >extern void cupsLangFlush(void); >extern void cupsLangFree(cups_lang_t *lang); >extern cups_lang_t *cupsLangGet(const char *language); ># 37 "../cups/cups.h" 2 ># 75 "../cups/cups.h" >typedef unsigned cups_ptype_t; >enum cups_ptype_e >{ > CUPS_PRINTER_LOCAL = 0x0000, > CUPS_PRINTER_CLASS = 0x0001, > CUPS_PRINTER_REMOTE = 0x0002, > CUPS_PRINTER_BW = 0x0004, > CUPS_PRINTER_COLOR = 0x0008, > CUPS_PRINTER_DUPLEX = 0x0010, > CUPS_PRINTER_STAPLE = 0x0020, > CUPS_PRINTER_COPIES = 0x0040, > CUPS_PRINTER_COLLATE = 0x0080, > CUPS_PRINTER_PUNCH = 0x0100, > CUPS_PRINTER_COVER = 0x0200, > CUPS_PRINTER_BIND = 0x0400, > CUPS_PRINTER_SORT = 0x0800, > CUPS_PRINTER_SMALL = 0x1000, > CUPS_PRINTER_MEDIUM = 0x2000, > CUPS_PRINTER_LARGE = 0x4000, > CUPS_PRINTER_VARIABLE = 0x8000, > CUPS_PRINTER_IMPLICIT = 0x10000, > CUPS_PRINTER_DEFAULT = 0x20000, > CUPS_PRINTER_FAX = 0x40000, > CUPS_PRINTER_REJECTING = 0x80000, > CUPS_PRINTER_DELETE = 0x100000, > CUPS_PRINTER_NOT_SHARED = 0x200000, > CUPS_PRINTER_AUTHENTICATED = 0x400000, > CUPS_PRINTER_COMMANDS = 0x800000, > CUPS_PRINTER_OPTIONS = 0xe6fffc >}; > >typedef const char *(*cups_password_cb_t)(const char *); > > >typedef struct cups_option_s >{ > char *name; > char *value; >} cups_option_t; > >typedef struct cups_dest_s >{ > char *name, > *instance; > int is_default; > int num_options; > cups_option_t *options; >} cups_dest_t; > >typedef struct cups_job_s >{ > int id; > char *dest; > char *title; > char *user; > char *format; > ipp_jstate_t state; > int size; > int priority; > time_t completed_time; > time_t creation_time; > time_t processing_time; >} cups_job_t; > > > > > > >extern int cupsCancelJob(const char *printer, int job); >extern ipp_t *cupsDoFileRequest(http_t *http, ipp_t *request, > const char *resource, > const char *filename); >extern ipp_t *cupsDoRequest(http_t *http, ipp_t *request, > const char *resource); >extern http_encryption_t cupsEncryption(void); >extern void cupsFreeJobs(int num_jobs, cups_job_t *jobs); >extern int cupsGetClasses(char ***classes) __attribute__ ((__deprecated__)); >extern const char *cupsGetDefault(void); >extern int cupsGetJobs(cups_job_t **jobs, const char *dest, > int myjobs, int completed); >extern const char *cupsGetPPD(const char *printer); >extern int cupsGetPrinters(char ***printers) __attribute__ ((__deprecated__)); >extern ipp_status_t cupsLastError(void); >extern int cupsPrintFile(const char *printer, const char *filename, > const char *title, int num_options, > cups_option_t *options); >extern int cupsPrintFiles(const char *printer, int num_files, > const char **files, const char *title, > int num_options, cups_option_t *options); >extern char *cupsTempFile(char *filename, int len) __attribute__ ((__deprecated__)); >extern int cupsTempFd(char *filename, int len); > >extern int cupsAddDest(const char *name, const char *instance, > int num_dests, cups_dest_t **dests); >extern void cupsFreeDests(int num_dests, cups_dest_t *dests); >extern cups_dest_t *cupsGetDest(const char *name, const char *instance, > int num_dests, cups_dest_t *dests); >extern int cupsGetDests(cups_dest_t **dests); >extern void cupsSetDests(int num_dests, cups_dest_t *dests); > >extern int cupsAddOption(const char *name, const char *value, > int num_options, cups_option_t **options); >extern void cupsEncodeOptions(ipp_t *ipp, int num_options, > cups_option_t *options); >extern void cupsFreeOptions(int num_options, cups_option_t *options); >extern const char *cupsGetOption(const char *name, int num_options, > cups_option_t *options); >extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, > cups_option_t *options); >extern int cupsParseOptions(const char *arg, int num_options, > cups_option_t **options); > >extern const char *cupsGetPassword(const char *prompt); >extern const char *cupsServer(void); >extern void cupsSetEncryption(http_encryption_t e); >extern void cupsSetPasswordCB(cups_password_cb_t cb); >extern void cupsSetServer(const char *server); >extern void cupsSetUser(const char *user); >extern const char *cupsUser(void); > > >extern int cupsDoAuthentication(http_t *http, const char *method, > const char *resource); >extern http_status_t cupsGetFile(http_t *http, const char *resource, > const char *filename); >extern http_status_t cupsGetFd(http_t *http, const char *resource, int fd); >extern http_status_t cupsPutFile(http_t *http, const char *resource, > const char *filename); >extern http_status_t cupsPutFd(http_t *http, const char *resource, int fd); > > >extern const char *cupsGetDefault2(http_t *http); >extern int cupsGetDests2(http_t *http, cups_dest_t **dests); >extern int cupsGetJobs2(http_t *http, cups_job_t **jobs, > const char *dest, int myjobs, > int completed); >extern const char *cupsGetPPD2(http_t *http, const char *printer); >extern int cupsPrintFile2(http_t *http, const char *printer, > const char *filename, > const char *title, int num_options, > cups_option_t *options); >extern int cupsPrintFiles2(http_t *http, const char *printer, > int num_files, const char **files, > const char *title, int num_options, > cups_option_t *options); >extern int cupsSetDests2(http_t *http, int num_dests, > cups_dest_t *dests); > > >extern ssize_t cupsBackChannelRead(char *buffer, size_t bytes, > double timeout); >extern ssize_t cupsBackChannelWrite(const char *buffer, size_t bytes, > double timeout); >extern void cupsEncodeOptions2(ipp_t *ipp, int num_options, > cups_option_t *options, > ipp_tag_t group_tag); >extern const char *cupsLastErrorString(void); >extern char *cupsNotifySubject(cups_lang_t *lang, ipp_t *event); >extern char *cupsNotifyText(cups_lang_t *lang, ipp_t *event); >extern int cupsRemoveOption(const char *name, int num_options, > cups_option_t **options); >extern cups_file_t *cupsTempFile2(char *filename, int len); ># 41 "testlpd.c" 2 ># 1 "../cups/string.h" 1 ># 36 "../cups/string.h" ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stdarg.h" 1 3 4 ># 105 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stdarg.h" 3 4 >typedef __gnuc_va_list va_list; ># 37 "../cups/string.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 > ># 38 "../cups/string.h" 2 > > ># 1 "../config.h" 1 ># 41 "../cups/string.h" 2 > > > > > > ># 1 "/usr/include/strings.h" 1 3 4 ># 48 "../cups/string.h" 2 ># 78 "../cups/string.h" >typedef struct _cups_sp_item_s >{ > char *str; > unsigned int ref_count; >} _cups_sp_item_t; > > > > > > >extern void _cups_strcpy(char *dst, const char *src); ># 107 "../cups/string.h" >extern size_t _cups_strlcat(char *, const char *, size_t); > > > > >extern size_t _cups_strlcpy(char *, const char *, size_t); ># 134 "../cups/string.h" >extern char *_cupsStrAlloc(const char *s); >extern void _cupsStrFlush(void); >extern void _cupsStrFree(const char *s); >extern size_t _cupsStrStatistics(size_t *alloc_bytes, size_t *total_bytes); > > > > > > >extern char *_cupsStrFormatd(char *buf, char *bufend, double number, > struct lconv *loc); >extern double _cupsStrScand(const char *buf, char **bufptr, > struct lconv *loc); ># 42 "testlpd.c" 2 > ># 1 "/usr/include/sys/stat.h" 1 3 4 ># 103 "/usr/include/sys/stat.h" 3 4 > > ># 1 "/usr/include/bits/stat.h" 1 3 4 ># 36 "/usr/include/bits/stat.h" 3 4 >struct stat > { > __dev_t st_dev; > unsigned short int __pad1; > > > > __ino_t __st_ino; > > __mode_t st_mode; > __nlink_t st_nlink; > __uid_t st_uid; > __gid_t st_gid; > __dev_t st_rdev; > unsigned short int __pad2; > > > > __off64_t st_size; > > __blksize_t st_blksize; > > > > > __blkcnt64_t st_blocks; ># 70 "/usr/include/bits/stat.h" 3 4 > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 88 "/usr/include/bits/stat.h" 3 4 > __ino64_t st_ino; > > }; > > >struct stat64 > { > __dev_t st_dev; > unsigned int __pad1; > > __ino_t __st_ino; > __mode_t st_mode; > __nlink_t st_nlink; > __uid_t st_uid; > __gid_t st_gid; > __dev_t st_rdev; > unsigned int __pad2; > __off64_t st_size; > __blksize_t st_blksize; > > __blkcnt64_t st_blocks; > > > > > > > > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 127 "/usr/include/bits/stat.h" 3 4 > __ino64_t st_ino; > }; ># 106 "/usr/include/sys/stat.h" 2 3 4 ># 215 "/usr/include/sys/stat.h" 3 4 >extern int stat (__const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "stat64") __attribute__ ((__nothrow__)) > > __attribute__ ((__nonnull__ (1, 2))); >extern int fstat (int __fd, struct stat *__buf) __asm__ ("" "fstat64") __attribute__ ((__nothrow__)) > __attribute__ ((__nonnull__ (2))); > > > > > > >extern int stat64 (__const char *__restrict __file, > struct stat64 *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int fstat64 (int __fd, struct stat64 *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); ># 263 "/usr/include/sys/stat.h" 3 4 >extern int lstat (__const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "lstat64") __attribute__ ((__nothrow__)) > > > __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int lstat64 (__const char *__restrict __file, > struct stat64 *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >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))); ># 391 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) __asm__ ("" "__fxstat64") __attribute__ ((__nothrow__)) > > __attribute__ ((__nonnull__ (3))); >extern int __xstat (int __ver, __const char *__filename, struct stat *__stat_buf) __asm__ ("" "__xstat64") __attribute__ ((__nothrow__)) > > __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat (int __ver, __const char *__filename, struct stat *__stat_buf) __asm__ ("" "__lxstat64") __attribute__ ((__nothrow__)) > > __attribute__ ((__nonnull__ (2, 3))); >extern int __fxstatat (int __ver, int __fildes, __const char *__filename, struct stat *__stat_buf, int __flag) __asm__ ("" "__fxstatat64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); ># 413 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); >extern int __xstat64 (int __ver, __const char *__filename, > struct stat64 *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat64 (int __ver, __const char *__filename, > struct stat64 *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); >extern int __fxstatat64 (int __ver, int __fildes, __const char *__filename, > struct stat64 *__stat_buf, int __flag) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (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 (3, __path, __statbuf); >} > > >extern __inline__ int >__attribute__ ((__nothrow__)) lstat (__const char *__path, struct stat *__statbuf) >{ > return __lxstat (3, __path, __statbuf); >} > > >extern __inline__ int >__attribute__ ((__nothrow__)) fstat (int __fd, struct stat *__statbuf) >{ > return __fxstat (3, __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 (1, __path, __mode, &__dev); >} ># 482 "/usr/include/sys/stat.h" 3 4 >extern __inline__ int >__attribute__ ((__nothrow__)) stat64 (__const char *__path, struct stat64 *__statbuf) >{ > return __xstat64 (3, __path, __statbuf); >} > > >extern __inline__ int >__attribute__ ((__nothrow__)) lstat64 (__const char *__path, struct stat64 *__statbuf) >{ > return __lxstat64 (3, __path, __statbuf); >} > > >extern __inline__ int >__attribute__ ((__nothrow__)) fstat64 (int __fd, struct stat64 *__statbuf) >{ > return __fxstat64 (3, __fd, __statbuf); >} ># 515 "/usr/include/sys/stat.h" 3 4 > ># 44 "testlpd.c" 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-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/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 > ># 45 "testlpd.c" 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; ># 212 "/usr/include/signal.h" 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)) - 3)]; > > > 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)) - 3)]; > > > > __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 ># 28 "/usr/include/bits/sigcontext.h" 3 4 ># 1 "/usr/include/asm/sigcontext.h" 1 3 4 > > > ># 1 "/usr/include/linux/compiler.h" 1 3 4 ># 5 "/usr/include/asm/sigcontext.h" 2 3 4 ># 20 "/usr/include/asm/sigcontext.h" 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 { > unsigned long element[4]; >}; > >struct _fpstate { > > unsigned long cw; > unsigned long sw; > unsigned long tag; > unsigned long ipoff; > unsigned long cssel; > unsigned long dataoff; > unsigned long datasel; > struct _fpreg _st[8]; > unsigned short status; > unsigned short magic; > > > unsigned long _fxsr_env[6]; > unsigned long mxcsr; > unsigned long reserved; > struct _fpxreg _fxsr_st[8]; > struct _xmmreg _xmm[8]; > unsigned long padding[56]; >}; > > > >struct sigcontext { > unsigned short gs, __gsh; > unsigned short fs, __fsh; > unsigned short es, __esh; > unsigned short ds, __dsh; > unsigned long edi; > unsigned long esi; > unsigned long ebp; > unsigned long esp; > unsigned long ebx; > unsigned long edx; > unsigned long ecx; > unsigned long eax; > unsigned long trapno; > unsigned long err; > unsigned long eip; > unsigned short cs, __csh; > unsigned long eflags; > unsigned long esp_at_signal; > unsigned short ss, __ssh; > struct _fpstate * fpstate; > unsigned long oldmask; > unsigned long cr2; >}; ># 29 "/usr/include/bits/sigcontext.h" 2 3 4 ># 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__)); > > > > ># 46 "testlpd.c" 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 ># 141 "/usr/include/bits/fcntl.h" 3 4 >struct flock > { > short int l_type; > short int l_whence; > > > > > __off64_t l_start; > __off64_t l_len; > > __pid_t l_pid; > }; > > >struct flock64 > { > short int l_type; > short int l_whence; > __off64_t l_start; > __off64_t l_len; > __pid_t l_pid; > }; ># 208 "/usr/include/bits/fcntl.h" 3 4 > ># 237 "/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, ...); ># 88 "/usr/include/fcntl.h" 3 4 >extern int open (__const char *__file, int __oflag, ...) __asm__ ("" "open64") > __attribute__ ((__nonnull__ (1))); > > > > > >extern int open64 (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1))); ># 133 "/usr/include/fcntl.h" 3 4 >extern int creat (__const char *__file, __mode_t __mode) __asm__ ("" "creat64") __attribute__ ((__nonnull__ (1))); > > > > > > >extern int creat64 (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1))); ># 180 "/usr/include/fcntl.h" 3 4 >extern int posix_fadvise (int __fd, __off64_t __offset, __off64_t __len, int __advise) __asm__ ("" "posix_fadvise64") __attribute__ ((__nothrow__)); > > > > > > > >extern int posix_fadvise64 (int __fd, __off64_t __offset, __off64_t __len, > int __advise) __attribute__ ((__nothrow__)); ># 201 "/usr/include/fcntl.h" 3 4 >extern int posix_fallocate (int __fd, __off64_t __offset, __off64_t __len) __asm__ ("" "posix_fallocate64"); > > > > > > > >extern int posix_fallocate64 (int __fd, __off64_t __offset, __off64_t __len); > > > > ># 48 "testlpd.c" 2 > > > > > > >static int do_command(int outfd, int infd, const char *command); >static int print_job(int outfd, int infd, char *dest, char **args); >static int print_waiting(int outfd, int infd, char *dest); >static int remove_job(int outfd, int infd, char *dest, char **args); >static int status_long(int outfd, int infd, char *dest, char **args); >static int status_short(int outfd, int infd, char *dest, char **args); >static void usage(void); > > > > > > >int >main(int argc, > char *argv[]) >{ > int i; > int status; > char *op, > **opargs, > *dest; > int cupslpd_argc; > char *cupslpd_argv[1000]; > int cupslpd_stdin[2], > cupslpd_stdout[2], > cupslpd_pid; > > > > > > > op = ((void *)0); > opargs = ((void *)0); > dest = ((void *)0); > cupslpd_argc = 1; > cupslpd_argv[0] = (char *)"cups-lpd"; > > for (i = 1; i < argc; i ++) > if (!(__extension__ (__builtin_constant_p (2) && ((__builtin_constant_p (argv[i]) && strlen (argv[i]) < ((size_t) (2))) || (__builtin_constant_p ("-o") && strlen ("-o") < ((size_t) (2)))) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (argv[i]) && __builtin_constant_p ("-o") && (__s1_len = strlen (argv[i]), __s2_len = strlen ("-o"), (!((size_t)(const void *)((argv[i]) + 1) - (size_t)(const void *)(argv[i]) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("-o") + 1) - (size_t)(const void *)("-o") == 1) || __s2_len >= 4)) ? __builtin_strcmp (argv[i], "-o") : (__builtin_constant_p (argv[i]) && ((size_t)(const void *)((argv[i]) + 1) - (size_t)(const void *)(argv[i]) == 1) && (__s1_len = strlen (argv[i]), __s1_len < 4) ? (__builtin_constant_p ("-o") && ((size_t)(const void *)(("-o") + 1) - (size_t)(const void *)("-o") == 1) ? __builtin_strcmp (argv[i], "-o") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("-o"); register int __result = (((__const unsigned char *) (__const char *) (argv[i]))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (argv[i]))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (argv[i]))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (argv[i]))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("-o") && ((size_t)(const void *)(("-o") + 1) - (size_t)(const void *)("-o") == 1) && (__s2_len = strlen ("-o"), __s2_len < 4) ? (__builtin_constant_p (argv[i]) && ((size_t)(const void *)((argv[i]) + 1) - (size_t)(const void *)(argv[i]) == 1) ? __builtin_strcmp (argv[i], "-o") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (argv[i]); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("-o"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("-o"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("-o"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("-o"))[3]); } } __result; }))) : __builtin_strcmp (argv[i], "-o")))); }) : strncmp (argv[i], "-o", 2)))) > { > cupslpd_argv[cupslpd_argc++] = argv[i]; > > if (argv[i][2]) > { > i ++; > > if (i >= argc) > usage(); > > cupslpd_argv[cupslpd_argc++] = argv[i]; > } > } > else if (argv[i][0] == '-') > usage(); > else if (!op) > op = argv[i]; > else if (!dest) > dest = argv[i]; > else > { > opargs = argv + i; > break; > } > > if (!op || > (!__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (op) && __builtin_constant_p ("print-job") && (__s1_len = strlen (op), __s2_len = strlen ("print-job"), (!((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("print-job") + 1) - (size_t)(const void *)("print-job") == 1) || __s2_len >= 4)) ? __builtin_strcmp (op, "print-job") : (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) && (__s1_len = strlen (op), __s1_len < 4) ? (__builtin_constant_p ("print-job") && ((size_t)(const void *)(("print-job") + 1) - (size_t)(const void *)("print-job") == 1) ? __builtin_strcmp (op, "print-job") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("print-job"); register int __result = (((__const unsigned char *) (__const char *) (op))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (op))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("print-job") && ((size_t)(const void *)(("print-job") + 1) - (size_t)(const void *)("print-job") == 1) && (__s2_len = strlen ("print-job"), __s2_len < 4) ? (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) ? __builtin_strcmp (op, "print-job") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (op); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("print-job"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("print-job"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("print-job"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("print-job"))[3]); } } __result; }))) : __builtin_strcmp (op, "print-job")))); }) && (!dest || !opargs)) || > (!__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (op) && __builtin_constant_p ("remove-job") && (__s1_len = strlen (op), __s2_len = strlen ("remove-job"), (!((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("remove-job") + 1) - (size_t)(const void *)("remove-job") == 1) || __s2_len >= 4)) ? __builtin_strcmp (op, "remove-job") : (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) && (__s1_len = strlen (op), __s1_len < 4) ? (__builtin_constant_p ("remove-job") && ((size_t)(const void *)(("remove-job") + 1) - (size_t)(const void *)("remove-job") == 1) ? __builtin_strcmp (op, "remove-job") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("remove-job"); register int __result = (((__const unsigned char *) (__const char *) (op))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (op))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("remove-job") && ((size_t)(const void *)(("remove-job") + 1) - (size_t)(const void *)("remove-job") == 1) && (__s2_len = strlen ("remove-job"), __s2_len < 4) ? (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) ? __builtin_strcmp (op, "remove-job") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (op); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("remove-job"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("remove-job"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("remove-job"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("remove-job"))[3]); } } __result; }))) : __builtin_strcmp (op, "remove-job")))); }) && (!dest || !opargs)) || > (__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (op) && __builtin_constant_p ("print-job") && (__s1_len = strlen (op), __s2_len = strlen ("print-job"), (!((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("print-job") + 1) - (size_t)(const void *)("print-job") == 1) || __s2_len >= 4)) ? __builtin_strcmp (op, "print-job") : (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) && (__s1_len = strlen (op), __s1_len < 4) ? (__builtin_constant_p ("print-job") && ((size_t)(const void *)(("print-job") + 1) - (size_t)(const void *)("print-job") == 1) ? __builtin_strcmp (op, "print-job") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("print-job"); register int __result = (((__const unsigned char *) (__const char *) (op))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (op))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("print-job") && ((size_t)(const void *)(("print-job") + 1) - (size_t)(const void *)("print-job") == 1) && (__s2_len = strlen ("print-job"), __s2_len < 4) ? (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) ? __builtin_strcmp (op, "print-job") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (op); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("print-job"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("print-job"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("print-job"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("print-job"))[3]); } } __result; }))) : __builtin_strcmp (op, "print-job")))); }) && __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (op) && __builtin_constant_p ("print-waiting") && (__s1_len = strlen (op), __s2_len = strlen ("print-waiting"), (!((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("print-waiting") + 1) - (size_t)(const void *)("print-waiting") == 1) || __s2_len >= 4)) ? __builtin_strcmp (op, "print-waiting") : (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) && (__s1_len = strlen (op), __s1_len < 4) ? (__builtin_constant_p ("print-waiting") && ((size_t)(const void *)(("print-waiting") + 1) - (size_t)(const void *)("print-waiting") == 1) ? __builtin_strcmp (op, "print-waiting") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("print-waiting"); register int __result = (((__const unsigned char *) (__const char *) (op))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (op))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("print-waiting") && ((size_t)(const void *)(("print-waiting") + 1) - (size_t)(const void *)("print-waiting") == 1) && (__s2_len = strlen ("print-waiting"), __s2_len < 4) ? (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) ? __builtin_strcmp (op, "print-waiting") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (op); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("print-waiting"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("print-waiting"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("print-waiting"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("print-waiting"))[3]); } } __result; }))) : __builtin_strcmp (op, "print-waiting")))); }) && > __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (op) && __builtin_constant_p ("remove-job") && (__s1_len = strlen (op), __s2_len = strlen ("remove-job"), (!((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("remove-job") + 1) - (size_t)(const void *)("remove-job") == 1) || __s2_len >= 4)) ? __builtin_strcmp (op, "remove-job") : (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) && (__s1_len = strlen (op), __s1_len < 4) ? (__builtin_constant_p ("remove-job") && ((size_t)(const void *)(("remove-job") + 1) - (size_t)(const void *)("remove-job") == 1) ? __builtin_strcmp (op, "remove-job") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("remove-job"); register int __result = (((__const unsigned char *) (__const char *) (op))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (op))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("remove-job") && ((size_t)(const void *)(("remove-job") + 1) - (size_t)(const void *)("remove-job") == 1) && (__s2_len = strlen ("remove-job"), __s2_len < 4) ? (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) ? __builtin_strcmp (op, "remove-job") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (op); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("remove-job"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("remove-job"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("remove-job"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("remove-job"))[3]); } } __result; }))) : __builtin_strcmp (op, "remove-job")))); }) && __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (op) && __builtin_constant_p ("status-long") && (__s1_len = strlen (op), __s2_len = strlen ("status-long"), (!((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("status-long") + 1) - (size_t)(const void *)("status-long") == 1) || __s2_len >= 4)) ? __builtin_strcmp (op, "status-long") : (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) && (__s1_len = strlen (op), __s1_len < 4) ? (__builtin_constant_p ("status-long") && ((size_t)(const void *)(("status-long") + 1) - (size_t)(const void *)("status-long") == 1) ? __builtin_strcmp (op, "status-long") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("status-long"); register int __result = (((__const unsigned char *) (__const char *) (op))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (op))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("status-long") && ((size_t)(const void *)(("status-long") + 1) - (size_t)(const void *)("status-long") == 1) && (__s2_len = strlen ("status-long"), __s2_len < 4) ? (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) ? __builtin_strcmp (op, "status-long") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (op); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("status-long"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("status-long"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("status-long"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("status-long"))[3]); } } __result; }))) : __builtin_strcmp (op, "status-long")))); }) && > __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (op) && __builtin_constant_p ("status-short") && (__s1_len = strlen (op), __s2_len = strlen ("status-short"), (!((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("status-short") + 1) - (size_t)(const void *)("status-short") == 1) || __s2_len >= 4)) ? __builtin_strcmp (op, "status-short") : (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) && (__s1_len = strlen (op), __s1_len < 4) ? (__builtin_constant_p ("status-short") && ((size_t)(const void *)(("status-short") + 1) - (size_t)(const void *)("status-short") == 1) ? __builtin_strcmp (op, "status-short") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("status-short"); register int __result = (((__const unsigned char *) (__const char *) (op))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (op))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("status-short") && ((size_t)(const void *)(("status-short") + 1) - (size_t)(const void *)("status-short") == 1) && (__s2_len = strlen ("status-short"), __s2_len < 4) ? (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) ? __builtin_strcmp (op, "status-short") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (op); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("status-short"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("status-short"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("status-short"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("status-short"))[3]); } } __result; }))) : __builtin_strcmp (op, "status-short")))); }))) > usage(); > > > > > > cupslpd_argv[cupslpd_argc] = ((void *)0); > > pipe(cupslpd_stdin); > pipe(cupslpd_stdout); > > if ((cupslpd_pid = fork()) < 0) > { > > > > > perror("testlpd: Unable to fork"); > return (1); > } > else if (cupslpd_pid == 0) > { > > > > > close(0); > dup(cupslpd_stdin[0]); > close(cupslpd_stdin[0]); > close(cupslpd_stdin[1]); > > close(1); > dup(cupslpd_stdout[1]); > close(cupslpd_stdout[0]); > close(cupslpd_stdout[1]); > > execv("./cups-lpd", cupslpd_argv); > > perror("testlpd: Unable to exec ./cups-lpd"); > exit((*__errno_location ())); > } > else > { > close(cupslpd_stdin[0]); > close(cupslpd_stdout[1]); > } > > > > > > if (!__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (op) && __builtin_constant_p ("print-job") && (__s1_len = strlen (op), __s2_len = strlen ("print-job"), (!((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("print-job") + 1) - (size_t)(const void *)("print-job") == 1) || __s2_len >= 4)) ? __builtin_strcmp (op, "print-job") : (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) && (__s1_len = strlen (op), __s1_len < 4) ? (__builtin_constant_p ("print-job") && ((size_t)(const void *)(("print-job") + 1) - (size_t)(const void *)("print-job") == 1) ? __builtin_strcmp (op, "print-job") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("print-job"); register int __result = (((__const unsigned char *) (__const char *) (op))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (op))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("print-job") && ((size_t)(const void *)(("print-job") + 1) - (size_t)(const void *)("print-job") == 1) && (__s2_len = strlen ("print-job"), __s2_len < 4) ? (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) ? __builtin_strcmp (op, "print-job") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (op); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("print-job"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("print-job"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("print-job"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("print-job"))[3]); } } __result; }))) : __builtin_strcmp (op, "print-job")))); })) > status = print_job(cupslpd_stdin[1], cupslpd_stdout[0], dest, opargs); > else if (!__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (op) && __builtin_constant_p ("print-waiting") && (__s1_len = strlen (op), __s2_len = strlen ("print-waiting"), (!((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("print-waiting") + 1) - (size_t)(const void *)("print-waiting") == 1) || __s2_len >= 4)) ? __builtin_strcmp (op, "print-waiting") : (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) && (__s1_len = strlen (op), __s1_len < 4) ? (__builtin_constant_p ("print-waiting") && ((size_t)(const void *)(("print-waiting") + 1) - (size_t)(const void *)("print-waiting") == 1) ? __builtin_strcmp (op, "print-waiting") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("print-waiting"); register int __result = (((__const unsigned char *) (__const char *) (op))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (op))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("print-waiting") && ((size_t)(const void *)(("print-waiting") + 1) - (size_t)(const void *)("print-waiting") == 1) && (__s2_len = strlen ("print-waiting"), __s2_len < 4) ? (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) ? __builtin_strcmp (op, "print-waiting") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (op); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("print-waiting"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("print-waiting"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("print-waiting"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("print-waiting"))[3]); } } __result; }))) : __builtin_strcmp (op, "print-waiting")))); })) > status = print_waiting(cupslpd_stdin[1], cupslpd_stdout[0], dest); > else if (!__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (op) && __builtin_constant_p ("remove-job") && (__s1_len = strlen (op), __s2_len = strlen ("remove-job"), (!((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("remove-job") + 1) - (size_t)(const void *)("remove-job") == 1) || __s2_len >= 4)) ? __builtin_strcmp (op, "remove-job") : (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) && (__s1_len = strlen (op), __s1_len < 4) ? (__builtin_constant_p ("remove-job") && ((size_t)(const void *)(("remove-job") + 1) - (size_t)(const void *)("remove-job") == 1) ? __builtin_strcmp (op, "remove-job") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("remove-job"); register int __result = (((__const unsigned char *) (__const char *) (op))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (op))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("remove-job") && ((size_t)(const void *)(("remove-job") + 1) - (size_t)(const void *)("remove-job") == 1) && (__s2_len = strlen ("remove-job"), __s2_len < 4) ? (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) ? __builtin_strcmp (op, "remove-job") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (op); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("remove-job"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("remove-job"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("remove-job"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("remove-job"))[3]); } } __result; }))) : __builtin_strcmp (op, "remove-job")))); })) > status = remove_job(cupslpd_stdin[1], cupslpd_stdout[0], dest, opargs); > else if (!__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (op) && __builtin_constant_p ("status-long") && (__s1_len = strlen (op), __s2_len = strlen ("status-long"), (!((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("status-long") + 1) - (size_t)(const void *)("status-long") == 1) || __s2_len >= 4)) ? __builtin_strcmp (op, "status-long") : (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) && (__s1_len = strlen (op), __s1_len < 4) ? (__builtin_constant_p ("status-long") && ((size_t)(const void *)(("status-long") + 1) - (size_t)(const void *)("status-long") == 1) ? __builtin_strcmp (op, "status-long") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("status-long"); register int __result = (((__const unsigned char *) (__const char *) (op))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (op))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("status-long") && ((size_t)(const void *)(("status-long") + 1) - (size_t)(const void *)("status-long") == 1) && (__s2_len = strlen ("status-long"), __s2_len < 4) ? (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) ? __builtin_strcmp (op, "status-long") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (op); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("status-long"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("status-long"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("status-long"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("status-long"))[3]); } } __result; }))) : __builtin_strcmp (op, "status-long")))); })) > status = status_long(cupslpd_stdin[1], cupslpd_stdout[0], dest, opargs); > else if (!__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (op) && __builtin_constant_p ("status-short") && (__s1_len = strlen (op), __s2_len = strlen ("status-short"), (!((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("status-short") + 1) - (size_t)(const void *)("status-short") == 1) || __s2_len >= 4)) ? __builtin_strcmp (op, "status-short") : (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) && (__s1_len = strlen (op), __s1_len < 4) ? (__builtin_constant_p ("status-short") && ((size_t)(const void *)(("status-short") + 1) - (size_t)(const void *)("status-short") == 1) ? __builtin_strcmp (op, "status-short") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("status-short"); register int __result = (((__const unsigned char *) (__const char *) (op))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (op))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (op))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("status-short") && ((size_t)(const void *)(("status-short") + 1) - (size_t)(const void *)("status-short") == 1) && (__s2_len = strlen ("status-short"), __s2_len < 4) ? (__builtin_constant_p (op) && ((size_t)(const void *)((op) + 1) - (size_t)(const void *)(op) == 1) ? __builtin_strcmp (op, "status-short") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (op); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("status-short"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("status-short"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("status-short"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("status-short"))[3]); } } __result; }))) : __builtin_strcmp (op, "status-short")))); })) > status = status_short(cupslpd_stdin[1], cupslpd_stdout[0], dest, opargs); > > > > > > close(cupslpd_stdin[1]); > close(cupslpd_stdout[0]); > kill(cupslpd_pid, 15); > > > > > > return (status); >} > > > > > > >static int >do_command(int outfd, > int infd, > const char *command) >{ > int len; > char status; > > > printf("COMMAND: %02X %s", command[0], command + 1); > > len = strlen(command); > > if (write(outfd, command, len) < len) > { > puts(" Write failed!"); > return (-1); > } > > if (read(infd, &status, 1) < 1) > puts("IN: ERROR"); > else > printf("IN: %d\n", status); > > return (status); >} > > > > > > >static int >print_job(int outfd, > int infd, > char *dest, > char **args) >{ > int fd; > char command[1024], > control[1024], > buffer[8192]; > int status; > struct stat fileinfo; > char *jobname; > int sequence; > int bytes; > > > > > > > if (stat(args[0], &fileinfo)) > { > perror(args[0]); > return (-1); > } > > if ((fd = open(args[0], 00)) < 0) > { > perror(args[0]); > return (-1); > } > > > > > > snprintf(command, sizeof(command), "\002%s\n", dest); > if ((status = do_command(outfd, infd, command)) != 0) > { > close(fd); > return (status); > } > > > > > > if ((jobname = strrchr(args[0], '/')) != ((void *)0)) > jobname ++; > else > jobname = args[0]; > > sequence = (int)getpid() % 1000; > > snprintf(control, sizeof(control), > "Hlocalhost\n" > "P%s\n" > "J%s\n" > "ldfA%03.3dlocalhost\n" > "UdfA%03.3dlocalhost\n" > "N%s\n", > cupsUser(), jobname, sequence, sequence, jobname); > > > > > > bytes = strlen(control); > > snprintf(command, sizeof(command), "\002%d cfA%03.3dlocalhost\n", > bytes, sequence); > > if ((status = do_command(outfd, infd, command)) != 0) > { > close(fd); > return (status); > } > > bytes ++; > > if (write(outfd, control, bytes) < bytes) > { > printf("CONTROL: Unable to write %d bytes!\n", bytes); > close(fd); > return (-1); > } > > printf("CONTROL: Wrote %d bytes.\n", bytes); > > if (read(infd, command, 1) < 1) > { > puts("IN: ERROR"); > close(fd); > return (-1); > } > else > { > status = command[0]; > > printf("IN: %d\n", status); > } > > > > > > snprintf(command, sizeof(command), "\003%d dfA%03.3dlocalhost\n", > (int)fileinfo.st_size, sequence); > > if ((status = do_command(outfd, infd, command)) != 0) > { > close(fd); > return (status); > } > > while ((bytes = read(fd, buffer, sizeof(buffer))) > 0) > { > if (write(outfd, buffer, bytes) < bytes) > { > printf("DATA: Unable to write %d bytes!\n", bytes); > close(fd); > return (-1); > } > } > > write(outfd, "", 1); > > close(fd); > > printf("DATA: Wrote %d bytes.\n", (int)fileinfo.st_size); > > if (read(infd, command, 1) < 1) > { > puts("IN: ERROR"); > close(fd); > return (-1); > } > else > { > status = command[0]; > > printf("IN: %d\n", status); > } > > return (status); >} > > > > > > >static int >print_waiting(int outfd, > int infd, > char *dest) >{ > char command[1024]; > > > > > > > snprintf(command, sizeof(command), "\001%s\n", dest); > > return (do_command(outfd, infd, command)); >} > > > > > > >static int >remove_job(int outfd, > int infd, > char *dest, > char **args) >{ > int i; > char command[1024]; > > > > > > snprintf(command, sizeof(command), "\005%s", dest); > > for (i = 0; args[i]; i ++) > { > _cups_strlcat(command, " ", sizeof(command)); > _cups_strlcat(command, args[i], sizeof(command)); > } > > _cups_strlcat(command, "\n", sizeof(command)); > > return (do_command(outfd, infd, command)); >} > > > > > > >static int >status_long(int outfd, > int infd, > char *dest, > char **args) >{ > char command[1024], > buffer[8192]; > int bytes; > > > > > > > if (args) > snprintf(command, sizeof(command), "\004%s %s\n", dest, args[0]); > else > snprintf(command, sizeof(command), "\004%s\n", dest); > > bytes = strlen(command); > > if (write(outfd, command, bytes) < bytes) > return (-1); > > > > > > while ((bytes = read(infd, buffer, sizeof(buffer))) > 0) > { > fwrite(buffer, 1, bytes, stdout); > fflush(stdout); > } > > return (0); >} > > > > > > >static int >status_short(int outfd, > int infd, > char *dest, > char **args) >{ > char command[1024], > buffer[8192]; > int bytes; > > > > > > > if (args) > snprintf(command, sizeof(command), "\003%s %s\n", dest, args[0]); > else > snprintf(command, sizeof(command), "\003%s\n", dest); > > bytes = strlen(command); > > if (write(outfd, command, bytes) < bytes) > return (-1); > > > > > > while ((bytes = read(infd, buffer, sizeof(buffer))) > 0) > { > fwrite(buffer, 1, bytes, stdout); > fflush(stdout); > } > > return (0); >} > > > > > > >static void >usage(void) >{ > puts("Usage: testlpd [options] print-job printer user filename [... filename]"); > puts(" testlpd [options] print-waiting [printer or user]"); > puts(" testlpd [options] remove-job printer [user [job-id]]"); > puts(" testlpd [options] status-long [printer or user]"); > puts(" testlpd [options] status-short [printer or user]"); > puts(""); > puts("Options:"); > puts(" -o name=value"); > > exit(0); >}
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 151882
: 99978 |
99979