# 1 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/includes.c" #pragma GCC set_debug_pwd "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1" # 1 "" # 1 "" # 1 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/includes.c" # 1 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/xcache.h" 1 # 9 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/xcache.h" # 1 "/usr/local/include/php/main/php.h" 1 # 33 "/usr/local/include/php/main/php.h" # 1 "/usr/local/include/php/main/php_version.h" 1 # 34 "/usr/local/include/php/main/php.h" 2 # 1 "/usr/local/include/php/Zend/zend.h" 1 # 37 "/usr/local/include/php/Zend/zend.h" # 1 "/usr/include/stdio.h" 1 3 4 # 64 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/_types.h" 1 3 4 # 27 "/usr/include/_types.h" 3 4 # 1 "/usr/include/sys/_types.h" 1 3 4 # 26 "/usr/include/sys/_types.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 27 "/usr/include/sys/_types.h" 2 3 4 # 1 "/usr/include/machine/_types.h" 1 3 4 # 28 "/usr/include/machine/_types.h" 3 4 # 1 "/usr/include/i386/_types.h" 1 3 4 # 31 "/usr/include/i386/_types.h" 3 4 typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef unsigned short __int16_t; typedef unsigned short __uint16_t; typedef int __int32_t; typedef unsigned int __uint32_t; typedef long long __int64_t; typedef unsigned long long __uint64_t; typedef long __darwin_intptr_t; typedef unsigned int __darwin_natural_t; # 64 "/usr/include/i386/_types.h" 3 4 typedef int __darwin_ct_rune_t; typedef union { char __mbstate8[128]; long long _mbstateL; } __mbstate_t; typedef __mbstate_t __darwin_mbstate_t; typedef int __darwin_ptrdiff_t; typedef long unsigned int __darwin_size_t; typedef __builtin_va_list __darwin_va_list; typedef int __darwin_wchar_t; typedef __darwin_wchar_t __darwin_rune_t; typedef int __darwin_wint_t; typedef unsigned long __darwin_clock_t; typedef __uint32_t __darwin_socklen_t; typedef long __darwin_ssize_t; typedef long __darwin_time_t; # 29 "/usr/include/machine/_types.h" 2 3 4 # 28 "/usr/include/sys/_types.h" 2 3 4 struct mcontext; struct mcontext64; # 60 "/usr/include/sys/_types.h" 3 4 struct __darwin_pthread_handler_rec { void (*__routine)(void *); void *__arg; struct __darwin_pthread_handler_rec *__next; }; struct _opaque_pthread_attr_t { long __sig; char __opaque[36]; }; struct _opaque_pthread_cond_t { long __sig; char __opaque[24]; }; struct _opaque_pthread_condattr_t { long __sig; char __opaque[4]; }; struct _opaque_pthread_mutex_t { long __sig; char __opaque[40]; }; struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_once_t { long __sig; char __opaque[4]; }; struct _opaque_pthread_rwlock_t { long __sig; char __opaque[124]; }; struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[12]; }; struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[596]; }; # 96 "/usr/include/sys/_types.h" 3 4 typedef __int64_t __darwin_blkcnt_t; typedef __int32_t __darwin_blksize_t; typedef __int32_t __darwin_dev_t; typedef unsigned int __darwin_fsblkcnt_t; typedef unsigned int __darwin_fsfilcnt_t; typedef __uint32_t __darwin_gid_t; typedef __uint32_t __darwin_id_t; typedef __uint32_t __darwin_ino_t; typedef __darwin_natural_t __darwin_mach_port_name_t; typedef __darwin_mach_port_name_t __darwin_mach_port_t; typedef struct mcontext *__darwin_mcontext_t; typedef struct mcontext64 *__darwin_mcontext64_t; typedef __uint16_t __darwin_mode_t; typedef __int64_t __darwin_off_t; typedef __int32_t __darwin_pid_t; typedef struct _opaque_pthread_attr_t __darwin_pthread_attr_t; typedef struct _opaque_pthread_cond_t __darwin_pthread_cond_t; typedef struct _opaque_pthread_condattr_t __darwin_pthread_condattr_t; typedef unsigned long __darwin_pthread_key_t; typedef struct _opaque_pthread_mutex_t __darwin_pthread_mutex_t; typedef struct _opaque_pthread_mutexattr_t __darwin_pthread_mutexattr_t; typedef struct _opaque_pthread_once_t __darwin_pthread_once_t; typedef struct _opaque_pthread_rwlock_t __darwin_pthread_rwlock_t; typedef struct _opaque_pthread_rwlockattr_t __darwin_pthread_rwlockattr_t; typedef struct _opaque_pthread_t *__darwin_pthread_t; typedef __uint32_t __darwin_sigset_t; typedef __int32_t __darwin_suseconds_t; typedef __uint32_t __darwin_uid_t; typedef __uint32_t __darwin_useconds_t; typedef unsigned char __darwin_uuid_t[16]; struct sigaltstack { void *ss_sp; __darwin_size_t ss_size; int ss_flags; }; typedef struct sigaltstack __darwin_stack_t; struct ucontext { int uc_onstack; __darwin_sigset_t uc_sigmask; __darwin_stack_t uc_stack; struct ucontext *uc_link; __darwin_size_t uc_mcsize; __darwin_mcontext_t uc_mcontext; }; typedef struct ucontext __darwin_ucontext_t; struct ucontext64 { int uc_onstack; __darwin_sigset_t uc_sigmask; __darwin_stack_t uc_stack; struct ucontext64 *uc_link; __darwin_size_t uc_mcsize; __darwin_mcontext64_t uc_mcontext64; }; typedef struct ucontext64 __darwin_ucontext64_t; # 28 "/usr/include/_types.h" 2 3 4 typedef int __darwin_nl_item; typedef int __darwin_wctrans_t; typedef unsigned long __darwin_wctype_t; # 65 "/usr/include/stdio.h" 2 3 4 typedef __darwin_va_list va_list; typedef __darwin_size_t size_t; typedef __darwin_off_t fpos_t; # 98 "/usr/include/stdio.h" 3 4 struct __sbuf { unsigned char *_base; int _size; }; struct __sFILEX; # 132 "/usr/include/stdio.h" 3 4 typedef struct __sFILE { unsigned char *_p; int _r; int _w; short _flags; short _file; struct __sbuf _bf; int _lbfsize; void *_cookie; int (*_close)(void *); int (*_read) (void *, char *, int); fpos_t (*_seek) (void *, fpos_t, int); int (*_write)(void *, const char *, int); struct __sbuf _ub; struct __sFILEX *_extra; int _ur; unsigned char _ubuf[3]; unsigned char _nbuf[1]; struct __sbuf _lb; int _blksize; fpos_t _offset; } FILE; extern FILE __sF[]; # 248 "/usr/include/stdio.h" 3 4 void clearerr(FILE *); int fclose(FILE *); int feof(FILE *); int ferror(FILE *); int fflush(FILE *); int fgetc(FILE *); int fgetpos(FILE * , fpos_t *); char *fgets(char * , int, FILE *); FILE *fopen(const char * , const char * ); int fprintf(FILE * , const char * , ...) ; int fputc(int, FILE *); int fputs(const char * , FILE * ); size_t fread(void * , size_t, size_t, FILE * ); FILE *freopen(const char * , const char * , FILE * ) ; int fscanf(FILE * , const char * , ...) ; int fseek(FILE *, long, int); int fsetpos(FILE *, const fpos_t *); long ftell(FILE *); size_t fwrite(const void * , size_t, size_t, FILE * ) ; int getc(FILE *); int getchar(void); char *gets(char *); extern const int sys_nerr; extern const char *const sys_errlist[]; void perror(const char *); int printf(const char * , ...) ; int putc(int, FILE *); int putchar(int); int puts(const char *); int remove(const char *); int rename (const char *, const char *); void rewind(FILE *); int scanf(const char * , ...) ; void setbuf(FILE * , char * ); int setvbuf(FILE * , char * , int, size_t); int sprintf(char * , const char * , ...) ; int sscanf(const char * , const char * , ...) ; FILE *tmpfile(void); char *tmpnam(char *); int ungetc(int, FILE *); int vfprintf(FILE * , const char * , va_list) ; int vprintf(const char * , va_list) ; int vsprintf(char * , const char * , va_list) ; int asprintf(char **, const char *, ...) ; int vasprintf(char **, const char *, va_list) ; # 308 "/usr/include/stdio.h" 3 4 char *ctermid(char *); char *ctermid_r(char *); FILE *fdopen(int, const char *); char *fgetln(FILE *, size_t *); int fileno(FILE *); void flockfile(FILE *); const char *fmtcheck(const char *, const char *); int fpurge(FILE *); int fseeko(FILE *, fpos_t, int); fpos_t ftello(FILE *); int ftrylockfile(FILE *); void funlockfile(FILE *); int getc_unlocked(FILE *); int getchar_unlocked(void); int getw(FILE *); int pclose(FILE *); FILE *popen(const char *, const char *); int putc_unlocked(int, FILE *); int putchar_unlocked(int); int putw(int, FILE *); void setbuffer(FILE *, char *, int); int setlinebuf(FILE *); int snprintf(char * , size_t, const char * , ...) ; char *tempnam(const char *, const char *); int vfscanf(FILE * , const char * , va_list) ; int vscanf(const char * , va_list) ; int vsnprintf(char * , size_t, const char * , va_list) ; int vsscanf(const char * , const char * , va_list) ; FILE *funopen(const void *, int (*)(void *, char *, int), int (*)(void *, const char *, int), fpos_t (*)(void *, fpos_t, int), int (*)(void *)); # 374 "/usr/include/stdio.h" 3 4 int __srget(FILE *); int __svfscanf(FILE *, const char *, va_list) ; int __swbuf(int, FILE *); static __inline int __sputc(int _c, FILE *_p) { if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n')) return (*_p->_p++ = _c); else return (__swbuf(_c, _p)); } # 38 "/usr/local/include/php/Zend/zend.h" 2 # 53 "/usr/local/include/php/Zend/zend.h" # 1 "/usr/local/include/php/Zend/zend_config.h" 1 # 1 "/usr/local/include/php/main/php_config.h" 1 # 2815 "/usr/local/include/php/main/php_config.h" # 1 "/usr/local/include/php/ext/php_config.h" 1 # 1 "/usr/local/include/php/ext/pcre/config.h" 1 # 2 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xml/config.h" 1 # 3 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bcmath/config.h" 1 # 4 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bz2/config.h" 1 # 5 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/lzf/config.h" 1 # 6 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/hash/config.h" 1 # 7 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/simplexml/config.h" 1 # 8 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/spl/config.h" 1 # 9 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/phar/config.h" 1 # 10 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/rar/config.h" 1 # 11 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/zip/config.h" 1 # 12 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/zlib/config.h" 1 # 14 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gd/config.h" 1 # 15 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mysql/config.h" 1 # 16 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/fribidi/config.h" 1 # 17 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/iconv/config.h" 1 # 18 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mbstring/config.h" 1 # 19 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/recode/config.h" 1 # 20 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/session/config.h" 1 # 21 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mysqli/config.h" 1 # 22 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pgsql/config.h" 1 # 23 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sqlite/config.h" 1 # 24 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mdbtools/config.h" 1 # 25 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/memcache/config.h" 1 # 26 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sqlite3/config.h" 1 # 27 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/rrdtool/config.h" 1 # 28 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/dba/config.h" 1 # 29 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/dbase/config.h" 1 # 30 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/interbase/config.h" 1 # 31 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mssql/config.h" 1 # 32 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/oci8/config.h" 1 # 33 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo/config.h" 1 # 34 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_dblib/config.h" 1 # 35 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_firebird/config.h" 1 # 36 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_mysql/config.h" 1 # 37 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_oci/config.h" 1 # 38 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_pgsql/config.h" 1 # 39 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_sqlite/config.h" 1 # 40 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/rrdtool/config.h" 1 # 41 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sybase_ct/config.h" 1 # 42 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/id3/config.h" 1 # 43 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/imap/config.h" 1 # 44 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/curl/config.h" 1 # 45 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ftp/config.h" 1 # 46 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mecab/config.h" 1 # 47 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/imagick/config.h" 1 # 48 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/imlib2/config.h" 1 # 49 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/qrencode/config.h" 1 # 50 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/magickwand/config.h" 1 # 51 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/exif/config.h" 1 # 52 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ffmpeg/config.h" 1 # 53 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ming/config.h" 1 # 54 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/timezonedb/config.h" 1 # 55 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/calendar/config.h" 1 # 56 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/big_int/config.h" 1 # 57 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bitset/config.h" 1 # 58 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/stats/config.h" 1 # 59 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gmp/config.h" 1 # 60 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mailparse/config.h" 1 # 61 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pop3/config.h" 1 # 62 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bbcode/config.h" 1 # 63 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bcompiler/config.h" 1 # 64 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/expect/config.h" 1 # 65 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/hidef/config.h" 1 # 66 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/htscanner/config.h" 1 # 67 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/inclued/config.h" 1 # 68 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/json/config.h" 1 # 69 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/operator/config.h" 1 # 70 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/params/config.h" 1 # 71 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/runkit/config.h" 1 # 72 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/shp/config.h" 1 # 73 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/statgrab/config.h" 1 # 74 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/svn/config.h" 1 # 75 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/uploadprogress/config.h" 1 # 76 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/vld/config.h" 1 # 77 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gettext/config.h" 1 # 78 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ncurses/config.h" 1 # 79 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pcntl/config.h" 1 # 80 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/readline/config.h" 1 # 81 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/shmop/config.h" 1 # 82 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sysvmsg/config.h" 1 # 83 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sysvsem/config.h" 1 # 84 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sysvshm/config.h" 1 # 85 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/tokenizer/config.h" 1 # 86 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ctype/config.h" 1 # 87 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/posix/config.h" 1 # 88 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/fileinfo/config.h" 1 # 89 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ldap/config.h" 1 # 90 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mcrypt/config.h" 1 # 91 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/dom/config.h" 1 # 92 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/snmp/config.h" 1 # 93 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sockets/config.h" 1 # 94 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mhash/config.h" 1 # 95 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdf/config.h" 1 # 96 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ps/config.h" 1 # 97 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/cvsclient/config.h" 1 # 98 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/geoip/config.h" 1 # 99 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/radius/config.h" 1 # 100 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/yaz/config.h" 1 # 101 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/soap/config.h" 1 # 102 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xmlrpc/config.h" 1 # 103 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/crack/config.h" 1 # 104 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/filter/config.h" 1 # 105 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gnupg/config.h" 1 # 106 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ssh2/config.h" 1 # 107 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/tcpwrap/config.h" 1 # 108 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/suhosin/config.h" 1 # 109 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/openssl/config.h" 1 # 110 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/cTemplate/config.h" 1 # 111 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/doublemetaphone/config.h" 1 # 112 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/stem/config.h" 1 # 113 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/syck/config.h" 1 # 114 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xdiff/config.h" 1 # 115 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xslcache/config.h" 1 # 116 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pspell/config.h" 1 # 117 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/wddx/config.h" 1 # 118 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xmlreader/config.h" 1 # 119 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xmlwriter/config.h" 1 # 120 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xsl/config.h" 1 # 121 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/apc/config.h" 1 # 122 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/amf/config.h" 1 # 123 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mnogosearch/config.h" 1 # 124 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/swish/config.h" 1 # 125 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/tidy/config.h" 1 # 126 "/usr/local/include/php/ext/php_config.h" 2 # 2816 "/usr/local/include/php/main/php_config.h" 2 # 2899 "/usr/local/include/php/main/php_config.h" # 1 "/usr/include/stdlib.h" 1 3 4 # 64 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/sys/wait.h" 1 3 4 # 73 "/usr/include/sys/wait.h" 3 4 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; typedef __darwin_pid_t pid_t; typedef __darwin_id_t id_t; # 110 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/sys/signal.h" 1 3 4 # 67 "/usr/include/sys/signal.h" 3 4 # 1 "/usr/include/sys/appleapiopts.h" 1 3 4 # 68 "/usr/include/sys/signal.h" 2 3 4 # 1 "/usr/include/machine/signal.h" 1 3 4 # 29 "/usr/include/machine/signal.h" 3 4 # 1 "/usr/include/i386/signal.h" 1 3 4 # 31 "/usr/include/i386/signal.h" 3 4 typedef int sig_atomic_t; # 46 "/usr/include/i386/signal.h" 3 4 struct sigcontext { int sc_onstack; int sc_mask; unsigned int sc_eax; unsigned int sc_ebx; unsigned int sc_ecx; unsigned int sc_edx; unsigned int sc_edi; unsigned int sc_esi; unsigned int sc_ebp; unsigned int sc_esp; unsigned int sc_ss; unsigned int sc_eflags; unsigned int sc_eip; unsigned int sc_cs; unsigned int sc_ds; unsigned int sc_es; unsigned int sc_fs; unsigned int sc_gs; }; # 30 "/usr/include/machine/signal.h" 2 3 4 # 74 "/usr/include/sys/signal.h" 2 3 4 # 139 "/usr/include/sys/signal.h" 3 4 typedef __darwin_mcontext_t mcontext_t; typedef __darwin_mcontext64_t mcontext64_t; # 156 "/usr/include/sys/signal.h" 3 4 typedef __darwin_pthread_attr_t pthread_attr_t; typedef __darwin_sigset_t sigset_t; # 171 "/usr/include/sys/signal.h" 3 4 typedef __darwin_ucontext_t ucontext_t; typedef __darwin_ucontext64_t ucontext64_t; typedef __darwin_uid_t uid_t; union sigval { int sival_int; void *sival_ptr; }; struct sigevent { int sigev_notify; int sigev_signo; union sigval sigev_value; void (*sigev_notify_function)(union sigval); pthread_attr_t *sigev_notify_attributes; }; typedef struct __siginfo { int si_signo; int si_errno; int si_code; pid_t si_pid; uid_t si_uid; int si_status; void *si_addr; union sigval si_value; long si_band; unsigned long pad[7]; } siginfo_t; # 297 "/usr/include/sys/signal.h" 3 4 union __sigaction_u { void (*__sa_handler)(int); void (*__sa_sigaction)(int, struct __siginfo *, void *); }; struct __sigaction { union __sigaction_u __sigaction_u; void (*sa_tramp)(void *, int, int, siginfo_t *, void *); sigset_t sa_mask; int sa_flags; }; struct sigaction { union __sigaction_u __sigaction_u; sigset_t sa_mask; int sa_flags; }; # 355 "/usr/include/sys/signal.h" 3 4 typedef void (*sig_t)(int); # 364 "/usr/include/sys/signal.h" 3 4 typedef __darwin_stack_t stack_t; # 377 "/usr/include/sys/signal.h" 3 4 struct sigvec { void (*sv_handler)(int); int sv_mask; int sv_flags; }; # 396 "/usr/include/sys/signal.h" 3 4 struct sigstack { char *ss_sp; int ss_onstack; }; # 418 "/usr/include/sys/signal.h" 3 4 void (*signal(int, void (*)(int)))(int); # 111 "/usr/include/sys/wait.h" 2 3 4 # 1 "/usr/include/sys/resource.h" 1 3 4 # 74 "/usr/include/sys/resource.h" 3 4 struct timeval { __darwin_time_t tv_sec; __darwin_suseconds_t tv_usec; }; # 90 "/usr/include/sys/resource.h" 3 4 typedef __int64_t rlim_t; # 135 "/usr/include/sys/resource.h" 3 4 struct rusage { struct timeval ru_utime; struct timeval ru_stime; # 146 "/usr/include/sys/resource.h" 3 4 long ru_maxrss; long ru_ixrss; long ru_idrss; long ru_isrss; long ru_minflt; long ru_majflt; long ru_nswap; long ru_inblock; long ru_oublock; long ru_msgsnd; long ru_msgrcv; long ru_nsignals; long ru_nvcsw; long ru_nivcsw; }; # 207 "/usr/include/sys/resource.h" 3 4 struct rlimit { rlim_t rlim_cur; rlim_t rlim_max; }; int getpriority(int, id_t); int getrlimit(int, struct rlimit *); int getrusage(int, struct rusage *); int setpriority(int, id_t, int); int setrlimit(int, const struct rlimit *); # 112 "/usr/include/sys/wait.h" 2 3 4 # 182 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/machine/endian.h" 1 3 4 # 32 "/usr/include/machine/endian.h" 3 4 # 1 "/usr/include/i386/endian.h" 1 3 4 # 92 "/usr/include/i386/endian.h" 3 4 # 1 "/usr/include/sys/_endian.h" 1 3 4 # 103 "/usr/include/sys/_endian.h" 3 4 # 1 "/usr/local/include/stdint.h" 1 3 4 # 12 "/usr/local/include/stdint.h" 3 4 # 1 "/usr/include/stddef.h" 1 3 4 # 74 "/usr/include/stddef.h" 3 4 typedef __darwin_ptrdiff_t ptrdiff_t; # 91 "/usr/include/stddef.h" 3 4 typedef __darwin_wchar_t wchar_t; # 100 "/usr/include/stddef.h" 3 4 typedef __darwin_wint_t wint_t; # 13 "/usr/local/include/stdint.h" 2 3 4 # 110 "/usr/local/include/stdint.h" 3 4 typedef long long int64_t; typedef unsigned long long uint64_t; # 157 "/usr/local/include/stdint.h" 3 4 typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef char int8_t; typedef short int16_t; typedef int int32_t; # 221 "/usr/local/include/stdint.h" 3 4 typedef int8_t int_least8_t; typedef int16_t int_least16_t; typedef int32_t int_least32_t; typedef int64_t int_least64_t; typedef uint8_t uint_least8_t; typedef uint16_t uint_least16_t; typedef uint32_t uint_least32_t; typedef uint64_t uint_least64_t; typedef int8_t int_fast8_t; typedef int int_fast16_t; typedef int32_t int_fast32_t; typedef int64_t int_fast64_t; typedef uint8_t uint_fast8_t; typedef unsigned uint_fast16_t; typedef uint32_t uint_fast32_t; typedef uint64_t uint_fast64_t; typedef int64_t intmax_t; typedef uint64_t uintmax_t; # 272 "/usr/local/include/stdint.h" 3 4 typedef unsigned long uintptr_t; typedef long intptr_t; # 104 "/usr/include/sys/_endian.h" 2 3 4 # 1 "/usr/include/machine/byte_order.h" 1 3 4 # 29 "/usr/include/machine/byte_order.h" 3 4 # 1 "/usr/include/architecture/byte_order.h" 1 3 4 # 34 "/usr/include/architecture/byte_order.h" 3 4 # 1 "/usr/include/libkern/OSByteOrder.h" 1 3 4 # 37 "/usr/include/libkern/OSByteOrder.h" 3 4 # 1 "/usr/include/libkern/i386/OSByteOrder.h" 1 3 4 # 34 "/usr/include/libkern/i386/OSByteOrder.h" 3 4 static inline uint16_t _OSSwapInt16( uint16_t data ) { __asm__ ("xchgb %b0, %h0" : "+q" (data)); return data; } static inline uint32_t _OSSwapInt32( uint32_t data ) { __asm__ ("bswap %0" : "+r" (data)); return data; } static inline uint64_t _OSSwapInt64( uint64_t data ) { union { uint64_t ull; uint32_t ul[2]; } u; u.ul[0] = data >> 32; u.ul[1] = data & 0xffffffff; u.ul[0] = _OSSwapInt32(u.ul[0]); u.ul[1] = _OSSwapInt32(u.ul[1]); return u.ull; } static inline uint16_t OSReadSwapInt16( const volatile void * base, uintptr_t offset ) { uint16_t result; result = *(volatile uint16_t *)((uintptr_t)base + offset); return _OSSwapInt16(result); } static inline uint32_t OSReadSwapInt32( const volatile void * base, uintptr_t offset ) { uint32_t result; result = *(volatile uint32_t *)((uintptr_t)base + offset); return _OSSwapInt32(result); } static inline uint64_t OSReadSwapInt64( const volatile void * base, uintptr_t offset ) { const volatile uint32_t * inp; union ullc { uint64_t ull; uint32_t ul[2]; } outv; inp = (const volatile uint32_t *)((uintptr_t)base + offset); outv.ul[0] = inp[1]; outv.ul[1] = inp[0]; outv.ul[0] = _OSSwapInt32(outv.ul[0]); outv.ul[1] = _OSSwapInt32(outv.ul[1]); return outv.ull; } static inline void OSWriteSwapInt16( volatile void * base, uintptr_t offset, uint16_t data ) { *(volatile uint16_t *)((uintptr_t)base + offset) = _OSSwapInt16(data); } static inline void OSWriteSwapInt32( volatile void * base, uintptr_t offset, uint32_t data ) { *(volatile uint32_t *)((uintptr_t)base + offset) = _OSSwapInt32(data); } static inline void OSWriteSwapInt64( volatile void * base, uintptr_t offset, uint64_t data ) { *(volatile uint64_t *)((uintptr_t)base + offset) = _OSSwapInt64(data); } # 38 "/usr/include/libkern/OSByteOrder.h" 2 3 4 enum { OSUnknownByteOrder, OSLittleEndian, OSBigEndian }; static inline int32_t OSHostByteOrder(void) { return OSLittleEndian; } # 334 "/usr/include/libkern/OSByteOrder.h" 3 4 static inline uint16_t OSReadBigInt16( const volatile void * base, uintptr_t offset ) { return OSReadSwapInt16(base, offset); } static inline uint32_t OSReadBigInt32( const volatile void * base, uintptr_t offset ) { return OSReadSwapInt32(base, offset); } static inline uint64_t OSReadBigInt64( const volatile void * base, uintptr_t offset ) { return OSReadSwapInt64(base, offset); } static inline void OSWriteBigInt16( volatile void * base, uintptr_t offset, uint16_t data ) { OSWriteSwapInt16(base, offset, data); } static inline void OSWriteBigInt32( volatile void * base, uintptr_t offset, uint32_t data ) { OSWriteSwapInt32(base, offset, data); } static inline void OSWriteBigInt64( volatile void * base, uintptr_t offset, uint64_t data ) { OSWriteSwapInt64(base, offset, data); } static inline uint16_t OSReadLittleInt16( const volatile void * base, uintptr_t offset ) { return *(volatile uint16_t *)((uintptr_t)base + offset); } static inline uint32_t OSReadLittleInt32( const volatile void * base, uintptr_t offset ) { return *(volatile uint32_t *)((uintptr_t)base + offset); } static inline uint64_t OSReadLittleInt64( const volatile void * base, uintptr_t offset ) { return *(volatile uint64_t *)((uintptr_t)base + offset); } static inline void OSWriteLittleInt16( volatile void * base, uintptr_t offset, uint16_t data ) { *(volatile uint16_t *)((uintptr_t)base + offset) = data; } static inline void OSWriteLittleInt32( volatile void * base, uintptr_t offset, uint32_t data ) { *(volatile uint32_t *)((uintptr_t)base + offset) = data; } static inline void OSWriteLittleInt64( volatile void * base, uintptr_t offset, uint64_t data ) { *(volatile uint64_t *)((uintptr_t)base + offset) = data; } # 486 "/usr/include/libkern/OSByteOrder.h" 3 4 static inline uint16_t OSSwapHostToLittleInt16( uint16_t data ) { return data; } static inline uint32_t OSSwapHostToLittleInt32( uint32_t data ) { return data; } static inline uint64_t OSSwapHostToLittleInt64( uint64_t data ) { return data; } # 533 "/usr/include/libkern/OSByteOrder.h" 3 4 static inline uint16_t OSSwapLittleToHostInt16( uint16_t data ) { return data; } static inline uint32_t OSSwapLittleToHostInt32( uint32_t data ) { return data; } static inline uint64_t OSSwapLittleToHostInt64( uint64_t data ) { return data; } # 35 "/usr/include/architecture/byte_order.h" 2 3 4 typedef unsigned long NXSwappedFloat; typedef unsigned long long NXSwappedDouble; static __inline__ unsigned short NXSwapShort( unsigned short inv ) { return (unsigned short)(__builtin_constant_p((uint16_t)inv) ? ((((uint16_t)((uint16_t)inv) & 0xff00) >> 8) | (((uint16_t)((uint16_t)inv) & 0x00ff) << 8)) : _OSSwapInt16((uint16_t)inv)); } static __inline__ unsigned int NXSwapInt( unsigned int inv ) { return (unsigned int)(__builtin_constant_p((uint32_t)inv) ? ((((uint32_t)((uint32_t)inv) & 0xff000000) >> 24) | (((uint32_t)((uint32_t)inv) & 0x00ff0000) >> 8) | (((uint32_t)((uint32_t)inv) & 0x0000ff00) << 8) | (((uint32_t)((uint32_t)inv) & 0x000000ff) << 24)) : _OSSwapInt32((uint32_t)inv)); } static __inline__ unsigned long NXSwapLong( unsigned long inv ) { return (unsigned long)(__builtin_constant_p((uint32_t)inv) ? ((((uint32_t)((uint32_t)inv) & 0xff000000) >> 24) | (((uint32_t)((uint32_t)inv) & 0x00ff0000) >> 8) | (((uint32_t)((uint32_t)inv) & 0x0000ff00) << 8) | (((uint32_t)((uint32_t)inv) & 0x000000ff) << 24)) : _OSSwapInt32((uint32_t)inv)); } static __inline__ unsigned long long NXSwapLongLong( unsigned long long inv ) { return (unsigned long long)(__builtin_constant_p((uint64_t)inv) ? ((((uint64_t)((uint64_t)inv) & 0xff00000000000000ULL) >> 56) | (((uint64_t)((uint64_t)inv) & 0x00ff000000000000ULL) >> 40) | (((uint64_t)((uint64_t)inv) & 0x0000ff0000000000ULL) >> 24) | (((uint64_t)((uint64_t)inv) & 0x000000ff00000000ULL) >> 8) | (((uint64_t)((uint64_t)inv) & 0x00000000ff000000ULL) << 8) | (((uint64_t)((uint64_t)inv) & 0x0000000000ff0000ULL) << 24) | (((uint64_t)((uint64_t)inv) & 0x000000000000ff00ULL) << 40) | (((uint64_t)((uint64_t)inv) & 0x00000000000000ffULL) << 56)) : _OSSwapInt64((uint64_t)inv)); } static __inline__ NXSwappedFloat NXConvertHostFloatToSwapped(float x) { union fconv { float number; NXSwappedFloat sf; } u; u.number = x; return u.sf; } static __inline__ float NXConvertSwappedFloatToHost(NXSwappedFloat x) { union fconv { float number; NXSwappedFloat sf; } u; u.sf = x; return u.number; } static __inline__ NXSwappedDouble NXConvertHostDoubleToSwapped(double x) { union dconv { double number; NXSwappedDouble sd; } u; u.number = x; return u.sd; } static __inline__ double NXConvertSwappedDoubleToHost(NXSwappedDouble x) { union dconv { double number; NXSwappedDouble sd; } u; u.sd = x; return u.number; } static __inline__ NXSwappedFloat NXSwapFloat(NXSwappedFloat x) { return (NXSwappedFloat)(__builtin_constant_p((uint32_t)x) ? ((((uint32_t)((uint32_t)x) & 0xff000000) >> 24) | (((uint32_t)((uint32_t)x) & 0x00ff0000) >> 8) | (((uint32_t)((uint32_t)x) & 0x0000ff00) << 8) | (((uint32_t)((uint32_t)x) & 0x000000ff) << 24)) : _OSSwapInt32((uint32_t)x)); } static __inline__ NXSwappedDouble NXSwapDouble(NXSwappedDouble x) { return (NXSwappedDouble)(__builtin_constant_p((uint64_t)x) ? ((((uint64_t)((uint64_t)x) & 0xff00000000000000ULL) >> 56) | (((uint64_t)((uint64_t)x) & 0x00ff000000000000ULL) >> 40) | (((uint64_t)((uint64_t)x) & 0x0000ff0000000000ULL) >> 24) | (((uint64_t)((uint64_t)x) & 0x000000ff00000000ULL) >> 8) | (((uint64_t)((uint64_t)x) & 0x00000000ff000000ULL) << 8) | (((uint64_t)((uint64_t)x) & 0x0000000000ff0000ULL) << 24) | (((uint64_t)((uint64_t)x) & 0x000000000000ff00ULL) << 40) | (((uint64_t)((uint64_t)x) & 0x00000000000000ffULL) << 56)) : _OSSwapInt64((uint64_t)x)); } enum NXByteOrder { NX_UnknownByteOrder, NX_LittleEndian, NX_BigEndian }; static __inline__ enum NXByteOrder NXHostByteOrder(void) { return NX_LittleEndian; } static __inline__ unsigned short NXSwapBigShortToHost( unsigned short x ) { return (unsigned short)(__builtin_constant_p((uint16_t)x) ? ((((uint16_t)((uint16_t)x) & 0xff00) >> 8) | (((uint16_t)((uint16_t)x) & 0x00ff) << 8)) : _OSSwapInt16((uint16_t)x)); } static __inline__ unsigned int NXSwapBigIntToHost( unsigned int x ) { return (unsigned int)(__builtin_constant_p((uint32_t)x) ? ((((uint32_t)((uint32_t)x) & 0xff000000) >> 24) | (((uint32_t)((uint32_t)x) & 0x00ff0000) >> 8) | (((uint32_t)((uint32_t)x) & 0x0000ff00) << 8) | (((uint32_t)((uint32_t)x) & 0x000000ff) << 24)) : _OSSwapInt32((uint32_t)x)); } static __inline__ unsigned long NXSwapBigLongToHost( unsigned long x ) { return (unsigned long)(__builtin_constant_p((uint32_t)x) ? ((((uint32_t)((uint32_t)x) & 0xff000000) >> 24) | (((uint32_t)((uint32_t)x) & 0x00ff0000) >> 8) | (((uint32_t)((uint32_t)x) & 0x0000ff00) << 8) | (((uint32_t)((uint32_t)x) & 0x000000ff) << 24)) : _OSSwapInt32((uint32_t)x)); } static __inline__ unsigned long long NXSwapBigLongLongToHost( unsigned long long x ) { return (unsigned long long)(__builtin_constant_p((uint64_t)x) ? ((((uint64_t)((uint64_t)x) & 0xff00000000000000ULL) >> 56) | (((uint64_t)((uint64_t)x) & 0x00ff000000000000ULL) >> 40) | (((uint64_t)((uint64_t)x) & 0x0000ff0000000000ULL) >> 24) | (((uint64_t)((uint64_t)x) & 0x000000ff00000000ULL) >> 8) | (((uint64_t)((uint64_t)x) & 0x00000000ff000000ULL) << 8) | (((uint64_t)((uint64_t)x) & 0x0000000000ff0000ULL) << 24) | (((uint64_t)((uint64_t)x) & 0x000000000000ff00ULL) << 40) | (((uint64_t)((uint64_t)x) & 0x00000000000000ffULL) << 56)) : _OSSwapInt64((uint64_t)x)); } static __inline__ double NXSwapBigDoubleToHost( NXSwappedDouble x ) { return NXConvertSwappedDoubleToHost((NXSwappedDouble)(__builtin_constant_p((uint64_t)x) ? ((((uint64_t)((uint64_t)x) & 0xff00000000000000ULL) >> 56) | (((uint64_t)((uint64_t)x) & 0x00ff000000000000ULL) >> 40) | (((uint64_t)((uint64_t)x) & 0x0000ff0000000000ULL) >> 24) | (((uint64_t)((uint64_t)x) & 0x000000ff00000000ULL) >> 8) | (((uint64_t)((uint64_t)x) & 0x00000000ff000000ULL) << 8) | (((uint64_t)((uint64_t)x) & 0x0000000000ff0000ULL) << 24) | (((uint64_t)((uint64_t)x) & 0x000000000000ff00ULL) << 40) | (((uint64_t)((uint64_t)x) & 0x00000000000000ffULL) << 56)) : _OSSwapInt64((uint64_t)x))); } static __inline__ float NXSwapBigFloatToHost( NXSwappedFloat x ) { return NXConvertSwappedFloatToHost((NXSwappedFloat)(__builtin_constant_p((uint32_t)x) ? ((((uint32_t)((uint32_t)x) & 0xff000000) >> 24) | (((uint32_t)((uint32_t)x) & 0x00ff0000) >> 8) | (((uint32_t)((uint32_t)x) & 0x0000ff00) << 8) | (((uint32_t)((uint32_t)x) & 0x000000ff) << 24)) : _OSSwapInt32((uint32_t)x))); } static __inline__ unsigned short NXSwapHostShortToBig( unsigned short x ) { return (unsigned short)(__builtin_constant_p((uint16_t)x) ? ((((uint16_t)((uint16_t)x) & 0xff00) >> 8) | (((uint16_t)((uint16_t)x) & 0x00ff) << 8)) : _OSSwapInt16((uint16_t)x)); } static __inline__ unsigned int NXSwapHostIntToBig( unsigned int x ) { return (unsigned int)(__builtin_constant_p((uint32_t)x) ? ((((uint32_t)((uint32_t)x) & 0xff000000) >> 24) | (((uint32_t)((uint32_t)x) & 0x00ff0000) >> 8) | (((uint32_t)((uint32_t)x) & 0x0000ff00) << 8) | (((uint32_t)((uint32_t)x) & 0x000000ff) << 24)) : _OSSwapInt32((uint32_t)x)); } static __inline__ unsigned long NXSwapHostLongToBig( unsigned long x ) { return (unsigned long)(__builtin_constant_p((uint32_t)x) ? ((((uint32_t)((uint32_t)x) & 0xff000000) >> 24) | (((uint32_t)((uint32_t)x) & 0x00ff0000) >> 8) | (((uint32_t)((uint32_t)x) & 0x0000ff00) << 8) | (((uint32_t)((uint32_t)x) & 0x000000ff) << 24)) : _OSSwapInt32((uint32_t)x)); } static __inline__ unsigned long long NXSwapHostLongLongToBig( unsigned long long x ) { return (unsigned long long)(__builtin_constant_p((uint64_t)x) ? ((((uint64_t)((uint64_t)x) & 0xff00000000000000ULL) >> 56) | (((uint64_t)((uint64_t)x) & 0x00ff000000000000ULL) >> 40) | (((uint64_t)((uint64_t)x) & 0x0000ff0000000000ULL) >> 24) | (((uint64_t)((uint64_t)x) & 0x000000ff00000000ULL) >> 8) | (((uint64_t)((uint64_t)x) & 0x00000000ff000000ULL) << 8) | (((uint64_t)((uint64_t)x) & 0x0000000000ff0000ULL) << 24) | (((uint64_t)((uint64_t)x) & 0x000000000000ff00ULL) << 40) | (((uint64_t)((uint64_t)x) & 0x00000000000000ffULL) << 56)) : _OSSwapInt64((uint64_t)x)); } static __inline__ NXSwappedDouble NXSwapHostDoubleToBig( double x ) { return (NXSwappedDouble)(__builtin_constant_p((uint64_t)NXConvertHostDoubleToSwapped(x)) ? ((((uint64_t)((uint64_t)NXConvertHostDoubleToSwapped(x)) & 0xff00000000000000ULL) >> 56) | (((uint64_t)((uint64_t)NXConvertHostDoubleToSwapped(x)) & 0x00ff000000000000ULL) >> 40) | (((uint64_t)((uint64_t)NXConvertHostDoubleToSwapped(x)) & 0x0000ff0000000000ULL) >> 24) | (((uint64_t)((uint64_t)NXConvertHostDoubleToSwapped(x)) & 0x000000ff00000000ULL) >> 8) | (((uint64_t)((uint64_t)NXConvertHostDoubleToSwapped(x)) & 0x00000000ff000000ULL) << 8) | (((uint64_t)((uint64_t)NXConvertHostDoubleToSwapped(x)) & 0x0000000000ff0000ULL) << 24) | (((uint64_t)((uint64_t)NXConvertHostDoubleToSwapped(x)) & 0x000000000000ff00ULL) << 40) | (((uint64_t)((uint64_t)NXConvertHostDoubleToSwapped(x)) & 0x00000000000000ffULL) << 56)) : _OSSwapInt64((uint64_t)NXConvertHostDoubleToSwapped(x))); } static __inline__ NXSwappedFloat NXSwapHostFloatToBig( float x ) { return (NXSwappedFloat)(__builtin_constant_p((uint32_t)NXConvertHostFloatToSwapped(x)) ? ((((uint32_t)((uint32_t)NXConvertHostFloatToSwapped(x)) & 0xff000000) >> 24) | (((uint32_t)((uint32_t)NXConvertHostFloatToSwapped(x)) & 0x00ff0000) >> 8) | (((uint32_t)((uint32_t)NXConvertHostFloatToSwapped(x)) & 0x0000ff00) << 8) | (((uint32_t)((uint32_t)NXConvertHostFloatToSwapped(x)) & 0x000000ff) << 24)) : _OSSwapInt32((uint32_t)NXConvertHostFloatToSwapped(x))); } static __inline__ unsigned short NXSwapLittleShortToHost( unsigned short x ) { return (unsigned short)OSSwapLittleToHostInt16((uint16_t)x); } static __inline__ unsigned int NXSwapLittleIntToHost( unsigned int x ) { return (unsigned int)OSSwapLittleToHostInt32((uint32_t)x); } static __inline__ unsigned long NXSwapLittleLongToHost( unsigned long x ) { return (unsigned long)OSSwapLittleToHostInt32((uint32_t)x); } static __inline__ unsigned long long NXSwapLittleLongLongToHost( unsigned long long x ) { return (unsigned long long)OSSwapLittleToHostInt64((uint64_t)x); } static __inline__ double NXSwapLittleDoubleToHost( NXSwappedDouble x ) { return NXConvertSwappedDoubleToHost((NXSwappedDouble)OSSwapLittleToHostInt64((uint64_t)x)); } static __inline__ float NXSwapLittleFloatToHost( NXSwappedFloat x ) { return NXConvertSwappedFloatToHost((NXSwappedFloat)OSSwapLittleToHostInt32((uint32_t)x)); } static __inline__ unsigned short NXSwapHostShortToLittle( unsigned short x ) { return (unsigned short)OSSwapHostToLittleInt16((uint16_t)x); } static __inline__ unsigned int NXSwapHostIntToLittle( unsigned int x ) { return (unsigned int)OSSwapHostToLittleInt32((uint32_t)x); } static __inline__ unsigned long NXSwapHostLongToLittle( unsigned long x ) { return (unsigned long)OSSwapHostToLittleInt32((uint32_t)x); } static __inline__ unsigned long long NXSwapHostLongLongToLittle( unsigned long long x ) { return (unsigned long long)OSSwapHostToLittleInt64((uint64_t)x); } static __inline__ NXSwappedDouble NXSwapHostDoubleToLittle( double x ) { return (NXSwappedDouble)OSSwapHostToLittleInt64((uint64_t)NXConvertHostDoubleToSwapped(x)); } static __inline__ NXSwappedFloat NXSwapHostFloatToLittle( float x ) { return (NXSwappedFloat)OSSwapHostToLittleInt32((uint32_t)NXConvertHostFloatToSwapped(x)); } # 30 "/usr/include/machine/byte_order.h" 2 3 4 # 105 "/usr/include/sys/_endian.h" 2 3 4 uint16_t ntohs(uint16_t); uint16_t htons(uint16_t); uint32_t ntohl(uint32_t); uint32_t htonl(uint32_t); # 93 "/usr/include/i386/endian.h" 2 3 4 # 33 "/usr/include/machine/endian.h" 2 3 4 # 183 "/usr/include/sys/wait.h" 2 3 4 union wait { int w_status; struct { unsigned int w_Termsig:7, w_Coredump:1, w_Retcode:8, w_Filler:16; } w_T; struct { unsigned int w_Stopval:8, w_Stopsig:8, w_Filler:16; } w_S; }; # 240 "/usr/include/sys/wait.h" 3 4 pid_t wait(int *); pid_t waitpid(pid_t, int *, int); int waitid(idtype_t, id_t, siginfo_t *, int); pid_t wait3(int *, int, struct rusage *); pid_t wait4(pid_t, int *, int, struct rusage *); # 65 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/alloca.h" 1 3 4 # 35 "/usr/include/alloca.h" 3 4 void *alloca(size_t); # 67 "/usr/include/stdlib.h" 2 3 4 # 80 "/usr/include/stdlib.h" 3 4 typedef __darwin_ct_rune_t ct_rune_t; typedef __darwin_rune_t rune_t; # 96 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long quot; long rem; } ldiv_t; typedef struct { long long quot; long long rem; } lldiv_t; # 133 "/usr/include/stdlib.h" 3 4 extern int __mb_cur_max; # 143 "/usr/include/stdlib.h" 3 4 void abort(void) __attribute__((__noreturn__)); int abs(int) __attribute__((__const__)); int atexit(void (*)(void)); double atof(const char *); int atoi(const char *); long atol(const char *); long long atoll(const char *); void *bsearch(const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); void *calloc(size_t, size_t); div_t div(int, int) __attribute__((__const__)); void exit(int) __attribute__((__noreturn__)); void free(void *); char *getenv(const char *); long labs(long) __attribute__((__const__)); ldiv_t ldiv(long, long) __attribute__((__const__)); long long llabs(long long); lldiv_t lldiv(long long, long long); void *malloc(size_t); int mblen(const char *, size_t); size_t mbstowcs(wchar_t * , const char * , size_t); int mbtowc(wchar_t * , const char * , size_t); void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); int rand(void); void *realloc(void *, size_t); void srand(unsigned); double strtod(const char *, char **); float strtof(const char *, char **); long strtol(const char *, char **, int); long double strtold(const char *, char **) ; long long strtoll(const char *, char **, int); unsigned long strtoul(const char *, char **, int); unsigned long long strtoull(const char *, char **, int); int system(const char *); size_t wcstombs(char * , const wchar_t * , size_t); int wctomb(char *, wchar_t); void _Exit(int) __attribute__((__noreturn__)); long a64l(const char *); double drand48(void); char *ecvt(double, int, int *, int *); double erand48(unsigned short[3]); char *fcvt(double, int, int *, int *); char *gcvt(double, int, char *); int getsubopt(char **, char * const *, char **); int grantpt(int); char *initstate(unsigned long, char *, long); long jrand48(unsigned short[3]); char *l64a(long); void lcong48(unsigned short[7]); long lrand48(void); char *mktemp(char *); int mkstemp(char *); long mrand48(void); long nrand48(unsigned short[3]); int posix_openpt(int); char *ptsname(int); int putenv(char *) ; long random(void); char *realpath(const char *, char *resolved_path); unsigned short *seed48(unsigned short[3]); int setenv(const char *, const char *, int) ; int setkey(const char *); char *setstate(const char *); void srand48(long); void srandom(unsigned long); int unlockpt(int); void unsetenv(const char *); # 1 "/usr/include/machine/types.h" 1 3 4 # 32 "/usr/include/machine/types.h" 3 4 # 1 "/usr/include/i386/types.h" 1 3 4 # 76 "/usr/include/i386/types.h" 3 4 typedef unsigned char u_int8_t; typedef short int16_t; typedef unsigned short u_int16_t; typedef int int32_t; typedef unsigned int u_int32_t; typedef long long int64_t; typedef unsigned long long u_int64_t; typedef int32_t register_t; typedef __darwin_intptr_t intptr_t; typedef unsigned long int uintptr_t; typedef u_int32_t user_addr_t; typedef u_int32_t user_size_t; typedef int32_t user_ssize_t; typedef int32_t user_long_t; typedef u_int32_t user_ulong_t; typedef int32_t user_time_t; # 33 "/usr/include/machine/types.h" 2 3 4 # 249 "/usr/include/stdlib.h" 2 3 4 typedef __darwin_dev_t dev_t; typedef __darwin_mode_t mode_t; u_int32_t arc4random(void); void arc4random_addrandom(unsigned char *dat, int datlen); void arc4random_stir(void); char *cgetcap(char *, const char *, int); int cgetclose(void); int cgetent(char **, char **, const char *); int cgetfirst(char **, char **); int cgetmatch(const char *, const char *); int cgetnext(char **, char **); int cgetnum(char *, const char *, long *); int cgetset(const char *); int cgetstr(char *, const char *, char **); int cgetustr(char *, const char *, char **); int daemon(int, int); char *devname(dev_t, mode_t); char *devname_r(dev_t, mode_t, char *buf, int len); char *getbsize(int *, long *); int getloadavg(double [], int); const char *getprogname(void); int heapsort(void *, size_t, size_t, int (*)(const void *, const void *)); int mergesort(void *, size_t, size_t, int (*)(const void *, const void *)); void qsort_r(void *, size_t, size_t, void *, int (*)(void *, const void *, const void *)); int radixsort(const unsigned char **, int, const unsigned char *, unsigned); void setprogname(const char *); int sradixsort(const unsigned char **, int, const unsigned char *, unsigned); void sranddev(void); void srandomdev(void); int rand_r(unsigned *); void *reallocf(void *, size_t); long long strtoq(const char *, char **, int); unsigned long long strtouq(const char *, char **, int); extern char *suboptarg; void *valloc(size_t); # 2900 "/usr/local/include/php/main/php_config.h" 2 # 1 "/usr/include/sys/types.h" 1 3 4 # 78 "/usr/include/sys/types.h" 3 4 typedef unsigned char u_char; typedef unsigned short u_short; typedef unsigned int u_int; typedef unsigned long u_long; typedef unsigned short ushort; typedef unsigned int uint; typedef u_int64_t u_quad_t; typedef int64_t quad_t; typedef quad_t * qaddr_t; typedef char * caddr_t; typedef int32_t daddr_t; typedef u_int32_t fixpt_t; typedef __darwin_blkcnt_t blkcnt_t; typedef __darwin_blksize_t blksize_t; typedef __darwin_gid_t gid_t; typedef __uint32_t in_addr_t; typedef __uint16_t in_port_t; typedef __darwin_ino_t ino_t; typedef __int32_t key_t; # 144 "/usr/include/sys/types.h" 3 4 typedef __uint16_t nlink_t; # 161 "/usr/include/sys/types.h" 3 4 typedef __darwin_off_t off_t; typedef int32_t segsz_t; typedef int32_t swblk_t; # 187 "/usr/include/sys/types.h" 3 4 typedef __darwin_clock_t clock_t; # 199 "/usr/include/sys/types.h" 3 4 typedef __darwin_ssize_t ssize_t; typedef __darwin_time_t time_t; typedef __darwin_useconds_t useconds_t; typedef __darwin_suseconds_t suseconds_t; # 226 "/usr/include/sys/types.h" 3 4 typedef __int32_t fd_mask; # 250 "/usr/include/sys/types.h" 3 4 typedef struct fd_set { __int32_t fds_bits[(((1024) + (((sizeof(__int32_t) * 8)) - 1)) / ((sizeof(__int32_t) * 8)))]; } fd_set; # 302 "/usr/include/sys/types.h" 3 4 typedef __darwin_pthread_cond_t pthread_cond_t; typedef __darwin_pthread_condattr_t pthread_condattr_t; typedef __darwin_pthread_mutex_t pthread_mutex_t; typedef __darwin_pthread_mutexattr_t pthread_mutexattr_t; typedef __darwin_pthread_once_t pthread_once_t; typedef __darwin_pthread_rwlock_t pthread_rwlock_t; typedef __darwin_pthread_rwlockattr_t pthread_rwlockattr_t; typedef __darwin_pthread_t pthread_t; typedef __darwin_pthread_key_t pthread_key_t; typedef __darwin_fsblkcnt_t fsblkcnt_t; typedef __darwin_fsfilcnt_t fsfilcnt_t; # 2904 "/usr/local/include/php/main/php_config.h" 2 # 1 "/usr/include/sys/select.h" 1 3 4 # 87 "/usr/include/sys/select.h" 3 4 struct timespec { time_t tv_sec; long tv_nsec; }; # 146 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/signal.h" 1 3 4 # 71 "/usr/include/signal.h" 3 4 extern const char *const sys_signame[32]; extern const char *const sys_siglist[32]; int raise(int); void (*bsd_signal(int, void (*)(int)))(int); int kill(pid_t, int); int killpg(pid_t, int); int pthread_kill(pthread_t, int); int pthread_sigmask(int, const sigset_t *, sigset_t *); int sigaction(int, const struct sigaction * , struct sigaction * ); int sigaddset(sigset_t *, int); int sigaltstack(const stack_t * , stack_t * ); int sigdelset(sigset_t *, int); int sigemptyset(sigset_t *); int sigfillset(sigset_t *); int sighold(int); int sigignore(int); int siginterrupt(int, int); int sigismember(const sigset_t *, int); int sigpause(int); int sigpending(sigset_t *); int sigprocmask(int, const sigset_t * , sigset_t * ); int sigrelse(int); void (*sigset(int, void (*)(int)))(int); int sigsuspend(const sigset_t *); int sigwait(const sigset_t * , int * ); void psignal(unsigned int, const char *); int sigblock(int); int sigreturn(struct sigcontext *); int sigsetmask(int); int sigvec(int, struct sigvec *, struct sigvec *); # 147 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/sys/time.h" 1 3 4 # 91 "/usr/include/sys/time.h" 3 4 struct itimerval { struct timeval it_interval; struct timeval it_value; }; # 175 "/usr/include/sys/time.h" 3 4 struct timezone { int tz_minuteswest; int tz_dsttime; }; # 218 "/usr/include/sys/time.h" 3 4 struct clockinfo { int hz; int tick; int tickadj; int stathz; int profhz; }; # 1 "/usr/include/time.h" 1 3 4 # 95 "/usr/include/time.h" 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long tm_gmtoff; char *tm_zone; }; # 1 "/usr/include/machine/_limits.h" 1 3 4 # 28 "/usr/include/machine/_limits.h" 3 4 # 1 "/usr/include/i386/_limits.h" 1 3 4 # 29 "/usr/include/machine/_limits.h" 2 3 4 # 110 "/usr/include/time.h" 2 3 4 extern char *tzname[]; extern int getdate_err; extern int daylight; char *asctime(const struct tm *); clock_t clock(void); char *ctime(const time_t *); double difftime(time_t, time_t); struct tm *getdate(const char *); struct tm *gmtime(const time_t *); struct tm *localtime(const time_t *); time_t mktime(struct tm *); size_t strftime(char * , size_t, const char * , const struct tm * ) ; char *strptime(const char * , const char * , struct tm * ); time_t time(time_t *); void tzset(void); char *asctime_r(const struct tm *, char *); char *ctime_r(const time_t *, char *); struct tm *gmtime_r(const time_t *, struct tm *); struct tm *localtime_r(const time_t *, struct tm *); time_t posix2time(time_t); char *timezone(int, int); void tzsetwall(void); time_t time2posix(time_t); time_t timelocal(struct tm * const); time_t timegm(struct tm * const); int nanosleep(const struct timespec *, struct timespec *) ; # 233 "/usr/include/sys/time.h" 2 3 4 int adjtime(const struct timeval *, struct timeval *); int futimes(int, const struct timeval *); int settimeofday(const struct timeval *, const struct timezone *); int getitimer(int, struct itimerval *); int gettimeofday(struct timeval * , struct timezone * ); int select(int, fd_set * , fd_set * , fd_set * , struct timeval * ); int setitimer(int, const struct itimerval * , struct itimerval * ); int utimes(const char *, const struct timeval *); # 149 "/usr/include/sys/select.h" 2 3 4 int pselect(int, fd_set * , fd_set * , fd_set * , const struct timespec * , const sigset_t * ); int select(int, fd_set * , fd_set * , fd_set * , struct timeval * ); # 2908 "/usr/local/include/php/main/php_config.h" 2 # 1 "/usr/include/string.h" 1 3 4 # 80 "/usr/include/string.h" 3 4 void *memchr(const void *, int, size_t); int memcmp(const void *, const void *, size_t); void *memcpy(void *, const void *, size_t); void *memmove(void *, const void *, size_t); void *memset(void *, int, size_t); char *stpcpy(char *, const char *); char *strcasestr(const char *, const char *); char *strcat(char *, const char *); char *strchr(const char *, int); int strcmp(const char *, const char *); int strcoll(const char *, const char *); char *strcpy(char *, const char *); size_t strcspn(const char *, const char *); char *strerror(int); int strerror_r(int, char *, size_t); size_t strlen(const char *); char *strncat(char *, const char *, size_t); int strncmp(const char *, const char *, size_t); char *strncpy(char *, const char *, size_t); char *strnstr(const char *, const char *, size_t); char *strpbrk(const char *, const char *); char *strrchr(const char *, int); size_t strspn(const char *, const char *); char *strstr(const char *, const char *); char *strtok(char *, const char *); size_t strxfrm(char *, const char *, size_t); void *memccpy(void *, const void *, int, size_t); char *strtok_r(char *, const char *, char **); char *strdup(const char *); int bcmp(const void *, const void *, size_t); void bcopy(const void *, void *, size_t); void bzero(void *, size_t); int ffs(int); char *index(const char *, int); char *rindex(const char *, int); int strcasecmp(const char *, const char *); size_t strlcat(char *, const char *, size_t); size_t strlcpy(char *, const char *, size_t); void strmode(int, char *); int strncasecmp(const char *, const char *, size_t); char *strsep(char **, const char *); char *strsignal(int sig); void swab(const void * , void * , ssize_t); # 2916 "/usr/local/include/php/main/php_config.h" 2 # 2926 "/usr/local/include/php/main/php_config.h" # 1 "/usr/include/math.h" 1 3 4 # 28 "/usr/include/math.h" 3 4 # 1 "/usr/include/architecture/i386/math.h" 1 3 4 # 44 "/usr/include/architecture/i386/math.h" 3 4 typedef long double float_t; typedef long double double_t; # 63 "/usr/include/architecture/i386/math.h" 3 4 enum { _FP_NAN = 1, _FP_INFINITE = 2, _FP_ZERO = 3, _FP_NORMAL = 4, _FP_SUBNORMAL = 5, _FP_SUPERNORMAL = 6 }; # 93 "/usr/include/architecture/i386/math.h" 3 4 extern unsigned int __math_errhandling ( void ); # 126 "/usr/include/architecture/i386/math.h" 3 4 extern int __fpclassifyd( double ); extern int __fpclassifyf( float ); extern int __isnormald( double ); extern int __isnormalf( float ); extern int __isfinited( double ); extern int __isfinitef( float ); extern int __isinfd( double ); extern int __isinff( float ); extern int __isnand( double ); extern int __isnanf( float ); extern int __signbitd( double ); extern int __signbitf( float ); extern double acos( double ); extern float acosf( float ); extern double asin( double ); extern float asinf( float ); extern double atan( double ); extern float atanf( float ); extern double atan2( double, double ); extern float atan2f( float, float ); extern double cos( double ); extern float cosf( float ); extern double sin( double ); extern float sinf( float ); extern double tan( double ); extern float tanf( float ); extern double acosh( double ); extern float acoshf( float ); extern double asinh( double ); extern float asinhf( float ); extern double atanh( double ); extern float atanhf( float ); extern double cosh( double ); extern float coshf( float ); extern double sinh( double ); extern float sinhf( float ); extern double tanh( double ); extern float tanhf( float ); extern double exp ( double ); extern float expf ( float ); extern double exp2 ( double ); extern float exp2f ( float ); extern double expm1 ( double ); extern float expm1f ( float ); extern double log ( double ); extern float logf ( float ); extern double log10 ( double ); extern float log10f ( float ); extern double log2 ( double ); extern float log2f ( float ); extern double log1p ( double ); extern float log1pf ( float ); extern double logb ( double ); extern float logbf ( float ); extern double modf ( double, double * ); extern float modff ( float, float * ); extern double ldexp ( double, int ); extern float ldexpf ( float, int ); extern double frexp ( double, int * ); extern float frexpf ( float, int * ); extern int ilogb ( double ); extern int ilogbf ( float ); extern double scalbn ( double, int ); extern float scalbnf ( float, int ); extern double scalbln ( double, long int ); extern float scalblnf ( float, long int ); extern double fabs( double ); extern float fabsf( float ); extern double cbrt( double ); extern float cbrtf( float ); extern double hypot ( double, double ); extern float hypotf ( float, float ); extern double pow ( double, double ); extern float powf ( float, float ); extern double sqrt( double ); extern float sqrtf( float ); extern double erf( double ); extern float erff( float ); extern double erfc( double ); extern float erfcf( float ); extern double lgamma( double ); extern float lgammaf( float ); extern double tgamma( double ); extern float tgammaf( float ); extern double ceil ( double ); extern float ceilf ( float ); extern double floor ( double ); extern float floorf ( float ); extern double nearbyint ( double ); extern float nearbyintf ( float ); extern double rint ( double ); extern float rintf ( float ); extern long int lrint ( double ); extern long int lrintf ( float ); extern long long int llrint ( double ); extern long long int llrintf ( float ); extern double round ( double ); extern float roundf ( float ); extern long int lround ( double ); extern long int lroundf ( float ); extern long long int llround ( double ); extern long long int llroundf ( float ); extern double trunc ( double ); extern float truncf ( float ); extern double fmod ( double, double ); extern float fmodf ( float, float ); extern double remainder ( double, double ); extern float remainderf ( float, float ); extern double remquo ( double, double, int * ); extern float remquof ( float, float, int * ); extern double copysign ( double, double ); extern float copysignf ( float, float ); extern double nan( const char * ); extern float nanf( const char * ); extern double nextafter ( double, double ); extern float nextafterf ( float, float ); extern double fdim ( double, double ); extern float fdimf ( float, float ); extern double fmax ( double, double ); extern float fmaxf ( float, float ); extern double fmin ( double, double ); extern float fminf ( float, float ); extern double fma ( double, double, double ); extern float fmaf ( float, float, float ); # 325 "/usr/include/architecture/i386/math.h" 3 4 extern double __inf( void ); extern float __inff( void ); extern long double __infl( void ); extern float __nan( void ); extern double j0 ( double ); extern float j0f ( float ); extern double j1 ( double ); extern float j1f ( float ); extern double jn ( int, double ); extern float jnf ( int, float ); extern double y0 ( double ); extern float y0f ( float ); extern double y1 ( double ); extern float y1f ( float ); extern double yn ( int, double ); extern float ynf ( int, float ); extern double scalb ( double, int ); extern float scalbf ( float, int ); # 372 "/usr/include/architecture/i386/math.h" 3 4 extern int signgam; # 385 "/usr/include/architecture/i386/math.h" 3 4 extern long int rinttol ( double ); extern long int roundtol ( double ); typedef struct __complex_s { double Real; double Imag; } __complex_t; typedef struct __complexf_s { float Real; float Imag; } __complexf_t; enum fdversion {_fdlibm_ieee = -1, _fdlibm_svid, _fdlibm_xopen, _fdlibm_posix}; # 421 "/usr/include/architecture/i386/math.h" 3 4 extern enum fdversion _fdlib_version; struct exception { int type; char *name; double arg1; double arg2; double retval; }; # 458 "/usr/include/architecture/i386/math.h" 3 4 extern int finite ( double ); extern int finitef ( float ); extern double gamma ( double ); extern float gammaf ( float ); extern int matherr ( struct exception * ); extern double significand ( double ); extern double drem ( double, double ); extern float dremf ( float, float ); # 29 "/usr/include/math.h" 2 3 4 # 2927 "/usr/local/include/php/main/php_config.h" 2 # 2 "/usr/local/include/php/Zend/zend_config.h" 2 # 54 "/usr/local/include/php/Zend/zend.h" 2 # 76 "/usr/local/include/php/Zend/zend.h" # 1 "/usr/include/gcc/darwin/3.3/stdarg.h" 1 3 4 # 48 "/usr/include/gcc/darwin/3.3/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 77 "/usr/local/include/php/Zend/zend.h" 2 # 1 "/usr/local/include/dlfcn.h" 1 3 # 47 "/usr/local/include/dlfcn.h" 3 typedef struct dl_info { const char *dli_fname; void *dli_fbase; const char *dli_sname; void *dli_saddr; } Dl_info; # 73 "/usr/local/include/dlfcn.h" 3 extern void * dlopen(const char *path, int mode); extern void * dlsym(void * handle, const char * symbol); extern const char * dlerror(void); extern int dlclose(void * handle); extern int dladdr(void *, Dl_info *); # 81 "/usr/local/include/php/Zend/zend.h" 2 # 1 "/usr/include/mach-o/dyld.h" 1 3 4 # 30 "/usr/include/mach-o/dyld.h" 3 4 # 1 "/usr/include/stddef.h" 1 3 4 # 31 "/usr/include/mach-o/dyld.h" 2 3 4 # 1 "/usr/include/gcc/darwin/3.3/stdbool.h" 1 3 4 # 36 "/usr/include/mach-o/dyld.h" 2 3 4 # 1 "/usr/include/mach-o/loader.h" 1 3 4 # 35 "/usr/include/mach-o/loader.h" 3 4 # 1 "/usr/include/mach/machine.h" 1 3 4 # 58 "/usr/include/mach/machine.h" 3 4 # 1 "/usr/include/mach/machine/vm_types.h" 1 3 4 # 29 "/usr/include/mach/machine/vm_types.h" 3 4 # 1 "/usr/include/mach/i386/vm_types.h" 1 3 4 # 86 "/usr/include/mach/i386/vm_types.h" 3 4 typedef __darwin_natural_t natural_t; typedef int integer_t; typedef natural_t vm_offset_t; typedef natural_t vm_size_t; # 109 "/usr/include/mach/i386/vm_types.h" 3 4 typedef uint32_t mach_vm_address_t; typedef uint32_t mach_vm_offset_t; typedef uint32_t mach_vm_size_t; # 121 "/usr/include/mach/i386/vm_types.h" 3 4 typedef uint32_t vm_map_offset_t; typedef uint32_t vm_map_address_t; typedef uint32_t vm_map_size_t; # 30 "/usr/include/mach/machine/vm_types.h" 2 3 4 # 59 "/usr/include/mach/machine.h" 2 3 4 # 1 "/usr/include/mach/boolean.h" 1 3 4 # 67 "/usr/include/mach/boolean.h" 3 4 # 1 "/usr/include/mach/machine/boolean.h" 1 3 4 # 29 "/usr/include/mach/machine/boolean.h" 3 4 # 1 "/usr/include/mach/i386/boolean.h" 1 3 4 # 62 "/usr/include/mach/i386/boolean.h" 3 4 typedef int boolean_t; # 30 "/usr/include/mach/machine/boolean.h" 2 3 4 # 68 "/usr/include/mach/boolean.h" 2 3 4 # 60 "/usr/include/mach/machine.h" 2 3 4 typedef integer_t cpu_type_t; typedef integer_t cpu_subtype_t; typedef integer_t cpu_threadtype_t; # 36 "/usr/include/mach-o/loader.h" 2 3 4 # 1 "/usr/include/mach/vm_prot.h" 1 3 4 # 69 "/usr/include/mach/vm_prot.h" 3 4 typedef int vm_prot_t; # 42 "/usr/include/mach-o/loader.h" 2 3 4 # 1 "/usr/include/mach/machine/thread_status.h" 1 3 4 # 29 "/usr/include/mach/machine/thread_status.h" 3 4 # 1 "/usr/include/mach/i386/thread_status.h" 1 3 4 # 64 "/usr/include/mach/i386/thread_status.h" 3 4 # 1 "/usr/include/mach/message.h" 1 3 4 # 62 "/usr/include/mach/message.h" 3 4 # 1 "/usr/include/mach/port.h" 1 3 4 # 93 "/usr/include/mach/port.h" 3 4 typedef natural_t mach_port_name_t; typedef mach_port_name_t *mach_port_name_array_t; # 115 "/usr/include/mach/port.h" 3 4 typedef mach_port_name_t mach_port_t; typedef mach_port_t *mach_port_array_t; # 177 "/usr/include/mach/port.h" 3 4 typedef natural_t mach_port_right_t; # 186 "/usr/include/mach/port.h" 3 4 typedef natural_t mach_port_type_t; typedef mach_port_type_t *mach_port_type_array_t; # 218 "/usr/include/mach/port.h" 3 4 typedef natural_t mach_port_urefs_t; typedef integer_t mach_port_delta_t; typedef natural_t mach_port_seqno_t; typedef natural_t mach_port_mscount_t; typedef natural_t mach_port_msgcount_t; typedef natural_t mach_port_rights_t; typedef unsigned int mach_port_srights_t; typedef struct mach_port_status { mach_port_name_t mps_pset; mach_port_seqno_t mps_seqno; mach_port_mscount_t mps_mscount; mach_port_msgcount_t mps_qlimit; mach_port_msgcount_t mps_msgcount; mach_port_rights_t mps_sorights; boolean_t mps_srights; boolean_t mps_pdrequest; boolean_t mps_nsrequest; natural_t mps_flags; } mach_port_status_t; typedef struct mach_port_limits { mach_port_msgcount_t mpl_qlimit; } mach_port_limits_t; typedef integer_t *mach_port_info_t; typedef int mach_port_flavor_t; # 273 "/usr/include/mach/port.h" 3 4 typedef struct mach_port_qos { boolean_t name:1; boolean_t prealloc:1; boolean_t pad1:30; natural_t len; } mach_port_qos_t; typedef mach_port_t port_t; typedef mach_port_name_t port_name_t; typedef mach_port_name_t *port_name_array_t; # 63 "/usr/include/mach/message.h" 2 3 4 # 1 "/usr/include/mach/kern_return.h" 1 3 4 # 64 "/usr/include/mach/kern_return.h" 3 4 # 1 "/usr/include/mach/machine/kern_return.h" 1 3 4 # 29 "/usr/include/mach/machine/kern_return.h" 3 4 # 1 "/usr/include/mach/i386/kern_return.h" 1 3 4 # 65 "/usr/include/mach/i386/kern_return.h" 3 4 typedef int kern_return_t; # 30 "/usr/include/mach/machine/kern_return.h" 2 3 4 # 65 "/usr/include/mach/kern_return.h" 2 3 4 # 65 "/usr/include/mach/message.h" 2 3 4 # 76 "/usr/include/mach/message.h" 3 4 typedef natural_t mach_msg_timeout_t; # 159 "/usr/include/mach/message.h" 3 4 typedef unsigned int mach_msg_bits_t; typedef natural_t mach_msg_size_t; typedef integer_t mach_msg_id_t; typedef unsigned int mach_msg_type_name_t; # 176 "/usr/include/mach/message.h" 3 4 typedef unsigned int mach_msg_copy_options_t; # 186 "/usr/include/mach/message.h" 3 4 typedef unsigned int mach_msg_descriptor_type_t; #pragma pack(4) typedef struct { natural_t pad1; mach_msg_size_t pad2; unsigned int pad3 : 24; mach_msg_descriptor_type_t type : 8; } mach_msg_type_descriptor_t; typedef struct { mach_port_t name; mach_msg_size_t pad1; unsigned int pad2 : 16; mach_msg_type_name_t disposition : 8; mach_msg_descriptor_type_t type : 8; } mach_msg_port_descriptor_t; typedef struct { uint32_t address; mach_msg_size_t size; boolean_t deallocate: 8; mach_msg_copy_options_t copy: 8; unsigned int pad1: 8; mach_msg_descriptor_type_t type: 8; } mach_msg_ool_descriptor32_t; typedef struct { uint64_t address; boolean_t deallocate: 8; mach_msg_copy_options_t copy: 8; unsigned int pad1: 8; mach_msg_descriptor_type_t type: 8; mach_msg_size_t size; } mach_msg_ool_descriptor64_t; typedef struct { void* address; mach_msg_size_t size; boolean_t deallocate: 8; mach_msg_copy_options_t copy: 8; unsigned int pad1: 8; mach_msg_descriptor_type_t type: 8; } mach_msg_ool_descriptor_t; typedef struct { uint32_t address; mach_msg_size_t count; boolean_t deallocate: 8; mach_msg_copy_options_t copy: 8; mach_msg_type_name_t disposition : 8; mach_msg_descriptor_type_t type : 8; } mach_msg_ool_ports_descriptor32_t; typedef struct { uint64_t address; boolean_t deallocate: 8; mach_msg_copy_options_t copy: 8; mach_msg_type_name_t disposition : 8; mach_msg_descriptor_type_t type : 8; mach_msg_size_t count; } mach_msg_ool_ports_descriptor64_t; typedef struct { void* address; mach_msg_size_t count; boolean_t deallocate: 8; mach_msg_copy_options_t copy: 8; mach_msg_type_name_t disposition : 8; mach_msg_descriptor_type_t type : 8; } mach_msg_ool_ports_descriptor_t; typedef union { mach_msg_port_descriptor_t port; mach_msg_ool_descriptor_t out_of_line; mach_msg_ool_ports_descriptor_t ool_ports; mach_msg_type_descriptor_t type; } mach_msg_descriptor_t; typedef struct { mach_msg_size_t msgh_descriptor_count; } mach_msg_body_t; typedef struct { mach_msg_bits_t msgh_bits; mach_msg_size_t msgh_size; mach_port_t msgh_remote_port; mach_port_t msgh_local_port; mach_msg_size_t msgh_reserved; mach_msg_id_t msgh_id; } mach_msg_header_t; typedef struct { mach_msg_header_t header; mach_msg_body_t body; } mach_msg_base_t; typedef unsigned int mach_msg_trailer_type_t; typedef unsigned int mach_msg_trailer_size_t; typedef struct { mach_msg_trailer_type_t msgh_trailer_type; mach_msg_trailer_size_t msgh_trailer_size; } mach_msg_trailer_t; typedef struct { mach_msg_trailer_type_t msgh_trailer_type; mach_msg_trailer_size_t msgh_trailer_size; mach_port_seqno_t msgh_seqno; } mach_msg_seqno_trailer_t; typedef struct { unsigned int val[2]; } security_token_t; typedef struct { mach_msg_trailer_type_t msgh_trailer_type; mach_msg_trailer_size_t msgh_trailer_size; mach_port_seqno_t msgh_seqno; security_token_t msgh_sender; } mach_msg_security_trailer_t; # 362 "/usr/include/mach/message.h" 3 4 typedef struct { unsigned int val[8]; } audit_token_t; typedef struct { mach_msg_trailer_type_t msgh_trailer_type; mach_msg_trailer_size_t msgh_trailer_size; mach_port_seqno_t msgh_seqno; security_token_t msgh_sender; audit_token_t msgh_audit; } mach_msg_audit_trailer_t; # 387 "/usr/include/mach/message.h" 3 4 typedef mach_msg_audit_trailer_t mach_msg_max_trailer_t; # 397 "/usr/include/mach/message.h" 3 4 typedef mach_msg_security_trailer_t mach_msg_format_0_trailer_t; extern security_token_t KERNEL_SECURITY_TOKEN; extern audit_token_t KERNEL_AUDIT_TOKEN; typedef integer_t mach_msg_options_t; typedef struct { mach_msg_header_t header; } mach_msg_empty_send_t; typedef struct { mach_msg_header_t header; mach_msg_trailer_t trailer; } mach_msg_empty_rcv_t; typedef union { mach_msg_empty_send_t send; mach_msg_empty_rcv_t rcv; } mach_msg_empty_t; #pragma pack() # 471 "/usr/include/mach/message.h" 3 4 typedef natural_t mach_msg_type_size_t; typedef natural_t mach_msg_type_number_t; # 515 "/usr/include/mach/message.h" 3 4 typedef integer_t mach_msg_option_t; # 569 "/usr/include/mach/message.h" 3 4 typedef kern_return_t mach_msg_return_t; # 652 "/usr/include/mach/message.h" 3 4 # 671 "/usr/include/mach/message.h" 3 4 extern mach_msg_return_t mach_msg_overwrite( mach_msg_header_t *msg, mach_msg_option_t option, mach_msg_size_t send_size, mach_msg_size_t rcv_size, mach_port_name_t rcv_name, mach_msg_timeout_t timeout, mach_port_name_t notify, mach_msg_header_t *rcv_msg, mach_msg_size_t rcv_limit); # 691 "/usr/include/mach/message.h" 3 4 extern mach_msg_return_t mach_msg( mach_msg_header_t *msg, mach_msg_option_t option, mach_msg_size_t send_size, mach_msg_size_t rcv_size, mach_port_name_t rcv_name, mach_msg_timeout_t timeout, mach_port_name_t notify); # 65 "/usr/include/mach/i386/thread_status.h" 2 3 4 # 1 "/usr/include/mach/i386/fp_reg.h" 1 3 4 # 60 "/usr/include/mach/i386/fp_reg.h" 3 4 struct i386_fp_save { unsigned short fp_control; unsigned short fp_unused_1; unsigned short fp_status; unsigned short fp_unused_2; unsigned short fp_tag; unsigned short fp_unused_3; unsigned int fp_eip; unsigned short fp_cs; unsigned short fp_opcode; unsigned int fp_dp; unsigned short fp_ds; unsigned short fp_unused_4; }; struct i386_fp_regs { unsigned short fp_reg_word[5][8]; }; struct i386_fx_save { unsigned short fx_control; unsigned short fx_status; unsigned char fx_tag; unsigned char fx_bbz1; unsigned short fx_opcode; unsigned int fx_eip; unsigned short fx_cs; unsigned short fx_bbz2; unsigned int fx_dp; unsigned short fx_ds; unsigned short fx_bbz3; unsigned int fx_MXCSR; unsigned int fx_MXCSR_MASK; unsigned short fx_reg_word[8][8]; unsigned short fx_XMM_reg[8][8]; unsigned char fx_reserved[16*14]; }; # 66 "/usr/include/mach/i386/thread_status.h" 2 3 4 # 1 "/usr/include/mach/i386/thread_state.h" 1 3 4 # 67 "/usr/include/mach/i386/thread_status.h" 2 3 4 # 1 "/usr/include/architecture/i386/frame.h" 1 3 4 # 48 "/usr/include/architecture/i386/frame.h" 3 4 typedef union err_code { struct err_code_normal { unsigned int ext :1, tbl :2, index :13, :16; } normal; struct err_code_pgfault { unsigned int prot :1, wrtflt :1, user :1, :29; } pgfault; } err_code_t; # 1 "/usr/include/architecture/i386/sel.h" 1 3 4 # 39 "/usr/include/architecture/i386/sel.h" 3 4 typedef struct sel { unsigned short rpl :2, ti :1, index :13; } sel_t; # 67 "/usr/include/architecture/i386/frame.h" 2 3 4 # 86 "/usr/include/architecture/i386/frame.h" 3 4 typedef struct except_frame { err_code_t err; unsigned int eip; sel_t cs; unsigned int :0; unsigned int eflags; unsigned int esp; sel_t ss; unsigned int :0; unsigned short v_es; unsigned int :0; unsigned short v_ds; unsigned int :0; unsigned short v_fs; unsigned int :0; unsigned short v_gs; unsigned int :0; } except_frame_t; # 68 "/usr/include/mach/i386/thread_status.h" 2 3 4 # 1 "/usr/include/architecture/i386/fpu.h" 1 3 4 # 42 "/usr/include/architecture/i386/fpu.h" 3 4 typedef struct fp_data_reg { unsigned short mant; unsigned short mant1 :16, mant2 :16, mant3 :16; unsigned short exp :15, sign :1; } fp_data_reg_t; typedef struct fp_stack { fp_data_reg_t ST[8]; } fp_stack_t; typedef struct fp_tag { unsigned short tag0 :2, tag1 :2, tag2 :2, tag3 :2, tag4 :2, tag5 :2, tag6 :2, tag7 :2; } fp_tag_t; typedef struct fp_status { unsigned short invalid :1, denorm :1, zdiv :1, ovrfl :1, undfl :1, precis :1, stkflt :1, errsumm :1, c0 :1, c1 :1, c2 :1, tos :3, c3 :1, busy :1; } fp_status_t; typedef struct fp_control { unsigned short invalid :1, denorm :1, zdiv :1, ovrfl :1, undfl :1, precis :1, :2, pc :2, rc :2, :1, :3; } fp_control_t; # 131 "/usr/include/architecture/i386/fpu.h" 3 4 typedef struct fp_env { fp_control_t control; unsigned short :16; fp_status_t status; unsigned short :16; fp_tag_t tag; unsigned short :16; unsigned int ip; sel_t cs; unsigned short opcode; unsigned int dp; sel_t ds; unsigned short :16; } fp_env_t; typedef struct fp_state { fp_env_t environ; fp_stack_t stack; } fp_state_t; # 69 "/usr/include/mach/i386/thread_status.h" 2 3 4 # 118 "/usr/include/mach/i386/thread_status.h" 3 4 struct i386_new_thread_state { unsigned int gs; unsigned int fs; unsigned int es; unsigned int ds; unsigned int edi; unsigned int esi; unsigned int ebp; unsigned int esp; unsigned int ebx; unsigned int edx; unsigned int ecx; unsigned int eax; unsigned int eip; unsigned int cs; unsigned int efl; unsigned int uesp; unsigned int ss; }; # 145 "/usr/include/mach/i386/thread_status.h" 3 4 struct i386_saved_state_from_kernel { unsigned int gs; unsigned int fs; unsigned int es; unsigned int ds; unsigned int edi; unsigned int esi; unsigned int ebp; unsigned int esp; unsigned int ebx; unsigned int edx; unsigned int ecx; unsigned int eax; unsigned int trapno; unsigned int err; unsigned int eip; unsigned int cs; unsigned int efl; }; struct i386_saved_state { unsigned int gs; unsigned int fs; unsigned int es; unsigned int ds; unsigned int edi; unsigned int esi; unsigned int ebp; unsigned int esp; unsigned int ebx; unsigned int edx; unsigned int ecx; unsigned int eax; unsigned int trapno; unsigned int err; unsigned int eip; unsigned int cs; unsigned int efl; unsigned int uesp; unsigned int ss; struct v86_segs { unsigned int v86_es; unsigned int v86_ds; unsigned int v86_fs; unsigned int v86_gs; } v86_segs; unsigned int argv_status; unsigned int argv[7]; }; # 250 "/usr/include/mach/i386/thread_status.h" 3 4 struct i386_float_state { int fpkind; int initialized; unsigned char hw_state[512]; int exc_status; }; struct i386_old_float_state { int fpkind; int initialized; unsigned char hw_state[((mach_msg_type_number_t) (sizeof (struct i386_fp_save) + sizeof (struct i386_fp_regs)))]; int exc_status; }; struct i386_isa_port_map_state { unsigned char pm[0x400>>3]; }; # 285 "/usr/include/mach/i386/thread_status.h" 3 4 struct i386_v86_assist_state { unsigned int int_table; int int_count; }; struct v86_interrupt_table { unsigned int count; unsigned short mask; unsigned short vec; }; struct thread_syscall_state { unsigned eax; unsigned edx; unsigned efl; unsigned eip; unsigned esp; }; # 318 "/usr/include/mach/i386/thread_status.h" 3 4 typedef struct { unsigned int eax; unsigned int ebx; unsigned int ecx; unsigned int edx; unsigned int edi; unsigned int esi; unsigned int ebp; unsigned int esp; unsigned int ss; unsigned int eflags; unsigned int eip; unsigned int cs; unsigned int ds; unsigned int es; unsigned int fs; unsigned int gs; } i386_thread_state_t; # 357 "/usr/include/mach/i386/thread_status.h" 3 4 typedef struct { fp_env_t environ; fp_stack_t stack; } i386_thread_fpstate_t; # 372 "/usr/include/mach/i386/thread_status.h" 3 4 typedef struct { unsigned int trapno; err_code_t err; } i386_thread_exceptstate_t; # 387 "/usr/include/mach/i386/thread_status.h" 3 4 typedef struct { unsigned int self; } i386_thread_cthreadstate_t; # 30 "/usr/include/mach/machine/thread_status.h" 2 3 4 # 48 "/usr/include/mach-o/loader.h" 2 3 4 struct mach_header { uint32_t magic; cpu_type_t cputype; cpu_subtype_t cpusubtype; uint32_t filetype; uint32_t ncmds; uint32_t sizeofcmds; uint32_t flags; }; # 72 "/usr/include/mach-o/loader.h" 3 4 struct mach_header_64 { uint32_t magic; cpu_type_t cputype; cpu_subtype_t cpusubtype; uint32_t filetype; uint32_t ncmds; uint32_t sizeofcmds; uint32_t flags; uint32_t reserved; }; # 186 "/usr/include/mach-o/loader.h" 3 4 struct load_command { uint32_t cmd; uint32_t cmdsize; }; # 246 "/usr/include/mach-o/loader.h" 3 4 union lc_str { uint32_t offset; char *ptr; }; # 265 "/usr/include/mach-o/loader.h" 3 4 struct segment_command { uint32_t cmd; uint32_t cmdsize; char segname[16]; uint32_t vmaddr; uint32_t vmsize; uint32_t fileoff; uint32_t filesize; vm_prot_t maxprot; vm_prot_t initprot; uint32_t nsects; uint32_t flags; }; struct segment_command_64 { uint32_t cmd; uint32_t cmdsize; char segname[16]; uint64_t vmaddr; uint64_t vmsize; uint64_t fileoff; uint64_t filesize; vm_prot_t maxprot; vm_prot_t initprot; uint32_t nsects; uint32_t flags; }; # 337 "/usr/include/mach-o/loader.h" 3 4 struct section { char sectname[16]; char segname[16]; uint32_t addr; uint32_t size; uint32_t offset; uint32_t align; uint32_t reloff; uint32_t nreloc; uint32_t flags; uint32_t reserved1; uint32_t reserved2; }; struct section_64 { char sectname[16]; char segname[16]; uint64_t addr; uint64_t size; uint32_t offset; uint32_t align; uint32_t reloff; uint32_t nreloc; uint32_t flags; uint32_t reserved1; uint32_t reserved2; uint32_t reserved3; }; # 502 "/usr/include/mach-o/loader.h" 3 4 struct fvmlib { union lc_str name; uint32_t minor_version; uint32_t header_addr; }; # 515 "/usr/include/mach-o/loader.h" 3 4 struct fvmlib_command { uint32_t cmd; uint32_t cmdsize; struct fvmlib fvmlib; }; # 530 "/usr/include/mach-o/loader.h" 3 4 struct dylib { union lc_str name; uint32_t timestamp; uint32_t current_version; uint32_t compatibility_version; }; # 544 "/usr/include/mach-o/loader.h" 3 4 struct dylib_command { uint32_t cmd; uint32_t cmdsize; struct dylib dylib; }; # 560 "/usr/include/mach-o/loader.h" 3 4 struct sub_framework_command { uint32_t cmd; uint32_t cmdsize; union lc_str umbrella; }; # 575 "/usr/include/mach-o/loader.h" 3 4 struct sub_client_command { uint32_t cmd; uint32_t cmdsize; union lc_str client; }; # 594 "/usr/include/mach-o/loader.h" 3 4 struct sub_umbrella_command { uint32_t cmd; uint32_t cmdsize; union lc_str sub_umbrella; }; # 615 "/usr/include/mach-o/loader.h" 3 4 struct sub_library_command { uint32_t cmd; uint32_t cmdsize; union lc_str sub_library; }; # 630 "/usr/include/mach-o/loader.h" 3 4 struct prebound_dylib_command { uint32_t cmd; uint32_t cmdsize; union lc_str name; uint32_t nmodules; union lc_str linked_modules; }; struct dylinker_command { uint32_t cmd; uint32_t cmdsize; union lc_str name; }; # 671 "/usr/include/mach-o/loader.h" 3 4 struct thread_command { uint32_t cmd; uint32_t cmdsize; }; # 688 "/usr/include/mach-o/loader.h" 3 4 struct routines_command { uint32_t cmd; uint32_t cmdsize; uint32_t init_address; uint32_t init_module; uint32_t reserved1; uint32_t reserved2; uint32_t reserved3; uint32_t reserved4; uint32_t reserved5; uint32_t reserved6; }; struct routines_command_64 { uint32_t cmd; uint32_t cmdsize; uint64_t init_address; uint64_t init_module; uint64_t reserved1; uint64_t reserved2; uint64_t reserved3; uint64_t reserved4; uint64_t reserved5; uint64_t reserved6; }; struct symtab_command { uint32_t cmd; uint32_t cmdsize; uint32_t symoff; uint32_t nsyms; uint32_t stroff; uint32_t strsize; }; # 773 "/usr/include/mach-o/loader.h" 3 4 struct dysymtab_command { uint32_t cmd; uint32_t cmdsize; # 792 "/usr/include/mach-o/loader.h" 3 4 uint32_t ilocalsym; uint32_t nlocalsym; uint32_t iextdefsym; uint32_t nextdefsym; uint32_t iundefsym; uint32_t nundefsym; # 809 "/usr/include/mach-o/loader.h" 3 4 uint32_t tocoff; uint32_t ntoc; # 821 "/usr/include/mach-o/loader.h" 3 4 uint32_t modtaboff; uint32_t nmodtab; # 833 "/usr/include/mach-o/loader.h" 3 4 uint32_t extrefsymoff; uint32_t nextrefsyms; # 846 "/usr/include/mach-o/loader.h" 3 4 uint32_t indirectsymoff; uint32_t nindirectsyms; # 876 "/usr/include/mach-o/loader.h" 3 4 uint32_t extreloff; uint32_t nextrel; uint32_t locreloff; uint32_t nlocrel; }; # 901 "/usr/include/mach-o/loader.h" 3 4 struct dylib_table_of_contents { uint32_t symbol_index; uint32_t module_index; }; struct dylib_module { uint32_t module_name; uint32_t iextdefsym; uint32_t nextdefsym; uint32_t irefsym; uint32_t nrefsym; uint32_t ilocalsym; uint32_t nlocalsym; uint32_t iextrel; uint32_t nextrel; uint32_t iinit_iterm; uint32_t ninit_nterm; uint32_t objc_module_info_addr; uint32_t objc_module_info_size; }; struct dylib_module_64 { uint32_t module_name; uint32_t iextdefsym; uint32_t nextdefsym; uint32_t irefsym; uint32_t nrefsym; uint32_t ilocalsym; uint32_t nlocalsym; uint32_t iextrel; uint32_t nextrel; uint32_t iinit_iterm; uint32_t ninit_nterm; uint32_t objc_module_info_size; uint64_t objc_module_info_addr; }; # 970 "/usr/include/mach-o/loader.h" 3 4 struct dylib_reference { uint32_t isym:24, flags:8; }; struct twolevel_hints_command { uint32_t cmd; uint32_t cmdsize; uint32_t offset; uint32_t nhints; }; # 1002 "/usr/include/mach-o/loader.h" 3 4 struct twolevel_hint { uint32_t isub_image:8, itoc:24; }; # 1018 "/usr/include/mach-o/loader.h" 3 4 struct prebind_cksum_command { uint32_t cmd; uint32_t cmdsize; uint32_t cksum; }; # 1033 "/usr/include/mach-o/loader.h" 3 4 struct symseg_command { uint32_t cmd; uint32_t cmdsize; uint32_t offset; uint32_t size; }; struct ident_command { uint32_t cmd; uint32_t cmdsize; }; struct fvmfile_command { uint32_t cmd; uint32_t cmdsize; union lc_str name; uint32_t header_addr; }; # 38 "/usr/include/mach-o/dyld.h" 2 3 4 # 1 "/usr/include/AvailabilityMacros.h" 1 3 4 # 39 "/usr/include/mach-o/dyld.h" 2 3 4 enum DYLD_BOOL { FALSE, TRUE }; typedef enum { NSObjectFileImageFailure, NSObjectFileImageSuccess, NSObjectFileImageInappropriateFile, NSObjectFileImageArch, NSObjectFileImageFormat, NSObjectFileImageAccess } NSObjectFileImageReturnCode; typedef struct __NSObjectFileImage* NSObjectFileImage; extern NSObjectFileImageReturnCode NSCreateObjectFileImageFromFile( const char *pathName, NSObjectFileImage *objectFileImage); extern NSObjectFileImageReturnCode NSCreateCoreFileImageFromFile( const char *pathName, NSObjectFileImage *objectFileImage); extern NSObjectFileImageReturnCode NSCreateObjectFileImageFromMemory( const void *address, size_t size, NSObjectFileImage *objectFileImage); extern _Bool NSDestroyObjectFileImage( NSObjectFileImage objectFileImage); extern uint32_t NSSymbolDefinitionCountInObjectFileImage( NSObjectFileImage objectFileImage); extern const char * NSSymbolDefinitionNameInObjectFileImage( NSObjectFileImage objectFileImage, uint32_t ordinal); extern uint32_t NSSymbolReferenceCountInObjectFileImage( NSObjectFileImage objectFileImage); extern const char * NSSymbolReferenceNameInObjectFileImage( NSObjectFileImage objectFileImage, uint32_t ordinal, _Bool *tentative_definition); extern _Bool NSIsSymbolDefinedInObjectFileImage( NSObjectFileImage objectFileImage, const char *symbolName) ; extern void * NSGetSectionDataInObjectFileImage( NSObjectFileImage objectFileImage, const char *segmentName, const char *sectionName, size_t *size); extern _Bool NSHasModInitObjectFileImage( NSObjectFileImage objectFileImage) ; typedef struct __NSModule* NSModule; extern const char * NSNameOfModule( NSModule m); extern const char * NSLibraryNameForModule( NSModule m); extern NSModule NSLinkModule( NSObjectFileImage objectFileImage, const char *moduleName, uint32_t options); # 134 "/usr/include/mach-o/dyld.h" 3 4 extern _Bool NSUnLinkModule( NSModule module, uint32_t options); extern NSModule NSReplaceModule( NSModule moduleToReplace, NSObjectFileImage newObjectFileImage, uint32_t options); typedef struct __NSSymbol* NSSymbol; extern _Bool NSIsSymbolNameDefined( const char *symbolName) ; extern _Bool NSIsSymbolNameDefinedWithHint( const char *symbolName, const char *libraryNameHint) ; extern _Bool NSIsSymbolNameDefinedInImage( const struct mach_header *image, const char *symbolName) ; extern NSSymbol NSLookupAndBindSymbol( const char *symbolName) ; extern NSSymbol NSLookupAndBindSymbolWithHint( const char *symbolName, const char *libraryNameHint) ; extern NSSymbol NSLookupSymbolInModule( NSModule module, const char *symbolName); extern NSSymbol NSLookupSymbolInImage( const struct mach_header *image, const char *symbolName, uint32_t options); extern const char * NSNameOfSymbol( NSSymbol symbol); extern void * NSAddressOfSymbol( NSSymbol symbol); extern NSModule NSModuleForSymbol( NSSymbol symbol); typedef enum { NSLinkEditFileAccessError, NSLinkEditFileFormatError, NSLinkEditMachResourceError, NSLinkEditUnixResourceError, NSLinkEditOtherError, NSLinkEditWarningError, NSLinkEditMultiplyDefinedError, NSLinkEditUndefinedError } NSLinkEditErrors; typedef enum { NSOtherErrorRelocation, NSOtherErrorLazyBind, NSOtherErrorIndrLoop, NSOtherErrorLazyInit, NSOtherErrorInvalidArgs } NSOtherErrorNumbers; extern void NSLinkEditError( NSLinkEditErrors *c, int *errorNumber, const char **fileName, const char **errorString); typedef struct { void (*undefined)(const char *symbolName); NSModule (*multiple)(NSSymbol s, NSModule oldModule, NSModule newModule); void (*linkEdit)(NSLinkEditErrors errorClass, int errorNumber, const char *fileName, const char *errorString); } NSLinkEditErrorHandlers; extern void NSInstallLinkEditErrorHandlers( const NSLinkEditErrorHandlers *handlers); extern _Bool NSAddLibrary( const char *pathName) ; extern _Bool NSAddLibraryWithSearching( const char *pathName) ; extern const struct mach_header * NSAddImage( const char *image_name, uint32_t options); extern int32_t NSVersionOfRunTimeLibrary( const char *libraryName); extern int32_t NSVersionOfLinkTimeLibrary( const char *libraryName); extern int _NSGetExecutablePath( char *buf, uint32_t *bufsize); extern _Bool _dyld_present( void); extern uint32_t _dyld_image_count( void); extern const struct mach_header * _dyld_get_image_header( uint32_t image_index); extern intptr_t _dyld_get_image_vmaddr_slide( uint32_t image_index); extern const char * _dyld_get_image_name( uint32_t image_index); extern void _dyld_register_func_for_add_image( void (*func)(const struct mach_header *mh, intptr_t vmaddr_slide)); extern void _dyld_register_func_for_remove_image( void (*func)(const struct mach_header *mh, intptr_t vmaddr_slide)); extern void _dyld_register_func_for_link_module( void (*func)(NSModule module)); extern void _dyld_register_func_for_unlink_module( void (*func)(NSModule module)); extern void _dyld_register_func_for_replace_module( void (*func)(NSModule oldmodule, NSModule newmodule)); extern void _dyld_get_objc_module_sect_for_module( NSModule module, void **objc_module, size_t *size); extern void _dyld_bind_objc_module( const void *objc_module); extern _Bool _dyld_bind_fully_image_containing_address( const void *address); extern _Bool _dyld_image_containing_address( const void* address); extern const struct mach_header * _dyld_get_image_header_containing_address( const void* address) ; extern void _dyld_moninit( void (*monaddition)(char *lowpc, char *highpc)); extern _Bool _dyld_launched_prebound( void); extern _Bool _dyld_all_twolevel_modules_prebound( void) ; extern void _dyld_lookup_and_bind( const char *symbol_name, void **address, NSModule* module) ; extern void _dyld_lookup_and_bind_with_hint( const char *symbol_name, const char *library_name_hint, void **address, NSModule* module) ; extern void _dyld_lookup_and_bind_objc( const char *symbol_name, void **address, NSModule* module); extern void _dyld_lookup_and_bind_fully( const char *symbol_name, void **address, NSModule* module); extern int _dyld_func_lookup( const char *dyld_func_name, void **address); # 85 "/usr/local/include/php/Zend/zend.h" 2 void *zend_mh_bundle_load (char* bundle_path); int zend_mh_bundle_unload (void *bundle_handle); void *zend_mh_bundle_symbol(void *bundle_handle, const char *symbol_name); const char *zend_mh_bundle_error(void); # 223 "/usr/local/include/php/Zend/zend.h" # 1 "/usr/local/include/php/Zend/zend_errors.h" 1 # 224 "/usr/local/include/php/Zend/zend.h" 2 # 1 "/usr/local/include/php/Zend/zend_alloc.h" 1 # 27 "/usr/local/include/php/Zend/zend_alloc.h" # 1 "/usr/local/include/php/TSRM/TSRM.h" 1 # 20 "/usr/local/include/php/TSRM/TSRM.h" # 1 "/usr/local/include/php/TSRM/tsrm_config.h" 1 # 1 "/usr/local/include/php/main/php_config.h" 1 # 2815 "/usr/local/include/php/main/php_config.h" # 1 "/usr/local/include/php/ext/php_config.h" 1 # 20 "/usr/local/include/php/ext/php_config.h" # 1 "/usr/local/include/php/ext/session/config.h" 1 # 21 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mysqli/config.h" 1 # 22 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sqlite/config.h" 1 # 24 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/memcache/config.h" 1 # 26 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sqlite3/config.h" 1 # 27 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/rrdtool/config.h" 1 # 28 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/dba/config.h" 1 # 29 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/dbase/config.h" 1 # 30 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mssql/config.h" 1 # 32 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo/config.h" 1 # 34 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_dblib/config.h" 1 # 35 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_mysql/config.h" 1 # 37 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_sqlite/config.h" 1 # 40 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/rrdtool/config.h" 1 # 41 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/id3/config.h" 1 # 43 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/curl/config.h" 1 # 45 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ftp/config.h" 1 # 46 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/exif/config.h" 1 # 52 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/timezonedb/config.h" 1 # 55 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/calendar/config.h" 1 # 56 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/big_int/config.h" 1 # 57 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bitset/config.h" 1 # 58 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/stats/config.h" 1 # 59 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gmp/config.h" 1 # 60 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mailparse/config.h" 1 # 61 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pop3/config.h" 1 # 62 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bbcode/config.h" 1 # 63 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bcompiler/config.h" 1 # 64 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/expect/config.h" 1 # 65 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/hidef/config.h" 1 # 66 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/htscanner/config.h" 1 # 67 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/inclued/config.h" 1 # 68 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/json/config.h" 1 # 69 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/operator/config.h" 1 # 70 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/params/config.h" 1 # 71 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/runkit/config.h" 1 # 72 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/shp/config.h" 1 # 73 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/uploadprogress/config.h" 1 # 76 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/vld/config.h" 1 # 77 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gettext/config.h" 1 # 78 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ncurses/config.h" 1 # 79 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/readline/config.h" 1 # 81 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/shmop/config.h" 1 # 82 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sysvmsg/config.h" 1 # 83 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sysvsem/config.h" 1 # 84 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sysvshm/config.h" 1 # 85 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/tokenizer/config.h" 1 # 86 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ctype/config.h" 1 # 87 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/posix/config.h" 1 # 88 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/dom/config.h" 1 # 92 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/snmp/config.h" 1 # 93 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sockets/config.h" 1 # 94 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mhash/config.h" 1 # 95 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/cvsclient/config.h" 1 # 98 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/geoip/config.h" 1 # 99 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/radius/config.h" 1 # 100 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xmlrpc/config.h" 1 # 103 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/crack/config.h" 1 # 104 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gnupg/config.h" 1 # 106 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/tcpwrap/config.h" 1 # 108 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/suhosin/config.h" 1 # 109 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/openssl/config.h" 1 # 110 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/doublemetaphone/config.h" 1 # 112 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/stem/config.h" 1 # 113 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xdiff/config.h" 1 # 115 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xslcache/config.h" 1 # 116 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pspell/config.h" 1 # 117 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/wddx/config.h" 1 # 118 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xmlreader/config.h" 1 # 119 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xmlwriter/config.h" 1 # 120 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xsl/config.h" 1 # 121 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/apc/config.h" 1 # 122 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/amf/config.h" 1 # 123 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/tidy/config.h" 1 # 126 "/usr/local/include/php/ext/php_config.h" 2 # 2816 "/usr/local/include/php/main/php_config.h" 2 # 2 "/usr/local/include/php/TSRM/tsrm_config.h" 2 # 21 "/usr/local/include/php/TSRM/TSRM.h" 2 # 37 "/usr/local/include/php/TSRM/TSRM.h" typedef long tsrm_intptr_t; typedef unsigned long tsrm_uintptr_t; # 28 "/usr/local/include/php/Zend/zend_alloc.h" 2 # 1 "/usr/local/include/php/Zend/zend.h" 1 # 29 "/usr/local/include/php/Zend/zend_alloc.h" 2 typedef struct _zend_leak_info { void *addr; size_t size; char *filename; uint lineno; char *orig_filename; uint orig_lineno; } zend_leak_info; char *zend_strndup(const char *s, unsigned int length) __attribute__ ((__malloc__)); void *_emalloc(size_t size ) __attribute__ ((__malloc__)); void *_safe_emalloc(size_t nmemb, size_t size, size_t offset ) __attribute__ ((__malloc__)); void *_safe_malloc(size_t nmemb, size_t size, size_t offset) __attribute__ ((__malloc__)); void _efree(void *ptr ); void *_ecalloc(size_t nmemb, size_t size ) __attribute__ ((__malloc__)); void *_erealloc(void *ptr, size_t size, int allow_failure ); void *_safe_erealloc(void *ptr, size_t nmemb, size_t size, size_t offset ); void *_safe_realloc(void *ptr, size_t nmemb, size_t size, size_t offset); char *_estrdup(const char *s ) __attribute__ ((__malloc__)); char *_estrndup(const char *s, unsigned int length ) __attribute__ ((__malloc__)); size_t _zend_mem_block_size(void *ptr ); # 79 "/usr/local/include/php/Zend/zend_alloc.h" inline static void * __zend_malloc(size_t len) { void *tmp = malloc(len); if (tmp) { return tmp; } fprintf((&__sF[2]), "Out of memory\n"); exit(1); } inline static void * __zend_calloc(size_t nmemb, size_t len) { void *tmp = _safe_malloc(nmemb, len, 0); memset(tmp, 0, len); return tmp; } inline static void * __zend_realloc(void *p, size_t len) { p = realloc(p, len); if (p) { return p; } fprintf((&__sF[2]), "Out of memory\n"); exit(1); } # 127 "/usr/local/include/php/Zend/zend_alloc.h" int zend_set_memory_limit(size_t memory_limit); void start_memory_manager(void); void shutdown_memory_manager(int silent, int full_shutdown ); void suhosin_clear_mm_canaries(void); int is_zend_mm(void); # 147 "/usr/local/include/php/Zend/zend_alloc.h" size_t zend_memory_usage(int real_usage ); size_t zend_memory_peak_usage(int real_usage ); # 193 "/usr/local/include/php/Zend/zend_alloc.h" typedef struct _zend_mm_heap zend_mm_heap; zend_mm_heap *zend_mm_startup(void); void zend_mm_shutdown(zend_mm_heap *heap, int full_shutdown, int silent); void *_zend_mm_alloc(zend_mm_heap *heap, size_t size ) __attribute__ ((__malloc__)); void _zend_mm_free(zend_mm_heap *heap, void *p ); void *_zend_mm_realloc(zend_mm_heap *heap, void *p, size_t size ); size_t _zend_mm_block_size(zend_mm_heap *heap, void *p ); # 213 "/usr/local/include/php/Zend/zend_alloc.h" typedef struct _zend_mm_storage zend_mm_storage; typedef struct _zend_mm_segment { size_t size; struct _zend_mm_segment *next_segment; } zend_mm_segment; typedef struct _zend_mm_mem_handlers { const char *name; zend_mm_storage* (*init)(void *params); void (*dtor)(zend_mm_storage *storage); zend_mm_segment* (*_alloc)(zend_mm_storage *storage, size_t size); zend_mm_segment* (*_realloc)(zend_mm_storage *storage, zend_mm_segment *ptr, size_t size); void (*_free)(zend_mm_storage *storage, zend_mm_segment *ptr); } zend_mm_mem_handlers; struct _zend_mm_storage { const zend_mm_mem_handlers *handlers; void *data; }; zend_mm_heap *zend_mm_startup_ex(const zend_mm_mem_handlers *handlers, size_t block_size, size_t reserve_size, int internal, void *params); zend_mm_heap *zend_mm_set_heap(zend_mm_heap *new_heap ); zend_mm_storage *zend_mm_get_storage(zend_mm_heap *heap); # 225 "/usr/local/include/php/Zend/zend.h" 2 # 1 "/usr/local/include/php/Zend/zend_types.h" 1 # 25 "/usr/local/include/php/Zend/zend_types.h" typedef unsigned char zend_bool; typedef unsigned char zend_uchar; typedef unsigned int zend_uint; typedef unsigned long zend_ulong; typedef unsigned short zend_ushort; typedef long zend_intptr_t; typedef unsigned long zend_uintptr_t; typedef unsigned int zend_object_handle; typedef struct _zend_object_handlers zend_object_handlers; typedef struct _zend_object_value { zend_object_handle handle; zend_object_handlers *handlers; } zend_object_value; # 227 "/usr/local/include/php/Zend/zend.h" 2 # 1 "/usr/include/limits.h" 1 3 4 # 63 "/usr/include/limits.h" 3 4 # 1 "/usr/include/gcc/darwin/3.3/machine/limits.h" 1 3 4 # 32 "/usr/include/gcc/darwin/3.3/machine/limits.h" 3 4 # 1 "/usr/include/i386/limits.h" 1 3 4 # 33 "/usr/include/gcc/darwin/3.3/machine/limits.h" 2 3 4 # 64 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/sys/syslimits.h" 1 3 4 # 65 "/usr/include/limits.h" 2 3 4 # 230 "/usr/local/include/php/Zend/zend.h" 2 # 246 "/usr/local/include/php/Zend/zend.h" # 1 "/usr/local/include/php/Zend/zend_hash.h" 1 # 39 "/usr/local/include/php/Zend/zend_hash.h" typedef unsigned long (*hash_func_t)(char *arKey, uint nKeyLength); typedef int (*compare_func_t)(const void *, const void * ); typedef void (*sort_func_t)(void *, size_t, register size_t, compare_func_t ); typedef void (*dtor_func_t)(void *pDest); typedef void (*copy_ctor_func_t)(void *pElement); typedef void (*copy_ctor_param_func_t)(void *pElement, void *pParam); struct _hashtable; typedef struct bucket { unsigned long h; uint nKeyLength; void *pData; void *pDataPtr; struct bucket *pListNext; struct bucket *pListLast; struct bucket *pNext; struct bucket *pLast; char arKey[1]; } Bucket; typedef struct _hashtable { uint nTableSize; uint nTableMask; uint nNumOfElements; unsigned long nNextFreeElement; Bucket *pInternalPointer; Bucket *pListHead; Bucket *pListTail; Bucket **arBuckets; dtor_func_t pDestructor; zend_bool persistent; unsigned char nApplyCount; zend_bool bApplyProtection; } HashTable; typedef struct _zend_hash_key { char *arKey; uint nKeyLength; unsigned long h; } zend_hash_key; typedef zend_bool (*merge_checker_func_t)(HashTable *target_ht, void *source_data, zend_hash_key *hash_key, void *pParam); typedef Bucket* HashPosition; int _zend_hash_init(HashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent ); int _zend_hash_init_ex(HashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ); void zend_hash_destroy(HashTable *ht); void zend_hash_clean(HashTable *ht); int _zend_hash_add_or_update(HashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ); int _zend_hash_quick_add_or_update(HashTable *ht, char *arKey, uint nKeyLength, unsigned long h, void *pData, uint nDataSize, void **pDest, int flag ); int _zend_hash_index_update_or_next_insert(HashTable *ht, unsigned long h, void *pData, uint nDataSize, void **pDest, int flag ); int zend_hash_add_empty_element(HashTable *ht, char *arKey, uint nKeyLength); typedef int (*apply_func_t)(void *pDest ); typedef int (*apply_func_arg_t)(void *pDest, void *argument ); typedef int (*apply_func_args_t)(void *pDest, int num_args, va_list args, zend_hash_key *hash_key); void zend_hash_graceful_destroy(HashTable *ht); void zend_hash_graceful_reverse_destroy(HashTable *ht); void zend_hash_apply(HashTable *ht, apply_func_t apply_func ); void zend_hash_apply_with_argument(HashTable *ht, apply_func_arg_t apply_func, void * ); void zend_hash_apply_with_arguments(HashTable *ht, apply_func_args_t apply_func, int, ...); void zend_hash_reverse_apply(HashTable *ht, apply_func_t apply_func ); int zend_hash_del_key_or_index(HashTable *ht, char *arKey, uint nKeyLength, unsigned long h, int flag); unsigned long zend_get_hash_value(char *arKey, uint nKeyLength); int zend_hash_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData); int zend_hash_quick_find(HashTable *ht, char *arKey, uint nKeyLength, unsigned long h, void **pData); int zend_hash_index_find(HashTable *ht, unsigned long h, void **pData); int zend_hash_exists(HashTable *ht, char *arKey, uint nKeyLength); int zend_hash_quick_exists(HashTable *ht, char *arKey, uint nKeyLength, unsigned long h); int zend_hash_index_exists(HashTable *ht, unsigned long h); unsigned long zend_hash_next_free_element(HashTable *ht); int zend_hash_move_forward_ex(HashTable *ht, HashPosition *pos); int zend_hash_move_backwards_ex(HashTable *ht, HashPosition *pos); int zend_hash_get_current_key_ex(HashTable *ht, char **str_index, uint *str_length, unsigned long *num_index, zend_bool duplicate, HashPosition *pos); int zend_hash_get_current_key_type_ex(HashTable *ht, HashPosition *pos); int zend_hash_get_current_data_ex(HashTable *ht, void **pData, HashPosition *pos); void zend_hash_internal_pointer_reset_ex(HashTable *ht, HashPosition *pos); void zend_hash_internal_pointer_end_ex(HashTable *ht, HashPosition *pos); int zend_hash_update_current_key_ex(HashTable *ht, int key_type, char *str_index, uint str_length, unsigned long num_index, HashPosition *pos); typedef struct _HashPointer { HashPosition pos; unsigned long h; } HashPointer; int zend_hash_get_pointer(HashTable *ht, HashPointer *ptr); int zend_hash_set_pointer(HashTable *ht, const HashPointer *ptr); # 207 "/usr/local/include/php/Zend/zend_hash.h" void zend_hash_copy(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size); void _zend_hash_merge(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size, int overwrite ); void zend_hash_merge_ex(HashTable *target, HashTable *source, copy_ctor_func_t pCopyConstructor, uint size, merge_checker_func_t pMergeSource, void *pParam); int zend_hash_sort(HashTable *ht, sort_func_t sort_func, compare_func_t compare_func, int renumber ); int zend_hash_compare(HashTable *ht1, HashTable *ht2, compare_func_t compar, zend_bool ordered ); int zend_hash_minmax(HashTable *ht, compare_func_t compar, int flag, void **pData ); int zend_hash_num_elements(HashTable *ht); int zend_hash_rehash(HashTable *ht); # 254 "/usr/local/include/php/Zend/zend_hash.h" static inline unsigned long zend_inline_hash_func(char *arKey, uint nKeyLength) { register unsigned long hash = 5381; for (; nKeyLength >= 8; nKeyLength -= 8) { hash = ((hash << 5) + hash) + *arKey++; hash = ((hash << 5) + hash) + *arKey++; hash = ((hash << 5) + hash) + *arKey++; hash = ((hash << 5) + hash) + *arKey++; hash = ((hash << 5) + hash) + *arKey++; hash = ((hash << 5) + hash) + *arKey++; hash = ((hash << 5) + hash) + *arKey++; hash = ((hash << 5) + hash) + *arKey++; } switch (nKeyLength) { case 7: hash = ((hash << 5) + hash) + *arKey++; case 6: hash = ((hash << 5) + hash) + *arKey++; case 5: hash = ((hash << 5) + hash) + *arKey++; case 4: hash = ((hash << 5) + hash) + *arKey++; case 3: hash = ((hash << 5) + hash) + *arKey++; case 2: hash = ((hash << 5) + hash) + *arKey++; case 1: hash = ((hash << 5) + hash) + *arKey++; break; case 0: break; } return hash; } unsigned long zend_hash_func(char *arKey, uint nKeyLength); # 337 "/usr/local/include/php/Zend/zend_hash.h" static inline int zend_symtable_update(HashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest) { { register char *tmp=arKey; if (*tmp=='-') { tmp++; } if ((*tmp>='0' && *tmp<='9')) do { char *end=arKey+nKeyLength-1; long idx; if (*tmp++=='0' && nKeyLength>2) { break; } while (tmp='0' && *tmp<='9')) { break; } tmp++; } if (tmp==end && *tmp=='\0') { if (*arKey=='-') { idx = strtol(arKey, ((void *)0), 10); if (idx!=(-2147483647L - 1L)) { return _zend_hash_index_update_or_next_insert(ht, idx, pData, nDataSize, pDest, (1<<0) ); } } else { idx = strtol(arKey, ((void *)0), 10); if (idx!=2147483647L) { return _zend_hash_index_update_or_next_insert(ht, idx, pData, nDataSize, pDest, (1<<0) ); } } } } while (0); }; return _zend_hash_add_or_update(ht, arKey, nKeyLength, pData, nDataSize, pDest, (1<<0) ); } static inline int zend_symtable_del(HashTable *ht, char *arKey, uint nKeyLength) { { register char *tmp=arKey; if (*tmp=='-') { tmp++; } if ((*tmp>='0' && *tmp<='9')) do { char *end=arKey+nKeyLength-1; long idx; if (*tmp++=='0' && nKeyLength>2) { break; } while (tmp='0' && *tmp<='9')) { break; } tmp++; } if (tmp==end && *tmp=='\0') { if (*arKey=='-') { idx = strtol(arKey, ((void *)0), 10); if (idx!=(-2147483647L - 1L)) { return zend_hash_del_key_or_index(ht, ((void *)0), 0, idx, 1); } } else { idx = strtol(arKey, ((void *)0), 10); if (idx!=2147483647L) { return zend_hash_del_key_or_index(ht, ((void *)0), 0, idx, 1); } } } } while (0); } return zend_hash_del_key_or_index(ht, arKey, nKeyLength, 0, 0); } static inline int zend_symtable_find(HashTable *ht, char *arKey, uint nKeyLength, void **pData) { { register char *tmp=arKey; if (*tmp=='-') { tmp++; } if ((*tmp>='0' && *tmp<='9')) do { char *end=arKey+nKeyLength-1; long idx; if (*tmp++=='0' && nKeyLength>2) { break; } while (tmp='0' && *tmp<='9')) { break; } tmp++; } if (tmp==end && *tmp=='\0') { if (*arKey=='-') { idx = strtol(arKey, ((void *)0), 10); if (idx!=(-2147483647L - 1L)) { return zend_hash_index_find(ht, idx, pData); } } else { idx = strtol(arKey, ((void *)0), 10); if (idx!=2147483647L) { return zend_hash_index_find(ht, idx, pData); } } } } while (0); }; return zend_hash_find(ht, arKey, nKeyLength, pData); } static inline int zend_symtable_exists(HashTable *ht, char *arKey, uint nKeyLength) { { register char *tmp=arKey; if (*tmp=='-') { tmp++; } if ((*tmp>='0' && *tmp<='9')) do { char *end=arKey+nKeyLength-1; long idx; if (*tmp++=='0' && nKeyLength>2) { break; } while (tmp='0' && *tmp<='9')) { break; } tmp++; } if (tmp==end && *tmp=='\0') { if (*arKey=='-') { idx = strtol(arKey, ((void *)0), 10); if (idx!=(-2147483647L - 1L)) { return zend_hash_index_exists(ht, idx); } } else { idx = strtol(arKey, ((void *)0), 10); if (idx!=2147483647L) { return zend_hash_index_exists(ht, idx); } } } } while (0); }; return zend_hash_exists(ht, arKey, nKeyLength); } static inline int zend_symtable_update_current_key(HashTable *ht, char *arKey, uint nKeyLength) { { register char *tmp=arKey; if (*tmp=='-') { tmp++; } if ((*tmp>='0' && *tmp<='9')) do { char *end=arKey+nKeyLength-1; long idx; if (*tmp++=='0' && nKeyLength>2) { break; } while (tmp='0' && *tmp<='9')) { break; } tmp++; } if (tmp==end && *tmp=='\0') { if (*arKey=='-') { idx = strtol(arKey, ((void *)0), 10); if (idx!=(-2147483647L - 1L)) { return zend_hash_update_current_key_ex(ht, 2, ((void *)0), 0, idx, ((void *)0)); } } else { idx = strtol(arKey, ((void *)0), 10); if (idx!=2147483647L) { return zend_hash_update_current_key_ex(ht, 2, ((void *)0), 0, idx, ((void *)0)); } } } } while (0); }; return zend_hash_update_current_key_ex(ht, 1, arKey, nKeyLength, 0, ((void *)0)); } # 247 "/usr/local/include/php/Zend/zend.h" 2 # 1 "/usr/local/include/php/Zend/zend_ts_hash.h" 1 # 26 "/usr/local/include/php/Zend/zend_ts_hash.h" typedef struct _zend_ts_hashtable { HashTable hash; zend_uint reader; } TsHashTable; int _zend_ts_hash_init(TsHashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent ); int _zend_ts_hash_init_ex(TsHashTable *ht, uint nSize, hash_func_t pHashFunction, dtor_func_t pDestructor, zend_bool persistent, zend_bool bApplyProtection ); void zend_ts_hash_destroy(TsHashTable *ht); void zend_ts_hash_clean(TsHashTable *ht); # 52 "/usr/local/include/php/Zend/zend_ts_hash.h" int _zend_ts_hash_add_or_update(TsHashTable *ht, char *arKey, uint nKeyLength, void *pData, uint nDataSize, void **pDest, int flag ); int _zend_ts_hash_quick_add_or_update(TsHashTable *ht, char *arKey, uint nKeyLength, unsigned long h, void *pData, uint nDataSize, void **pDest, int flag ); int _zend_ts_hash_index_update_or_next_insert(TsHashTable *ht, unsigned long h, void *pData, uint nDataSize, void **pDest, int flag ); int zend_ts_hash_add_empty_element(TsHashTable *ht, char *arKey, uint nKeyLength); void zend_ts_hash_graceful_destroy(TsHashTable *ht); void zend_ts_hash_apply(TsHashTable *ht, apply_func_t apply_func ); void zend_ts_hash_apply_with_argument(TsHashTable *ht, apply_func_arg_t apply_func, void * ); void zend_ts_hash_apply_with_arguments(TsHashTable *ht, apply_func_args_t apply_func, int, ...); void zend_ts_hash_reverse_apply(TsHashTable *ht, apply_func_t apply_func ); int zend_ts_hash_del_key_or_index(TsHashTable *ht, char *arKey, uint nKeyLength, unsigned long h, int flag); unsigned long zend_ts_get_hash_value(TsHashTable *ht, char *arKey, uint nKeyLength); int zend_ts_hash_find(TsHashTable *ht, char *arKey, uint nKeyLength, void **pData); int zend_ts_hash_quick_find(TsHashTable *ht, char *arKey, uint nKeyLength, unsigned long h, void **pData); int zend_ts_hash_index_find(TsHashTable *ht, unsigned long h, void **pData); int zend_ts_hash_exists(TsHashTable *ht, char *arKey, uint nKeyLength); int zend_ts_hash_index_exists(TsHashTable *ht, unsigned long h); void zend_ts_hash_copy(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size); void zend_ts_hash_merge(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size, int overwrite); void zend_ts_hash_merge_ex(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, uint size, merge_checker_func_t pMergeSource, void *pParam); int zend_ts_hash_sort(TsHashTable *ht, sort_func_t sort_func, compare_func_t compare_func, int renumber ); int zend_ts_hash_compare(TsHashTable *ht1, TsHashTable *ht2, compare_func_t compar, zend_bool ordered ); int zend_ts_hash_minmax(TsHashTable *ht, compare_func_t compar, int flag, void **pData ); int zend_ts_hash_num_elements(TsHashTable *ht); int zend_ts_hash_rehash(TsHashTable *ht); unsigned long zend_ts_hash_func(char *arKey, uint nKeyLength); # 248 "/usr/local/include/php/Zend/zend.h" 2 # 1 "/usr/local/include/php/Zend/zend_llist.h" 1 # 25 "/usr/local/include/php/Zend/zend_llist.h" typedef struct _zend_llist_element { struct _zend_llist_element *next; struct _zend_llist_element *prev; char data[1]; } zend_llist_element; typedef void (*llist_dtor_func_t)(void *); typedef int (*llist_compare_func_t)(const zend_llist_element **, const zend_llist_element ** ); typedef void (*llist_apply_with_args_func_t)(void *data, int num_args, va_list args ); typedef void (*llist_apply_with_arg_func_t)(void *data, void *arg ); typedef void (*llist_apply_func_t)(void * ); typedef struct _zend_llist { zend_llist_element *head; zend_llist_element *tail; size_t count; size_t size; llist_dtor_func_t dtor; unsigned char persistent; zend_llist_element *traverse_ptr; } zend_llist; typedef zend_llist_element* zend_llist_position; void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char persistent); void zend_llist_add_element(zend_llist *l, void *element); void zend_llist_prepend_element(zend_llist *l, void *element); void zend_llist_del_element(zend_llist *l, void *element, int (*compare)(void *element1, void *element2)); void zend_llist_destroy(zend_llist *l); void zend_llist_clean(zend_llist *l); void *zend_llist_remove_tail(zend_llist *l); void zend_llist_copy(zend_llist *dst, zend_llist *src); void zend_llist_apply(zend_llist *l, llist_apply_func_t func ); void zend_llist_apply_with_del(zend_llist *l, int (*func)(void *data)); void zend_llist_apply_with_argument(zend_llist *l, llist_apply_with_arg_func_t func, void *arg ); void zend_llist_apply_with_arguments(zend_llist *l, llist_apply_with_args_func_t func , int num_args, ...); int zend_llist_count(zend_llist *l); void zend_llist_sort(zend_llist *l, llist_compare_func_t comp_func ); void *zend_llist_get_first_ex(zend_llist *l, zend_llist_position *pos); void *zend_llist_get_last_ex(zend_llist *l, zend_llist_position *pos); void *zend_llist_get_next_ex(zend_llist *l, zend_llist_position *pos); void *zend_llist_get_prev_ex(zend_llist *l, zend_llist_position *pos); # 249 "/usr/local/include/php/Zend/zend.h" 2 void zend_error_noreturn(int type, const char *format, ...) __attribute__ ((noreturn)); # 264 "/usr/local/include/php/Zend/zend.h" typedef struct _zval_struct zval; typedef struct _zend_class_entry zend_class_entry; typedef struct _zend_guard { zend_bool in_get; zend_bool in_set; zend_bool in_unset; zend_bool in_isset; zend_bool dummy; } zend_guard; typedef struct _zend_object { zend_class_entry *ce; HashTable *properties; HashTable *guards; } zend_object; # 1 "/usr/local/include/php/Zend/zend_object_handlers.h" 1 # 25 "/usr/local/include/php/Zend/zend_object_handlers.h" union _zend_function; struct _zend_property_info; typedef zval *(*zend_object_read_property_t)(zval *object, zval *member, int type ); typedef zval *(*zend_object_read_dimension_t)(zval *object, zval *offset, int type ); # 45 "/usr/local/include/php/Zend/zend_object_handlers.h" typedef void (*zend_object_write_property_t)(zval *object, zval *member, zval *value ); typedef void (*zend_object_write_dimension_t)(zval *object, zval *offset, zval *value ); typedef zval **(*zend_object_get_property_ptr_ptr_t)(zval *object, zval *member ); typedef void (*zend_object_set_t)(zval **object, zval *value ); typedef zval* (*zend_object_get_t)(zval *object ); typedef int (*zend_object_has_property_t)(zval *object, zval *member, int has_set_exists ); typedef int (*zend_object_has_dimension_t)(zval *object, zval *member, int check_empty ); typedef void (*zend_object_unset_property_t)(zval *object, zval *member ); typedef void (*zend_object_unset_dimension_t)(zval *object, zval *offset ); typedef HashTable *(*zend_object_get_properties_t)(zval *object ); typedef int (*zend_object_call_method_t)(char *method, int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); typedef union _zend_function *(*zend_object_get_method_t)(zval **object_ptr, char *method, int method_len ); typedef union _zend_function *(*zend_object_get_constructor_t)(zval *object ); typedef void (*zend_object_add_ref_t)(zval *object ); typedef void (*zend_object_del_ref_t)(zval *object ); typedef void (*zend_object_delete_obj_t)(zval *object ); typedef zend_object_value (*zend_object_clone_obj_t)(zval *object ); typedef zend_class_entry *(*zend_object_get_class_entry_t)(zval *object ); typedef int (*zend_object_get_class_name_t)(zval *object, char **class_name, zend_uint *class_name_len, int parent ); typedef int (*zend_object_compare_t)(zval *object1, zval *object2 ); typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type ); typedef int (*zend_object_count_elements_t)(zval *object, long *count ); struct _zend_object_handlers { zend_object_add_ref_t add_ref; zend_object_del_ref_t del_ref; zend_object_clone_obj_t clone_obj; zend_object_read_property_t read_property; zend_object_write_property_t write_property; zend_object_read_dimension_t read_dimension; zend_object_write_dimension_t write_dimension; zend_object_get_property_ptr_ptr_t get_property_ptr_ptr; zend_object_get_t get; zend_object_set_t set; zend_object_has_property_t has_property; zend_object_unset_property_t unset_property; zend_object_has_dimension_t has_dimension; zend_object_unset_dimension_t unset_dimension; zend_object_get_properties_t get_properties; zend_object_get_method_t get_method; zend_object_call_method_t call_method; zend_object_get_constructor_t get_constructor; zend_object_get_class_entry_t get_class_entry; zend_object_get_class_name_t get_class_name; zend_object_compare_t compare_objects; zend_object_cast_t cast_object; zend_object_count_elements_t count_elements; }; extern zend_object_handlers std_object_handlers; union _zend_function *zend_std_get_static_method(zend_class_entry *ce, char *function_name_strval, int function_name_strlen ); zval **zend_std_get_static_property(zend_class_entry *ce, char *property_name, int property_name_len, zend_bool silent ); zend_bool zend_std_unset_static_property(zend_class_entry *ce, char *property_name, int property_name_len ); union _zend_function *zend_std_get_constructor(zval *object ); struct _zend_property_info *zend_get_property_info(zend_class_entry *ce, zval *member, int silent ); int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type ); int zend_check_private(union _zend_function *fbc, zend_class_entry *ce, char *function_name_strval, int function_name_strlen ); int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope); int zend_check_property_access(zend_object *zobj, char *prop_info_name, int prop_info_name_len ); void zend_std_call_user_call(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); # 282 "/usr/local/include/php/Zend/zend.h" 2 typedef union _zvalue_value { long lval; double dval; struct { char *val; int len; } str; HashTable *ht; zend_object_value obj; } zvalue_value; struct _zval_struct { zvalue_value value; zend_uint refcount; zend_uchar type; zend_uchar is_ref; }; union _zend_function; # 1 "/usr/local/include/php/Zend/zend_iterators.h" 1 # 29 "/usr/local/include/php/Zend/zend_iterators.h" typedef struct _zend_object_iterator zend_object_iterator; typedef struct _zend_object_iterator_funcs { void (*dtor)(zend_object_iterator *iter ); int (*valid)(zend_object_iterator *iter ); void (*get_current_data)(zend_object_iterator *iter, zval ***data ); int (*get_current_key)(zend_object_iterator *iter, char **str_key, uint *str_key_len, unsigned long *int_key ); void (*move_forward)(zend_object_iterator *iter ); void (*rewind)(zend_object_iterator *iter ); void (*invalidate_current)(zend_object_iterator *iter ); } zend_object_iterator_funcs; struct _zend_object_iterator { void *data; zend_object_iterator_funcs *funcs; unsigned long index; }; typedef struct _zend_class_iterator_funcs { zend_object_iterator_funcs *funcs; union _zend_function *zf_new_iterator; union _zend_function *zf_valid; union _zend_function *zf_current; union _zend_function *zf_key; union _zend_function *zf_next; union _zend_function *zf_rewind; } zend_class_iterator_funcs; enum zend_object_iterator_kind { ZEND_ITER_INVALID, ZEND_ITER_PLAIN_ARRAY, ZEND_ITER_PLAIN_OBJECT, ZEND_ITER_OBJECT }; enum zend_object_iterator_kind zend_iterator_unwrap(zval *array_ptr, zend_object_iterator **iter ); zval *zend_iterator_wrap(zend_object_iterator *iter ); void zend_register_iterator_wrapper(void); # 311 "/usr/local/include/php/Zend/zend.h" 2 struct _zend_serialize_data; struct _zend_unserialize_data; typedef struct _zend_serialize_data zend_serialize_data; typedef struct _zend_unserialize_data zend_unserialize_data; struct _zend_class_entry { char type; char *name; zend_uint name_length; struct _zend_class_entry *parent; int refcount; zend_bool constants_updated; zend_uint ce_flags; HashTable function_table; HashTable default_properties; HashTable properties_info; HashTable default_static_members; HashTable *static_members; HashTable constants_table; struct _zend_function_entry *builtin_functions; union _zend_function *constructor; union _zend_function *destructor; union _zend_function *clone; union _zend_function *__get; union _zend_function *__set; union _zend_function *__unset; union _zend_function *__isset; union _zend_function *__call; union _zend_function *__tostring; union _zend_function *serialize_func; union _zend_function *unserialize_func; zend_class_iterator_funcs iterator_funcs; zend_object_value (*create_object)(zend_class_entry *class_type ); zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref ); int (*interface_gets_implemented)(zend_class_entry *iface, zend_class_entry *class_type ); int (*serialize)(zval *object, unsigned char **buffer, zend_uint *buf_len, zend_serialize_data *data ); int (*unserialize)(zval **object, zend_class_entry *ce, const unsigned char *buf, zend_uint buf_len, zend_unserialize_data *data ); zend_class_entry **interfaces; zend_uint num_interfaces; char *filename; zend_uint line_start; zend_uint line_end; char *doc_comment; zend_uint doc_comment_len; struct _zend_module_entry *module; }; # 1 "/usr/local/include/php/Zend/zend_stream.h" 1 # 28 "/usr/local/include/php/Zend/zend_stream.h" typedef size_t (*zend_stream_reader_t)(void *handle, char *buf, size_t len ); typedef void (*zend_stream_closer_t)(void *handle ); typedef long (*zend_stream_fteller_t)(void *handle ); typedef struct _zend_stream { void *handle; zend_stream_reader_t reader; zend_stream_closer_t closer; zend_stream_fteller_t fteller; int interactive; } zend_stream; typedef struct _zend_file_handle { zend_uchar type; char *filename; char *opened_path; union { int fd; FILE *fp; zend_stream stream; } handle; zend_bool free_filename; } zend_file_handle; int zend_stream_open(const char *filename, zend_file_handle *handle ); int zend_stream_ferror(zend_file_handle *file_handle ); int zend_stream_getc(zend_file_handle *file_handle ); size_t zend_stream_read(zend_file_handle *file_handle, char *buf, size_t len ); long zend_stream_ftell(zend_file_handle *file_handle ); int zend_stream_fixup(zend_file_handle *file_handle ); # 371 "/usr/local/include/php/Zend/zend.h" 2 typedef struct _zend_utility_functions { void (*error_function)(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args) __attribute__ ((format(printf, 4, 0))); int (*printf_function)(const char *format, ...) __attribute__ ((format(printf, 1, 2))); int (*write_function)(const char *str, uint str_length); FILE *(*fopen_function)(const char *filename, char **opened_path); void (*message_handler)(long message, void *data); void (*block_interruptions)(void); void (*unblock_interruptions)(void); int (*get_configuration_directive)(char *name, uint name_length, zval *contents); void (*ticks_function)(int ticks); void (*on_timeout)(int seconds ); int (*stream_open_function)(const char *filename, zend_file_handle *handle ); int (*vspprintf_function)(char **pbuf, size_t max_len, const char *format, va_list ap); char *(*getenv_function)(char *name, size_t name_len ); } zend_utility_functions; typedef struct _zend_utility_values { char *import_use_extension; uint import_use_extension_length; zend_bool html_errors; } zend_utility_values; typedef int (*zend_write_func_t)(const char *str, uint str_length); # 433 "/usr/local/include/php/Zend/zend.h" int zend_startup(zend_utility_functions *utility_functions, char **extensions, int start_builtin_functions); void zend_shutdown(void); void zend_register_standard_ini_entries(void); void zend_set_utility_values(zend_utility_values *utility_values); void _zend_bailout(char *filename, uint lineno); # 465 "/usr/local/include/php/Zend/zend.h" char *get_zend_version(void); void zend_make_printable_zval(zval *expr, zval *expr_copy, int *use_copy); int zend_print_zval(zval *expr, int indent); int zend_print_zval_ex(zend_write_func_t write_func, zval *expr, int indent); void zend_print_zval_r(zval *expr, int indent ); void zend_print_flat_zval_r(zval *expr ); void zend_print_zval_r_ex(zend_write_func_t write_func, zval *expr, int indent ); void zend_output_debug_string(zend_bool trigger_break, char *format, ...) __attribute__ ((format(printf, 2, 3))); void zend_activate(void); void zend_deactivate(void); void zend_call_destructors(void); void zend_activate_modules(void); void zend_deactivate_modules(void); void zend_post_deactivate_modules(void); void free_estring(char **str_p); # 511 "/usr/local/include/php/Zend/zend.h" extern int (*zend_printf)(const char *format, ...) __attribute__ ((format(printf, 1, 2))); extern zend_write_func_t zend_write; extern FILE *(*zend_fopen)(const char *filename, char **opened_path); extern void (*zend_block_interruptions)(void); extern void (*zend_unblock_interruptions)(void); extern void (*zend_ticks_function)(int ticks); extern void (*zend_error_cb)(int type, const char *error_filename, const uint error_lineno, const char *format, va_list args) __attribute__ ((format(printf, 4, 0))); extern void (*zend_on_timeout)(int seconds ); extern int (*zend_stream_open_function)(const char *filename, zend_file_handle *handle ); extern int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap); extern char *(*zend_getenv)(char *name, size_t name_len ); extern void (*zend_suhosin_log)(int loglevel, char *fmt, ...); void zend_error(int type, const char *format, ...) __attribute__ ((format(printf, 2, 3))); void zenderror(char *error); extern zend_class_entry *zend_standard_class_def; extern zend_utility_values zend_uv; extern zval zval_used_for_init; void zend_message_dispatcher(long message, void *data); int zend_get_configuration_directive(char *name, uint name_length, zval *contents); # 654 "/usr/local/include/php/Zend/zend.h" # 1 "/usr/local/include/php/Zend/zend_operators.h" 1 # 25 "/usr/local/include/php/Zend/zend_operators.h" # 1 "/usr/include/errno.h" 1 3 4 # 23 "/usr/include/errno.h" 3 4 # 1 "/usr/include/sys/errno.h" 1 3 4 # 68 "/usr/include/sys/errno.h" 3 4 extern int * __error(void); # 24 "/usr/include/errno.h" 2 3 4 # 26 "/usr/local/include/php/Zend/zend_operators.h" 2 # 1 "/usr/include/assert.h" 1 3 4 # 75 "/usr/include/assert.h" 3 4 void __assert_rtn(const char *, const char *, int, const char *) __attribute__((__noreturn__)); void __eprintf(const char *, const char *, unsigned, const char *) __attribute__((__noreturn__)); # 28 "/usr/local/include/php/Zend/zend_operators.h" 2 # 1 "/usr/local/include/php/Zend/zend_strtod.h" 1 # 27 "/usr/local/include/php/Zend/zend_strtod.h" void zend_freedtoa(char *s); char * zend_dtoa(double _d, int mode, int ndigits, int *decpt, int *sign, char **rve); double zend_strtod(const char *s00, char **se); double zend_hex_strtod(const char *str, char **endptr); double zend_oct_strtod(const char *str, char **endptr); int zend_startup_strtod(void); int zend_shutdown_strtod(void); # 34 "/usr/local/include/php/Zend/zend_operators.h" 2 static const char long_min_digits[] = "2147483648"; # 51 "/usr/local/include/php/Zend/zend_operators.h" int add_function(zval *result, zval *op1, zval *op2 ); int sub_function(zval *result, zval *op1, zval *op2 ); int mul_function(zval *result, zval *op1, zval *op2 ); int div_function(zval *result, zval *op1, zval *op2 ); int mod_function(zval *result, zval *op1, zval *op2 ); int boolean_xor_function(zval *result, zval *op1, zval *op2 ); int boolean_not_function(zval *result, zval *op1 ); int bitwise_not_function(zval *result, zval *op1 ); int bitwise_or_function(zval *result, zval *op1, zval *op2 ); int bitwise_and_function(zval *result, zval *op1, zval *op2 ); int bitwise_xor_function(zval *result, zval *op1, zval *op2 ); int shift_left_function(zval *result, zval *op1, zval *op2 ); int shift_right_function(zval *result, zval *op1, zval *op2 ); int concat_function(zval *result, zval *op1, zval *op2 ); int is_equal_function(zval *result, zval *op1, zval *op2 ); int is_identical_function(zval *result, zval *op1, zval *op2 ); int is_not_identical_function(zval *result, zval *op1, zval *op2 ); int is_not_equal_function(zval *result, zval *op1, zval *op2 ); int is_smaller_function(zval *result, zval *op1, zval *op2 ); int is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 ); zend_bool instanceof_function_ex(zend_class_entry *instance_ce, zend_class_entry *ce, zend_bool interfaces_only ); zend_bool instanceof_function(zend_class_entry *instance_ce, zend_class_entry *ce ); # 93 "/usr/local/include/php/Zend/zend_operators.h" static inline zend_uchar is_numeric_string(const char *str, int length, long *lval, double *dval, int allow_errors) { const char *ptr; int base = 10, digits = 0, dp_or_e = 0; double local_dval; zend_uchar type; if (!length) { return 0; } while (*str == ' ' || *str == '\t' || *str == '\n' || *str == '\r' || *str == '\v' || *str == '\f') { str++; length--; } ptr = str; if (*ptr == '-' || *ptr == '+') { ptr++; } if (((*ptr) >= '0' && (*ptr) <= '9')) { if (length > 2 && *str == '0' && (str[1] == 'x' || str[1] == 'X')) { base = 16; ptr += 2; } while (*ptr == '0') { ptr++; } for (type = 1; !(digits >= 11 && (dval || allow_errors == 1)); digits++, ptr++) { check_digits: if (((*ptr) >= '0' && (*ptr) <= '9') || (base == 16 && (((*ptr) >= 'A' && (*ptr) <= 'F') || ((*ptr) >= 'a' && (*ptr) <= 'f')))) { continue; } else if (base == 10) { if (*ptr == '.' && dp_or_e < 1) { goto process_double; } else if ((*ptr == 'e' || *ptr == 'E') && dp_or_e < 2) { const char *e = ptr + 1; if (*e == '-' || *e == '+') { ptr = e++; } if (((*e) >= '0' && (*e) <= '9')) { goto process_double; } } } break; } if (base == 10) { if (digits >= 11) { dp_or_e = -1; goto process_double; } } else if (!(digits < 4 * 2 || (digits == 4 * 2 && ptr[-digits] <= '7'))) { if (dval) { local_dval = zend_hex_strtod(str, (char **)&ptr); } type = 2; } } else if (*ptr == '.' && ((ptr[1]) >= '0' && (ptr[1]) <= '9')) { process_double: type = 2; if (dval) { local_dval = zend_strtod(str, (char **)&ptr); } else if (allow_errors != 1 && dp_or_e != -1) { dp_or_e = (*ptr++ == '.') ? 1 : 2; goto check_digits; } } else { return 0; } if (ptr != str + length) { if (!allow_errors) { return 0; } if (allow_errors == -1) { zend_error((1<<3L), "A non well formed numeric value encountered"); } } if (type == 1) { if (digits == 11 - 1) { int cmp = strcmp(&ptr[-digits], long_min_digits); if (!(cmp < 0 || (cmp == 0 && *str == '-'))) { if (dval) { *dval = zend_strtod(str, ((void *)0)); } return 2; } } if (lval) { *lval = strtol(str, ((void *)0), base); } return 1; } else { if (dval) { *dval = local_dval; } return 2; } } static inline char * zend_memnstr(char *haystack, char *needle, int needle_len, char *end) { char *p = haystack; char ne = needle[needle_len-1]; end -= needle_len; while (p <= end) { if ((p = (char *)memchr(p, *needle, (end-p+1))) && ne == p[needle_len-1]) { if (!memcmp(needle, p, needle_len-1)) { return p; } } if (p == ((void *)0)) { return ((void *)0); } p++; } return ((void *)0); } static inline void *zend_memrchr(const void *s, int c, size_t n) { register unsigned char *e; if (n <= 0) { return ((void *)0); } for (e = (unsigned char *)s + n - 1; e >= (unsigned char *)s; e--) { if (*e == (unsigned char)c) { return (void *)e; } } return ((void *)0); } int increment_function(zval *op1); int decrement_function(zval *op2); void convert_scalar_to_number(zval *op ); void _convert_to_string(zval *op ); void convert_to_long(zval *op); void convert_to_double(zval *op); void convert_to_long_base(zval *op, int base); void convert_to_null(zval *op); void convert_to_boolean(zval *op); void convert_to_array(zval *op); void convert_to_object(zval *op); void multi_convert_to_long_ex(int argc, ...); void multi_convert_to_double_ex(int argc, ...); void multi_convert_to_string_ex(int argc, ...); int add_char_to_string(zval *result, zval *op1, zval *op2); int add_string_to_string(zval *result, zval *op1, zval *op2); double zend_string_to_double(const char *number, zend_uint length); int zval_is_true(zval *op); int compare_function(zval *result, zval *op1, zval *op2 ); int numeric_compare_function(zval *result, zval *op1, zval *op2 ); int string_compare_function(zval *result, zval *op1, zval *op2 ); int string_locale_compare_function(zval *result, zval *op1, zval *op2 ); void zend_str_tolower(char *str, unsigned int length); char *zend_str_tolower_copy(char *dest, const char *source, unsigned int length); static inline char * zend_str_tolower_dup(const char *source, unsigned int length) { return zend_str_tolower_copy((char *)_emalloc((length+1) ), source, length); } int zend_binary_zval_strcmp(zval *s1, zval *s2); int zend_binary_zval_strncmp(zval *s1, zval *s2, zval *s3); int zend_binary_zval_strcasecmp(zval *s1, zval *s2); int zend_binary_zval_strncasecmp(zval *s1, zval *s2, zval *s3); int zend_binary_strcmp(char *s1, uint len1, char *s2, uint len2); int zend_binary_strncmp(char *s1, uint len1, char *s2, uint len2, uint length); int zend_binary_strcasecmp(char *s1, uint len1, char *s2, uint len2); int zend_binary_strncasecmp(char *s1, uint len1, char *s2, uint len2, uint length); void zendi_smart_strcmp(zval *result, zval *s1, zval *s2); void zend_compare_symbol_tables(zval *result, HashTable *ht1, HashTable *ht2 ); void zend_compare_arrays(zval *result, zval *a1, zval *a2 ); void zend_compare_objects(zval *result, zval *o1, zval *o2 ); int zend_atoi(const char *str, int str_len); void zend_locale_sprintf_double(zval *op ); # 655 "/usr/local/include/php/Zend/zend.h" 2 # 1 "/usr/local/include/php/Zend/zend_variables.h" 1 # 26 "/usr/local/include/php/Zend/zend_variables.h" void _zval_dtor_func(zval *zvalue ); static inline void _zval_dtor(zval *zvalue ) { if (zvalue->type <= 3) { return; } _zval_dtor_func(zvalue ); } void _zval_copy_ctor_func(zval *zvalue ); static inline void _zval_copy_ctor(zval *zvalue ) { if (zvalue->type <= 3) { return; } _zval_copy_ctor_func(zvalue ); } int zend_print_variable(zval *var); void _zval_ptr_dtor(zval **zval_ptr ); void _zval_internal_dtor(zval *zvalue ); void _zval_internal_ptr_dtor(zval **zvalue ); # 78 "/usr/local/include/php/Zend/zend_variables.h" void zval_add_ref(zval **p); # 656 "/usr/local/include/php/Zend/zend.h" 2 # 1 "/usr/local/include/php/main/suhosin_globals.h" 1 # 22 "/usr/local/include/php/main/suhosin_globals.h" typedef struct _suhosin_patch_globals suhosin_patch_globals_struct; extern struct _suhosin_patch_globals suhosin_patch_globals; struct _suhosin_patch_globals { int log_syslog; int log_syslog_facility; int log_syslog_priority; int log_sapi; int log_script; int log_phpscript; char *log_scriptname; char *log_phpscriptname; zend_bool log_phpscript_is_safe; zend_bool log_use_x_forwarded_for; unsigned int canary_1; unsigned int canary_2; unsigned int canary_3; unsigned int dummy; }; # 659 "/usr/local/include/php/Zend/zend.h" 2 # 1 "/usr/local/include/php/main/php_syslog.h" 1 # 27 "/usr/local/include/php/main/php_syslog.h" # 1 "/usr/local/include/php/main/php_config.h" 1 # 2815 "/usr/local/include/php/main/php_config.h" # 1 "/usr/local/include/php/ext/php_config.h" 1 # 20 "/usr/local/include/php/ext/php_config.h" # 1 "/usr/local/include/php/ext/session/config.h" 1 # 21 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mysqli/config.h" 1 # 22 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sqlite/config.h" 1 # 24 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/memcache/config.h" 1 # 26 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sqlite3/config.h" 1 # 27 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/rrdtool/config.h" 1 # 28 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/dba/config.h" 1 # 29 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/dbase/config.h" 1 # 30 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mssql/config.h" 1 # 32 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo/config.h" 1 # 34 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_dblib/config.h" 1 # 35 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_mysql/config.h" 1 # 37 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_sqlite/config.h" 1 # 40 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/rrdtool/config.h" 1 # 41 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/id3/config.h" 1 # 43 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/curl/config.h" 1 # 45 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ftp/config.h" 1 # 46 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/exif/config.h" 1 # 52 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/timezonedb/config.h" 1 # 55 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/calendar/config.h" 1 # 56 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/big_int/config.h" 1 # 57 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bitset/config.h" 1 # 58 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/stats/config.h" 1 # 59 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gmp/config.h" 1 # 60 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mailparse/config.h" 1 # 61 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pop3/config.h" 1 # 62 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bbcode/config.h" 1 # 63 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bcompiler/config.h" 1 # 64 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/expect/config.h" 1 # 65 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/hidef/config.h" 1 # 66 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/htscanner/config.h" 1 # 67 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/inclued/config.h" 1 # 68 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/json/config.h" 1 # 69 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/operator/config.h" 1 # 70 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/params/config.h" 1 # 71 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/runkit/config.h" 1 # 72 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/shp/config.h" 1 # 73 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/uploadprogress/config.h" 1 # 76 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/vld/config.h" 1 # 77 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gettext/config.h" 1 # 78 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ncurses/config.h" 1 # 79 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/readline/config.h" 1 # 81 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/shmop/config.h" 1 # 82 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sysvmsg/config.h" 1 # 83 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sysvsem/config.h" 1 # 84 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sysvshm/config.h" 1 # 85 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/tokenizer/config.h" 1 # 86 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ctype/config.h" 1 # 87 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/posix/config.h" 1 # 88 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/dom/config.h" 1 # 92 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/snmp/config.h" 1 # 93 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sockets/config.h" 1 # 94 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mhash/config.h" 1 # 95 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/cvsclient/config.h" 1 # 98 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/geoip/config.h" 1 # 99 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/radius/config.h" 1 # 100 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xmlrpc/config.h" 1 # 103 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/crack/config.h" 1 # 104 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gnupg/config.h" 1 # 106 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/tcpwrap/config.h" 1 # 108 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/suhosin/config.h" 1 # 109 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/openssl/config.h" 1 # 110 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/doublemetaphone/config.h" 1 # 112 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/stem/config.h" 1 # 113 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xdiff/config.h" 1 # 115 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xslcache/config.h" 1 # 116 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pspell/config.h" 1 # 117 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/wddx/config.h" 1 # 118 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xmlreader/config.h" 1 # 119 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xmlwriter/config.h" 1 # 120 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xsl/config.h" 1 # 121 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/apc/config.h" 1 # 122 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/amf/config.h" 1 # 123 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/tidy/config.h" 1 # 126 "/usr/local/include/php/ext/php_config.h" 2 # 2816 "/usr/local/include/php/main/php_config.h" 2 # 28 "/usr/local/include/php/main/php_syslog.h" 2 # 1 "/usr/include/syslog.h" 1 3 4 # 23 "/usr/include/syslog.h" 3 4 # 1 "/usr/include/sys/syslog.h" 1 3 4 # 206 "/usr/include/sys/syslog.h" 3 4 void closelog(void); void openlog(const char *, int, int); int setlogmask(int); void syslog(int, const char *, ...) ; void vsyslog(int, const char *, __darwin_va_list) ; # 24 "/usr/include/syslog.h" 2 3 4 # 30 "/usr/local/include/php/main/php_syslog.h" 2 # 660 "/usr/local/include/php/Zend/zend.h" 2 size_t zend_canary(); # 35 "/usr/local/include/php/main/php.h" 2 # 1 "/usr/local/include/php/Zend/zend_qsort.h" 1 # 24 "/usr/local/include/php/Zend/zend_qsort.h" void zend_qsort(void *base, size_t nmemb, size_t siz, compare_func_t compare ); # 36 "/usr/local/include/php/main/php.h" 2 # 1 "/usr/local/include/php/main/php_compat.h" 1 # 27 "/usr/local/include/php/main/php_compat.h" # 1 "/usr/local/include/php/main/php_config.h" 1 # 2815 "/usr/local/include/php/main/php_config.h" # 1 "/usr/local/include/php/ext/php_config.h" 1 # 20 "/usr/local/include/php/ext/php_config.h" # 1 "/usr/local/include/php/ext/session/config.h" 1 # 21 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mysqli/config.h" 1 # 22 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sqlite/config.h" 1 # 24 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/memcache/config.h" 1 # 26 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sqlite3/config.h" 1 # 27 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/rrdtool/config.h" 1 # 28 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/dba/config.h" 1 # 29 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/dbase/config.h" 1 # 30 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mssql/config.h" 1 # 32 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo/config.h" 1 # 34 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_dblib/config.h" 1 # 35 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_mysql/config.h" 1 # 37 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_sqlite/config.h" 1 # 40 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/rrdtool/config.h" 1 # 41 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/id3/config.h" 1 # 43 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/curl/config.h" 1 # 45 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ftp/config.h" 1 # 46 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/exif/config.h" 1 # 52 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/timezonedb/config.h" 1 # 55 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/calendar/config.h" 1 # 56 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/big_int/config.h" 1 # 57 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bitset/config.h" 1 # 58 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/stats/config.h" 1 # 59 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gmp/config.h" 1 # 60 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mailparse/config.h" 1 # 61 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pop3/config.h" 1 # 62 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bbcode/config.h" 1 # 63 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bcompiler/config.h" 1 # 64 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/expect/config.h" 1 # 65 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/hidef/config.h" 1 # 66 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/htscanner/config.h" 1 # 67 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/inclued/config.h" 1 # 68 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/json/config.h" 1 # 69 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/operator/config.h" 1 # 70 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/params/config.h" 1 # 71 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/runkit/config.h" 1 # 72 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/shp/config.h" 1 # 73 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/uploadprogress/config.h" 1 # 76 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/vld/config.h" 1 # 77 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gettext/config.h" 1 # 78 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ncurses/config.h" 1 # 79 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/readline/config.h" 1 # 81 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/shmop/config.h" 1 # 82 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sysvmsg/config.h" 1 # 83 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sysvsem/config.h" 1 # 84 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sysvshm/config.h" 1 # 85 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/tokenizer/config.h" 1 # 86 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ctype/config.h" 1 # 87 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/posix/config.h" 1 # 88 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/dom/config.h" 1 # 92 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/snmp/config.h" 1 # 93 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sockets/config.h" 1 # 94 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mhash/config.h" 1 # 95 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/cvsclient/config.h" 1 # 98 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/geoip/config.h" 1 # 99 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/radius/config.h" 1 # 100 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xmlrpc/config.h" 1 # 103 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/crack/config.h" 1 # 104 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gnupg/config.h" 1 # 106 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/tcpwrap/config.h" 1 # 108 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/suhosin/config.h" 1 # 109 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/openssl/config.h" 1 # 110 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/doublemetaphone/config.h" 1 # 112 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/stem/config.h" 1 # 113 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xdiff/config.h" 1 # 115 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xslcache/config.h" 1 # 116 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pspell/config.h" 1 # 117 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/wddx/config.h" 1 # 118 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xmlreader/config.h" 1 # 119 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xmlwriter/config.h" 1 # 120 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xsl/config.h" 1 # 121 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/apc/config.h" 1 # 122 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/amf/config.h" 1 # 123 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/tidy/config.h" 1 # 126 "/usr/local/include/php/ext/php_config.h" 2 # 2816 "/usr/local/include/php/main/php_config.h" 2 # 28 "/usr/local/include/php/main/php_compat.h" 2 # 37 "/usr/local/include/php/main/php.h" 2 # 1 "/usr/local/include/php/Zend/zend_API.h" 1 # 26 "/usr/local/include/php/Zend/zend_API.h" # 1 "/usr/local/include/php/Zend/zend_modules.h" 1 # 26 "/usr/local/include/php/Zend/zend_modules.h" # 1 "/usr/local/include/php/Zend/zend_compile.h" 1 # 28 "/usr/local/include/php/Zend/zend_compile.h" # 1 "/usr/include/gcc/darwin/3.3/stdarg.h" 1 3 4 # 29 "/usr/local/include/php/Zend/zend_compile.h" 2 # 52 "/usr/local/include/php/Zend/zend_compile.h" typedef struct _zend_op_array zend_op_array; typedef struct _zend_op zend_op; typedef struct _znode { int op_type; union { zval constant; zend_uint var; zend_uint opline_num; zend_op_array *op_array; zend_op *jmp_addr; struct { zend_uint var; zend_uint type; } EA; } u; } znode; typedef struct _zend_execute_data zend_execute_data; typedef int (*opcode_handler_t) (zend_execute_data *execute_data ); extern opcode_handler_t *zend_opcode_handlers; struct _zend_op { opcode_handler_t handler; znode result; znode op1; znode op2; unsigned long extended_value; uint lineno; zend_uchar opcode; }; typedef struct _zend_brk_cont_element { int start; int cont; int brk; int parent; } zend_brk_cont_element; typedef struct _zend_try_catch_element { zend_uint try_op; zend_uint catch_op; } zend_try_catch_element; # 146 "/usr/local/include/php/Zend/zend_compile.h" char *zend_visibility_string(zend_uint fn_flags); typedef struct _zend_property_info { zend_uint flags; char *name; int name_length; unsigned long h; char *doc_comment; int doc_comment_len; zend_class_entry *ce; } zend_property_info; typedef struct _zend_arg_info { char *name; zend_uint name_len; char *class_name; zend_uint class_name_len; zend_bool array_type_hint; zend_bool allow_null; zend_bool pass_by_reference; zend_bool return_reference; int required_num_args; } zend_arg_info; typedef struct _zend_compiled_variable { char *name; int name_len; unsigned long hash_value; } zend_compiled_variable; struct _zend_op_array { zend_uchar type; char *function_name; zend_class_entry *scope; zend_uint fn_flags; union _zend_function *prototype; zend_uint num_args; zend_uint required_num_args; zend_arg_info *arg_info; zend_bool pass_rest_by_reference; unsigned char return_reference; zend_uint *refcount; zend_op *opcodes; zend_uint last, size; zend_compiled_variable *vars; int last_var, size_var; zend_uint T; zend_brk_cont_element *brk_cont_array; zend_uint last_brk_cont; zend_uint current_brk_cont; zend_try_catch_element *try_catch_array; int last_try_catch; HashTable *static_variables; zend_op *start_op; int backpatch_count; zend_bool done_pass_two; zend_bool uses_this; char *filename; zend_uint line_start; zend_uint line_end; char *doc_comment; zend_uint doc_comment_len; void *reserved[4]; }; typedef struct _zend_internal_function { zend_uchar type; char * function_name; zend_class_entry *scope; zend_uint fn_flags; union _zend_function *prototype; zend_uint num_args; zend_uint required_num_args; zend_arg_info *arg_info; zend_bool pass_rest_by_reference; unsigned char return_reference; void (*handler)(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); struct _zend_module_entry *module; } zend_internal_function; typedef union _zend_function { zend_uchar type; struct { zend_uchar type; char *function_name; zend_class_entry *scope; zend_uint fn_flags; union _zend_function *prototype; zend_uint num_args; zend_uint required_num_args; zend_arg_info *arg_info; zend_bool pass_rest_by_reference; unsigned char return_reference; } common; zend_op_array op_array; zend_internal_function internal_function; } zend_function; typedef struct _zend_function_state { HashTable *function_symbol_table; zend_function *function; void *reserved[4]; } zend_function_state; typedef struct _zend_switch_entry { znode cond; int default_case; int control_var; } zend_switch_entry; typedef struct _list_llist_element { znode var; zend_llist dimensions; znode value; } list_llist_element; union _temp_variable; struct _zend_execute_data { struct _zend_op *opline; zend_function_state function_state; zend_function *fbc; zend_op_array *op_array; zval *object; union _temp_variable *Ts; zval ***CVs; zend_bool original_in_execution; HashTable *symbol_table; struct _zend_execute_data *prev_execute_data; zval *old_error_reporting; }; # 319 "/usr/local/include/php/Zend/zend_compile.h" # 1 "/usr/local/include/php/Zend/zend_globals.h" 1 # 26 "/usr/local/include/php/Zend/zend_globals.h" # 1 "/usr/include/setjmp.h" 1 3 4 # 26 "/usr/include/setjmp.h" 3 4 # 1 "/usr/include/machine/setjmp.h" 1 3 4 # 31 "/usr/include/machine/setjmp.h" 3 4 # 1 "/usr/include/i386/setjmp.h" 1 3 4 # 47 "/usr/include/i386/setjmp.h" 3 4 typedef int jmp_buf[(18)]; typedef int sigjmp_buf[(18) + 1]; extern int setjmp(jmp_buf env); extern void longjmp(jmp_buf env, int val); int _setjmp(jmp_buf env); void _longjmp(jmp_buf, int val); int sigsetjmp(sigjmp_buf env, int val); void siglongjmp(sigjmp_buf env, int val); void longjmperror(void); # 32 "/usr/include/machine/setjmp.h" 2 3 4 # 27 "/usr/include/setjmp.h" 2 3 4 # 27 "/usr/local/include/php/Zend/zend_globals.h" 2 # 1 "/usr/local/include/php/Zend/zend_globals_macros.h" 1 # 25 "/usr/local/include/php/Zend/zend_globals_macros.h" typedef struct _zend_compiler_globals zend_compiler_globals; typedef struct _zend_executor_globals zend_executor_globals; typedef struct _zend_scanner_globals zend_scanner_globals; extern struct _zend_compiler_globals compiler_globals; int zendparse(void); # 47 "/usr/local/include/php/Zend/zend_globals_macros.h" extern zend_executor_globals executor_globals; # 56 "/usr/local/include/php/Zend/zend_globals_macros.h" extern zend_scanner_globals language_scanner_globals; # 66 "/usr/local/include/php/Zend/zend_globals_macros.h" extern zend_scanner_globals ini_scanner_globals; # 29 "/usr/local/include/php/Zend/zend_globals.h" 2 # 1 "/usr/local/include/php/Zend/zend_stack.h" 1 # 25 "/usr/local/include/php/Zend/zend_stack.h" typedef struct _zend_stack { int top, max; void **elements; } zend_stack; int zend_stack_init(zend_stack *stack); int zend_stack_push(zend_stack *stack, void *element, int size); int zend_stack_top(zend_stack *stack, void **element); int zend_stack_del_top(zend_stack *stack); int zend_stack_int_top(zend_stack *stack); int zend_stack_is_empty(zend_stack *stack); int zend_stack_destroy(zend_stack *stack); void **zend_stack_base(zend_stack *stack); int zend_stack_count(zend_stack *stack); void zend_stack_apply(zend_stack *stack, int type, int (*apply_function)(void *element)); void zend_stack_apply_with_argument(zend_stack *stack, int type, int (*apply_function)(void *element, void *arg), void *arg); # 31 "/usr/local/include/php/Zend/zend_globals.h" 2 # 1 "/usr/local/include/php/Zend/zend_ptr_stack.h" 1 # 25 "/usr/local/include/php/Zend/zend_ptr_stack.h" typedef struct _zend_ptr_stack { int top, max; void **elements; void **top_element; } zend_ptr_stack; void zend_ptr_stack_init(zend_ptr_stack *stack); void zend_ptr_stack_n_push(zend_ptr_stack *stack, int count, ...); void zend_ptr_stack_n_pop(zend_ptr_stack *stack, int count, ...); void zend_ptr_stack_destroy(zend_ptr_stack *stack); void zend_ptr_stack_apply(zend_ptr_stack *stack, void (*func)(void *)); void zend_ptr_stack_clean(zend_ptr_stack *stack, void (*func)(void *), zend_bool free_elements); int zend_ptr_stack_num_elements(zend_ptr_stack *stack); # 55 "/usr/local/include/php/Zend/zend_ptr_stack.h" static inline void zend_ptr_stack_3_push(zend_ptr_stack *stack, void *a, void *b, void *c) { if (stack->top+3 > stack->max) { stack->max *= 2; stack->max += 3; stack->elements = (void **) _erealloc((stack->elements), ((sizeof(void *) * (stack->max))), 0 ); stack->top_element = stack->elements+stack->top; } stack->top += 3; *(stack->top_element++) = a; *(stack->top_element++) = b; *(stack->top_element++) = c; } static inline void zend_ptr_stack_2_push(zend_ptr_stack *stack, void *a, void *b) { if (stack->top+2 > stack->max) { stack->max *= 2; stack->max += 2; stack->elements = (void **) _erealloc((stack->elements), ((sizeof(void *) * (stack->max))), 0 ); stack->top_element = stack->elements+stack->top; } stack->top += 2; *(stack->top_element++) = a; *(stack->top_element++) = b; } static inline void zend_ptr_stack_3_pop(zend_ptr_stack *stack, void **a, void **b, void **c) { *a = *(--stack->top_element); *b = *(--stack->top_element); *c = *(--stack->top_element); stack->top -= 3; } static inline void zend_ptr_stack_2_pop(zend_ptr_stack *stack, void **a, void **b) { *a = *(--stack->top_element); *b = *(--stack->top_element); stack->top -= 2; } static inline void zend_ptr_stack_push(zend_ptr_stack *stack, void *ptr) { if (stack->top+1 > stack->max) { stack->max *= 2; stack->max += 1; stack->elements = (void **) _erealloc((stack->elements), ((sizeof(void *) * (stack->max))), 0 ); stack->top_element = stack->elements+stack->top; } stack->top++; *(stack->top_element++) = ptr; } static inline void *zend_ptr_stack_pop(zend_ptr_stack *stack) { stack->top--; return *(--stack->top_element); } # 32 "/usr/local/include/php/Zend/zend_globals.h" 2 # 1 "/usr/local/include/php/Zend/zend_objects.h" 1 # 27 "/usr/local/include/php/Zend/zend_objects.h" void zend_object_std_init(zend_object *object, zend_class_entry *ce ); void zend_object_std_dtor(zend_object *object ); zend_object_value zend_objects_new(zend_object **object, zend_class_entry *class_type ); void zend_objects_destroy_object(zend_object *object, zend_object_handle handle ); zend_object *zend_objects_get_address(zval *object ); void zend_objects_clone_members(zend_object *new_object, zend_object_value new_obj_val, zend_object *old_object, zend_object_handle handle ); zend_object_value zend_objects_clone_obj(zval *object ); void zend_objects_free_object_storage(zend_object *object ); # 35 "/usr/local/include/php/Zend/zend_globals.h" 2 # 1 "/usr/local/include/php/Zend/zend_objects_API.h" 1 # 27 "/usr/local/include/php/Zend/zend_objects_API.h" typedef void (*zend_objects_store_dtor_t)(void *object, zend_object_handle handle ); typedef void (*zend_objects_free_object_storage_t)(void *object ); typedef void (*zend_objects_store_clone_t)(void *object, void **object_clone ); typedef struct _zend_object_store_bucket { zend_bool destructor_called; zend_bool valid; union _store_bucket { struct _store_object { void *object; zend_objects_store_dtor_t dtor; zend_objects_free_object_storage_t free_storage; zend_objects_store_clone_t clone; zend_uint refcount; } obj; struct { int next; } free_list; } bucket; } zend_object_store_bucket; typedef struct _zend_objects_store { zend_object_store_bucket *object_buckets; zend_uint top; zend_uint size; int free_list_head; } zend_objects_store; void zend_objects_store_init(zend_objects_store *objects, zend_uint init_size); void zend_objects_store_call_destructors(zend_objects_store *objects ); void zend_objects_store_mark_destructed(zend_objects_store *objects ); void zend_objects_store_destroy(zend_objects_store *objects); zend_object_handle zend_objects_store_put(void *object, zend_objects_store_dtor_t dtor, zend_objects_free_object_storage_t storage, zend_objects_store_clone_t clone ); void zend_objects_store_add_ref(zval *object ); void zend_objects_store_del_ref(zval *object ); void zend_objects_store_add_ref_by_handle(zend_object_handle handle ); void zend_objects_store_del_ref_by_handle(zend_object_handle handle ); zend_uint zend_objects_store_get_refcount(zval *object ); zend_object_value zend_objects_store_clone_obj(zval *object ); void *zend_object_store_get_object(zval *object ); void *zend_object_store_get_object_by_handle(zend_object_handle handle ); void zend_object_store_set_object(zval *zobject, void *object ); void zend_object_store_ctor_failed(zval *zobject ); void zend_objects_store_free_object_storage(zend_objects_store *objects ); zval *zend_object_create_proxy(zval *object, zval *member ); zend_object_handlers *zend_get_std_object_handlers(void); # 36 "/usr/local/include/php/Zend/zend_globals.h" 2 # 1 "/usr/local/include/php/Zend/zend_modules.h" 1 # 37 "/usr/local/include/php/Zend/zend_globals.h" 2 # 57 "/usr/local/include/php/Zend/zend_globals.h" # 1 "/usr/local/include/php/Zend/zend_compile.h" 1 # 58 "/usr/local/include/php/Zend/zend_globals.h" 2 typedef struct _zend_declarables { zval ticks; } zend_declarables; struct _zend_compiler_globals { zend_stack bp_stack; zend_stack switch_cond_stack; zend_stack foreach_copy_stack; zend_stack object_stack; zend_stack declare_stack; zend_class_entry *active_class_entry; zend_llist list_llist; zend_llist dimension_llist; zend_stack list_stack; zend_stack function_call_stack; char *compiled_filename; int zend_lineno; int comment_start_line; char *heredoc; int heredoc_len; zend_op_array *active_op_array; HashTable *function_table; HashTable *class_table; HashTable filenames_table; HashTable *auto_globals; zend_bool in_compilation; zend_bool short_tags; zend_bool asp_tags; zend_bool allow_call_time_pass_reference; zend_declarables declarables; zend_bool extended_info; zend_bool handle_op_arrays; zend_bool unclean_shutdown; zend_bool ini_parser_unbuffered_errors; zend_llist open_files; long catch_begin; struct _zend_ini_parser_param *ini_parser_param; int interactive; zend_uint start_lineno; zend_bool increment_lineno; znode implementing_class; zend_uint access_type; char *doc_comment; zend_uint doc_comment_len; # 150 "/usr/local/include/php/Zend/zend_globals.h" }; struct _zend_executor_globals { zval **return_value_ptr_ptr; zval uninitialized_zval; zval *uninitialized_zval_ptr; zval error_zval; zval *error_zval_ptr; zend_function_state *function_state_ptr; zend_ptr_stack arg_types_stack; HashTable *symtable_cache[32]; HashTable **symtable_cache_limit; HashTable **symtable_cache_ptr; zend_op **opline_ptr; HashTable *active_symbol_table; HashTable symbol_table; HashTable included_files; jmp_buf *bailout; int error_reporting; int orig_error_reporting; int exit_status; zend_op_array *active_op_array; HashTable *function_table; HashTable *class_table; HashTable *zend_constants; zend_class_entry *scope; zval *This; long precision; int ticks_count; zend_bool in_execution; HashTable *in_autoload; zend_function *autoload_func; zend_bool full_tables_cleanup; zend_bool ze1_compatibility_mode; zend_bool no_extensions; HashTable regular_list; HashTable persistent_list; zend_ptr_stack argument_stack; int user_error_handler_error_reporting; zval *user_error_handler; zval *user_exception_handler; zend_stack user_error_handlers_error_reporting; zend_ptr_stack user_error_handlers; zend_ptr_stack user_exception_handlers; int timeout_seconds; int lambda_count; HashTable *ini_directives; HashTable *modified_ini_directives; zend_objects_store objects_store; zval *exception; zend_op *opline_before_exception; struct _zend_execute_data *current_execute_data; struct _zend_module_entry *current_module; zend_property_info std_property_info; zend_bool active; void *reserved[4]; }; struct _zend_scanner_globals { zend_file_handle *yy_in; zend_file_handle *yy_out; int yy_leng; char *yy_text; struct yy_buffer_state *current_buffer; char *c_buf_p; int init; int start; int lineno; char _yy_hold_char; int yy_n_chars; int _yy_did_buffer_switch_on_eof; int _yy_last_accepting_state; char *_yy_last_accepting_cpos; int _yy_more_flag; int _yy_more_len; int yy_start_stack_ptr; int yy_start_stack_depth; int *yy_start_stack; # 283 "/usr/local/include/php/Zend/zend_globals.h" }; # 320 "/usr/local/include/php/Zend/zend_compile.h" 2 void init_compiler(void); void shutdown_compiler(void); void zend_init_compiler_data_structures(void); extern zend_op_array *(*zend_compile_file)(zend_file_handle *file_handle, int type ); extern zend_op_array *(*zend_compile_string)(zval *source_string, char *filename ); int lex_scan(zval *zendlval ); void startup_scanner(void); void shutdown_scanner(void); char *zend_set_compiled_filename(char *new_compiled_filename ); void zend_restore_compiled_filename(char *original_compiled_filename ); char *zend_get_compiled_filename(void); int zend_get_compiled_lineno(void); int zend_get_scanned_file_offset(void); char* zend_get_compiled_variable_name(zend_op_array *op_array, zend_uint var, int* name_len); # 349 "/usr/local/include/php/Zend/zend_compile.h" void zend_do_binary_op(zend_uchar op, znode *result, znode *op1, znode *op2 ); void zend_do_unary_op(zend_uchar op, znode *result, znode *op1 ); void zend_do_binary_assign_op(zend_uchar op, znode *result, znode *op1, znode *op2 ); void zend_do_assign(znode *result, znode *variable, znode *value ); void zend_do_assign_ref(znode *result, znode *lvar, znode *rvar ); void fetch_simple_variable(znode *result, znode *varname, int bp ); void fetch_simple_variable_ex(znode *result, znode *varname, int bp, zend_uchar op ); void zend_do_indirect_references(znode *result, znode *num_references, znode *variable ); void zend_do_fetch_static_variable(znode *varname, znode *static_assignment, int fetch_type ); void zend_do_fetch_global_variable(znode *varname, znode *static_assignment, int fetch_type ); void fetch_array_begin(znode *result, znode *varname, znode *first_dim ); void fetch_array_dim(znode *result, znode *parent, znode *dim ); void fetch_string_offset(znode *result, znode *parent, znode *offset ); void zend_do_fetch_static_member(znode *result, znode *class_znode ); void zend_do_print(znode *result, znode *arg ); void zend_do_echo(znode *arg ); typedef int (*unary_op_type)(zval *, zval *); unary_op_type get_unary_op(int opcode); void *get_binary_op(int opcode); void zend_do_while_cond(znode *expr, znode *close_bracket_token ); void zend_do_while_end(znode *while_token, znode *close_bracket_token ); void zend_do_do_while_begin(void); void zend_do_do_while_end(znode *do_token, znode *expr_open_bracket, znode *expr ); void zend_do_if_cond(znode *cond, znode *closing_bracket_token ); void zend_do_if_after_statement(znode *closing_bracket_token, unsigned char initialize ); void zend_do_if_end(void); void zend_do_for_cond(znode *expr, znode *second_semicolon_token ); void zend_do_for_before_statement(znode *cond_start, znode *second_semicolon_token ); void zend_do_for_end(znode *second_semicolon_token ); void zend_do_pre_incdec(znode *result, znode *op1, zend_uchar op ); void zend_do_post_incdec(znode *result, znode *op1, zend_uchar op ); void zend_do_begin_variable_parse(void); void zend_do_end_variable_parse(int type, int arg_offset ); void zend_check_writable_variable(znode *variable); void zend_do_free(znode *op1 ); void zend_do_init_string(znode *result ); void zend_do_add_string(znode *result, znode *op1, znode *op2 ); void zend_do_add_variable(znode *result, znode *op1, znode *op2 ); int zend_do_verify_access_types(znode *current_access_type, znode *new_modifier); void zend_do_begin_function_declaration(znode *function_token, znode *function_name, int is_method, int return_reference, znode *fn_flags_znode ); void zend_do_end_function_declaration(znode *function_token ); void zend_do_receive_arg(zend_uchar op, znode *var, znode *offset, znode *initialization, znode *class_type, znode *varname, zend_bool pass_by_reference ); int zend_do_begin_function_call(znode *function_name ); void zend_do_begin_method_call(znode *left_bracket ); void zend_do_clone(znode *result, znode *expr ); void zend_do_begin_dynamic_function_call(znode *function_name ); void zend_do_fetch_class(znode *result, znode *class_name ); void zend_do_fetch_class_name(znode *result, znode *class_entry, znode *class_name ); void zend_do_begin_class_member_function_call(znode *class_name, znode *method_name ); void zend_do_end_function_call(znode *function_name, znode *result, znode *argument_list, int is_method, int is_dynamic_fcall ); void zend_do_return(znode *expr, int do_end_vparse ); void zend_do_handle_exception(void); void zend_do_try(znode *try_token ); void zend_do_begin_catch(znode *try_token, znode *catch_class, znode *catch_var, zend_bool first_catch ); void zend_do_end_catch(znode *try_token ); void zend_do_throw(znode *expr ); int do_bind_function(zend_op *opline, HashTable *function_table, zend_bool compile_time); zend_class_entry *do_bind_class(zend_op *opline, HashTable *class_table, zend_bool compile_time ); zend_class_entry *do_bind_inherited_class(zend_op *opline, HashTable *class_table, zend_class_entry *parent_ce, zend_bool compile_time ); void zend_do_inherit_interfaces(zend_class_entry *ce, zend_class_entry *iface ); void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface ); void zend_do_implements_interface(znode *interface_znode ); void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce ); void zend_do_early_binding(void); void zend_do_pass_param(znode *param, zend_uchar op, int offset ); void zend_do_boolean_or_begin(znode *expr1, znode *op_token ); void zend_do_boolean_or_end(znode *result, znode *expr1, znode *expr2, znode *op_token ); void zend_do_boolean_and_begin(znode *expr1, znode *op_token ); void zend_do_boolean_and_end(znode *result, znode *expr1, znode *expr2, znode *op_token ); void zend_do_brk_cont(zend_uchar op, znode *expr ); void zend_do_switch_cond(znode *cond ); void zend_do_switch_end(znode *case_list ); void zend_do_case_before_statement(znode *case_list, znode *case_token, znode *case_expr ); void zend_do_case_after_statement(znode *result, znode *case_token ); void zend_do_default_before_statement(znode *case_list, znode *default_token ); void zend_do_begin_class_declaration(znode *class_token, znode *class_name, znode *parent_class_name ); void zend_do_end_class_declaration(znode *class_token, znode *parent_token ); void zend_do_declare_property(znode *var_name, znode *value, zend_uint access_type ); void zend_do_declare_implicit_property(void); void zend_do_declare_class_constant(znode *var_name, znode *value ); void zend_do_fetch_property(znode *result, znode *object, znode *property ); void zend_do_halt_compiler_register(void); void zend_do_push_object(znode *object ); void zend_do_pop_object(znode *object ); void zend_do_begin_new_object(znode *new_token, znode *class_type ); void zend_do_end_new_object(znode *result, znode *new_token, znode *argument_list ); void zend_do_fetch_constant(znode *result, znode *constant_container, znode *constant_name, int mode ); void zend_do_shell_exec(znode *result, znode *cmd ); void zend_do_init_array(znode *result, znode *expr, znode *offset, zend_bool is_ref ); void zend_do_add_array_element(znode *result, znode *expr, znode *offset, zend_bool is_ref ); void zend_do_add_static_array_element(znode *result, znode *offset, znode *expr); void zend_do_list_init(void); void zend_do_list_end(znode *result, znode *expr ); void zend_do_add_list_element(znode *element ); void zend_do_new_list_begin(void); void zend_do_new_list_end(void); void zend_do_cast(znode *result, znode *expr, int type ); void zend_do_include_or_eval(int type, znode *result, znode *op1 ); void zend_do_unset(znode *variable ); void zend_do_isset_or_isempty(int type, znode *result, znode *variable ); void zend_do_instanceof(znode *result, znode *expr, znode *class_znode, int type ); void zend_do_foreach_begin(znode *foreach_token, znode *open_brackets_token, znode *array, znode *as_token, int variable ); void zend_do_foreach_cont(znode *foreach_token, znode *open_brackets_token, znode *as_token, znode *value, znode *key ); void zend_do_foreach_end(znode *foreach_token, znode *as_token ); void zend_do_declare_begin(void); void zend_do_declare_stmt(znode *var, znode *val ); void zend_do_declare_end(znode *declare_token ); void zend_do_exit(znode *result, znode *message ); void zend_do_begin_silence(znode *strudel_token ); void zend_do_end_silence(znode *strudel_token ); void zend_do_begin_qm_op(znode *cond, znode *qm_token ); void zend_do_qm_true(znode *true_value, znode *qm_token, znode *colon_token ); void zend_do_qm_false(znode *result, znode *false_value, znode *qm_token, znode *colon_token ); void zend_do_extended_info(void); void zend_do_extended_fcall_begin(void); void zend_do_extended_fcall_end(void); void zend_do_ticks(void); void zend_do_abstract_method(znode *function_name, znode *modifiers, znode *body ); void function_add_ref(zend_function *function); zend_op_array *compile_file(zend_file_handle *file_handle, int type ); zend_op_array *compile_string(zval *source_string, char *filename ); zend_op_array *compile_filename(int type, zval *filename ); int zend_execute_scripts(int type , zval **retval, int file_count, ...); int open_file_for_scanning(zend_file_handle *file_handle ); void init_op_array(zend_op_array *op_array, zend_uchar type, int initial_ops_size ); void destroy_op_array(zend_op_array *op_array ); void zend_destroy_file_handle(zend_file_handle *file_handle ); void zend_file_handle_dtor(zend_file_handle *fh); int zend_cleanup_class_data(zend_class_entry **pce ); int zend_cleanup_function_data(zend_function *function ); int zend_cleanup_function_data_full(zend_function *function ); void destroy_zend_function(zend_function *function ); void zend_function_dtor(zend_function *function); void destroy_zend_class(zend_class_entry **pce); void zend_class_add_ref(zend_class_entry **ce); void zend_mangle_property_name(char **dest, int *dest_length, char *src1, int src1_length, char *src2, int src2_length, int internal); int zend_unmangle_property_name(char *mangled_property, int mangled_property_len, char **prop_name, char **class_name); zend_op *get_next_op(zend_op_array *op_array ); void init_op(zend_op *op ); int get_next_op_number(zend_op_array *op_array); int print_class(zend_class_entry *class_entry ); void print_op_array(zend_op_array *op_array, int optimizations); int pass_two(zend_op_array *op_array ); zend_brk_cont_element *get_next_brk_cont_element(zend_op_array *op_array); void zend_do_first_catch(znode *open_parentheses ); void zend_initialize_try_catch_element(znode *try_token ); void zend_do_mark_last_catch(znode *first_catch, znode *last_additional_catch ); zend_bool zend_is_compiling(void); char *zend_make_compiled_string_description(char *name ); void zend_initialize_class_data(zend_class_entry *ce, zend_bool nullify_handlers ); int zend_get_class_fetch_type(char *class_name, uint class_name_len); typedef zend_bool (*zend_auto_global_callback)(char *name, uint name_len ); typedef struct _zend_auto_global { char *name; uint name_len; zend_auto_global_callback auto_global_callback; zend_bool armed; } zend_auto_global; void zend_auto_global_dtor(zend_auto_global *auto_global); int zend_register_auto_global(char *name, uint name_len, zend_auto_global_callback auto_global_callback ); zend_bool zend_is_auto_global(char *name, uint name_len ); int zend_auto_global_disable_jit(char *varname, zend_uint varname_length ); int zendlex(znode *zendlval ); extern void *suhosin_zend_destroy_property_info_internal; extern void *suhosin_zend_destroy_property_info; # 1 "/usr/local/include/php/Zend/zend_vm_opcodes.h" 1 # 575 "/usr/local/include/php/Zend/zend_compile.h" 2 # 695 "/usr/local/include/php/Zend/zend_compile.h" # 27 "/usr/local/include/php/Zend/zend_modules.h" 2 # 35 "/usr/local/include/php/Zend/zend_modules.h" extern struct _zend_arg_info first_arg_force_ref[2]; extern struct _zend_arg_info second_arg_force_ref[3]; extern struct _zend_arg_info third_arg_force_ref[4]; extern struct _zend_arg_info fourth_arg_force_ref[5]; extern struct _zend_arg_info fifth_arg_force_ref[6]; extern struct _zend_arg_info all_args_by_ref[1]; # 73 "/usr/local/include/php/Zend/zend_modules.h" struct _zend_ini_entry; typedef struct _zend_module_entry zend_module_entry; typedef struct _zend_module_dep zend_module_dep; struct _zend_module_entry { unsigned short size; unsigned int zend_api; unsigned char zend_debug; unsigned char zts; struct _zend_ini_entry *ini_entry; struct _zend_module_dep *deps; char *name; struct _zend_function_entry *functions; int (*module_startup_func)(int type, int module_number ); int (*module_shutdown_func)(int type, int module_number ); int (*request_startup_func)(int type, int module_number ); int (*request_shutdown_func)(int type, int module_number ); void (*info_func)(zend_module_entry *zend_module ); char *version; size_t globals_size; void* globals_ptr; void (*globals_ctor)(void *global ); void (*globals_dtor)(void *global ); int (*post_deactivate_func)(void); int module_started; unsigned char type; void *handle; int module_number; }; # 119 "/usr/local/include/php/Zend/zend_modules.h" struct _zend_module_dep { char *name; char *rel; char *version; unsigned char type; }; extern HashTable module_registry; void module_destructor(zend_module_entry *module); int module_registry_cleanup(zend_module_entry *module ); int module_registry_request_startup(zend_module_entry *module ); int module_registry_unload_temp(zend_module_entry *module ); # 27 "/usr/local/include/php/Zend/zend_API.h" 2 # 1 "/usr/local/include/php/Zend/zend_list.h" 1 # 28 "/usr/local/include/php/Zend/zend_list.h" typedef struct _zend_rsrc_list_entry { void *ptr; int type; int refcount; } zend_rsrc_list_entry; typedef void (*rsrc_dtor_func_t)(zend_rsrc_list_entry *rsrc ); typedef struct _zend_rsrc_list_dtors_entry { void (*list_dtor)(void *); void (*plist_dtor)(void *); rsrc_dtor_func_t list_dtor_ex; rsrc_dtor_func_t plist_dtor_ex; char *type_name; int module_number; int resource_id; unsigned char type; } zend_rsrc_list_dtors_entry; int zend_register_list_destructors(void (*ld)(void *), void (*pld)(void *), int module_number); int zend_register_list_destructors_ex(rsrc_dtor_func_t ld, rsrc_dtor_func_t pld, char *type_name, int module_number); void list_entry_destructor(void *ptr); void plist_entry_destructor(void *ptr); void zend_clean_module_rsrc_dtors(int module_number ); int zend_init_rsrc_list(void); int zend_init_rsrc_plist(void); void zend_destroy_rsrc_list(HashTable *ht ); int zend_init_rsrc_list_dtors(void); void zend_destroy_rsrc_list_dtors(void); int zend_list_insert(void *ptr, int type); int _zend_list_addref(int id ); int _zend_list_delete(int id ); void *_zend_list_find(int id, int *type ); int zend_register_resource(zval *rsrc_result, void *rsrc_pointer, int rsrc_type); void *zend_fetch_resource(zval **passed_id , int default_id, char *resource_type_name, int *found_resource_type, int num_resource_types, ...); char *zend_rsrc_list_get_rsrc_type(int resource ); int zend_fetch_list_dtor_id(char *type_name); extern int le_index_ptr; # 110 "/usr/local/include/php/Zend/zend_list.h" # 28 "/usr/local/include/php/Zend/zend_API.h" 2 # 1 "/usr/local/include/php/Zend/zend_execute.h" 1 # 30 "/usr/local/include/php/Zend/zend_execute.h" typedef union _temp_variable { zval tmp_var; struct { zval **ptr_ptr; zval *ptr; zend_bool fcall_returned_reference; } var; struct { zval **ptr_ptr; zval *ptr; zend_bool fcall_returned_reference; zval *str; zend_uint offset; } str_offset; struct { zval **ptr_ptr; zval *ptr; zend_bool fcall_returned_reference; HashPointer fe_pos; } fe; zend_class_entry *class_entry; } temp_variable; extern void (*zend_execute)(zend_op_array *op_array ); extern void (*zend_execute_internal)(zend_execute_data *execute_data_ptr, int return_value_used ); void init_executor(void); void shutdown_executor(void); void shutdown_destructors(void); void execute(zend_op_array *op_array ); void execute_internal(zend_execute_data *execute_data_ptr, int return_value_used ); int zend_is_true(zval *op); static inline void safe_free_zval_ptr_rel(zval *p ) { ; if (p!=(executor_globals.uninitialized_zval_ptr)) { _efree((p) ); } } int zend_lookup_class(char *name, int name_length, zend_class_entry ***ce ); int zend_lookup_class_ex(char *name, int name_length, int use_autoload, zend_class_entry ***ce ); int zend_eval_string(char *str, zval *retval_ptr, char *string_name ); int zend_eval_string_ex(char *str, zval *retval_ptr, char *string_name, int handle_exceptions ); static inline int i_zend_is_true(zval *op) { int result; switch ((*op).type) { case 0: result = 0; break; case 1: case 3: case 7: result = ((*op).value.lval?1:0); break; case 2: result = ((*op).value.dval ? 1 : 0); break; case 6: if ((*op).value.str.len == 0 || ((*op).value.str.len==1 && (*op).value.str.val[0]=='0')) { result = 0; } else { result = 1; } break; case 4: result = (zend_hash_num_elements((*op).value.ht)?1:0); break; case 5: if(((*op).type == 5 && (((*op)).value.obj.handlers->get_class_entry != ((void *)0)))) { ; if ((*op).value.obj.handlers->cast_object) { zval tmp; if ((*op).value.obj.handlers->cast_object(op, &tmp, 3 ) == 0) { result = (tmp).value.lval; break; } } else if ((*op).value.obj.handlers->get) { zval *tmp = (*op).value.obj.handlers->get(op ); if((*tmp).type != 5) { convert_to_boolean(tmp); result = (*tmp).value.lval; _zval_ptr_dtor((&tmp) ); break; } } if((executor_globals.ze1_compatibility_mode)) { result = (zend_hash_num_elements(((*op)).value.obj.handlers->get_properties(&(*op) ))?1:0); } else { result = 1; } } else { result = 1; } break; default: result = 0; break; } return result; } int zval_update_constant(zval **pp, void *arg ); int zval_update_constant_ex(zval **pp, void *arg, zend_class_entry *scope ); static inline void zend_ptr_stack_clear_multiple(void) { void **p = (executor_globals.argument_stack).top_element-2; int delete_count = (int)(zend_uintptr_t) *p; (executor_globals.argument_stack).top -= (delete_count+2); while (--delete_count>=0) { zval *q = *(zval **)(--p); *p = ((void *)0); _zval_ptr_dtor((&q) ); } (executor_globals.argument_stack).top_element = p; } static inline int zend_ptr_stack_get_arg(int requested_arg, void **data ) { void **p = (executor_globals.argument_stack).top_element-2; int arg_count = (int)(zend_uintptr_t) *p; if (requested_arg>arg_count) { return -1; } *data = (p-arg_count+requested_arg-1); return 0; } void execute_new_code(void); char *get_active_class_name(char **space ); char *get_active_function_name(void); char *zend_get_executed_filename(void); uint zend_get_executed_lineno(void); zend_bool zend_is_executing(void); void zend_set_timeout(long seconds); void zend_unset_timeout(void); void zend_timeout(int dummy); zend_class_entry *zend_fetch_class(char *class_name, uint class_name_len, int fetch_type ); void zend_verify_abstract_class(zend_class_entry *ce ); # 205 "/usr/local/include/php/Zend/zend_execute.h" zval** zend_get_compiled_variable_value(zend_execute_data *execute_data_ptr, zend_uint var); int zend_set_user_opcode_handler(zend_uchar opcode, opcode_handler_t handler); opcode_handler_t zend_get_user_opcode_handler(zend_uchar opcode); typedef struct _zend_free_op { zval* var; } zend_free_op; zval *zend_get_zval_ptr(znode *node, temp_variable *Ts, zend_free_op *should_free, int type ); zval **zend_get_zval_ptr_ptr(znode *node, temp_variable *Ts, zend_free_op *should_free, int type ); int zend_do_fcall(zend_execute_data *execute_data ); # 31 "/usr/local/include/php/Zend/zend_API.h" 2 typedef struct _zend_function_entry { char *fname; void (*handler)(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); struct _zend_arg_info *arg_info; zend_uint num_args; zend_uint flags; } zend_function_entry; # 168 "/usr/local/include/php/Zend/zend_API.h" int zend_next_free_module(void); int zend_get_parameters(int ht, int param_count, ...); int _zend_get_parameters_array(int ht, int param_count, zval **argument_array ); int zend_get_parameters_ex(int param_count, ...); int _zend_get_parameters_array_ex(int param_count, zval ***argument_array ); int zend_copy_parameters_array(int param_count, zval *argument_array ); # 188 "/usr/local/include/php/Zend/zend_API.h" int zend_parse_parameters(int num_args , char *type_spec, ...); int zend_parse_parameters_ex(int flags, int num_args , char *type_spec, ...); char *zend_zval_type_name(zval *arg); int zend_parse_method_parameters(int num_args , zval *this_ptr, char *type_spec, ...); int zend_parse_method_parameters_ex(int flags, int num_args , zval *this_ptr, char *type_spec, ...); int zend_register_functions(zend_class_entry *scope, zend_function_entry *functions, HashTable *function_table, int type ); void zend_unregister_functions(zend_function_entry *functions, int count, HashTable *function_table ); int zend_startup_module(zend_module_entry *module_entry); zend_module_entry* zend_register_internal_module(zend_module_entry *module_entry ); zend_module_entry* zend_register_module_ex(zend_module_entry *module ); int zend_startup_module_ex(zend_module_entry *module ); int zend_startup_modules(void); void zend_check_magic_method_implementation(zend_class_entry *ce, zend_function *fptr, int error_type ); zend_class_entry *zend_register_internal_class(zend_class_entry *class_entry ); zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce, char *parent_name ); zend_class_entry *zend_register_internal_interface(zend_class_entry *orig_class_entry ); void zend_class_implements(zend_class_entry *class_entry , int num_interfaces, ...); int zend_disable_function(char *function_name, uint function_name_length ); int zend_disable_class(char *class_name, uint class_name_length ); void zend_wrong_param_count(void); zend_bool zend_is_callable_ex(zval *callable, uint check_flags, char **callable_name, int *callable_name_len, zend_class_entry **ce_ptr, zend_function **fptr_ptr, zval ***zobj_ptr_ptr ); zend_bool zend_is_callable(zval *callable, uint check_flags, char **callable_name); zend_bool zend_make_callable(zval *callable, char **callable_name ); char *zend_get_module_version(char *module_name); int zend_get_module_started(char *module_name); int zend_declare_property(zend_class_entry *ce, char *name, int name_length, zval *property, int access_type ); int zend_declare_property_ex(zend_class_entry *ce, char *name, int name_length, zval *property, int access_type, char *doc_comment, int doc_comment_len ); int zend_declare_property_null(zend_class_entry *ce, char *name, int name_length, int access_type ); int zend_declare_property_bool(zend_class_entry *ce, char *name, int name_length, long value, int access_type ); int zend_declare_property_long(zend_class_entry *ce, char *name, int name_length, long value, int access_type ); int zend_declare_property_double(zend_class_entry *ce, char *name, int name_length, double value, int access_type ); int zend_declare_property_string(zend_class_entry *ce, char *name, int name_length, char *value, int access_type ); int zend_declare_property_stringl(zend_class_entry *ce, char *name, int name_length, char *value, int value_len, int access_type ); int zend_declare_class_constant(zend_class_entry *ce, char *name, size_t name_length, zval *value ); int zend_declare_class_constant_null(zend_class_entry *ce, char *name, size_t name_length ); int zend_declare_class_constant_long(zend_class_entry *ce, char *name, size_t name_length, long value ); int zend_declare_class_constant_bool(zend_class_entry *ce, char *name, size_t name_length, zend_bool value ); int zend_declare_class_constant_double(zend_class_entry *ce, char *name, size_t name_length, double value ); int zend_declare_class_constant_stringl(zend_class_entry *ce, char *name, size_t name_length, char *value, size_t value_length ); int zend_declare_class_constant_string(zend_class_entry *ce, char *name, size_t name_length, char *value ); void zend_update_class_constants(zend_class_entry *class_type ); void zend_update_property(zend_class_entry *scope, zval *object, char *name, int name_length, zval *value ); void zend_update_property_null(zend_class_entry *scope, zval *object, char *name, int name_length ); void zend_update_property_bool(zend_class_entry *scope, zval *object, char *name, int name_length, long value ); void zend_update_property_long(zend_class_entry *scope, zval *object, char *name, int name_length, long value ); void zend_update_property_double(zend_class_entry *scope, zval *object, char *name, int name_length, double value ); void zend_update_property_string(zend_class_entry *scope, zval *object, char *name, int name_length, char *value ); void zend_update_property_stringl(zend_class_entry *scope, zval *object, char *name, int name_length, char *value, int value_length ); int zend_update_static_property(zend_class_entry *scope, char *name, int name_length, zval *value ); int zend_update_static_property_null(zend_class_entry *scope, char *name, int name_length ); int zend_update_static_property_bool(zend_class_entry *scope, char *name, int name_length, long value ); int zend_update_static_property_long(zend_class_entry *scope, char *name, int name_length, long value ); int zend_update_static_property_double(zend_class_entry *scope, char *name, int name_length, double value ); int zend_update_static_property_string(zend_class_entry *scope, char *name, int name_length, char *value ); int zend_update_static_property_stringl(zend_class_entry *scope, char *name, int name_length, char *value, int value_length ); zval *zend_read_property(zend_class_entry *scope, zval *object, char *name, int name_length, zend_bool silent ); zval *zend_read_static_property(zend_class_entry *scope, char *name, int name_length, zend_bool silent ); zend_class_entry *zend_get_class_entry(zval *zobject ); int zend_get_object_classname(zval *object, char **class_name, zend_uint *class_name_len ); char *zend_get_type_by_const(int type); # 286 "/usr/local/include/php/Zend/zend_API.h" int _array_init(zval *arg ); int _object_init(zval *arg ); int _object_init_ex(zval *arg, zend_class_entry *ce ); int _object_and_properties_init(zval *arg, zend_class_entry *ce, HashTable *properties ); void zend_merge_properties(zval *obj, HashTable *properties, int destroy_ht ); int add_assoc_function(zval *arg, char *key, void (*function_ptr)(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used )); int add_assoc_long_ex(zval *arg, char *key, uint key_len, long n); int add_assoc_null_ex(zval *arg, char *key, uint key_len); int add_assoc_bool_ex(zval *arg, char *key, uint key_len, int b); int add_assoc_resource_ex(zval *arg, char *key, uint key_len, int r); int add_assoc_double_ex(zval *arg, char *key, uint key_len, double d); int add_assoc_string_ex(zval *arg, char *key, uint key_len, char *str, int duplicate); int add_assoc_stringl_ex(zval *arg, char *key, uint key_len, char *str, uint length, int duplicate); int add_assoc_zval_ex(zval *arg, char *key, uint key_len, zval *value); # 320 "/usr/local/include/php/Zend/zend_API.h" int add_index_long(zval *arg, unsigned long idx, long n); int add_index_null(zval *arg, unsigned long idx); int add_index_bool(zval *arg, unsigned long idx, int b); int add_index_resource(zval *arg, unsigned long idx, int r); int add_index_double(zval *arg, unsigned long idx, double d); int add_index_string(zval *arg, unsigned long idx, char *str, int duplicate); int add_index_stringl(zval *arg, unsigned long idx, char *str, uint length, int duplicate); int add_index_zval(zval *arg, unsigned long index, zval *value); int add_next_index_long(zval *arg, long n); int add_next_index_null(zval *arg); int add_next_index_bool(zval *arg, int b); int add_next_index_resource(zval *arg, int r); int add_next_index_double(zval *arg, double d); int add_next_index_string(zval *arg, char *str, int duplicate); int add_next_index_stringl(zval *arg, char *str, uint length, int duplicate); int add_next_index_zval(zval *arg, zval *value); int add_get_assoc_string_ex(zval *arg, char *key, uint key_len, char *str, void **dest, int duplicate); int add_get_assoc_stringl_ex(zval *arg, char *key, uint key_len, char *str, uint length, void **dest, int duplicate); int add_get_index_long(zval *arg, unsigned long idx, long l, void **dest); int add_get_index_double(zval *arg, unsigned long idx, double d, void **dest); int add_get_index_string(zval *arg, unsigned long idx, char *str, void **dest, int duplicate); int add_get_index_stringl(zval *arg, unsigned long idx, char *str, uint length, void **dest, int duplicate); int add_property_long_ex(zval *arg, char *key, uint key_len, long l ); int add_property_null_ex(zval *arg, char *key, uint key_len ); int add_property_bool_ex(zval *arg, char *key, uint key_len, int b ); int add_property_resource_ex(zval *arg, char *key, uint key_len, long r ); int add_property_double_ex(zval *arg, char *key, uint key_len, double d ); int add_property_string_ex(zval *arg, char *key, uint key_len, char *str, int duplicate ); int add_property_stringl_ex(zval *arg, char *key, uint key_len, char *str, uint length, int duplicate ); int add_property_zval_ex(zval *arg, char *key, uint key_len, zval *value ); # 368 "/usr/local/include/php/Zend/zend_API.h" int call_user_function(HashTable *function_table, zval **object_pp, zval *function_name, zval *retval_ptr, zend_uint param_count, zval *params[] ); int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **retval_ptr_ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table ); typedef struct _zend_fcall_info { size_t size; HashTable *function_table; zval *function_name; HashTable *symbol_table; zval **retval_ptr_ptr; zend_uint param_count; zval ***params; zval **object_pp; zend_bool no_separation; } zend_fcall_info; typedef struct _zend_fcall_info_cache { zend_bool initialized; zend_function *function_handler; zend_class_entry *calling_scope; zval **object_pp; } zend_fcall_info_cache; extern zend_fcall_info_cache empty_fcall_info_cache; # 402 "/usr/local/include/php/Zend/zend_API.h" int zend_fcall_info_init(zval *callable, zend_fcall_info *fci, zend_fcall_info_cache *fcc ); int zend_fcall_info_args(zend_fcall_info *fci, zval *args ); int zend_fcall_info_call(zend_fcall_info *fci, zend_fcall_info_cache *fcc, zval **retval, zval *args ); int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache ); int zend_set_hash_symbol(zval *symbol, char *name, int name_length, zend_bool is_ref, int num_symbol_tables, ...); int zend_delete_global_variable(char *name, int name_len ); void zend_reset_all_cv(HashTable *symbol_table ); void zif_display_disabled_function(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); void zif_display_disabled_class(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); # 631 "/usr/local/include/php/Zend/zend_API.h" # 39 "/usr/local/include/php/main/php.h" 2 # 81 "/usr/local/include/php/main/php.h" # 1 "/usr/local/include/php/main/php_regex.h" 1 # 32 "/usr/local/include/php/main/php_regex.h" # 1 "/usr/local/include/php/regex/regex_extra.h" 1 # 33 "/usr/local/include/php/main/php_regex.h" 2 # 1 "/usr/local/include/php/regex/regex.h" 1 # 17 "/usr/local/include/php/regex/regex.h" typedef off_t regoff_t; typedef struct { int re_magic; size_t re_nsub; const char *re_endp; struct re_guts *re_g; } regex_t; typedef struct { regoff_t rm_so; regoff_t rm_eo; } regmatch_t; int php_regcomp(regex_t *, const char *, int); # 62 "/usr/local/include/php/regex/regex.h" size_t php_regerror(int, const regex_t *, char *, size_t); int php_regexec(const regex_t *, const char *, size_t, regmatch_t [], int); # 76 "/usr/local/include/php/regex/regex.h" void php_regfree(regex_t *); # 34 "/usr/local/include/php/main/php_regex.h" 2 # 1 "/usr/local/include/php/regex/regex_extra.h" 1 # 38 "/usr/local/include/php/main/php_regex.h" 2 # 82 "/usr/local/include/php/main/php.h" 2 # 91 "/usr/local/include/php/main/php.h" # 1 "/usr/include/assert.h" 1 3 4 # 92 "/usr/local/include/php/main/php.h" 2 # 107 "/usr/local/include/php/main/php.h" # 1 "/usr/local/include/php/main/build-defs.h" 1 # 108 "/usr/local/include/php/main/php.h" 2 # 168 "/usr/local/include/php/main/php.h" # 1 "/usr/include/ctype.h" 1 3 4 # 69 "/usr/include/ctype.h" 3 4 # 1 "/usr/include/runetype.h" 1 3 4 # 82 "/usr/include/runetype.h" 3 4 typedef struct { __darwin_rune_t __min; __darwin_rune_t __max; __darwin_rune_t __map; __uint32_t *__types; } _RuneEntry; typedef struct { int __nranges; _RuneEntry *__ranges; } _RuneRange; typedef struct { char __magic[8]; char __encoding[32]; __darwin_rune_t (*__sgetrune)(const char *, __darwin_size_t, char const **); int (*__sputrune)(__darwin_rune_t, char *, __darwin_size_t, char **); __darwin_rune_t __invalid_rune; __uint32_t __runetype[(1 <<8 )]; __darwin_rune_t __maplower[(1 <<8 )]; __darwin_rune_t __mapupper[(1 <<8 )]; _RuneRange __runetype_ext; _RuneRange __maplower_ext; _RuneRange __mapupper_ext; void *__variable; int __variable_len; } _RuneLocale; extern _RuneLocale _DefaultRuneLocale; extern _RuneLocale *_CurrentRuneLocale; # 70 "/usr/include/ctype.h" 2 3 4 # 116 "/usr/include/ctype.h" 3 4 int isalnum(int); int isalpha(int); int isblank(int); int iscntrl(int); int isdigit(int); int isgraph(int); int islower(int); int isprint(int); int ispunct(int); int isspace(int); int isupper(int); int isxdigit(int); int tolower(int); int toupper(int); int isascii(int); int toascii(int); int _tolower(int); int _toupper(int); int digittoint(int); int ishexnumber(int); int isideogram(int); int isnumber(int); int isphonogram(int); int isrune(int); int isspecial(int); # 179 "/usr/include/ctype.h" 3 4 unsigned long ___runetype(__darwin_ct_rune_t); __darwin_ct_rune_t ___tolower(__darwin_ct_rune_t); __darwin_ct_rune_t ___toupper(__darwin_ct_rune_t); # 208 "/usr/include/ctype.h" 3 4 int __maskrune(__darwin_ct_rune_t, unsigned long); static __inline int __istype(__darwin_ct_rune_t _c, unsigned long _f) { return !!((((_c) & ~0x7F) == 0) ? (_DefaultRuneLocale.__runetype[_c] & _f) : __maskrune(_c, _f)); } static __inline __darwin_ct_rune_t __isctype(__darwin_ct_rune_t _c, unsigned long _f) { return (_c < 0 || _c >= (1 <<8 )) ? 0 : !!(_DefaultRuneLocale.__runetype[_c] & _f); } # 248 "/usr/include/ctype.h" 3 4 __darwin_ct_rune_t __toupper(__darwin_ct_rune_t); __darwin_ct_rune_t __tolower(__darwin_ct_rune_t); static __inline int __wcwidth(__darwin_ct_rune_t _c) { unsigned int _x; if (_c == 0) return (0); _x = (unsigned int)__maskrune(_c, 0xe0000000L|0x00040000L); if ((_x & 0xe0000000L) != 0) return ((_x & 0xe0000000L) >> 30); return ((_x & 0x00040000L) != 0 ? 1 : -1); } # 169 "/usr/local/include/php/main/php.h" 2 # 1 "/usr/include/unistd.h" 1 3 4 # 74 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/sys/unistd.h" 1 3 4 # 130 "/usr/include/sys/unistd.h" 3 4 struct accessx_descriptor { unsigned ad_name_offset; int ad_flags; int ad_pad[2]; }; # 75 "/usr/include/unistd.h" 2 3 4 # 121 "/usr/include/unistd.h" 3 4 typedef __darwin_uuid_t uuid_t; # 388 "/usr/include/unistd.h" 3 4 void _exit(int) __attribute__((__noreturn__)); int access(const char *, int); unsigned int alarm(unsigned int); int chdir(const char *); int chown(const char *, uid_t, gid_t); int close(int); size_t confstr(int, char *, size_t); char *crypt(const char *, const char *); char *ctermid(char *); int dup(int); int dup2(int, int); int execl(const char *, const char *, ...); int execle(const char *, const char *, ...); int execlp(const char *, const char *, ...); int execv(const char *, char * const *); int execve(const char *, char * const *, char * const *); int execvp(const char *, char * const *); int fchown(int, uid_t, gid_t); int fchdir(int); pid_t fork(void); long fpathconf(int, int); int ftruncate(int, off_t); char *getcwd(char *, size_t); gid_t getegid(void); uid_t geteuid(void); gid_t getgid(void); int getgroups(int, gid_t []); long gethostid(void); int gethostname(char *, size_t); char *getlogin(void); int getlogin_r(char *, size_t); int getopt(int, char * const [], const char *); pid_t getpgid(pid_t); pid_t getpgrp(void); pid_t getpid(void); pid_t getppid(void); pid_t getsid(pid_t); uid_t getuid(void); char *getwd(char *); int isatty(int); int lchown(const char *, uid_t, gid_t) ; int link(const char *, const char *); int lockf(int, int, off_t); off_t lseek(int, off_t, int); int nice(int); long pathconf(const char *, int); int pause(void); int pipe(int [2]); ssize_t pread(int, void *, size_t, off_t); ssize_t pwrite(int, const void *, size_t, off_t); ssize_t read(int, void *, size_t); ssize_t readlink(const char * , char * , size_t); int rmdir(const char *); int setegid(gid_t); int seteuid(uid_t); int setgid(gid_t); int setpgid(pid_t, pid_t); int setpgrp(pid_t pid, pid_t pgrp); int setregid(gid_t, gid_t); int setreuid(uid_t, uid_t); pid_t setsid(void); int setuid(uid_t); unsigned int sleep(unsigned int); void swab(const void * , void * , ssize_t); int symlink(const char *, const char *); void sync(void); long sysconf(int); pid_t tcgetpgrp(int); int tcsetpgrp(int, pid_t); int truncate(const char *, off_t); char *ttyname(int); char *ttyname_r(int, char *, size_t); useconds_t ualarm(useconds_t, useconds_t); int unlink(const char *); int usleep(useconds_t); pid_t vfork(void); ssize_t write(int, const void *, size_t); extern char *optarg; extern int optind, opterr, optopt; void _Exit(int) __attribute__((__noreturn__)); int accessx_np(const struct accessx_descriptor *, size_t, int *, uid_t); int acct(const char *); int add_profil(char *, size_t, unsigned long, unsigned int); int async_daemon(void); void *brk(const void *); int chroot(const char *); int encrypt(char *, int); void endusershell(void); int execvP(const char *, const char *, char * const *); char *fflagstostr(unsigned long); int fsync(int); int getdtablesize(void); int getdomainname(char *, int); int getgrouplist(const char *, int, int *, int *); mode_t getmode(const void *, mode_t); int getpagesize(void) __attribute__((__const__)); char *getpass(const char *); int getpeereid(int, uid_t *, gid_t *); int getpgid(pid_t _pid); int getsgroups_np(int *, uuid_t); int getsid(pid_t _pid); char *getusershell(void); int getwgroups_np(int *, uuid_t); int initgroups(const char *, int); int iruserok(unsigned long, int, const char *, const char *); int issetugid(void); char *mkdtemp(char *); int mknod(const char *, mode_t, dev_t); int mkstemp(char *); int mkstemps(char *, int); char *mktemp(char *); int nfssvc(int, void *); int profil(char *, size_t, unsigned long, unsigned int); int pthread_setugid_np(uid_t, gid_t); int pthread_getugid_np( uid_t *, gid_t *); int rcmd(char **, int, const char *, const char *, const char *, int *); int reboot(int); int revoke(const char *); int rresvport(int *); int rresvport_af(int *, int); int ruserok(const char *, int, const char *, const char *); void *sbrk(int); int setdomainname(const char *, int); int setgroups(int, const gid_t *); void sethostid(long); int sethostname(const char *, int); int setkey(const char *); int setlogin(const char *); void *setmode(const char *); int setrgid(gid_t); int setruid(uid_t); int setsgroups_np(int, const uuid_t); void setusershell(void); int setwgroups_np(int, const uuid_t); int strtofflags(char **, unsigned long *, unsigned long *); int swapon(const char *); int syscall(int, ...); int ttyslot(void); int undelete(const char *); int unwhiteout(const char *); void *valloc(size_t); extern char *suboptarg; int getsubopt(char **, char * const *, char **); # 570 "/usr/include/unistd.h" 3 4 int getattrlist(const char*,void*,void*,size_t,unsigned long) ; int setattrlist(const char*,void*,void*,size_t,unsigned long) ; int exchangedata(const char*,const char*,unsigned long); int checkuseraccess(const char*,uid_t,gid_t*,int,int,unsigned long); int getdirentriesattr(int,void*,void*,size_t,unsigned long*,unsigned long*,unsigned long*,unsigned long); int searchfs(const char*,void*,void*,unsigned long,unsigned long,void*); int fsctl(const char *,unsigned long,void*,unsigned long); extern int optreset; # 171 "/usr/local/include/php/main/php.h" 2 # 1 "/usr/include/gcc/darwin/3.3/stdarg.h" 1 3 4 # 174 "/usr/local/include/php/main/php.h" 2 # 182 "/usr/local/include/php/main/php.h" # 1 "/usr/local/include/php/main/php3_compat.h" 1 # 24 "/usr/local/include/php/main/php3_compat.h" typedef zval pval; # 183 "/usr/local/include/php/main/php.h" 2 # 197 "/usr/local/include/php/main/php.h" # 1 "/usr/local/include/php/main/safe_mode.h" 1 # 35 "/usr/local/include/php/main/safe_mode.h" int php_checkuid(const char *filename, const char *fopen_mode, int mode); int php_checkuid_ex(const char *filename, const char *fopen_mode, int mode, int flags); char *php_get_current_user(void); # 198 "/usr/local/include/php/main/php.h" 2 # 1 "/usr/local/include/php/regex/regex_extra.h" 1 # 205 "/usr/local/include/php/main/php.h" 2 # 1 "/usr/include/pwd.h" 1 3 4 # 119 "/usr/include/pwd.h" 3 4 struct passwd { char *pw_name; char *pw_passwd; uid_t pw_uid; gid_t pw_gid; __darwin_time_t pw_change; char *pw_class; char *pw_gecos; char *pw_dir; char *pw_shell; __darwin_time_t pw_expire; }; struct passwd *getpwuid(uid_t); struct passwd *getpwnam(const char *); int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **); int getpwnam_r(const char *, struct passwd *, char *, size_t, struct passwd **); struct passwd *getpwent(void); int setpassent(int); char *user_from_uid(uid_t, int); int setpwent(void); void endpwent(void); # 212 "/usr/local/include/php/main/php.h" 2 # 1 "/usr/include/sys/param.h" 1 3 4 # 104 "/usr/include/sys/param.h" 3 4 # 1 "/usr/include/machine/param.h" 1 3 4 # 32 "/usr/include/machine/param.h" 3 4 # 1 "/usr/include/i386/param.h" 1 3 4 # 33 "/usr/include/machine/param.h" 2 3 4 # 105 "/usr/include/sys/param.h" 2 3 4 # 213 "/usr/local/include/php/main/php.h" 2 # 240 "/usr/local/include/php/main/php.h" # 1 "/usr/local/include/php/main/snprintf.h" 1 # 73 "/usr/local/include/php/main/snprintf.h" typedef int bool_int; typedef enum { NO = 0, YES = 1 } boolean_e; int ap_php_slprintf(char *buf, size_t len, const char *format,...); int ap_php_vslprintf(char *buf, size_t len, const char *format, va_list ap); int ap_php_snprintf(char *, size_t, const char *, ...); int ap_php_vsnprintf(char *, size_t, const char *, va_list ap); int php_sprintf (char* s, const char* format, ...) __attribute__ ((format(printf, 2, 3))); char * php_gcvt(double value, int ndigit, char dec_point, char exponent, char *buf); char * php_conv_fp(register char format, register double num, boolean_e add_dp, int precision, char dec_point, bool_int * is_negative, char *buf, int *len); # 117 "/usr/local/include/php/main/snprintf.h" typedef enum { LM_STD = 0, LM_INTMAX_T, LM_PTRDIFF_T, LM_LONG_LONG, LM_SIZE_T, LM_LONG, LM_LONG_DOUBLE } length_modifier_e; # 142 "/usr/local/include/php/main/snprintf.h" typedef long long int wide_int; typedef unsigned long long int u_wide_int; extern char * ap_php_conv_10(register wide_int num, register bool_int is_unsigned, register bool_int * is_negative, char *buf_end, register int *len); extern char * ap_php_conv_p2(register u_wide_int num, register int nbits, char format, char *buf_end, register int *len); # 242 "/usr/local/include/php/main/php.h" 2 # 1 "/usr/local/include/php/main/spprintf.h" 1 # 39 "/usr/local/include/php/main/spprintf.h" int spprintf( char **pbuf, size_t max_len, const char *format, ...) __attribute__ ((format(printf, 3, 4))); int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) __attribute__ ((format(printf, 3, 0))); # 244 "/usr/local/include/php/main/php.h" 2 # 267 "/usr/local/include/php/main/php.h" extern char **environ; # 278 "/usr/local/include/php/main/php.h" void phperror(char *error); int php_write(void *buf, uint size ); int php_printf(const char *format, ...) __attribute__ ((format(printf, 1, 2))); void php_log_err(char *log_message ); int Debug(char *format, ...) __attribute__ ((format(printf, 1, 2))); int cfgparse(void); typedef enum { EH_NORMAL = 0, EH_SUPPRESS, EH_THROW } error_handling_t; void php_set_error_handling(error_handling_t error_handling, zend_class_entry *exception_class ); void php_verror(const char *docref, const char *params, int type, const char *format, va_list args ) __attribute__ ((format(printf, 4, 0))); # 309 "/usr/local/include/php/main/php.h" void php_error_docref0(const char *docref , int type, const char *format, ...) __attribute__ ((format(printf, 0 + 3, 0 + 4))); void php_error_docref1(const char *docref , const char *param1, int type, const char *format, ...) __attribute__ ((format(printf, 0 + 4, 0 + 5))); void php_error_docref2(const char *docref , const char *param1, const char *param2, int type, const char *format, ...) __attribute__ ((format(printf, 0 + 5, 0 + 6))); # 329 "/usr/local/include/php/main/php.h" int php_register_internal_extensions(void); int php_mergesort(void *base, size_t nmemb, register size_t size, int (*cmp)(const void *, const void * ) ); void php_register_pre_request_shutdown(void (*func)(void *), void *userdata); void php_com_initialize(void); # 390 "/usr/local/include/php/main/php.h" # 1 "/usr/local/include/php/main/php_output.h" 1 # 24 "/usr/local/include/php/main/php_output.h" typedef void (*php_output_handler_func_t)(char *output, uint output_len, char **handled_output, uint *handled_output_len, int mode ); void php_output_startup(void); void php_output_activate(void); void php_output_set_status(zend_bool status ); void php_output_register_constants(void); int php_default_output_func(const char *str, uint str_len ); int php_ub_body_write(const char *str, uint str_length ); int php_ub_body_write_no_header(const char *str, uint str_length ); int php_body_write(const char *str, uint str_length ); int php_header_write(const char *str, uint str_length ); int php_start_ob_buffer(zval *output_handler, uint chunk_size, zend_bool erase ); int php_start_ob_buffer_named(const char *output_handler_name, uint chunk_size, zend_bool erase ); void php_end_ob_buffer(zend_bool send_buffer, zend_bool just_flush ); void php_end_ob_buffers(zend_bool send_buffer ); int php_ob_get_buffer(zval *p ); int php_ob_get_length(zval *p ); void php_start_implicit_flush(void); void php_end_implicit_flush(void); char *php_get_output_start_filename(void); int php_get_output_start_lineno(void); void php_ob_set_internal_handler(php_output_handler_func_t internal_output_handler, uint buffer_size, char *handler_name, zend_bool erase ); int php_ob_handler_used(char *handler_name ); int php_ob_init_conflict(char *handler_new, char *handler_set ); int php_ob_get_buffer(zval *p ); int php_ob_get_length(zval *p ); void zif_ob_start(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); void zif_ob_flush(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); void zif_ob_clean(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); void zif_ob_end_flush(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); void zif_ob_end_clean(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); void zif_ob_get_flush(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); void zif_ob_get_clean(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); void zif_ob_get_contents(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); void zif_ob_get_length(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); void zif_ob_get_level(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); void zif_ob_get_status(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); void zif_ob_implicit_flush(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); void zif_ob_list_handlers(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); typedef struct _php_ob_buffer { char *buffer; uint size; uint text_length; int block_size; uint chunk_size; int status; zval *output_handler; php_output_handler_func_t internal_output_handler; char *internal_output_handler_buffer; uint internal_output_handler_buffer_size; char *handler_name; zend_bool erase; } php_ob_buffer; typedef struct _php_output_globals { int (*php_body_write)(const char *str, uint str_length ); int (*php_header_write)(const char *str, uint str_length ); php_ob_buffer active_ob_buffer; unsigned char implicit_flush; char *output_start_filename; int output_start_lineno; zend_stack ob_buffers; int ob_nesting_level; zend_bool ob_lock; zend_bool disable_output; } php_output_globals; extern php_output_globals output_globals; # 110 "/usr/local/include/php/main/php_output.h" void zif_output_add_rewrite_var(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); void zif_output_reset_rewrite_vars(int ht, zval *return_value, zval **return_value_ptr, zval *this_ptr, int return_value_used ); # 391 "/usr/local/include/php/main/php.h" 2 # 406 "/usr/local/include/php/main/php.h" # 1 "/usr/local/include/php/main/php_streams.h" 1 # 28 "/usr/local/include/php/main/php_streams.h" # 1 "/usr/include/sys/stat.h" 1 3 4 # 145 "/usr/include/sys/stat.h" 3 4 struct ostat { __uint16_t st_dev; ino_t st_ino; mode_t st_mode; nlink_t st_nlink; __uint16_t st_uid; __uint16_t st_gid; __uint16_t st_rdev; __int32_t st_size; struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; __int32_t st_blksize; __int32_t st_blocks; __uint32_t st_flags; __uint32_t st_gen; }; struct stat { dev_t st_dev; ino_t st_ino; mode_t st_mode; nlink_t st_nlink; uid_t st_uid; gid_t st_gid; dev_t st_rdev; struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; # 188 "/usr/include/sys/stat.h" 3 4 off_t st_size; blkcnt_t st_blocks; blksize_t st_blksize; __uint32_t st_flags; __uint32_t st_gen; __int32_t st_lspare; __int64_t st_qspare[2]; }; # 338 "/usr/include/sys/stat.h" 3 4 int chmod(const char *, mode_t); int fchmod(int, mode_t); int fstat(int, struct stat *); int lstat(const char *, struct stat *); int mkdir(const char *, mode_t); int mkfifo(const char *, mode_t); int stat(const char *, struct stat *); int mknod(const char *, mode_t, dev_t); mode_t umask(mode_t); struct _filesec; typedef struct _filesec *filesec_t; int chflags(const char *, __uint32_t); int chmodx_np(const char *, filesec_t); int fchflags(int, __uint32_t); int fchmodx_np(int, filesec_t); int fstatx_np(int, struct stat *, filesec_t); int lstatx_np(const char *, struct stat *, filesec_t); int mkdirx_np(const char *, filesec_t); int mkfifox_np(const char *, filesec_t); int statx_np(const char *, struct stat *, filesec_t); int umaskx_np(filesec_t); # 29 "/usr/local/include/php/main/php_streams.h" 2 int php_file_le_stream(void); int php_file_le_pstream(void); int php_file_le_stream_filter(void); # 98 "/usr/local/include/php/main/php_streams.h" typedef struct _php_stream php_stream; typedef struct _php_stream_wrapper php_stream_wrapper; typedef struct _php_stream_context php_stream_context; typedef struct _php_stream_filter php_stream_filter; # 1 "/usr/local/include/php/main/streams/php_stream_context.h" 1 # 24 "/usr/local/include/php/main/streams/php_stream_context.h" typedef void (*php_stream_notification_func)(php_stream_context *context, int notifycode, int severity, char *xmsg, int xcode, size_t bytes_sofar, size_t bytes_max, void * ptr ); # 43 "/usr/local/include/php/main/streams/php_stream_context.h" typedef struct _php_stream_notifier php_stream_notifier; struct _php_stream_notifier { php_stream_notification_func func; void (*dtor)(php_stream_notifier *notifier); void *ptr; int mask; size_t progress, progress_max; }; struct _php_stream_context { php_stream_notifier *notifier; zval *options; zval *links; int rsrc_id; }; void php_stream_context_free(php_stream_context *context); php_stream_context *php_stream_context_alloc(void); int php_stream_context_get_option(php_stream_context *context, const char *wrappername, const char *optionname, zval ***optionvalue); int php_stream_context_set_option(php_stream_context *context, const char *wrappername, const char *optionname, zval *optionvalue); int php_stream_context_get_link(php_stream_context *context, const char *hostent, php_stream **stream); int php_stream_context_set_link(php_stream_context *context, const char *hostent, php_stream *stream); int php_stream_context_del_link(php_stream_context *context, php_stream *stream); php_stream_notifier *php_stream_notification_alloc(void); void php_stream_notification_free(php_stream_notifier *notifier); # 95 "/usr/local/include/php/main/streams/php_stream_context.h" void php_stream_notification_notify(php_stream_context *context, int notifycode, int severity, char *xmsg, int xcode, size_t bytes_sofar, size_t bytes_max, void * ptr ); php_stream_context *php_stream_context_set(php_stream *stream, php_stream_context *context); # 104 "/usr/local/include/php/main/php_streams.h" 2 # 1 "/usr/local/include/php/main/streams/php_stream_filter_api.h" 1 # 41 "/usr/local/include/php/main/streams/php_stream_filter_api.h" typedef struct _php_stream_bucket php_stream_bucket; typedef struct _php_stream_bucket_brigade php_stream_bucket_brigade; struct _php_stream_bucket { php_stream_bucket *next, *prev; php_stream_bucket_brigade *brigade; char *buf; size_t buflen; int own_buf; int is_persistent; int refcount; }; struct _php_stream_bucket_brigade { php_stream_bucket *head, *tail; }; typedef enum { PSFS_ERR_FATAL, PSFS_FEED_ME, PSFS_PASS_ON, } php_stream_filter_status_t; php_stream_bucket *php_stream_bucket_new(php_stream *stream, char *buf, size_t buflen, int own_buf, int buf_persistent ); int php_stream_bucket_split(php_stream_bucket *in, php_stream_bucket **left, php_stream_bucket **right, size_t length ); void php_stream_bucket_delref(php_stream_bucket *bucket ); void php_stream_bucket_prepend(php_stream_bucket_brigade *brigade, php_stream_bucket *bucket ); void php_stream_bucket_append(php_stream_bucket_brigade *brigade, php_stream_bucket *bucket ); void php_stream_bucket_unlink(php_stream_bucket *bucket ); php_stream_bucket *php_stream_bucket_make_writeable(php_stream_bucket *bucket ); typedef struct _php_stream_filter_ops { php_stream_filter_status_t (*filter)( php_stream *stream, php_stream_filter *thisfilter, php_stream_bucket_brigade *buckets_in, php_stream_bucket_brigade *buckets_out, size_t *bytes_consumed, int flags ); void (*dtor)(php_stream_filter *thisfilter ); const char *label; } php_stream_filter_ops; typedef struct _php_stream_filter_chain { php_stream_filter *head, *tail; php_stream *stream; } php_stream_filter_chain; struct _php_stream_filter { php_stream_filter_ops *fops; void *abstract; php_stream_filter *next; php_stream_filter *prev; int is_persistent; php_stream_filter_chain *chain; php_stream_bucket_brigade buffer; int rsrc_id; }; void _php_stream_filter_prepend(php_stream_filter_chain *chain, php_stream_filter *filter ); void _php_stream_filter_append(php_stream_filter_chain *chain, php_stream_filter *filter ); int _php_stream_filter_flush(php_stream_filter *filter, int finish ); php_stream_filter *php_stream_filter_remove(php_stream_filter *filter, int call_dtor ); void php_stream_filter_free(php_stream_filter *filter ); php_stream_filter *_php_stream_filter_alloc(php_stream_filter_ops *fops, void *abstract, int persistent ); # 142 "/usr/local/include/php/main/streams/php_stream_filter_api.h" typedef struct _php_stream_filter_factory { php_stream_filter *(*create_filter)(const char *filtername, zval *filterparams, int persistent ); } php_stream_filter_factory; int php_stream_filter_register_factory(const char *filterpattern, php_stream_filter_factory *factory ); int php_stream_filter_unregister_factory(const char *filterpattern ); int php_stream_filter_register_factory_volatile(const char *filterpattern, php_stream_filter_factory *factory ); php_stream_filter *php_stream_filter_create(const char *filtername, zval *filterparams, int persistent ); # 105 "/usr/local/include/php/main/php_streams.h" 2 typedef struct _php_stream_statbuf { struct stat sb; } php_stream_statbuf; typedef struct _php_stream_dirent { char d_name[1024]; } php_stream_dirent; typedef struct _php_stream_ops { size_t (*write)(php_stream *stream, const char *buf, size_t count ); size_t (*read)(php_stream *stream, char *buf, size_t count ); int (*close)(php_stream *stream, int close_handle ); int (*flush)(php_stream *stream ); const char *label; int (*seek)(php_stream *stream, off_t offset, int whence, off_t *newoffset ); int (*cast)(php_stream *stream, int castas, void **ret ); int (*stat)(php_stream *stream, php_stream_statbuf *ssb ); int (*set_option)(php_stream *stream, int option, int value, void *ptrparam ); } php_stream_ops; typedef struct _php_stream_wrapper_ops { php_stream *(*stream_opener)(php_stream_wrapper *wrapper, char *filename, char *mode, int options, char **opened_path, php_stream_context *context ); int (*stream_closer)(php_stream_wrapper *wrapper, php_stream *stream ); int (*stream_stat)(php_stream_wrapper *wrapper, php_stream *stream, php_stream_statbuf *ssb ); int (*url_stat)(php_stream_wrapper *wrapper, char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context ); php_stream *(*dir_opener)(php_stream_wrapper *wrapper, char *filename, char *mode, int options, char **opened_path, php_stream_context *context ); const char *label; int (*unlink)(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context ); int (*rename)(php_stream_wrapper *wrapper, char *url_from, char *url_to, int options, php_stream_context *context ); int (*stream_mkdir)(php_stream_wrapper *wrapper, char *url, int mode, int options, php_stream_context *context ); int (*stream_rmdir)(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context ); } php_stream_wrapper_ops; struct _php_stream_wrapper { php_stream_wrapper_ops *wops; void *abstract; int is_url; int err_count; char **err_stack; }; # 184 "/usr/local/include/php/main/php_streams.h" struct _php_stream { php_stream_ops *ops; void *abstract; php_stream_filter_chain readfilters, writefilters; php_stream_wrapper *wrapper; void *wrapperthis; zval *wrapperdata; int fgetss_state; int is_persistent; char mode[16]; int rsrc_id; int in_free; int fclose_stdiocast; FILE *stdiocast; char *orig_path; php_stream_context *context; int flags; off_t position; unsigned char *readbuf; size_t readbuflen; off_t readpos; off_t writepos; size_t chunk_size; int eof; }; php_stream *_php_stream_alloc(php_stream_ops *ops, void *abstract, const char *persistent_id, const char *mode ); # 253 "/usr/local/include/php/main/php_streams.h" int php_stream_from_persistent_id(const char *persistent_id, php_stream **stream ); # 268 "/usr/local/include/php/main/php_streams.h" int _php_stream_free(php_stream *stream, int close_options ); int _php_stream_seek(php_stream *stream, off_t offset, int whence ); off_t _php_stream_tell(php_stream *stream ); size_t _php_stream_read(php_stream *stream, char *buf, size_t count ); size_t _php_stream_write(php_stream *stream, const char *buf, size_t count ); size_t _php_stream_printf(php_stream *stream , const char *fmt, ...); int _php_stream_eof(php_stream *stream ); int _php_stream_getc(php_stream *stream ); int _php_stream_putc(php_stream *stream, int c ); int _php_stream_flush(php_stream *stream, int closing ); char *_php_stream_get_line(php_stream *stream, char *buf, size_t maxlen, size_t *returned_len ); char *php_stream_get_record(php_stream *stream, size_t maxlen, size_t *returned_len, char *delim, size_t delim_len ); int _php_stream_puts(php_stream *stream, char *buf ); int _php_stream_stat(php_stream *stream, php_stream_statbuf *ssb ); int _php_stream_stat_path(char *path, int flags, php_stream_statbuf *ssb, php_stream_context *context ); int _php_stream_mkdir(char *path, int mode, int options, php_stream_context *context ); int _php_stream_rmdir(char *path, int options, php_stream_context *context ); php_stream *_php_stream_opendir(char *path, int options, php_stream_context *context ); php_stream_dirent *_php_stream_readdir(php_stream *dirstream, php_stream_dirent *ent ); int php_stream_dirent_alphasort(const char **a, const char **b); int php_stream_dirent_alphasortr(const char **a, const char **b); int _php_stream_scandir(char *dirname, char **namelist[], int flags, php_stream_context *context, int (*compare) (const char **a, const char **b) ); int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam ); # 395 "/usr/local/include/php/main/php_streams.h" int _php_stream_truncate_set_size(php_stream *stream, size_t newsize ); # 415 "/usr/local/include/php/main/php_streams.h" size_t _php_stream_copy_to_stream(php_stream *src, php_stream *dest, size_t maxlen ); size_t _php_stream_copy_to_mem(php_stream *src, char **buf, size_t maxlen, int persistent ); size_t _php_stream_passthru(php_stream * src ); # 1 "/usr/local/include/php/main/streams/php_stream_transport.h" 1 # 22 "/usr/local/include/php/main/streams/php_stream_transport.h" # 1 "/usr/include/sys/socket.h" 1 3 4 # 94 "/usr/include/sys/socket.h" 3 4 typedef __uint8_t sa_family_t; typedef __darwin_socklen_t socklen_t; # 119 "/usr/include/sys/socket.h" 3 4 struct iovec { void * iov_base; size_t iov_len; }; # 191 "/usr/include/sys/socket.h" 3 4 struct linger { int l_onoff; int l_linger; }; # 274 "/usr/include/sys/socket.h" 3 4 struct sockaddr { __uint8_t sa_len; sa_family_t sa_family; char sa_data[14]; }; # 287 "/usr/include/sys/socket.h" 3 4 struct sockproto { __uint16_t sp_family; __uint16_t sp_protocol; }; # 307 "/usr/include/sys/socket.h" 3 4 struct sockaddr_storage { __uint8_t ss_len; sa_family_t ss_family; char __ss_pad1[((sizeof(__int64_t)) - sizeof(__uint8_t) - sizeof(sa_family_t))]; __int64_t __ss_align; char __ss_pad2[(128 - sizeof(__uint8_t) - sizeof(sa_family_t) - ((sizeof(__int64_t)) - sizeof(__uint8_t) - sizeof(sa_family_t)) - (sizeof(__int64_t)))]; }; # 411 "/usr/include/sys/socket.h" 3 4 struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; int msg_iovlen; void *msg_control; socklen_t msg_controllen; int msg_flags; }; # 451 "/usr/include/sys/socket.h" 3 4 struct cmsghdr { socklen_t cmsg_len; int cmsg_level; int cmsg_type; }; # 515 "/usr/include/sys/socket.h" 3 4 struct osockaddr { __uint16_t sa_family; char sa_data[14]; }; struct omsghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; int msg_iovlen; void *msg_accrights; int msg_accrightslen; }; # 555 "/usr/include/sys/socket.h" 3 4 int accept(int, struct sockaddr * , socklen_t * ) ; int bind(int, const struct sockaddr *, socklen_t) ; int connect(int, const struct sockaddr *, socklen_t) ; int getpeername(int, struct sockaddr * , socklen_t * ) ; int getsockname(int, struct sockaddr * , socklen_t * ) ; int getsockopt(int, int, int, void * , socklen_t * ); int listen(int, int) ; ssize_t recv(int, void *, size_t, int) ; ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * , socklen_t * ) ; ssize_t recvmsg(int, struct msghdr *, int) ; ssize_t send(int, const void *, size_t, int) ; ssize_t sendmsg(int, const struct msghdr *, int) ; ssize_t sendto(int, const void *, size_t, int, const struct sockaddr *, socklen_t) ; int setsockopt(int, int, int, const void *, socklen_t); int shutdown(int, int); int socket(int, int, int); int socketpair(int, int, int, int *) ; # 587 "/usr/include/sys/socket.h" 3 4 void pfctlinput(int, struct sockaddr *); # 23 "/usr/local/include/php/main/streams/php_stream_transport.h" 2 typedef php_stream *(php_stream_transport_factory_func)(const char *proto, long protolen, char *resourcename, long resourcenamelen, const char *persistent_id, int options, int flags, struct timeval *timeout, php_stream_context *context ); typedef php_stream_transport_factory_func *php_stream_transport_factory; int php_stream_xport_register(char *protocol, php_stream_transport_factory factory ); int php_stream_xport_unregister(char *protocol ); # 45 "/usr/local/include/php/main/streams/php_stream_transport.h" php_stream *_php_stream_xport_create(const char *name, long namelen, int options, int flags, const char *persistent_id, struct timeval *timeout, php_stream_context *context, char **error_string, int *error_code ); int php_stream_xport_bind(php_stream *stream, const char *name, long namelen, char **error_text ); int php_stream_xport_connect(php_stream *stream, const char *name, long namelen, int asynchronous, struct timeval *timeout, char **error_text, int *error_code ); int php_stream_xport_listen(php_stream *stream, int backlog, char **error_text ); int php_stream_xport_accept(php_stream *stream, php_stream **client, char **textaddr, int *textaddrlen, void **addr, socklen_t *addrlen, struct timeval *timeout, char **error_text ); int php_stream_xport_get_name(php_stream *stream, int want_peer, char **textaddr, int *textaddrlen, void **addr, socklen_t *addrlen ); enum php_stream_xport_send_recv_flags { STREAM_OOB = 1, STREAM_PEEK = 2 }; int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, long flags, void **addr, socklen_t *addrlen, char **textaddr, int *textaddrlen ); int php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, long flags, void *addr, socklen_t addrlen ); typedef enum { STREAM_SHUT_RD, STREAM_SHUT_WR, STREAM_SHUT_RDWR } stream_shutdown_t; int php_stream_xport_shutdown(php_stream *stream, stream_shutdown_t how ); typedef struct _php_stream_xport_param { enum { STREAM_XPORT_OP_BIND, STREAM_XPORT_OP_CONNECT, STREAM_XPORT_OP_LISTEN, STREAM_XPORT_OP_ACCEPT, STREAM_XPORT_OP_CONNECT_ASYNC, STREAM_XPORT_OP_GET_NAME, STREAM_XPORT_OP_GET_PEER_NAME, STREAM_XPORT_OP_RECV, STREAM_XPORT_OP_SEND, STREAM_XPORT_OP_SHUTDOWN } op; unsigned int want_addr:1; unsigned int want_textaddr:1; unsigned int want_errortext:1; unsigned int how:2; struct { char *name; long namelen; int backlog; struct timeval *timeout; struct sockaddr *addr; socklen_t addrlen; char *buf; size_t buflen; long flags; } inputs; struct { php_stream *client; int returncode; struct sockaddr *addr; socklen_t addrlen; char *textaddr; long textaddrlen; char *error_text; int error_code; } outputs; } php_stream_xport_param; typedef enum { STREAM_CRYPTO_METHOD_SSLv2_CLIENT, STREAM_CRYPTO_METHOD_SSLv3_CLIENT, STREAM_CRYPTO_METHOD_SSLv23_CLIENT, STREAM_CRYPTO_METHOD_TLS_CLIENT, STREAM_CRYPTO_METHOD_SSLv2_SERVER, STREAM_CRYPTO_METHOD_SSLv3_SERVER, STREAM_CRYPTO_METHOD_SSLv23_SERVER, STREAM_CRYPTO_METHOD_TLS_SERVER } php_stream_xport_crypt_method_t; int php_stream_xport_crypto_setup(php_stream *stream, php_stream_xport_crypt_method_t crypto_method, php_stream *session_stream ); int php_stream_xport_crypto_enable(php_stream *stream, int activate ); typedef struct _php_stream_xport_crypto_param { enum { STREAM_XPORT_CRYPTO_OP_SETUP, STREAM_XPORT_CRYPTO_OP_ENABLE } op; struct { int activate; php_stream_xport_crypt_method_t method; php_stream *session; } inputs; struct { int returncode; } outputs; } php_stream_xport_crypto_param; HashTable *php_stream_xport_get_hash(void); php_stream_transport_factory_func php_stream_generic_socket_factory; # 432 "/usr/local/include/php/main/php_streams.h" 2 # 1 "/usr/local/include/php/main/streams/php_stream_plain_wrapper.h" 1 # 24 "/usr/local/include/php/main/streams/php_stream_plain_wrapper.h" extern php_stream_ops php_stream_stdio_ops; extern php_stream_wrapper php_plain_files_wrapper; php_stream *_php_stream_fopen(const char *filename, const char *mode, char **opened_path, int options ); php_stream *_php_stream_fopen_with_path(char *filename, char *mode, char *path, char **opened_path, int options ); php_stream *_php_stream_fopen_from_file(FILE *file, const char *mode ); php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id ); php_stream *_php_stream_fopen_from_pipe(FILE *file, const char *mode ); php_stream *_php_stream_fopen_tmpfile(int dummy ); php_stream *_php_stream_fopen_temporary_file(const char *dir, const char *pfx, char **opened_path ); FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int options, char **opened_path ); # 433 "/usr/local/include/php/main/php_streams.h" 2 # 1 "/usr/local/include/php/main/streams/php_stream_userspace.h" 1 # 23 "/usr/local/include/php/main/streams/php_stream_userspace.h" extern php_stream_ops php_stream_userspace_ops; extern php_stream_ops php_stream_userspace_dir_ops; # 434 "/usr/local/include/php/main/php_streams.h" 2 # 1 "/usr/local/include/php/main/streams/php_stream_mmap.h" 1 # 30 "/usr/local/include/php/main/streams/php_stream_mmap.h" typedef enum { PHP_STREAM_MMAP_SUPPORTED, PHP_STREAM_MMAP_MAP_RANGE, PHP_STREAM_MMAP_UNMAP } php_stream_mmap_operation_t; typedef enum { PHP_STREAM_MAP_MODE_READONLY, PHP_STREAM_MAP_MODE_READWRITE, PHP_STREAM_MAP_MODE_SHARED_READONLY, PHP_STREAM_MAP_MODE_SHARED_READWRITE } php_stream_mmap_access_t; typedef struct { size_t offset; size_t length; php_stream_mmap_access_t mode; char *mapped; } php_stream_mmap_range; char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_operation_t mode, size_t *mapped_len ); int _php_stream_mmap_unmap(php_stream *stream ); # 435 "/usr/local/include/php/main/php_streams.h" 2 # 451 "/usr/local/include/php/main/php_streams.h" int _php_stream_cast(php_stream *stream, int castas, void **ret, int show_err ); # 508 "/usr/local/include/php/main/php_streams.h" int php_init_stream_wrappers(int module_number ); int php_shutdown_stream_wrappers(int module_number ); void php_shutdown_stream_hashes(void); int zm_deactivate_streams(int type, int module_number ); int php_register_url_stream_wrapper(char *protocol, php_stream_wrapper *wrapper ); int php_unregister_url_stream_wrapper(char *protocol ); int php_register_url_stream_wrapper_volatile(char *protocol, php_stream_wrapper *wrapper ); int php_unregister_url_stream_wrapper_volatile(char *protocol ); php_stream *_php_stream_open_wrapper_ex(char *path, char *mode, int options, char **opened_path, php_stream_context *context ); php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, char **path_for_open, int options ); char *php_stream_locate_eol(php_stream *stream, char *buf, size_t buf_len ); # 532 "/usr/local/include/php/main/php_streams.h" void php_stream_wrapper_log_error(php_stream_wrapper *wrapper, int options , const char *fmt, ...); # 543 "/usr/local/include/php/main/php_streams.h" int _php_stream_make_seekable(php_stream *origstream, php_stream **newstream, int flags ); HashTable *_php_stream_get_url_stream_wrappers_hash(void); HashTable *php_stream_get_url_stream_wrappers_hash_global(void); HashTable *_php_get_stream_filters_hash(void); HashTable *php_get_stream_filters_hash_global(void); # 407 "/usr/local/include/php/main/php.h" 2 # 1 "/usr/local/include/php/main/php_memory_streams.h" 1 # 24 "/usr/local/include/php/main/php_memory_streams.h" # 1 "/usr/local/include/php/main/php_streams.h" 1 # 25 "/usr/local/include/php/main/php_memory_streams.h" 2 # 42 "/usr/local/include/php/main/php_memory_streams.h" php_stream *_php_stream_memory_create(int mode ); php_stream *_php_stream_memory_open(int mode, char *buf, size_t length ); char *_php_stream_memory_get_buffer(php_stream *stream, size_t *length ); php_stream *_php_stream_temp_create(int mode, size_t max_memory_usage ); php_stream *_php_stream_temp_open(int mode, size_t max_memory_usage, char *buf, size_t length ); extern php_stream_ops php_stream_memory_ops; extern php_stream_ops php_stream_temp_ops; extern php_stream_ops php_stream_rfc2397_ops; extern php_stream_wrapper php_stream_rfc2397_wrapper; # 408 "/usr/local/include/php/main/php.h" 2 # 1 "/usr/local/include/php/main/fopen_wrappers.h" 1 # 24 "/usr/local/include/php/main/fopen_wrappers.h" # 1 "/usr/local/include/php/main/php_globals.h" 1 # 26 "/usr/local/include/php/main/php_globals.h" typedef struct _php_core_globals php_core_globals; extern struct _php_core_globals core_globals; # 49 "/usr/local/include/php/main/php_globals.h" struct _php_tick_function_entry; typedef struct _arg_separators { char *output; char *input; } arg_separators; struct _php_core_globals { zend_bool magic_quotes_gpc; zend_bool magic_quotes_runtime; zend_bool magic_quotes_sybase; zend_bool safe_mode; zend_bool allow_call_time_pass_reference; zend_bool implicit_flush; long output_buffering; char *safe_mode_include_dir; zend_bool safe_mode_gid; zend_bool sql_safe_mode; zend_bool enable_dl; char *output_handler; char *unserialize_callback_func; long serialize_precision; char *safe_mode_exec_dir; long memory_limit; long max_input_time; zend_bool track_errors; zend_bool display_errors; zend_bool display_startup_errors; zend_bool log_errors; long log_errors_max_len; zend_bool ignore_repeated_errors; zend_bool ignore_repeated_source; zend_bool report_memleaks; char *error_log; char *doc_root; char *user_dir; char *include_path; char *open_basedir; char *extension_dir; char *upload_tmp_dir; long upload_max_filesize; char *error_append_string; char *error_prepend_string; char *auto_prepend_file; char *auto_append_file; arg_separators arg_separator; char *variables_order; HashTable rfc1867_protected_variables; short connection_status; short ignore_user_abort; unsigned char header_is_being_sent; zend_llist tick_functions; zval *http_globals[6]; zend_bool expose_php; zend_bool register_globals; zend_bool register_long_arrays; zend_bool register_argc_argv; zend_bool auto_globals_jit; zend_bool y2k_compliance; char *docref_root; char *docref_ext; zend_bool html_errors; zend_bool xmlrpc_errors; long xmlrpc_error_number; zend_bool activated_auto_globals[8]; zend_bool modules_activated; zend_bool file_uploads; zend_bool during_request_startup; zend_bool allow_url_fopen; zend_bool always_populate_raw_post_data; zend_bool report_zend_debug; int last_error_type; char *last_error_message; char *last_error_file; int last_error_lineno; error_handling_t error_handling; zend_class_entry *exception_class; char *disable_functions; char *disable_classes; zend_bool allow_url_include; long max_input_nesting_level; zend_bool in_user_include; }; # 26 "/usr/local/include/php/main/fopen_wrappers.h" 2 int php_fopen_primary_script(zend_file_handle *file_handle ); char *expand_filepath(const char *filepath, char *real_path ); int php_check_open_basedir(const char *path ); int php_check_open_basedir_ex(const char *path, int warn ); int php_check_specific_open_basedir(const char *basedir, const char *path ); int php_check_safe_mode_include_dir(const char *path ); FILE *php_fopen_with_path(const char *filename, const char *mode, const char *path, char **opened_path ); int php_is_url(char *path); char *php_strip_url_passwd(char *path); # 409 "/usr/local/include/php/main/php.h" 2 # 1 "/usr/local/include/php/TSRM/tsrm_virtual_cwd.h" 1 # 26 "/usr/local/include/php/TSRM/tsrm_virtual_cwd.h" # 1 "/usr/local/include/php/TSRM/tsrm_config_common.h" 1 # 13 "/usr/local/include/php/TSRM/tsrm_config_common.h" # 1 "/usr/local/include/php/TSRM/tsrm_config.h" 1 # 1 "/usr/local/include/php/main/php_config.h" 1 # 2815 "/usr/local/include/php/main/php_config.h" # 1 "/usr/local/include/php/ext/php_config.h" 1 # 20 "/usr/local/include/php/ext/php_config.h" # 1 "/usr/local/include/php/ext/session/config.h" 1 # 21 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mysqli/config.h" 1 # 22 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sqlite/config.h" 1 # 24 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/memcache/config.h" 1 # 26 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sqlite3/config.h" 1 # 27 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/rrdtool/config.h" 1 # 28 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/dba/config.h" 1 # 29 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/dbase/config.h" 1 # 30 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mssql/config.h" 1 # 32 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo/config.h" 1 # 34 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_dblib/config.h" 1 # 35 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_mysql/config.h" 1 # 37 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pdo_sqlite/config.h" 1 # 40 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/rrdtool/config.h" 1 # 41 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/id3/config.h" 1 # 43 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/curl/config.h" 1 # 45 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ftp/config.h" 1 # 46 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/exif/config.h" 1 # 52 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/timezonedb/config.h" 1 # 55 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/calendar/config.h" 1 # 56 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/big_int/config.h" 1 # 57 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bitset/config.h" 1 # 58 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/stats/config.h" 1 # 59 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gmp/config.h" 1 # 60 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mailparse/config.h" 1 # 61 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pop3/config.h" 1 # 62 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bbcode/config.h" 1 # 63 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/bcompiler/config.h" 1 # 64 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/expect/config.h" 1 # 65 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/hidef/config.h" 1 # 66 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/htscanner/config.h" 1 # 67 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/inclued/config.h" 1 # 68 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/json/config.h" 1 # 69 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/operator/config.h" 1 # 70 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/params/config.h" 1 # 71 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/runkit/config.h" 1 # 72 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/shp/config.h" 1 # 73 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/uploadprogress/config.h" 1 # 76 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/vld/config.h" 1 # 77 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gettext/config.h" 1 # 78 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ncurses/config.h" 1 # 79 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/readline/config.h" 1 # 81 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/shmop/config.h" 1 # 82 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sysvmsg/config.h" 1 # 83 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sysvsem/config.h" 1 # 84 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sysvshm/config.h" 1 # 85 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/tokenizer/config.h" 1 # 86 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/ctype/config.h" 1 # 87 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/posix/config.h" 1 # 88 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/dom/config.h" 1 # 92 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/snmp/config.h" 1 # 93 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/sockets/config.h" 1 # 94 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/mhash/config.h" 1 # 95 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/cvsclient/config.h" 1 # 98 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/geoip/config.h" 1 # 99 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/radius/config.h" 1 # 100 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xmlrpc/config.h" 1 # 103 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/crack/config.h" 1 # 104 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/gnupg/config.h" 1 # 106 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/tcpwrap/config.h" 1 # 108 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/suhosin/config.h" 1 # 109 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/openssl/config.h" 1 # 110 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/doublemetaphone/config.h" 1 # 112 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/stem/config.h" 1 # 113 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xdiff/config.h" 1 # 115 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xslcache/config.h" 1 # 116 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/pspell/config.h" 1 # 117 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/wddx/config.h" 1 # 118 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xmlreader/config.h" 1 # 119 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xmlwriter/config.h" 1 # 120 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/xsl/config.h" 1 # 121 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/apc/config.h" 1 # 122 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/amf/config.h" 1 # 123 "/usr/local/include/php/ext/php_config.h" 2 # 1 "/usr/local/include/php/ext/tidy/config.h" 1 # 126 "/usr/local/include/php/ext/php_config.h" 2 # 2816 "/usr/local/include/php/main/php_config.h" 2 # 2 "/usr/local/include/php/TSRM/tsrm_config.h" 2 # 14 "/usr/local/include/php/TSRM/tsrm_config_common.h" 2 # 27 "/usr/local/include/php/TSRM/tsrm_virtual_cwd.h" 2 # 1 "/usr/include/utime.h" 1 3 4 # 68 "/usr/include/utime.h" 3 4 struct utimbuf { time_t actime; time_t modtime; }; int utime(const char *, const struct utimbuf *); # 34 "/usr/local/include/php/TSRM/tsrm_virtual_cwd.h" 2 # 1 "/usr/include/gcc/darwin/3.3/stdarg.h" 1 3 4 # 38 "/usr/local/include/php/TSRM/tsrm_virtual_cwd.h" 2 # 89 "/usr/local/include/php/TSRM/tsrm_virtual_cwd.h" # 1 "/usr/include/dirent.h" 1 3 4 # 66 "/usr/include/dirent.h" 3 4 # 1 "/usr/include/sys/dirent.h" 1 3 4 # 86 "/usr/include/sys/dirent.h" 3 4 struct dirent { ino_t d_ino; __uint16_t d_reclen; __uint8_t d_type; __uint8_t d_namlen; char d_name[255 + 1]; }; # 67 "/usr/include/dirent.h" 2 3 4 struct _telldir; typedef struct { int dd_fd; long dd_loc; long dd_size; char *dd_buf; int dd_len; long dd_seek; long dd_rewind; int dd_flags; __darwin_pthread_mutex_t dd_lock; struct _telldir *dd_td; } DIR; # 102 "/usr/include/dirent.h" 3 4 int alphasort(const void *, const void *); int closedir(DIR *) ; int getdirentries(int, char *, int, long *); DIR *opendir(const char *) ; DIR *__opendir2(const char *, int) ; struct dirent *readdir(DIR *); int readdir_r(DIR *, struct dirent *, struct dirent **); void rewinddir(DIR *) ; int scandir(const char *, struct dirent ***, int (*)(struct dirent *), int (*)(const void *, const void *)); void seekdir(DIR *, long) ; long telldir(DIR *) ; # 90 "/usr/local/include/php/TSRM/tsrm_virtual_cwd.h" 2 # 135 "/usr/local/include/php/TSRM/tsrm_virtual_cwd.h" typedef struct _cwd_state { char *cwd; int cwd_length; } cwd_state; typedef int (*verify_path_func)(const cwd_state *); # 156 "/usr/local/include/php/TSRM/tsrm_virtual_cwd.h" char *php_realpath(const char *path, char *resolved); void virtual_cwd_startup(void); void virtual_cwd_shutdown(void); char *virtual_getcwd_ex(size_t *length ); char *virtual_getcwd(char *buf, size_t size ); int virtual_chdir(const char *path ); int virtual_chdir_file(const char *path, int (*p_chdir)(const char *path ) ); int virtual_filepath(const char *path, char **filepath ); int virtual_filepath_ex(const char *path, char **filepath, verify_path_func verify_path ); char *virtual_realpath(const char *path, char *real_path ); FILE *virtual_fopen(const char *path, const char *mode ); int virtual_open(const char *path , int flags, ...); int virtual_creat(const char *path, mode_t mode ); int virtual_rename(char *oldname, char *newname ); int virtual_stat(const char *path, struct stat *buf ); int virtual_lstat(const char *path, struct stat *buf ); int virtual_unlink(const char *path ); int virtual_mkdir(const char *pathname, mode_t mode ); int virtual_rmdir(const char *pathname ); DIR *virtual_opendir(const char *pathname ); FILE *virtual_popen(const char *command, const char *type ); int virtual_access(const char *pathname, int mode ); # 198 "/usr/local/include/php/TSRM/tsrm_virtual_cwd.h" int virtual_utime(const char *filename, struct utimbuf *buf ); int virtual_chmod(const char *filename, mode_t mode ); int virtual_chown(const char *filename, uid_t owner, gid_t group, int link ); # 212 "/usr/local/include/php/TSRM/tsrm_virtual_cwd.h" int virtual_file_ex(cwd_state *state, const char *path, verify_path_func verify_path, int use_realpath); char *tsrm_realpath(const char *path, char *real_path ); typedef struct _realpath_cache_bucket { unsigned long key; char *path; int path_len; char *php_realpath; int realpath_len; time_t expires; struct _realpath_cache_bucket *next; } realpath_cache_bucket; typedef struct _virtual_cwd_globals { cwd_state cwd; long realpath_cache_size; long realpath_cache_size_limit; long realpath_cache_ttl; realpath_cache_bucket *realpath_cache[1024]; } virtual_cwd_globals; extern virtual_cwd_globals cwd_globals; void realpath_cache_clean(void); void realpath_cache_del(const char *path, int path_len ); # 413 "/usr/local/include/php/main/php.h" 2 # 1 "/usr/local/include/php/Zend/zend_constants.h" 1 # 33 "/usr/local/include/php/Zend/zend_constants.h" typedef struct _zend_constant { zval value; int flags; char *name; uint name_len; int module_number; } zend_constant; # 51 "/usr/local/include/php/Zend/zend_constants.h" void clean_module_constants(int module_number ); void free_zend_constant(zend_constant *c); int zend_startup_constants(void); int zend_shutdown_constants(void); void zend_register_standard_constants(void); void clean_non_persistent_constants(void); int zend_get_constant(char *name, uint name_len, zval *result ); int zend_get_constant_ex(char *name, uint name_len, zval *result, zend_class_entry *scope ); void zend_register_long_constant(char *name, uint name_len, long lval, int flags, int module_number ); void zend_register_double_constant(char *name, uint name_len, double dval, int flags, int module_number ); void zend_register_string_constant(char *name, uint name_len, char *strval, int flags, int module_number ); void zend_register_stringl_constant(char *name, uint name_len, char *strval, uint strlen, int flags, int module_number ); int zend_register_constant(zend_constant *c ); void zend_copy_constants(HashTable *target, HashTable *sourc); void copy_zend_constant(zend_constant *c); # 415 "/usr/local/include/php/main/php.h" 2 # 1 "/usr/local/include/php/main/php_reentrancy.h" 1 # 24 "/usr/local/include/php/main/php_reentrancy.h" # 1 "/usr/local/include/php/main/php.h" 1 # 25 "/usr/local/include/php/main/php_reentrancy.h" 2 # 52 "/usr/local/include/php/main/php_reentrancy.h" # 119 "/usr/local/include/php/main/php_reentrancy.h" # 422 "/usr/local/include/php/main/php.h" 2 # 459 "/usr/local/include/php/main/php.h" # 1 "/usr/local/include/php/main/suhosin_patch.h" 1 # 26 "/usr/local/include/php/main/suhosin_patch.h" void suhosin_startup(); # 460 "/usr/local/include/php/main/php.h" 2 # 10 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/xcache.h" 2 # 1 "/usr/local/include/php/main/php_ini.h" 1 # 24 "/usr/local/include/php/main/php_ini.h" # 1 "/usr/local/include/php/Zend/zend_ini.h" 1 # 60 "/usr/local/include/php/Zend/zend_ini.h" typedef struct _zend_ini_entry zend_ini_entry; struct _zend_ini_entry { int module_number; int modifiable; char *name; uint name_length; int (*on_modify)(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage ); void *mh_arg1; void *mh_arg2; void *mh_arg3; char *value; uint value_length; char *orig_value; uint orig_value_length; int modified; void (*displayer)(zend_ini_entry *ini_entry, int type); }; int zend_ini_startup(void); int zend_ini_shutdown(void); int zend_ini_global_shutdown(void); int zend_ini_deactivate(void); int zend_copy_ini_directives(void); void zend_ini_sort_entries(void); int zend_register_ini_entries(zend_ini_entry *ini_entry, int module_number ); void zend_unregister_ini_entries(int module_number ); void zend_ini_refresh_caches(int stage ); int zend_alter_ini_entry(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage); int zend_alter_ini_entry_ex(char *name, uint name_length, char *new_value, uint new_value_length, int modify_type, int stage, int force_change); int zend_restore_ini_entry(char *name, uint name_length, int stage); void display_ini_entries(zend_module_entry *module); long zend_ini_long(char *name, uint name_length, int orig); double zend_ini_double(char *name, uint name_length, int orig); char *zend_ini_string(char *name, uint name_length, int orig); int zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_entry *ini_entry, int type)); void zend_ini_boolean_displayer_cb(zend_ini_entry *ini_entry, int type); void zend_ini_color_displayer_cb(zend_ini_entry *ini_entry, int type); void display_link_numbers(zend_ini_entry *ini_entry, int type); # 176 "/usr/local/include/php/Zend/zend_ini.h" int OnUpdateBool(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage ); int OnUpdateLong(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage ); int OnUpdateLongGEZero(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage ); int OnUpdateReal(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage ); int OnUpdateString(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage ); int OnUpdateStringUnempty(zend_ini_entry *entry, char *new_value, uint new_value_length, void *mh_arg1, void *mh_arg2, void *mh_arg3, int stage ); # 196 "/usr/local/include/php/Zend/zend_ini.h" typedef void (*zend_ini_parser_cb_t)(zval *arg1, zval *arg2, int callback_type, void *arg); int zend_parse_ini_file(zend_file_handle *fh, zend_bool unbuffered_errors, zend_ini_parser_cb_t ini_parser_cb, void *arg); int zend_parse_ini_string(char *str, zend_bool unbuffered_errors, zend_ini_parser_cb_t ini_parser_cb, void *arg); typedef struct _zend_ini_parser_param { zend_ini_parser_cb_t ini_parser_cb; void *arg; } zend_ini_parser_param; # 25 "/usr/local/include/php/main/php_ini.h" 2 int php_init_config(void); int php_shutdown_config(void); void php_ini_register_extensions(void); zval *cfg_get_entry(char *name, uint name_length); int cfg_get_long(char *varname, long *result); int cfg_get_double(char *varname, double *result); int cfg_get_string(char *varname, char **result); # 13 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/xcache.h" 2 # 1 "config.h" 1 # 17 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/xcache.h" 2 # 1 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/xc_shm.h" 1 typedef struct _xc_shm_handlers_t xc_shm_handlers_t; struct _xc_shm_t { const xc_shm_handlers_t *handlers; }; typedef struct _xc_shm_t xc_shm_t; typedef size_t xc_shmsize_t; # 1 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/mem.h" 1 typedef struct _xc_mem_handlers_t xc_mem_handlers_t; struct _xc_mem_t { const xc_mem_handlers_t *handlers; xc_shm_t *shm; }; typedef struct _xc_mem_t xc_mem_t; typedef struct _xc_block_t xc_block_t; typedef unsigned int xc_memsize_t; # 53 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/mem.h" struct _xc_mem_handlers_t { void *(*malloc)(xc_mem_t *mem, xc_memsize_t size); xc_memsize_t (*free)(xc_mem_t *mem, const void *p); void *(*calloc)(xc_mem_t *mem, xc_memsize_t memb, xc_memsize_t size); void *(*realloc)(xc_mem_t *mem, const void *p, xc_memsize_t size); char *(*strndup)(xc_mem_t *mem, const char *str, xc_memsize_t len); char *(*strdup)(xc_mem_t *mem, const char *str); xc_memsize_t (*avail)(xc_mem_t *mem); xc_memsize_t (*size)(xc_mem_t *mem); const xc_block_t *(*freeblock_first)(xc_mem_t *mem); const xc_block_t *(*freeblock_next)(const xc_block_t *block); xc_memsize_t (*block_size)(const xc_block_t *block); xc_memsize_t (*block_offset)(const xc_mem_t *mem, const xc_block_t *block); xc_mem_t *(*init)(xc_shm_t *shm, xc_mem_t *mem, xc_memsize_t size); void (*destroy)(xc_mem_t *mem); }; int xc_mem_scheme_register(const char *name, const xc_mem_handlers_t *handlers); const xc_mem_handlers_t *xc_mem_scheme_find(const char *name); # 14 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/xc_shm.h" 2 # 43 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/xc_shm.h" struct _xc_shm_handlers_t { const xc_mem_handlers_t *memhandlers; int (*can_readonly)(xc_shm_t *shm); int (*is_readwrite)(xc_shm_t *shm, const void *p); int (*is_readonly)(xc_shm_t *shm, const void *p); void *(*to_readwrite)(xc_shm_t *shm, void *p); void *(*to_readonly)(xc_shm_t *shm, void *p); xc_shm_t *(*init)(xc_shmsize_t size, int readonly_protection, const void *arg1, const void *arg2); void (*destroy)(xc_shm_t *shm); xc_mem_t *(*meminit)(xc_shm_t *shm, xc_memsize_t size); void (*memdestroy)(xc_mem_t *mem); }; typedef struct _xc_shm_scheme_t xc_shm_scheme_t; void xc_shm_init_modules(); int xc_shm_scheme_register(const char *name, const xc_shm_handlers_t *handlers); const xc_shm_handlers_t *xc_shm_scheme_find(const char *name); xc_shm_scheme_t *xc_shm_scheme_first(); xc_shm_scheme_t *xc_shm_scheme_next(xc_shm_scheme_t *scheme); const char *xc_shm_scheme_name(xc_shm_scheme_t *scheme); xc_shm_t *xc_shm_init(const char *type, xc_shmsize_t size, int readonly_protection, const void *arg1, const void *arg2); void xc_shm_destroy(xc_shm_t *shm); # 19 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/xcache.h" 2 # 1 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/lock.h" 1 typedef struct _xc_lock_t xc_lock_t; xc_lock_t *xc_fcntl_init(const char *pathname); void xc_fcntl_destroy(xc_lock_t *lck); void xc_fcntl_lock(xc_lock_t *lck); void xc_fcntl_unlock(xc_lock_t *lck); # 20 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/xcache.h" 2 # 88 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/xcache.h" typedef char *zstr; # 141 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/xcache.h" typedef unsigned long xc_hash_value_t; typedef struct { int bits; int size; int mask; } xc_hash_t; typedef zend_class_entry* xc_cest_t; # 165 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/xcache.h" typedef zend_op_array *(zend_compile_file_t)(zend_file_handle *h, int type ); typedef struct _xc_entry_t xc_entry_t; typedef struct { int cacheid; xc_hash_t *hcache; time_t compiling; zend_ulong misses; zend_ulong hits; zend_ulong clogs; zend_ulong ooms; xc_lock_t *lck; xc_shm_t *shm; xc_mem_t *mem; xc_entry_t **entries; int entries_count; xc_entry_t *deletes; int deletes_count; xc_hash_t *hentry; time_t last_gc_deletes; time_t last_gc_expires; } xc_cache_t; typedef struct { zstr key; zend_uint key_size; xc_cest_t cest; int oplineno; } xc_classinfo_t; typedef struct { zstr key; zend_uint key_size; zend_constant constant; } xc_constinfo_t; typedef struct { zstr key; zend_uint key_size; zend_function func; } xc_funcinfo_t; typedef struct { zstr key; zend_uint key_len; } xc_autoglobal_t; typedef enum { XC_TYPE_PHP, XC_TYPE_VAR } xc_entry_type_t; typedef struct { size_t sourcesize; int device; int inode; time_t mtime; zend_op_array *op_array; zend_uint constinfo_cnt; xc_constinfo_t *constinfos; zend_uint funcinfo_cnt; xc_funcinfo_t *funcinfos; zend_uint classinfo_cnt; xc_classinfo_t *classinfos; zend_bool have_early_binding; zend_uint autoglobal_cnt; xc_autoglobal_t *autoglobals; } xc_entry_data_php_t; typedef struct { zval *value; } xc_entry_data_var_t; typedef zvalue_value xc_entry_name_t; struct _xc_entry_t { xc_entry_type_t type; xc_hash_value_t hvalue; xc_entry_t *next; xc_cache_t *cache; size_t size; zend_ulong refcount; zend_ulong hits; time_t ctime; time_t atime; time_t dtime; long ttl; xc_entry_name_t name; union { xc_entry_data_php_t *php; xc_entry_data_var_t *var; } data; zend_bool have_references; }; extern zend_module_entry xcache_module_entry; int xc_is_rw(const void *p); int xc_is_ro(const void *p); int xc_is_shm(const void *p); # 2 "/mnt/gmirror/ports/www/xcache/work/xcache-1.2.1/includes.c" 2