// /usr/libexec/gcc/i686-pc-linux-gnu/3.4.4/cc1 -quiet -I. -I. -I. -I/usr/include/directfb -I/usr/include/SDL -DHAVE_CONFIG_H -D_REENTRANT -D_REENTRANT ipret.c -quiet -dumpbase ipret.c -march=pentium-m -auxbase ipret -O1 -fno-delayed-branch -fcaller-saves -freorder-blocks -falign-jumps -finline-functions -fno-trapping-math -falign-functions=64 -o - -frandom-seed=0 # 1 "ipret.c" # 1 "" # 1 "" # 1 "ipret.c" # 13 "ipret.c" # 1 "cfg.h" 1 # 9 "cfg.h" # 1 "config.h" 1 # 10 "cfg.h" 2 # 14 "ipret.c" 2 # 1 "/usr/include/math.h" 1 3 4 # 27 "/usr/include/math.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 309 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 310 "/usr/include/features.h" 2 3 4 # 332 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 333 "/usr/include/features.h" 2 3 4 # 28 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/huge_val.h" 1 3 4 # 34 "/usr/include/math.h" 2 3 4 # 46 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathdef.h" 1 3 4 # 47 "/usr/include/math.h" 2 3 4 # 70 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__)); extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__)); extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__)); extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__)); extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__)); extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__)); extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__)); extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__)); extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__)); # 87 "/usr/include/bits/mathcalls.h" 3 4 extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__)); extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__)); extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__)); extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__)); extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__)); extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__)); extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); # 127 "/usr/include/bits/mathcalls.h" 3 4 extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__)); extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__)); extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__)); # 152 "/usr/include/bits/mathcalls.h" 3 4 extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__)); extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__)); extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__)); extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 231 "/usr/include/bits/mathcalls.h" 3 4 extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__)); extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__)); extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__)); extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__)); extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__)); extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__)); extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__)); extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__)); extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__)); # 265 "/usr/include/bits/mathcalls.h" 3 4 extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__)); extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__)); extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__)); # 71 "/usr/include/math.h" 2 3 4 # 93 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__)); extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__)); extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__)); extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__)); extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__)); extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__)); extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__)); extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__)); extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__)); # 87 "/usr/include/bits/mathcalls.h" 3 4 extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__)); extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__)); extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__)); extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__)); extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__)); extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__)); extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); # 127 "/usr/include/bits/mathcalls.h" 3 4 extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__)); extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__)); extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__)); # 152 "/usr/include/bits/mathcalls.h" 3 4 extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__)); extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__)); extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__)); extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 231 "/usr/include/bits/mathcalls.h" 3 4 extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__)); extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__)); extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__)); extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__)); extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__)); extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__)); extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__)); extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__)); extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__)); # 265 "/usr/include/bits/mathcalls.h" 3 4 extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__)); extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__)); extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__)); # 94 "/usr/include/math.h" 2 3 4 # 114 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern long double acosl (long double __x) __attribute__ ((__nothrow__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__)); extern long double asinl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__)); extern long double atanl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__)); extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double cosl (long double __x) __attribute__ ((__nothrow__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__)); extern long double sinl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__)); extern long double tanl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__)); extern long double coshl (long double __x) __attribute__ ((__nothrow__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__)); extern long double sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double tanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__)); # 87 "/usr/include/bits/mathcalls.h" 3 4 extern long double acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double expl (long double __x) __attribute__ ((__nothrow__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__)); extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double logl (long double __x) __attribute__ ((__nothrow__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__)); extern long double log10l (long double __x) __attribute__ ((__nothrow__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__)); extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); # 127 "/usr/include/bits/mathcalls.h" 3 4 extern long double expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double logbl (long double __x) __attribute__ ((__nothrow__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__)); # 152 "/usr/include/bits/mathcalls.h" 3 4 extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern int __isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double significandl (long double __x) __attribute__ ((__nothrow__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__)); extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 231 "/usr/include/bits/mathcalls.h" 3 4 extern int __isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double j0l (long double) __attribute__ ((__nothrow__)); extern long double __j0l (long double) __attribute__ ((__nothrow__)); extern long double j1l (long double) __attribute__ ((__nothrow__)); extern long double __j1l (long double) __attribute__ ((__nothrow__)); extern long double jnl (int, long double) __attribute__ ((__nothrow__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__)); extern long double y0l (long double) __attribute__ ((__nothrow__)); extern long double __y0l (long double) __attribute__ ((__nothrow__)); extern long double y1l (long double) __attribute__ ((__nothrow__)); extern long double __y1l (long double) __attribute__ ((__nothrow__)); extern long double ynl (int, long double) __attribute__ ((__nothrow__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__)); extern long double erfl (long double) __attribute__ ((__nothrow__)); extern long double __erfl (long double) __attribute__ ((__nothrow__)); extern long double erfcl (long double) __attribute__ ((__nothrow__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__)); extern long double lgammal (long double) __attribute__ ((__nothrow__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__)); # 265 "/usr/include/bits/mathcalls.h" 3 4 extern long double gammal (long double) __attribute__ ((__nothrow__)); extern long double __gammal (long double) __attribute__ ((__nothrow__)); extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double rintl (long double __x) __attribute__ ((__nothrow__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__)); extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern int ilogbl (long double __x) __attribute__ ((__nothrow__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__)); # 115 "/usr/include/math.h" 2 3 4 # 130 "/usr/include/math.h" 3 4 extern int signgam; # 257 "/usr/include/math.h" 3 4 typedef enum { _IEEE_ = -1, _SVID_, _XOPEN_, _POSIX_, _ISOC_ } _LIB_VERSION_TYPE; extern _LIB_VERSION_TYPE _LIB_VERSION; # 282 "/usr/include/math.h" 3 4 struct exception { int type; char *name; double arg1; double arg2; double retval; }; extern int matherr (struct exception *__exc); # 382 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathinline.h" 1 3 4 # 291 "/usr/include/bits/mathinline.h" 3 4 extern __inline double __sgn (double) __attribute__ ((__nothrow__)); extern __inline double __attribute__ ((__nothrow__)) __sgn (double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline float __sgnf (float) __attribute__ ((__nothrow__)); extern __inline float __attribute__ ((__nothrow__)) __sgnf (float __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline long double __sgnl (long double) __attribute__ ((__nothrow__)); extern __inline long double __attribute__ ((__nothrow__)) __sgnl (long double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } # 433 "/usr/include/bits/mathinline.h" 3 4 extern __inline long double __attribute__ ((__nothrow__)) __atan2l (long double __y, long double __x) { return __builtin_atan2l (__y, __x); } # 473 "/usr/include/bits/mathinline.h" 3 4 extern __inline double __attribute__ ((__nothrow__)) fabs (double __x) { return __builtin_fabs (__x); } extern __inline float __attribute__ ((__nothrow__)) fabsf (float __x) { return __builtin_fabsf (__x); } extern __inline long double __attribute__ ((__nothrow__)) fabsl (long double __x) { return __builtin_fabsl (__x); } extern __inline long double __attribute__ ((__nothrow__)) __fabsl (long double __x) { return __builtin_fabsl (__x); } # 506 "/usr/include/bits/mathinline.h" 3 4 extern __inline long double __sgn1l (long double) __attribute__ ((__nothrow__)); extern __inline long double __attribute__ ((__nothrow__)) __sgn1l (long double __x) { __extension__ union { long double __xld; unsigned int __xi[3]; } __n = { __xld: __x }; __n.__xi[2] = (__n.__xi[2] & 0x8000) | 0x3fff; __n.__xi[1] = 0x80000000; __n.__xi[0] = 0; return __n.__xld; } # 530 "/usr/include/bits/mathinline.h" 3 4 extern __inline double __attribute__ ((__nothrow__)) floor (double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline float __attribute__ ((__nothrow__)) floorf (float __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline long double __attribute__ ((__nothrow__)) floorl (long double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } # 541 "/usr/include/bits/mathinline.h" 3 4 extern __inline double __attribute__ ((__nothrow__)) ceil (double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline float __attribute__ ((__nothrow__)) ceilf (float __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline long double __attribute__ ((__nothrow__)) ceill (long double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } # 713 "/usr/include/bits/mathinline.h" 3 4 extern __inline int __attribute__ ((__nothrow__)) __finite (double __x) { return (__extension__ (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1] | 0x800fffffu) + 1) >> 31)); } # 383 "/usr/include/math.h" 2 3 4 # 438 "/usr/include/math.h" 3 4 # 17 "ipret.c" 2 int js_fun_depth=100; int js_memory_limit=5*1024; # 1 "struct.h" 1 # 1 "links.h" 1 # 39 "links.h" # 1 "cfg.h" 1 # 40 "links.h" 2 # 1 "os_dep.h" 1 # 50 "os_dep.h" static inline int dir_sep(char x) { return x == '/'; } # 1 "/usr/include/pwd.h" 1 3 4 # 28 "/usr/include/pwd.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 213 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 3 4 typedef unsigned int size_t; # 32 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; # 129 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 130 "/usr/include/bits/types.h" 2 3 4 __extension__ typedef __u_quad_t __dev_t; __extension__ typedef unsigned int __uid_t; __extension__ typedef unsigned int __gid_t; __extension__ typedef unsigned long int __ino_t; __extension__ typedef __u_quad_t __ino64_t; __extension__ typedef unsigned int __mode_t; __extension__ typedef unsigned int __nlink_t; __extension__ typedef long int __off_t; __extension__ typedef __quad_t __off64_t; __extension__ typedef int __pid_t; __extension__ typedef struct { int __val[2]; } __fsid_t; __extension__ typedef long int __clock_t; __extension__ typedef unsigned long int __rlim_t; __extension__ typedef __u_quad_t __rlim64_t; __extension__ typedef unsigned int __id_t; __extension__ typedef long int __time_t; __extension__ typedef unsigned int __useconds_t; __extension__ typedef long int __suseconds_t; __extension__ typedef int __daddr_t; __extension__ typedef long int __swblk_t; __extension__ typedef int __key_t; __extension__ typedef int __clockid_t; __extension__ typedef void * __timer_t; __extension__ typedef long int __blksize_t; __extension__ typedef long int __blkcnt_t; __extension__ typedef __quad_t __blkcnt64_t; __extension__ typedef unsigned long int __fsblkcnt_t; __extension__ typedef __u_quad_t __fsblkcnt64_t; __extension__ typedef unsigned long int __fsfilcnt_t; __extension__ typedef __u_quad_t __fsfilcnt64_t; __extension__ typedef int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; __extension__ typedef int __intptr_t; __extension__ typedef unsigned int __socklen_t; # 31 "/usr/include/pwd.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 34 "/usr/include/pwd.h" 2 3 4 # 50 "/usr/include/pwd.h" 3 4 struct passwd { char *pw_name; char *pw_passwd; __uid_t pw_uid; __gid_t pw_gid; char *pw_gecos; char *pw_dir; char *pw_shell; }; # 1 "/usr/include/stdio.h" 1 3 4 # 44 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE FILE; # 65 "/usr/include/pwd.h" 2 3 4 # 73 "/usr/include/pwd.h" 3 4 extern void setpwent (void); extern void endpwent (void); extern struct passwd *getpwent (void); # 95 "/usr/include/pwd.h" 3 4 extern struct passwd *fgetpwent (FILE *__stream); extern int putpwent (__const struct passwd *__restrict __p, FILE *__restrict __f); extern struct passwd *getpwuid (__uid_t __uid); extern struct passwd *getpwnam (__const char *__name); # 140 "/usr/include/pwd.h" 3 4 extern int getpwent_r (struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result); extern int getpwuid_r (__uid_t __uid, struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result); extern int getpwnam_r (__const char *__restrict __name, struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result); # 164 "/usr/include/pwd.h" 3 4 extern int fgetpwent_r (FILE *__restrict __stream, struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result); # 184 "/usr/include/pwd.h" 3 4 # 57 "os_dep.h" 2 # 1 "/usr/include/grp.h" 1 3 4 # 28 "/usr/include/grp.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 34 "/usr/include/grp.h" 2 3 4 # 43 "/usr/include/grp.h" 3 4 struct group { char *gr_name; char *gr_passwd; __gid_t gr_gid; char **gr_mem; }; # 1 "/usr/include/stdio.h" 1 3 4 # 55 "/usr/include/grp.h" 2 3 4 # 63 "/usr/include/grp.h" 3 4 extern void setgrent (void); extern void endgrent (void); extern struct group *getgrent (void); # 85 "/usr/include/grp.h" 3 4 extern struct group *fgetgrent (FILE *__stream); # 103 "/usr/include/grp.h" 3 4 extern struct group *getgrgid (__gid_t __gid); extern struct group *getgrnam (__const char *__name); # 142 "/usr/include/grp.h" 3 4 extern int getgrgid_r (__gid_t __gid, struct group *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct group **__restrict __result); extern int getgrnam_r (__const char *__restrict __name, struct group *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct group **__restrict __result); # 163 "/usr/include/grp.h" 3 4 extern int fgetgrent_r (FILE *__restrict __stream, struct group *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct group **__restrict __result); # 175 "/usr/include/grp.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 176 "/usr/include/grp.h" 2 3 4 extern int setgroups (size_t __n, __const __gid_t *__groups) __attribute__ ((__nothrow__)); # 188 "/usr/include/grp.h" 3 4 extern int getgrouplist (__const char *__user, __gid_t __group, __gid_t *__groups, int *__ngroups); # 199 "/usr/include/grp.h" 3 4 extern int initgroups (__const char *__user, __gid_t __group); # 58 "os_dep.h" 2 # 41 "links.h" 2 # 1 "/usr/include/stdio.h" 1 3 4 # 30 "/usr/include/stdio.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 35 "/usr/include/stdio.h" 2 3 4 # 62 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE __FILE; # 72 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/libio.h" 1 3 4 # 32 "/usr/include/libio.h" 3 4 # 1 "/usr/include/_G_config.h" 1 3 4 # 14 "/usr/include/_G_config.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 325 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 3 4 typedef long int wchar_t; # 354 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 3 4 typedef unsigned int wint_t; # 15 "/usr/include/_G_config.h" 2 3 4 # 24 "/usr/include/_G_config.h" 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 48 "/usr/include/wchar.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 49 "/usr/include/wchar.h" 2 3 4 # 1 "/usr/include/bits/wchar.h" 1 3 4 # 51 "/usr/include/wchar.h" 2 3 4 # 76 "/usr/include/wchar.h" 3 4 typedef struct { int __count; union { wint_t __wch; char __wchb[4]; } __value; } __mbstate_t; # 25 "/usr/include/_G_config.h" 2 3 4 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 44 "/usr/include/_G_config.h" 3 4 # 1 "/usr/include/gconv.h" 1 3 4 # 28 "/usr/include/gconv.h" 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 48 "/usr/include/wchar.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 49 "/usr/include/wchar.h" 2 3 4 # 29 "/usr/include/gconv.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 32 "/usr/include/gconv.h" 2 3 4 enum { __GCONV_OK = 0, __GCONV_NOCONV, __GCONV_NODB, __GCONV_NOMEM, __GCONV_EMPTY_INPUT, __GCONV_FULL_OUTPUT, __GCONV_ILLEGAL_INPUT, __GCONV_INCOMPLETE_INPUT, __GCONV_ILLEGAL_DESCRIPTOR, __GCONV_INTERNAL_ERROR }; enum { __GCONV_IS_LAST = 0x0001, __GCONV_IGNORE_ERRORS = 0x0002 }; struct __gconv_step; struct __gconv_step_data; struct __gconv_loaded_object; struct __gconv_trans_data; typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *, int, int); typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); typedef int (*__gconv_init_fct) (struct __gconv_step *); typedef void (*__gconv_end_fct) (struct __gconv_step *); typedef int (*__gconv_trans_fct) (struct __gconv_step *, struct __gconv_step_data *, void *, __const unsigned char *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *); typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, __const unsigned char *, unsigned char *, unsigned char *); typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, size_t *); typedef int (*__gconv_trans_init_fct) (void **, const char *); typedef void (*__gconv_trans_end_fct) (void *); struct __gconv_trans_data { __gconv_trans_fct __trans_fct; __gconv_trans_context_fct __trans_context_fct; __gconv_trans_end_fct __trans_end_fct; void *__data; struct __gconv_trans_data *__next; }; struct __gconv_step { struct __gconv_loaded_object *__shlib_handle; __const char *__modname; int __counter; char *__from_name; char *__to_name; __gconv_fct __fct; __gconv_btowc_fct __btowc_fct; __gconv_init_fct __init_fct; __gconv_end_fct __end_fct; int __min_needed_from; int __max_needed_from; int __min_needed_to; int __max_needed_to; int __stateful; void *__data; }; struct __gconv_step_data { unsigned char *__outbuf; unsigned char *__outbufend; int __flags; int __invocation_counter; int __internal_use; __mbstate_t *__statep; __mbstate_t __state; struct __gconv_trans_data *__trans; }; typedef struct __gconv_info { size_t __nsteps; struct __gconv_step *__steps; __extension__ struct __gconv_step_data __data []; } *__gconv_t; # 45 "/usr/include/_G_config.h" 2 3 4 typedef union { struct __gconv_info __cd; struct { struct __gconv_info __cd; struct __gconv_step_data __data; } __combined; } _G_iconv_t; typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); # 33 "/usr/include/libio.h" 2 3 4 # 53 "/usr/include/libio.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stdarg.h" 1 3 4 # 43 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 54 "/usr/include/libio.h" 2 3 4 # 166 "/usr/include/libio.h" 3 4 struct _IO_jump_t; struct _IO_FILE; # 176 "/usr/include/libio.h" 3 4 typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 199 "/usr/include/libio.h" 3 4 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 267 "/usr/include/libio.h" 3 4 struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 315 "/usr/include/libio.h" 3 4 __off64_t _offset; void *__pad1; void *__pad2; int _mode; char _unused2[15 * sizeof (int) - 2 * sizeof (void *)]; }; typedef struct _IO_FILE _IO_FILE; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; # 354 "/usr/include/libio.h" 3 4 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, size_t __n); typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); # 406 "/usr/include/libio.h" 3 4 extern int __underflow (_IO_FILE *) __attribute__ ((__nothrow__)); extern int __uflow (_IO_FILE *) __attribute__ ((__nothrow__)); extern int __overflow (_IO_FILE *, int) __attribute__ ((__nothrow__)); extern wint_t __wunderflow (_IO_FILE *) __attribute__ ((__nothrow__)); extern wint_t __wuflow (_IO_FILE *) __attribute__ ((__nothrow__)); extern wint_t __woverflow (_IO_FILE *, wint_t) __attribute__ ((__nothrow__)); # 444 "/usr/include/libio.h" 3 4 extern int _IO_getc (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_putc (int __c, _IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_peekc_locked (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); # 474 "/usr/include/libio.h" 3 4 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict) __attribute__ ((__nothrow__)); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list) __attribute__ ((__nothrow__)); extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) __attribute__ ((__nothrow__)); extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) __attribute__ ((__nothrow__)); extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) __attribute__ ((__nothrow__)); extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__)); extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); # 73 "/usr/include/stdio.h" 2 3 4 # 86 "/usr/include/stdio.h" 3 4 typedef _G_fpos_t fpos_t; # 138 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 139 "/usr/include/stdio.h" 2 3 4 extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; extern int remove (__const char *__filename) __attribute__ ((__nothrow__)); extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); extern FILE *tmpfile (void); # 178 "/usr/include/stdio.h" 3 4 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)); extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)); # 196 "/usr/include/stdio.h" 3 4 extern char *tempnam (__const char *__dir, __const char *__pfx) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); extern int fclose (FILE *__stream); extern int fflush (FILE *__stream); # 221 "/usr/include/stdio.h" 3 4 extern int fflush_unlocked (FILE *__stream); # 235 "/usr/include/stdio.h" 3 4 extern FILE *fopen (__const char *__restrict __filename, __const char *__restrict __modes); extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream); # 262 "/usr/include/stdio.h" 3 4 # 273 "/usr/include/stdio.h" 3 4 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)); # 294 "/usr/include/stdio.h" 3 4 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) __attribute__ ((__nothrow__)); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) __attribute__ ((__nothrow__)); extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); extern int fprintf (FILE *__restrict __stream, __const char *__restrict __format, ...); extern int printf (__const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg); extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)); extern int snprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); # 388 "/usr/include/stdio.h" 3 4 extern int fscanf (FILE *__restrict __stream, __const char *__restrict __format, ...); extern int scanf (__const char *__restrict __format, ...); extern int sscanf (__const char *__restrict __s, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); # 430 "/usr/include/stdio.h" 3 4 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); # 454 "/usr/include/stdio.h" 3 4 extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); # 465 "/usr/include/stdio.h" 3 4 extern int fgetc_unlocked (FILE *__stream); extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); # 498 "/usr/include/stdio.h" 3 4 extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream); extern char *gets (char *__s); # 578 "/usr/include/stdio.h" 3 4 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); extern int puts (__const char *__s); extern int ungetc (int __c, FILE *__stream); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern size_t fwrite (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s); # 631 "/usr/include/stdio.h" 3 4 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream); extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream); extern void rewind (FILE *__stream); # 686 "/usr/include/stdio.h" 3 4 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); extern int fsetpos (FILE *__stream, __const fpos_t *__pos); # 709 "/usr/include/stdio.h" 3 4 # 718 "/usr/include/stdio.h" 3 4 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__)); extern int feof (FILE *__stream) __attribute__ ((__nothrow__)); extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)); extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); extern void perror (__const char *__s); # 1 "/usr/include/bits/sys_errlist.h" 1 3 4 # 27 "/usr/include/bits/sys_errlist.h" 3 4 extern int sys_nerr; extern __const char *__const sys_errlist[]; # 748 "/usr/include/stdio.h" 2 3 4 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)); extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); # 767 "/usr/include/stdio.h" 3 4 extern FILE *popen (__const char *__command, __const char *__modes); extern int pclose (FILE *__stream); extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); # 807 "/usr/include/stdio.h" 3 4 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)); extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); # 828 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio.h" 1 3 4 # 33 "/usr/include/bits/stdio.h" 3 4 extern __inline int vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) { return vfprintf (stdout, __fmt, __arg); } extern __inline int getchar (void) { return _IO_getc (stdin); } extern __inline int getc_unlocked (FILE *__fp) { return (__builtin_expect ((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end, 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline int getchar_unlocked (void) { return (__builtin_expect ((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end, 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); } extern __inline int putchar (int __c) { return _IO_putc (__c, stdout); } extern __inline int fputc_unlocked (int __c, FILE *__stream) { return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putc_unlocked (int __c, FILE *__stream) { return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putchar_unlocked (int __c) { return (__builtin_expect ((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end, 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); } # 111 "/usr/include/bits/stdio.h" 3 4 extern __inline int __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x10) != 0); } extern __inline int __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x20) != 0); } # 829 "/usr/include/stdio.h" 2 3 4 # 42 "links.h" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 33 "/usr/include/stdlib.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 34 "/usr/include/stdlib.h" 2 3 4 # 96 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; # 140 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)); extern double atof (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int atoi (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern long int atol (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int atoll (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern double strtod (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 181 "/usr/include/stdlib.h" 3 4 extern long int strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 277 "/usr/include/stdlib.h" 3 4 extern double __strtod_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern float __strtof_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long double __strtold_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int __strtol_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int __strtoll_internal (__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int __strtoull_internal (__const char * __restrict __nptr, char **__restrict __endptr, int __base, int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern __inline double __attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr) { return __strtod_internal (__nptr, __endptr, 0); } extern __inline long int __attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtol_internal (__nptr, __endptr, __base, 0); } extern __inline unsigned long int __attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoul_internal (__nptr, __endptr, __base, 0); } # 359 "/usr/include/stdlib.h" 3 4 __extension__ extern __inline long long int __attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoll_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline unsigned long long int __attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoull_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline long long int __attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) { return __strtoll_internal (__nptr, __endptr, __base, 0); } __extension__ extern __inline unsigned long long int __attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base) { return __strtoull_internal (__nptr, __endptr, __base, 0); } extern __inline double __attribute__ ((__nothrow__)) atof (__const char *__nptr) { return strtod (__nptr, (char **) ((void *)0)); } extern __inline int __attribute__ ((__nothrow__)) atoi (__const char *__nptr) { return (int) strtol (__nptr, (char **) ((void *)0), 10); } extern __inline long int __attribute__ ((__nothrow__)) atol (__const char *__nptr) { return strtol (__nptr, (char **) ((void *)0), 10); } __extension__ extern __inline long long int __attribute__ ((__nothrow__)) atoll (__const char *__nptr) { return strtoll (__nptr, (char **) ((void *)0), 10); } # 424 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) __attribute__ ((__nothrow__)); extern long int a64l (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 62 "/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 191 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 213 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 214 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 23 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 118 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 128 "/usr/include/sys/select.h" 3 4 # 217 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 29 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); __extension__ extern __inline unsigned int __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) { return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); } __extension__ extern __inline unsigned int __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) { return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); } __extension__ extern __inline unsigned long long int __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) { return ((__minor & 0xff) | ((__major & 0xfff) << 8) | (((unsigned long long int) (__minor & ~0xff)) << 12) | (((unsigned long long int) (__major & ~0xfff)) << 32)); } # 220 "/usr/include/sys/types.h" 2 3 4 # 231 "/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 266 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 36 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[36]; long int __align; } pthread_attr_t; typedef union { struct { int __lock; unsigned int __count; int __owner; int __kind; unsigned int __nusers; int __spins; } __data; char __size[24]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; long int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; long int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; # 267 "/usr/include/sys/types.h" 2 3 4 # 434 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) __attribute__ ((__nothrow__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); extern double drand48 (void) __attribute__ ((__nothrow__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); extern void free (void *__ptr) __attribute__ ((__nothrow__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); # 1 "/usr/include/alloca.h" 1 3 4 # 25 "/usr/include/alloca.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 26 "/usr/include/alloca.h" 2 3 4 extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); # 607 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 620 "/usr/include/stdlib.h" 3 4 extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 652 "/usr/include/stdlib.h" 3 4 extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern char *__secure_getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int setenv (__const char *__name, __const char *__value, int __replace) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); extern int clearenv (void) __attribute__ ((__nothrow__)); # 691 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 702 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))); # 721 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int system (__const char *__command); # 749 "/usr/include/stdlib.h" 3 4 extern char *realpath (__const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__)); typedef int (*__compar_fn_t) (__const void *, __const void *); extern void *bsearch (__const void *__key, __const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))); extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 814 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)); extern int mbtowc (wchar_t *__restrict __pwc, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)); extern size_t mbstowcs (wchar_t *__restrict __pwcs, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); extern size_t wcstombs (char *__restrict __s, __const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__)); extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 954 "/usr/include/stdlib.h" 3 4 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 43 "links.h" 2 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stdarg.h" 1 3 4 # 105 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stdarg.h" 3 4 typedef __gnuc_va_list va_list; # 44 "links.h" 2 # 1 "/usr/include/unistd.h" 1 3 4 # 28 "/usr/include/unistd.h" 3 4 # 171 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/bits/posix_opt.h" 1 3 4 # 172 "/usr/include/unistd.h" 2 3 4 # 195 "/usr/include/unistd.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 196 "/usr/include/unistd.h" 2 3 4 # 236 "/usr/include/unistd.h" 3 4 typedef __intptr_t intptr_t; typedef __socklen_t socklen_t; # 256 "/usr/include/unistd.h" 3 4 extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 287 "/usr/include/unistd.h" 3 4 extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__)); # 305 "/usr/include/unistd.h" 3 4 extern int close (int __fd); extern ssize_t read (int __fd, void *__buf, size_t __nbytes); extern ssize_t write (int __fd, __const void *__buf, size_t __n); # 369 "/usr/include/unistd.h" 3 4 extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)); # 378 "/usr/include/unistd.h" 3 4 extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__)); # 390 "/usr/include/unistd.h" 3 4 extern unsigned int sleep (unsigned int __seconds); extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) __attribute__ ((__nothrow__)); extern int usleep (__useconds_t __useconds); # 414 "/usr/include/unistd.h" 3 4 extern int pause (void); extern int chown (__const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)); extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int fchdir (int __fd) __attribute__ ((__nothrow__)); # 448 "/usr/include/unistd.h" 3 4 extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)); # 461 "/usr/include/unistd.h" 3 4 extern char *getwd (char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int dup (int __fd) __attribute__ ((__nothrow__)); extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__)); extern char **__environ; extern int execve (__const char *__path, char *__const __argv[], char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 492 "/usr/include/unistd.h" 3 4 extern int execv (__const char *__path, char *__const __argv[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int execle (__const char *__path, __const char *__arg, ...) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int execl (__const char *__path, __const char *__arg, ...) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int execvp (__const char *__file, char *__const __argv[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int execlp (__const char *__file, __const char *__arg, ...) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int nice (int __inc) __attribute__ ((__nothrow__)); extern void _exit (int __status) __attribute__ ((__noreturn__)); # 1 "/usr/include/bits/confname.h" 1 3 4 # 26 "/usr/include/bits/confname.h" 3 4 enum { _PC_LINK_MAX, _PC_MAX_CANON, _PC_MAX_INPUT, _PC_NAME_MAX, _PC_PATH_MAX, _PC_PIPE_BUF, _PC_CHOWN_RESTRICTED, _PC_NO_TRUNC, _PC_VDISABLE, _PC_SYNC_IO, _PC_ASYNC_IO, _PC_PRIO_IO, _PC_SOCK_MAXBUF, _PC_FILESIZEBITS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, _PC_ALLOC_SIZE_MIN, _PC_SYMLINK_MAX, _PC_2_SYMLINKS }; enum { _SC_ARG_MAX, _SC_CHILD_MAX, _SC_CLK_TCK, _SC_NGROUPS_MAX, _SC_OPEN_MAX, _SC_STREAM_MAX, _SC_TZNAME_MAX, _SC_JOB_CONTROL, _SC_SAVED_IDS, _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS, _SC_AIO_LISTIO_MAX, _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX, _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_VERSION, _SC_PAGESIZE, _SC_RTSIG_MAX, _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, _SC_TIMER_MAX, _SC_BC_BASE_MAX, _SC_BC_DIM_MAX, _SC_BC_SCALE_MAX, _SC_BC_STRING_MAX, _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_EXPR_NEST_MAX, _SC_LINE_MAX, _SC_RE_DUP_MAX, _SC_CHARCLASS_NAME_MAX, _SC_2_VERSION, _SC_2_C_BIND, _SC_2_C_DEV, _SC_2_FORT_DEV, _SC_2_FORT_RUN, _SC_2_SW_DEV, _SC_2_LOCALEDEF, _SC_PII, _SC_PII_XTI, _SC_PII_SOCKET, _SC_PII_INTERNET, _SC_PII_OSI, _SC_POLL, _SC_SELECT, _SC_UIO_MAXIOV, _SC_IOV_MAX = _SC_UIO_MAXIOV, _SC_PII_INTERNET_STREAM, _SC_PII_INTERNET_DGRAM, _SC_PII_OSI_COTS, _SC_PII_OSI_CLTS, _SC_PII_OSI_M, _SC_T_IOV_MAX, _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_GETGR_R_SIZE_MAX, _SC_GETPW_R_SIZE_MAX, _SC_LOGIN_NAME_MAX, _SC_TTY_NAME_MAX, _SC_THREAD_DESTRUCTOR_ITERATIONS, _SC_THREAD_KEYS_MAX, _SC_THREAD_STACK_MIN, _SC_THREAD_THREADS_MAX, _SC_THREAD_ATTR_STACKADDR, _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING, _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT, _SC_THREAD_PROCESS_SHARED, _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES, _SC_ATEXIT_MAX, _SC_PASS_MAX, _SC_XOPEN_VERSION, _SC_XOPEN_XCU_VERSION, _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N, _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, _SC_2_UPE, _SC_XOPEN_XPG2, _SC_XOPEN_XPG3, _SC_XOPEN_XPG4, _SC_CHAR_BIT, _SC_CHAR_MAX, _SC_CHAR_MIN, _SC_INT_MAX, _SC_INT_MIN, _SC_LONG_BIT, _SC_WORD_BIT, _SC_MB_LEN_MAX, _SC_NZERO, _SC_SSIZE_MAX, _SC_SCHAR_MAX, _SC_SCHAR_MIN, _SC_SHRT_MAX, _SC_SHRT_MIN, _SC_UCHAR_MAX, _SC_UINT_MAX, _SC_ULONG_MAX, _SC_USHRT_MAX, _SC_NL_ARGMAX, _SC_NL_LANGMAX, _SC_NL_MSGMAX, _SC_NL_NMAX, _SC_NL_SETMAX, _SC_NL_TEXTMAX, _SC_XBS5_ILP32_OFF32, _SC_XBS5_ILP32_OFFBIG, _SC_XBS5_LP64_OFF64, _SC_XBS5_LPBIG_OFFBIG, _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME, _SC_XOPEN_REALTIME_THREADS, _SC_ADVISORY_INFO, _SC_BARRIERS, _SC_BASE, _SC_C_LANG_SUPPORT, _SC_C_LANG_SUPPORT_R, _SC_CLOCK_SELECTION, _SC_CPUTIME, _SC_THREAD_CPUTIME, _SC_DEVICE_IO, _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO, _SC_PIPE, _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM, _SC_MONOTONIC_CLOCK, _SC_MULTI_PROCESS, _SC_SINGLE_PROCESS, _SC_NETWORKING, _SC_READER_WRITER_LOCKS, _SC_SPIN_LOCKS, _SC_REGEXP, _SC_REGEX_VERSION, _SC_SHELL, _SC_SIGNALS, _SC_SPAWN, _SC_SPORADIC_SERVER, _SC_THREAD_SPORADIC_SERVER, _SC_SYSTEM_DATABASE, _SC_SYSTEM_DATABASE_R, _SC_TIMEOUTS, _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R, _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK, _SC_SYMLOOP_MAX, _SC_STREAMS, _SC_2_PBS_CHECKPOINT, _SC_V6_ILP32_OFF32, _SC_V6_ILP32_OFFBIG, _SC_V6_LP64_OFF64, _SC_V6_LPBIG_OFFBIG, _SC_HOST_NAME_MAX, _SC_TRACE, _SC_TRACE_EVENT_FILTER, _SC_TRACE_INHERIT, _SC_TRACE_LOG, _SC_LEVEL1_ICACHE_SIZE, _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE, _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC, _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE, _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE, _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC, _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE, _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE, _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, _SC_RAW_SOCKETS }; enum { _CS_PATH, _CS_V6_WIDTH_RESTRICTED_ENVS, _CS_GNU_LIBC_VERSION, _CS_GNU_LIBPTHREAD_VERSION, _CS_LFS_CFLAGS = 1000, _CS_LFS_LDFLAGS, _CS_LFS_LIBS, _CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, _CS_LFS64_LDFLAGS, _CS_LFS64_LIBS, _CS_LFS64_LINTFLAGS, _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, _CS_XBS5_ILP32_OFF32_LDFLAGS, _CS_XBS5_ILP32_OFF32_LIBS, _CS_XBS5_ILP32_OFF32_LINTFLAGS, _CS_XBS5_ILP32_OFFBIG_CFLAGS, _CS_XBS5_ILP32_OFFBIG_LDFLAGS, _CS_XBS5_ILP32_OFFBIG_LIBS, _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, _CS_XBS5_LP64_OFF64_CFLAGS, _CS_XBS5_LP64_OFF64_LDFLAGS, _CS_XBS5_LP64_OFF64_LIBS, _CS_XBS5_LP64_OFF64_LINTFLAGS, _CS_XBS5_LPBIG_OFFBIG_CFLAGS, _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, _CS_XBS5_LPBIG_OFFBIG_LIBS, _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, _CS_POSIX_V6_ILP32_OFF32_CFLAGS, _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, _CS_POSIX_V6_ILP32_OFF32_LIBS, _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LIBS, _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, _CS_POSIX_V6_LP64_OFF64_CFLAGS, _CS_POSIX_V6_LP64_OFF64_LDFLAGS, _CS_POSIX_V6_LP64_OFF64_LIBS, _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS }; # 531 "/usr/include/unistd.h" 2 3 4 extern long int pathconf (__const char *__path, int __name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__)); extern long int sysconf (int __name) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__)); extern __pid_t getpid (void) __attribute__ ((__nothrow__)); extern __pid_t getppid (void) __attribute__ ((__nothrow__)); extern __pid_t getpgrp (void) __attribute__ ((__nothrow__)); # 567 "/usr/include/unistd.h" 3 4 extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__)); # 576 "/usr/include/unistd.h" 3 4 extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__)); # 593 "/usr/include/unistd.h" 3 4 extern int setpgrp (void) __attribute__ ((__nothrow__)); # 610 "/usr/include/unistd.h" 3 4 extern __pid_t setsid (void) __attribute__ ((__nothrow__)); extern __uid_t getuid (void) __attribute__ ((__nothrow__)); extern __uid_t geteuid (void) __attribute__ ((__nothrow__)); extern __gid_t getgid (void) __attribute__ ((__nothrow__)); extern __gid_t getegid (void) __attribute__ ((__nothrow__)); extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)); # 643 "/usr/include/unistd.h" 3 4 extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__)); extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__)); extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__)); extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__)); extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__)); extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__)); # 695 "/usr/include/unistd.h" 3 4 extern __pid_t fork (void) __attribute__ ((__nothrow__)); extern __pid_t vfork (void) __attribute__ ((__nothrow__)); extern char *ttyname (int __fd) __attribute__ ((__nothrow__)); extern int ttyname_r (int __fd, char *__buf, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int isatty (int __fd) __attribute__ ((__nothrow__)); extern int ttyslot (void) __attribute__ ((__nothrow__)); extern int link (__const char *__from, __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int symlink (__const char *__from, __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int readlink (__const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__)); extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__)); extern char *getlogin (void); extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); extern int setlogin (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 783 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/getopt.h" 1 3 4 # 59 "/usr/include/getopt.h" 3 4 extern char *optarg; # 73 "/usr/include/getopt.h" 3 4 extern int optind; extern int opterr; extern int optopt; # 152 "/usr/include/getopt.h" 3 4 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __attribute__ ((__nothrow__)); # 784 "/usr/include/unistd.h" 2 3 4 extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sethostname (__const char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sethostid (long int __id) __attribute__ ((__nothrow__)); extern int getdomainname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int setdomainname (__const char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int vhangup (void) __attribute__ ((__nothrow__)); extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int profil (unsigned short int *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int acct (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern char *getusershell (void) __attribute__ ((__nothrow__)); extern void endusershell (void) __attribute__ ((__nothrow__)); extern void setusershell (void) __attribute__ ((__nothrow__)); extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)); extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1))); # 869 "/usr/include/unistd.h" 3 4 extern int fsync (int __fd); extern long int gethostid (void); extern void sync (void) __attribute__ ((__nothrow__)); extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int getdtablesize (void) __attribute__ ((__nothrow__)); extern int truncate (__const char *__file, __off_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 916 "/usr/include/unistd.h" 3 4 extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__)); # 936 "/usr/include/unistd.h" 3 4 extern int brk (void *__addr) __attribute__ ((__nothrow__)); extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__)); # 957 "/usr/include/unistd.h" 3 4 extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__)); # 980 "/usr/include/unistd.h" 3 4 extern int lockf (int __fd, int __cmd, __off_t __len); # 1011 "/usr/include/unistd.h" 3 4 extern int fdatasync (int __fildes) __attribute__ ((__nothrow__)); # 1043 "/usr/include/unistd.h" 3 4 # 46 "links.h" 2 # 1 "/usr/include/string.h" 1 3 4 # 28 "/usr/include/string.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 34 "/usr/include/string.h" 2 3 4 extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, __const void *__src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memchr (__const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 82 "/usr/include/string.h" 3 4 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 130 "/usr/include/string.h" 3 4 extern char *strdup (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 165 "/usr/include/string.h" 3 4 extern char *strchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strrchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 181 "/usr/include/string.h" 3 4 extern size_t strcspn (__const char *__s, __const char *__reject) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strpbrk (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strstr (__const char *__haystack, __const char *__needle) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); # 240 "/usr/include/string.h" 3 4 extern size_t strlen (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 254 "/usr/include/string.h" 3 4 extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); # 281 "/usr/include/string.h" 3 4 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void bcopy (__const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *index (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *rindex (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 325 "/usr/include/string.h" 3 4 extern int strcasecmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 348 "/usr/include/string.h" 3 4 extern char *strsep (char **__restrict __stringp, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); # 414 "/usr/include/string.h" 3 4 # 1 "/usr/include/bits/string.h" 1 3 4 # 415 "/usr/include/string.h" 2 3 4 # 1 "/usr/include/bits/string2.h" 1 3 4 # 394 "/usr/include/bits/string2.h" 3 4 extern void *__rawmemchr (const void *__s, int __c); # 969 "/usr/include/bits/string2.h" 3 4 extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); extern __inline size_t __strcspn_c1 (__const char *__s, int __reject) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject) ++__result; return __result; } extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, int __reject2); extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, int __reject2) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject1 && __s[__result] != __reject2) ++__result; return __result; } extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, int __reject2, int __reject3); extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, int __reject2, int __reject3) { register size_t __result = 0; while (__s[__result] != '\0' && __s[__result] != __reject1 && __s[__result] != __reject2 && __s[__result] != __reject3) ++__result; return __result; } # 1045 "/usr/include/bits/string2.h" 3 4 extern __inline size_t __strspn_c1 (__const char *__s, int __accept); extern __inline size_t __strspn_c1 (__const char *__s, int __accept) { register size_t __result = 0; while (__s[__result] == __accept) ++__result; return __result; } extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, int __accept2); extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, int __accept2) { register size_t __result = 0; while (__s[__result] == __accept1 || __s[__result] == __accept2) ++__result; return __result; } extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3); extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) { register size_t __result = 0; while (__s[__result] == __accept1 || __s[__result] == __accept2 || __s[__result] == __accept3) ++__result; return __result; } # 1121 "/usr/include/bits/string2.h" 3 4 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, int __accept2); extern __inline char * __strpbrk_c2 (__const char *__s, int __accept1, int __accept2) { while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) ++__s; return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; } extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, int __accept2, int __accept3); extern __inline char * __strpbrk_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) { while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 && *__s != __accept3) ++__s; return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; } # 1173 "/usr/include/bits/string2.h" 3 4 extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); extern __inline char * __strtok_r_1c (char *__s, char __sep, char **__nextp) { char *__result; if (__s == ((void *)0)) __s = *__nextp; while (*__s == __sep) ++__s; __result = ((void *)0); if (*__s != '\0') { __result = __s++; while (*__s != '\0') if (*__s++ == __sep) { __s[-1] = '\0'; break; } *__nextp = __s; } return __result; } # 1205 "/usr/include/bits/string2.h" 3 4 extern char *__strsep_g (char **__stringp, __const char *__delim); # 1223 "/usr/include/bits/string2.h" 3 4 extern __inline char *__strsep_1c (char **__s, char __reject); extern __inline char * __strsep_1c (char **__s, char __reject) { register char *__retval = *__s; if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) *(*__s)++ = '\0'; return __retval; } extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); extern __inline char * __strsep_2c (char **__s, char __reject1, char __reject2) { register char *__retval = *__s; if (__retval != ((void *)0)) { register char *__cp = __retval; while (1) { if (*__cp == '\0') { __cp = ((void *)0); break; } if (*__cp == __reject1 || *__cp == __reject2) { *__cp++ = '\0'; break; } ++__cp; } *__s = __cp; } return __retval; } extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3); extern __inline char * __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) { register char *__retval = *__s; if (__retval != ((void *)0)) { register char *__cp = __retval; while (1) { if (*__cp == '\0') { __cp = ((void *)0); break; } if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) { *__cp++ = '\0'; break; } ++__cp; } *__s = __cp; } return __retval; } # 1304 "/usr/include/bits/string2.h" 3 4 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 1323 "/usr/include/bits/string2.h" 3 4 extern char *__strndup (__const char *__string, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); # 418 "/usr/include/string.h" 2 3 4 # 426 "/usr/include/string.h" 3 4 # 48 "links.h" 2 # 1 "/usr/include/errno.h" 1 3 4 # 32 "/usr/include/errno.h" 3 4 # 1 "/usr/include/bits/errno.h" 1 3 4 # 25 "/usr/include/bits/errno.h" 3 4 # 1 "/usr/include/linux/errno.h" 1 3 4 # 1 "/usr/include/asm/errno.h" 1 3 4 # 1 "/usr/include/asm-generic/errno.h" 1 3 4 # 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 # 5 "/usr/include/asm-generic/errno.h" 2 3 4 # 5 "/usr/include/asm/errno.h" 2 3 4 # 5 "/usr/include/linux/errno.h" 2 3 4 # 26 "/usr/include/bits/errno.h" 2 3 4 # 38 "/usr/include/bits/errno.h" 3 4 extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 37 "/usr/include/errno.h" 2 3 4 # 59 "/usr/include/errno.h" 3 4 # 49 "links.h" 2 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/limits.h" 1 3 4 # 11 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/limits.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/syslimits.h" 1 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/limits.h" 1 3 4 # 122 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 144 "/usr/include/limits.h" 3 4 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 # 153 "/usr/include/bits/posix1_lim.h" 3 4 # 1 "/usr/include/bits/local_lim.h" 1 3 4 # 36 "/usr/include/bits/local_lim.h" 3 4 # 1 "/usr/include/linux/limits.h" 1 3 4 # 37 "/usr/include/bits/local_lim.h" 2 3 4 # 154 "/usr/include/bits/posix1_lim.h" 2 3 4 # 145 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 # 149 "/usr/include/limits.h" 2 3 4 # 123 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/limits.h" 2 3 4 # 8 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/syslimits.h" 2 3 4 # 12 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/limits.h" 2 3 4 # 51 "links.h" 2 # 65 "links.h" # 1 "/usr/include/sys/time.h" 1 3 4 # 26 "/usr/include/sys/time.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 27 "/usr/include/sys/time.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 29 "/usr/include/sys/time.h" 2 3 4 # 38 "/usr/include/sys/time.h" 3 4 # 56 "/usr/include/sys/time.h" 3 4 struct timezone { int tz_minuteswest; int tz_dsttime; }; typedef struct timezone *__restrict __timezone_ptr_t; # 72 "/usr/include/sys/time.h" 3 4 extern int gettimeofday (struct timeval *__restrict __tv, __timezone_ptr_t __tz) __attribute__ ((__nothrow__)); extern int settimeofday (__const struct timeval *__tv, __const struct timezone *__tz) __attribute__ ((__nothrow__)); extern int adjtime (__const struct timeval *__delta, struct timeval *__olddelta) __attribute__ ((__nothrow__)); enum __itimer_which { ITIMER_REAL = 0, ITIMER_VIRTUAL = 1, ITIMER_PROF = 2 }; struct itimerval { struct timeval it_interval; struct timeval it_value; }; typedef int __itimer_which_t; extern int getitimer (__itimer_which_t __which, struct itimerval *__value) __attribute__ ((__nothrow__)); extern int setitimer (__itimer_which_t __which, __const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __attribute__ ((__nothrow__)); extern int utimes (__const char *__file, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)); extern int lutimes (__const char *__file, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)); extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)); # 181 "/usr/include/sys/time.h" 3 4 # 66 "links.h" 2 # 1 "/usr/include/time.h" 1 3 4 # 30 "/usr/include/time.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 39 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 40 "/usr/include/bits/time.h" 3 4 extern long int __sysconf (int); # 43 "/usr/include/time.h" 2 3 4 # 58 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 129 "/usr/include/time.h" 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; __const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; # 178 "/usr/include/time.h" 3 4 extern clock_t clock (void) __attribute__ ((__nothrow__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern char *strptime (__const char *__restrict __s, __const char *__restrict __fmt, struct tm *__tp) __attribute__ ((__nothrow__)); # 226 "/usr/include/time.h" 3 4 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *gmtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern struct tm *localtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__)); extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern char *asctime_r (__const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *ctime_r (__const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__)); extern int daylight; extern long int timezone; extern int stime (__const time_t *__when) __attribute__ ((__nothrow__)); # 309 "/usr/include/time.h" 3 4 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__)); extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 324 "/usr/include/time.h" 3 4 extern int nanosleep (__const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__)); extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) __attribute__ ((__nothrow__)); # 353 "/usr/include/time.h" 3 4 extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__)); extern int timer_settime (timer_t __timerid, int __flags, __const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__)); # 413 "/usr/include/time.h" 3 4 # 68 "links.h" 2 # 83 "links.h" # 1 "/usr/include/sys/stat.h" 1 3 4 # 103 "/usr/include/sys/stat.h" 3 4 # 1 "/usr/include/bits/stat.h" 1 3 4 # 36 "/usr/include/bits/stat.h" 3 4 struct stat { __dev_t st_dev; unsigned short int __pad1; __ino_t st_ino; __mode_t st_mode; __nlink_t st_nlink; __uid_t st_uid; __gid_t st_gid; __dev_t st_rdev; unsigned short int __pad2; __off_t st_size; __blksize_t st_blksize; __blkcnt_t st_blocks; # 70 "/usr/include/bits/stat.h" 3 4 struct timespec st_atim; struct timespec st_mtim; struct timespec st_ctim; # 85 "/usr/include/bits/stat.h" 3 4 unsigned long int __unused4; unsigned long int __unused5; }; # 106 "/usr/include/sys/stat.h" 2 3 4 # 207 "/usr/include/sys/stat.h" 3 4 extern int stat (__const char *__restrict __file, struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 235 "/usr/include/sys/stat.h" 3 4 extern int lstat (__const char *__restrict __file, struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); # 256 "/usr/include/sys/stat.h" 3 4 extern int chmod (__const char *__file, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int lchmod (__const char *__file, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__)); extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__)); # 284 "/usr/include/sys/stat.h" 3 4 extern int mkdir (__const char *__path, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int mkfifo (__const char *__path, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 324 "/usr/include/sys/stat.h" 3 4 extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); extern int __xstat (int __ver, __const char *__filename, struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern int __lxstat (int __ver, __const char *__filename, struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); # 357 "/usr/include/sys/stat.h" 3 4 extern int __xmknod (int __ver, __const char *__path, __mode_t __mode, __dev_t *__dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern __inline__ int __attribute__ ((__nothrow__)) stat (__const char *__path, struct stat *__statbuf) { return __xstat (3, __path, __statbuf); } extern __inline__ int __attribute__ ((__nothrow__)) lstat (__const char *__path, struct stat *__statbuf) { return __lxstat (3, __path, __statbuf); } extern __inline__ int __attribute__ ((__nothrow__)) fstat (int __fd, struct stat *__statbuf) { return __fxstat (3, __fd, __statbuf); } extern __inline__ int __attribute__ ((__nothrow__)) mknod (__const char *__path, __mode_t __mode, __dev_t __dev) { return __xmknod (1, __path, __mode, &__dev); } # 417 "/usr/include/sys/stat.h" 3 4 # 84 "links.h" 2 # 1 "/usr/include/fcntl.h" 1 3 4 # 29 "/usr/include/fcntl.h" 3 4 # 1 "/usr/include/bits/fcntl.h" 1 3 4 # 138 "/usr/include/bits/fcntl.h" 3 4 struct flock { short int l_type; short int l_whence; __off_t l_start; __off_t l_len; __pid_t l_pid; }; # 183 "/usr/include/bits/fcntl.h" 3 4 extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count) __attribute__ ((__nothrow__)); # 34 "/usr/include/fcntl.h" 2 3 4 # 63 "/usr/include/fcntl.h" 3 4 extern int fcntl (int __fd, int __cmd, ...); # 72 "/usr/include/fcntl.h" 3 4 extern int open (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1))); # 91 "/usr/include/fcntl.h" 3 4 extern int creat (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1))); # 174 "/usr/include/fcntl.h" 3 4 # 86 "links.h" 2 # 1 "/usr/include/dirent.h" 1 3 4 # 28 "/usr/include/dirent.h" 3 4 # 62 "/usr/include/dirent.h" 3 4 # 1 "/usr/include/bits/dirent.h" 1 3 4 # 23 "/usr/include/bits/dirent.h" 3 4 struct dirent { __ino_t d_ino; __off_t d_off; unsigned short int d_reclen; unsigned char d_type; char d_name[256]; }; # 63 "/usr/include/dirent.h" 2 3 4 # 98 "/usr/include/dirent.h" 3 4 enum { DT_UNKNOWN = 0, DT_FIFO = 1, DT_CHR = 2, DT_DIR = 4, DT_BLK = 6, DT_REG = 8, DT_LNK = 10, DT_SOCK = 12, DT_WHT = 14 }; # 128 "/usr/include/dirent.h" 3 4 typedef struct __dirstream DIR; extern DIR *opendir (__const char *__name) __attribute__ ((__nonnull__ (1))); extern int closedir (DIR *__dirp) __attribute__ ((__nonnull__ (1))); # 155 "/usr/include/dirent.h" 3 4 extern struct dirent *readdir (DIR *__dirp) __attribute__ ((__nonnull__ (1))); # 176 "/usr/include/dirent.h" 3 4 extern int readdir_r (DIR *__restrict __dirp, struct dirent *__restrict __entry, struct dirent **__restrict __result) __attribute__ ((__nonnull__ (1, 2, 3))); # 201 "/usr/include/dirent.h" 3 4 extern void rewinddir (DIR *__dirp) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void seekdir (DIR *__dirp, long int __pos) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int telldir (DIR *__dirp) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int dirfd (DIR *__dirp) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 235 "/usr/include/dirent.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 236 "/usr/include/dirent.h" 2 3 4 extern int scandir (__const char *__restrict __dir, struct dirent ***__restrict __namelist, int (*__selector) (__const struct dirent *), int (*__cmp) (__const void *, __const void *)) __attribute__ ((__nonnull__ (1, 2))); # 272 "/usr/include/dirent.h" 3 4 extern int alphasort (__const void *__e1, __const void *__e2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 316 "/usr/include/dirent.h" 3 4 extern __ssize_t getdirentries (int __fd, char *__restrict __buf, size_t __nbytes, __off_t *__restrict __basep) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); # 341 "/usr/include/dirent.h" 3 4 # 89 "links.h" 2 # 1 "/usr/include/signal.h" 1 3 4 # 31 "/usr/include/signal.h" 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 103 "/usr/include/bits/sigset.h" 3 4 extern int __sigismember (__const __sigset_t *, int); extern int __sigaddset (__sigset_t *, int); extern int __sigdelset (__sigset_t *, int); # 117 "/usr/include/bits/sigset.h" 3 4 extern __inline int __sigismember (__const __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return (__set->__val[__word] & __mask) ? 1 : 0; } extern __inline int __sigaddset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] |= __mask), 0); } extern __inline int __sigdelset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] &= ~__mask), 0); } # 34 "/usr/include/signal.h" 2 3 4 typedef __sig_atomic_t sig_atomic_t; # 58 "/usr/include/signal.h" 3 4 # 1 "/usr/include/bits/signum.h" 1 3 4 # 59 "/usr/include/signal.h" 2 3 4 # 75 "/usr/include/signal.h" 3 4 typedef void (*__sighandler_t) (int); extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); # 90 "/usr/include/signal.h" 3 4 extern __sighandler_t signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); # 104 "/usr/include/signal.h" 3 4 # 117 "/usr/include/signal.h" 3 4 extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__)); extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__)); extern int raise (int __sig) __attribute__ ((__nothrow__)); extern __sighandler_t ssignal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); extern int gsignal (int __sig) __attribute__ ((__nothrow__)); extern void psignal (int __sig, __const char *__s); # 153 "/usr/include/signal.h" 3 4 extern int __sigpause (int __sig_or_mask, int __is_sig); # 181 "/usr/include/signal.h" 3 4 extern int sigblock (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); # 201 "/usr/include/signal.h" 3 4 typedef __sighandler_t sig_t; # 212 "/usr/include/signal.h" 3 4 # 1 "/usr/include/bits/siginfo.h" 1 3 4 # 25 "/usr/include/bits/siginfo.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 26 "/usr/include/bits/siginfo.h" 2 3 4 typedef union sigval { int sival_int; void *sival_ptr; } sigval_t; # 51 "/usr/include/bits/siginfo.h" 3 4 typedef struct siginfo { int si_signo; int si_errno; int si_code; union { int _pad[((128 / sizeof (int)) - 3)]; struct { __pid_t si_pid; __uid_t si_uid; } _kill; struct { int si_tid; int si_overrun; sigval_t si_sigval; } _timer; struct { __pid_t si_pid; __uid_t si_uid; sigval_t si_sigval; } _rt; struct { __pid_t si_pid; __uid_t si_uid; int si_status; __clock_t si_utime; __clock_t si_stime; } _sigchld; struct { void *si_addr; } _sigfault; struct { long int si_band; int si_fd; } _sigpoll; } _sifields; } siginfo_t; # 129 "/usr/include/bits/siginfo.h" 3 4 enum { SI_ASYNCNL = -60, SI_TKILL = -6, SI_SIGIO, SI_ASYNCIO, SI_MESGQ, SI_TIMER, SI_QUEUE, SI_USER, SI_KERNEL = 0x80 }; enum { ILL_ILLOPC = 1, ILL_ILLOPN, ILL_ILLADR, ILL_ILLTRP, ILL_PRVOPC, ILL_PRVREG, ILL_COPROC, ILL_BADSTK }; enum { FPE_INTDIV = 1, FPE_INTOVF, FPE_FLTDIV, FPE_FLTOVF, FPE_FLTUND, FPE_FLTRES, FPE_FLTINV, FPE_FLTSUB }; enum { SEGV_MAPERR = 1, SEGV_ACCERR }; enum { BUS_ADRALN = 1, BUS_ADRERR, BUS_OBJERR }; enum { TRAP_BRKPT = 1, TRAP_TRACE }; enum { CLD_EXITED = 1, CLD_KILLED, CLD_DUMPED, CLD_TRAPPED, CLD_STOPPED, CLD_CONTINUED }; enum { POLL_IN = 1, POLL_OUT, POLL_MSG, POLL_ERR, POLL_PRI, POLL_HUP }; # 273 "/usr/include/bits/siginfo.h" 3 4 typedef struct sigevent { sigval_t sigev_value; int sigev_signo; int sigev_notify; union { int _pad[((64 / sizeof (int)) - 3)]; __pid_t _tid; struct { void (*_function) (sigval_t); void *_attribute; } _sigev_thread; } _sigev_un; } sigevent_t; enum { SIGEV_SIGNAL = 0, SIGEV_NONE, SIGEV_THREAD, SIGEV_THREAD_ID = 4 }; # 213 "/usr/include/signal.h" 2 3 4 extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigismember (__const sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 246 "/usr/include/signal.h" 3 4 # 1 "/usr/include/bits/sigaction.h" 1 3 4 # 25 "/usr/include/bits/sigaction.h" 3 4 struct sigaction { union { __sighandler_t sa_handler; void (*sa_sigaction) (int, siginfo_t *, void *); } __sigaction_handler; __sigset_t sa_mask; int sa_flags; void (*sa_restorer) (void); }; # 247 "/usr/include/signal.h" 2 3 4 extern int sigprocmask (int __how, __const sigset_t *__restrict __set, sigset_t *__restrict __oset) __attribute__ ((__nothrow__)); extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1))); extern int sigaction (int __sig, __const struct sigaction *__restrict __act, struct sigaction *__restrict __oact) __attribute__ ((__nothrow__)); extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig) __attribute__ ((__nonnull__ (1, 2))); extern int sigwaitinfo (__const sigset_t *__restrict __set, siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1))); extern int sigtimedwait (__const sigset_t *__restrict __set, siginfo_t *__restrict __info, __const struct timespec *__restrict __timeout) __attribute__ ((__nonnull__ (1))); extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val) __attribute__ ((__nothrow__)); # 304 "/usr/include/signal.h" 3 4 extern __const char *__const _sys_siglist[65]; extern __const char *__const sys_siglist[65]; struct sigvec { __sighandler_t sv_handler; int sv_mask; int sv_flags; }; # 328 "/usr/include/signal.h" 3 4 extern int sigvec (int __sig, __const struct sigvec *__vec, struct sigvec *__ovec) __attribute__ ((__nothrow__)); # 1 "/usr/include/bits/sigcontext.h" 1 3 4 # 28 "/usr/include/bits/sigcontext.h" 3 4 # 1 "/usr/include/asm/sigcontext.h" 1 3 4 # 1 "/usr/include/linux/compiler.h" 1 3 4 # 5 "/usr/include/asm/sigcontext.h" 2 3 4 # 20 "/usr/include/asm/sigcontext.h" 3 4 struct _fpreg { unsigned short significand[4]; unsigned short exponent; }; struct _fpxreg { unsigned short significand[4]; unsigned short exponent; unsigned short padding[3]; }; struct _xmmreg { unsigned long element[4]; }; struct _fpstate { unsigned long cw; unsigned long sw; unsigned long tag; unsigned long ipoff; unsigned long cssel; unsigned long dataoff; unsigned long datasel; struct _fpreg _st[8]; unsigned short status; unsigned short magic; unsigned long _fxsr_env[6]; unsigned long mxcsr; unsigned long reserved; struct _fpxreg _fxsr_st[8]; struct _xmmreg _xmm[8]; unsigned long padding[56]; }; struct sigcontext { unsigned short gs, __gsh; unsigned short fs, __fsh; unsigned short es, __esh; unsigned short ds, __dsh; unsigned long edi; unsigned long esi; unsigned long ebp; unsigned long esp; unsigned long ebx; unsigned long edx; unsigned long ecx; unsigned long eax; unsigned long trapno; unsigned long err; unsigned long eip; unsigned short cs, __csh; unsigned long eflags; unsigned long esp_at_signal; unsigned short ss, __ssh; struct _fpstate * fpstate; unsigned long oldmask; unsigned long cr2; }; # 29 "/usr/include/bits/sigcontext.h" 2 3 4 # 334 "/usr/include/signal.h" 2 3 4 extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__)); # 346 "/usr/include/signal.h" 3 4 extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__)); # 1 "/usr/include/bits/sigstack.h" 1 3 4 # 26 "/usr/include/bits/sigstack.h" 3 4 struct sigstack { void *ss_sp; int ss_onstack; }; enum { SS_ONSTACK = 1, SS_DISABLE }; # 50 "/usr/include/bits/sigstack.h" 3 4 typedef struct sigaltstack { void *ss_sp; int ss_flags; size_t ss_size; } stack_t; # 349 "/usr/include/signal.h" 2 3 4 # 357 "/usr/include/signal.h" 3 4 extern int sigstack (struct sigstack *__ss, struct sigstack *__oss) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); extern int sigaltstack (__const struct sigaltstack *__restrict __ss, struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__)); # 387 "/usr/include/signal.h" 3 4 # 1 "/usr/include/bits/sigthread.h" 1 3 4 # 31 "/usr/include/bits/sigthread.h" 3 4 extern int pthread_sigmask (int __how, __const __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__)); extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__)); # 388 "/usr/include/signal.h" 2 3 4 extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__)); extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__)); # 91 "links.h" 2 # 1 "/usr/include/sys/wait.h" 1 3 4 # 28 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/sys/resource.h" 1 3 4 # 25 "/usr/include/sys/resource.h" 3 4 # 1 "/usr/include/bits/resource.h" 1 3 4 # 33 "/usr/include/bits/resource.h" 3 4 enum __rlimit_resource { RLIMIT_CPU = 0, RLIMIT_FSIZE = 1, RLIMIT_DATA = 2, RLIMIT_STACK = 3, RLIMIT_CORE = 4, __RLIMIT_RSS = 5, RLIMIT_NOFILE = 7, __RLIMIT_OFILE = RLIMIT_NOFILE, RLIMIT_AS = 9, __RLIMIT_NPROC = 6, __RLIMIT_MEMLOCK = 8, __RLIMIT_LOCKS = 10, __RLIMIT_SIGPENDING = 11, __RLIMIT_MSGQUEUE = 12, __RLIMIT_NLIMITS = 13, __RLIM_NLIMITS = __RLIMIT_NLIMITS }; # 116 "/usr/include/bits/resource.h" 3 4 typedef __rlim_t rlim_t; struct rlimit { rlim_t rlim_cur; rlim_t rlim_max; }; # 143 "/usr/include/bits/resource.h" 3 4 enum __rusage_who { RUSAGE_SELF = 0, RUSAGE_CHILDREN = -1 }; # 1 "/usr/include/bits/time.h" 1 3 4 # 156 "/usr/include/bits/resource.h" 2 3 4 struct rusage { struct timeval ru_utime; struct timeval ru_stime; long int ru_maxrss; long int ru_ixrss; long int ru_idrss; long int ru_isrss; long int ru_minflt; long int ru_majflt; long int ru_nswap; long int ru_inblock; long int ru_oublock; long int ru_msgsnd; long int ru_msgrcv; long int ru_nsignals; long int ru_nvcsw; long int ru_nivcsw; }; enum __priority_which { PRIO_PROCESS = 0, PRIO_PGRP = 1, PRIO_USER = 2 }; # 26 "/usr/include/sys/resource.h" 2 3 4 # 43 "/usr/include/sys/resource.h" 3 4 typedef int __rlimit_resource_t; typedef int __rusage_who_t; typedef int __priority_which_t; extern int getrlimit (__rlimit_resource_t __resource, struct rlimit *__rlimits) __attribute__ ((__nothrow__)); # 70 "/usr/include/sys/resource.h" 3 4 extern int setrlimit (__rlimit_resource_t __resource, __const struct rlimit *__rlimits) __attribute__ ((__nothrow__)); # 88 "/usr/include/sys/resource.h" 3 4 extern int getrusage (__rusage_who_t __who, struct rusage *__usage) __attribute__ ((__nothrow__)); extern int getpriority (__priority_which_t __which, id_t __who) __attribute__ ((__nothrow__)); extern int setpriority (__priority_which_t __which, id_t __who, int __prio) __attribute__ ((__nothrow__)); # 32 "/usr/include/sys/wait.h" 2 3 4 # 1 "/usr/include/bits/waitflags.h" 1 3 4 # 38 "/usr/include/sys/wait.h" 2 3 4 # 62 "/usr/include/sys/wait.h" 3 4 typedef union { union wait *__uptr; int *__iptr; } __WAIT_STATUS __attribute__ ((__transparent_union__)); # 79 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/bits/waitstatus.h" 1 3 4 # 67 "/usr/include/bits/waitstatus.h" 3 4 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; } __wait_stopped; }; # 80 "/usr/include/sys/wait.h" 2 3 4 # 101 "/usr/include/sys/wait.h" 3 4 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; # 115 "/usr/include/sys/wait.h" 3 4 extern __pid_t wait (__WAIT_STATUS __stat_loc); # 138 "/usr/include/sys/wait.h" 3 4 extern __pid_t waitpid (__pid_t __pid, int *__stat_loc, int __options); # 1 "/usr/include/bits/siginfo.h" 1 3 4 # 25 "/usr/include/bits/siginfo.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 26 "/usr/include/bits/siginfo.h" 2 3 4 # 143 "/usr/include/sys/wait.h" 2 3 4 # 154 "/usr/include/sys/wait.h" 3 4 extern int waitid (idtype_t __idtype, __id_t __id, siginfo_t *__infop, int __options); struct rusage; extern __pid_t wait3 (__WAIT_STATUS __stat_loc, int __options, struct rusage * __usage) __attribute__ ((__nothrow__)); struct rusage; extern __pid_t wait4 (__pid_t __pid, __WAIT_STATUS __stat_loc, int __options, struct rusage *__usage) __attribute__ ((__nothrow__)); # 96 "links.h" 2 # 110 "links.h" # 1 "/usr/include/sys/utsname.h" 1 3 4 # 28 "/usr/include/sys/utsname.h" 3 4 # 1 "/usr/include/bits/utsname.h" 1 3 4 # 31 "/usr/include/sys/utsname.h" 2 3 4 # 49 "/usr/include/sys/utsname.h" 3 4 struct utsname { char sysname[65]; char nodename[65]; char release[65]; char version[65]; char machine[65]; char __domainname[65]; }; # 82 "/usr/include/sys/utsname.h" 3 4 extern int uname (struct utsname *__name) __attribute__ ((__nothrow__)); # 111 "links.h" 2 # 1 "/usr/include/setjmp.h" 1 3 4 # 28 "/usr/include/setjmp.h" 3 4 # 1 "/usr/include/bits/setjmp.h" 1 3 4 # 38 "/usr/include/bits/setjmp.h" 3 4 typedef int __jmp_buf[6]; # 31 "/usr/include/setjmp.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 32 "/usr/include/setjmp.h" 2 3 4 typedef struct __jmp_buf_tag { __jmp_buf __jmpbuf; int __mask_was_saved; __sigset_t __saved_mask; } jmp_buf[1]; extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__)); extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__)); extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__)); # 76 "/usr/include/setjmp.h" 3 4 extern void longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void _longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); typedef struct __jmp_buf_tag sigjmp_buf[1]; # 108 "/usr/include/setjmp.h" 3 4 extern void siglongjmp (sigjmp_buf __env, int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 115 "links.h" 2 # 1 "/usr/include/netinet/in_systm.h" 1 3 4 # 26 "/usr/include/netinet/in_systm.h" 3 4 # 35 "/usr/include/netinet/in_systm.h" 3 4 typedef u_int16_t n_short; typedef u_int32_t n_long; typedef u_int32_t n_time; # 120 "links.h" 2 # 1 "/usr/include/netdb.h" 1 3 4 # 28 "/usr/include/netdb.h" 3 4 # 1 "/usr/include/netinet/in.h" 1 3 4 # 23 "/usr/include/netinet/in.h" 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 28 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/stdint.h" 2 3 4 # 49 "/usr/include/stdint.h" 3 4 typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; __extension__ typedef unsigned long long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; __extension__ typedef long long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; __extension__ typedef unsigned long long int uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; __extension__ typedef long long int int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; __extension__ typedef unsigned long long int uint_fast64_t; # 129 "/usr/include/stdint.h" 3 4 typedef unsigned int uintptr_t; # 138 "/usr/include/stdint.h" 3 4 __extension__ typedef long long int intmax_t; __extension__ typedef unsigned long long int uintmax_t; # 24 "/usr/include/netinet/in.h" 2 3 4 # 1 "/usr/include/sys/socket.h" 1 3 4 # 25 "/usr/include/sys/socket.h" 3 4 # 1 "/usr/include/sys/uio.h" 1 3 4 # 26 "/usr/include/sys/uio.h" 3 4 # 1 "/usr/include/bits/uio.h" 1 3 4 # 42 "/usr/include/bits/uio.h" 3 4 struct iovec { void *iov_base; size_t iov_len; }; # 30 "/usr/include/sys/uio.h" 2 3 4 # 40 "/usr/include/sys/uio.h" 3 4 extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count); # 50 "/usr/include/sys/uio.h" 3 4 extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count); # 28 "/usr/include/sys/socket.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 30 "/usr/include/sys/socket.h" 2 3 4 # 1 "/usr/include/bits/socket.h" 1 3 4 # 29 "/usr/include/bits/socket.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 30 "/usr/include/bits/socket.h" 2 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/limits.h" 1 3 4 # 32 "/usr/include/bits/socket.h" 2 3 4 # 41 "/usr/include/bits/socket.h" 3 4 enum __socket_type { SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_PACKET = 10 }; # 142 "/usr/include/bits/socket.h" 3 4 # 1 "/usr/include/bits/sockaddr.h" 1 3 4 # 29 "/usr/include/bits/sockaddr.h" 3 4 typedef unsigned short int sa_family_t; # 143 "/usr/include/bits/socket.h" 2 3 4 struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; # 162 "/usr/include/bits/socket.h" 3 4 struct sockaddr_storage { sa_family_t ss_family; __uint32_t __ss_align; char __ss_padding[(128 - (2 * sizeof (__uint32_t)))]; }; enum { MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_DONTROUTE = 0x04, MSG_CTRUNC = 0x08, MSG_PROXY = 0x10, MSG_TRUNC = 0x20, MSG_DONTWAIT = 0x40, MSG_EOR = 0x80, MSG_WAITALL = 0x100, MSG_FIN = 0x200, MSG_SYN = 0x400, MSG_CONFIRM = 0x800, MSG_RST = 0x1000, MSG_ERRQUEUE = 0x2000, MSG_NOSIGNAL = 0x4000, MSG_MORE = 0x8000 }; struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; size_t msg_iovlen; void *msg_control; size_t msg_controllen; int msg_flags; }; struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; __extension__ unsigned char __cmsg_data []; }; # 257 "/usr/include/bits/socket.h" 3 4 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __attribute__ ((__nothrow__)); extern __inline__ struct cmsghdr * __attribute__ ((__nothrow__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) { if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) return 0; __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))); if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen) || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen))) return 0; return __cmsg; } enum { SCM_RIGHTS = 0x01 , SCM_CREDENTIALS = 0x02 }; struct ucred { pid_t pid; uid_t uid; gid_t gid; }; # 1 "/usr/include/asm/socket.h" 1 3 4 # 1 "/usr/include/asm/sockios.h" 1 3 4 # 5 "/usr/include/asm/socket.h" 2 3 4 # 305 "/usr/include/bits/socket.h" 2 3 4 struct linger { int l_onoff; int l_linger; }; # 36 "/usr/include/sys/socket.h" 2 3 4 struct osockaddr { unsigned short int sa_family; unsigned char sa_data[14]; }; enum { SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; # 100 "/usr/include/sys/socket.h" 3 4 extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__)); extern int socketpair (int __domain, int __type, int __protocol, int __fds[2]) __attribute__ ((__nothrow__)); extern int bind (int __fd, __const struct sockaddr * __addr, socklen_t __len) __attribute__ ((__nothrow__)); extern int getsockname (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__)); # 124 "/usr/include/sys/socket.h" 3 4 extern int connect (int __fd, __const struct sockaddr * __addr, socklen_t __len); extern int getpeername (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__)); extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags); extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); extern ssize_t sendto (int __fd, __const void *__buf, size_t __n, int __flags, __const struct sockaddr * __addr, socklen_t __addr_len); # 161 "/usr/include/sys/socket.h" 3 4 extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern ssize_t sendmsg (int __fd, __const struct msghdr *__message, int __flags); extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) __attribute__ ((__nothrow__)); extern int setsockopt (int __fd, int __level, int __optname, __const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__)); extern int listen (int __fd, int __n) __attribute__ ((__nothrow__)); # 209 "/usr/include/sys/socket.h" 3 4 extern int accept (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__)); # 231 "/usr/include/sys/socket.h" 3 4 extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__)); # 25 "/usr/include/netinet/in.h" 2 3 4 enum { IPPROTO_IP = 0, IPPROTO_HOPOPTS = 0, IPPROTO_ICMP = 1, IPPROTO_IGMP = 2, IPPROTO_IPIP = 4, IPPROTO_TCP = 6, IPPROTO_EGP = 8, IPPROTO_PUP = 12, IPPROTO_UDP = 17, IPPROTO_IDP = 22, IPPROTO_TP = 29, IPPROTO_IPV6 = 41, IPPROTO_ROUTING = 43, IPPROTO_FRAGMENT = 44, IPPROTO_RSVP = 46, IPPROTO_GRE = 47, IPPROTO_ESP = 50, IPPROTO_AH = 51, IPPROTO_ICMPV6 = 58, IPPROTO_NONE = 59, IPPROTO_DSTOPTS = 60, IPPROTO_MTP = 92, IPPROTO_ENCAP = 98, IPPROTO_PIM = 103, IPPROTO_COMP = 108, IPPROTO_SCTP = 132, IPPROTO_RAW = 255, IPPROTO_MAX }; typedef uint16_t in_port_t; enum { IPPORT_ECHO = 7, IPPORT_DISCARD = 9, IPPORT_SYSTAT = 11, IPPORT_DAYTIME = 13, IPPORT_NETSTAT = 15, IPPORT_FTP = 21, IPPORT_TELNET = 23, IPPORT_SMTP = 25, IPPORT_TIMESERVER = 37, IPPORT_NAMESERVER = 42, IPPORT_WHOIS = 43, IPPORT_MTP = 57, IPPORT_TFTP = 69, IPPORT_RJE = 77, IPPORT_FINGER = 79, IPPORT_TTYLINK = 87, IPPORT_SUPDUP = 95, IPPORT_EXECSERVER = 512, IPPORT_LOGINSERVER = 513, IPPORT_CMDSERVER = 514, IPPORT_EFSSERVER = 520, IPPORT_BIFFUDP = 512, IPPORT_WHOSERVER = 513, IPPORT_ROUTESERVER = 520, IPPORT_RESERVED = 1024, IPPORT_USERRESERVED = 5000 }; typedef uint32_t in_addr_t; struct in_addr { in_addr_t s_addr; }; # 193 "/usr/include/netinet/in.h" 3 4 struct in6_addr { union { uint8_t u6_addr8[16]; uint16_t u6_addr16[8]; uint32_t u6_addr32[4]; } in6_u; }; extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; # 219 "/usr/include/netinet/in.h" 3 4 struct sockaddr_in { sa_family_t sin_family; in_port_t sin_port; struct in_addr sin_addr; unsigned char sin_zero[sizeof (struct sockaddr) - (sizeof (unsigned short int)) - sizeof (in_port_t) - sizeof (struct in_addr)]; }; struct sockaddr_in6 { sa_family_t sin6_family; in_port_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; }; struct ip_mreq { struct in_addr imr_multiaddr; struct in_addr imr_interface; }; struct ip_mreq_source { struct in_addr imr_multiaddr; struct in_addr imr_interface; struct in_addr imr_sourceaddr; }; struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; unsigned int ipv6mr_interface; }; struct group_req { uint32_t gr_interface; struct sockaddr_storage gr_group; }; struct group_source_req { uint32_t gsr_interface; struct sockaddr_storage gsr_group; struct sockaddr_storage gsr_source; }; struct ip_msfilter { struct in_addr imsf_multiaddr; struct in_addr imsf_interface; uint32_t imsf_fmode; uint32_t imsf_numsrc; struct in_addr imsf_slist[1]; }; struct group_filter { uint32_t gf_interface; struct sockaddr_storage gf_group; uint32_t gf_fmode; uint32_t gf_numsrc; struct sockaddr_storage gf_slist[1]; }; # 345 "/usr/include/netinet/in.h" 3 4 # 1 "/usr/include/bits/in.h" 1 3 4 # 82 "/usr/include/bits/in.h" 3 4 struct ip_opts { struct in_addr ip_dst; char ip_opts[40]; }; struct ip_mreqn { struct in_addr imr_multiaddr; struct in_addr imr_address; int imr_ifindex; }; struct in_pktinfo { int ipi_ifindex; struct in_addr ipi_spec_dst; struct in_addr ipi_addr; }; # 346 "/usr/include/netinet/in.h" 2 3 4 # 354 "/usr/include/netinet/in.h" 3 4 extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern uint16_t ntohs (uint16_t __netshort) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern uint32_t htonl (uint32_t __hostlong) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern uint16_t htons (uint16_t __hostshort) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 366 "/usr/include/netinet/in.h" 2 3 4 # 428 "/usr/include/netinet/in.h" 3 4 extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__)); extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) __attribute__ ((__nothrow__)); # 456 "/usr/include/netinet/in.h" 3 4 struct in6_pktinfo { struct in6_addr ipi6_addr; unsigned int ipi6_ifindex; }; # 510 "/usr/include/netinet/in.h" 3 4 # 29 "/usr/include/netdb.h" 2 3 4 # 1 "/usr/include/rpc/netdb.h" 1 3 4 # 42 "/usr/include/rpc/netdb.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 43 "/usr/include/rpc/netdb.h" 2 3 4 struct rpcent { char *r_name; char **r_aliases; int r_number; }; extern void setrpcent (int __stayopen) __attribute__ ((__nothrow__)); extern void endrpcent (void) __attribute__ ((__nothrow__)); extern struct rpcent *getrpcbyname (__const char *__name) __attribute__ ((__nothrow__)); extern struct rpcent *getrpcbynumber (int __number) __attribute__ ((__nothrow__)); extern struct rpcent *getrpcent (void) __attribute__ ((__nothrow__)); extern int getrpcbyname_r (__const char *__name, struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__)); extern int getrpcbynumber_r (int __number, struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__)); extern int getrpcent_r (struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__)); # 34 "/usr/include/netdb.h" 2 3 4 # 43 "/usr/include/netdb.h" 3 4 # 1 "/usr/include/bits/netdb.h" 1 3 4 # 27 "/usr/include/bits/netdb.h" 3 4 struct netent { char *n_name; char **n_aliases; int n_addrtype; uint32_t n_net; }; # 44 "/usr/include/netdb.h" 2 3 4 # 54 "/usr/include/netdb.h" 3 4 extern int *__h_errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 88 "/usr/include/netdb.h" 3 4 extern void herror (__const char *__str) __attribute__ ((__nothrow__)); extern __const char *hstrerror (int __err_num) __attribute__ ((__nothrow__)); struct hostent { char *h_name; char **h_aliases; int h_addrtype; int h_length; char **h_addr_list; }; extern void sethostent (int __stay_open); extern void endhostent (void); extern struct hostent *gethostent (void); extern struct hostent *gethostbyaddr (__const void *__addr, __socklen_t __len, int __type); extern struct hostent *gethostbyname (__const char *__name); # 149 "/usr/include/netdb.h" 3 4 extern struct hostent *gethostbyname2 (__const char *__name, int __af); # 161 "/usr/include/netdb.h" 3 4 extern int gethostent_r (struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyaddr_r (__const void *__restrict __addr, __socklen_t __len, int __type, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyname_r (__const char *__restrict __name, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyname2_r (__const char *__restrict __name, int __af, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); # 192 "/usr/include/netdb.h" 3 4 extern void setnetent (int __stay_open); extern void endnetent (void); extern struct netent *getnetent (void); extern struct netent *getnetbyaddr (uint32_t __net, int __type); extern struct netent *getnetbyname (__const char *__name); # 231 "/usr/include/netdb.h" 3 4 extern int getnetent_r (struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); extern int getnetbyaddr_r (uint32_t __net, int __type, struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); extern int getnetbyname_r (__const char *__restrict __name, struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); struct servent { char *s_name; char **s_aliases; int s_port; char *s_proto; }; extern void setservent (int __stay_open); extern void endservent (void); extern struct servent *getservent (void); extern struct servent *getservbyname (__const char *__name, __const char *__proto); extern struct servent *getservbyport (int __port, __const char *__proto); # 303 "/usr/include/netdb.h" 3 4 extern int getservent_r (struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); extern int getservbyname_r (__const char *__restrict __name, __const char *__restrict __proto, struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); extern int getservbyport_r (int __port, __const char *__restrict __proto, struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); struct protoent { char *p_name; char **p_aliases; int p_proto; }; extern void setprotoent (int __stay_open); extern void endprotoent (void); extern struct protoent *getprotoent (void); extern struct protoent *getprotobyname (__const char *__name); extern struct protoent *getprotobynumber (int __proto); # 369 "/usr/include/netdb.h" 3 4 extern int getprotoent_r (struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); extern int getprotobyname_r (__const char *__restrict __name, struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); extern int getprotobynumber_r (int __proto, struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); # 390 "/usr/include/netdb.h" 3 4 extern int setnetgrent (__const char *__netgroup); extern void endnetgrent (void); # 407 "/usr/include/netdb.h" 3 4 extern int getnetgrent (char **__restrict __hostp, char **__restrict __userp, char **__restrict __domainp); # 418 "/usr/include/netdb.h" 3 4 extern int innetgr (__const char *__netgroup, __const char *__host, __const char *, __const char *domain); extern int getnetgrent_r (char **__restrict __hostp, char **__restrict __userp, char **__restrict __domainp, char *__restrict __buffer, size_t __buflen); # 446 "/usr/include/netdb.h" 3 4 extern int rcmd (char **__restrict __ahost, unsigned short int __rport, __const char *__restrict __locuser, __const char *__restrict __remuser, __const char *__restrict __cmd, int *__restrict __fd2p); # 458 "/usr/include/netdb.h" 3 4 extern int rcmd_af (char **__restrict __ahost, unsigned short int __rport, __const char *__restrict __locuser, __const char *__restrict __remuser, __const char *__restrict __cmd, int *__restrict __fd2p, sa_family_t __af); # 474 "/usr/include/netdb.h" 3 4 extern int rexec (char **__restrict __ahost, int __rport, __const char *__restrict __name, __const char *__restrict __pass, __const char *__restrict __cmd, int *__restrict __fd2p); # 486 "/usr/include/netdb.h" 3 4 extern int rexec_af (char **__restrict __ahost, int __rport, __const char *__restrict __name, __const char *__restrict __pass, __const char *__restrict __cmd, int *__restrict __fd2p, sa_family_t __af); # 500 "/usr/include/netdb.h" 3 4 extern int ruserok (__const char *__rhost, int __suser, __const char *__remuser, __const char *__locuser); # 510 "/usr/include/netdb.h" 3 4 extern int ruserok_af (__const char *__rhost, int __suser, __const char *__remuser, __const char *__locuser, sa_family_t __af); # 522 "/usr/include/netdb.h" 3 4 extern int rresvport (int *__alport); # 531 "/usr/include/netdb.h" 3 4 extern int rresvport_af (int *__alport, sa_family_t __af); struct addrinfo { int ai_flags; int ai_family; int ai_socktype; int ai_protocol; socklen_t ai_addrlen; struct sockaddr *ai_addr; char *ai_canonname; struct addrinfo *ai_next; }; # 631 "/usr/include/netdb.h" 3 4 extern int getaddrinfo (__const char *__restrict __name, __const char *__restrict __service, __const struct addrinfo *__restrict __req, struct addrinfo **__restrict __pai); extern void freeaddrinfo (struct addrinfo *__ai) __attribute__ ((__nothrow__)); extern __const char *gai_strerror (int __ecode) __attribute__ ((__nothrow__)); extern int getnameinfo (__const struct sockaddr *__restrict __sa, socklen_t __salen, char *__restrict __host, socklen_t __hostlen, char *__restrict __serv, socklen_t __servlen, unsigned int __flags); # 682 "/usr/include/netdb.h" 3 4 # 126 "links.h" 2 # 1 "/usr/include/netinet/ip.h" 1 3 4 # 27 "/usr/include/netinet/ip.h" 3 4 struct timestamp { u_int8_t len; u_int8_t ptr; unsigned int flags:4; unsigned int overflow:4; u_int32_t data[9]; }; struct iphdr { unsigned int ihl:4; unsigned int version:4; u_int8_t tos; u_int16_t tot_len; u_int16_t id; u_int16_t frag_off; u_int8_t ttl; u_int8_t protocol; u_int16_t check; u_int32_t saddr; u_int32_t daddr; }; # 108 "/usr/include/netinet/ip.h" 3 4 struct ip { unsigned int ip_hl:4; unsigned int ip_v:4; u_int8_t ip_tos; u_short ip_len; u_short ip_id; u_short ip_off; u_int8_t ip_ttl; u_int8_t ip_p; u_short ip_sum; struct in_addr ip_src, ip_dst; }; struct ip_timestamp { u_int8_t ipt_code; u_int8_t ipt_len; u_int8_t ipt_ptr; unsigned int ipt_flg:4; unsigned int ipt_oflw:4; u_int32_t data[9]; }; # 247 "/usr/include/netinet/ip.h" 3 4 # 130 "links.h" 2 # 1 "/usr/include/utime.h" 1 3 4 # 28 "/usr/include/utime.h" 3 4 # 38 "/usr/include/utime.h" 3 4 struct utimbuf { __time_t actime; __time_t modtime; }; extern int utime (__const char *__file, __const struct utimbuf *__file_times) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 135 "links.h" 2 # 1 "/usr/include/openssl/ssl.h" 1 3 4 # 168 "/usr/include/openssl/ssl.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 169 "/usr/include/openssl/ssl.h" 2 3 4 # 1 "/usr/include/openssl/comp.h" 1 3 4 # 1 "/usr/include/openssl/crypto.h" 1 3 4 # 68 "/usr/include/openssl/crypto.h" 3 4 # 1 "/usr/include/openssl/stack.h" 1 3 4 # 66 "/usr/include/openssl/stack.h" 3 4 typedef struct stack_st { int num; char **data; int sorted; int num_alloc; int (*comp)(const char * const *, const char * const *); } STACK; int sk_num(const STACK *); char *sk_value(const STACK *, int); char *sk_set(STACK *, int, char *); STACK *sk_new(int (*cmp)(const char * const *, const char * const *)); STACK *sk_new_null(void); void sk_free(STACK *); void sk_pop_free(STACK *st, void (*func)(void *)); int sk_insert(STACK *sk,char *data,int where); char *sk_delete(STACK *st,int loc); char *sk_delete_ptr(STACK *st, char *p); int sk_find(STACK *st,char *data); int sk_push(STACK *st,char *data); int sk_unshift(STACK *st,char *data); char *sk_shift(STACK *st); char *sk_pop(STACK *st); void sk_zero(STACK *st); int (*sk_set_cmp_func(STACK *sk, int (*c)(const char * const *, const char * const *))) (const char * const *, const char * const *); STACK *sk_dup(STACK *st); void sk_sort(STACK *st); int sk_is_sorted(const STACK *st); # 69 "/usr/include/openssl/crypto.h" 2 3 4 # 1 "/usr/include/openssl/safestack.h" 1 3 4 # 70 "/usr/include/openssl/crypto.h" 2 3 4 # 1 "/usr/include/openssl/opensslv.h" 1 3 4 # 71 "/usr/include/openssl/crypto.h" 2 3 4 # 1 "/usr/include/openssl/symhacks.h" 1 3 4 # 58 "/usr/include/openssl/symhacks.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 59 "/usr/include/openssl/symhacks.h" 2 3 4 # 79 "/usr/include/openssl/crypto.h" 2 3 4 # 165 "/usr/include/openssl/crypto.h" 3 4 typedef struct { int references; struct CRYPTO_dynlock_value *data; } CRYPTO_dynlock; # 192 "/usr/include/openssl/crypto.h" 3 4 typedef struct bio_st BIO_dummy; typedef struct crypto_ex_data_st { STACK *sk; int dummy; } CRYPTO_EX_DATA; typedef int CRYPTO_EX_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp); typedef void CRYPTO_EX_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp); typedef int CRYPTO_EX_dup(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from, void *from_d, int idx, long argl, void *argp); typedef struct crypto_ex_data_func_st { long argl; void *argp; CRYPTO_EX_new *new_func; CRYPTO_EX_free *free_func; CRYPTO_EX_dup *dup_func; } CRYPTO_EX_DATA_FUNCS; # 270 "/usr/include/openssl/crypto.h" 3 4 int CRYPTO_mem_ctrl(int mode); int CRYPTO_is_mem_check_on(void); # 297 "/usr/include/openssl/crypto.h" 3 4 const char *SSLeay_version(int type); unsigned long SSLeay(void); int OPENSSL_issetugid(void); typedef struct st_CRYPTO_EX_DATA_IMPL CRYPTO_EX_DATA_IMPL; const CRYPTO_EX_DATA_IMPL *CRYPTO_get_ex_data_implementation(void); int CRYPTO_set_ex_data_implementation(const CRYPTO_EX_DATA_IMPL *i); int CRYPTO_ex_data_new_class(void); int CRYPTO_get_ex_new_index(int class_index, long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int CRYPTO_new_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad); int CRYPTO_dup_ex_data(int class_index, CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from); void CRYPTO_free_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad); int CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val); void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad,int idx); void CRYPTO_cleanup_all_ex_data(void); int CRYPTO_get_new_lockid(char *name); int CRYPTO_num_locks(void); void CRYPTO_lock(int mode, int type,const char *file,int line); void CRYPTO_set_locking_callback(void (*func)(int mode,int type, const char *file,int line)); void (*CRYPTO_get_locking_callback(void))(int mode,int type,const char *file, int line); void CRYPTO_set_add_lock_callback(int (*func)(int *num,int mount,int type, const char *file, int line)); int (*CRYPTO_get_add_lock_callback(void))(int *num,int mount,int type, const char *file,int line); void CRYPTO_set_id_callback(unsigned long (*func)(void)); unsigned long (*CRYPTO_get_id_callback(void))(void); unsigned long CRYPTO_thread_id(void); const char *CRYPTO_get_lock_name(int type); int CRYPTO_add_lock(int *pointer,int amount,int type, const char *file, int line); int CRYPTO_get_new_dynlockid(void); void CRYPTO_destroy_dynlockid(int i); struct CRYPTO_dynlock_value *CRYPTO_get_dynlock_value(int i); void CRYPTO_set_dynlock_create_callback(struct CRYPTO_dynlock_value *(*dyn_create_function)(const char *file, int line)); void CRYPTO_set_dynlock_lock_callback(void (*dyn_lock_function)(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line)); void CRYPTO_set_dynlock_destroy_callback(void (*dyn_destroy_function)(struct CRYPTO_dynlock_value *l, const char *file, int line)); struct CRYPTO_dynlock_value *(*CRYPTO_get_dynlock_create_callback(void))(const char *file,int line); void (*CRYPTO_get_dynlock_lock_callback(void))(int mode, struct CRYPTO_dynlock_value *l, const char *file,int line); void (*CRYPTO_get_dynlock_destroy_callback(void))(struct CRYPTO_dynlock_value *l, const char *file,int line); int CRYPTO_set_mem_functions(void *(*m)(size_t),void *(*r)(void *,size_t), void (*f)(void *)); int CRYPTO_set_locked_mem_functions(void *(*m)(size_t), void (*free_func)(void *)); int CRYPTO_set_mem_ex_functions(void *(*m)(size_t,const char *,int), void *(*r)(void *,size_t,const char *,int), void (*f)(void *)); int CRYPTO_set_locked_mem_ex_functions(void *(*m)(size_t,const char *,int), void (*free_func)(void *)); int CRYPTO_set_mem_debug_functions(void (*m)(void *,int,const char *,int,int), void (*r)(void *,void *,int,const char *,int,int), void (*f)(void *,int), void (*so)(long), long (*go)(void)); void CRYPTO_get_mem_functions(void *(**m)(size_t),void *(**r)(void *, size_t), void (**f)(void *)); void CRYPTO_get_locked_mem_functions(void *(**m)(size_t), void (**f)(void *)); void CRYPTO_get_mem_ex_functions(void *(**m)(size_t,const char *,int), void *(**r)(void *, size_t,const char *,int), void (**f)(void *)); void CRYPTO_get_locked_mem_ex_functions(void *(**m)(size_t,const char *,int), void (**f)(void *)); void CRYPTO_get_mem_debug_functions(void (**m)(void *,int,const char *,int,int), void (**r)(void *,void *,int,const char *,int,int), void (**f)(void *,int), void (**so)(long), long (**go)(void)); void *CRYPTO_malloc_locked(int num, const char *file, int line); void CRYPTO_free_locked(void *); void *CRYPTO_malloc(int num, const char *file, int line); void CRYPTO_free(void *); void *CRYPTO_realloc(void *addr,int num, const char *file, int line); void *CRYPTO_realloc_clean(void *addr,int old_num,int num,const char *file, int line); void *CRYPTO_remalloc(void *addr,int num, const char *file, int line); void OPENSSL_cleanse(void *ptr, size_t len); void CRYPTO_set_mem_debug_options(long bits); long CRYPTO_get_mem_debug_options(void); int CRYPTO_push_info_(const char *info, const char *file, int line); int CRYPTO_pop_info(void); int CRYPTO_remove_all_info(void); # 412 "/usr/include/openssl/crypto.h" 3 4 void CRYPTO_dbg_malloc(void *addr,int num,const char *file,int line,int before_p); void CRYPTO_dbg_realloc(void *addr1,void *addr2,int num,const char *file,int line,int before_p); void CRYPTO_dbg_free(void *addr,int before_p); # 423 "/usr/include/openssl/crypto.h" 3 4 void CRYPTO_dbg_set_options(long bits); long CRYPTO_dbg_get_options(void); void CRYPTO_mem_leaks_fp(FILE *); void CRYPTO_mem_leaks(struct bio_st *bio); typedef void *CRYPTO_MEM_LEAK_CB(unsigned long, const char *, int, int, void *); void CRYPTO_mem_leaks_cb(CRYPTO_MEM_LEAK_CB *cb); void OpenSSLDie(const char *file,int line,const char *assertion); # 448 "/usr/include/openssl/crypto.h" 3 4 void ERR_load_CRYPTO_strings(void); # 6 "/usr/include/openssl/comp.h" 2 3 4 typedef struct comp_method_st { int type; const char *name; int (*init)(); void (*finish)(); int (*compress)(); int (*expand)(); long (*ctrl)(); long (*callback_ctrl)(); } COMP_METHOD; typedef struct comp_ctx_st { COMP_METHOD *meth; unsigned long compress_in; unsigned long compress_out; unsigned long expand_in; unsigned long expand_out; CRYPTO_EX_DATA ex_data; } COMP_CTX; COMP_CTX *COMP_CTX_new(COMP_METHOD *meth); void COMP_CTX_free(COMP_CTX *ctx); int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, unsigned char *in, int ilen); int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, unsigned char *in, int ilen); COMP_METHOD *COMP_rle(void ); COMP_METHOD *COMP_zlib(void ); void ERR_load_COMP_strings(void); # 172 "/usr/include/openssl/ssl.h" 2 3 4 # 1 "/usr/include/openssl/bio.h" 1 3 4 # 68 "/usr/include/openssl/bio.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 69 "/usr/include/openssl/bio.h" 2 3 4 # 217 "/usr/include/openssl/bio.h" 3 4 typedef struct bio_st BIO; typedef void bio_info_cb(struct bio_st *, int, const char *, int, long, long); typedef struct bio_method_st { int type; const char *name; int (*bwrite)(BIO *, const char *, int); int (*bread)(BIO *, char *, int); int (*bputs)(BIO *, const char *); int (*bgets)(BIO *, char *, int); long (*ctrl)(BIO *, int, long, void *); int (*create)(BIO *); int (*destroy)(BIO *); long (*callback_ctrl)(BIO *, int, bio_info_cb *); } BIO_METHOD; # 251 "/usr/include/openssl/bio.h" 3 4 struct bio_st { BIO_METHOD *method; long (*callback)(struct bio_st *,int,const char *,int, long,long); char *cb_arg; int init; int shutdown; int flags; int retry_reason; int num; void *ptr; struct bio_st *next_bio; struct bio_st *prev_bio; int references; unsigned long num_read; unsigned long num_write; CRYPTO_EX_DATA ex_data; }; typedef struct bio_f_buffer_ctx_struct { int ibuf_size; int obuf_size; char *ibuf; int ibuf_len; int ibuf_off; char *obuf; int obuf_len; int obuf_off; } BIO_F_BUFFER_CTX; # 468 "/usr/include/openssl/bio.h" 3 4 size_t BIO_ctrl_pending(BIO *b); size_t BIO_ctrl_wpending(BIO *b); # 487 "/usr/include/openssl/bio.h" 3 4 size_t BIO_ctrl_get_write_guarantee(BIO *b); size_t BIO_ctrl_get_read_request(BIO *b); int BIO_ctrl_reset_read_request(BIO *b); int BIO_set_ex_data(BIO *bio,int idx,void *data); void *BIO_get_ex_data(BIO *bio,int idx); int BIO_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); unsigned long BIO_number_read(BIO *bio); unsigned long BIO_number_written(BIO *bio); # 510 "/usr/include/openssl/bio.h" 3 4 BIO_METHOD *BIO_s_file(void ); BIO *BIO_new_file(const char *filename, const char *mode); BIO *BIO_new_fp(FILE *stream, int close_flag); BIO * BIO_new(BIO_METHOD *type); int BIO_set(BIO *a,BIO_METHOD *type); int BIO_free(BIO *a); void BIO_vfree(BIO *a); int BIO_read(BIO *b, void *data, int len); int BIO_gets(BIO *bp,char *buf, int size); int BIO_write(BIO *b, const void *data, int len); int BIO_puts(BIO *bp,const char *buf); int BIO_indent(BIO *b,int indent,int max); long BIO_ctrl(BIO *bp,int cmd,long larg,void *parg); long BIO_callback_ctrl(BIO *b, int cmd, void (*fp)(struct bio_st *, int, const char *, int, long, long)); char * BIO_ptr_ctrl(BIO *bp,int cmd,long larg); long BIO_int_ctrl(BIO *bp,int cmd,long larg,int iarg); BIO * BIO_push(BIO *b,BIO *append); BIO * BIO_pop(BIO *b); void BIO_free_all(BIO *a); BIO * BIO_find_type(BIO *b,int bio_type); BIO * BIO_next(BIO *b); BIO * BIO_get_retry_BIO(BIO *bio, int *reason); int BIO_get_retry_reason(BIO *bio); BIO * BIO_dup_chain(BIO *in); int BIO_nread0(BIO *bio, char **buf); int BIO_nread(BIO *bio, char **buf, int num); int BIO_nwrite0(BIO *bio, char **buf); int BIO_nwrite(BIO *bio, char **buf, int num); long BIO_debug_callback(BIO *bio,int cmd,const char *argp,int argi, long argl,long ret); BIO_METHOD *BIO_s_mem(void); BIO *BIO_new_mem_buf(void *buf, int len); BIO_METHOD *BIO_s_socket(void); BIO_METHOD *BIO_s_connect(void); BIO_METHOD *BIO_s_accept(void); BIO_METHOD *BIO_s_fd(void); BIO_METHOD *BIO_s_log(void); BIO_METHOD *BIO_s_bio(void); BIO_METHOD *BIO_s_null(void); BIO_METHOD *BIO_f_null(void); BIO_METHOD *BIO_f_buffer(void); BIO_METHOD *BIO_f_nbio_test(void); int BIO_sock_should_retry(int i); int BIO_sock_non_fatal_error(int error); int BIO_fd_should_retry(int i); int BIO_fd_non_fatal_error(int error); int BIO_dump(BIO *b,const char *bytes,int len); int BIO_dump_indent(BIO *b,const char *bytes,int len,int indent); struct hostent *BIO_gethostbyname(const char *name); # 588 "/usr/include/openssl/bio.h" 3 4 int BIO_sock_error(int sock); int BIO_socket_ioctl(int fd, long type, void *arg); int BIO_socket_nbio(int fd,int mode); int BIO_get_port(const char *str, unsigned short *port_ptr); int BIO_get_host_ip(const char *str, unsigned char *ip); int BIO_get_accept_socket(char *host_port,int mode); int BIO_accept(int sock,char **ip_port); int BIO_sock_init(void ); void BIO_sock_cleanup(void); int BIO_set_tcp_ndelay(int sock,int turn_on); BIO *BIO_new_socket(int sock, int close_flag); BIO *BIO_new_fd(int fd, int close_flag); BIO *BIO_new_connect(char *host_port); BIO *BIO_new_accept(char *host_port); int BIO_new_bio_pair(BIO **bio1, size_t writebuf1, BIO **bio2, size_t writebuf2); void BIO_copy_next_retry(BIO *b); int BIO_printf(BIO *bio, const char *format, ...); int BIO_vprintf(BIO *bio, const char *format, va_list args); int BIO_snprintf(char *buf, size_t n, const char *format, ...); int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args); void ERR_load_BIO_strings(void); # 175 "/usr/include/openssl/ssl.h" 2 3 4 # 1 "/usr/include/openssl/x509.h" 1 3 4 # 64 "/usr/include/openssl/x509.h" 3 4 # 1 "/usr/include/openssl/buffer.h" 1 3 4 # 66 "/usr/include/openssl/buffer.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 1 3 4 # 151 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/stddef.h" 3 4 typedef int ptrdiff_t; # 67 "/usr/include/openssl/buffer.h" 2 3 4 typedef struct buf_mem_st { int length; char *data; int max; } BUF_MEM; BUF_MEM *BUF_MEM_new(void); void BUF_MEM_free(BUF_MEM *a); int BUF_MEM_grow(BUF_MEM *str, int len); int BUF_MEM_grow_clean(BUF_MEM *str, int len); char * BUF_strdup(const char *str); size_t BUF_strlcpy(char *dst,const char *src,size_t siz); size_t BUF_strlcat(char *dst,const char *src,size_t siz); void ERR_load_BUF_strings(void); # 65 "/usr/include/openssl/x509.h" 2 3 4 # 1 "/usr/include/openssl/evp.h" 1 3 4 # 66 "/usr/include/openssl/evp.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 67 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/ossl_typ.h" 1 3 4 # 58 "/usr/include/openssl/ossl_typ.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 59 "/usr/include/openssl/ossl_typ.h" 2 3 4 # 79 "/usr/include/openssl/ossl_typ.h" 3 4 typedef struct asn1_string_st ASN1_INTEGER; typedef struct asn1_string_st ASN1_ENUMERATED; typedef struct asn1_string_st ASN1_BIT_STRING; typedef struct asn1_string_st ASN1_OCTET_STRING; typedef struct asn1_string_st ASN1_PRINTABLESTRING; typedef struct asn1_string_st ASN1_T61STRING; typedef struct asn1_string_st ASN1_IA5STRING; typedef struct asn1_string_st ASN1_GENERALSTRING; typedef struct asn1_string_st ASN1_UNIVERSALSTRING; typedef struct asn1_string_st ASN1_BMPSTRING; typedef struct asn1_string_st ASN1_UTCTIME; typedef struct asn1_string_st ASN1_TIME; typedef struct asn1_string_st ASN1_GENERALIZEDTIME; typedef struct asn1_string_st ASN1_VISIBLESTRING; typedef struct asn1_string_st ASN1_UTF8STRING; typedef int ASN1_BOOLEAN; typedef int ASN1_NULL; typedef struct evp_cipher_st EVP_CIPHER; typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; typedef struct env_md_st EVP_MD; typedef struct env_md_ctx_st EVP_MD_CTX; typedef struct evp_pkey_st EVP_PKEY; typedef struct x509_st X509; typedef struct X509_algor_st X509_ALGOR; typedef struct X509_crl_st X509_CRL; typedef struct X509_name_st X509_NAME; typedef struct x509_store_st X509_STORE; typedef struct x509_store_ctx_st X509_STORE_CTX; typedef struct engine_st ENGINE; # 71 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/md2.h" 1 3 4 # 68 "/usr/include/openssl/md2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 69 "/usr/include/openssl/md2.h" 2 3 4 typedef struct MD2state_st { int num; unsigned char data[16]; unsigned int cksm[16]; unsigned int state[16]; } MD2_CTX; const char *MD2_options(void); int MD2_Init(MD2_CTX *c); int MD2_Update(MD2_CTX *c, const unsigned char *data, unsigned long len); int MD2_Final(unsigned char *md, MD2_CTX *c); unsigned char *MD2(const unsigned char *d, unsigned long n,unsigned char *md); # 79 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/md4.h" 1 3 4 # 62 "/usr/include/openssl/md4.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 63 "/usr/include/openssl/md4.h" 2 3 4 # 99 "/usr/include/openssl/md4.h" 3 4 typedef struct MD4state_st { unsigned int A,B,C,D; unsigned int Nl,Nh; unsigned int data[(64/4)]; int num; } MD4_CTX; int MD4_Init(MD4_CTX *c); int MD4_Update(MD4_CTX *c, const void *data, unsigned long len); int MD4_Final(unsigned char *md, MD4_CTX *c); unsigned char *MD4(const unsigned char *d, unsigned long n, unsigned char *md); void MD4_Transform(MD4_CTX *c, const unsigned char *b); # 82 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/md5.h" 1 3 4 # 62 "/usr/include/openssl/md5.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 63 "/usr/include/openssl/md5.h" 2 3 4 # 99 "/usr/include/openssl/md5.h" 3 4 typedef struct MD5state_st { unsigned int A,B,C,D; unsigned int Nl,Nh; unsigned int data[(64/4)]; int num; } MD5_CTX; int MD5_Init(MD5_CTX *c); int MD5_Update(MD5_CTX *c, const void *data, unsigned long len); int MD5_Final(unsigned char *md, MD5_CTX *c); unsigned char *MD5(const unsigned char *d, unsigned long n, unsigned char *md); void MD5_Transform(MD5_CTX *c, const unsigned char *b); # 85 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/sha.h" 1 3 4 # 62 "/usr/include/openssl/sha.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 63 "/usr/include/openssl/sha.h" 2 3 4 # 99 "/usr/include/openssl/sha.h" 3 4 typedef struct SHAstate_st { unsigned int h0,h1,h2,h3,h4; unsigned int Nl,Nh; unsigned int data[16]; int num; } SHA_CTX; int SHA_Init(SHA_CTX *c); int SHA_Update(SHA_CTX *c, const void *data, unsigned long len); int SHA_Final(unsigned char *md, SHA_CTX *c); unsigned char *SHA(const unsigned char *d, unsigned long n,unsigned char *md); void SHA_Transform(SHA_CTX *c, const unsigned char *data); int SHA1_Init(SHA_CTX *c); int SHA1_Update(SHA_CTX *c, const void *data, unsigned long len); int SHA1_Final(unsigned char *md, SHA_CTX *c); unsigned char *SHA1(const unsigned char *d, unsigned long n,unsigned char *md); void SHA1_Transform(SHA_CTX *c, const unsigned char *data); # 88 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/ripemd.h" 1 3 4 # 62 "/usr/include/openssl/ripemd.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 63 "/usr/include/openssl/ripemd.h" 2 3 4 # 85 "/usr/include/openssl/ripemd.h" 3 4 typedef struct RIPEMD160state_st { unsigned int A,B,C,D,E; unsigned int Nl,Nh; unsigned int data[(64/4)]; int num; } RIPEMD160_CTX; int RIPEMD160_Init(RIPEMD160_CTX *c); int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, unsigned long len); int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); unsigned char *RIPEMD160(const unsigned char *d, unsigned long n, unsigned char *md); void RIPEMD160_Transform(RIPEMD160_CTX *c, const unsigned char *b); # 91 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/des.h" 1 3 4 # 66 "/usr/include/openssl/des.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 67 "/usr/include/openssl/des.h" 2 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 68 "/usr/include/openssl/des.h" 2 3 4 # 78 "/usr/include/openssl/des.h" 3 4 typedef unsigned char DES_cblock[8]; typedef unsigned char const_DES_cblock[8]; typedef struct DES_ks { union { DES_cblock cblock; unsigned long deslong[2]; } ks[16]; } DES_key_schedule; # 101 "/usr/include/openssl/des.h" 3 4 # 1 "/usr/include/openssl/des_old.h" 1 3 4 # 106 "/usr/include/openssl/des_old.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 107 "/usr/include/openssl/des_old.h" 2 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 108 "/usr/include/openssl/des_old.h" 2 3 4 # 119 "/usr/include/openssl/des_old.h" 3 4 typedef unsigned char _ossl_old_des_cblock[8]; typedef struct _ossl_old_des_ks_struct { union { _ossl_old_des_cblock _; unsigned long pad[2]; } ks; } _ossl_old_des_key_schedule[16]; # 331 "/usr/include/openssl/des_old.h" 3 4 const char *_ossl_old_des_options(void); void _ossl_old_des_ecb3_encrypt(_ossl_old_des_cblock *input,_ossl_old_des_cblock *output, _ossl_old_des_key_schedule ks1,_ossl_old_des_key_schedule ks2, _ossl_old_des_key_schedule ks3, int enc); unsigned long _ossl_old_des_cbc_cksum(_ossl_old_des_cblock *input,_ossl_old_des_cblock *output, long length,_ossl_old_des_key_schedule schedule,_ossl_old_des_cblock *ivec); void _ossl_old_des_cbc_encrypt(_ossl_old_des_cblock *input,_ossl_old_des_cblock *output,long length, _ossl_old_des_key_schedule schedule,_ossl_old_des_cblock *ivec,int enc); void _ossl_old_des_ncbc_encrypt(_ossl_old_des_cblock *input,_ossl_old_des_cblock *output,long length, _ossl_old_des_key_schedule schedule,_ossl_old_des_cblock *ivec,int enc); void _ossl_old_des_xcbc_encrypt(_ossl_old_des_cblock *input,_ossl_old_des_cblock *output,long length, _ossl_old_des_key_schedule schedule,_ossl_old_des_cblock *ivec, _ossl_old_des_cblock *inw,_ossl_old_des_cblock *outw,int enc); void _ossl_old_des_cfb_encrypt(unsigned char *in,unsigned char *out,int numbits, long length,_ossl_old_des_key_schedule schedule,_ossl_old_des_cblock *ivec,int enc); void _ossl_old_des_ecb_encrypt(_ossl_old_des_cblock *input,_ossl_old_des_cblock *output, _ossl_old_des_key_schedule ks,int enc); void _ossl_old_des_encrypt(unsigned long *data,_ossl_old_des_key_schedule ks, int enc); void _ossl_old_des_encrypt2(unsigned long *data,_ossl_old_des_key_schedule ks, int enc); void _ossl_old_des_encrypt3(unsigned long *data, _ossl_old_des_key_schedule ks1, _ossl_old_des_key_schedule ks2, _ossl_old_des_key_schedule ks3); void _ossl_old_des_decrypt3(unsigned long *data, _ossl_old_des_key_schedule ks1, _ossl_old_des_key_schedule ks2, _ossl_old_des_key_schedule ks3); void _ossl_old_des_ede3_cbc_encrypt(_ossl_old_des_cblock *input, _ossl_old_des_cblock *output, long length, _ossl_old_des_key_schedule ks1, _ossl_old_des_key_schedule ks2, _ossl_old_des_key_schedule ks3, _ossl_old_des_cblock *ivec, int enc); void _ossl_old_des_ede3_cfb64_encrypt(unsigned char *in, unsigned char *out, long length, _ossl_old_des_key_schedule ks1, _ossl_old_des_key_schedule ks2, _ossl_old_des_key_schedule ks3, _ossl_old_des_cblock *ivec, int *num, int enc); void _ossl_old_des_ede3_ofb64_encrypt(unsigned char *in, unsigned char *out, long length, _ossl_old_des_key_schedule ks1, _ossl_old_des_key_schedule ks2, _ossl_old_des_key_schedule ks3, _ossl_old_des_cblock *ivec, int *num); void _ossl_old_des_xwhite_in2out(_ossl_old_des_cblock (*des_key), _ossl_old_des_cblock (*in_white), _ossl_old_des_cblock (*out_white)); int _ossl_old_des_enc_read(int fd,char *buf,int len,_ossl_old_des_key_schedule sched, _ossl_old_des_cblock *iv); int _ossl_old_des_enc_write(int fd,char *buf,int len,_ossl_old_des_key_schedule sched, _ossl_old_des_cblock *iv); char *_ossl_old_des_fcrypt(const char *buf,const char *salt, char *ret); char *_ossl_old_des_crypt(const char *buf,const char *salt); char *_ossl_old_crypt(const char *buf,const char *salt); void _ossl_old_des_ofb_encrypt(unsigned char *in,unsigned char *out, int numbits,long length,_ossl_old_des_key_schedule schedule,_ossl_old_des_cblock *ivec); void _ossl_old_des_pcbc_encrypt(_ossl_old_des_cblock *input,_ossl_old_des_cblock *output,long length, _ossl_old_des_key_schedule schedule,_ossl_old_des_cblock *ivec,int enc); unsigned long _ossl_old_des_quad_cksum(_ossl_old_des_cblock *input,_ossl_old_des_cblock *output, long length,int out_count,_ossl_old_des_cblock *seed); void _ossl_old_des_random_seed(_ossl_old_des_cblock key); void _ossl_old_des_random_key(_ossl_old_des_cblock ret); int _ossl_old_des_read_password(_ossl_old_des_cblock *key,const char *prompt,int verify); int _ossl_old_des_read_2passwords(_ossl_old_des_cblock *key1,_ossl_old_des_cblock *key2, const char *prompt,int verify); void _ossl_old_des_set_odd_parity(_ossl_old_des_cblock *key); int _ossl_old_des_is_weak_key(_ossl_old_des_cblock *key); int _ossl_old_des_set_key(_ossl_old_des_cblock *key,_ossl_old_des_key_schedule schedule); int _ossl_old_des_key_sched(_ossl_old_des_cblock *key,_ossl_old_des_key_schedule schedule); void _ossl_old_des_string_to_key(char *str,_ossl_old_des_cblock *key); void _ossl_old_des_string_to_2keys(char *str,_ossl_old_des_cblock *key1,_ossl_old_des_cblock *key2); void _ossl_old_des_cfb64_encrypt(unsigned char *in, unsigned char *out, long length, _ossl_old_des_key_schedule schedule, _ossl_old_des_cblock *ivec, int *num, int enc); void _ossl_old_des_ofb64_encrypt(unsigned char *in, unsigned char *out, long length, _ossl_old_des_key_schedule schedule, _ossl_old_des_cblock *ivec, int *num); void _ossl_096_des_random_seed(DES_cblock *key); # 439 "/usr/include/openssl/des_old.h" 3 4 # 1 "/usr/include/openssl/ui_compat.h" 1 3 4 # 62 "/usr/include/openssl/ui_compat.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 63 "/usr/include/openssl/ui_compat.h" 2 3 4 # 1 "/usr/include/openssl/ui.h" 1 3 4 # 74 "/usr/include/openssl/ui.h" 3 4 typedef struct ui_st UI; typedef struct ui_method_st UI_METHOD; # 89 "/usr/include/openssl/ui.h" 3 4 UI *UI_new(void); UI *UI_new_method(const UI_METHOD *method); void UI_free(UI *ui); # 136 "/usr/include/openssl/ui.h" 3 4 int UI_add_input_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize); int UI_dup_input_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize); int UI_add_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf); int UI_dup_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf); int UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int flags, char *result_buf); int UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int flags, char *result_buf); int UI_add_info_string(UI *ui, const char *text); int UI_dup_info_string(UI *ui, const char *text); int UI_add_error_string(UI *ui, const char *text); int UI_dup_error_string(UI *ui, const char *text); # 194 "/usr/include/openssl/ui.h" 3 4 char *UI_construct_prompt(UI *ui_method, const char *object_desc, const char *object_name); # 207 "/usr/include/openssl/ui.h" 3 4 void *UI_add_user_data(UI *ui, void *user_data); void *UI_get0_user_data(UI *ui); const char *UI_get0_result(UI *ui, int i); int UI_process(UI *ui); int UI_ctrl(UI *ui, int cmd, long i, void *p, void (*f)()); # 236 "/usr/include/openssl/ui.h" 3 4 int UI_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int UI_set_ex_data(UI *r,int idx,void *arg); void *UI_get_ex_data(UI *r, int idx); void UI_set_default_method(const UI_METHOD *meth); const UI_METHOD *UI_get_default_method(void); const UI_METHOD *UI_get_method(UI *ui); const UI_METHOD *UI_set_method(UI *ui, const UI_METHOD *meth); UI_METHOD *UI_OpenSSL(void); # 296 "/usr/include/openssl/ui.h" 3 4 typedef struct ui_string_st UI_STRING; enum UI_string_types { UIT_NONE=0, UIT_PROMPT, UIT_VERIFY, UIT_BOOLEAN, UIT_INFO, UIT_ERROR }; UI_METHOD *UI_create_method(char *name); void UI_destroy_method(UI_METHOD *ui_method); int UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui)); int UI_method_set_writer(UI_METHOD *method, int (*writer)(UI *ui, UI_STRING *uis)); int UI_method_set_flusher(UI_METHOD *method, int (*flusher)(UI *ui)); int UI_method_set_reader(UI_METHOD *method, int (*reader)(UI *ui, UI_STRING *uis)); int UI_method_set_closer(UI_METHOD *method, int (*closer)(UI *ui)); int (*UI_method_get_opener(UI_METHOD *method))(UI*); int (*UI_method_get_writer(UI_METHOD *method))(UI*,UI_STRING*); int (*UI_method_get_flusher(UI_METHOD *method))(UI*); int (*UI_method_get_reader(UI_METHOD *method))(UI*,UI_STRING*); int (*UI_method_get_closer(UI_METHOD *method))(UI*); enum UI_string_types UI_get_string_type(UI_STRING *uis); int UI_get_input_flags(UI_STRING *uis); const char *UI_get0_output_string(UI_STRING *uis); const char *UI_get0_action_string(UI_STRING *uis); const char *UI_get0_result_string(UI_STRING *uis); const char *UI_get0_test_string(UI_STRING *uis); int UI_get_result_minsize(UI_STRING *uis); int UI_get_result_maxsize(UI_STRING *uis); int UI_set_result(UI *ui, UI_STRING *uis, const char *result); int UI_UTIL_read_pw_string(char *buf,int length,const char *prompt,int verify); int UI_UTIL_read_pw(char *buf,char *buff,int size,const char *prompt,int verify); void ERR_load_UI_strings(void); # 64 "/usr/include/openssl/ui_compat.h" 2 3 4 # 77 "/usr/include/openssl/ui_compat.h" 3 4 int _ossl_old_des_read_pw_string(char *buf,int length,const char *prompt,int verify); int _ossl_old_des_read_pw(char *buf,char *buff,int size,const char *prompt,int verify); # 440 "/usr/include/openssl/des_old.h" 2 3 4 # 102 "/usr/include/openssl/des.h" 2 3 4 # 125 "/usr/include/openssl/des.h" 3 4 extern int _shadow_DES_check_key; extern int _shadow_DES_rw_mode; const char *DES_options(void); void DES_ecb3_encrypt(const unsigned char *input, unsigned char *output, DES_key_schedule *ks1,DES_key_schedule *ks2, DES_key_schedule *ks3, int enc); unsigned long DES_cbc_cksum(const unsigned char *input,DES_cblock *output, long length,DES_key_schedule *schedule, const_DES_cblock *ivec); void DES_cbc_encrypt(const unsigned char *input,unsigned char *output, long length,DES_key_schedule *schedule,DES_cblock *ivec, int enc); void DES_ncbc_encrypt(const unsigned char *input,unsigned char *output, long length,DES_key_schedule *schedule,DES_cblock *ivec, int enc); void DES_xcbc_encrypt(const unsigned char *input,unsigned char *output, long length,DES_key_schedule *schedule,DES_cblock *ivec, const_DES_cblock *inw,const_DES_cblock *outw,int enc); void DES_cfb_encrypt(const unsigned char *in,unsigned char *out,int numbits, long length,DES_key_schedule *schedule,DES_cblock *ivec, int enc); void DES_ecb_encrypt(const_DES_cblock *input,DES_cblock *output, DES_key_schedule *ks,int enc); # 162 "/usr/include/openssl/des.h" 3 4 void DES_encrypt1(unsigned long *data,DES_key_schedule *ks, int enc); void DES_encrypt2(unsigned long *data,DES_key_schedule *ks, int enc); void DES_encrypt3(unsigned long *data, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3); void DES_decrypt3(unsigned long *data, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3); void DES_ede3_cbc_encrypt(const unsigned char *input,unsigned char *output, long length, DES_key_schedule *ks1,DES_key_schedule *ks2, DES_key_schedule *ks3,DES_cblock *ivec,int enc); void DES_ede3_cbcm_encrypt(const unsigned char *in,unsigned char *out, long length, DES_key_schedule *ks1,DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec1,DES_cblock *ivec2, int enc); void DES_ede3_cfb64_encrypt(const unsigned char *in,unsigned char *out, long length,DES_key_schedule *ks1, DES_key_schedule *ks2,DES_key_schedule *ks3, DES_cblock *ivec,int *num,int enc); void DES_ede3_cfb_encrypt(const unsigned char *in,unsigned char *out, int numbits,long length,DES_key_schedule *ks1, DES_key_schedule *ks2,DES_key_schedule *ks3, DES_cblock *ivec,int enc); void DES_ede3_ofb64_encrypt(const unsigned char *in,unsigned char *out, long length,DES_key_schedule *ks1, DES_key_schedule *ks2,DES_key_schedule *ks3, DES_cblock *ivec,int *num); void DES_xwhite_in2out(const_DES_cblock *DES_key,const_DES_cblock *in_white, DES_cblock *out_white); int DES_enc_read(int fd,void *buf,int len,DES_key_schedule *sched, DES_cblock *iv); int DES_enc_write(int fd,const void *buf,int len,DES_key_schedule *sched, DES_cblock *iv); char *DES_fcrypt(const char *buf,const char *salt, char *ret); char *DES_crypt(const char *buf,const char *salt); void DES_ofb_encrypt(const unsigned char *in,unsigned char *out,int numbits, long length,DES_key_schedule *schedule,DES_cblock *ivec); void DES_pcbc_encrypt(const unsigned char *input,unsigned char *output, long length,DES_key_schedule *schedule,DES_cblock *ivec, int enc); unsigned long DES_quad_cksum(const unsigned char *input,DES_cblock output[], long length,int out_count,DES_cblock *seed); int DES_random_key(DES_cblock *ret); void DES_set_odd_parity(DES_cblock *key); int DES_check_key_parity(const_DES_cblock *key); int DES_is_weak_key(const_DES_cblock *key); int DES_set_key(const_DES_cblock *key,DES_key_schedule *schedule); int DES_key_sched(const_DES_cblock *key,DES_key_schedule *schedule); int DES_set_key_checked(const_DES_cblock *key,DES_key_schedule *schedule); void DES_set_key_unchecked(const_DES_cblock *key,DES_key_schedule *schedule); void DES_string_to_key(const char *str,DES_cblock *key); void DES_string_to_2keys(const char *str,DES_cblock *key1,DES_cblock *key2); void DES_cfb64_encrypt(const unsigned char *in,unsigned char *out,long length, DES_key_schedule *schedule,DES_cblock *ivec,int *num, int enc); void DES_ofb64_encrypt(const unsigned char *in,unsigned char *out,long length, DES_key_schedule *schedule,DES_cblock *ivec,int *num); int DES_read_password(DES_cblock *key, const char *prompt, int verify); int DES_read_2passwords(DES_cblock *key1, DES_cblock *key2, const char *prompt, int verify); # 94 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/rc4.h" 1 3 4 # 66 "/usr/include/openssl/rc4.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 67 "/usr/include/openssl/rc4.h" 2 3 4 typedef struct rc4_key_st { unsigned int x,y; unsigned int data[256]; } RC4_KEY; const char *RC4_options(void); void RC4_set_key(RC4_KEY *key, int len, const unsigned char *data); void RC4(RC4_KEY *key, unsigned long len, const unsigned char *indata, unsigned char *outdata); # 97 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/rc2.h" 1 3 4 # 69 "/usr/include/openssl/rc2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 70 "/usr/include/openssl/rc2.h" 2 3 4 typedef struct rc2_key_st { unsigned int data[64]; } RC2_KEY; void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data,int bits); void RC2_ecb_encrypt(const unsigned char *in,unsigned char *out,RC2_KEY *key, int enc); void RC2_encrypt(unsigned long *data,RC2_KEY *key); void RC2_decrypt(unsigned long *data,RC2_KEY *key); void RC2_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, RC2_KEY *ks, unsigned char *iv, int enc); void RC2_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, RC2_KEY *schedule, unsigned char *ivec, int *num, int enc); void RC2_ofb64_encrypt(const unsigned char *in, unsigned char *out, long length, RC2_KEY *schedule, unsigned char *ivec, int *num); # 100 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/rc5.h" 1 3 4 # 88 "/usr/include/openssl/rc5.h" 3 4 typedef struct rc5_key_st { int rounds; unsigned long data[2*(16 +1)]; } RC5_32_KEY; void RC5_32_set_key(RC5_32_KEY *key, int len, const unsigned char *data, int rounds); void RC5_32_ecb_encrypt(const unsigned char *in,unsigned char *out,RC5_32_KEY *key, int enc); void RC5_32_encrypt(unsigned long *data,RC5_32_KEY *key); void RC5_32_decrypt(unsigned long *data,RC5_32_KEY *key); void RC5_32_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, RC5_32_KEY *ks, unsigned char *iv, int enc); void RC5_32_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, RC5_32_KEY *schedule, unsigned char *ivec, int *num, int enc); void RC5_32_ofb64_encrypt(const unsigned char *in, unsigned char *out, long length, RC5_32_KEY *schedule, unsigned char *ivec, int *num); # 103 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/blowfish.h" 1 3 4 # 62 "/usr/include/openssl/blowfish.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 63 "/usr/include/openssl/blowfish.h" 2 3 4 # 101 "/usr/include/openssl/blowfish.h" 3 4 typedef struct bf_key_st { unsigned int P[16 +2]; unsigned int S[4*256]; } BF_KEY; void BF_set_key(BF_KEY *key, int len, const unsigned char *data); void BF_encrypt(unsigned int *data,const BF_KEY *key); void BF_decrypt(unsigned int *data,const BF_KEY *key); void BF_ecb_encrypt(const unsigned char *in, unsigned char *out, const BF_KEY *key, int enc); void BF_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, const BF_KEY *schedule, unsigned char *ivec, int enc); void BF_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, const BF_KEY *schedule, unsigned char *ivec, int *num, int enc); void BF_ofb64_encrypt(const unsigned char *in, unsigned char *out, long length, const BF_KEY *schedule, unsigned char *ivec, int *num); const char *BF_options(void); # 106 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/cast.h" 1 3 4 # 78 "/usr/include/openssl/cast.h" 3 4 typedef struct cast_key_st { unsigned long data[32]; int short_key; } CAST_KEY; void CAST_set_key(CAST_KEY *key, int len, const unsigned char *data); void CAST_ecb_encrypt(const unsigned char *in,unsigned char *out,CAST_KEY *key, int enc); void CAST_encrypt(unsigned long *data,CAST_KEY *key); void CAST_decrypt(unsigned long *data,CAST_KEY *key); void CAST_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, CAST_KEY *ks, unsigned char *iv, int enc); void CAST_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, CAST_KEY *schedule, unsigned char *ivec, int *num, int enc); void CAST_ofb64_encrypt(const unsigned char *in, unsigned char *out, long length, CAST_KEY *schedule, unsigned char *ivec, int *num); # 109 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/idea.h" 1 3 4 # 69 "/usr/include/openssl/idea.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 70 "/usr/include/openssl/idea.h" 2 3 4 typedef struct idea_key_st { unsigned int data[9][6]; } IDEA_KEY_SCHEDULE; const char *idea_options(void); void idea_ecb_encrypt(const unsigned char *in, unsigned char *out, IDEA_KEY_SCHEDULE *ks); void idea_set_encrypt_key(const unsigned char *key, IDEA_KEY_SCHEDULE *ks); void idea_set_decrypt_key(IDEA_KEY_SCHEDULE *ek, IDEA_KEY_SCHEDULE *dk); void idea_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, IDEA_KEY_SCHEDULE *ks, unsigned char *iv,int enc); void idea_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, IDEA_KEY_SCHEDULE *ks, unsigned char *iv, int *num,int enc); void idea_ofb64_encrypt(const unsigned char *in, unsigned char *out, long length, IDEA_KEY_SCHEDULE *ks, unsigned char *iv, int *num); void idea_encrypt(unsigned long *in, IDEA_KEY_SCHEDULE *ks); # 112 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/mdc2.h" 1 3 4 # 75 "/usr/include/openssl/mdc2.h" 3 4 typedef struct mdc2_ctx_st { int num; unsigned char data[8]; DES_cblock h,hh; int pad_type; } MDC2_CTX; int MDC2_Init(MDC2_CTX *c); int MDC2_Update(MDC2_CTX *c, const unsigned char *data, unsigned long len); int MDC2_Final(unsigned char *md, MDC2_CTX *c); unsigned char *MDC2(const unsigned char *d, unsigned long n, unsigned char *md); # 115 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/aes.h" 1 3 4 # 55 "/usr/include/openssl/aes.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 56 "/usr/include/openssl/aes.h" 2 3 4 # 78 "/usr/include/openssl/aes.h" 3 4 struct aes_key_st { unsigned long rd_key[4 *(14 + 1)]; int rounds; }; typedef struct aes_key_st AES_KEY; const char *AES_options(void); int AES_set_encrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key); int AES_set_decrypt_key(const unsigned char *userKey, const int bits, AES_KEY *key); void AES_encrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key); void AES_decrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key); void AES_ecb_encrypt(const unsigned char *in, unsigned char *out, const AES_KEY *key, const int enc); void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char *ivec, const int enc); void AES_cfb128_encrypt(const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc); void AES_cfb1_encrypt(const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc); void AES_cfb8_encrypt(const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char *ivec, int *num, const int enc); void AES_cfbr_encrypt_block(const unsigned char *in,unsigned char *out, const int nbits,const AES_KEY *key, unsigned char *ivec,const int enc); void AES_ofb128_encrypt(const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char *ivec, int *num); void AES_ctr128_encrypt(const unsigned char *in, unsigned char *out, const unsigned long length, const AES_KEY *key, unsigned char ivec[16], unsigned char ecount_buf[16], unsigned int *num); # 118 "/usr/include/openssl/evp.h" 2 3 4 # 137 "/usr/include/openssl/evp.h" 3 4 # 1 "/usr/include/openssl/rsa.h" 1 3 4 # 62 "/usr/include/openssl/rsa.h" 3 4 # 1 "/usr/include/openssl/asn1.h" 1 3 4 # 66 "/usr/include/openssl/asn1.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 67 "/usr/include/openssl/asn1.h" 2 3 4 # 1 "/usr/include/openssl/bn.h" 1 3 4 # 62 "/usr/include/openssl/bn.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 63 "/usr/include/openssl/bn.h" 2 3 4 # 232 "/usr/include/openssl/bn.h" 3 4 typedef struct bignum_st { unsigned long *d; int top; int dmax; int neg; int flags; } BIGNUM; typedef struct bignum_ctx BN_CTX; typedef struct bn_blinding_st { int init; BIGNUM *A; BIGNUM *Ai; BIGNUM *mod; unsigned long thread_id; } BN_BLINDING; typedef struct bn_mont_ctx_st { int ri; BIGNUM RR; BIGNUM N; BIGNUM Ni; unsigned long n0; int flags; } BN_MONT_CTX; typedef struct bn_recp_ctx_st { BIGNUM N; BIGNUM Nr; int num_bits; int shift; int flags; } BN_RECP_CTX; # 316 "/usr/include/openssl/bn.h" 3 4 const BIGNUM *BN_value_one(void); char * BN_options(void); BN_CTX *BN_CTX_new(void); void BN_CTX_init(BN_CTX *c); void BN_CTX_free(BN_CTX *c); void BN_CTX_start(BN_CTX *ctx); BIGNUM *BN_CTX_get(BN_CTX *ctx); void BN_CTX_end(BN_CTX *ctx); int BN_rand(BIGNUM *rnd, int bits, int top,int bottom); int BN_pseudo_rand(BIGNUM *rnd, int bits, int top,int bottom); int BN_rand_range(BIGNUM *rnd, BIGNUM *range); int BN_pseudo_rand_range(BIGNUM *rnd, BIGNUM *range); int BN_num_bits(const BIGNUM *a); int BN_num_bits_word(unsigned long); BIGNUM *BN_new(void); void BN_init(BIGNUM *); void BN_clear_free(BIGNUM *a); BIGNUM *BN_copy(BIGNUM *a, const BIGNUM *b); void BN_swap(BIGNUM *a, BIGNUM *b); BIGNUM *BN_bin2bn(const unsigned char *s,int len,BIGNUM *ret); int BN_bn2bin(const BIGNUM *a, unsigned char *to); BIGNUM *BN_mpi2bn(const unsigned char *s,int len,BIGNUM *ret); int BN_bn2mpi(const BIGNUM *a, unsigned char *to); int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b); int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); int BN_sqr(BIGNUM *r, const BIGNUM *a,BN_CTX *ctx); int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx); int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx); int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx); int BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m); int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx); int BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m); int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx); int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx); int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx); int BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m); int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, BN_CTX *ctx); int BN_mod_lshift_quick(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m); unsigned long BN_mod_word(const BIGNUM *a, unsigned long w); unsigned long BN_div_word(BIGNUM *a, unsigned long w); int BN_mul_word(BIGNUM *a, unsigned long w); int BN_add_word(BIGNUM *a, unsigned long w); int BN_sub_word(BIGNUM *a, unsigned long w); int BN_set_word(BIGNUM *a, unsigned long w); unsigned long BN_get_word(const BIGNUM *a); int BN_cmp(const BIGNUM *a, const BIGNUM *b); void BN_free(BIGNUM *a); int BN_is_bit_set(const BIGNUM *a, int n); int BN_lshift(BIGNUM *r, const BIGNUM *a, int n); int BN_lshift1(BIGNUM *r, const BIGNUM *a); int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,BN_CTX *ctx); int BN_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,BN_CTX *ctx); int BN_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); int BN_mod_exp_mont_word(BIGNUM *r, unsigned long a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); int BN_mod_exp2_mont(BIGNUM *r, const BIGNUM *a1, const BIGNUM *p1, const BIGNUM *a2, const BIGNUM *p2,const BIGNUM *m, BN_CTX *ctx,BN_MONT_CTX *m_ctx); int BN_mod_exp_simple(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m,BN_CTX *ctx); int BN_mask_bits(BIGNUM *a,int n); int BN_print_fp(FILE *fp, const BIGNUM *a); int BN_print(BIO *fp, const BIGNUM *a); int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx); int BN_rshift(BIGNUM *r, const BIGNUM *a, int n); int BN_rshift1(BIGNUM *r, const BIGNUM *a); void BN_clear(BIGNUM *a); BIGNUM *BN_dup(const BIGNUM *a); int BN_ucmp(const BIGNUM *a, const BIGNUM *b); int BN_set_bit(BIGNUM *a, int n); int BN_clear_bit(BIGNUM *a, int n); char * BN_bn2hex(const BIGNUM *a); char * BN_bn2dec(const BIGNUM *a); int BN_hex2bn(BIGNUM **a, const char *str); int BN_dec2bn(BIGNUM **a, const char *str); int BN_gcd(BIGNUM *r,const BIGNUM *a,const BIGNUM *b,BN_CTX *ctx); int BN_kronecker(const BIGNUM *a,const BIGNUM *b,BN_CTX *ctx); BIGNUM *BN_mod_inverse(BIGNUM *ret, const BIGNUM *a, const BIGNUM *n,BN_CTX *ctx); BIGNUM *BN_mod_sqrt(BIGNUM *ret, const BIGNUM *a, const BIGNUM *n,BN_CTX *ctx); BIGNUM *BN_generate_prime(BIGNUM *ret,int bits,int safe, const BIGNUM *add, const BIGNUM *rem, void (*callback)(int,int,void *),void *cb_arg); int BN_is_prime(const BIGNUM *p,int nchecks, void (*callback)(int,int,void *), BN_CTX *ctx,void *cb_arg); int BN_is_prime_fasttest(const BIGNUM *p,int nchecks, void (*callback)(int,int,void *),BN_CTX *ctx,void *cb_arg, int do_trial_division); BN_MONT_CTX *BN_MONT_CTX_new(void ); void BN_MONT_CTX_init(BN_MONT_CTX *ctx); int BN_mod_mul_montgomery(BIGNUM *r,const BIGNUM *a,const BIGNUM *b, BN_MONT_CTX *mont, BN_CTX *ctx); int BN_from_montgomery(BIGNUM *r,const BIGNUM *a, BN_MONT_CTX *mont, BN_CTX *ctx); void BN_MONT_CTX_free(BN_MONT_CTX *mont); int BN_MONT_CTX_set(BN_MONT_CTX *mont,const BIGNUM *mod,BN_CTX *ctx); BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to,BN_MONT_CTX *from); BN_BLINDING *BN_BLINDING_new(BIGNUM *A,BIGNUM *Ai,BIGNUM *mod); void BN_BLINDING_free(BN_BLINDING *b); int BN_BLINDING_update(BN_BLINDING *b,BN_CTX *ctx); int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *r, BN_CTX *ctx); int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx); void BN_set_params(int mul,int high,int low,int mont); int BN_get_params(int which); void BN_RECP_CTX_init(BN_RECP_CTX *recp); BN_RECP_CTX *BN_RECP_CTX_new(void); void BN_RECP_CTX_free(BN_RECP_CTX *recp); int BN_RECP_CTX_set(BN_RECP_CTX *recp,const BIGNUM *rdiv,BN_CTX *ctx); int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y, BN_RECP_CTX *recp,BN_CTX *ctx); int BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx); int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, BN_RECP_CTX *recp, BN_CTX *ctx); BIGNUM *bn_expand2(BIGNUM *a, int words); BIGNUM *bn_dup_expand(const BIGNUM *a, int words); # 476 "/usr/include/openssl/bn.h" 3 4 unsigned long bn_mul_add_words(unsigned long *rp, const unsigned long *ap, int num, unsigned long w); unsigned long bn_mul_words(unsigned long *rp, const unsigned long *ap, int num, unsigned long w); void bn_sqr_words(unsigned long *rp, const unsigned long *ap, int num); unsigned long bn_div_words(unsigned long h, unsigned long l, unsigned long d); unsigned long bn_add_words(unsigned long *rp, const unsigned long *ap, const unsigned long *bp,int num); unsigned long bn_sub_words(unsigned long *rp, const unsigned long *ap, const unsigned long *bp,int num); # 493 "/usr/include/openssl/bn.h" 3 4 int BN_bntest_rand(BIGNUM *rnd, int bits, int top,int bottom); void ERR_load_BN_strings(void); # 68 "/usr/include/openssl/asn1.h" 2 3 4 # 158 "/usr/include/openssl/asn1.h" 3 4 struct X509_algor_st; typedef struct asn1_ctx_st { unsigned char *p; int eos; int error; int inf; int tag; int xclass; long slen; unsigned char *max; unsigned char *q; unsigned char **pp; int line; } ASN1_CTX; typedef struct asn1_object_st { const char *sn,*ln; int nid; int length; unsigned char *data; int flags; } ASN1_OBJECT; typedef struct asn1_string_st { int length; int type; unsigned char *data; long flags; } ASN1_STRING; typedef struct ASN1_ENCODING_st { unsigned char *enc; long len; int modified; } ASN1_ENCODING; # 228 "/usr/include/openssl/asn1.h" 3 4 typedef struct asn1_string_table_st { int nid; long minsize; long maxsize; unsigned long mask; unsigned long flags; } ASN1_STRING_TABLE; # 252 "/usr/include/openssl/asn1.h" 3 4 typedef struct ASN1_TEMPLATE_st ASN1_TEMPLATE; typedef struct ASN1_ITEM_st ASN1_ITEM; typedef struct ASN1_TLC_st ASN1_TLC; typedef struct ASN1_VALUE_st ASN1_VALUE; # 325 "/usr/include/openssl/asn1.h" 3 4 typedef const ASN1_ITEM ASN1_ITEM_EXP; # 439 "/usr/include/openssl/asn1.h" 3 4 typedef struct asn1_type_st { int type; union { char *ptr; ASN1_BOOLEAN boolean; ASN1_STRING * asn1_string; ASN1_OBJECT * object; ASN1_INTEGER * integer; ASN1_ENUMERATED * enumerated; ASN1_BIT_STRING * bit_string; ASN1_OCTET_STRING * octet_string; ASN1_PRINTABLESTRING * printablestring; ASN1_T61STRING * t61string; ASN1_IA5STRING * ia5string; ASN1_GENERALSTRING * generalstring; ASN1_BMPSTRING * bmpstring; ASN1_UNIVERSALSTRING * universalstring; ASN1_UTCTIME * utctime; ASN1_GENERALIZEDTIME * generalizedtime; ASN1_VISIBLESTRING * visiblestring; ASN1_UTF8STRING * utf8string; ASN1_STRING * set; ASN1_STRING * sequence; } value; } ASN1_TYPE; typedef struct asn1_method_st { int (*i2d)(); char *(*d2i)(); char *(*create)(); void (*destroy)(); } ASN1_METHOD; typedef struct asn1_header_st { ASN1_OCTET_STRING *header; char *data; ASN1_METHOD *meth; } ASN1_HEADER; typedef struct BIT_STRING_BITNAME_st { int bitnum; const char *lname; const char *sname; } BIT_STRING_BITNAME; # 695 "/usr/include/openssl/asn1.h" 3 4 ASN1_TYPE *ASN1_TYPE_new(void); void ASN1_TYPE_free(ASN1_TYPE *a); ASN1_TYPE *d2i_ASN1_TYPE(ASN1_TYPE **a, unsigned char **in, long len); int i2d_ASN1_TYPE(ASN1_TYPE *a, unsigned char **out); extern const ASN1_ITEM ASN1_ANY_it; int ASN1_TYPE_get(ASN1_TYPE *a); void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value); ASN1_OBJECT * ASN1_OBJECT_new(void ); void ASN1_OBJECT_free(ASN1_OBJECT *a); int i2d_ASN1_OBJECT(ASN1_OBJECT *a,unsigned char **pp); ASN1_OBJECT * c2i_ASN1_OBJECT(ASN1_OBJECT **a,unsigned char **pp, long length); ASN1_OBJECT * d2i_ASN1_OBJECT(ASN1_OBJECT **a,unsigned char **pp, long length); extern const ASN1_ITEM ASN1_OBJECT_it; ASN1_STRING * ASN1_STRING_new(void); void ASN1_STRING_free(ASN1_STRING *a); ASN1_STRING * ASN1_STRING_dup(ASN1_STRING *a); ASN1_STRING * ASN1_STRING_type_new(int type ); int ASN1_STRING_cmp(ASN1_STRING *a, ASN1_STRING *b); int ASN1_STRING_set(ASN1_STRING *str, const void *data, int len); int ASN1_STRING_length(ASN1_STRING *x); void ASN1_STRING_length_set(ASN1_STRING *x, int n); int ASN1_STRING_type(ASN1_STRING *x); unsigned char * ASN1_STRING_data(ASN1_STRING *x); ASN1_BIT_STRING *ASN1_BIT_STRING_new(void); void ASN1_BIT_STRING_free(ASN1_BIT_STRING *a); ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, unsigned char **in, long len); int i2d_ASN1_BIT_STRING(ASN1_BIT_STRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_BIT_STRING_it; int i2c_ASN1_BIT_STRING(ASN1_BIT_STRING *a,unsigned char **pp); ASN1_BIT_STRING *c2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a,unsigned char **pp, long length); int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, int length ); int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value); int ASN1_BIT_STRING_get_bit(ASN1_BIT_STRING *a, int n); int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, BIT_STRING_BITNAME *tbl, int indent); int ASN1_BIT_STRING_num_asc(char *name, BIT_STRING_BITNAME *tbl); int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, char *name, int value, BIT_STRING_BITNAME *tbl); int i2d_ASN1_BOOLEAN(int a,unsigned char **pp); int d2i_ASN1_BOOLEAN(int *a,unsigned char **pp,long length); ASN1_INTEGER *ASN1_INTEGER_new(void); void ASN1_INTEGER_free(ASN1_INTEGER *a); ASN1_INTEGER *d2i_ASN1_INTEGER(ASN1_INTEGER **a, unsigned char **in, long len); int i2d_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **out); extern const ASN1_ITEM ASN1_INTEGER_it; int i2c_ASN1_INTEGER(ASN1_INTEGER *a,unsigned char **pp); ASN1_INTEGER *c2i_ASN1_INTEGER(ASN1_INTEGER **a,unsigned char **pp, long length); ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a,unsigned char **pp, long length); ASN1_INTEGER * ASN1_INTEGER_dup(ASN1_INTEGER *x); int ASN1_INTEGER_cmp(ASN1_INTEGER *x, ASN1_INTEGER *y); ASN1_ENUMERATED *ASN1_ENUMERATED_new(void); void ASN1_ENUMERATED_free(ASN1_ENUMERATED *a); ASN1_ENUMERATED *d2i_ASN1_ENUMERATED(ASN1_ENUMERATED **a, unsigned char **in, long len); int i2d_ASN1_ENUMERATED(ASN1_ENUMERATED *a, unsigned char **out); extern const ASN1_ITEM ASN1_ENUMERATED_it; int ASN1_UTCTIME_check(ASN1_UTCTIME *a); ASN1_UTCTIME *ASN1_UTCTIME_set(ASN1_UTCTIME *s,time_t t); int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, char *str); int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t); int ASN1_GENERALIZEDTIME_check(ASN1_GENERALIZEDTIME *a); ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,time_t t); int ASN1_GENERALIZEDTIME_set_string(ASN1_GENERALIZEDTIME *s, char *str); ASN1_OCTET_STRING *ASN1_OCTET_STRING_new(void); void ASN1_OCTET_STRING_free(ASN1_OCTET_STRING *a); ASN1_OCTET_STRING *d2i_ASN1_OCTET_STRING(ASN1_OCTET_STRING **a, unsigned char **in, long len); int i2d_ASN1_OCTET_STRING(ASN1_OCTET_STRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_OCTET_STRING_it; ASN1_OCTET_STRING * ASN1_OCTET_STRING_dup(ASN1_OCTET_STRING *a); int ASN1_OCTET_STRING_cmp(ASN1_OCTET_STRING *a, ASN1_OCTET_STRING *b); int ASN1_OCTET_STRING_set(ASN1_OCTET_STRING *str, unsigned char *data, int len); ASN1_VISIBLESTRING *ASN1_VISIBLESTRING_new(void); void ASN1_VISIBLESTRING_free(ASN1_VISIBLESTRING *a); ASN1_VISIBLESTRING *d2i_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING **a, unsigned char **in, long len); int i2d_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_VISIBLESTRING_it; ASN1_UNIVERSALSTRING *ASN1_UNIVERSALSTRING_new(void); void ASN1_UNIVERSALSTRING_free(ASN1_UNIVERSALSTRING *a); ASN1_UNIVERSALSTRING *d2i_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING **a, unsigned char **in, long len); int i2d_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_UNIVERSALSTRING_it; ASN1_UTF8STRING *ASN1_UTF8STRING_new(void); void ASN1_UTF8STRING_free(ASN1_UTF8STRING *a); ASN1_UTF8STRING *d2i_ASN1_UTF8STRING(ASN1_UTF8STRING **a, unsigned char **in, long len); int i2d_ASN1_UTF8STRING(ASN1_UTF8STRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_UTF8STRING_it; ASN1_NULL *ASN1_NULL_new(void); void ASN1_NULL_free(ASN1_NULL *a); ASN1_NULL *d2i_ASN1_NULL(ASN1_NULL **a, unsigned char **in, long len); int i2d_ASN1_NULL(ASN1_NULL *a, unsigned char **out); extern const ASN1_ITEM ASN1_NULL_it; ASN1_BMPSTRING *ASN1_BMPSTRING_new(void); void ASN1_BMPSTRING_free(ASN1_BMPSTRING *a); ASN1_BMPSTRING *d2i_ASN1_BMPSTRING(ASN1_BMPSTRING **a, unsigned char **in, long len); int i2d_ASN1_BMPSTRING(ASN1_BMPSTRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_BMPSTRING_it; int UTF8_getc(const unsigned char *str, int len, unsigned long *val); int UTF8_putc(unsigned char *str, int len, unsigned long value); ASN1_STRING *ASN1_PRINTABLE_new(void); void ASN1_PRINTABLE_free(ASN1_STRING *a); ASN1_STRING *d2i_ASN1_PRINTABLE(ASN1_STRING **a, unsigned char **in, long len); int i2d_ASN1_PRINTABLE(ASN1_STRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_PRINTABLE_it; ASN1_STRING *DIRECTORYSTRING_new(void); void DIRECTORYSTRING_free(ASN1_STRING *a); ASN1_STRING *d2i_DIRECTORYSTRING(ASN1_STRING **a, unsigned char **in, long len); int i2d_DIRECTORYSTRING(ASN1_STRING *a, unsigned char **out); extern const ASN1_ITEM DIRECTORYSTRING_it; ASN1_STRING *DISPLAYTEXT_new(void); void DISPLAYTEXT_free(ASN1_STRING *a); ASN1_STRING *d2i_DISPLAYTEXT(ASN1_STRING **a, unsigned char **in, long len); int i2d_DISPLAYTEXT(ASN1_STRING *a, unsigned char **out); extern const ASN1_ITEM DISPLAYTEXT_it; ASN1_PRINTABLESTRING *ASN1_PRINTABLESTRING_new(void); void ASN1_PRINTABLESTRING_free(ASN1_PRINTABLESTRING *a); ASN1_PRINTABLESTRING *d2i_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING **a, unsigned char **in, long len); int i2d_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_PRINTABLESTRING_it; ASN1_T61STRING *ASN1_T61STRING_new(void); void ASN1_T61STRING_free(ASN1_T61STRING *a); ASN1_T61STRING *d2i_ASN1_T61STRING(ASN1_T61STRING **a, unsigned char **in, long len); int i2d_ASN1_T61STRING(ASN1_T61STRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_T61STRING_it; ASN1_IA5STRING *ASN1_IA5STRING_new(void); void ASN1_IA5STRING_free(ASN1_IA5STRING *a); ASN1_IA5STRING *d2i_ASN1_IA5STRING(ASN1_IA5STRING **a, unsigned char **in, long len); int i2d_ASN1_IA5STRING(ASN1_IA5STRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_IA5STRING_it; ASN1_GENERALSTRING *ASN1_GENERALSTRING_new(void); void ASN1_GENERALSTRING_free(ASN1_GENERALSTRING *a); ASN1_GENERALSTRING *d2i_ASN1_GENERALSTRING(ASN1_GENERALSTRING **a, unsigned char **in, long len); int i2d_ASN1_GENERALSTRING(ASN1_GENERALSTRING *a, unsigned char **out); extern const ASN1_ITEM ASN1_GENERALSTRING_it; ASN1_UTCTIME *ASN1_UTCTIME_new(void); void ASN1_UTCTIME_free(ASN1_UTCTIME *a); ASN1_UTCTIME *d2i_ASN1_UTCTIME(ASN1_UTCTIME **a, unsigned char **in, long len); int i2d_ASN1_UTCTIME(ASN1_UTCTIME *a, unsigned char **out); extern const ASN1_ITEM ASN1_UTCTIME_it; ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_new(void); void ASN1_GENERALIZEDTIME_free(ASN1_GENERALIZEDTIME *a); ASN1_GENERALIZEDTIME *d2i_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME **a, unsigned char **in, long len); int i2d_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME *a, unsigned char **out); extern const ASN1_ITEM ASN1_GENERALIZEDTIME_it; ASN1_TIME *ASN1_TIME_new(void); void ASN1_TIME_free(ASN1_TIME *a); ASN1_TIME *d2i_ASN1_TIME(ASN1_TIME **a, unsigned char **in, long len); int i2d_ASN1_TIME(ASN1_TIME *a, unsigned char **out); extern const ASN1_ITEM ASN1_TIME_it; ASN1_TIME *ASN1_TIME_set(ASN1_TIME *s,time_t t); int ASN1_TIME_check(ASN1_TIME *t); ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(ASN1_TIME *t, ASN1_GENERALIZEDTIME **out); int i2d_ASN1_SET(STACK *a, unsigned char **pp, int (*func)(), int ex_tag, int ex_class, int is_set); STACK * d2i_ASN1_SET(STACK **a, unsigned char **pp, long length, char *(*func)(), void (*free_func)(void *), int ex_tag, int ex_class); int i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a); int a2i_ASN1_INTEGER(BIO *bp,ASN1_INTEGER *bs,char *buf,int size); int i2a_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *a); int a2i_ASN1_ENUMERATED(BIO *bp,ASN1_ENUMERATED *bs,char *buf,int size); int i2a_ASN1_OBJECT(BIO *bp,ASN1_OBJECT *a); int a2i_ASN1_STRING(BIO *bp,ASN1_STRING *bs,char *buf,int size); int i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type); int i2t_ASN1_OBJECT(char *buf,int buf_len,ASN1_OBJECT *a); int a2d_ASN1_OBJECT(unsigned char *out,int olen, const char *buf, int num); ASN1_OBJECT *ASN1_OBJECT_create(int nid, unsigned char *data,int len, const char *sn, const char *ln); int ASN1_INTEGER_set(ASN1_INTEGER *a, long v); long ASN1_INTEGER_get(ASN1_INTEGER *a); ASN1_INTEGER *BN_to_ASN1_INTEGER(BIGNUM *bn, ASN1_INTEGER *ai); BIGNUM *ASN1_INTEGER_to_BN(ASN1_INTEGER *ai,BIGNUM *bn); int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v); long ASN1_ENUMERATED_get(ASN1_ENUMERATED *a); ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn, ASN1_ENUMERATED *ai); BIGNUM *ASN1_ENUMERATED_to_BN(ASN1_ENUMERATED *ai,BIGNUM *bn); int ASN1_PRINTABLE_type(unsigned char *s, int max); int i2d_ASN1_bytes(ASN1_STRING *a, unsigned char **pp, int tag, int xclass); ASN1_STRING *d2i_ASN1_bytes(ASN1_STRING **a, unsigned char **pp, long length, int Ptag, int Pclass); unsigned long ASN1_tag2bit(int tag); ASN1_STRING *d2i_ASN1_type_bytes(ASN1_STRING **a,unsigned char **pp, long length,int type); int asn1_Finish(ASN1_CTX *c); int ASN1_get_object(unsigned char **pp, long *plength, int *ptag, int *pclass, long omax); int ASN1_check_infinite_end(unsigned char **p,long len); void ASN1_put_object(unsigned char **pp, int constructed, int length, int tag, int xclass); int ASN1_object_size(int constructed, int length, int tag); char *ASN1_dup(int (*i2d)(),char *(*d2i)(),char *x); void *ASN1_item_dup(const ASN1_ITEM *it, void *x); char *ASN1_d2i_fp(char *(*xnew)(),char *(*d2i)(),FILE *fp,unsigned char **x); void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x); int ASN1_i2d_fp(int (*i2d)(),FILE *out,unsigned char *x); int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, void *x); int ASN1_STRING_print_ex_fp(FILE *fp, ASN1_STRING *str, unsigned long flags); int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in); char *ASN1_d2i_bio(char *(*xnew)(),char *(*d2i)(),BIO *bp,unsigned char **x); void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x); int ASN1_i2d_bio(int (*i2d)(),BIO *out,unsigned char *x); int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, void *x); int ASN1_UTCTIME_print(BIO *fp,ASN1_UTCTIME *a); int ASN1_GENERALIZEDTIME_print(BIO *fp,ASN1_GENERALIZEDTIME *a); int ASN1_TIME_print(BIO *fp,ASN1_TIME *a); int ASN1_STRING_print(BIO *bp,ASN1_STRING *v); int ASN1_STRING_print_ex(BIO *out, ASN1_STRING *str, unsigned long flags); int ASN1_parse(BIO *bp,unsigned char *pp,long len,int indent); int ASN1_parse_dump(BIO *bp,unsigned char *pp,long len,int indent,int dump); const char *ASN1_tag2str(int tag); int i2d_ASN1_HEADER(ASN1_HEADER *a,unsigned char **pp); ASN1_HEADER *d2i_ASN1_HEADER(ASN1_HEADER **a,unsigned char **pp, long length); ASN1_HEADER *ASN1_HEADER_new(void ); void ASN1_HEADER_free(ASN1_HEADER *a); int ASN1_UNIVERSALSTRING_to_string(ASN1_UNIVERSALSTRING *s); ASN1_METHOD *X509_asn1_meth(void); ASN1_METHOD *RSAPrivateKey_asn1_meth(void); ASN1_METHOD *ASN1_IA5STRING_asn1_meth(void); ASN1_METHOD *ASN1_BIT_STRING_asn1_meth(void); int ASN1_TYPE_set_octetstring(ASN1_TYPE *a, unsigned char *data, int len); int ASN1_TYPE_get_octetstring(ASN1_TYPE *a, unsigned char *data, int max_len); int ASN1_TYPE_set_int_octetstring(ASN1_TYPE *a, long num, unsigned char *data, int len); int ASN1_TYPE_get_int_octetstring(ASN1_TYPE *a,long *num, unsigned char *data, int max_len); STACK *ASN1_seq_unpack(unsigned char *buf, int len, char *(*d2i)(), void (*free_func)(void *) ); unsigned char *ASN1_seq_pack(STACK *safes, int (*i2d)(), unsigned char **buf, int *len ); void *ASN1_unpack_string(ASN1_STRING *oct, char *(*d2i)()); void *ASN1_item_unpack(ASN1_STRING *oct, const ASN1_ITEM *it); ASN1_STRING *ASN1_pack_string(void *obj, int (*i2d)(), ASN1_OCTET_STRING **oct); ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_OCTET_STRING **oct); void ASN1_STRING_set_default_mask(unsigned long mask); int ASN1_STRING_set_default_mask_asc(char *p); unsigned long ASN1_STRING_get_default_mask(void); int ASN1_mbstring_copy(ASN1_STRING **out, const unsigned char *in, int len, int inform, unsigned long mask); int ASN1_mbstring_ncopy(ASN1_STRING **out, const unsigned char *in, int len, int inform, unsigned long mask, long minsize, long maxsize); ASN1_STRING *ASN1_STRING_set_by_NID(ASN1_STRING **out, const unsigned char *in, int inlen, int inform, int nid); ASN1_STRING_TABLE *ASN1_STRING_TABLE_get(int nid); int ASN1_STRING_TABLE_add(int, long, long, unsigned long, unsigned long); void ASN1_STRING_TABLE_cleanup(void); ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it); void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it); ASN1_VALUE * ASN1_item_d2i(ASN1_VALUE **val, unsigned char **in, long len, const ASN1_ITEM *it); int ASN1_item_i2d(ASN1_VALUE *val, unsigned char **out, const ASN1_ITEM *it); void ASN1_add_oid_module(void); void ERR_load_ASN1_strings(void); # 63 "/usr/include/openssl/rsa.h" 2 3 4 # 83 "/usr/include/openssl/rsa.h" 3 4 typedef struct rsa_st RSA; typedef struct rsa_meth_st { const char *name; int (*rsa_pub_enc)(int flen,const unsigned char *from, unsigned char *to, RSA *rsa,int padding); int (*rsa_pub_dec)(int flen,const unsigned char *from, unsigned char *to, RSA *rsa,int padding); int (*rsa_priv_enc)(int flen,const unsigned char *from, unsigned char *to, RSA *rsa,int padding); int (*rsa_priv_dec)(int flen,const unsigned char *from, unsigned char *to, RSA *rsa,int padding); int (*rsa_mod_exp)(BIGNUM *r0,const BIGNUM *I,RSA *rsa); int (*bn_mod_exp)(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); int (*init)(RSA *rsa); int (*finish)(RSA *rsa); int flags; char *app_data; int (*rsa_sign)(int type, const unsigned char *m, unsigned int m_length, unsigned char *sigret, unsigned int *siglen, const RSA *rsa); int (*rsa_verify)(int dtype, const unsigned char *m, unsigned int m_length, unsigned char *sigbuf, unsigned int siglen, const RSA *rsa); } RSA_METHOD; struct rsa_st { int pad; long version; const RSA_METHOD *meth; ENGINE *engine; BIGNUM *n; BIGNUM *e; BIGNUM *d; BIGNUM *p; BIGNUM *q; BIGNUM *dmp1; BIGNUM *dmq1; BIGNUM *iqmp; CRYPTO_EX_DATA ex_data; int references; int flags; BN_MONT_CTX *_method_mod_n; BN_MONT_CTX *_method_mod_p; BN_MONT_CTX *_method_mod_q; char *bignum_data; BN_BLINDING *blinding; }; # 193 "/usr/include/openssl/rsa.h" 3 4 RSA * RSA_new(void); RSA * RSA_new_method(ENGINE *engine); int RSA_size(const RSA *); RSA * RSA_generate_key(int bits, unsigned long e,void (*callback)(int,int,void *),void *cb_arg); int RSA_check_key(const RSA *); int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, RSA *rsa,int padding); int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, RSA *rsa,int padding); int RSA_public_decrypt(int flen, const unsigned char *from, unsigned char *to, RSA *rsa,int padding); int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, RSA *rsa,int padding); void RSA_free (RSA *r); int RSA_up_ref(RSA *r); int RSA_flags(const RSA *r); void RSA_set_default_method(const RSA_METHOD *meth); const RSA_METHOD *RSA_get_default_method(void); const RSA_METHOD *RSA_get_method(const RSA *rsa); int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); int RSA_memory_lock(RSA *r); const RSA_METHOD *RSA_PKCS1_SSLeay(void); const RSA_METHOD *RSA_null_method(void); RSA *d2i_RSAPublicKey(RSA **a, const unsigned char **in, long len); int i2d_RSAPublicKey(const RSA *a, unsigned char **out); extern const ASN1_ITEM RSAPublicKey_it; RSA *d2i_RSAPrivateKey(RSA **a, const unsigned char **in, long len); int i2d_RSAPrivateKey(const RSA *a, unsigned char **out); extern const ASN1_ITEM RSAPrivateKey_it; int RSA_print_fp(FILE *fp, const RSA *r,int offset); int RSA_print(BIO *bp, const RSA *r,int offset); int i2d_RSA_NET(const RSA *a, unsigned char **pp, int (*cb)(), int sgckey); RSA *d2i_RSA_NET(RSA **a, const unsigned char **pp, long length, int (*cb)(), int sgckey); int i2d_Netscape_RSA(const RSA *a, unsigned char **pp, int (*cb)()); RSA *d2i_Netscape_RSA(RSA **a, const unsigned char **pp, long length, int (*cb)()); int RSA_sign(int type, const unsigned char *m, unsigned int m_length, unsigned char *sigret, unsigned int *siglen, RSA *rsa); int RSA_verify(int type, const unsigned char *m, unsigned int m_length, unsigned char *sigbuf, unsigned int siglen, RSA *rsa); int RSA_sign_ASN1_OCTET_STRING(int type, const unsigned char *m, unsigned int m_length, unsigned char *sigret, unsigned int *siglen, RSA *rsa); int RSA_verify_ASN1_OCTET_STRING(int type, const unsigned char *m, unsigned int m_length, unsigned char *sigbuf, unsigned int siglen, RSA *rsa); int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); void RSA_blinding_off(RSA *rsa); int RSA_padding_add_PKCS1_type_1(unsigned char *to,int tlen, const unsigned char *f,int fl); int RSA_padding_check_PKCS1_type_1(unsigned char *to,int tlen, const unsigned char *f,int fl,int rsa_len); int RSA_padding_add_PKCS1_type_2(unsigned char *to,int tlen, const unsigned char *f,int fl); int RSA_padding_check_PKCS1_type_2(unsigned char *to,int tlen, const unsigned char *f,int fl,int rsa_len); int RSA_padding_add_PKCS1_OAEP(unsigned char *to,int tlen, const unsigned char *f,int fl, const unsigned char *p,int pl); int RSA_padding_check_PKCS1_OAEP(unsigned char *to,int tlen, const unsigned char *f,int fl,int rsa_len, const unsigned char *p,int pl); int RSA_padding_add_SSLv23(unsigned char *to,int tlen, const unsigned char *f,int fl); int RSA_padding_check_SSLv23(unsigned char *to,int tlen, const unsigned char *f,int fl,int rsa_len); int RSA_padding_add_none(unsigned char *to,int tlen, const unsigned char *f,int fl); int RSA_padding_check_none(unsigned char *to,int tlen, const unsigned char *f,int fl,int rsa_len); int RSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int RSA_set_ex_data(RSA *r,int idx,void *arg); void *RSA_get_ex_data(const RSA *r, int idx); RSA *RSAPublicKey_dup(RSA *rsa); RSA *RSAPrivateKey_dup(RSA *rsa); void ERR_load_RSA_strings(void); # 138 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/dsa.h" 1 3 4 # 79 "/usr/include/openssl/dsa.h" 3 4 # 1 "/usr/include/openssl/dh.h" 1 3 4 # 79 "/usr/include/openssl/dh.h" 3 4 typedef struct dh_st DH; typedef struct dh_method { const char *name; int (*generate_key)(DH *dh); int (*compute_key)(unsigned char *key,const BIGNUM *pub_key,DH *dh); int (*bn_mod_exp)(const DH *dh, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); int (*init)(DH *dh); int (*finish)(DH *dh); int flags; char *app_data; } DH_METHOD; struct dh_st { int pad; int version; BIGNUM *p; BIGNUM *g; long length; BIGNUM *pub_key; BIGNUM *priv_key; int flags; char *method_mont_p; BIGNUM *q; BIGNUM *j; unsigned char *seed; int seedlen; BIGNUM *counter; int references; CRYPTO_EX_DATA ex_data; const DH_METHOD *meth; ENGINE *engine; }; # 153 "/usr/include/openssl/dh.h" 3 4 const DH_METHOD *DH_OpenSSL(void); void DH_set_default_method(const DH_METHOD *meth); const DH_METHOD *DH_get_default_method(void); int DH_set_method(DH *dh, const DH_METHOD *meth); DH *DH_new_method(ENGINE *engine); DH * DH_new(void); void DH_free(DH *dh); int DH_up_ref(DH *dh); int DH_size(const DH *dh); int DH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int DH_set_ex_data(DH *d, int idx, void *arg); void *DH_get_ex_data(DH *d, int idx); DH * DH_generate_parameters(int prime_len,int generator, void (*callback)(int,int,void *),void *cb_arg); int DH_check(const DH *dh,int *codes); int DH_generate_key(DH *dh); int DH_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh); DH * d2i_DHparams(DH **a,const unsigned char **pp, long length); int i2d_DHparams(const DH *a,unsigned char **pp); int DHparams_print_fp(FILE *fp, const DH *x); int DHparams_print(BIO *bp, const DH *x); # 188 "/usr/include/openssl/dh.h" 3 4 void ERR_load_DH_strings(void); # 80 "/usr/include/openssl/dsa.h" 2 3 4 # 92 "/usr/include/openssl/dsa.h" 3 4 typedef struct dsa_st DSA; typedef struct DSA_SIG_st { BIGNUM *r; BIGNUM *s; } DSA_SIG; typedef struct dsa_method { const char *name; DSA_SIG * (*dsa_do_sign)(const unsigned char *dgst, int dlen, DSA *dsa); int (*dsa_sign_setup)(DSA *dsa, BN_CTX *ctx_in, BIGNUM **kinvp, BIGNUM **rp); int (*dsa_do_verify)(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa); int (*dsa_mod_exp)(DSA *dsa, BIGNUM *rr, BIGNUM *a1, BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont); int (*bn_mod_exp)(DSA *dsa, BIGNUM *r, BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); int (*init)(DSA *dsa); int (*finish)(DSA *dsa); int flags; char *app_data; } DSA_METHOD; struct dsa_st { int pad; long version; int write_params; BIGNUM *p; BIGNUM *q; BIGNUM *g; BIGNUM *pub_key; BIGNUM *priv_key; BIGNUM *kinv; BIGNUM *r; int flags; char *method_mont_p; int references; CRYPTO_EX_DATA ex_data; const DSA_METHOD *meth; ENGINE *engine; }; # 158 "/usr/include/openssl/dsa.h" 3 4 DSA_SIG * DSA_SIG_new(void); void DSA_SIG_free(DSA_SIG *a); int i2d_DSA_SIG(const DSA_SIG *a, unsigned char **pp); DSA_SIG * d2i_DSA_SIG(DSA_SIG **v, const unsigned char **pp, long length); DSA_SIG * DSA_do_sign(const unsigned char *dgst,int dlen,DSA *dsa); int DSA_do_verify(const unsigned char *dgst,int dgst_len, DSA_SIG *sig,DSA *dsa); const DSA_METHOD *DSA_OpenSSL(void); void DSA_set_default_method(const DSA_METHOD *); const DSA_METHOD *DSA_get_default_method(void); int DSA_set_method(DSA *dsa, const DSA_METHOD *); DSA * DSA_new(void); DSA * DSA_new_method(ENGINE *engine); void DSA_free (DSA *r); int DSA_up_ref(DSA *r); int DSA_size(const DSA *); int DSA_sign_setup( DSA *dsa,BN_CTX *ctx_in,BIGNUM **kinvp,BIGNUM **rp); int DSA_sign(int type,const unsigned char *dgst,int dlen, unsigned char *sig, unsigned int *siglen, DSA *dsa); int DSA_verify(int type,const unsigned char *dgst,int dgst_len, const unsigned char *sigbuf, int siglen, DSA *dsa); int DSA_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int DSA_set_ex_data(DSA *d, int idx, void *arg); void *DSA_get_ex_data(DSA *d, int idx); DSA * d2i_DSAPublicKey(DSA **a, const unsigned char **pp, long length); DSA * d2i_DSAPrivateKey(DSA **a, const unsigned char **pp, long length); DSA * d2i_DSAparams(DSA **a, const unsigned char **pp, long length); DSA * DSA_generate_parameters(int bits, unsigned char *seed,int seed_len, int *counter_ret, unsigned long *h_ret,void (*callback)(int, int, void *),void *cb_arg); int DSA_generate_key(DSA *a); int i2d_DSAPublicKey(const DSA *a, unsigned char **pp); int i2d_DSAPrivateKey(const DSA *a, unsigned char **pp); int i2d_DSAparams(const DSA *a,unsigned char **pp); int DSAparams_print(BIO *bp, const DSA *x); int DSA_print(BIO *bp, const DSA *x, int off); int DSAparams_print_fp(FILE *fp, const DSA *x); int DSA_print_fp(FILE *bp, const DSA *x, int off); # 220 "/usr/include/openssl/dsa.h" 3 4 DH *DSA_dup_DH(const DSA *r); void ERR_load_DSA_strings(void); # 142 "/usr/include/openssl/evp.h" 2 3 4 # 1 "/usr/include/openssl/objects.h" 1 3 4 # 65 "/usr/include/openssl/objects.h" 3 4 # 1 "/usr/include/openssl/obj_mac.h" 1 3 4 # 66 "/usr/include/openssl/objects.h" 2 3 4 # 976 "/usr/include/openssl/objects.h" 3 4 typedef struct obj_name_st { int type; int alias; const char *name; const char *data; } OBJ_NAME; int OBJ_NAME_init(void); int OBJ_NAME_new_index(unsigned long (*hash_func)(const char *), int (*cmp_func)(const char *, const char *), void (*free_func)(const char *, int, const char *)); const char *OBJ_NAME_get(const char *name,int type); int OBJ_NAME_add(const char *name,int type,const char *data); int OBJ_NAME_remove(const char *name,int type); void OBJ_NAME_cleanup(int type); void OBJ_NAME_do_all(int type,void (*fn)(const OBJ_NAME *,void *arg), void *arg); void OBJ_NAME_do_all_sorted(int type,void (*fn)(const OBJ_NAME *,void *arg), void *arg); ASN1_OBJECT * OBJ_dup(const ASN1_OBJECT *o); ASN1_OBJECT * OBJ_nid2obj(int n); const char * OBJ_nid2ln(int n); const char * OBJ_nid2sn(int n); int OBJ_obj2nid(const ASN1_OBJECT *o); ASN1_OBJECT * OBJ_txt2obj(const char *s, int no_name); int OBJ_obj2txt(char *buf, int buf_len, const ASN1_OBJECT *a, int no_name); int OBJ_txt2nid(const char *s); int OBJ_ln2nid(const char *s); int OBJ_sn2nid(const char *s); int OBJ_cmp(const ASN1_OBJECT *a,const ASN1_OBJECT *b); const char * OBJ_bsearch(const char *key,const char *base,int num,int size, int (*cmp)(const void *, const void *)); int OBJ_new_nid(int num); int OBJ_add_object(const ASN1_OBJECT *obj); int OBJ_create(const char *oid,const char *sn,const char *ln); void OBJ_cleanup(void ); int OBJ_create_objects(BIO *in); void ERR_load_OBJ_strings(void); # 149 "/usr/include/openssl/evp.h" 2 3 4 # 177 "/usr/include/openssl/evp.h" 3 4 struct evp_pkey_st { int type; int save_type; int references; union { char *ptr; struct rsa_st *rsa; struct dsa_st *dsa; struct dh_st *dh; } pkey; int save_parameters; STACK *attributes; } ; # 271 "/usr/include/openssl/evp.h" 3 4 struct env_md_st { int type; int pkey_type; int md_size; unsigned long flags; int (*init)(EVP_MD_CTX *ctx); int (*update)(EVP_MD_CTX *ctx,const void *data,unsigned long count); int (*final)(EVP_MD_CTX *ctx,unsigned char *md); int (*copy)(EVP_MD_CTX *to,const EVP_MD_CTX *from); int (*cleanup)(EVP_MD_CTX *ctx); int (*sign)(); int (*verify)(); int required_pkey_type[5]; int block_size; int ctx_size; } ; # 318 "/usr/include/openssl/evp.h" 3 4 struct env_md_ctx_st { const EVP_MD *digest; ENGINE *engine; unsigned long flags; void *md_data; } ; # 335 "/usr/include/openssl/evp.h" 3 4 struct evp_cipher_st { int nid; int block_size; int key_len; int iv_len; unsigned long flags; int (*init)(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc); int (*do_cipher)(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, unsigned int inl); int (*cleanup)(EVP_CIPHER_CTX *); int ctx_size; int (*set_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *); int (*get_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *); int (*ctrl)(EVP_CIPHER_CTX *, int type, int arg, void *ptr); void *app_data; } ; # 386 "/usr/include/openssl/evp.h" 3 4 typedef struct evp_cipher_info_st { const EVP_CIPHER *cipher; unsigned char iv[16]; } EVP_CIPHER_INFO; struct evp_cipher_ctx_st { const EVP_CIPHER *cipher; ENGINE *engine; int encrypt; int buf_len; unsigned char oiv[16]; unsigned char iv[16]; unsigned char buf[32]; int num; void *app_data; int key_len; unsigned long flags; void *cipher_data; int final_used; int block_mask; unsigned char final[32]; } ; typedef struct evp_Encode_Ctx_st { int num; int length; unsigned char enc_data[80]; int line_num; int expect_nl; } EVP_ENCODE_CTX; typedef int (EVP_PBE_KEYGEN)(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, int en_de); # 517 "/usr/include/openssl/evp.h" 3 4 void EVP_MD_CTX_init(EVP_MD_CTX *ctx); int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx); EVP_MD_CTX *EVP_MD_CTX_create(void); void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out,const EVP_MD_CTX *in); int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *impl); int EVP_DigestUpdate(EVP_MD_CTX *ctx,const void *d, unsigned int cnt); int EVP_DigestFinal_ex(EVP_MD_CTX *ctx,unsigned char *md,unsigned int *s); int EVP_Digest(void *data, unsigned int count, unsigned char *md, unsigned int *size, const EVP_MD *type, ENGINE *impl); int EVP_MD_CTX_copy(EVP_MD_CTX *out,const EVP_MD_CTX *in); int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type); int EVP_DigestFinal(EVP_MD_CTX *ctx,unsigned char *md,unsigned int *s); int EVP_read_pw_string(char *buf,int length,const char *prompt,int verify); void EVP_set_pw_prompt(char *prompt); char * EVP_get_pw_prompt(void); int EVP_BytesToKey(const EVP_CIPHER *type,const EVP_MD *md, const unsigned char *salt, const unsigned char *data, int datal, int count, unsigned char *key,unsigned char *iv); int EVP_EncryptInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv); int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv); int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl); int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl); int EVP_EncryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl); int EVP_DecryptInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv); int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv); int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl); int EVP_DecryptFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl); int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl); int EVP_CipherInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, const unsigned char *key,const unsigned char *iv, int enc); int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key,const unsigned char *iv, int enc); int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl); int EVP_CipherFinal(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl); int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl); int EVP_SignFinal(EVP_MD_CTX *ctx,unsigned char *md,unsigned int *s, EVP_PKEY *pkey); int EVP_VerifyFinal(EVP_MD_CTX *ctx,unsigned char *sigbuf, unsigned int siglen,EVP_PKEY *pkey); int EVP_OpenInit(EVP_CIPHER_CTX *ctx,const EVP_CIPHER *type,unsigned char *ek, int ekl,unsigned char *iv,EVP_PKEY *priv); int EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl); int EVP_SealInit(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, unsigned char **ek, int *ekl, unsigned char *iv,EVP_PKEY **pubk, int npubk); int EVP_SealFinal(EVP_CIPHER_CTX *ctx,unsigned char *out,int *outl); void EVP_EncodeInit(EVP_ENCODE_CTX *ctx); void EVP_EncodeUpdate(EVP_ENCODE_CTX *ctx,unsigned char *out, int *outl,unsigned char *in,int inl); void EVP_EncodeFinal(EVP_ENCODE_CTX *ctx,unsigned char *out,int *outl); int EVP_EncodeBlock(unsigned char *t, const unsigned char *f, int n); void EVP_DecodeInit(EVP_ENCODE_CTX *ctx); int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx,unsigned char *out,int *outl, unsigned char *in, int inl); int EVP_DecodeFinal(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl); int EVP_DecodeBlock(unsigned char *t, const unsigned char *f, int n); void EVP_CIPHER_CTX_init(EVP_CIPHER_CTX *a); int EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *a); int EVP_CIPHER_CTX_set_key_length(EVP_CIPHER_CTX *x, int keylen); int EVP_CIPHER_CTX_set_padding(EVP_CIPHER_CTX *c, int pad); int EVP_CIPHER_CTX_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr); BIO_METHOD *BIO_f_md(void); BIO_METHOD *BIO_f_base64(void); BIO_METHOD *BIO_f_cipher(void); BIO_METHOD *BIO_f_reliable(void); void BIO_set_cipher(BIO *b,const EVP_CIPHER *c,unsigned char *k, unsigned char *i, int enc); const EVP_MD *EVP_md_null(void); const EVP_MD *EVP_md2(void); const EVP_MD *EVP_md4(void); const EVP_MD *EVP_md5(void); const EVP_MD *EVP_sha(void); const EVP_MD *EVP_sha1(void); const EVP_MD *EVP_dss(void); const EVP_MD *EVP_dss1(void); const EVP_MD *EVP_mdc2(void); const EVP_MD *EVP_ripemd160(void); const EVP_CIPHER *EVP_enc_null(void); const EVP_CIPHER *EVP_des_ecb(void); const EVP_CIPHER *EVP_des_ede(void); const EVP_CIPHER *EVP_des_ede3(void); const EVP_CIPHER *EVP_des_ede_ecb(void); const EVP_CIPHER *EVP_des_ede3_ecb(void); const EVP_CIPHER *EVP_des_cfb64(void); const EVP_CIPHER *EVP_des_cfb1(void); const EVP_CIPHER *EVP_des_cfb8(void); const EVP_CIPHER *EVP_des_ede_cfb64(void); const EVP_CIPHER *EVP_des_ede3_cfb64(void); const EVP_CIPHER *EVP_des_ede3_cfb1(void); const EVP_CIPHER *EVP_des_ede3_cfb8(void); const EVP_CIPHER *EVP_des_ofb(void); const EVP_CIPHER *EVP_des_ede_ofb(void); const EVP_CIPHER *EVP_des_ede3_ofb(void); const EVP_CIPHER *EVP_des_cbc(void); const EVP_CIPHER *EVP_des_ede_cbc(void); const EVP_CIPHER *EVP_des_ede3_cbc(void); const EVP_CIPHER *EVP_desx_cbc(void); # 676 "/usr/include/openssl/evp.h" 3 4 const EVP_CIPHER *EVP_rc4(void); const EVP_CIPHER *EVP_rc4_40(void); const EVP_CIPHER *EVP_idea_ecb(void); const EVP_CIPHER *EVP_idea_cfb64(void); const EVP_CIPHER *EVP_idea_ofb(void); const EVP_CIPHER *EVP_idea_cbc(void); const EVP_CIPHER *EVP_rc2_ecb(void); const EVP_CIPHER *EVP_rc2_cbc(void); const EVP_CIPHER *EVP_rc2_40_cbc(void); const EVP_CIPHER *EVP_rc2_64_cbc(void); const EVP_CIPHER *EVP_rc2_cfb64(void); const EVP_CIPHER *EVP_rc2_ofb(void); const EVP_CIPHER *EVP_bf_ecb(void); const EVP_CIPHER *EVP_bf_cbc(void); const EVP_CIPHER *EVP_bf_cfb64(void); const EVP_CIPHER *EVP_bf_ofb(void); const EVP_CIPHER *EVP_cast5_ecb(void); const EVP_CIPHER *EVP_cast5_cbc(void); const EVP_CIPHER *EVP_cast5_cfb64(void); const EVP_CIPHER *EVP_cast5_ofb(void); const EVP_CIPHER *EVP_rc5_32_12_16_cbc(void); const EVP_CIPHER *EVP_rc5_32_12_16_ecb(void); const EVP_CIPHER *EVP_rc5_32_12_16_cfb64(void); const EVP_CIPHER *EVP_rc5_32_12_16_ofb(void); const EVP_CIPHER *EVP_aes_128_ecb(void); const EVP_CIPHER *EVP_aes_128_cbc(void); const EVP_CIPHER *EVP_aes_128_cfb1(void); const EVP_CIPHER *EVP_aes_128_cfb8(void); const EVP_CIPHER *EVP_aes_128_cfb128(void); const EVP_CIPHER *EVP_aes_128_ofb(void); const EVP_CIPHER *EVP_aes_192_ecb(void); const EVP_CIPHER *EVP_aes_192_cbc(void); const EVP_CIPHER *EVP_aes_192_cfb1(void); const EVP_CIPHER *EVP_aes_192_cfb8(void); const EVP_CIPHER *EVP_aes_192_cfb128(void); const EVP_CIPHER *EVP_aes_192_ofb(void); const EVP_CIPHER *EVP_aes_256_ecb(void); const EVP_CIPHER *EVP_aes_256_cbc(void); const EVP_CIPHER *EVP_aes_256_cfb1(void); const EVP_CIPHER *EVP_aes_256_cfb8(void); const EVP_CIPHER *EVP_aes_256_cfb128(void); const EVP_CIPHER *EVP_aes_256_ofb(void); void OPENSSL_add_all_algorithms_noconf(void); void OPENSSL_add_all_algorithms_conf(void); # 760 "/usr/include/openssl/evp.h" 3 4 void OpenSSL_add_all_ciphers(void); void OpenSSL_add_all_digests(void); int EVP_add_cipher(const EVP_CIPHER *cipher); int EVP_add_digest(const EVP_MD *digest); const EVP_CIPHER *EVP_get_cipherbyname(const char *name); const EVP_MD *EVP_get_digestbyname(const char *name); void EVP_cleanup(void); int EVP_PKEY_decrypt(unsigned char *dec_key,unsigned char *enc_key, int enc_key_len,EVP_PKEY *private_key); int EVP_PKEY_encrypt(unsigned char *enc_key, unsigned char *key,int key_len,EVP_PKEY *pub_key); int EVP_PKEY_type(int type); int EVP_PKEY_bits(EVP_PKEY *pkey); int EVP_PKEY_size(EVP_PKEY *pkey); int EVP_PKEY_assign(EVP_PKEY *pkey,int type,char *key); struct rsa_st; int EVP_PKEY_set1_RSA(EVP_PKEY *pkey,struct rsa_st *key); struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); struct dsa_st; int EVP_PKEY_set1_DSA(EVP_PKEY *pkey,struct dsa_st *key); struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); struct dh_st; int EVP_PKEY_set1_DH(EVP_PKEY *pkey,struct dh_st *key); struct dh_st *EVP_PKEY_get1_DH(EVP_PKEY *pkey); EVP_PKEY * EVP_PKEY_new(void); void EVP_PKEY_free(EVP_PKEY *pkey); EVP_PKEY * d2i_PublicKey(int type,EVP_PKEY **a, unsigned char **pp, long length); int i2d_PublicKey(EVP_PKEY *a, unsigned char **pp); EVP_PKEY * d2i_PrivateKey(int type,EVP_PKEY **a, unsigned char **pp, long length); EVP_PKEY * d2i_AutoPrivateKey(EVP_PKEY **a, unsigned char **pp, long length); int i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp); int EVP_PKEY_copy_parameters(EVP_PKEY *to,EVP_PKEY *from); int EVP_PKEY_missing_parameters(EVP_PKEY *pkey); int EVP_PKEY_save_parameters(EVP_PKEY *pkey,int mode); int EVP_PKEY_cmp_parameters(EVP_PKEY *a,EVP_PKEY *b); int EVP_CIPHER_type(const EVP_CIPHER *ctx); int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type); int EVP_CIPHER_asn1_to_param(EVP_CIPHER_CTX *c, ASN1_TYPE *type); int EVP_CIPHER_set_asn1_iv(EVP_CIPHER_CTX *c,ASN1_TYPE *type); int EVP_CIPHER_get_asn1_iv(EVP_CIPHER_CTX *c,ASN1_TYPE *type); int PKCS5_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, int en_de); int PKCS5_PBKDF2_HMAC_SHA1(const char *pass, int passlen, unsigned char *salt, int saltlen, int iter, int keylen, unsigned char *out); int PKCS5_v2_PBE_keyivgen(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md, int en_de); void PKCS5_PBE_add(void); int EVP_PBE_CipherInit (ASN1_OBJECT *pbe_obj, const char *pass, int passlen, ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de); int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md, EVP_PBE_KEYGEN *keygen); void EVP_PBE_cleanup(void); void ERR_load_EVP_strings(void); # 68 "/usr/include/openssl/x509.h" 2 3 4 # 90 "/usr/include/openssl/x509.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 91 "/usr/include/openssl/x509.h" 2 3 4 # 117 "/usr/include/openssl/x509.h" 3 4 typedef struct X509_objects_st { int nid; int (*a2i)(); int (*i2a)(); } X509_OBJECTS; struct X509_algor_st { ASN1_OBJECT *algorithm; ASN1_TYPE *parameter; } ; typedef struct X509_val_st { ASN1_TIME *notBefore; ASN1_TIME *notAfter; } X509_VAL; typedef struct X509_pubkey_st { X509_ALGOR *algor; ASN1_BIT_STRING *public_key; EVP_PKEY *pkey; } X509_PUBKEY; typedef struct X509_sig_st { X509_ALGOR *algor; ASN1_OCTET_STRING *digest; } X509_SIG; typedef struct X509_name_entry_st { ASN1_OBJECT *object; ASN1_STRING *value; int set; int size; } X509_NAME_ENTRY; struct X509_name_st { STACK *entries; int modified; BUF_MEM *bytes; unsigned long hash; } ; typedef struct X509_extension_st { ASN1_OBJECT *object; ASN1_BOOLEAN critical; ASN1_OCTET_STRING *value; } X509_EXTENSION; typedef struct x509_attributes_st { ASN1_OBJECT *object; int single; union { char *ptr; STACK *set; ASN1_TYPE *single; } value; } X509_ATTRIBUTE; typedef struct X509_req_info_st { ASN1_ENCODING enc; ASN1_INTEGER *version; X509_NAME *subject; X509_PUBKEY *pubkey; STACK *attributes; } X509_REQ_INFO; typedef struct X509_req_st { X509_REQ_INFO *req_info; X509_ALGOR *sig_alg; ASN1_BIT_STRING *signature; int references; } X509_REQ; typedef struct x509_cinf_st { ASN1_INTEGER *version; ASN1_INTEGER *serialNumber; X509_ALGOR *signature; X509_NAME *issuer; X509_VAL *validity; X509_NAME *subject; X509_PUBKEY *key; ASN1_BIT_STRING *issuerUID; ASN1_BIT_STRING *subjectUID; STACK *extensions; } X509_CINF; typedef struct x509_cert_aux_st { STACK *trust; STACK *reject; ASN1_UTF8STRING *alias; ASN1_OCTET_STRING *keyid; STACK *other; } X509_CERT_AUX; struct x509_st { X509_CINF *cert_info; X509_ALGOR *sig_alg; ASN1_BIT_STRING *signature; int valid; int references; char *name; CRYPTO_EX_DATA ex_data; long ex_pathlen; unsigned long ex_flags; unsigned long ex_kusage; unsigned long ex_xkusage; unsigned long ex_nscert; ASN1_OCTET_STRING *skid; struct AUTHORITY_KEYID_st *akid; unsigned char sha1_hash[20]; X509_CERT_AUX *aux; } ; typedef struct x509_trust_st { int trust; int flags; int (*check_trust)(struct x509_trust_st *, X509 *, int); char *name; int arg1; void *arg2; } X509_TRUST; # 393 "/usr/include/openssl/x509.h" 3 4 typedef struct X509_revoked_st { ASN1_INTEGER *serialNumber; ASN1_TIME *revocationDate; STACK *extensions; int sequence; } X509_REVOKED; typedef struct X509_crl_info_st { ASN1_INTEGER *version; X509_ALGOR *sig_alg; X509_NAME *issuer; ASN1_TIME *lastUpdate; ASN1_TIME *nextUpdate; STACK *revoked; STACK *extensions; ASN1_ENCODING enc; } X509_CRL_INFO; struct X509_crl_st { X509_CRL_INFO *crl; X509_ALGOR *sig_alg; ASN1_BIT_STRING *signature; int references; } ; typedef struct private_key_st { int version; X509_ALGOR *enc_algor; ASN1_OCTET_STRING *enc_pkey; EVP_PKEY *dec_pkey; int key_length; char *key_data; int key_free; EVP_CIPHER_INFO cipher; int references; } X509_PKEY; typedef struct X509_info_st { X509 *x509; X509_CRL *crl; X509_PKEY *x_pkey; EVP_CIPHER_INFO enc_cipher; int enc_len; char *enc_data; int references; } X509_INFO; typedef struct Netscape_spkac_st { X509_PUBKEY *pubkey; ASN1_IA5STRING *challenge; } NETSCAPE_SPKAC; typedef struct Netscape_spki_st { NETSCAPE_SPKAC *spkac; X509_ALGOR *sig_algor; ASN1_BIT_STRING *signature; } NETSCAPE_SPKI; typedef struct Netscape_certificate_sequence { ASN1_OBJECT *type; STACK *certs; } NETSCAPE_CERT_SEQUENCE; # 499 "/usr/include/openssl/x509.h" 3 4 typedef struct PBEPARAM_st { ASN1_OCTET_STRING *salt; ASN1_INTEGER *iter; } PBEPARAM; typedef struct PBE2PARAM_st { X509_ALGOR *keyfunc; X509_ALGOR *encryption; } PBE2PARAM; typedef struct PBKDF2PARAM_st { ASN1_TYPE *salt; ASN1_INTEGER *iter; ASN1_INTEGER *keylength; X509_ALGOR *prf; } PBKDF2PARAM; typedef struct pkcs8_priv_key_info_st { int broken; ASN1_INTEGER *version; X509_ALGOR *pkeyalg; ASN1_TYPE *pkey; STACK *attributes; } PKCS8_PRIV_KEY_INFO; # 1 "/usr/include/openssl/x509_vfy.h" 1 3 4 # 69 "/usr/include/openssl/x509_vfy.h" 3 4 # 1 "/usr/include/openssl/lhash.h" 1 3 4 # 78 "/usr/include/openssl/lhash.h" 3 4 typedef struct lhash_node_st { const void *data; struct lhash_node_st *next; unsigned long hash; } LHASH_NODE; typedef int (*LHASH_COMP_FN_TYPE)(const void *, const void *); typedef unsigned long (*LHASH_HASH_FN_TYPE)(const void *); typedef void (*LHASH_DOALL_FN_TYPE)(const void *); typedef void (*LHASH_DOALL_ARG_FN_TYPE)(const void *, void *); # 137 "/usr/include/openssl/lhash.h" 3 4 typedef struct lhash_st { LHASH_NODE **b; LHASH_COMP_FN_TYPE comp; LHASH_HASH_FN_TYPE hash; unsigned int num_nodes; unsigned int num_alloc_nodes; unsigned int p; unsigned int pmax; unsigned long up_load; unsigned long down_load; unsigned long num_items; unsigned long num_expands; unsigned long num_expand_reallocs; unsigned long num_contracts; unsigned long num_contract_reallocs; unsigned long num_hash_calls; unsigned long num_comp_calls; unsigned long num_insert; unsigned long num_replace; unsigned long num_delete; unsigned long num_no_delete; unsigned long num_retrieve; unsigned long num_retrieve_miss; unsigned long num_hash_comps; int error; } LHASH; LHASH *lh_new(LHASH_HASH_FN_TYPE h, LHASH_COMP_FN_TYPE c); void lh_free(LHASH *lh); void *lh_insert(LHASH *lh, const void *data); void *lh_delete(LHASH *lh, const void *data); void *lh_retrieve(LHASH *lh, const void *data); void lh_doall(LHASH *lh, LHASH_DOALL_FN_TYPE func); void lh_doall_arg(LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg); unsigned long lh_strhash(const char *c); unsigned long lh_num_items(const LHASH *lh); void lh_stats(const LHASH *lh, FILE *out); void lh_node_stats(const LHASH *lh, FILE *out); void lh_node_usage_stats(const LHASH *lh, FILE *out); void lh_stats_bio(const LHASH *lh, BIO *out); void lh_node_stats_bio(const LHASH *lh, BIO *out); void lh_node_usage_stats_bio(const LHASH *lh, BIO *out); # 70 "/usr/include/openssl/x509_vfy.h" 2 3 4 # 80 "/usr/include/openssl/x509_vfy.h" 3 4 typedef struct x509_hash_dir_st { int num_dirs; char **dirs; int *dirs_type; int num_dirs_alloced; } X509_HASH_DIR_CTX; typedef struct x509_file_st { int num_paths; int num_alloced; char **paths; int *path_type; } X509_CERT_FILE_CTX; # 120 "/usr/include/openssl/x509_vfy.h" 3 4 typedef struct x509_object_st { int type; union { char *ptr; X509 *x509; X509_CRL *crl; EVP_PKEY *pkey; } data; } X509_OBJECT; typedef struct x509_lookup_st X509_LOOKUP; typedef struct x509_lookup_method_st { const char *name; int (*new_item)(X509_LOOKUP *ctx); void (*free)(X509_LOOKUP *ctx); int (*init)(X509_LOOKUP *ctx); int (*shutdown)(X509_LOOKUP *ctx); int (*ctrl)(X509_LOOKUP *ctx,int cmd,const char *argc,long argl, char **ret); int (*get_by_subject)(X509_LOOKUP *ctx,int type,X509_NAME *name, X509_OBJECT *ret); int (*get_by_issuer_serial)(X509_LOOKUP *ctx,int type,X509_NAME *name, ASN1_INTEGER *serial,X509_OBJECT *ret); int (*get_by_fingerprint)(X509_LOOKUP *ctx,int type, unsigned char *bytes,int len, X509_OBJECT *ret); int (*get_by_alias)(X509_LOOKUP *ctx,int type,char *str,int len, X509_OBJECT *ret); } X509_LOOKUP_METHOD; struct x509_store_st { int cache; STACK *objs; STACK *get_cert_methods; unsigned long flags; int purpose; int trust; int (*verify)(X509_STORE_CTX *ctx); int (*verify_cb)(int ok,X509_STORE_CTX *ctx); int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); int (*check_revocation)(X509_STORE_CTX *ctx); int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); int (*cleanup)(X509_STORE_CTX *ctx); CRYPTO_EX_DATA ex_data; int references; int depth; } ; struct x509_lookup_st { int init; int skip; X509_LOOKUP_METHOD *method; char *method_data; X509_STORE *store_ctx; } ; struct x509_store_ctx_st { X509_STORE *ctx; int current_method; X509 *cert; STACK *untrusted; int purpose; int trust; time_t check_time; unsigned long flags; void *other_ctx; int (*verify)(X509_STORE_CTX *ctx); int (*verify_cb)(int ok,X509_STORE_CTX *ctx); int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); int (*check_revocation)(X509_STORE_CTX *ctx); int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); int (*cleanup)(X509_STORE_CTX *ctx); int depth; int valid; int last_untrusted; STACK *chain; int error_depth; int error; X509 *current_cert; X509 *current_issuer; X509_CRL *current_crl; CRYPTO_EX_DATA ex_data; } ; # 328 "/usr/include/openssl/x509_vfy.h" 3 4 int X509_OBJECT_idx_by_subject(STACK *h, int type, X509_NAME *name); X509_OBJECT *X509_OBJECT_retrieve_by_subject(STACK *h,int type,X509_NAME *name); X509_OBJECT *X509_OBJECT_retrieve_match(STACK *h, X509_OBJECT *x); void X509_OBJECT_up_ref_count(X509_OBJECT *a); void X509_OBJECT_free_contents(X509_OBJECT *a); X509_STORE *X509_STORE_new(void ); void X509_STORE_free(X509_STORE *v); void X509_STORE_set_flags(X509_STORE *ctx, long flags); int X509_STORE_set_purpose(X509_STORE *ctx, int purpose); int X509_STORE_set_trust(X509_STORE *ctx, int trust); X509_STORE_CTX *X509_STORE_CTX_new(void); int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); void X509_STORE_CTX_free(X509_STORE_CTX *ctx); int X509_STORE_CTX_init(X509_STORE_CTX *ctx, X509_STORE *store, X509 *x509, STACK *chain); void X509_STORE_CTX_trusted_stack(X509_STORE_CTX *ctx, STACK *sk); void X509_STORE_CTX_cleanup(X509_STORE_CTX *ctx); X509_LOOKUP *X509_STORE_add_lookup(X509_STORE *v, X509_LOOKUP_METHOD *m); X509_LOOKUP_METHOD *X509_LOOKUP_hash_dir(void); X509_LOOKUP_METHOD *X509_LOOKUP_file(void); int X509_STORE_add_cert(X509_STORE *ctx, X509 *x); int X509_STORE_add_crl(X509_STORE *ctx, X509_CRL *x); int X509_STORE_get_by_subject(X509_STORE_CTX *vs,int type,X509_NAME *name, X509_OBJECT *ret); int X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, long argl, char **ret); int X509_load_cert_file(X509_LOOKUP *ctx, const char *file, int type); int X509_load_crl_file(X509_LOOKUP *ctx, const char *file, int type); int X509_load_cert_crl_file(X509_LOOKUP *ctx, const char *file, int type); X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method); void X509_LOOKUP_free(X509_LOOKUP *ctx); int X509_LOOKUP_init(X509_LOOKUP *ctx); int X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name, X509_OBJECT *ret); int X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, int type, X509_NAME *name, ASN1_INTEGER *serial, X509_OBJECT *ret); int X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx, int type, unsigned char *bytes, int len, X509_OBJECT *ret); int X509_LOOKUP_by_alias(X509_LOOKUP *ctx, int type, char *str, int len, X509_OBJECT *ret); int X509_LOOKUP_shutdown(X509_LOOKUP *ctx); int X509_STORE_load_locations (X509_STORE *ctx, const char *file, const char *dir); int X509_STORE_set_default_paths(X509_STORE *ctx); int X509_STORE_CTX_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *ctx,int idx,void *data); void * X509_STORE_CTX_get_ex_data(X509_STORE_CTX *ctx,int idx); int X509_STORE_CTX_get_error(X509_STORE_CTX *ctx); void X509_STORE_CTX_set_error(X509_STORE_CTX *ctx,int s); int X509_STORE_CTX_get_error_depth(X509_STORE_CTX *ctx); X509 * X509_STORE_CTX_get_current_cert(X509_STORE_CTX *ctx); STACK *X509_STORE_CTX_get_chain(X509_STORE_CTX *ctx); STACK *X509_STORE_CTX_get1_chain(X509_STORE_CTX *ctx); void X509_STORE_CTX_set_cert(X509_STORE_CTX *c,X509 *x); void X509_STORE_CTX_set_chain(X509_STORE_CTX *c,STACK *sk); int X509_STORE_CTX_set_purpose(X509_STORE_CTX *ctx, int purpose); int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust); int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose, int purpose, int trust); void X509_STORE_CTX_set_flags(X509_STORE_CTX *ctx, long flags); void X509_STORE_CTX_set_time(X509_STORE_CTX *ctx, long flags, time_t t); void X509_STORE_CTX_set_verify_cb(X509_STORE_CTX *ctx, int (*verify_cb)(int, X509_STORE_CTX *)); # 539 "/usr/include/openssl/x509.h" 2 3 4 # 1 "/usr/include/openssl/pkcs7.h" 1 3 4 # 64 "/usr/include/openssl/pkcs7.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 65 "/usr/include/openssl/pkcs7.h" 2 3 4 # 86 "/usr/include/openssl/pkcs7.h" 3 4 typedef struct pkcs7_issuer_and_serial_st { X509_NAME *issuer; ASN1_INTEGER *serial; } PKCS7_ISSUER_AND_SERIAL; typedef struct pkcs7_signer_info_st { ASN1_INTEGER *version; PKCS7_ISSUER_AND_SERIAL *issuer_and_serial; X509_ALGOR *digest_alg; STACK *auth_attr; X509_ALGOR *digest_enc_alg; ASN1_OCTET_STRING *enc_digest; STACK *unauth_attr; EVP_PKEY *pkey; } PKCS7_SIGNER_INFO; typedef struct pkcs7_recip_info_st { ASN1_INTEGER *version; PKCS7_ISSUER_AND_SERIAL *issuer_and_serial; X509_ALGOR *key_enc_algor; ASN1_OCTET_STRING *enc_key; X509 *cert; } PKCS7_RECIP_INFO; typedef struct pkcs7_signed_st { ASN1_INTEGER *version; STACK *md_algs; STACK *cert; STACK *crl; STACK *signer_info; struct pkcs7_st *contents; } PKCS7_SIGNED; typedef struct pkcs7_enc_content_st { ASN1_OBJECT *content_type; X509_ALGOR *algorithm; ASN1_OCTET_STRING *enc_data; const EVP_CIPHER *cipher; } PKCS7_ENC_CONTENT; typedef struct pkcs7_enveloped_st { ASN1_INTEGER *version; STACK *recipientinfo; PKCS7_ENC_CONTENT *enc_data; } PKCS7_ENVELOPE; typedef struct pkcs7_signedandenveloped_st { ASN1_INTEGER *version; STACK *md_algs; STACK *cert; STACK *crl; STACK *signer_info; PKCS7_ENC_CONTENT *enc_data; STACK *recipientinfo; } PKCS7_SIGN_ENVELOPE; typedef struct pkcs7_digest_st { ASN1_INTEGER *version; X509_ALGOR *md; struct pkcs7_st *contents; ASN1_OCTET_STRING *digest; } PKCS7_DIGEST; typedef struct pkcs7_encrypted_st { ASN1_INTEGER *version; PKCS7_ENC_CONTENT *enc_data; } PKCS7_ENCRYPT; typedef struct pkcs7_st { unsigned char *asn1; long length; int state; int detached; ASN1_OBJECT *type; union { char *ptr; ASN1_OCTET_STRING *data; PKCS7_SIGNED *sign; PKCS7_ENVELOPE *enveloped; PKCS7_SIGN_ENVELOPE *signed_and_enveloped; PKCS7_DIGEST *digest; PKCS7_ENCRYPT *encrypted; ASN1_TYPE *other; } d; } PKCS7; # 278 "/usr/include/openssl/pkcs7.h" 3 4 PKCS7_ISSUER_AND_SERIAL *PKCS7_ISSUER_AND_SERIAL_new(void); void PKCS7_ISSUER_AND_SERIAL_free(PKCS7_ISSUER_AND_SERIAL *a); PKCS7_ISSUER_AND_SERIAL *d2i_PKCS7_ISSUER_AND_SERIAL(PKCS7_ISSUER_AND_SERIAL **a, unsigned char **in, long len); int i2d_PKCS7_ISSUER_AND_SERIAL(PKCS7_ISSUER_AND_SERIAL *a, unsigned char **out); extern const ASN1_ITEM PKCS7_ISSUER_AND_SERIAL_it; int PKCS7_ISSUER_AND_SERIAL_digest(PKCS7_ISSUER_AND_SERIAL *data,const EVP_MD *type, unsigned char *md,unsigned int *len); PKCS7 *d2i_PKCS7_fp(FILE *fp,PKCS7 **p7); int i2d_PKCS7_fp(FILE *fp,PKCS7 *p7); PKCS7 *PKCS7_dup(PKCS7 *p7); PKCS7 *d2i_PKCS7_bio(BIO *bp,PKCS7 **p7); int i2d_PKCS7_bio(BIO *bp,PKCS7 *p7); PKCS7_SIGNER_INFO *PKCS7_SIGNER_INFO_new(void); void PKCS7_SIGNER_INFO_free(PKCS7_SIGNER_INFO *a); PKCS7_SIGNER_INFO *d2i_PKCS7_SIGNER_INFO(PKCS7_SIGNER_INFO **a, unsigned char **in, long len); int i2d_PKCS7_SIGNER_INFO(PKCS7_SIGNER_INFO *a, unsigned char **out); extern const ASN1_ITEM PKCS7_SIGNER_INFO_it; PKCS7_RECIP_INFO *PKCS7_RECIP_INFO_new(void); void PKCS7_RECIP_INFO_free(PKCS7_RECIP_INFO *a); PKCS7_RECIP_INFO *d2i_PKCS7_RECIP_INFO(PKCS7_RECIP_INFO **a, unsigned char **in, long len); int i2d_PKCS7_RECIP_INFO(PKCS7_RECIP_INFO *a, unsigned char **out); extern const ASN1_ITEM PKCS7_RECIP_INFO_it; PKCS7_SIGNED *PKCS7_SIGNED_new(void); void PKCS7_SIGNED_free(PKCS7_SIGNED *a); PKCS7_SIGNED *d2i_PKCS7_SIGNED(PKCS7_SIGNED **a, unsigned char **in, long len); int i2d_PKCS7_SIGNED(PKCS7_SIGNED *a, unsigned char **out); extern const ASN1_ITEM PKCS7_SIGNED_it; PKCS7_ENC_CONTENT *PKCS7_ENC_CONTENT_new(void); void PKCS7_ENC_CONTENT_free(PKCS7_ENC_CONTENT *a); PKCS7_ENC_CONTENT *d2i_PKCS7_ENC_CONTENT(PKCS7_ENC_CONTENT **a, unsigned char **in, long len); int i2d_PKCS7_ENC_CONTENT(PKCS7_ENC_CONTENT *a, unsigned char **out); extern const ASN1_ITEM PKCS7_ENC_CONTENT_it; PKCS7_ENVELOPE *PKCS7_ENVELOPE_new(void); void PKCS7_ENVELOPE_free(PKCS7_ENVELOPE *a); PKCS7_ENVELOPE *d2i_PKCS7_ENVELOPE(PKCS7_ENVELOPE **a, unsigned char **in, long len); int i2d_PKCS7_ENVELOPE(PKCS7_ENVELOPE *a, unsigned char **out); extern const ASN1_ITEM PKCS7_ENVELOPE_it; PKCS7_SIGN_ENVELOPE *PKCS7_SIGN_ENVELOPE_new(void); void PKCS7_SIGN_ENVELOPE_free(PKCS7_SIGN_ENVELOPE *a); PKCS7_SIGN_ENVELOPE *d2i_PKCS7_SIGN_ENVELOPE(PKCS7_SIGN_ENVELOPE **a, unsigned char **in, long len); int i2d_PKCS7_SIGN_ENVELOPE(PKCS7_SIGN_ENVELOPE *a, unsigned char **out); extern const ASN1_ITEM PKCS7_SIGN_ENVELOPE_it; PKCS7_DIGEST *PKCS7_DIGEST_new(void); void PKCS7_DIGEST_free(PKCS7_DIGEST *a); PKCS7_DIGEST *d2i_PKCS7_DIGEST(PKCS7_DIGEST **a, unsigned char **in, long len); int i2d_PKCS7_DIGEST(PKCS7_DIGEST *a, unsigned char **out); extern const ASN1_ITEM PKCS7_DIGEST_it; PKCS7_ENCRYPT *PKCS7_ENCRYPT_new(void); void PKCS7_ENCRYPT_free(PKCS7_ENCRYPT *a); PKCS7_ENCRYPT *d2i_PKCS7_ENCRYPT(PKCS7_ENCRYPT **a, unsigned char **in, long len); int i2d_PKCS7_ENCRYPT(PKCS7_ENCRYPT *a, unsigned char **out); extern const ASN1_ITEM PKCS7_ENCRYPT_it; PKCS7 *PKCS7_new(void); void PKCS7_free(PKCS7 *a); PKCS7 *d2i_PKCS7(PKCS7 **a, unsigned char **in, long len); int i2d_PKCS7(PKCS7 *a, unsigned char **out); extern const ASN1_ITEM PKCS7_it; extern const ASN1_ITEM PKCS7_ATTR_SIGN_it; extern const ASN1_ITEM PKCS7_ATTR_VERIFY_it; long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg); int PKCS7_set_type(PKCS7 *p7, int type); int PKCS7_set_content(PKCS7 *p7, PKCS7 *p7_data); int PKCS7_SIGNER_INFO_set(PKCS7_SIGNER_INFO *p7i, X509 *x509, EVP_PKEY *pkey, const EVP_MD *dgst); int PKCS7_add_signer(PKCS7 *p7, PKCS7_SIGNER_INFO *p7i); int PKCS7_add_certificate(PKCS7 *p7, X509 *x509); int PKCS7_add_crl(PKCS7 *p7, X509_CRL *x509); int PKCS7_content_new(PKCS7 *p7, int nid); int PKCS7_dataVerify(X509_STORE *cert_store, X509_STORE_CTX *ctx, BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si); int PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si, X509 *x509); BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio); int PKCS7_dataFinal(PKCS7 *p7, BIO *bio); BIO *PKCS7_dataDecode(PKCS7 *p7, EVP_PKEY *pkey, BIO *in_bio, X509 *pcert); PKCS7_SIGNER_INFO *PKCS7_add_signature(PKCS7 *p7, X509 *x509, EVP_PKEY *pkey, const EVP_MD *dgst); X509 *PKCS7_cert_from_signer_info(PKCS7 *p7, PKCS7_SIGNER_INFO *si); STACK *PKCS7_get_signer_info(PKCS7 *p7); PKCS7_RECIP_INFO *PKCS7_add_recipient(PKCS7 *p7, X509 *x509); int PKCS7_add_recipient_info(PKCS7 *p7, PKCS7_RECIP_INFO *ri); int PKCS7_RECIP_INFO_set(PKCS7_RECIP_INFO *p7i, X509 *x509); int PKCS7_set_cipher(PKCS7 *p7, const EVP_CIPHER *cipher); PKCS7_ISSUER_AND_SERIAL *PKCS7_get_issuer_and_serial(PKCS7 *p7, int idx); ASN1_OCTET_STRING *PKCS7_digest_from_attributes(STACK *sk); int PKCS7_add_signed_attribute(PKCS7_SIGNER_INFO *p7si,int nid,int type, void *data); int PKCS7_add_attribute (PKCS7_SIGNER_INFO *p7si, int nid, int atrtype, void *value); ASN1_TYPE *PKCS7_get_attribute(PKCS7_SIGNER_INFO *si, int nid); ASN1_TYPE *PKCS7_get_signed_attribute(PKCS7_SIGNER_INFO *si, int nid); int PKCS7_set_signed_attributes(PKCS7_SIGNER_INFO *p7si, STACK *sk); int PKCS7_set_attributes(PKCS7_SIGNER_INFO *p7si,STACK *sk); PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK *certs, BIO *data, int flags); int PKCS7_verify(PKCS7 *p7, STACK *certs, X509_STORE *store, BIO *indata, BIO *out, int flags); STACK *PKCS7_get0_signers(PKCS7 *p7, STACK *certs, int flags); PKCS7 *PKCS7_encrypt(STACK *certs, BIO *in, const EVP_CIPHER *cipher, int flags); int PKCS7_decrypt(PKCS7 *p7, EVP_PKEY *pkey, X509 *cert, BIO *data, int flags); int PKCS7_add_attrib_smimecap(PKCS7_SIGNER_INFO *si, STACK *cap); STACK *PKCS7_get_smimecap(PKCS7_SIGNER_INFO *si); int PKCS7_simple_smimecap(STACK *sk, int nid, int arg); int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags); PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont); int SMIME_crlf_copy(BIO *in, BIO *out, int flags); int SMIME_text(BIO *in, BIO *out); void ERR_load_PKCS7_strings(void); # 540 "/usr/include/openssl/x509.h" 2 3 4 # 704 "/usr/include/openssl/x509.h" 3 4 const char *X509_verify_cert_error_string(long n); int X509_verify(X509 *a, EVP_PKEY *r); int X509_REQ_verify(X509_REQ *a, EVP_PKEY *r); int X509_CRL_verify(X509_CRL *a, EVP_PKEY *r); int NETSCAPE_SPKI_verify(NETSCAPE_SPKI *a, EVP_PKEY *r); NETSCAPE_SPKI * NETSCAPE_SPKI_b64_decode(const char *str, int len); char * NETSCAPE_SPKI_b64_encode(NETSCAPE_SPKI *x); EVP_PKEY *NETSCAPE_SPKI_get_pubkey(NETSCAPE_SPKI *x); int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x, EVP_PKEY *pkey); int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki); int X509_signature_print(BIO *bp,X509_ALGOR *alg, ASN1_STRING *sig); int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md); int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md); int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md); int X509_pubkey_digest(const X509 *data,const EVP_MD *type, unsigned char *md, unsigned int *len); int X509_digest(const X509 *data,const EVP_MD *type, unsigned char *md, unsigned int *len); int X509_CRL_digest(const X509_CRL *data,const EVP_MD *type, unsigned char *md, unsigned int *len); int X509_REQ_digest(const X509_REQ *data,const EVP_MD *type, unsigned char *md, unsigned int *len); int X509_NAME_digest(const X509_NAME *data,const EVP_MD *type, unsigned char *md, unsigned int *len); X509 *d2i_X509_fp(FILE *fp, X509 **x509); int i2d_X509_fp(FILE *fp,X509 *x509); X509_CRL *d2i_X509_CRL_fp(FILE *fp,X509_CRL **crl); int i2d_X509_CRL_fp(FILE *fp,X509_CRL *crl); X509_REQ *d2i_X509_REQ_fp(FILE *fp,X509_REQ **req); int i2d_X509_REQ_fp(FILE *fp,X509_REQ *req); RSA *d2i_RSAPrivateKey_fp(FILE *fp,RSA **rsa); int i2d_RSAPrivateKey_fp(FILE *fp,RSA *rsa); RSA *d2i_RSAPublicKey_fp(FILE *fp,RSA **rsa); int i2d_RSAPublicKey_fp(FILE *fp,RSA *rsa); RSA *d2i_RSA_PUBKEY_fp(FILE *fp,RSA **rsa); int i2d_RSA_PUBKEY_fp(FILE *fp,RSA *rsa); DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa); int i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa); DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa); int i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa); X509_SIG *d2i_PKCS8_fp(FILE *fp,X509_SIG **p8); int i2d_PKCS8_fp(FILE *fp,X509_SIG *p8); PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO **p8inf); int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp,PKCS8_PRIV_KEY_INFO *p8inf); int i2d_PKCS8PrivateKeyInfo_fp(FILE *fp, EVP_PKEY *key); int i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey); EVP_PKEY *d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a); int i2d_PUBKEY_fp(FILE *fp, EVP_PKEY *pkey); EVP_PKEY *d2i_PUBKEY_fp(FILE *fp, EVP_PKEY **a); X509 *d2i_X509_bio(BIO *bp,X509 **x509); int i2d_X509_bio(BIO *bp,X509 *x509); X509_CRL *d2i_X509_CRL_bio(BIO *bp,X509_CRL **crl); int i2d_X509_CRL_bio(BIO *bp,X509_CRL *crl); X509_REQ *d2i_X509_REQ_bio(BIO *bp,X509_REQ **req); int i2d_X509_REQ_bio(BIO *bp,X509_REQ *req); RSA *d2i_RSAPrivateKey_bio(BIO *bp,RSA **rsa); int i2d_RSAPrivateKey_bio(BIO *bp,RSA *rsa); RSA *d2i_RSAPublicKey_bio(BIO *bp,RSA **rsa); int i2d_RSAPublicKey_bio(BIO *bp,RSA *rsa); RSA *d2i_RSA_PUBKEY_bio(BIO *bp,RSA **rsa); int i2d_RSA_PUBKEY_bio(BIO *bp,RSA *rsa); DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa); int i2d_DSA_PUBKEY_bio(BIO *bp, DSA *dsa); DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa); int i2d_DSAPrivateKey_bio(BIO *bp, DSA *dsa); X509_SIG *d2i_PKCS8_bio(BIO *bp,X509_SIG **p8); int i2d_PKCS8_bio(BIO *bp,X509_SIG *p8); PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, PKCS8_PRIV_KEY_INFO **p8inf); int i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp,PKCS8_PRIV_KEY_INFO *p8inf); int i2d_PKCS8PrivateKeyInfo_bio(BIO *bp, EVP_PKEY *key); int i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey); EVP_PKEY *d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a); int i2d_PUBKEY_bio(BIO *bp, EVP_PKEY *pkey); EVP_PKEY *d2i_PUBKEY_bio(BIO *bp, EVP_PKEY **a); X509 *X509_dup(X509 *x509); X509_ATTRIBUTE *X509_ATTRIBUTE_dup(X509_ATTRIBUTE *xa); X509_EXTENSION *X509_EXTENSION_dup(X509_EXTENSION *ex); X509_CRL *X509_CRL_dup(X509_CRL *crl); X509_REQ *X509_REQ_dup(X509_REQ *req); X509_ALGOR *X509_ALGOR_dup(X509_ALGOR *xn); X509_NAME *X509_NAME_dup(X509_NAME *xn); X509_NAME_ENTRY *X509_NAME_ENTRY_dup(X509_NAME_ENTRY *ne); int X509_cmp_time(ASN1_TIME *s, time_t *t); int X509_cmp_current_time(ASN1_TIME *s); ASN1_TIME * X509_time_adj(ASN1_TIME *s, long adj, time_t *t); ASN1_TIME * X509_gmtime_adj(ASN1_TIME *s, long adj); const char * X509_get_default_cert_area(void ); const char * X509_get_default_cert_dir(void ); const char * X509_get_default_cert_file(void ); const char * X509_get_default_cert_dir_env(void ); const char * X509_get_default_cert_file_env(void ); const char * X509_get_default_private_dir(void ); X509_REQ * X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); X509 * X509_REQ_to_X509(X509_REQ *r, int days,EVP_PKEY *pkey); X509_ALGOR *X509_ALGOR_new(void); void X509_ALGOR_free(X509_ALGOR *a); X509_ALGOR *d2i_X509_ALGOR(X509_ALGOR **a, unsigned char **in, long len); int i2d_X509_ALGOR(X509_ALGOR *a, unsigned char **out); extern const ASN1_ITEM X509_ALGOR_it; X509_VAL *X509_VAL_new(void); void X509_VAL_free(X509_VAL *a); X509_VAL *d2i_X509_VAL(X509_VAL **a, unsigned char **in, long len); int i2d_X509_VAL(X509_VAL *a, unsigned char **out); extern const ASN1_ITEM X509_VAL_it; X509_PUBKEY *X509_PUBKEY_new(void); void X509_PUBKEY_free(X509_PUBKEY *a); X509_PUBKEY *d2i_X509_PUBKEY(X509_PUBKEY **a, unsigned char **in, long len); int i2d_X509_PUBKEY(X509_PUBKEY *a, unsigned char **out); extern const ASN1_ITEM X509_PUBKEY_it; int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey); EVP_PKEY * X509_PUBKEY_get(X509_PUBKEY *key); int X509_get_pubkey_parameters(EVP_PKEY *pkey, STACK *chain); int i2d_PUBKEY(EVP_PKEY *a,unsigned char **pp); EVP_PKEY * d2i_PUBKEY(EVP_PKEY **a,unsigned char **pp, long length); int i2d_RSA_PUBKEY(RSA *a,unsigned char **pp); RSA * d2i_RSA_PUBKEY(RSA **a,unsigned char **pp, long length); int i2d_DSA_PUBKEY(DSA *a,unsigned char **pp); DSA * d2i_DSA_PUBKEY(DSA **a,unsigned char **pp, long length); X509_SIG *X509_SIG_new(void); void X509_SIG_free(X509_SIG *a); X509_SIG *d2i_X509_SIG(X509_SIG **a, unsigned char **in, long len); int i2d_X509_SIG(X509_SIG *a, unsigned char **out); extern const ASN1_ITEM X509_SIG_it; X509_REQ_INFO *X509_REQ_INFO_new(void); void X509_REQ_INFO_free(X509_REQ_INFO *a); X509_REQ_INFO *d2i_X509_REQ_INFO(X509_REQ_INFO **a, unsigned char **in, long len); int i2d_X509_REQ_INFO(X509_REQ_INFO *a, unsigned char **out); extern const ASN1_ITEM X509_REQ_INFO_it; X509_REQ *X509_REQ_new(void); void X509_REQ_free(X509_REQ *a); X509_REQ *d2i_X509_REQ(X509_REQ **a, unsigned char **in, long len); int i2d_X509_REQ(X509_REQ *a, unsigned char **out); extern const ASN1_ITEM X509_REQ_it; X509_ATTRIBUTE *X509_ATTRIBUTE_new(void); void X509_ATTRIBUTE_free(X509_ATTRIBUTE *a); X509_ATTRIBUTE *d2i_X509_ATTRIBUTE(X509_ATTRIBUTE **a, unsigned char **in, long len); int i2d_X509_ATTRIBUTE(X509_ATTRIBUTE *a, unsigned char **out); extern const ASN1_ITEM X509_ATTRIBUTE_it; X509_ATTRIBUTE *X509_ATTRIBUTE_create(int nid, int atrtype, void *value); X509_EXTENSION *X509_EXTENSION_new(void); void X509_EXTENSION_free(X509_EXTENSION *a); X509_EXTENSION *d2i_X509_EXTENSION(X509_EXTENSION **a, unsigned char **in, long len); int i2d_X509_EXTENSION(X509_EXTENSION *a, unsigned char **out); extern const ASN1_ITEM X509_EXTENSION_it; X509_NAME_ENTRY *X509_NAME_ENTRY_new(void); void X509_NAME_ENTRY_free(X509_NAME_ENTRY *a); X509_NAME_ENTRY *d2i_X509_NAME_ENTRY(X509_NAME_ENTRY **a, unsigned char **in, long len); int i2d_X509_NAME_ENTRY(X509_NAME_ENTRY *a, unsigned char **out); extern const ASN1_ITEM X509_NAME_ENTRY_it; X509_NAME *X509_NAME_new(void); void X509_NAME_free(X509_NAME *a); X509_NAME *d2i_X509_NAME(X509_NAME **a, unsigned char **in, long len); int i2d_X509_NAME(X509_NAME *a, unsigned char **out); extern const ASN1_ITEM X509_NAME_it; int X509_NAME_set(X509_NAME **xn, X509_NAME *name); X509_CINF *X509_CINF_new(void); void X509_CINF_free(X509_CINF *a); X509_CINF *d2i_X509_CINF(X509_CINF **a, unsigned char **in, long len); int i2d_X509_CINF(X509_CINF *a, unsigned char **out); extern const ASN1_ITEM X509_CINF_it; X509 *X509_new(void); void X509_free(X509 *a); X509 *d2i_X509(X509 **a, unsigned char **in, long len); int i2d_X509(X509 *a, unsigned char **out); extern const ASN1_ITEM X509_it; X509_CERT_AUX *X509_CERT_AUX_new(void); void X509_CERT_AUX_free(X509_CERT_AUX *a); X509_CERT_AUX *d2i_X509_CERT_AUX(X509_CERT_AUX **a, unsigned char **in, long len); int i2d_X509_CERT_AUX(X509_CERT_AUX *a, unsigned char **out); extern const ASN1_ITEM X509_CERT_AUX_it; int X509_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int X509_set_ex_data(X509 *r, int idx, void *arg); void *X509_get_ex_data(X509 *r, int idx); int i2d_X509_AUX(X509 *a,unsigned char **pp); X509 * d2i_X509_AUX(X509 **a,unsigned char **pp,long length); int X509_alias_set1(X509 *x, unsigned char *name, int len); int X509_keyid_set1(X509 *x, unsigned char *id, int len); unsigned char * X509_alias_get0(X509 *x, int *len); int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int); int X509_TRUST_set(int *t, int trust); int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj); int X509_add1_reject_object(X509 *x, ASN1_OBJECT *obj); void X509_trust_clear(X509 *x); void X509_reject_clear(X509 *x); X509_REVOKED *X509_REVOKED_new(void); void X509_REVOKED_free(X509_REVOKED *a); X509_REVOKED *d2i_X509_REVOKED(X509_REVOKED **a, unsigned char **in, long len); int i2d_X509_REVOKED(X509_REVOKED *a, unsigned char **out); extern const ASN1_ITEM X509_REVOKED_it; X509_CRL_INFO *X509_CRL_INFO_new(void); void X509_CRL_INFO_free(X509_CRL_INFO *a); X509_CRL_INFO *d2i_X509_CRL_INFO(X509_CRL_INFO **a, unsigned char **in, long len); int i2d_X509_CRL_INFO(X509_CRL_INFO *a, unsigned char **out); extern const ASN1_ITEM X509_CRL_INFO_it; X509_CRL *X509_CRL_new(void); void X509_CRL_free(X509_CRL *a); X509_CRL *d2i_X509_CRL(X509_CRL **a, unsigned char **in, long len); int i2d_X509_CRL(X509_CRL *a, unsigned char **out); extern const ASN1_ITEM X509_CRL_it; int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev); X509_PKEY * X509_PKEY_new(void ); void X509_PKEY_free(X509_PKEY *a); int i2d_X509_PKEY(X509_PKEY *a,unsigned char **pp); X509_PKEY * d2i_X509_PKEY(X509_PKEY **a,unsigned char **pp,long length); NETSCAPE_SPKI *NETSCAPE_SPKI_new(void); void NETSCAPE_SPKI_free(NETSCAPE_SPKI *a); NETSCAPE_SPKI *d2i_NETSCAPE_SPKI(NETSCAPE_SPKI **a, unsigned char **in, long len); int i2d_NETSCAPE_SPKI(NETSCAPE_SPKI *a, unsigned char **out); extern const ASN1_ITEM NETSCAPE_SPKI_it; NETSCAPE_SPKAC *NETSCAPE_SPKAC_new(void); void NETSCAPE_SPKAC_free(NETSCAPE_SPKAC *a); NETSCAPE_SPKAC *d2i_NETSCAPE_SPKAC(NETSCAPE_SPKAC **a, unsigned char **in, long len); int i2d_NETSCAPE_SPKAC(NETSCAPE_SPKAC *a, unsigned char **out); extern const ASN1_ITEM NETSCAPE_SPKAC_it; NETSCAPE_CERT_SEQUENCE *NETSCAPE_CERT_SEQUENCE_new(void); void NETSCAPE_CERT_SEQUENCE_free(NETSCAPE_CERT_SEQUENCE *a); NETSCAPE_CERT_SEQUENCE *d2i_NETSCAPE_CERT_SEQUENCE(NETSCAPE_CERT_SEQUENCE **a, unsigned char **in, long len); int i2d_NETSCAPE_CERT_SEQUENCE(NETSCAPE_CERT_SEQUENCE *a, unsigned char **out); extern const ASN1_ITEM NETSCAPE_CERT_SEQUENCE_it; X509_INFO * X509_INFO_new(void); void X509_INFO_free(X509_INFO *a); char * X509_NAME_oneline(X509_NAME *a,char *buf,int size); int ASN1_verify(int (*i2d)(), X509_ALGOR *algor1, ASN1_BIT_STRING *signature,char *data,EVP_PKEY *pkey); int ASN1_digest(int (*i2d)(),const EVP_MD *type,char *data, unsigned char *md,unsigned int *len); int ASN1_sign(int (*i2d)(), X509_ALGOR *algor1, X509_ALGOR *algor2, ASN1_BIT_STRING *signature, char *data,EVP_PKEY *pkey, const EVP_MD *type); int ASN1_item_digest(const ASN1_ITEM *it,const EVP_MD *type,void *data, unsigned char *md,unsigned int *len); int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *algor1, ASN1_BIT_STRING *signature,void *data,EVP_PKEY *pkey); int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, ASN1_BIT_STRING *signature, void *data, EVP_PKEY *pkey, const EVP_MD *type); int X509_set_version(X509 *x,long version); int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial); ASN1_INTEGER * X509_get_serialNumber(X509 *x); int X509_set_issuer_name(X509 *x, X509_NAME *name); X509_NAME * X509_get_issuer_name(X509 *a); int X509_set_subject_name(X509 *x, X509_NAME *name); X509_NAME * X509_get_subject_name(X509 *a); int X509_set_notBefore(X509 *x, ASN1_TIME *tm); int X509_set_notAfter(X509 *x, ASN1_TIME *tm); int X509_set_pubkey(X509 *x, EVP_PKEY *pkey); EVP_PKEY * X509_get_pubkey(X509 *x); ASN1_BIT_STRING * X509_get0_pubkey_bitstr(const X509 *x); int X509_certificate_type(X509 *x,EVP_PKEY *pubkey ); int X509_REQ_set_version(X509_REQ *x,long version); int X509_REQ_set_subject_name(X509_REQ *req,X509_NAME *name); int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey); EVP_PKEY * X509_REQ_get_pubkey(X509_REQ *req); int X509_REQ_extension_nid(int nid); int * X509_REQ_get_extension_nids(void); void X509_REQ_set_extension_nids(int *nids); STACK *X509_REQ_get_extensions(X509_REQ *req); int X509_REQ_add_extensions_nid(X509_REQ *req, STACK *exts, int nid); int X509_REQ_add_extensions(X509_REQ *req, STACK *exts); int X509_REQ_get_attr_count(const X509_REQ *req); int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos); int X509_REQ_get_attr_by_OBJ(const X509_REQ *req, ASN1_OBJECT *obj, int lastpos); X509_ATTRIBUTE *X509_REQ_get_attr(const X509_REQ *req, int loc); X509_ATTRIBUTE *X509_REQ_delete_attr(X509_REQ *req, int loc); int X509_REQ_add1_attr(X509_REQ *req, X509_ATTRIBUTE *attr); int X509_REQ_add1_attr_by_OBJ(X509_REQ *req, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len); int X509_REQ_add1_attr_by_NID(X509_REQ *req, int nid, int type, const unsigned char *bytes, int len); int X509_REQ_add1_attr_by_txt(X509_REQ *req, const char *attrname, int type, const unsigned char *bytes, int len); int X509_CRL_set_version(X509_CRL *x, long version); int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name); int X509_CRL_set_lastUpdate(X509_CRL *x, ASN1_TIME *tm); int X509_CRL_set_nextUpdate(X509_CRL *x, ASN1_TIME *tm); int X509_CRL_sort(X509_CRL *crl); int X509_REVOKED_set_serialNumber(X509_REVOKED *x, ASN1_INTEGER *serial); int X509_REVOKED_set_revocationDate(X509_REVOKED *r, ASN1_TIME *tm); int X509_check_private_key(X509 *x509,EVP_PKEY *pkey); int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b); unsigned long X509_issuer_and_serial_hash(X509 *a); int X509_issuer_name_cmp(const X509 *a, const X509 *b); unsigned long X509_issuer_name_hash(X509 *a); int X509_subject_name_cmp(const X509 *a, const X509 *b); unsigned long X509_subject_name_hash(X509 *x); int X509_cmp(const X509 *a, const X509 *b); int X509_NAME_cmp(const X509_NAME *a, const X509_NAME *b); unsigned long X509_NAME_hash(X509_NAME *x); int X509_CRL_cmp(const X509_CRL *a, const X509_CRL *b); int X509_print_ex_fp(FILE *bp,X509 *x, unsigned long nmflag, unsigned long cflag); int X509_print_fp(FILE *bp,X509 *x); int X509_CRL_print_fp(FILE *bp,X509_CRL *x); int X509_REQ_print_fp(FILE *bp,X509_REQ *req); int X509_NAME_print_ex_fp(FILE *fp, X509_NAME *nm, int indent, unsigned long flags); int X509_NAME_print(BIO *bp, X509_NAME *name, int obase); int X509_NAME_print_ex(BIO *out, X509_NAME *nm, int indent, unsigned long flags); int X509_print_ex(BIO *bp,X509 *x, unsigned long nmflag, unsigned long cflag); int X509_print(BIO *bp,X509 *x); int X509_ocspid_print(BIO *bp,X509 *x); int X509_CERT_AUX_print(BIO *bp,X509_CERT_AUX *x, int indent); int X509_CRL_print(BIO *bp,X509_CRL *x); int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflag, unsigned long cflag); int X509_REQ_print(BIO *bp,X509_REQ *req); int X509_NAME_entry_count(X509_NAME *name); int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf,int len); int X509_NAME_get_text_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, char *buf,int len); int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos); int X509_NAME_get_index_by_OBJ(X509_NAME *name,ASN1_OBJECT *obj, int lastpos); X509_NAME_ENTRY *X509_NAME_get_entry(X509_NAME *name, int loc); X509_NAME_ENTRY *X509_NAME_delete_entry(X509_NAME *name, int loc); int X509_NAME_add_entry(X509_NAME *name,X509_NAME_ENTRY *ne, int loc, int set); int X509_NAME_add_entry_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int type, unsigned char *bytes, int len, int loc, int set); int X509_NAME_add_entry_by_NID(X509_NAME *name, int nid, int type, unsigned char *bytes, int len, int loc, int set); X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_txt(X509_NAME_ENTRY **ne, char *field, int type, unsigned char *bytes, int len); X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_NID(X509_NAME_ENTRY **ne, int nid, int type,unsigned char *bytes, int len); int X509_NAME_add_entry_by_txt(X509_NAME *name, char *field, int type, unsigned char *bytes, int len, int loc, int set); X509_NAME_ENTRY *X509_NAME_ENTRY_create_by_OBJ(X509_NAME_ENTRY **ne, ASN1_OBJECT *obj, int type,unsigned char *bytes, int len); int X509_NAME_ENTRY_set_object(X509_NAME_ENTRY *ne, ASN1_OBJECT *obj); int X509_NAME_ENTRY_set_data(X509_NAME_ENTRY *ne, int type, unsigned char *bytes, int len); ASN1_OBJECT * X509_NAME_ENTRY_get_object(X509_NAME_ENTRY *ne); ASN1_STRING * X509_NAME_ENTRY_get_data(X509_NAME_ENTRY *ne); int X509v3_get_ext_count(const STACK *x); int X509v3_get_ext_by_NID(const STACK *x, int nid, int lastpos); int X509v3_get_ext_by_OBJ(const STACK *x, ASN1_OBJECT *obj,int lastpos); int X509v3_get_ext_by_critical(const STACK *x, int crit, int lastpos); X509_EXTENSION *X509v3_get_ext(const STACK *x, int loc); X509_EXTENSION *X509v3_delete_ext(STACK *x, int loc); STACK *X509v3_add_ext(STACK **x, X509_EXTENSION *ex, int loc); int X509_get_ext_count(X509 *x); int X509_get_ext_by_NID(X509 *x, int nid, int lastpos); int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos); int X509_get_ext_by_critical(X509 *x, int crit, int lastpos); X509_EXTENSION *X509_get_ext(X509 *x, int loc); X509_EXTENSION *X509_delete_ext(X509 *x, int loc); int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc); void * X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx); int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit, unsigned long flags); int X509_CRL_get_ext_count(X509_CRL *x); int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos); int X509_CRL_get_ext_by_OBJ(X509_CRL *x,ASN1_OBJECT *obj,int lastpos); int X509_CRL_get_ext_by_critical(X509_CRL *x, int crit, int lastpos); X509_EXTENSION *X509_CRL_get_ext(X509_CRL *x, int loc); X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc); int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc); void * X509_CRL_get_ext_d2i(X509_CRL *x, int nid, int *crit, int *idx); int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit, unsigned long flags); int X509_REVOKED_get_ext_count(X509_REVOKED *x); int X509_REVOKED_get_ext_by_NID(X509_REVOKED *x, int nid, int lastpos); int X509_REVOKED_get_ext_by_OBJ(X509_REVOKED *x,ASN1_OBJECT *obj,int lastpos); int X509_REVOKED_get_ext_by_critical(X509_REVOKED *x, int crit, int lastpos); X509_EXTENSION *X509_REVOKED_get_ext(X509_REVOKED *x, int loc); X509_EXTENSION *X509_REVOKED_delete_ext(X509_REVOKED *x, int loc); int X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc); void * X509_REVOKED_get_ext_d2i(X509_REVOKED *x, int nid, int *crit, int *idx); int X509_REVOKED_add1_ext_i2d(X509_REVOKED *x, int nid, void *value, int crit, unsigned long flags); X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex, int nid, int crit, ASN1_OCTET_STRING *data); X509_EXTENSION *X509_EXTENSION_create_by_OBJ(X509_EXTENSION **ex, ASN1_OBJECT *obj,int crit,ASN1_OCTET_STRING *data); int X509_EXTENSION_set_object(X509_EXTENSION *ex,ASN1_OBJECT *obj); int X509_EXTENSION_set_critical(X509_EXTENSION *ex, int crit); int X509_EXTENSION_set_data(X509_EXTENSION *ex, ASN1_OCTET_STRING *data); ASN1_OBJECT * X509_EXTENSION_get_object(X509_EXTENSION *ex); ASN1_OCTET_STRING *X509_EXTENSION_get_data(X509_EXTENSION *ne); int X509_EXTENSION_get_critical(X509_EXTENSION *ex); int X509at_get_attr_count(const STACK *x); int X509at_get_attr_by_NID(const STACK *x, int nid, int lastpos); int X509at_get_attr_by_OBJ(const STACK *sk, ASN1_OBJECT *obj, int lastpos); X509_ATTRIBUTE *X509at_get_attr(const STACK *x, int loc); X509_ATTRIBUTE *X509at_delete_attr(STACK *x, int loc); STACK *X509at_add1_attr(STACK **x, X509_ATTRIBUTE *attr); STACK *X509at_add1_attr_by_OBJ(STACK **x, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len); STACK *X509at_add1_attr_by_NID(STACK **x, int nid, int type, const unsigned char *bytes, int len); STACK *X509at_add1_attr_by_txt(STACK **x, const char *attrname, int type, const unsigned char *bytes, int len); X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_NID(X509_ATTRIBUTE **attr, int nid, int atrtype, const void *data, int len); X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_OBJ(X509_ATTRIBUTE **attr, const ASN1_OBJECT *obj, int atrtype, const void *data, int len); X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_txt(X509_ATTRIBUTE **attr, const char *atrname, int type, const unsigned char *bytes, int len); int X509_ATTRIBUTE_set1_object(X509_ATTRIBUTE *attr, const ASN1_OBJECT *obj); int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, const void *data, int len); void *X509_ATTRIBUTE_get0_data(X509_ATTRIBUTE *attr, int idx, int atrtype, void *data); int X509_ATTRIBUTE_count(X509_ATTRIBUTE *attr); ASN1_OBJECT *X509_ATTRIBUTE_get0_object(X509_ATTRIBUTE *attr); ASN1_TYPE *X509_ATTRIBUTE_get0_type(X509_ATTRIBUTE *attr, int idx); int X509_verify_cert(X509_STORE_CTX *ctx); X509 *X509_find_by_issuer_and_serial(STACK *sk,X509_NAME *name, ASN1_INTEGER *serial); X509 *X509_find_by_subject(STACK *sk,X509_NAME *name); PBEPARAM *PBEPARAM_new(void); void PBEPARAM_free(PBEPARAM *a); PBEPARAM *d2i_PBEPARAM(PBEPARAM **a, unsigned char **in, long len); int i2d_PBEPARAM(PBEPARAM *a, unsigned char **out); extern const ASN1_ITEM PBEPARAM_it; PBE2PARAM *PBE2PARAM_new(void); void PBE2PARAM_free(PBE2PARAM *a); PBE2PARAM *d2i_PBE2PARAM(PBE2PARAM **a, unsigned char **in, long len); int i2d_PBE2PARAM(PBE2PARAM *a, unsigned char **out); extern const ASN1_ITEM PBE2PARAM_it; PBKDF2PARAM *PBKDF2PARAM_new(void); void PBKDF2PARAM_free(PBKDF2PARAM *a); PBKDF2PARAM *d2i_PBKDF2PARAM(PBKDF2PARAM **a, unsigned char **in, long len); int i2d_PBKDF2PARAM(PBKDF2PARAM *a, unsigned char **out); extern const ASN1_ITEM PBKDF2PARAM_it; X509_ALGOR *PKCS5_pbe_set(int alg, int iter, unsigned char *salt, int saltlen); X509_ALGOR *PKCS5_pbe2_set(const EVP_CIPHER *cipher, int iter, unsigned char *salt, int saltlen); PKCS8_PRIV_KEY_INFO *PKCS8_PRIV_KEY_INFO_new(void); void PKCS8_PRIV_KEY_INFO_free(PKCS8_PRIV_KEY_INFO *a); PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO(PKCS8_PRIV_KEY_INFO **a, unsigned char **in, long len); int i2d_PKCS8_PRIV_KEY_INFO(PKCS8_PRIV_KEY_INFO *a, unsigned char **out); extern const ASN1_ITEM PKCS8_PRIV_KEY_INFO_it; EVP_PKEY *EVP_PKCS82PKEY(PKCS8_PRIV_KEY_INFO *p8); PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8(EVP_PKEY *pkey); PKCS8_PRIV_KEY_INFO *EVP_PKEY2PKCS8_broken(EVP_PKEY *pkey, int broken); PKCS8_PRIV_KEY_INFO *PKCS8_set_broken(PKCS8_PRIV_KEY_INFO *p8, int broken); int X509_check_trust(X509 *x, int id, int flags); int X509_TRUST_get_count(void); X509_TRUST * X509_TRUST_get0(int idx); int X509_TRUST_get_by_id(int id); int X509_TRUST_add(int id, int flags, int (*ck)(X509_TRUST *, X509 *, int), char *name, int arg1, void *arg2); void X509_TRUST_cleanup(void); int X509_TRUST_get_flags(X509_TRUST *xp); char *X509_TRUST_get0_name(X509_TRUST *xp); int X509_TRUST_get_trust(X509_TRUST *xp); void ERR_load_X509_strings(void); # 178 "/usr/include/openssl/ssl.h" 2 3 4 # 1 "/usr/include/openssl/kssl.h" 1 3 4 # 66 "/usr/include/openssl/kssl.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 67 "/usr/include/openssl/kssl.h" 2 3 4 # 180 "/usr/include/openssl/ssl.h" 2 3 4 # 319 "/usr/include/openssl/ssl.h" 3 4 # 1 "/usr/include/openssl/pem.h" 1 3 4 # 70 "/usr/include/openssl/pem.h" 3 4 # 1 "/usr/include/openssl/pem2.h" 1 3 4 # 71 "/usr/include/openssl/pem.h" 2 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 72 "/usr/include/openssl/pem.h" 2 3 4 # 132 "/usr/include/openssl/pem.h" 3 4 typedef struct PEM_Encode_Seal_st { EVP_ENCODE_CTX encode; EVP_MD_CTX md; EVP_CIPHER_CTX cipher; } PEM_ENCODE_SEAL_CTX; typedef struct pem_recip_st { char *name; X509_NAME *dn; int cipher; int key_enc; } PEM_USER; typedef struct pem_ctx_st { int type; struct { int version; int mode; } proc_type; char *domain; struct { int cipher; } DEK_info; PEM_USER *originator; int num_recipient; PEM_USER **recipient; STACK *x509_chain; EVP_MD *md; int md_enc; int md_len; char *md_data; EVP_CIPHER *dec; int key_len; unsigned char *key; int data_enc; int data_len; unsigned char *data; } PEM_CTX; # 480 "/usr/include/openssl/pem.h" 3 4 typedef int pem_password_cb(char *buf, int size, int rwflag, void *userdata); int PEM_get_EVP_CIPHER_INFO(char *header, EVP_CIPHER_INFO *cipher); int PEM_do_header (EVP_CIPHER_INFO *cipher, unsigned char *data,long *len, pem_password_cb *callback,void *u); int PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data,long *len); int PEM_write_bio(BIO *bp,const char *name,char *hdr,unsigned char *data, long len); int PEM_bytes_read_bio(unsigned char **pdata, long *plen, char **pnm, const char *name, BIO *bp, pem_password_cb *cb, void *u); char * PEM_ASN1_read_bio(char *(*d2i)(),const char *name,BIO *bp,char **x, pem_password_cb *cb, void *u); int PEM_ASN1_write_bio(int (*i2d)(),const char *name,BIO *bp,char *x, const EVP_CIPHER *enc,unsigned char *kstr,int klen, pem_password_cb *cb, void *u); STACK * PEM_X509_INFO_read_bio(BIO *bp, STACK *sk, pem_password_cb *cb, void *u); int PEM_X509_INFO_write_bio(BIO *bp,X509_INFO *xi, EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cd, void *u); int PEM_read(FILE *fp, char **name, char **header, unsigned char **data,long *len); int PEM_write(FILE *fp,char *name,char *hdr,unsigned char *data,long len); char * PEM_ASN1_read(char *(*d2i)(),const char *name,FILE *fp,char **x, pem_password_cb *cb, void *u); int PEM_ASN1_write(int (*i2d)(),const char *name,FILE *fp,char *x, const EVP_CIPHER *enc,unsigned char *kstr,int klen, pem_password_cb *callback, void *u); STACK * PEM_X509_INFO_read(FILE *fp, STACK *sk, pem_password_cb *cb, void *u); int PEM_SealInit(PEM_ENCODE_SEAL_CTX *ctx, EVP_CIPHER *type, EVP_MD *md_type, unsigned char **ek, int *ekl, unsigned char *iv, EVP_PKEY **pubk, int npubk); void PEM_SealUpdate(PEM_ENCODE_SEAL_CTX *ctx, unsigned char *out, int *outl, unsigned char *in, int inl); int PEM_SealFinal(PEM_ENCODE_SEAL_CTX *ctx, unsigned char *sig,int *sigl, unsigned char *out, int *outl, EVP_PKEY *priv); void PEM_SignInit(EVP_MD_CTX *ctx, EVP_MD *type); void PEM_SignUpdate(EVP_MD_CTX *ctx,unsigned char *d,unsigned int cnt); int PEM_SignFinal(EVP_MD_CTX *ctx, unsigned char *sigret, unsigned int *siglen, EVP_PKEY *pkey); int PEM_def_callback(char *buf, int num, int w, void *key); void PEM_proc_type(char *buf, int type); void PEM_dek_info(char *buf, const char *type, int len, char *str); X509 *PEM_read_bio_X509(BIO *bp, X509 **x, pem_password_cb *cb, void *u); X509 *PEM_read_X509(FILE *fp, X509 **x, pem_password_cb *cb, void *u); int PEM_write_bio_X509(BIO *bp, X509 *x); int PEM_write_X509(FILE *fp, X509 *x); X509 *PEM_read_bio_X509_AUX(BIO *bp, X509 **x, pem_password_cb *cb, void *u); X509 *PEM_read_X509_AUX(FILE *fp, X509 **x, pem_password_cb *cb, void *u); int PEM_write_bio_X509_AUX(BIO *bp, X509 *x); int PEM_write_X509_AUX(FILE *fp, X509 *x); X509_REQ *PEM_read_bio_X509_REQ(BIO *bp, X509_REQ **x, pem_password_cb *cb, void *u); X509_REQ *PEM_read_X509_REQ(FILE *fp, X509_REQ **x, pem_password_cb *cb, void *u); int PEM_write_bio_X509_REQ(BIO *bp, X509_REQ *x); int PEM_write_X509_REQ(FILE *fp, X509_REQ *x); int PEM_write_bio_X509_REQ_NEW(BIO *bp, X509_REQ *x); int PEM_write_X509_REQ_NEW(FILE *fp, X509_REQ *x); X509_CRL *PEM_read_bio_X509_CRL(BIO *bp, X509_CRL **x, pem_password_cb *cb, void *u); X509_CRL *PEM_read_X509_CRL(FILE *fp, X509_CRL **x, pem_password_cb *cb, void *u); int PEM_write_bio_X509_CRL(BIO *bp, X509_CRL *x); int PEM_write_X509_CRL(FILE *fp, X509_CRL *x); PKCS7 *PEM_read_bio_PKCS7(BIO *bp, PKCS7 **x, pem_password_cb *cb, void *u); PKCS7 *PEM_read_PKCS7(FILE *fp, PKCS7 **x, pem_password_cb *cb, void *u); int PEM_write_bio_PKCS7(BIO *bp, PKCS7 *x); int PEM_write_PKCS7(FILE *fp, PKCS7 *x); NETSCAPE_CERT_SEQUENCE *PEM_read_bio_NETSCAPE_CERT_SEQUENCE(BIO *bp, NETSCAPE_CERT_SEQUENCE **x, pem_password_cb *cb, void *u); NETSCAPE_CERT_SEQUENCE *PEM_read_NETSCAPE_CERT_SEQUENCE(FILE *fp, NETSCAPE_CERT_SEQUENCE **x, pem_password_cb *cb, void *u); int PEM_write_bio_NETSCAPE_CERT_SEQUENCE(BIO *bp, NETSCAPE_CERT_SEQUENCE *x); int PEM_write_NETSCAPE_CERT_SEQUENCE(FILE *fp, NETSCAPE_CERT_SEQUENCE *x); X509_SIG *PEM_read_bio_PKCS8(BIO *bp, X509_SIG **x, pem_password_cb *cb, void *u); X509_SIG *PEM_read_PKCS8(FILE *fp, X509_SIG **x, pem_password_cb *cb, void *u); int PEM_write_bio_PKCS8(BIO *bp, X509_SIG *x); int PEM_write_PKCS8(FILE *fp, X509_SIG *x); PKCS8_PRIV_KEY_INFO *PEM_read_bio_PKCS8_PRIV_KEY_INFO(BIO *bp, PKCS8_PRIV_KEY_INFO **x, pem_password_cb *cb, void *u); PKCS8_PRIV_KEY_INFO *PEM_read_PKCS8_PRIV_KEY_INFO(FILE *fp, PKCS8_PRIV_KEY_INFO **x, pem_password_cb *cb, void *u); int PEM_write_bio_PKCS8_PRIV_KEY_INFO(BIO *bp, PKCS8_PRIV_KEY_INFO *x); int PEM_write_PKCS8_PRIV_KEY_INFO(FILE *fp, PKCS8_PRIV_KEY_INFO *x); RSA *PEM_read_bio_RSAPrivateKey(BIO *bp, RSA **x, pem_password_cb *cb, void *u); RSA *PEM_read_RSAPrivateKey(FILE *fp, RSA **x, pem_password_cb *cb, void *u); int PEM_write_bio_RSAPrivateKey(BIO *bp, RSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); int PEM_write_RSAPrivateKey(FILE *fp, RSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); RSA *PEM_read_bio_RSAPublicKey(BIO *bp, RSA **x, pem_password_cb *cb, void *u); RSA *PEM_read_RSAPublicKey(FILE *fp, RSA **x, pem_password_cb *cb, void *u); int PEM_write_bio_RSAPublicKey(BIO *bp, RSA *x); int PEM_write_RSAPublicKey(FILE *fp, RSA *x); RSA *PEM_read_bio_RSA_PUBKEY(BIO *bp, RSA **x, pem_password_cb *cb, void *u); RSA *PEM_read_RSA_PUBKEY(FILE *fp, RSA **x, pem_password_cb *cb, void *u); int PEM_write_bio_RSA_PUBKEY(BIO *bp, RSA *x); int PEM_write_RSA_PUBKEY(FILE *fp, RSA *x); DSA *PEM_read_bio_DSAPrivateKey(BIO *bp, DSA **x, pem_password_cb *cb, void *u); DSA *PEM_read_DSAPrivateKey(FILE *fp, DSA **x, pem_password_cb *cb, void *u); int PEM_write_bio_DSAPrivateKey(BIO *bp, DSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); int PEM_write_DSAPrivateKey(FILE *fp, DSA *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); DSA *PEM_read_bio_DSA_PUBKEY(BIO *bp, DSA **x, pem_password_cb *cb, void *u); DSA *PEM_read_DSA_PUBKEY(FILE *fp, DSA **x, pem_password_cb *cb, void *u); int PEM_write_bio_DSA_PUBKEY(BIO *bp, DSA *x); int PEM_write_DSA_PUBKEY(FILE *fp, DSA *x); DSA *PEM_read_bio_DSAparams(BIO *bp, DSA **x, pem_password_cb *cb, void *u); DSA *PEM_read_DSAparams(FILE *fp, DSA **x, pem_password_cb *cb, void *u); int PEM_write_bio_DSAparams(BIO *bp, DSA *x); int PEM_write_DSAparams(FILE *fp, DSA *x); DH *PEM_read_bio_DHparams(BIO *bp, DH **x, pem_password_cb *cb, void *u); DH *PEM_read_DHparams(FILE *fp, DH **x, pem_password_cb *cb, void *u); int PEM_write_bio_DHparams(BIO *bp, DH *x); int PEM_write_DHparams(FILE *fp, DH *x); EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u); EVP_PKEY *PEM_read_PrivateKey(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u); int PEM_write_bio_PrivateKey(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); int PEM_write_PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, unsigned char *kstr, int klen, pem_password_cb *cb, void *u); EVP_PKEY *PEM_read_bio_PUBKEY(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u); EVP_PKEY *PEM_read_PUBKEY(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u); int PEM_write_bio_PUBKEY(BIO *bp, EVP_PKEY *x); int PEM_write_PUBKEY(FILE *fp, EVP_PKEY *x); int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u); int PEM_write_bio_PKCS8PrivateKey(BIO *, EVP_PKEY *, const EVP_CIPHER *, char *, int, pem_password_cb *, void *); int i2d_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u); int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u); EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, void *u); int i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, char *kstr, int klen, pem_password_cb *cb, void *u); int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u); int PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, char *kstr, int klen, pem_password_cb *cb, void *u); EVP_PKEY *d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u); int PEM_write_PKCS8PrivateKey(FILE *fp,EVP_PKEY *x,const EVP_CIPHER *enc, char *kstr,int klen, pem_password_cb *cd, void *u); # 622 "/usr/include/openssl/pem.h" 3 4 void ERR_load_PEM_strings(void); # 320 "/usr/include/openssl/ssl.h" 2 3 4 # 335 "/usr/include/openssl/ssl.h" 3 4 typedef struct ssl_st *ssl_crock_st; typedef struct ssl_cipher_st { int valid; const char *name; unsigned long id; unsigned long algorithms; unsigned long algo_strength; unsigned long algorithm2; int strength_bits; int alg_bits; unsigned long mask; unsigned long mask_strength; } SSL_CIPHER; typedef struct ssl_st SSL; typedef struct ssl_ctx_st SSL_CTX; typedef struct ssl_method_st { int version; int (*ssl_new)(SSL *s); void (*ssl_clear)(SSL *s); void (*ssl_free)(SSL *s); int (*ssl_accept)(SSL *s); int (*ssl_connect)(SSL *s); int (*ssl_read)(SSL *s,void *buf,int len); int (*ssl_peek)(SSL *s,void *buf,int len); int (*ssl_write)(SSL *s,const void *buf,int len); int (*ssl_shutdown)(SSL *s); int (*ssl_renegotiate)(SSL *s); int (*ssl_renegotiate_check)(SSL *s); long (*ssl_ctrl)(SSL *s,int cmd,long larg,void *parg); long (*ssl_ctx_ctrl)(SSL_CTX *ctx,int cmd,long larg,void *parg); SSL_CIPHER *(*get_cipher_by_char)(const unsigned char *ptr); int (*put_cipher_by_char)(const SSL_CIPHER *cipher,unsigned char *ptr); int (*ssl_pending)(SSL *s); int (*num_ciphers)(void); SSL_CIPHER *(*get_cipher)(unsigned ncipher); struct ssl_method_st *(*get_ssl_method)(int version); long (*get_timeout)(void); struct ssl3_enc_method *ssl3_enc; int (*ssl_version)(); long (*ssl_callback_ctrl)(SSL *s, int cb_id, void (*fp)()); long (*ssl_ctx_callback_ctrl)(SSL_CTX *s, int cb_id, void (*fp)()); } SSL_METHOD; # 406 "/usr/include/openssl/ssl.h" 3 4 typedef struct ssl_session_st { int ssl_version; unsigned int key_arg_length; unsigned char key_arg[8]; int master_key_length; unsigned char master_key[48]; unsigned int session_id_length; unsigned char session_id[32]; unsigned int sid_ctx_length; unsigned char sid_ctx[32]; int not_resumable; struct sess_cert_st *sess_cert; X509 *peer; long verify_result; int references; long timeout; long time; int compress_meth; SSL_CIPHER *cipher; unsigned long cipher_id; STACK *ciphers; CRYPTO_EX_DATA ex_data; struct ssl_session_st *prev,*next; } SSL_SESSION; # 551 "/usr/include/openssl/ssl.h" 3 4 void SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg)); void SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg)); # 579 "/usr/include/openssl/ssl.h" 3 4 typedef int (*GEN_SESSION_CB)(const SSL *ssl, unsigned char *id, unsigned int *id_len); typedef struct ssl_comp_st { int id; char *name; COMP_METHOD *method; } SSL_COMP; struct ssl_ctx_st { SSL_METHOD *method; STACK *cipher_list; STACK *cipher_list_by_id; struct x509_store_st *cert_store; struct lhash_st *sessions; unsigned long session_cache_size; struct ssl_session_st *session_cache_head; struct ssl_session_st *session_cache_tail; int session_cache_mode; long session_timeout; # 631 "/usr/include/openssl/ssl.h" 3 4 int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess); void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess); SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl, unsigned char *data,int len,int *copy); struct { int sess_connect; int sess_connect_renegotiate; int sess_connect_good; int sess_accept; int sess_accept_renegotiate; int sess_accept_good; int sess_miss; int sess_timeout; int sess_cache_full; int sess_hit; int sess_cb_hit; } stats; int references; int (*app_verify_callback)(X509_STORE_CTX *, void *); void *app_verify_arg; pem_password_cb *default_passwd_callback; void *default_passwd_callback_userdata; int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey); CRYPTO_EX_DATA ex_data; const EVP_MD *rsa_md5; const EVP_MD *md5; const EVP_MD *sha1; STACK *extra_certs; STACK *comp_methods; void (*info_callback)(const SSL *ssl,int type,int val); STACK *client_CA; unsigned long options; unsigned long mode; long max_cert_list; struct cert_st *cert; int read_ahead; void (*msg_callback)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg); void *msg_callback_arg; int verify_mode; int verify_depth; unsigned int sid_ctx_length; unsigned char sid_ctx[32]; int (*default_verify_callback)(int ok,X509_STORE_CTX *ctx); GEN_SESSION_CB generate_session_id; int purpose; int trust; int quiet_shutdown; }; # 730 "/usr/include/openssl/ssl.h" 3 4 struct lhash_st *SSL_CTX_sessions(SSL_CTX *ctx); # 778 "/usr/include/openssl/ssl.h" 3 4 struct ssl_st { int version; int type; SSL_METHOD *method; BIO *rbio; BIO *wbio; BIO *bbio; # 806 "/usr/include/openssl/ssl.h" 3 4 int rwstate; int in_handshake; int (*handshake_func)(); # 820 "/usr/include/openssl/ssl.h" 3 4 int server; int new_session; int quiet_shutdown; int shutdown; int state; int rstate; BUF_MEM *init_buf; void *init_msg; int init_num; int init_off; unsigned char *packet; unsigned int packet_length; struct ssl2_state_st *s2; struct ssl3_state_st *s3; int read_ahead; void (*msg_callback)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg); void *msg_callback_arg; int hit; int purpose; int trust; STACK *cipher_list; STACK *cipher_list_by_id; EVP_CIPHER_CTX *enc_read_ctx; const EVP_MD *read_hash; COMP_CTX *expand; EVP_CIPHER_CTX *enc_write_ctx; const EVP_MD *write_hash; COMP_CTX *compress; # 885 "/usr/include/openssl/ssl.h" 3 4 struct cert_st *cert; unsigned int sid_ctx_length; unsigned char sid_ctx[32]; SSL_SESSION *session; GEN_SESSION_CB generate_session_id; int verify_mode; int verify_depth; int (*verify_callback)(int ok,X509_STORE_CTX *ctx); void (*info_callback)(const SSL *ssl,int type,int val); int error; int error_code; SSL_CTX *ctx; int debug; long verify_result; CRYPTO_EX_DATA ex_data; STACK *client_CA; int references; unsigned long options; unsigned long mode; long max_cert_list; int first_packet; int client_version; }; # 1 "/usr/include/openssl/ssl2.h" 1 3 4 # 158 "/usr/include/openssl/ssl2.h" 3 4 typedef struct ssl2_state_st { int three_byte_header; int clear_text; int escape; int ssl2_rollback; unsigned int wnum; int wpend_tot; const unsigned char *wpend_buf; int wpend_off; int wpend_len; int wpend_ret; int rbuf_left; int rbuf_offs; unsigned char *rbuf; unsigned char *wbuf; unsigned char *write_ptr; unsigned int padding; unsigned int rlength; int ract_data_length; unsigned int wlength; int wact_data_length; unsigned char *ract_data; unsigned char *wact_data; unsigned char *mac_data; unsigned char *read_key; unsigned char *write_key; unsigned int challenge_length; unsigned char challenge[32]; unsigned int conn_id_length; unsigned char conn_id[16]; unsigned int key_material_length; unsigned char key_material[24*2]; unsigned long read_sequence; unsigned long write_sequence; struct { unsigned int conn_id_length; unsigned int cert_type; unsigned int cert_length; unsigned int csl; unsigned int clear; unsigned int enc; unsigned char ccl[32]; unsigned int cipher_spec_length; unsigned int session_id_length; unsigned int clen; unsigned int rlen; } tmp; } SSL2_STATE; # 939 "/usr/include/openssl/ssl.h" 2 3 4 # 1 "/usr/include/openssl/ssl3.h" 1 3 4 # 120 "/usr/include/openssl/ssl3.h" 3 4 # 1 "/usr/include/openssl/ssl.h" 1 3 4 # 121 "/usr/include/openssl/ssl3.h" 2 3 4 # 284 "/usr/include/openssl/ssl3.h" 3 4 typedef struct ssl3_record_st { int type; unsigned int length; unsigned int off; unsigned char *data; unsigned char *input; unsigned char *comp; } SSL3_RECORD; typedef struct ssl3_buffer_st { unsigned char *buf; size_t len; int offset; int left; } SSL3_BUFFER; # 317 "/usr/include/openssl/ssl3.h" 3 4 typedef struct ssl3_state_st { long flags; int delay_buf_pop_ret; unsigned char read_sequence[8]; unsigned char read_mac_secret[(16+20)]; unsigned char write_sequence[8]; unsigned char write_mac_secret[(16+20)]; unsigned char server_random[32]; unsigned char client_random[32]; int need_empty_fragments; int empty_fragment_done; SSL3_BUFFER rbuf; SSL3_BUFFER wbuf; SSL3_RECORD rrec; SSL3_RECORD wrec; unsigned char alert_fragment[2]; unsigned int alert_fragment_len; unsigned char handshake_fragment[4]; unsigned int handshake_fragment_len; unsigned int wnum; int wpend_tot; int wpend_type; int wpend_ret; const unsigned char *wpend_buf; EVP_MD_CTX finish_dgst1; EVP_MD_CTX finish_dgst2; int change_cipher_spec; int warn_alert; int fatal_alert; int alert_dispatch; unsigned char send_alert[2]; int renegotiate; int total_renegotiations; int num_renegotiations; int in_read_app_data; struct { unsigned char cert_verify_md[(16+20)*2]; unsigned char finish_md[(16+20)*2]; int finish_md_len; unsigned char peer_finish_md[(16+20)*2]; int peer_finish_md_len; unsigned long message_size; int message_type; SSL_CIPHER *new_cipher; DH *dh; int next_state; int reuse_message; int cert_req; int ctype_num; char ctype[7]; STACK *ca_names; int use_rsa_tmp; int key_block_length; unsigned char *key_block; const EVP_CIPHER *new_sym_enc; const EVP_MD *new_hash; const SSL_COMP *new_compression; int cert_request; } tmp; } SSL3_STATE; # 940 "/usr/include/openssl/ssl.h" 2 3 4 # 1 "/usr/include/openssl/tls1.h" 1 3 4 # 941 "/usr/include/openssl/ssl.h" 2 3 4 # 1 "/usr/include/openssl/ssl23.h" 1 3 4 # 942 "/usr/include/openssl/ssl.h" 2 3 4 # 1002 "/usr/include/openssl/ssl.h" 3 4 size_t SSL_get_finished(SSL *s, void *buf, size_t count); size_t SSL_get_peer_finished(SSL *s, void *buf, size_t count); # 1162 "/usr/include/openssl/ssl.h" 3 4 BIO_METHOD *BIO_f_ssl(void); BIO *BIO_new_ssl(SSL_CTX *ctx,int client); BIO *BIO_new_ssl_connect(SSL_CTX *ctx); BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx); int BIO_ssl_copy_session_id(BIO *to,BIO *from); void BIO_ssl_shutdown(BIO *ssl_bio); int SSL_CTX_set_cipher_list(SSL_CTX *,const char *str); SSL_CTX *SSL_CTX_new(SSL_METHOD *meth); void SSL_CTX_free(SSL_CTX *); long SSL_CTX_set_timeout(SSL_CTX *ctx,long t); long SSL_CTX_get_timeout(SSL_CTX *ctx); X509_STORE *SSL_CTX_get_cert_store(SSL_CTX *); void SSL_CTX_set_cert_store(SSL_CTX *,X509_STORE *); int SSL_want(SSL *s); int SSL_clear(SSL *s); void SSL_CTX_flush_sessions(SSL_CTX *ctx,long tm); SSL_CIPHER *SSL_get_current_cipher(SSL *s); int SSL_CIPHER_get_bits(SSL_CIPHER *c,int *alg_bits); char * SSL_CIPHER_get_version(SSL_CIPHER *c); const char * SSL_CIPHER_get_name(SSL_CIPHER *c); int SSL_get_fd(SSL *s); int SSL_get_rfd(SSL *s); int SSL_get_wfd(SSL *s); const char * SSL_get_cipher_list(SSL *s,int n); char * SSL_get_shared_ciphers(SSL *s, char *buf, int len); int SSL_get_read_ahead(SSL * s); int SSL_pending(SSL *s); int SSL_set_fd(SSL *s, int fd); int SSL_set_rfd(SSL *s, int fd); int SSL_set_wfd(SSL *s, int fd); void SSL_set_bio(SSL *s, BIO *rbio,BIO *wbio); BIO * SSL_get_rbio(SSL *s); BIO * SSL_get_wbio(SSL *s); int SSL_set_cipher_list(SSL *s, const char *str); void SSL_set_read_ahead(SSL *s, int yes); int SSL_get_verify_mode(SSL *s); int SSL_get_verify_depth(SSL *s); int (*SSL_get_verify_callback(SSL *s))(int,X509_STORE_CTX *); void SSL_set_verify(SSL *s, int mode, int (*callback)(int ok,X509_STORE_CTX *ctx)); void SSL_set_verify_depth(SSL *s, int depth); int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa); int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, unsigned char *d, long len); int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey); int SSL_use_PrivateKey_ASN1(int pk,SSL *ssl, unsigned char *d, long len); int SSL_use_certificate(SSL *ssl, X509 *x); int SSL_use_certificate_ASN1(SSL *ssl, unsigned char *d, int len); int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type); int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type); int SSL_use_certificate_file(SSL *ssl, const char *file, int type); int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type); int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type); int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type); int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file); STACK *SSL_load_client_CA_file(const char *file); int SSL_add_file_cert_subjects_to_stack(STACK *stackCAs, const char *file); int SSL_add_dir_cert_subjects_to_stack(STACK *stackCAs, const char *dir); void SSL_load_error_strings(void ); const char *SSL_state_string(const SSL *s); const char *SSL_rstate_string(const SSL *s); const char *SSL_state_string_long(const SSL *s); const char *SSL_rstate_string_long(const SSL *s); long SSL_SESSION_get_time(SSL_SESSION *s); long SSL_SESSION_set_time(SSL_SESSION *s, long t); long SSL_SESSION_get_timeout(SSL_SESSION *s); long SSL_SESSION_set_timeout(SSL_SESSION *s, long t); void SSL_copy_session_id(SSL *to,SSL *from); SSL_SESSION *SSL_SESSION_new(void); unsigned long SSL_SESSION_hash(SSL_SESSION *a); int SSL_SESSION_cmp(SSL_SESSION *a,SSL_SESSION *b); int SSL_SESSION_print_fp(FILE *fp,SSL_SESSION *ses); int SSL_SESSION_print(BIO *fp,SSL_SESSION *ses); void SSL_SESSION_free(SSL_SESSION *ses); int i2d_SSL_SESSION(SSL_SESSION *in,unsigned char **pp); int SSL_set_session(SSL *to, SSL_SESSION *session); int SSL_CTX_add_session(SSL_CTX *s, SSL_SESSION *c); int SSL_CTX_remove_session(SSL_CTX *,SSL_SESSION *c); int SSL_CTX_set_generate_session_id(SSL_CTX *, GEN_SESSION_CB); int SSL_set_generate_session_id(SSL *, GEN_SESSION_CB); int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id, unsigned int id_len); SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a,unsigned char **pp,long length); X509 * SSL_get_peer_certificate(SSL *s); STACK *SSL_get_peer_cert_chain(SSL *s); int SSL_CTX_get_verify_mode(SSL_CTX *ctx); int SSL_CTX_get_verify_depth(SSL_CTX *ctx); int (*SSL_CTX_get_verify_callback(SSL_CTX *ctx))(int,X509_STORE_CTX *); void SSL_CTX_set_verify(SSL_CTX *ctx,int mode, int (*callback)(int, X509_STORE_CTX *)); void SSL_CTX_set_verify_depth(SSL_CTX *ctx,int depth); void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, int (*cb)(X509_STORE_CTX *,void *), void *arg); int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa); int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, unsigned char *d, long len); int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey); int SSL_CTX_use_PrivateKey_ASN1(int pk,SSL_CTX *ctx, unsigned char *d, long len); int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x); int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, unsigned char *d); void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb); void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx, void *u); int SSL_CTX_check_private_key(SSL_CTX *ctx); int SSL_check_private_key(SSL *ctx); int SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx, unsigned int sid_ctx_len); SSL * SSL_new(SSL_CTX *ctx); int SSL_set_session_id_context(SSL *ssl,const unsigned char *sid_ctx, unsigned int sid_ctx_len); int SSL_CTX_set_purpose(SSL_CTX *s, int purpose); int SSL_set_purpose(SSL *s, int purpose); int SSL_CTX_set_trust(SSL_CTX *s, int trust); int SSL_set_trust(SSL *s, int trust); void SSL_free(SSL *ssl); int SSL_accept(SSL *ssl); int SSL_connect(SSL *ssl); int SSL_read(SSL *ssl,void *buf,int num); int SSL_peek(SSL *ssl,void *buf,int num); int SSL_write(SSL *ssl,const void *buf,int num); long SSL_ctrl(SSL *ssl,int cmd, long larg, void *parg); long SSL_callback_ctrl(SSL *, int, void (*)()); long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd, long larg, void *parg); long SSL_CTX_callback_ctrl(SSL_CTX *, int, void (*)()); int SSL_get_error(SSL *s,int ret_code); const char *SSL_get_version(SSL *s); int SSL_CTX_set_ssl_version(SSL_CTX *ctx,SSL_METHOD *meth); SSL_METHOD *SSLv2_method(void); SSL_METHOD *SSLv2_server_method(void); SSL_METHOD *SSLv2_client_method(void); SSL_METHOD *SSLv3_method(void); SSL_METHOD *SSLv3_server_method(void); SSL_METHOD *SSLv3_client_method(void); SSL_METHOD *SSLv23_method(void); SSL_METHOD *SSLv23_server_method(void); SSL_METHOD *SSLv23_client_method(void); SSL_METHOD *TLSv1_method(void); SSL_METHOD *TLSv1_server_method(void); SSL_METHOD *TLSv1_client_method(void); STACK *SSL_get_ciphers(SSL *s); int SSL_do_handshake(SSL *s); int SSL_renegotiate(SSL *s); int SSL_renegotiate_pending(SSL *s); int SSL_shutdown(SSL *s); SSL_METHOD *SSL_get_ssl_method(SSL *s); int SSL_set_ssl_method(SSL *s,SSL_METHOD *method); const char *SSL_alert_type_string_long(int value); const char *SSL_alert_type_string(int value); const char *SSL_alert_desc_string_long(int value); const char *SSL_alert_desc_string(int value); void SSL_set_client_CA_list(SSL *s, STACK *name_list); void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK *name_list); STACK *SSL_get_client_CA_list(SSL *s); STACK *SSL_CTX_get_client_CA_list(SSL_CTX *s); int SSL_add_client_CA(SSL *ssl,X509 *x); int SSL_CTX_add_client_CA(SSL_CTX *ctx,X509 *x); void SSL_set_connect_state(SSL *s); void SSL_set_accept_state(SSL *s); long SSL_get_default_timeout(SSL *s); int SSL_library_init(void ); char *SSL_CIPHER_description(SSL_CIPHER *,char *buf,int size); STACK *SSL_dup_CA_list(STACK *sk); SSL *SSL_dup(SSL *ssl); X509 *SSL_get_certificate(SSL *ssl); struct evp_pkey_st *SSL_get_privatekey(SSL *ssl); void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx,int mode); int SSL_CTX_get_quiet_shutdown(SSL_CTX *ctx); void SSL_set_quiet_shutdown(SSL *ssl,int mode); int SSL_get_quiet_shutdown(SSL *ssl); void SSL_set_shutdown(SSL *ssl,int mode); int SSL_get_shutdown(SSL *ssl); int SSL_version(SSL *ssl); int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx); int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile, const char *CApath); SSL_SESSION *SSL_get_session(SSL *ssl); SSL_SESSION *SSL_get1_session(SSL *ssl); SSL_CTX *SSL_get_SSL_CTX(SSL *ssl); void SSL_set_info_callback(SSL *ssl, void (*cb)(const SSL *ssl,int type,int val)); void (*SSL_get_info_callback(SSL *ssl))(const SSL *ssl,int type,int val); int SSL_state(SSL *ssl); void SSL_set_verify_result(SSL *ssl,long v); long SSL_get_verify_result(SSL *ssl); int SSL_set_ex_data(SSL *ssl,int idx,void *data); void *SSL_get_ex_data(SSL *ssl,int idx); int SSL_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int SSL_SESSION_set_ex_data(SSL_SESSION *ss,int idx,void *data); void *SSL_SESSION_get_ex_data(SSL_SESSION *ss,int idx); int SSL_SESSION_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int SSL_CTX_set_ex_data(SSL_CTX *ssl,int idx,void *data); void *SSL_CTX_get_ex_data(SSL_CTX *ssl,int idx); int SSL_CTX_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); int SSL_get_ex_data_X509_STORE_CTX_idx(void ); # 1448 "/usr/include/openssl/ssl.h" 3 4 void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx, RSA *(*cb)(SSL *ssl,int is_export, int keylength)); void SSL_set_tmp_rsa_callback(SSL *ssl, RSA *(*cb)(SSL *ssl,int is_export, int keylength)); void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, DH *(*dh)(SSL *ssl,int is_export, int keylength)); void SSL_set_tmp_dh_callback(SSL *ssl, DH *(*dh)(SSL *ssl,int is_export, int keylength)); int SSL_COMP_add_compression_method(int id,COMP_METHOD *cm); # 1475 "/usr/include/openssl/ssl.h" 3 4 void ERR_load_SSL_strings(void); # 138 "links.h" 2 # 1 "/usr/include/openssl/rand.h" 1 3 4 # 64 "/usr/include/openssl/rand.h" 3 4 # 1 "/usr/include/openssl/e_os2.h" 1 3 4 # 56 "/usr/include/openssl/e_os2.h" 3 4 # 1 "/usr/include/openssl/opensslconf.h" 1 3 4 # 57 "/usr/include/openssl/e_os2.h" 2 3 4 # 65 "/usr/include/openssl/rand.h" 2 3 4 # 78 "/usr/include/openssl/rand.h" 3 4 typedef struct rand_meth_st { void (*seed)(const void *buf, int num); int (*bytes)(unsigned char *buf, int num); void (*cleanup)(void); void (*add)(const void *buf, int num, double entropy); int (*pseudorand)(unsigned char *buf, int num); int (*status)(void); } RAND_METHOD; int RAND_set_rand_method(const RAND_METHOD *meth); const RAND_METHOD *RAND_get_rand_method(void); int RAND_set_rand_engine(ENGINE *engine); RAND_METHOD *RAND_SSLeay(void); void RAND_cleanup(void ); int RAND_bytes(unsigned char *buf,int num); int RAND_pseudo_bytes(unsigned char *buf,int num); void RAND_seed(const void *buf,int num); void RAND_add(const void *buf,int num,double entropy); int RAND_load_file(const char *file,long max_bytes); int RAND_write_file(const char *file); const char *RAND_file_name(char *file,size_t num); int RAND_status(void); int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes); int RAND_egd(const char *path); int RAND_egd_bytes(const char *path,int bytes); int RAND_poll(void); # 123 "/usr/include/openssl/rand.h" 3 4 void ERR_load_RAND_strings(void); # 139 "links.h" 2 # 1 "/usr/include/png.h" 1 3 4 # 359 "/usr/include/png.h" 3 4 # 1 "/usr/include/zlib.h" 1 3 4 # 34 "/usr/include/zlib.h" 3 4 # 1 "/usr/include/zconf.h" 1 3 4 # 255 "/usr/include/zconf.h" 3 4 typedef unsigned char Byte; typedef unsigned int uInt; typedef unsigned long uLong; typedef Byte Bytef; typedef char charf; typedef int intf; typedef uInt uIntf; typedef uLong uLongf; typedef void const *voidpc; typedef void *voidpf; typedef void *voidp; # 35 "/usr/include/zlib.h" 2 3 4 # 77 "/usr/include/zlib.h" 3 4 typedef voidpf (*alloc_func) (voidpf opaque, uInt items, uInt size); typedef void (*free_func) (voidpf opaque, voidpf address); struct internal_state; typedef struct z_stream_s { Bytef *next_in; uInt avail_in; uLong total_in; Bytef *next_out; uInt avail_out; uLong total_out; char *msg; struct internal_state *state; alloc_func zalloc; free_func zfree; voidpf opaque; int data_type; uLong adler; uLong reserved; } z_stream; typedef z_stream *z_streamp; # 187 "/usr/include/zlib.h" 3 4 extern const char * zlibVersion (void); # 217 "/usr/include/zlib.h" 3 4 extern int deflate (z_streamp strm, int flush); # 299 "/usr/include/zlib.h" 3 4 extern int deflateEnd (z_streamp strm); # 334 "/usr/include/zlib.h" 3 4 extern int inflate (z_streamp strm, int flush); # 433 "/usr/include/zlib.h" 3 4 extern int inflateEnd (z_streamp strm); # 507 "/usr/include/zlib.h" 3 4 extern int deflateSetDictionary (z_streamp strm, const Bytef *dictionary, uInt dictLength); # 544 "/usr/include/zlib.h" 3 4 extern int deflateCopy (z_streamp dest, z_streamp source); # 562 "/usr/include/zlib.h" 3 4 extern int deflateReset (z_streamp strm); # 573 "/usr/include/zlib.h" 3 4 extern int deflateParams (z_streamp strm, int level, int strategy); # 594 "/usr/include/zlib.h" 3 4 extern uLong deflateBound (z_streamp strm, uLong sourceLen); # 603 "/usr/include/zlib.h" 3 4 extern int deflatePrime (z_streamp strm, int bits, int value); # 662 "/usr/include/zlib.h" 3 4 extern int inflateSetDictionary (z_streamp strm, const Bytef *dictionary, uInt dictLength); # 681 "/usr/include/zlib.h" 3 4 extern int inflateSync (z_streamp strm); # 696 "/usr/include/zlib.h" 3 4 extern int inflateCopy (z_streamp dest, z_streamp source); # 712 "/usr/include/zlib.h" 3 4 extern int inflateReset (z_streamp strm); # 744 "/usr/include/zlib.h" 3 4 typedef unsigned (*in_func) (void *, unsigned char * *); typedef int (*out_func) (void *, unsigned char *, unsigned); extern int inflateBack (z_stream *strm, in_func in, void *in_desc, out_func out, void *out_desc); # 816 "/usr/include/zlib.h" 3 4 extern int inflateBackEnd (z_stream *strm); extern uLong zlibCompileFlags (void); # 876 "/usr/include/zlib.h" 3 4 extern int compress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen); # 891 "/usr/include/zlib.h" 3 4 extern int compress2 (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level); # 907 "/usr/include/zlib.h" 3 4 extern uLong compressBound (uLong sourceLen); extern int uncompress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen); # 933 "/usr/include/zlib.h" 3 4 typedef voidp gzFile; extern gzFile gzopen (const char *path, const char *mode); # 952 "/usr/include/zlib.h" 3 4 extern gzFile gzdopen (int fd, const char *mode); # 965 "/usr/include/zlib.h" 3 4 extern int gzsetparams (gzFile file, int level, int strategy); extern int gzread (gzFile file, voidp buf, unsigned len); extern int gzwrite (gzFile file, voidpc buf, unsigned len); extern int gzprintf (gzFile file, const char *format, ...); # 1002 "/usr/include/zlib.h" 3 4 extern int gzputs (gzFile file, const char *s); extern char * gzgets (gzFile file, char *buf, int len); # 1018 "/usr/include/zlib.h" 3 4 extern int gzputc (gzFile file, int c); extern int gzgetc (gzFile file); extern int gzungetc (int c, gzFile file); # 1040 "/usr/include/zlib.h" 3 4 extern int gzflush (gzFile file, int flush); # 1050 "/usr/include/zlib.h" 3 4 extern off_t gzseek (gzFile file, off_t offset, int whence); # 1068 "/usr/include/zlib.h" 3 4 extern int gzrewind (gzFile file); extern off_t gztell (gzFile file); # 1084 "/usr/include/zlib.h" 3 4 extern int gzeof (gzFile file); extern int gzclose (gzFile file); extern const char * gzerror (gzFile file, int *errnum); # 1106 "/usr/include/zlib.h" 3 4 extern void gzclearerr (gzFile file); # 1121 "/usr/include/zlib.h" 3 4 extern uLong adler32 (uLong adler, const Bytef *buf, uInt len); # 1138 "/usr/include/zlib.h" 3 4 extern uLong crc32 (uLong crc, const Bytef *buf, uInt len); # 1160 "/usr/include/zlib.h" 3 4 extern int deflateInit_ (z_streamp strm, int level, const char *version, int stream_size); extern int inflateInit_ (z_streamp strm, const char *version, int stream_size); extern int deflateInit2_ (z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size); extern int inflateInit2_ (z_streamp strm, int windowBits, const char *version, int stream_size); extern int inflateBackInit_ (z_stream *strm, int windowBits, unsigned char *window, const char *version, int stream_size); # 1189 "/usr/include/zlib.h" 3 4 struct internal_state {int dummy;}; extern const char * zError (int); extern int inflateSyncPoint (z_streamp z); extern const uLongf * get_crc_table (void); # 360 "/usr/include/png.h" 2 3 4 # 1 "/usr/include/pngconf.h" 1 3 4 # 1050 "/usr/include/pngconf.h" 3 4 typedef unsigned long png_uint_32; typedef long png_int_32; typedef unsigned short png_uint_16; typedef short png_int_16; typedef unsigned char png_byte; typedef size_t png_size_t; # 1127 "/usr/include/pngconf.h" 3 4 typedef png_int_32 png_fixed_point; typedef void * png_voidp; typedef png_byte * png_bytep; typedef png_uint_32 * png_uint_32p; typedef png_int_32 * png_int_32p; typedef png_uint_16 * png_uint_16p; typedef png_int_16 * png_int_16p; typedef const char * png_const_charp; typedef char * png_charp; typedef png_fixed_point * png_fixed_point_p; typedef FILE * png_FILE_p; typedef double * png_doublep; typedef png_byte * * png_bytepp; typedef png_uint_32 * * png_uint_32pp; typedef png_int_32 * * png_int_32pp; typedef png_uint_16 * * png_uint_16pp; typedef png_int_16 * * png_int_16pp; typedef const char * * png_const_charpp; typedef char * * png_charpp; typedef png_fixed_point * * png_fixed_point_pp; typedef double * * png_doublepp; typedef char * * * png_charppp; # 1175 "/usr/include/pngconf.h" 3 4 typedef charf * png_zcharp; typedef charf * * png_zcharpp; typedef z_stream * png_zstreamp; # 364 "/usr/include/png.h" 2 3 4 # 443 "/usr/include/png.h" 3 4 extern const char png_libpng_ver[18]; # 452 "/usr/include/png.h" 3 4 extern const int png_pass_start[7]; extern const int png_pass_inc[7]; extern const int png_pass_ystart[7]; extern const int png_pass_yinc[7]; extern const int png_pass_mask[7]; extern const int png_pass_dsp_mask[7]; # 472 "/usr/include/png.h" 3 4 typedef struct png_color_struct { png_byte red; png_byte green; png_byte blue; } png_color; typedef png_color * png_colorp; typedef png_color * * png_colorpp; typedef struct png_color_16_struct { png_byte index; png_uint_16 red; png_uint_16 green; png_uint_16 blue; png_uint_16 gray; } png_color_16; typedef png_color_16 * png_color_16p; typedef png_color_16 * * png_color_16pp; typedef struct png_color_8_struct { png_byte red; png_byte green; png_byte blue; png_byte gray; png_byte alpha; } png_color_8; typedef png_color_8 * png_color_8p; typedef png_color_8 * * png_color_8pp; typedef struct png_sPLT_entry_struct { png_uint_16 red; png_uint_16 green; png_uint_16 blue; png_uint_16 alpha; png_uint_16 frequency; } png_sPLT_entry; typedef png_sPLT_entry * png_sPLT_entryp; typedef png_sPLT_entry * * png_sPLT_entrypp; typedef struct png_sPLT_struct { png_charp name; png_byte depth; png_sPLT_entryp entries; png_int_32 nentries; } png_sPLT_t; typedef png_sPLT_t * png_sPLT_tp; typedef png_sPLT_t * * png_sPLT_tpp; # 542 "/usr/include/png.h" 3 4 typedef struct png_text_struct { int compression; png_charp key; png_charp text; png_size_t text_length; } png_text; typedef png_text * png_textp; typedef png_text * * png_textpp; # 581 "/usr/include/png.h" 3 4 typedef struct png_time_struct { png_uint_16 year; png_byte month; png_byte day; png_byte hour; png_byte minute; png_byte second; } png_time; typedef png_time * png_timep; typedef png_time * * png_timepp; typedef struct png_unknown_chunk_t { png_byte name[5]; png_byte *data; png_size_t size; png_byte location; } png_unknown_chunk; typedef png_unknown_chunk * png_unknown_chunkp; typedef png_unknown_chunk * * png_unknown_chunkpp; # 652 "/usr/include/png.h" 3 4 typedef struct png_info_struct { png_uint_32 width; png_uint_32 height; png_uint_32 valid; png_uint_32 rowbytes; png_colorp palette; png_uint_16 num_palette; png_uint_16 num_trans; png_byte bit_depth; png_byte color_type; png_byte compression_type; png_byte filter_type; png_byte interlace_type; png_byte channels; png_byte pixel_depth; png_byte spare_byte; png_byte signature[8]; # 686 "/usr/include/png.h" 3 4 float gamma; png_byte srgb_intent; # 704 "/usr/include/png.h" 3 4 int num_text; int max_text; png_textp text; png_time mod_time; # 723 "/usr/include/png.h" 3 4 png_color_8 sig_bit; # 737 "/usr/include/png.h" 3 4 png_bytep trans; png_color_16 trans_values; # 748 "/usr/include/png.h" 3 4 png_color_16 background; # 757 "/usr/include/png.h" 3 4 png_int_32 x_offset; png_int_32 y_offset; png_byte offset_unit_type; png_uint_32 x_pixels_per_unit; png_uint_32 y_pixels_per_unit; png_byte phys_unit_type; # 779 "/usr/include/png.h" 3 4 png_uint_16p hist; # 790 "/usr/include/png.h" 3 4 float x_white; float y_white; float x_red; float y_red; float x_green; float y_green; float x_blue; float y_blue; # 813 "/usr/include/png.h" 3 4 png_charp pcal_purpose; png_int_32 pcal_X0; png_int_32 pcal_X1; png_charp pcal_units; png_charpp pcal_params; png_byte pcal_type; png_byte pcal_nparams; png_uint_32 free_me; png_unknown_chunkp unknown_chunks; png_size_t unknown_chunks_num; png_charp iccp_name; png_charp iccp_profile; png_uint_32 iccp_proflen; png_byte iccp_compression; png_sPLT_tp splt_palettes; png_uint_32 splt_palettes_num; # 856 "/usr/include/png.h" 3 4 png_byte scal_unit; double scal_pixel_width; double scal_pixel_height; png_charp scal_s_width; png_charp scal_s_height; png_bytepp row_pointers; png_fixed_point int_gamma; png_fixed_point int_x_white; png_fixed_point int_y_white; png_fixed_point int_x_red; png_fixed_point int_y_red; png_fixed_point int_x_green; png_fixed_point int_y_green; png_fixed_point int_x_blue; png_fixed_point int_y_blue; } png_info; typedef png_info * png_infop; typedef png_info * * png_infopp; # 992 "/usr/include/png.h" 3 4 typedef struct png_row_info_struct { png_uint_32 width; png_uint_32 rowbytes; png_byte color_type; png_byte bit_depth; png_byte channels; png_byte pixel_depth; } png_row_info; typedef png_row_info * png_row_infop; typedef png_row_info * * png_row_infopp; typedef struct png_struct_def png_struct; typedef png_struct * png_structp; typedef void ( *png_error_ptr) (png_structp, png_const_charp); typedef void ( *png_rw_ptr) (png_structp, png_bytep, png_size_t); typedef void ( *png_flush_ptr) (png_structp); typedef void ( *png_read_status_ptr) (png_structp, png_uint_32, int); typedef void ( *png_write_status_ptr) (png_structp, png_uint_32, int); typedef void ( *png_progressive_info_ptr) (png_structp, png_infop); typedef void ( *png_progressive_end_ptr) (png_structp, png_infop); typedef void ( *png_progressive_row_ptr) (png_structp, png_bytep, png_uint_32, int); typedef void ( *png_user_transform_ptr) (png_structp, png_row_infop, png_bytep); typedef int ( *png_user_chunk_ptr) (png_structp, png_unknown_chunkp); typedef void ( *png_unknown_chunk_ptr) (png_structp); # 1063 "/usr/include/png.h" 3 4 typedef png_voidp (*png_malloc_ptr) (png_structp, png_size_t); typedef void (*png_free_ptr) (png_structp, png_voidp); # 1073 "/usr/include/png.h" 3 4 struct png_struct_def { jmp_buf jmpbuf; png_error_ptr error_fn; png_error_ptr warning_fn; png_voidp error_ptr; png_rw_ptr write_data_fn; png_rw_ptr read_data_fn; png_voidp io_ptr; png_user_transform_ptr read_user_transform_fn; png_user_transform_ptr write_user_transform_fn; png_voidp user_transform_ptr; png_byte user_transform_depth; png_byte user_transform_channels; png_uint_32 mode; png_uint_32 flags; png_uint_32 transformations; z_stream zstream; png_bytep zbuf; png_size_t zbuf_size; int zlib_level; int zlib_method; int zlib_window_bits; int zlib_mem_level; int zlib_strategy; png_uint_32 width; png_uint_32 height; png_uint_32 num_rows; png_uint_32 usr_width; png_uint_32 rowbytes; png_uint_32 irowbytes; png_uint_32 iwidth; png_uint_32 row_number; png_bytep prev_row; png_bytep row_buf; png_bytep sub_row; png_bytep up_row; png_bytep avg_row; png_bytep paeth_row; png_row_info row_info; png_uint_32 idat_size; png_uint_32 crc; png_colorp palette; png_uint_16 num_palette; png_uint_16 num_trans; png_byte chunk_name[5]; png_byte compression; png_byte filter; png_byte interlaced; png_byte pass; png_byte do_filter; png_byte color_type; png_byte bit_depth; png_byte usr_bit_depth; png_byte pixel_depth; png_byte channels; png_byte usr_channels; png_byte sig_bytes; png_uint_16 filler; png_byte background_gamma_type; float background_gamma; png_color_16 background; png_color_16 background_1; png_flush_ptr output_flush_fn; png_uint_32 flush_dist; png_uint_32 flush_rows; int gamma_shift; float gamma; float screen_gamma; png_bytep gamma_table; png_bytep gamma_from_1; png_bytep gamma_to_1; png_uint_16pp gamma_16_table; png_uint_16pp gamma_16_from_1; png_uint_16pp gamma_16_to_1; png_color_8 sig_bit; png_color_8 shift; png_bytep trans; png_color_16 trans_values; png_read_status_ptr read_row_fn; png_write_status_ptr write_row_fn; png_progressive_info_ptr info_fn; png_progressive_row_ptr row_fn; png_progressive_end_ptr end_fn; png_bytep save_buffer_ptr; png_bytep save_buffer; png_bytep current_buffer_ptr; png_bytep current_buffer; png_uint_32 push_length; png_uint_32 skip_length; png_size_t save_buffer_size; png_size_t save_buffer_max; png_size_t buffer_size; png_size_t current_buffer_size; int process_mode; int cur_palette; png_size_t current_text_size; png_size_t current_text_left; png_charp current_text; png_charp current_text_ptr; # 1245 "/usr/include/png.h" 3 4 png_bytep palette_lookup; png_bytep dither_index; png_uint_16p hist; png_byte heuristic_method; png_byte num_prev_filters; png_bytep prev_filters; png_uint_16p filter_weights; png_uint_16p inv_filter_weights; png_uint_16p filter_costs; png_uint_16p inv_filter_costs; png_charp time_buffer; png_uint_32 free_me; png_voidp user_chunk_ptr; png_user_chunk_ptr read_user_chunk_fn; int num_chunk_list; png_bytep chunk_list; png_byte rgb_to_gray_status; png_uint_16 rgb_to_gray_red_coeff; png_uint_16 rgb_to_gray_green_coeff; png_uint_16 rgb_to_gray_blue_coeff; # 1300 "/usr/include/png.h" 3 4 png_uint_32 mng_features_permitted; png_fixed_point int_gamma; png_byte filter_type; # 1321 "/usr/include/png.h" 3 4 png_byte mmx_bitdepth_threshold; png_uint_32 mmx_rowbytes_threshold; png_uint_32 asm_flags; png_voidp mem_ptr; png_malloc_ptr malloc_fn; png_free_ptr free_fn; png_bytep big_row_buf; png_bytep dither_sort; png_bytep index_to_palette; png_bytep palette_to_index; png_byte compression_type; png_uint_32 user_width_max; png_uint_32 user_height_max; }; typedef png_structp version_1_2_8; typedef png_struct * * png_structpp; # 1370 "/usr/include/png.h" 3 4 extern png_uint_32 png_access_version_number (void); extern void png_set_sig_bytes (png_structp png_ptr, int num_bytes); extern int png_sig_cmp (png_bytep sig, png_size_t start, png_size_t num_to_check); extern int png_check_sig (png_bytep sig, int num); extern png_structp png_create_read_struct (png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn); extern png_structp png_create_write_struct (png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn); extern png_uint_32 png_get_compression_buffer_size (png_structp png_ptr); extern void png_set_compression_buffer_size (png_structp png_ptr, png_uint_32 size); extern int png_reset_zstream (png_structp png_ptr); extern png_structp png_create_read_struct_2 (png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn, png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn); extern png_structp png_create_write_struct_2 (png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn, png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn); extern void png_write_chunk (png_structp png_ptr, png_bytep chunk_name, png_bytep data, png_size_t length); extern void png_write_chunk_start (png_structp png_ptr, png_bytep chunk_name, png_uint_32 length); extern void png_write_chunk_data (png_structp png_ptr, png_bytep data, png_size_t length); extern void png_write_chunk_end (png_structp png_ptr); extern png_infop png_create_info_struct (png_structp png_ptr); extern void png_info_init (png_infop info_ptr); extern void png_info_init_3 (png_infopp info_ptr, png_size_t png_info_struct_size); extern void png_write_info_before_PLTE (png_structp png_ptr, png_infop info_ptr); extern void png_write_info (png_structp png_ptr, png_infop info_ptr); extern void png_read_info (png_structp png_ptr, png_infop info_ptr); extern png_charp png_convert_to_rfc1123 (png_structp png_ptr, png_timep ptime); extern void png_convert_from_struct_tm (png_timep ptime, struct tm * ttime); extern void png_convert_from_time_t (png_timep ptime, time_t ttime); extern void png_set_expand (png_structp png_ptr); extern void png_set_gray_1_2_4_to_8 (png_structp png_ptr); extern void png_set_palette_to_rgb (png_structp png_ptr); extern void png_set_tRNS_to_alpha (png_structp png_ptr); extern void png_set_bgr (png_structp png_ptr); extern void png_set_gray_to_rgb (png_structp png_ptr); extern void png_set_rgb_to_gray (png_structp png_ptr, int error_action, double red, double green ); extern void png_set_rgb_to_gray_fixed (png_structp png_ptr, int error_action, png_fixed_point red, png_fixed_point green ); extern png_byte png_get_rgb_to_gray_status (png_structp png_ptr); extern void png_build_grayscale_palette (int bit_depth, png_colorp palette); extern void png_set_strip_alpha (png_structp png_ptr); extern void png_set_swap_alpha (png_structp png_ptr); extern void png_set_invert_alpha (png_structp png_ptr); extern void png_set_filler (png_structp png_ptr, png_uint_32 filler, int flags); extern void png_set_add_alpha (png_structp png_ptr, png_uint_32 filler, int flags); extern void png_set_swap (png_structp png_ptr); extern void png_set_packing (png_structp png_ptr); extern void png_set_packswap (png_structp png_ptr); extern void png_set_shift (png_structp png_ptr, png_color_8p true_bits); extern int png_set_interlace_handling (png_structp png_ptr); extern void png_set_invert_mono (png_structp png_ptr); extern void png_set_background (png_structp png_ptr, png_color_16p background_color, int background_gamma_code, int need_expand, double background_gamma); # 1591 "/usr/include/png.h" 3 4 extern void png_set_strip_16 (png_structp png_ptr); extern void png_set_dither (png_structp png_ptr, png_colorp palette, int num_palette, int maximum_colors, png_uint_16p histogram, int full_dither); extern void png_set_gamma (png_structp png_ptr, double screen_gamma, double default_file_gamma); # 1613 "/usr/include/png.h" 3 4 extern void png_permit_empty_plte (png_structp png_ptr, int empty_plte_permitted); extern void png_set_flush (png_structp png_ptr, int nrows); extern void png_write_flush (png_structp png_ptr); extern void png_start_read_image (png_structp png_ptr); extern void png_read_update_info (png_structp png_ptr, png_infop info_ptr); extern void png_read_rows (png_structp png_ptr, png_bytepp row, png_bytepp display_row, png_uint_32 num_rows); extern void png_read_row (png_structp png_ptr, png_bytep row, png_bytep display_row); extern void png_read_image (png_structp png_ptr, png_bytepp image); extern void png_write_row (png_structp png_ptr, png_bytep row); extern void png_write_rows (png_structp png_ptr, png_bytepp row, png_uint_32 num_rows); extern void png_write_image (png_structp png_ptr, png_bytepp image); extern void png_write_end (png_structp png_ptr, png_infop info_ptr); extern void png_read_end (png_structp png_ptr, png_infop info_ptr); extern void png_destroy_info_struct (png_structp png_ptr, png_infopp info_ptr_ptr); extern void png_destroy_read_struct (png_structpp png_ptr_ptr, png_infopp info_ptr_ptr, png_infopp end_info_ptr_ptr); extern void png_read_destroy (png_structp png_ptr, png_infop info_ptr, png_infop end_info_ptr); extern void png_destroy_write_struct (png_structpp png_ptr_ptr, png_infopp info_ptr_ptr); extern void png_write_destroy (png_structp png_ptr); extern void png_set_crc_action (png_structp png_ptr, int crit_action, int ancil_action); # 1722 "/usr/include/png.h" 3 4 extern void png_set_filter (png_structp png_ptr, int method, int filters); # 1779 "/usr/include/png.h" 3 4 extern void png_set_filter_heuristics (png_structp png_ptr, int heuristic_method, int num_weights, png_doublep filter_weights, png_doublep filter_costs); # 1800 "/usr/include/png.h" 3 4 extern void png_set_compression_level (png_structp png_ptr, int level); extern void png_set_compression_mem_level (png_structp png_ptr, int mem_level); extern void png_set_compression_strategy (png_structp png_ptr, int strategy); extern void png_set_compression_window_bits (png_structp png_ptr, int window_bits); extern void png_set_compression_method (png_structp png_ptr, int method); # 1826 "/usr/include/png.h" 3 4 extern void png_init_io (png_structp png_ptr, png_FILE_p fp); # 1837 "/usr/include/png.h" 3 4 extern void png_set_error_fn (png_structp png_ptr, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warning_fn); extern png_voidp png_get_error_ptr (png_structp png_ptr); extern void png_set_write_fn (png_structp png_ptr, png_voidp io_ptr, png_rw_ptr write_data_fn, png_flush_ptr output_flush_fn); extern void png_set_read_fn (png_structp png_ptr, png_voidp io_ptr, png_rw_ptr read_data_fn); extern png_voidp png_get_io_ptr (png_structp png_ptr); extern void png_set_read_status_fn (png_structp png_ptr, png_read_status_ptr read_row_fn); extern void png_set_write_status_fn (png_structp png_ptr, png_write_status_ptr write_row_fn); extern void png_set_mem_fn (png_structp png_ptr, png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn); extern png_voidp png_get_mem_ptr (png_structp png_ptr); extern void png_set_read_user_transform_fn (png_structp png_ptr, png_user_transform_ptr read_user_transform_fn); extern void png_set_write_user_transform_fn (png_structp png_ptr, png_user_transform_ptr write_user_transform_fn); extern void png_set_user_transform_info (png_structp png_ptr, png_voidp user_transform_ptr, int user_transform_depth, int user_transform_channels); extern png_voidp png_get_user_transform_ptr (png_structp png_ptr); extern void png_set_read_user_chunk_fn (png_structp png_ptr, png_voidp user_chunk_ptr, png_user_chunk_ptr read_user_chunk_fn); extern png_voidp png_get_user_chunk_ptr (png_structp png_ptr); extern void png_set_progressive_read_fn (png_structp png_ptr, png_voidp progressive_ptr, png_progressive_info_ptr info_fn, png_progressive_row_ptr row_fn, png_progressive_end_ptr end_fn); extern png_voidp png_get_progressive_ptr (png_structp png_ptr); extern void png_process_data (png_structp png_ptr, png_infop info_ptr, png_bytep buffer, png_size_t buffer_size); extern void png_progressive_combine_row (png_structp png_ptr, png_bytep old_row, png_bytep new_row); extern png_voidp png_malloc (png_structp png_ptr, png_uint_32 size); extern png_voidp png_malloc_warn (png_structp png_ptr, png_uint_32 size); extern void png_free (png_structp png_ptr, png_voidp ptr); # 1950 "/usr/include/png.h" 3 4 extern void png_free_data (png_structp png_ptr, png_infop info_ptr, png_uint_32 free_me, int num); extern void png_data_freer (png_structp png_ptr, png_infop info_ptr, int freer, png_uint_32 mask); # 1978 "/usr/include/png.h" 3 4 extern png_voidp png_malloc_default (png_structp png_ptr, png_uint_32 size); extern void png_free_default (png_structp png_ptr, png_voidp ptr); extern png_voidp png_memcpy_check (png_structp png_ptr, png_voidp s1, png_voidp s2, png_uint_32 size); extern png_voidp png_memset_check (png_structp png_ptr, png_voidp s1, int value, png_uint_32 size); # 1996 "/usr/include/png.h" 3 4 extern void png_error (png_structp png_ptr, png_const_charp error_message); extern void png_chunk_error (png_structp png_ptr, png_const_charp error_message); extern void png_warning (png_structp png_ptr, png_const_charp warning_message); extern void png_chunk_warning (png_structp png_ptr, png_const_charp warning_message); # 2024 "/usr/include/png.h" 3 4 extern png_uint_32 png_get_valid (png_structp png_ptr, png_infop info_ptr, png_uint_32 flag); extern png_uint_32 png_get_rowbytes (png_structp png_ptr, png_infop info_ptr); extern png_bytepp png_get_rows (png_structp png_ptr, png_infop info_ptr); extern void png_set_rows (png_structp png_ptr, png_infop info_ptr, png_bytepp row_pointers); extern png_byte png_get_channels (png_structp png_ptr, png_infop info_ptr); extern png_uint_32 png_get_image_width (png_structp png_ptr, png_infop info_ptr); extern png_uint_32 png_get_image_height (png_structp png_ptr, png_infop info_ptr); extern png_byte png_get_bit_depth (png_structp png_ptr, png_infop info_ptr); extern png_byte png_get_color_type (png_structp png_ptr, png_infop info_ptr); extern png_byte png_get_filter_type (png_structp png_ptr, png_infop info_ptr); extern png_byte png_get_interlace_type (png_structp png_ptr, png_infop info_ptr); extern png_byte png_get_compression_type (png_structp png_ptr, png_infop info_ptr); extern png_uint_32 png_get_pixels_per_meter (png_structp png_ptr, png_infop info_ptr); extern png_uint_32 png_get_x_pixels_per_meter (png_structp png_ptr, png_infop info_ptr); extern png_uint_32 png_get_y_pixels_per_meter (png_structp png_ptr, png_infop info_ptr); extern float png_get_pixel_aspect_ratio (png_structp png_ptr, png_infop info_ptr); extern png_int_32 png_get_x_offset_pixels (png_structp png_ptr, png_infop info_ptr); extern png_int_32 png_get_y_offset_pixels (png_structp png_ptr, png_infop info_ptr); extern png_int_32 png_get_x_offset_microns (png_structp png_ptr, png_infop info_ptr); extern png_int_32 png_get_y_offset_microns (png_structp png_ptr, png_infop info_ptr); extern png_bytep png_get_signature (png_structp png_ptr, png_infop info_ptr); extern png_uint_32 png_get_bKGD (png_structp png_ptr, png_infop info_ptr, png_color_16p *background); extern void png_set_bKGD (png_structp png_ptr, png_infop info_ptr, png_color_16p background); extern png_uint_32 png_get_cHRM (png_structp png_ptr, png_infop info_ptr, double *white_x, double *white_y, double *red_x, double *red_y, double *green_x, double *green_y, double *blue_x, double *blue_y); extern png_uint_32 png_get_cHRM_fixed (png_structp png_ptr, png_infop info_ptr, png_fixed_point *int_white_x, png_fixed_point *int_white_y, png_fixed_point *int_red_x, png_fixed_point *int_red_y, png_fixed_point *int_green_x, png_fixed_point *int_green_y, png_fixed_point *int_blue_x, png_fixed_point *int_blue_y); # 2133 "/usr/include/png.h" 3 4 extern void png_set_cHRM (png_structp png_ptr, png_infop info_ptr, double white_x, double white_y, double red_x, double red_y, double green_x, double green_y, double blue_x, double blue_y); extern void png_set_cHRM_fixed (png_structp png_ptr, png_infop info_ptr, png_fixed_point int_white_x, png_fixed_point int_white_y, png_fixed_point int_red_x, png_fixed_point int_red_y, png_fixed_point int_green_x, png_fixed_point int_green_y, png_fixed_point int_blue_x, png_fixed_point int_blue_y); # 2148 "/usr/include/png.h" 3 4 extern png_uint_32 png_get_gAMA (png_structp png_ptr, png_infop info_ptr, double *file_gamma); extern png_uint_32 png_get_gAMA_fixed (png_structp png_ptr, png_infop info_ptr, png_fixed_point *int_file_gamma); extern void png_set_gAMA (png_structp png_ptr, png_infop info_ptr, double file_gamma); extern void png_set_gAMA_fixed (png_structp png_ptr, png_infop info_ptr, png_fixed_point int_file_gamma); extern png_uint_32 png_get_hIST (png_structp png_ptr, png_infop info_ptr, png_uint_16p *hist); extern void png_set_hIST (png_structp png_ptr, png_infop info_ptr, png_uint_16p hist); extern png_uint_32 png_get_IHDR (png_structp png_ptr, png_infop info_ptr, png_uint_32 *width, png_uint_32 *height, int *bit_depth, int *color_type, int *interlace_method, int *compression_method, int *filter_method); extern void png_set_IHDR (png_structp png_ptr, png_infop info_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_method, int compression_method, int filter_method); extern png_uint_32 png_get_oFFs (png_structp png_ptr, png_infop info_ptr, png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type); extern void png_set_oFFs (png_structp png_ptr, png_infop info_ptr, png_int_32 offset_x, png_int_32 offset_y, int unit_type); extern png_uint_32 png_get_pCAL (png_structp png_ptr, png_infop info_ptr, png_charp *purpose, png_int_32 *X0, png_int_32 *X1, int *type, int *nparams, png_charp *units, png_charpp *params); extern void png_set_pCAL (png_structp png_ptr, png_infop info_ptr, png_charp purpose, png_int_32 X0, png_int_32 X1, int type, int nparams, png_charp units, png_charpp params); extern png_uint_32 png_get_pHYs (png_structp png_ptr, png_infop info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type); extern void png_set_pHYs (png_structp png_ptr, png_infop info_ptr, png_uint_32 res_x, png_uint_32 res_y, int unit_type); extern png_uint_32 png_get_PLTE (png_structp png_ptr, png_infop info_ptr, png_colorp *palette, int *num_palette); extern void png_set_PLTE (png_structp png_ptr, png_infop info_ptr, png_colorp palette, int num_palette); extern png_uint_32 png_get_sBIT (png_structp png_ptr, png_infop info_ptr, png_color_8p *sig_bit); extern void png_set_sBIT (png_structp png_ptr, png_infop info_ptr, png_color_8p sig_bit); extern png_uint_32 png_get_sRGB (png_structp png_ptr, png_infop info_ptr, int *intent); extern void png_set_sRGB (png_structp png_ptr, png_infop info_ptr, int intent); extern void png_set_sRGB_gAMA_and_cHRM (png_structp png_ptr, png_infop info_ptr, int intent); extern png_uint_32 png_get_iCCP (png_structp png_ptr, png_infop info_ptr, png_charpp name, int *compression_type, png_charpp profile, png_uint_32 *proflen); extern void png_set_iCCP (png_structp png_ptr, png_infop info_ptr, png_charp name, int compression_type, png_charp profile, png_uint_32 proflen); extern png_uint_32 png_get_sPLT (png_structp png_ptr, png_infop info_ptr, png_sPLT_tpp entries); extern void png_set_sPLT (png_structp png_ptr, png_infop info_ptr, png_sPLT_tp entries, int nentries); extern png_uint_32 png_get_text (png_structp png_ptr, png_infop info_ptr, png_textp *text_ptr, int *num_text); # 2285 "/usr/include/png.h" 3 4 extern void png_set_text (png_structp png_ptr, png_infop info_ptr, png_textp text_ptr, int num_text); extern png_uint_32 png_get_tIME (png_structp png_ptr, png_infop info_ptr, png_timep *mod_time); extern void png_set_tIME (png_structp png_ptr, png_infop info_ptr, png_timep mod_time); extern png_uint_32 png_get_tRNS (png_structp png_ptr, png_infop info_ptr, png_bytep *trans, int *num_trans, png_color_16p *trans_values); extern void png_set_tRNS (png_structp png_ptr, png_infop info_ptr, png_bytep trans, int num_trans, png_color_16p trans_values); # 2316 "/usr/include/png.h" 3 4 extern png_uint_32 png_get_sCAL (png_structp png_ptr, png_infop info_ptr, int *unit, double *width, double *height); # 2328 "/usr/include/png.h" 3 4 extern void png_set_sCAL (png_structp png_ptr, png_infop info_ptr, int unit, double width, double height); extern void png_set_sCAL_s (png_structp png_ptr, png_infop info_ptr, int unit, png_charp swidth, png_charp sheight); # 2347 "/usr/include/png.h" 3 4 extern void png_set_keep_unknown_chunks (png_structp png_ptr, int keep, png_bytep chunk_list, int num_chunks); extern void png_set_unknown_chunks (png_structp png_ptr, png_infop info_ptr, png_unknown_chunkp unknowns, int num_unknowns); extern void png_set_unknown_chunk_location (png_structp png_ptr, png_infop info_ptr, int chunk, int location); extern png_uint_32 png_get_unknown_chunks (png_structp png_ptr, png_infop info_ptr, png_unknown_chunkpp entries); int png_handle_as_unknown (png_structp png_ptr, png_bytep chunk_name); extern void png_set_invalid (png_structp png_ptr, png_infop info_ptr, int mask); extern void png_read_png (png_structp png_ptr, png_infop info_ptr, int transforms, png_voidp params); extern void png_write_png (png_structp png_ptr, png_infop info_ptr, int transforms, png_voidp params); # 2430 "/usr/include/png.h" 3 4 extern png_bytep png_sig_bytes (void); extern png_charp png_get_copyright (png_structp png_ptr); extern png_charp png_get_header_ver (png_structp png_ptr); extern png_charp png_get_header_version (png_structp png_ptr); extern png_charp png_get_libpng_ver (png_structp png_ptr); extern png_uint_32 png_permit_mng_features (png_structp png_ptr, png_uint_32 mng_features_permitted); # 2478 "/usr/include/png.h" 3 4 extern png_uint_32 png_get_mmx_flagmask (int flag_select, int *compilerID); extern png_uint_32 png_get_asm_flagmask (int flag_select); extern png_uint_32 png_get_asm_flags (png_structp png_ptr); extern png_byte png_get_mmx_bitdepth_threshold (png_structp png_ptr); extern png_uint_32 png_get_mmx_rowbytes_threshold (png_structp png_ptr); extern void png_set_asm_flags (png_structp png_ptr, png_uint_32 asm_flags); extern void png_set_mmx_thresholds (png_structp png_ptr, png_byte mmx_bitdepth_threshold, png_uint_32 mmx_rowbytes_threshold); extern int png_mmx_support (void); extern void png_set_strip_error_numbers (png_structp png_ptr, png_uint_32 strip_mode); extern void png_set_user_limits (png_structp png_ptr, png_uint_32 user_width_max, png_uint_32 user_height_max); extern png_uint_32 png_get_user_width_max (png_structp png_ptr); extern png_uint_32 png_get_user_height_max (png_structp png_ptr); # 145 "links.h" 2 # 157 "links.h" # 1 "/usr/include/termios.h" 1 3 4 # 36 "/usr/include/termios.h" 3 4 # 1 "/usr/include/bits/termios.h" 1 3 4 # 25 "/usr/include/bits/termios.h" 3 4 typedef unsigned char cc_t; typedef unsigned int speed_t; typedef unsigned int tcflag_t; struct termios { tcflag_t c_iflag; tcflag_t c_oflag; tcflag_t c_cflag; tcflag_t c_lflag; cc_t c_line; cc_t c_cc[32]; speed_t c_ispeed; speed_t c_ospeed; }; # 41 "/usr/include/termios.h" 2 3 4 # 49 "/usr/include/termios.h" 3 4 extern speed_t cfgetospeed (__const struct termios *__termios_p) __attribute__ ((__nothrow__)); extern speed_t cfgetispeed (__const struct termios *__termios_p) __attribute__ ((__nothrow__)); extern int cfsetospeed (struct termios *__termios_p, speed_t __speed) __attribute__ ((__nothrow__)); extern int cfsetispeed (struct termios *__termios_p, speed_t __speed) __attribute__ ((__nothrow__)); extern int cfsetspeed (struct termios *__termios_p, speed_t __speed) __attribute__ ((__nothrow__)); extern int tcgetattr (int __fd, struct termios *__termios_p) __attribute__ ((__nothrow__)); extern int tcsetattr (int __fd, int __optional_actions, __const struct termios *__termios_p) __attribute__ ((__nothrow__)); extern void cfmakeraw (struct termios *__termios_p) __attribute__ ((__nothrow__)); extern int tcsendbreak (int __fd, int __duration) __attribute__ ((__nothrow__)); extern int tcdrain (int __fd); extern int tcflush (int __fd, int __queue_selector) __attribute__ ((__nothrow__)); extern int tcflow (int __fd, int __action) __attribute__ ((__nothrow__)); # 105 "/usr/include/termios.h" 3 4 # 1 "/usr/include/sys/ttydefaults.h" 1 3 4 # 106 "/usr/include/termios.h" 2 3 4 # 158 "links.h" 2 # 1 "os_depx.h" 1 # 1 "/usr/include/values.h" 1 3 4 # 28 "/usr/include/values.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/limits.h" 1 3 4 # 29 "/usr/include/values.h" 2 3 4 # 52 "/usr/include/values.h" 3 4 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/float.h" 1 3 4 # 53 "/usr/include/values.h" 2 3 4 # 8 "os_depx.h" 2 # 160 "links.h" 2 # 1 "setup.h" 1 # 162 "links.h" 2 # 236 "links.h" extern int F; # 276 "links.h" void do_not_optimize_here(void *p); void check_memory_leaks(void); void error(unsigned char *, ...); void debug_msg(unsigned char *, ...); void int_error(unsigned char *, ...); extern int errline; extern unsigned char *errfile; # 310 "links.h" extern long mem_amount; extern long last_mem_amount; # 323 "links.h" struct alloc_header { struct alloc_header *next; struct alloc_header *prev; int magic; int size; int line; unsigned char *file; unsigned char *comment; }; # 340 "links.h" void *debug_mem_alloc(unsigned char *, int, size_t); void *debug_mem_calloc(unsigned char *, int, size_t); void debug_mem_free(unsigned char *, int, void *); void *debug_mem_realloc(unsigned char *, int, void *, size_t); void set_mem_comment(void *, unsigned char *, int); unsigned char *get_mem_comment(void *); # 415 "links.h" static __inline__ unsigned upcase(unsigned a) { if (a>='a' && a<='z') a -= 0x20; return a; } static __inline__ int xstrcmp(unsigned char *s1, unsigned char *s2) { if (!s1 && !s2) return 0; if (!s1) return -1; if (!s2) return 1; return __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ((char *)s1) && __builtin_constant_p ((char *)s2) && (__s1_len = strlen ((char *)s1), __s2_len = strlen ((char *)s2), (!((size_t)(const void *)(((char *)s1) + 1) - (size_t)(const void *)((char *)s1) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(((char *)s2) + 1) - (size_t)(const void *)((char *)s2) == 1) || __s2_len >= 4)) ? __builtin_strcmp ((char *)s1, (char *)s2) : (__builtin_constant_p ((char *)s1) && ((size_t)(const void *)(((char *)s1) + 1) - (size_t)(const void *)((char *)s1) == 1) && (__s1_len = strlen ((char *)s1), __s1_len < 4) ? (__builtin_constant_p ((char *)s2) && ((size_t)(const void *)(((char *)s2) + 1) - (size_t)(const void *)((char *)s2) == 1) ? __builtin_strcmp ((char *)s1, (char *)s2) : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ((char *)s2); register int __result = (((__const unsigned char *) (__const char *) ((char *)s1))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char *)s1))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char *)s1))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) ((char *)s1))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ((char *)s2) && ((size_t)(const void *)(((char *)s2) + 1) - (size_t)(const void *)((char *)s2) == 1) && (__s2_len = strlen ((char *)s2), __s2_len < 4) ? (__builtin_constant_p ((char *)s1) && ((size_t)(const void *)(((char *)s1) + 1) - (size_t)(const void *)((char *)s1) == 1) ? __builtin_strcmp ((char *)s1, (char *)s2) : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) ((char *)s1); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ((char *)s2))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ((char *)s2))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ((char *)s2))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ((char *)s2))[3]); } } __result; }))) : __builtin_strcmp ((char *)s1, (char *)s2)))); }); } static __inline__ int cmpbeg(unsigned char *str, unsigned char *b) { while (*str && upcase(*str) == upcase(*b)) str++, b++; return !!*b; } # 453 "links.h" static __inline__ unsigned char *debug_memacpy(unsigned char *f, int l, unsigned char *src, size_t len) { unsigned char *m; m = (unsigned char *)debug_mem_alloc(f, l, len + 1); memcpy(m, src, len); m[len] = 0; return m; } static __inline__ unsigned char *debug_stracpy(unsigned char *f, int l, unsigned char *src) { return src ? (unsigned char *)debug_memacpy(f, l, src, src != ((void *)-1L) ? strlen((char *)src) : 0L) : ((void *)0); } # 481 "links.h" static __inline__ void nopr(void) {} static __inline__ void xpr(void) {} static __inline__ int snprint(unsigned char *s, int n, unsigned num) { unsigned q = 1; while (q <= num / 10) q *= 10; while (n-- > 1 && q) *(s++) = num / q + '0', num %= q, q /= 10; *s = 0; return !!q; } static __inline__ int snzprint(unsigned char *s, int n, int num) { if (n > 1 && num < 0) *(s++) = '-', num = -num, n--; return snprint(s, n, num); } static __inline__ void add_to_strn(unsigned char **s, unsigned char *a) { unsigned char *p; size_t l1 = strlen((char *)*s), l2 = strlen((char *)a); if (((l1 | l2) | (l1 + l2 + 1)) > 2147483647) do { error((unsigned char *)"ERROR: attempting to allocate too large block at %s:%d", "links.h", 509); exit(4); } while (1); p = (unsigned char *)debug_mem_realloc((unsigned char *)"links.h", 510, *s, l1 + l2 + 1); strcat((char *)p, (char *)a); *s = p; } static __inline__ void extend_str(unsigned char **s, int n) { size_t l = strlen((char *)*s); if (((l | n) | (l + n + 1)) > 2147483647) do { error((unsigned char *)"ERROR: attempting to allocate too large block at %s:%d", "links.h", 518); exit(4); } while (1); *s = (unsigned char *)debug_mem_realloc((unsigned char *)"links.h", 519, *s, l + n + 1); } static __inline__ unsigned char *init_str_x(unsigned char *file, int line) { unsigned char *p; p=(unsigned char *)debug_mem_alloc(file, line, 1L); *p = 0; return p; } static __inline__ void add_to_str(unsigned char **s, int *l, unsigned char *a) { unsigned char *p=*s; unsigned old_length; size_t new_length; unsigned x; old_length=*l; new_length=strlen((char *)a); if (new_length + old_length >= 2147483647 / 2 || new_length + old_length < new_length) do { error((unsigned char *)"ERROR: attempting to allocate too large block at %s:%d", "links.h", 544); exit(4); } while (1); new_length+=old_length; *l=new_length; x=old_length^new_length; if (x>=old_length){ new_length|=(new_length>>1); new_length|=(new_length>>2); new_length|=(new_length>>4); new_length|=(new_length>>8); new_length|=(new_length>>16); p=(unsigned char *)debug_mem_realloc((unsigned char *)"links.h", 555, p, new_length+1L); } *s=p; strcpy((char *)(p+old_length),(char *)a); } static __inline__ void add_bytes_to_str(unsigned char **s, int *l, unsigned char *a, size_t ll) { unsigned char *p=*s; unsigned long old_length; unsigned long new_length; unsigned long x; old_length=*l; if (ll + old_length >= (unsigned)2147483647 / 2 || ll + old_length < (unsigned)ll) do { error((unsigned char *)"ERROR: attempting to allocate too large block at %s:%d", "links.h", 569); exit(4); } while (1); new_length=old_length+ll; *l=new_length; x=old_length^new_length; if (x>=old_length){ new_length|=(new_length>>1); new_length|=(new_length>>2); new_length|=(new_length>>4); new_length|=(new_length>>8); new_length|=(new_length>>16); p=(unsigned char *)debug_mem_realloc((unsigned char *)"links.h", 580, p, new_length+1); } *s=p; memcpy(p+old_length,a,ll); p[*l]=0; } static __inline__ void add_chr_to_str(unsigned char **s, int *l, unsigned char a) { unsigned char *p=*s; unsigned long old_length; unsigned long new_length; unsigned long x; old_length=*l; if (1 + old_length >= 2147483647 / 2 || 1 + old_length < 1) do { error((unsigned char *)"ERROR: attempting to allocate too large block at %s:%d", "links.h", 595); exit(4); } while (1); new_length=old_length+1; *l=new_length; x=old_length^new_length; if (x>=old_length){ p=(unsigned char *)debug_mem_realloc((unsigned char *)"links.h", 600, p, new_length<<1); } *s=p; p[old_length]=a; p[new_length]=0; } static __inline__ void add_num_to_str(unsigned char **s, int *l, int n) { unsigned char a[64]; snzprint(a, 64, n); add_to_str(s, l, a); } static __inline__ void add_knum_to_str(unsigned char **s, int *l, int n) { unsigned char a[13]; if (n && n / (1024 * 1024) * (1024 * 1024) == n) snzprint(a, 12, n / (1024 * 1024)), a[strlen((char *)a) + 1] = 0, a[strlen((char *)a)] = 'M'; else if (n && n / 1024 * 1024 == n) snzprint(a, 12, n / 1024), a[strlen((char *)a) + 1] = 0, a[strlen((char *)a)] = 'k'; else snzprint(a, 13, n); add_to_str(s, l, a); } static __inline__ long strtolx(unsigned char *c, unsigned char **end) { long l; if (c[0] == '0' && upcase(c[1]) == 'X' && c[2]) l = strtol((char *)c + 2, (char **)end, 16); else l = strtol((char *)c, (char **)end, 10); if (!*end) return l; if (upcase(**end) == 'K') { (*end)++; if (l < -2147483647 / 1024) return -2147483647; if (l > 2147483647 / 1024) return 2147483647; return l * 1024; } if (upcase(**end) == 'M') { (*end)++; if (l < -2147483647 / (1024 * 1024)) return -2147483647; if (l > 2147483647 / (1024 * 1024)) return 2147483647; return l * (1024 * 1024); } return l; } static __inline__ unsigned char *safe_strncpy(unsigned char *dst, const unsigned char *src, size_t dst_size) { __builtin_strncpy ((char *)dst, (char *)src, dst_size); if (strlen((char *)src) >= dst_size) dst[dst_size - 1] = 0; return dst; } static __inline__ void skip_nonprintable(unsigned char *txt) { unsigned char *txt1=txt; if (!txt||!*txt)return; for (;*txt;txt++) switch(*txt) { case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: break; case 9: *txt1=' '; txt1++; break; default: *txt1=*txt; txt1++; break; } *txt1=0; } struct list_head { void *next; void *prev; }; struct xlist_head { struct xlist_head *next; struct xlist_head *prev; }; # 740 "links.h" static __inline__ int isA(unsigned char c) { return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || c == '_' || c == '-'; } static __inline__ int casecmp(unsigned char *c1, unsigned char *c2, size_t len) { size_t i; for (i = 0; i < len; i++) if (upcase(c1[i]) != upcase(c2[i])) return 1; return 0; } static __inline__ int srch_cmp(unsigned char c1, unsigned char c2) { return upcase(c1) != upcase(c2); } static __inline__ int casestrstr(unsigned char *h, unsigned char *n) { unsigned char *p; for (p=h;*p;p++) { if (!srch_cmp(*p,*n)) { unsigned char *q, *r; for (q=n, r=p;*r&&*q;) { if (!srch_cmp(*q,*r)) r++,q++; else break; } if (!*q) return 1; } } return 0; } static __inline__ int can_write(int fd) { fd_set fds; struct timeval tv = {0, 0}; do { int __d0, __d1; __asm__ __volatile__ ("cld; rep; stosl" : "=c" (__d0), "=D" (__d1) : "a" (0), "0" (sizeof (fd_set) / sizeof (__fd_mask)), "1" (&((&fds)->__fds_bits)[0]) : "memory"); } while (0); __asm__ __volatile__ ("btsl %1,%0" : "=m" (((&fds)->__fds_bits)[((fd) / (8 * sizeof (__fd_mask)))]) : "r" (((int) (fd)) % (8 * sizeof (__fd_mask))) : "cc","memory"); return select(fd + 1, ((void *)0), &fds, ((void *)0), &tv); } static __inline__ int can_read(int fd) { fd_set fds; struct timeval tv = {0, 0}; do { int __d0, __d1; __asm__ __volatile__ ("cld; rep; stosl" : "=c" (__d0), "=D" (__d1) : "a" (0), "0" (sizeof (fd_set) / sizeof (__fd_mask)), "1" (&((&fds)->__fds_bits)[0]) : "memory"); } while (0); __asm__ __volatile__ ("btsl %1,%0" : "=m" (((&fds)->__fds_bits)[((fd) / (8 * sizeof (__fd_mask)))]) : "r" (((int) (fd)) % (8 * sizeof (__fd_mask))) : "cc","memory"); return select(fd + 1, &fds, ((void *)0), ((void *)0), &tv); } # 813 "links.h" struct terminal; struct open_in_new { unsigned char *text; unsigned char *hk; void (*fn)(struct terminal *term, unsigned char *, unsigned char *); }; void close_fork_tty(void); int get_system_env(void); int is_xterm(void); int can_twterm(void); int get_terminal_size(int, int *, int *); void handle_terminal_resize(int, void (*)(void)); void unhandle_terminal_resize(int); void set_bin(int); int c_pipe(int *); int get_input_handle(void); int get_output_handle(void); int get_ctl_handle(void); void want_draw(void); void done_draw(void); void terminate_osdep(void); void *handle_mouse(int, void (*)(void *, unsigned char *, int), void *); void unhandle_mouse(void *); int check_file_name(unsigned char *); int start_thread(void (*)(void *, int), void *, int); unsigned char *get_clipboard_text(struct terminal *); void set_clipboard_text(struct terminal *, unsigned char *); int clipboard_support(struct terminal *); void set_window_title(unsigned char *); unsigned char *get_window_title(void); int is_safe_in_shell(unsigned char); void check_shell_security(unsigned char **); int check_shell_url(unsigned char *); void block_stdin(void); void unblock_stdin(void); int exe(char *, int); int resize_window(int, int); int can_resize_window(int); int can_open_os_shell(int); struct open_in_new *get_open_in_new(int); void set_highpri(void); static __inline__ void prealloc_truncate(int x, int y) {} void os_cfmakeraw(struct termios *t); extern char *clipboard; # 875 "links.h" int shrink_memory(int); void register_cache_upcall(int (*)(int), unsigned char *); void free_all_caches(void); typedef long ttime; typedef unsigned long uttime; typedef unsigned tcount; extern int terminate_loop; long select_info(int); void select_loop(void (*)(void)); int register_bottom_half(void (*)(void *), void *); void unregister_bottom_half(void (*)(void *), void *); void check_bottom_halves(void); int install_timer(ttime, void (*)(void *), void *); void kill_timer(int); ttime get_time(void); void *get_handler(int, int); void set_handlers(int, void (*)(void *), void (*)(void *), void (*)(void *), void *); void install_signal_handler(int, void (*)(void *), void *, int); void interruptible_signal(int sig, int in); void set_sigcld(void); typedef unsigned ip__address; int do_real_lookup(unsigned char *, ip__address *); int find_host(unsigned char *, ip__address *, void **, void (*)(void *, int), void *); int find_host_no_cache(unsigned char *, ip__address *, void **, void (*)(void *, int), void *); void kill_dns_request(void **); void init_dns(void); struct cache_entry { struct cache_entry *next; struct cache_entry *prev; unsigned char *url; unsigned char *head; int http_code; unsigned char *redirect; int redirect_get; int length; int incomplete; int tgc; unsigned char *last_modified; time_t expire_time; int data_size; struct list_head frag; tcount count; tcount count2; int refcount; unsigned char *ssl_info; }; struct fragment { struct fragment *next; struct fragment *prev; int offset; int length; int real_length; unsigned char data[1]; }; extern int page_size; void init_cache(void); long cache_info(int); int find_in_cache(unsigned char *, struct cache_entry **); int get_cache_entry(unsigned char *, struct cache_entry **); int get_cache_data(struct cache_entry *e, unsigned char **, int *); int add_fragment(struct cache_entry *, int, unsigned char *, int); void defrag_entry(struct cache_entry *); void truncate_entry(struct cache_entry *, int, int); void free_entry_to(struct cache_entry *, int); void delete_entry_content(struct cache_entry *); void delete_cache_entry(struct cache_entry *); void garbage_collection(int); # 981 "links.h" struct remaining_info { int valid; int size, loaded, last_loaded, cur_loaded; int pos; ttime elapsed; ttime last_time; ttime dis_b; int data_in_secs[50]; int timer; }; struct connection { struct connection *next; struct connection *prev; tcount count; unsigned char *url; unsigned char *prev_url; int running; int state; int prev_error; int from; int pri[6]; int no_cache; int sock1; int sock2; void *dnsquery; pid_t pid; int tries; struct list_head statuss; void *info; void *buffer; void (*conn_func)(void *); struct cache_entry *cache; int received; int est_length; int unrestartable; struct remaining_info prg; int timer; int detached; SSL *ssl; int no_tsl; }; void no_owner(void); static __inline__ int getpri(struct connection *c) { int i; for (i = 0; i < 6; i++) if (c->pri[i]) return i; no_owner(); return 6; } # 1085 "links.h" extern struct s_msg_dsc { int n; unsigned char *msg; } msg_dsc[]; struct status { struct status *next; struct status *prev; struct connection *c; struct cache_entry *ce; int state; int prev_error; int pri; void (*end)(struct status *, void *); void *data; struct remaining_info *prg; }; unsigned char *get_proxy(unsigned char *url); void check_queue(void); long connect_info(int); void send_connection_info(struct connection *c); void setcstate(struct connection *c, int); int get_keepalive_socket(struct connection *c); void add_keepalive_socket(struct connection *c, ttime); void run_connection(struct connection *c); void retry_connection(struct connection *c); void abort_connection(struct connection *c); void end_connection(struct connection *c); int load_url(unsigned char *, unsigned char *, struct status *, int, int); void change_connection(struct status *, struct status *, int); void detach_connection(struct status *, int); void abort_all_connections(void); void abort_background_connections(void); int is_entry_used(struct cache_entry *); void connection_timeout(struct connection *); void set_timeout(struct connection *); void add_blacklist_entry(unsigned char *, int); void del_blacklist_entry(unsigned char *, int); int get_blacklist_flags(unsigned char *); void free_blacklist(void); struct session; static __inline__ int end_of_dir(unsigned char *url, unsigned char c) { return c == 1 || c == '#' || ((c == ';' || c == '?') && (!url || !casecmp(url, (unsigned char *)"http://", 7))); } int parse_url(unsigned char *, int *, unsigned char **, int *, unsigned char **, int *, unsigned char **, int *, unsigned char **, int *, unsigned char **, int *, unsigned char **); unsigned char *get_host_name(unsigned char *); unsigned char *get_host_and_pass(unsigned char *); unsigned char *get_user_name(unsigned char *); unsigned char *get_pass(unsigned char *); int get_port(unsigned char *); unsigned char *get_port_str(unsigned char *); void (*get_protocol_handle(unsigned char *))(struct connection *); void (*get_external_protocol_function(unsigned char *))(struct session *, unsigned char *); unsigned char *get_url_data(unsigned char *); unsigned char *join_urls(unsigned char *, unsigned char *); unsigned char *translate_url(unsigned char *, unsigned char *); unsigned char *extract_position(unsigned char *); void get_filename_from_url(unsigned char *, unsigned char **, int *); void add_conv_str(unsigned char **s, int *l, unsigned char *b, int ll, int encode_special); struct read_buffer { int sock; int len; int close; void (*done)(struct connection *, struct read_buffer *); unsigned char data[1]; }; void exception(struct connection *); void close_socket(int *); void make_connection(struct connection *, int, int *, void (*)(struct connection *)); int get_pasv_socket(struct connection *, int, int *, unsigned char *); void write_to_socket(struct connection *, int, unsigned char *, int, void (*)(struct connection *)); struct read_buffer *alloc_read_buffer(struct connection *c); void read_from_socket(struct connection *, int, struct read_buffer *, void (*)(struct connection *, struct read_buffer *)); void kill_buffer_data(struct read_buffer *, int); struct cookie { struct cookie *next; struct cookie *prev; unsigned char *name, *value; unsigned char *server; unsigned char *path, *domain; time_t expires; int secure; int id; }; struct c_domain { struct c_domain *next; struct c_domain *prev; unsigned char domain[1]; }; extern struct list_head cookies; extern struct list_head c_domains; int set_cookie(struct terminal *, unsigned char *, unsigned char *); void send_cookies(unsigned char **, int *, unsigned char *); void init_cookies(void); void cleanup_cookies(void); int is_in_domain(unsigned char *d, unsigned char *s); int is_path_prefix(unsigned char *d, unsigned char *s); int cookie_expired(struct cookie *c); void free_cookie(struct cookie *c); unsigned char *get_auth_realm(unsigned char *url, unsigned char *head, int proxy); char *get_auth_string(char *url); void cleanup_auth(void); void add_auth(unsigned char *url, unsigned char *realm, unsigned char *user, unsigned char *password, int proxy); int find_auth(unsigned char *url, unsigned char *realm); int get_http_code(unsigned char *head, int *code, int *version); unsigned char *parse_http_header(unsigned char *, unsigned char *, unsigned char **); unsigned char *parse_header_param(unsigned char *, unsigned char *); void http_func(struct connection *); void proxy_func(struct connection *); void https_func(struct connection *c); void ssl_finish(void); SSL *getSSL(void); void file_func(struct connection *); void finger_func(struct connection *); extern int fast_ftp; extern int passive_ftp; void ftp_func(struct connection *); void smb_func(struct connection *); void mailto_func(struct session *, unsigned char *); void telnet_func(struct session *, unsigned char *); void tn3270_func(struct session *, unsigned char *); void mms_func(struct session *, unsigned char *); # 1314 "links.h" void handle_trm(int, int, int, int, int, void *, int); void free_all_itrms(void); void resize_terminal(void); void dispatch_special(unsigned char *); int is_blocked(void); void kbd_ctrl_c(void); struct os2_key { int x, y; }; extern struct os2_key os2xtd[256]; struct itrm; extern int kbd_set_raw; struct itrm *handle_svgalib_keyboard(void (*)(void *, unsigned char *, int)); void svgalib_free_trm(struct itrm *); void svgalib_block_itrm(struct itrm *); int svgalib_unblock_itrm(struct itrm *); struct rgb { unsigned char r, g, b; unsigned char pad; }; struct lru_entry{ struct lru_entry *above, *below, *next; struct lru_entry **previous; void *data; unsigned bytes_consumed; }; struct lru{ int (*compare_function)(void *, void *); struct lru_entry *top, *bottom; unsigned bytes, max_bytes, items; }; void lru_insert(struct lru *cache, void *entry, struct lru_entry ** row , unsigned bytes_consumed); void * lru_get_bottom(struct lru *cache); void lru_destroy_bottom(struct lru* cache); void lru_destroy (struct lru* cache); void lru_init (struct lru *cache, int (*compare_function)(void *entry, void *templ), int max_bytes); void *lru_lookup(struct lru *cache, void *templ, struct lru_entry *row); struct irgb{ int r,g,b; }; struct bitmap{ int x,y; int skip; void *data; void *user; void *flags; }; struct rect { int x1, x2, y1, y2; }; struct rect_set { int rl; int m; struct rect r[1]; }; struct graphics_device{ struct rect size; struct rect clip; struct graphics_driver *drv; void * driver_data; void * user_data; void (*redraw_handler)(struct graphics_device *dev, struct rect *r); void (*resize_handler)(struct graphics_device *dev); void (*keyboard_handler)(struct graphics_device *dev, int key, int flags); void (*mouse_handler)(struct graphics_device *dev, int x, int y, int buttons); }; struct graphics_driver{ unsigned char *name; unsigned char *(*init_driver)(unsigned char *param, unsigned char *display); struct graphics_device *(* init_device)(void); void (*shutdown_device)(struct graphics_device *dev); void (*shutdown_driver)(void); unsigned char *(*get_driver_param)(void); int (*get_empty_bitmap)(struct bitmap *dest); void (*register_bitmap)(struct bitmap *bmp); void *(*prepare_strip)(struct bitmap *bmp, int top, int lines); void (*commit_strip)(struct bitmap *bmp, int top, int lines); void (*unregister_bitmap)(struct bitmap *bmp); void (*draw_bitmap)(struct graphics_device *dev, struct bitmap *hndl, int x, int y); void (*draw_bitmaps)(struct graphics_device *dev, struct bitmap **hndls, int n, int x, int y); long (*get_color)(int rgb); void (*fill_area)(struct graphics_device *dev, int x1, int y1, int x2, int y2, long color); void (*draw_hline)(struct graphics_device *dev, int left, int y, int right, long color); void (*draw_vline)(struct graphics_device *dev, int x, int top, int bottom, long color); int (*hscroll)(struct graphics_device *dev, struct rect_set **set, int sc); int (*vscroll)(struct graphics_device *dev, struct rect_set **set, int sc); void (*set_clip_area)(struct graphics_device *dev, struct rect *r); int (*block)(struct graphics_device *dev); void (*unblock)(struct graphics_device *dev); void (*set_title)(struct graphics_device *dev, unsigned char *title); int (*exec)(unsigned char *command, int flag); # 1484 "links.h" int depth; # 1515 "links.h" int x, y; int flags; int codepage; unsigned char *shell; }; extern struct graphics_driver *drv; unsigned char *init_graphics(unsigned char *, unsigned char *, unsigned char *); void shutdown_graphics(void); void update_driver_param(void); int dummy_block(struct graphics_device *); void dummy_unblock(struct graphics_device *); extern struct graphics_device **virtual_devices; extern int n_virtual_devices; extern struct graphics_device *current_virtual_device; int init_virtual_devices(struct graphics_driver *, int); struct graphics_device *init_virtual_device(void); void switch_virtual_device(int); void shutdown_virtual_device(struct graphics_device *dev); void shutdown_virtual_devices(void); # 1567 "links.h" extern unsigned long aspect, aspect_native; extern double bfu_aspect; extern int aspect_on; extern struct lru font_cache; extern double display_red_gamma,display_green_gamma,display_blue_gamma; extern double user_gamma; extern int menu_font_size; extern double sRGB_gamma; struct read_work{ unsigned char *pointer; int length; }; struct letter { int begin; int length; int code; int xsize; int ysize; struct lru_entry* color_list; struct lru_entry* bw_list; }; struct font { unsigned char *family; unsigned char *weight; unsigned char *slant; unsigned char *adstyl; unsigned char *spacing; int begin; int length; }; struct style{ int refcount; unsigned char r0, g0, b0, r1, g1, b1; int height; int flags; long underline_color; int *table_dirty_workaround_for_name_clash_with_libraries_on_macos; int mono_space; int mono_height; }; struct font_cache_entry{ int type; int r0,g0,b0,r1,g1,b1; struct bitmap bitmap; int mono_space, mono_height; }; extern int dither_letters; struct cached_image; void g_print_text(struct graphics_driver *, struct graphics_device *device, int x, int y, struct style *style, unsigned char *text, int *width); int g_text_width(struct style *style, unsigned char *text); int g_char_width(struct style *style, int ch); void destroy_font_cache(void); unsigned char apply_gamma_single_8_to_8(unsigned char input, float gamma); unsigned short apply_gamma_single_8_to_16(unsigned char input, float gamma); unsigned char apply_gamma_single_16_to_8(unsigned short input, float gamma); unsigned short apply_gamma_single_16_to_16(unsigned short input, float gamma); void mix_one_color(unsigned char *dest, int length, int r, int g, int b); void apply_gamma_exponent_24_to_48(unsigned short *dest, unsigned char *src, int lenght, float red_gamma, float green_gamma, float blue_gamma); void make_gamma_table(struct cached_image *cimg); void apply_gamma_exponent_24_to_48_table(unsigned short *dest, unsigned char *src ,int lenght, unsigned short *gamma_table); void apply_gamma_exponent_48_to_48_table(unsigned short *dest, unsigned short *src, int lenght, unsigned short *table_dirty_workaround_for_name_clash_with_libraries_on_macos); void apply_gamma_exponent_48_to_48(unsigned short *dest, unsigned short *src, int lenght, float red_gamma ,float green_gamma, float blue_gamma); void apply_gamma_exponent_and_undercolor_32_to_48_table(unsigned short *dest, unsigned char *src, int lenght, unsigned short *table_dirty_workaround_for_name_clash_with_libraries_on_macos ,unsigned short rb, unsigned short gb, unsigned short bb); void apply_gamma_exponent_and_undercolor_32_to_48(unsigned short *dest, unsigned char *src, int lenght, float red_gamma ,float green_gamma, float blue_gamma, unsigned short rb, unsigned short gb, unsigned short bb); void apply_gamma_exponent_and_undercolor_64_to_48_table(unsigned short *dest ,unsigned short *src, int lenght, unsigned short *gamma_table ,unsigned short rb, unsigned short gb, unsigned short bb); void apply_gamma_exponent_and_undercolor_64_to_48(unsigned short *dest, unsigned short *src, int lenght, float red_gamma ,float green_gamma, float blue_gamma, unsigned short rb, unsigned short gb, unsigned short bb); void mix_one_color_48(unsigned short *dest, int length, unsigned short r, unsigned short g, unsigned short b); void mix_one_color_24(unsigned char *dest, int length, unsigned char r, unsigned char g, unsigned char b); void scale_color(unsigned short *in, int ix, int iy, unsigned short **out, int ox, int oy); void update_aspect(void); struct wrap_struct { struct style *style; unsigned char *text; int pos; int width; void *obj; void *last_wrap_obj; unsigned char *last_wrap; }; int g_wrap_text(struct wrap_struct *); struct style *g_get_style(int fg, int bg, int size, unsigned char *font, int fflags); struct style *g_invert_style(struct style *); void g_free_style(struct style *style0); struct style *g_clone_style(struct style *); extern long gamma_cache_color; extern int gamma_cache_rgb; extern long real_dip_get_color_sRGB(int rgb); static __inline__ long dip_get_color_sRGB(int rgb) { if (rgb == gamma_cache_rgb) return gamma_cache_color; else return real_dip_get_color_sRGB(rgb); } extern void apply_gamma_exponent_8_to_8(unsigned char *dest, unsigned char *src, int lenght, float red_gamma, float green_gamma, float blue_gamma); extern void apply_gamma_exponent_8_to_16(unsigned short *dest, unsigned char *src, int lenght, float red_gamma, float green_gamma, float blue_gamma); void init_dip(void); void shutdown_dip(void); void get_links_icon(unsigned char **data, int *width, int* height, int depth); void x_set_clipboard_text(struct graphics_device *gd, unsigned char * text); unsigned char *x_get_clipboard_text(void); extern unsigned char *links_icon; void dither (unsigned short *in, struct bitmap *out); int *dither_start(unsigned short *in, struct bitmap *out); void dither_restart(unsigned short *in, struct bitmap *out, int *dregs); extern void (*round_fn)(unsigned short *in, struct bitmap *out); long (*get_color_fn(int depth))(int rgb); void init_dither(int depth); void round_color_sRGB_to_48(unsigned short *red, unsigned short *green, unsigned short *blue, int rgb); typedef unsigned short chr; struct event { long ev; long x; long y; long b; }; # 1785 "links.h" struct window { struct window *next; struct window *prev; void (*handler)(struct window *, struct event *, int fwd); void *data; int xp, yp; struct terminal *term; struct rect pos; struct rect redr; }; # 1810 "links.h" struct terminal { struct terminal *next; struct terminal *prev; tcount count; int x; int y; int master; int fdin; int fdout; int environment; unsigned char term[32]; unsigned char cwd[256]; unsigned *screen; unsigned *last_screen; struct term_spec *spec; int cx; int cy; int lcx; int lcy; int dirty; int redrawing; int blocked; unsigned char *input_queue; int qlen; struct list_head windows; unsigned char *title; struct graphics_device *dev; struct { int ucs; int len; int min; } utf_8; }; struct term_spec { struct term_spec *next; struct term_spec *prev; unsigned char term[32]; int mode; int m11_hack; int utf_8_io; int restrict_852; int block_cursor; int col; int braille; int charset; }; # 1872 "links.h" extern struct list_head term_specs; extern struct list_head terminals; int hard_write(int, unsigned char *, int); int hard_read(int, unsigned char *, int); unsigned char *get_cwd(void); void set_cwd(unsigned char *); struct terminal *init_term(int, int, void (*)(struct window *, struct event *, int)); struct terminal *init_gfx_term(void (*)(struct window *, struct event *, int), void *, int); int restrict_clip_area(struct graphics_device *, struct rect *, int, int, int, int); void sync_term_specs(void); struct term_spec *new_term_spec(unsigned char *); void free_term_specs(void); void destroy_terminal(struct terminal *); void redraw_terminal(struct terminal *); void redraw_terminal_all(struct terminal *); void redraw_terminal_cls(struct terminal *); void cls_redraw_all_terminals(void); void redraw_below_window(struct window *); void add_window(struct terminal *, void (*)(struct window *, struct event *, int), void *); void add_window_at_pos(struct terminal *, void (*)(struct window *, struct event *, int), void *, struct window *); void delete_window(struct window *); void delete_window_ev(struct window *, struct event *ev); void set_window_ptr(struct window *, int, int); void get_parent_ptr(struct window *, int *, int *); void add_empty_window(struct terminal *, void (*)(void *), void *); void draw_to_window(struct window *, void (*)(struct terminal *, void *), void *); void redraw_screen(struct terminal *); void redraw_all_terminals(void); void set_window_pos(struct window *, int, int, int, int); int do_rects_intersect(struct rect *, struct rect *); void intersect_rect(struct rect *, struct rect *, struct rect *); void unite_rect(struct rect *, struct rect *, struct rect *); int is_rect_valid(struct rect *); struct rect_set *init_rect_set(void); void add_to_rect_set(struct rect_set **, struct rect *); void exclude_rect_from_set(struct rect_set **, struct rect *); static __inline__ void exclude_from_set(struct rect_set **s, int x1, int y1, int x2, int y2) { struct rect r; r.x1 = x1, r.x2 = x2, r.y1 = y1, r.y2 = y2; exclude_rect_from_set(s, &r); } void t_redraw(struct graphics_device *, struct rect *); void set_char(struct terminal *, int, int, unsigned); unsigned get_char(struct terminal *, int, int); void set_color(struct terminal *, int, int, unsigned); void set_only_char(struct terminal *, int, int, unsigned); void set_line(struct terminal *, int, int, int, chr *); void set_line_color(struct terminal *, int, int, int, unsigned); void fill_area(struct terminal *, int, int, int, int, unsigned); void draw_frame(struct terminal *, int, int, int, int, unsigned, int); void print_text(struct terminal *, int, int, int, unsigned char *, unsigned); void set_cursor(struct terminal *, int, int, int, int); void destroy_all_terminals(void); void block_itrm(int); int unblock_itrm(int); void exec_thread(unsigned char *, int); void close_handle(void *); void exec_on_terminal(struct terminal *, unsigned char *, unsigned char *, int); void set_terminal_title(struct terminal *, unsigned char *); void do_terminal_function(struct terminal *, unsigned char, unsigned char *); # 1 "language.h" 1 # 1953 "links.h" 2 extern unsigned char dummyarray[]; extern int current_language; void init_trans(void); void shutdown_trans(void); unsigned char *get_text_translation(unsigned char *, struct terminal *term); unsigned char *get_english_translation(unsigned char *); void set_language(int); int n_languages(void); unsigned char *language_name(int); int language_index(unsigned char *); int bind_to_af_unix(void); void af_unix_close(void); extern int retval; extern unsigned char *path_to_exe; extern unsigned char **g_argv; extern int g_argc; void sig_tstp(struct terminal *t); void sig_cont(struct terminal *t); void sig_ign(void *x); void unhandle_terminal_signals(struct terminal *term); int attach_terminal(int, int, int, void *, int); int attach_g_terminal(void *, int); void program_exit(void); struct assoc { struct assoc *next; struct assoc *prev; unsigned char type; int depth; void *fotr; unsigned char *label; unsigned char *ct; unsigned char *prog; int cons; int xwin; int block; int ask; int system; }; struct extension { struct extension *next; struct extension *prev; unsigned char type; int depth; void *fotr; unsigned char *ext; unsigned char *ct; }; struct protocol_program { struct protocol_program *next; struct protocol_program *prev; unsigned char *prog; int system; }; extern struct list_dirty_workaround_for_name_clash_in_stl_with_class_list assoc; extern struct list_dirty_workaround_for_name_clash_in_stl_with_class_list extensions; extern struct list_head mailto_prog; extern struct list_head telnet_prog; extern struct list_head tn3270_prog; extern struct list_head mms_prog; unsigned char *get_content_type(unsigned char *, unsigned char *); struct assoc *get_type_assoc(struct terminal *term, unsigned char *, int *); void update_assoc(struct assoc *); void update_ext(struct extension *); void create_initial_extensions(void); void update_prog(struct list_head *, unsigned char *, int); unsigned char *get_prog(struct list_head *); void free_types(void); extern void menu_assoc_manager(struct terminal *,void *,struct session *); extern void menu_ext_manager(struct terminal *,void *,struct session *); struct block { struct block *next; struct block *prev; unsigned char type; int depth; void* fotr; unsigned char* url; }; extern struct list_dirty_workaround_for_name_clash_in_stl_with_class_list blocks; int is_url_blocked(unsigned char* url); void block_add_URL(struct terminal *term, void *xxx, struct session *ses); void* block_add_URL_fn(void* garbage, unsigned char* url); extern void block_manager(struct terminal *term,void *fcp,struct session *ses); void free_blocks(); # 2078 "links.h" struct object_request { struct object_request *next; struct object_request *prev; int refcount; tcount count; tcount term; struct status stat; struct cache_entry *ce; unsigned char *orig_url; unsigned char *url; unsigned char *prev_url; int pri; int cache; void (*upcall)(struct object_request *, void *); void *data; int redirect_cnt; int state; int timer; int last_bytes; ttime last_update; ttime z; }; void request_object(struct terminal *, unsigned char *, unsigned char *, int, int, void (*)(struct object_request *, void *), void *, struct object_request **); void clone_object(struct object_request *, struct object_request **); void release_object(struct object_request **); void release_object_get_stat(struct object_request **, struct status *, int); void detach_object_connection(struct object_request *, int); struct link_def { unsigned char *link; unsigned char *target; unsigned char *shape; unsigned char *coords; unsigned char *onclick; unsigned char *ondblclick; unsigned char *onmousedown; unsigned char *onmouseup; unsigned char *onmouseover; unsigned char *onmouseout; unsigned char *onmousemove; }; struct line { int l; chr c; chr *d; }; struct point { int x; int y; }; struct form { unsigned char *action; unsigned char *target; unsigned char *form_name; unsigned char *onsubmit; int method; int num; }; # 2164 "links.h" struct form_control { struct form_control *next; struct form_control *prev; int form_num; int ctrl_num; int g_ctrl_num; int position; int method; unsigned char *action; unsigned char *target; unsigned char *onsubmit; int type; unsigned char *name; unsigned char *form_name; unsigned char *alt; int ro; unsigned char *default_value; int default_state; int size; int cols, rows, wrap; int maxlength; int nvalues; unsigned char **values; unsigned char **labels; struct menu_item *menu; }; struct form_state { int form_num; int ctrl_num; int g_ctrl_num; int position; int type; unsigned char *value; int state; int vpos; int vypos; int changed; }; struct link { int type; int num; unsigned char *where; unsigned char *target; unsigned char *where_img; unsigned char *img_alt; struct form_control *form; unsigned sel_color; int n; struct point *pos; struct js_event_spec *js_event; int obj_order; struct rect r; struct g_object *obj; }; # 2230 "links.h" struct link_bg { int x, y; unsigned c; }; struct tag { struct tag *next; struct tag *prev; int x; int y; unsigned char name[1]; }; struct document_setup { int assume_cp, hard_assume; int tables, frames, images, image_names; int margin; int num_links, table_order; int auto_refresh; int font_size; int display_images; int image_scale; int target_in_new_window; }; struct document_options { int xw, yw; int xp, yp; int col, cp, assume_cp, hard_assume; int braille; int tables, frames, images, image_names, margin; int js_enable; int plain; int num_links, table_order; int auto_refresh; struct rgb default_fg; struct rgb default_bg; struct rgb default_link; struct rgb default_vlink; unsigned char *framename; int font_size; int display_images; int image_scale; double bfu_aspect; int aspect_on; int real_cp; }; static __inline__ void ds2do(struct document_setup *ds, struct document_options *doo) { doo->assume_cp = ds->assume_cp; doo->hard_assume = ds->hard_assume; doo->tables = ds->tables; doo->frames = ds->frames; doo->images = ds->images; doo->image_names = ds->image_names; doo->margin = ds->margin; doo->num_links = ds->num_links; doo->table_order = ds->table_order; doo->auto_refresh = ds->auto_refresh; doo->font_size = ds->font_size; doo->display_images = ds->display_images; doo->image_scale = ds->image_scale; } struct node { struct node *next; struct node *prev; int x, y; int xw, yw; }; struct search { unsigned char c; int n:24; int x, y; }; struct frameset_desc; struct frame_desc { struct frameset_desc *subframe; unsigned char *name; unsigned char *url; int marginwidth; int marginheight; int line; int xw, yw; }; struct frameset_desc { int n; int x, y; int xp, yp; unsigned char *onload_code; struct frame_desc f[1]; }; struct f_data; # 2348 "links.h" struct map_area { int shape; int *coords; int ncoords; int link_num; }; struct image_map { int n_areas; struct map_area area[1]; }; struct background { int img; union { int sRGB; struct decoded_image *img; } u; }; struct f_data_c; struct g_object { void (*mouse_event)(struct f_data_c *, struct g_object *, int, int, int); void (*draw)(struct f_data_c *, struct g_object *, int, int); void (*destruct)(struct g_object *); void (*get_list)(struct g_object *, void (*)(struct g_object *parent, struct g_object *child)); int x, y, xw, yw; struct g_object *parent; }; struct g_object_text { void (*mouse_event)(struct f_data_c *, struct g_object_text *, int, int, int); void (*draw)(struct f_data_c *, struct g_object_text *, int, int); void (*destruct)(struct g_object_text *); void (*get_list)(struct g_object_text *, void (*)(struct g_object *parent, struct g_object *child)); int x, y, xw, yw; struct g_object *parent; int link_num; int link_order; struct image_map *map; int ismap; struct style *style; struct decoded_image *bg; int srch_pos; unsigned char text[1]; }; struct g_object_line { void (*mouse_event)(struct f_data_c *, struct g_object_line *, int, int, int); void (*draw)(struct f_data_c *, struct g_object_line *, int, int); void (*destruct)(struct g_object_line *); void (*get_list)(struct g_object_line *, void (*)(struct g_object *parent, struct g_object *child)); int x, y, xw, yw; struct g_object *parent; struct background *bg; int n_entries; struct g_object *entries[1]; }; struct g_object_area { void (*mouse_event)(struct f_data_c *, struct g_object_area *, int, int, int); void (*draw)(struct f_data_c *, struct g_object_area *, int, int); void (*destruct)(struct g_object_area *); void (*get_list)(struct g_object_area *, void (*)(struct g_object *parent, struct g_object *child)); int x, y, xw, yw; struct g_object *parent; struct background *bg; int n_lfo; struct g_object **lfo; int n_rfo; struct g_object **rfo; int n_lines; struct g_object_line *lines[1]; }; struct g_object_table { void (*mouse_event)(struct f_data_c *, struct g_object_table *, int, int, int); void (*draw)(struct f_data_c *, struct g_object_table *, int, int); void (*destruct)(struct g_object_table *); void (*get_list)(struct g_object_table *, void (*)(struct g_object *parent, struct g_object *child)); int x, y, xw, yw; struct g_object *parent; struct table_dirty_workaround_for_name_clash_with_libraries_on_macos *t; }; struct g_object_tag { void (*mouse_event)(struct f_data_c *, struct g_object *, int, int, int); void (*draw)(struct f_data_c *, struct g_object *, int, int); void (*destruct)(struct g_object *); void (*get_list)(struct g_object *, void (*)(struct g_object *parent, struct g_object *child)); int x, y, xw, yw; struct g_object *parent; unsigned char name[1]; }; # 2469 "links.h" struct cached_image { struct cached_image *next; struct cached_image *prev; int refcount; int background_color; unsigned char *url; int wanted_xw, wanted_yw; int scale; int aspect; int xww, yww; int width, height; unsigned char image_type; unsigned char *buffer; unsigned char buffer_bytes_per_pixel; float red_gamma, green_gamma, blue_gamma; int gamma_stamp; struct bitmap bmp; int last_length; tcount last_count2; void *decoder; int rows_added; unsigned char state; unsigned char strip_optimized; int *dregs; unsigned short *gamma_table; }; struct g_object_image { void (*mouse_event)(struct f_data_c *, struct g_object_text *, int, int, int); void (*draw)(struct f_data_c *, struct g_object_image *, int, int); void (*destruct)(struct g_object *); void (*get_list)(struct g_object *, void (*)(struct g_object *parent, struct g_object *child)); int x, y, xw, yw; # 2550 "links.h" struct g_object *parent; int link_num; int link_order; struct image_map *map; int ismap; struct xlist_head image_list; struct cached_image *cimg; struct additional_file *af; long id; unsigned char *name; unsigned char *alt; int vspace, hspace, border; unsigned char *orig_src; unsigned char *src; int background; }; void refresh_image(struct f_data_c *fd, struct g_object *img, ttime tm); struct additional_file *request_additional_file(struct f_data *f, unsigned char *url); struct js_event_spec { unsigned char *move_code; unsigned char *over_code; unsigned char *out_code; unsigned char *down_code; unsigned char *up_code; unsigned char *click_code; unsigned char *dbl_code; unsigned char *blur_code; unsigned char *focus_code; unsigned char *change_code; unsigned char *keypress_code; unsigned char *keyup_code; unsigned char *keydown_code; }; struct additional_files { int refcount; struct list_head af; }; struct additional_file { struct additional_file *next; struct additional_file *prev; struct object_request *rq; tcount use_tag; int need_reparse; unsigned char url[1]; }; struct image_refresh { struct image_refresh *next; struct image_refresh *prev; struct g_object *img; ttime t; }; struct f_data { struct f_data *next; struct f_data *prev; struct session *ses; struct f_data_c *fd; struct object_request *rq; tcount use_tag; struct additional_files *af; struct document_options opt; unsigned char *title; int cp, ass; int x, y; ttime time_to_get; ttime time_to_draw; struct frameset_desc *frame_desc; int frame_desc_link; int bg; struct line *data; struct link *links; int nlinks; struct link **lines1; struct link **lines2; struct list_head nodes; struct search *search; int nsearch; struct search **slines1; struct search **slines2; struct list_head forms; struct list_head tags; int are_there_scripts; unsigned char *script_href_base; unsigned char *refresh; int refresh_seconds; struct js_document_description *js_doc; int uncacheable; struct g_object *root; struct g_object *locked_on; int hsb; int vsb; int hsbsize; int vsbsize; unsigned char *srch_string; int srch_string_size; unsigned char *last_search; int last_search_len; int *search_positions; int n_search_positions; int hlt_pos; int hlt_len; int start_highlight_x; int start_highlight_y; struct list_head images; int n_images; struct list_head image_refresh; }; struct view_state { int refcount; int view_pos; int view_posx; int current_link; int frame_pos; int plain; struct form_state *form_info; int form_info_len; int brl_x; int brl_y; int brl_in_field; int g_display_link; }; struct f_data_c { struct f_data_c *next; struct f_data_c *prev; struct f_data_c *parent; struct session *ses; struct location *loc; struct view_state *vs; struct f_data *f_data; int xw, yw; int xp, yp; int xl, yl; struct link_bg *link_bg; int link_bg_n; int depth; struct object_request *rq; unsigned char *goto_position; unsigned char *went_to_position; struct additional_files *af; struct list_head subframes; ttime next_update; int done; int parsed_done; int script_t; int active; long id; int marginwidth, marginheight; struct js_state *js; int image_timer; int refresh_timer; unsigned char *onload_frameset_code; }; struct location { struct location *next; struct location *prev; struct location *parent; unsigned char *name; unsigned char *url; unsigned char *prev_url; struct list_head subframes; struct view_state *vs; }; # 2777 "links.h" struct kbdprefix { int rep; int rep_num; int prefix; }; struct download { struct download *next; struct download *prev; unsigned char *url; struct status stat; unsigned char *file; int last_pos; int handle; int redirect_cnt; unsigned char *prog; int prog_flags; time_t remotetime; struct session *ses; struct window *win; struct window *ask; }; extern struct list_head downloads; struct session { struct session *next; struct session *prev; struct list_head history; struct terminal *term; struct window *win; int id; unsigned char *st; unsigned char *default_status; struct f_data_c *screen; struct object_request *rq; void (*wtd)(struct session *); unsigned char *wtd_target; struct f_data_c *wtd_target_base; unsigned char *wanted_framename; int wtd_refresh; unsigned char *goto_position; struct document_setup ds; struct kbdprefix kbdprefix; int reloadlevel; struct object_request *tq; unsigned char *tq_prog; int tq_prog_flags; unsigned char *dn_url; unsigned char *search_word; unsigned char *last_search_word; int search_direction; int exit_query; struct list_head format_cache; unsigned char *imgmap_href_base; unsigned char *imgmap_target_base; unsigned char *defered_url; unsigned char *defered_target; struct f_data_c *defered_target_base; int defered_data; int locked_link; int brl_cursor_mode; int scrolling; int scrolltype; int scrolloff; int back_size; }; int get_file(struct object_request *o, unsigned char **start, unsigned char **end); int f_is_finished(struct f_data *f); void reinit_f_data_c(struct f_data_c *); long formatted_info(int); void init_fcache(void); void html_interpret(struct f_data_c *); void html_interpret_recursive(struct f_data_c *); void fd_loaded(struct object_request *, struct f_data_c *); extern struct list_head sessions; time_t parse_http_date(char *); unsigned char *encode_url(unsigned char *); unsigned char *decode_url(unsigned char *); unsigned char *subst_file(unsigned char *, unsigned char *, int); int are_there_downloads(void); void free_strerror_buf(void); unsigned char *get_err_msg(int); void print_screen_status(struct session *); void change_screen_status(struct session *); void print_error_dialog(struct session *, struct status *, unsigned char *); void start_download(struct session *, unsigned char *); void abort_all_downloads(void); void display_download(struct terminal *, struct download *, struct session *); struct f_data *cached_format_html(struct f_data_c *fd, struct object_request *rq, unsigned char *url, struct document_options *opt, int *cch); struct f_data_c *create_f_data_c(struct session *, struct f_data_c *); void reinit_f_data_c(struct f_data_c *); int create_download_file(struct terminal *, unsigned char *, int); void *create_session_info(int, unsigned char *, unsigned char *, int *); void win_func(struct window *, struct event *, int); void goto_url_f(struct session *, void (*)(struct session *), unsigned char *, unsigned char *, struct f_data_c *, int, int, int, int); void goto_url(struct session *, unsigned char *); void goto_url_not_from_dialog(struct session *, unsigned char *); void goto_imgmap(struct session *ses, unsigned char *url, unsigned char *href, unsigned char *target); void map_selected(struct terminal *term, struct link_def *ld, struct session *ses); void go_back(struct session *); void go_backwards(struct terminal *term, void *psteps, struct session *ses); void reload(struct session *, int); void destroy_session(struct session *); void destroy_location(struct location *); void ses_destroy_defered_jump(struct session *ses); struct f_data_c *find_frame(struct session *ses, unsigned char *target, struct f_data_c *base); unsigned char *get_current_url(struct session *, unsigned char *, size_t); unsigned char *get_current_title(struct session *, unsigned char *, size_t); unsigned char *get_current_link_url(struct session *, unsigned char *, size_t); unsigned char *get_form_url(struct session *ses, struct f_data_c *f, struct form_control *form, int *onsubmit); struct javascript_context *js_create_context(void *, long); void js_destroy_context(struct javascript_context *); void js_execute_code(struct javascript_context *, unsigned char *, int, void (*)(void *)); # 2936 "links.h" extern struct history js_get_string_history; extern int js_manual_confirmation; struct js_state { struct javascript_context *ctx; struct list_head queue; struct js_request *active; unsigned char *src; int srclen; int wrote; }; struct js_document_description { # 2957 "links.h" int prazdnapolozkaabytadynecobylo; }; struct js_select_item{ int default_selected; int selected; unsigned char *text; unsigned char *value; }; struct fax_me_tender_string{ void *ident; unsigned char *string; }; struct fax_me_tender_int_string{ void *ident; signed int num; unsigned char *string; }; struct fax_me_tender_string_2_longy{ void *ident; unsigned char *string; long doc_id,obj_id; }; struct fax_me_tender_2_stringy{ void *ident; unsigned char *string1; unsigned char *string2; }; struct fax_me_tender_nothing{ void *ident; }; void javascript_func(struct session *ses, unsigned char *code); void jsint_execute_code(struct f_data_c *, unsigned char *, int, int, int, int); void jsint_destroy(struct f_data_c *); void jsint_run_queue(struct f_data_c *); int jsint_get_source(struct f_data_c *, unsigned char **, unsigned char **); void jsint_scan_script_tags(struct f_data_c *); void jsint_destroy_document_description(struct f_data *); long *jsint_resolve(void *context, long obj_id, char *takhle_tomu_u_nas_nadavame,int *n_items); int jsint_object_type(long); void jsint_set_cookies(struct f_data_c *fd, int final_flush); struct f_data_c *jsint_find_document(long doc_id); struct js_document_description *js_upcall_get_document_description(void *, long); void js_upcall_document_write(void *p, unsigned char *str, int len); void js_upcall_alert(void * struct_fax_me_tender_string); unsigned char *js_upcall_get_title(void *data); void js_upcall_set_title(void *data, unsigned char *title); unsigned char *js_upcall_get_location(void *data); unsigned char *js_upcall_get_useragent(void *data); void js_upcall_confirm(void *struct_fax_me_tender_string); void js_upcall_get_string(void *data); unsigned char *js_upcall_get_referrer(void *data); unsigned char *js_upcall_get_appname(void); unsigned char *js_upcall_get_appcodename(void); unsigned char *js_upcall_get_appversion(void); long js_upcall_get_document_id(void *data); long js_upcall_get_window_id(void *data); void js_upcall_close_window(void *struct_fax_me_tender_nothing); unsigned char *js_upcall_document_last_modified(void *data, long document_id); unsigned char *js_upcall_get_window_name(void *data); void js_upcall_clear_window(void *); long *js_upcall_get_links(void *data, long document_id, int *len); unsigned char *js_upcall_get_link_target(void *data, long document_id, long link_id); long *js_upcall_get_forms(void *data, long document_id, int *len); unsigned char *js_upcall_get_form_action(void *data, long document_id, long form_id); unsigned char *js_upcall_get_form_target(void *data, long document_id, long form_id); unsigned char *js_upcall_get_form_method(void *data, long document_id, long form_id); unsigned char *js_upcall_get_form_encoding(void *data, long document_id, long form_id); unsigned char *js_upcall_get_location_protocol(void *data); unsigned char *js_upcall_get_location_port(void *data); unsigned char *js_upcall_get_location_hostname(void *data); unsigned char *js_upcall_get_location_host(void *data); unsigned char *js_upcall_get_location_pathname(void *data); unsigned char *js_upcall_get_location_search(void *data); unsigned char *js_upcall_get_location_hash(void *data); long *js_upcall_get_form_elements(void *data, long document_id, long form_id, int *len); long *js_upcall_get_anchors(void *hej_Hombre, long document_id, int *len); int js_upcall_get_checkbox_radio_checked(void *smirak, long document_id, long radio_tv_id); void js_upcall_set_checkbox_radio_checked(void *smirak, long document_id, long radio_tv_id, int value); int js_upcall_get_checkbox_radio_default_checked(void *smirak, long document_id, long radio_tv_id); void js_upcall_set_checkbox_radio_default_checked(void *smirak, long document_id, long radio_tv_id, int value); unsigned char *js_upcall_get_form_element_name(void *smirak, long document_id, long ksunt_id); void js_upcall_set_form_element_name(void *smirak, long document_id, long ksunt_id, unsigned char *name); unsigned char *js_upcall_get_form_element_default_value(void *smirak, long document_id, long ksunt_id); void js_upcall_set_form_element_default_value(void *smirak, long document_id, long ksunt_id, unsigned char *name); unsigned char *js_upcall_get_form_element_value(void *smirak, long document_id, long ksunt_id); void js_upcall_set_form_element_value(void *smirak, long document_id, long ksunt_id, unsigned char *name); void js_upcall_click(void *smirak, long document_id, long elem_id); void js_upcall_focus(void *smirak, long document_id, long elem_id); void js_upcall_blur(void *smirak, long document_id, long elem_id); void js_upcall_submit(void *bidak, long document_id, long form_id); void js_upcall_reset(void *bidak, long document_id, long form_id); int js_upcall_get_radio_length(void *smirak, long document_id, long radio_id); int js_upcall_get_select_length(void *smirak, long document_id, long select_id); int js_upcall_get_select_index(void *smirak, long document_id, long select_id); struct js_select_item* js_upcall_get_select_options(void *smirak, long document_id, long select_id, int *n); void js_upcall_goto_url(void* struct_fax_me_tender_string); int js_upcall_get_history_length(void *context); void js_upcall_goto_history(void * data); void js_upcall_set_default_status(void *context, unsigned char *tak_se_ukaz_Kolbene); unsigned char* js_upcall_get_default_status(void *context); void js_upcall_set_status(void *context, unsigned char *tak_se_ukaz_Kolbene); unsigned char* js_upcall_get_status(void *context); unsigned char * js_upcall_get_cookies(void *context); long *js_upcall_get_images(void *smirak, long document_id, int *len); long * js_upcall_get_all(void *context, long document_id, int *len); int js_upcall_get_image_width(void *smirak, long document_id, long image_id); int js_upcall_get_image_height(void *smirak, long document_id, long image_id); int js_upcall_get_image_border(void *smirak, long document_id, long image_id); int js_upcall_get_image_vspace(void *smirak, long document_id, long image_id); int js_upcall_get_image_hspace(void *smirak, long document_id, long image_id); unsigned char * js_upcall_get_image_name(void *smirak, long document_id, long image_id); unsigned char * js_upcall_get_image_alt(void *smirak, long document_id, long image_id); void js_upcall_set_image_name(void *smirak, long document_id, long image_id, unsigned char *name); void js_upcall_set_image_alt(void *smirak, long document_id, long image_id, unsigned char *alt); unsigned char * js_upcall_get_image_src(void *smirak, long document_id, long image_id); void js_upcall_set_image_src(void *chuligane); int js_upcall_image_complete(void *smirak, long document_id, long image_id); long js_upcall_get_parent(void *smirak, long frame_id); long js_upcall_get_frame_top(void *smirak, long frame_id); long * js_upcall_get_subframes(void *smirak, long frame_id, int *count); void js_upcall_set_form_action(void *context, long document_id, long form_id, unsigned char *action); void js_downcall_vezmi_true(void *context); void js_downcall_vezmi_false(void *context); void js_downcall_vezmi_null(void *context); void js_downcall_game_over(void *context); void js_downcall_quiet_game_over(void *context); void js_downcall_vezmi_int(void *context, int i); void js_downcall_vezmi_float(void*context,double f); void js_downcall_vezmi_string(void *context, unsigned char *string); extern unsigned long G_BFU_FG_COLOR, G_BFU_BG_COLOR, G_SCROLL_BAR_AREA_COLOR, G_SCROLL_BAR_BAR_COLOR, G_SCROLL_BAR_FRAME_COLOR; extern struct style *bfu_style_wb, *bfu_style_bw, *bfu_style_wb_b, *bfu_style_bw_u, *bfu_style_bw_mono, *bfu_style_wb_mono, *bfu_style_wb_mono_u; extern long bfu_bg_color, bfu_fg_color; struct memory_list { int n; void *p[1]; }; struct memory_list *getml(void *, ...); void add_to_ml(struct memory_list **, ...); void freeml(struct memory_list *); void iinit_bfu(void); void init_bfu(void); void shutdown_bfu(void); extern unsigned char m_bar; struct menu_item { unsigned char *text; unsigned char *rtext; unsigned char *hotkey; void (*func)(struct terminal *, void *, void *); void *data; int in_m; int free_i; }; struct menu { int selected; int view; int nview; int xp, yp; int x, y, xw, yw; int ni; void *data; struct window *win; struct menu_item *items; unsigned char **hktxt1; unsigned char **hktxt2; unsigned char **hktxt3; int xl1, yl1, xl2, yl2; }; struct mainmenu { int selected; int sp; int ni; void *data; struct window *win; struct menu_item *items; int xl1, yl1, xl2, yl2; }; struct history_item { struct history_item *next; struct history_item *prev; unsigned char d[1]; }; struct history { int n; struct list_head items; }; # 3189 "links.h" struct dialog_item_data; struct dialog_data; struct dialog_item { int type; int gid, gnum; int (*fn)(struct dialog_data *, struct dialog_item_data *); struct history *history; int dlen; unsigned char *data; void *udata; unsigned char *text; }; struct dialog_item_data { int x, y, l; int vpos, cpos; int checked; struct dialog_item *item; struct list_head history; struct history_item *cur_hist; unsigned char *cdata; }; struct dialog { unsigned char *title; void (*fn)(struct dialog_data *); int (*handle_event)(struct dialog_data *, struct event *); void (*abort)(struct dialog_data *); void *udata; void *udata2; int align; void (*refresh)(void *); void *refresh_data; struct dialog_item items[1]; }; struct dialog_data { struct window *win; struct dialog *dlg; int x, y, xw, yw; int n; int selected; struct memory_list *ml; int brl_y; struct rect_set *s; struct rect r; struct rect rr; struct dialog_item_data items[1]; }; struct menu_item *new_menu(int); void add_to_menu(struct menu_item **, unsigned char *, unsigned char *, unsigned char *, void (*)(struct terminal *, void *, void *), void *, int, int); void do_menu(struct terminal *, struct menu_item *, void *); void do_menu_selected(struct terminal *, struct menu_item *, void *, int); void do_mainmenu(struct terminal *, struct menu_item *, void *, int); void do_dialog(struct terminal *, struct dialog *, struct memory_list *); int check_number(struct dialog_data *, struct dialog_item_data *); int check_hex_number(struct dialog_data *, struct dialog_item_data *); int check_float(struct dialog_data *, struct dialog_item_data *); int check_nonempty(struct dialog_data *, struct dialog_item_data *); void max_text_width(struct terminal *, unsigned char *, int *, int); void min_text_width(struct terminal *, unsigned char *, int *, int); int dlg_format_text(struct dialog_data *, struct terminal *, unsigned char *, int, int *, int, int *, int, int); void dlg_format_text_and_field(struct dialog_data *, struct terminal *, unsigned char *, struct dialog_item_data *, int, int *, int, int *, int, int); void max_buttons_width(struct terminal *, struct dialog_item_data *, int, int *); void min_buttons_width(struct terminal *, struct dialog_item_data *, int, int *); void dlg_format_buttons(struct dialog_data *, struct terminal *, struct dialog_item_data *, int, int, int *, int, int *, int); void checkboxes_width(struct terminal *, unsigned char **, int *, void (*)(struct terminal *, unsigned char *, int *, int)); void dlg_format_checkbox(struct dialog_data *, struct terminal *, struct dialog_item_data *, int, int *, int, int *, unsigned char *); void dlg_format_checkboxes(struct dialog_data *, struct terminal *, struct dialog_item_data *, int, int, int *, int, int *, unsigned char **); void dlg_format_field(struct dialog_data *, struct terminal *, struct dialog_item_data *, int, int *, int, int *, int); void max_group_width(struct terminal *, unsigned char **, struct dialog_item_data *, int, int *); void min_group_width(struct terminal *, unsigned char **, struct dialog_item_data *, int, int *); void dlg_format_group(struct dialog_data *, struct terminal *, unsigned char **, struct dialog_item_data *, int, int, int *, int, int *); void dlg_format_box(struct terminal *, struct terminal *, struct dialog_item_data *, int, int *, int, int *, int); void checkbox_list_fn(struct dialog_data *); void group_fn(struct dialog_data *); void center_dlg(struct dialog_data *); void draw_dlg(struct dialog_data *); void display_dlg_item(struct dialog_data *, struct dialog_item_data *, int); int check_dialog(struct dialog_data *); void get_dialog_data(struct dialog_data *); int ok_dialog(struct dialog_data *, struct dialog_item_data *); int cancel_dialog(struct dialog_data *, struct dialog_item_data *); void msg_box(struct terminal *, struct memory_list *, unsigned char *, int, ...); # 3291 "links.h" void input_field_fn(struct dialog_data *); void input_field(struct terminal *, struct memory_list *, unsigned char *, unsigned char *, unsigned char *, unsigned char *, void *, struct history *, int, unsigned char *, int, int, int (*)(struct dialog_data *, struct dialog_item_data *), void (*)(void *, unsigned char *), void (*)(void *)); # 3310 "links.h" void add_to_history(struct history *, unsigned char *); void box_sel_move(struct dialog_item_data *, int ); void show_dlg_item_box(struct dialog_data *, struct dialog_item_data *); void box_sel_set_visible(struct dialog_item_data *, int ); void menu_func(struct window *, struct event *, int); void mainmenu_func(struct window *, struct event *, int); void dialog_func(struct window *, struct event *, int); void msg_box_fn(struct dialog_data *dlg); void download_window_function(struct dialog_data *dlg); void activate_bfu_technology(struct session *, int); void dialog_goto_url(struct session *ses, char *url); void dialog_save_url(struct session *ses); void free_history_lists(void); void query_file(struct session *, unsigned char *, void (*)(struct session *, unsigned char *), void (*)(struct session *)); void search_dlg(struct session *, struct f_data_c *, int); void search_back_dlg(struct session *, struct f_data_c *, int); void exit_prog(struct terminal *, void *, struct session *); void really_exit_prog(struct session *ses); void query_exit(struct session *ses); extern int gamma_stamp; extern int display_optimize; # 3349 "links.h" # 1 "codepage.h" 1 # 3350 "links.h" 2 extern int utf8_table; struct conv_table { int t; union { unsigned char *str; struct conv_table *tbl; } u; }; struct conv_table *get_translation_table(int, int); unsigned char *get_entity_string(unsigned char *, int, int); unsigned char *convert_string(struct conv_table *, unsigned char *, int, struct document_options *); int get_cp_index(unsigned char *); unsigned char *get_cp_name(int); unsigned char *get_cp_mime_name(int); int is_cp_special(int); void free_conv_table(void); unsigned char *encode_utf_8(int); int cp2u(unsigned char, int); unsigned char *cp2utf_8(int, int); unsigned char *u2cp(int, int); int get_utf_8(unsigned char **p); extern unsigned short int utf8_2_uni_table[0x200]; static __inline__ int utf8len(unsigned char *s) { int len; unsigned c; if (!F) return strlen((char *)s); len = 0; while (1) { do {if ((unsigned char)(s)[0] < 0x80) (c) = (s)++[0]; else if (((c) = utf8_2_uni_table[((unsigned char)(s)[0] << 2) + ((unsigned char)(s)[1] >> 6) - 0x200])) (c) += (unsigned char)(s)[1] & 0x3f, (s) += 2; else (c) = get_utf_8(&(s));} while (0); if (!c) return len; len++; } } unsigned char *utf8_add(unsigned char *t, int i); int utf8_diff(unsigned char *t2, unsigned char *t1); extern int ismap_link, ismap_x, ismap_y; void frm_download(struct session *, struct f_data_c *); void frm_download_image(struct session *, struct f_data_c *); void frm_view_image(struct session *, struct f_data_c *); struct form_state *find_form_state(struct f_data_c *, struct form_control *); void fixup_select_state(struct form_control *fc, struct form_state *fs); int enter(struct session *ses, struct f_data_c *f, int a); int field_op(struct session *ses, struct f_data_c *f, struct link *l, struct event *ev, int rep); int _area_cursor(struct form_control *form, struct form_state *fs); struct line_info { unsigned char *st; unsigned char *en; }; struct line_info *format_text(unsigned char *text, int width, int wrap); int can_open_in_new(struct terminal *); void open_in_new_window(struct terminal *, void (*)(struct terminal *, void (*)(struct terminal *, unsigned char *, unsigned char *), struct session *ses), struct session *); void send_open_new_xterm(struct terminal *, void (*)(struct terminal *, unsigned char *, unsigned char *), struct session *); void destroy_fc(struct form_control *); void sort_links(struct f_data *); struct view_state *create_vs(void); void destroy_vs(struct view_state *); int dump_to_file(struct f_data *, int); void draw_doc(struct terminal *t, struct f_data_c *scr); void draw_formatted(struct session *); void draw_fd(struct f_data_c *); void next_frame(struct session *, int); void send_event(struct session *, struct event *); void link_menu(struct terminal *, void *, struct session *); void save_as(struct terminal *, void *, struct session *); void save_url(struct session *, unsigned char *); void menu_save_formatted(struct terminal *, void *, struct session *); void copy_url_location(struct terminal *, void *, struct session *); void selected_item(struct terminal *, void *, struct session *); void toggle(struct session *, struct f_data_c *, int); void do_for_frame(struct session *, void (*)(struct session *, struct f_data_c *, int), int); int get_current_state(struct session *); unsigned char *print_current_link(struct session *); unsigned char *print_current_title(struct session *); void loc_msg(struct terminal *, struct location *, struct f_data_c *); void state_msg(struct session *); void head_msg(struct session *); void search_for(struct session *, unsigned char *); void search_for_back(struct session *, unsigned char *); void find_next(struct session *, struct f_data_c *, int); void find_next_back(struct session *, struct f_data_c *, int); void set_frame(struct session *, struct f_data_c *, int); struct f_data_c *current_frame(struct session *); void reset_form(struct f_data_c *f, int form_num); void set_textarea(struct session *, struct f_data_c *, int); void copy_js_event_spec(struct js_event_spec **, struct js_event_spec *); void free_js_event_spec(struct js_event_spec *); void create_js_event_spec(struct js_event_spec **); int compare_js_event_spec(struct js_event_spec *, struct js_event_spec *); unsigned char *print_js_event_spec(struct js_event_spec *); struct gif_decoder; struct png_decoder{ png_structp png_ptr; png_infop info_ptr; }; void gif_destroy_decoder(struct cached_image *); void gif_start(struct cached_image *goi); void gif_restart(unsigned char *data, int length); void xbm_start(struct cached_image *goi); void xbm_restart(struct cached_image *goi, unsigned char *data, int length); void png_start(struct cached_image *cimg); void png_restart(struct cached_image *cimg, unsigned char *data, int length); struct tiff_decoder{ unsigned char *tiff_data; int tiff_size; int tiff_pos; int tiff_open; }; void tiff_start(struct cached_image *cimg); void tiff_restart(struct cached_image *cimg, unsigned char *data, int length); void tiff_finish(struct cached_image *cimg); struct image_description { unsigned char *url; int xsize, ysize; int link_num; int link_order; unsigned char *name; unsigned char *alt; unsigned char *src; int border, vspace, hspace; int ismap; int insert_flag; unsigned char *usemap; }; struct gif_table_entry { unsigned char end_char; unsigned char garbage; short pointer; }; struct gif_decoder{ unsigned char *color_map; int state; int im_width; int im_height; int im_bpp; int code_size; int initial_code_size; int remains; struct gif_table_entry table_dirty_workaround_for_name_clash_with_libraries_on_macos[4096]; unsigned char *actual_line; unsigned char tbuf[16]; int tlen; int xoff, yoff; int interl_dist; int bits_read; int last_code; int read_code; int CC; int EOI; int table_pos; int first_code; int transparent; }; struct decoded_image; extern int dither_images; extern int end_callback_hit; extern struct g_object_image *global_goi; extern struct cached_image *global_cimg; void img_release_decoded_image(struct decoded_image *); void header_dimensions_known(struct cached_image *cimg); void img_end(struct cached_image *cimg); void compute_background_8(unsigned char *rgb, struct cached_image *cimg); void buffer_to_bitmap_incremental(struct cached_image *cimg ,unsigned char *buffer, int height, int yoff, int *dregs, int use_strip); struct g_part; void img_draw_decoded_image(struct graphics_device *, struct decoded_image *img, int, int, int, int, int, int); struct g_object_image *insert_image(struct g_part *p, struct image_description *im); void change_image (struct g_object_image *goi, unsigned char *url, unsigned char *src, struct f_data *fdata); void img_destruct_cached_image(struct cached_image *img); struct jpg_decoder{ struct jpeg_decompress_struct *cinfo; struct jerr_struct *jerr; int state; int skip_bytes; unsigned char *jdata; unsigned char *scanlines[16]; # 3617 "links.h" }; void jpeg_start(struct cached_image *cimg); void jpeg_restart(struct cached_image *cimg, unsigned char *data, int length); int known_image_type(char *type); void init_imgcache(void); int imgcache_info(int type); struct cached_image *find_cached_image(int bg, unsigned char *url, int xw, int yw, int scale, int aspect); void add_image_to_cache(struct cached_image *ci); # 3645 "links.h" static __inline__ void intersect(int s1, int l1, int s2, int l2, int *s3, int *l3) { int e1=s1+l1; int e2=s2+l2; int e3; if (e1e1) e3=e1; else goto __intersect_empty; *l3=e3-*s3; return; __intersect_empty: *s3=0; *l3=0; return; } void g_release_background(struct background *bg); void g_draw_background(struct graphics_device *dev, struct background *bg, int x, int y, int xw, int yw); int g_forward_mouse(struct f_data_c *fd, struct g_object *a, int x, int y, int b); void draw_vscroll_bar(struct graphics_device *dev, int x, int y, int yw, int total, int view, int pos); void draw_hscroll_bar(struct graphics_device *dev, int x, int y, int xw, int total, int view, int pos); void get_scrollbar_pos(int dsize, int total, int vsize, int vpos, int *start, int *end); void get_parents(struct f_data *f, struct g_object *a); void get_object_pos(struct g_object *o, int *x, int *y); void g_dummy_mouse(struct f_data_c *, struct g_object *, int, int, int); void g_text_mouse(struct f_data_c *, struct g_object_text *, int, int, int); void g_line_mouse(struct f_data_c *, struct g_object_line *, int, int, int); void g_area_mouse(struct f_data_c *, struct g_object_area *, int, int, int); void g_dummy_draw(struct f_data_c *, struct g_object *, int, int); void g_text_draw(struct f_data_c *, struct g_object_text *, int, int); void g_line_draw(struct f_data_c *, struct g_object_line *, int, int); void g_area_draw(struct f_data_c *, struct g_object_area *, int, int); void g_tag_destruct(struct g_object *); void g_text_destruct(struct g_object_text *); void g_line_destruct(struct g_object_line *); void g_area_destruct(struct g_object_area *); void g_line_get_list(struct g_object_line *, void (*)(struct g_object *parent, struct g_object *child)); void g_area_get_list(struct g_object_area *, void (*)(struct g_object *parent, struct g_object *child)); void draw_one_object(struct f_data_c *fd, struct g_object *o); void draw_title(struct f_data_c *f); void draw_graphical_doc(struct terminal *t, struct f_data_c *scr, int active); int g_frame_ev(struct session *ses, struct f_data_c *fd, struct event *ev); void g_find_next(struct f_data_c *f, int); void init_grview(void); # 3739 "links.h" struct text_attrib_beginning { int attr; struct rgb fg; struct rgb bg; int fontsize; }; struct text_attrib { int attr; struct rgb fg; struct rgb bg; int fontsize; unsigned char *fontface; unsigned char *link; unsigned char *target; unsigned char *image; struct js_event_spec *js_event; struct form_control *form; struct rgb clink; struct rgb vlink; unsigned char *href_base; unsigned char *target_base; unsigned char *select; int select_disabled; }; # 3776 "links.h" struct par_attrib { int align; int leftmargin; int rightmargin; int width; int list_level; unsigned list_number; int dd_margin; int flags; struct rgb bgcolor; }; struct html_element { struct html_element *next; struct html_element *prev; struct text_attrib attr; struct par_attrib parattr; int invisible; unsigned char *name; int namelen; unsigned char *options; int linebreak; int dontkill; struct frameset_desc *frameset; }; extern struct list_head html_stack; extern int line_breax; extern int html_format_changed; extern unsigned char *startf; extern unsigned char *eofff; extern void *ff; extern void (*put_chars_f)(void *, unsigned char *, int); extern void (*line_break_f)(void *); extern void (*init_f)(void *); extern void *(*special_f)(void *, int, ...); void ln_break(int, void (*)(void *), void *); void put_chrs(unsigned char *, int, void (*)(void *, unsigned char *, int), void *); extern int table_level; extern int empty_format; extern struct form form; extern unsigned char *last_form_tag; extern unsigned char *last_form_attr; extern unsigned char *last_input_tag; extern unsigned char *last_link; extern unsigned char *last_image; extern unsigned char *last_target; extern struct form_control *last_form; extern struct js_event_spec *last_js_event; extern int js_fun_depth; extern int js_memory_limit; int parse_element(unsigned char *, unsigned char *, unsigned char **, int *, unsigned char **, unsigned char **); unsigned char *get_attr_val(unsigned char *, unsigned char *); int has_attr(unsigned char *, unsigned char *); int get_num(unsigned char *, unsigned char *); int get_width(unsigned char *, unsigned char *, int); int get_color(unsigned char *, unsigned char *, struct rgb *); int get_bgcolor(unsigned char *, struct rgb *); void html_stack_dup(void); void kill_html_stack_item(struct html_element *); unsigned char *skip_comment(unsigned char *, unsigned char *); void parse_html(unsigned char *, unsigned char *, void (*)(void *, unsigned char *, int), void (*)(void *), void *(*)(void *, int, ...), void *, unsigned char *); int get_image_map(unsigned char *, unsigned char *, unsigned char *, unsigned char *a, struct menu_item **, struct memory_list **, unsigned char *, unsigned char *, int, int, int, int gfx); void scan_http_equiv(unsigned char *, unsigned char *, unsigned char **, int *, unsigned char **, unsigned char **, unsigned char **); int decode_color(unsigned char *, struct rgb *); # 3866 "links.h" struct frameset_param { struct frameset_desc *parent; int x, y; int *xw, *yw; }; struct frame_param { struct frameset_desc *parent; unsigned char *name; unsigned char *url; int marginwidth; int marginheight; }; struct refresh_param { unsigned char *url; int time; }; void free_menu(struct menu_item *); void do_select_submenu(struct terminal *, struct menu_item *, struct session *); void clr_white(unsigned char *name); void clr_spaces(unsigned char *name); extern int g_ctrl_num; extern struct conv_table *convert_table; struct part { int x, y; int xp, yp; int xmax; int xa; int cx, cy; struct f_data *data; int bgcolor; unsigned char *spaces; int spl; int link_num; struct list_head uf; }; struct g_part { int x, y; int xmax; int cx, cy; struct g_object_area *root; struct g_object_line *line; struct g_object_text *text; int pending_text_len; struct wrap_struct w; struct style *current_style; int current_font_size; struct f_data *data; int link_num; struct list_head uf; }; struct sizes { int xmin, xmax, y; }; extern struct f_data *current_f_data; void free_additional_files(struct additional_files **); void free_frameset_desc(struct frameset_desc *); struct frameset_desc *copy_frameset_desc(struct frameset_desc *); struct f_data *init_formatted(struct document_options *); void destroy_formatted(struct f_data *); extern struct document_options dd_opt; extern struct document_options *d_opt; extern int last_link_to_move; extern int margin; void xxpand_line(struct part *, int, int); void xxpand_lines(struct part *, int); void xset_hchar(struct part *, int, int, unsigned); void xset_hchars(struct part *, int, int, int, unsigned); void align_line(struct part *, int); void html_tag(struct f_data *, unsigned char *, int, int); void process_script(struct f_data *, unsigned char *); void html_process_refresh(struct f_data *, unsigned char *, int ); void free_table_cache(void); int compare_opt(struct document_options *, struct document_options *); void copy_opt(struct document_options *, struct document_options *); struct link *new_link(struct f_data *); struct conv_table *get_convert_table(unsigned char *, int, int, int *, int *, int); extern int format_cache_entries; void count_format_cache(void); void delete_unused_format_cache_entries(void); void format_cache_reactivate(struct f_data *); struct part *format_html_part(unsigned char *, unsigned char *, int, int, int, struct f_data *, int, int, unsigned char *, int); void really_format_html(struct cache_entry *, unsigned char *, unsigned char *, struct f_data *, int frame); void get_search_data(struct f_data *); struct frameset_desc *create_frameset(struct f_data *fda, struct frameset_param *fp); void create_frame(struct frame_param *fp); void g_free_table_cache(void); void release_image_map(struct image_map *map); int is_in_area(struct map_area *a, int x, int y); struct background *get_background(unsigned char *bg, unsigned char *bgcolor); void g_x_extend_area(struct g_object_area *a, int width, int height); struct g_part *g_format_html_part(unsigned char *, unsigned char *, int, int, int, unsigned char *, int, unsigned char *, unsigned char *, struct f_data *); void g_release_part(struct g_part *); int g_get_area_width(struct g_object_area *o); void add_object(struct g_part *pp, struct g_object *o); void add_object_to_line(struct g_part *pp, struct g_object_line **lp, struct g_object *go); void flush_pending_text_to_line(struct g_part *p); void flush_pending_line_to_obj(struct g_part *p, int minheight); void format_table(unsigned char *, unsigned char *, unsigned char *, unsigned char **, void *); extern int ggr; extern unsigned char ggr_drv[1024]; extern unsigned char ggr_mode[1024]; extern unsigned char ggr_display[1024]; extern unsigned char default_target[1024]; unsigned char *parse_options(int, unsigned char *[]); void init_home(void); void load_config(void); void write_config(struct terminal *); void write_html_config(struct terminal *); void end_config(void); int load_url_history(void); int save_url_history(void); struct driver_param { struct driver_param *next; struct driver_param *prev; int codepage; unsigned char *param; unsigned char *shell; int nosave; unsigned char name[1]; }; struct driver_param *get_driver_param(unsigned char *); extern int anonymous; extern unsigned char system_name[]; extern unsigned char *links_home; extern int first_use; extern int created_home; extern int no_connect; extern int base_session; extern int force_html; extern int dmp; extern int async_lookup; extern int download_utime; extern int max_connections; extern int max_connections_to_host; extern int max_tries; extern int screen_width; extern int dump_codepage; extern int receive_timeout; extern int unrestartable_receive_timeout; extern struct document_setup dds; extern int max_format_cache_entries; extern long memory_cache_size; extern long image_cache_size; extern struct rgb default_fg; extern struct rgb default_bg; extern struct rgb default_link; extern struct rgb default_vlink; extern struct rgb default_fg_g; extern struct rgb default_bg_g; extern struct rgb default_link_g; extern struct rgb default_vlink_g; extern unsigned char http_proxy[]; extern unsigned char ftp_proxy[]; extern unsigned char fake_useragent[]; extern unsigned char fake_referer[]; extern int referer; extern int js_enable; extern int js_verbose_errors; extern int js_verbose_warnings; extern int js_all_conversions; extern int js_global_resolve; extern unsigned char download_dir[]; struct http_bugs { int http10; int allow_blacklist; int bug_302_redirect; int bug_post_no_keepalive; int no_accept_charset; int aggressive_cache; }; extern struct http_bugs http_bugs; extern unsigned char default_anon_pass[]; struct list_dirty_workaround_for_name_clash_in_stl_with_class_list{ void *next; void *prev; unsigned char type; int depth; void *fotr; }; struct list_description{ unsigned char type; struct list_dirty_workaround_for_name_clash_in_stl_with_class_list* list_dirty_workaround_for_name_clash_in_stl_with_class_list; void *(*new_item)(void * ); void (*edit_item)(struct dialog_data *, void * , void(*)(struct dialog_data *,void *,void *,struct list_description *) , void * , unsigned char); void *(*default_value)(struct session *, unsigned char ); void (*delete_item)(void *); void (*copy_item)(void * , void * ); unsigned char* (*type_item)(struct terminal *, void*, int ); void *(*find_item)(void *start_item, unsigned char *string, int direction ); struct history *search_history; int codepage; int window_width; int n_items; int item_description; int already_in_use; int window_title; int delete_dialog_title; int button; void (*button_fn)(struct session *, void *); struct list_dirty_workaround_for_name_clash_in_stl_with_class_list *current_pos; struct list_dirty_workaround_for_name_clash_in_stl_with_class_list *win_offset; int win_pos; int open; int modified; struct dialog_data *dlg; unsigned char *search_word; int search_direction; }; extern int create_list_window(struct list_description *,struct list_dirty_workaround_for_name_clash_in_stl_with_class_list *,struct terminal *,struct session *); extern void redraw_list_window(struct list_description *ld); extern void reinit_list_window(struct list_description *ld); extern unsigned char bookmarks_file[]; extern int bookmarks_codepage; extern struct list_dirty_workaround_for_name_clash_in_stl_with_class_list bookmarks; void finalize_bookmarks(void); void init_bookmarks(void); void reinit_bookmarks(void); void save_bookmarks(void); void menu_bookmark_manager(struct terminal *, void *, struct session *); # 7 "struct.h" 2 # 16 "struct.h" extern void* js_js_temp_var1; extern size_t js_js_temp_var2; extern int js_zaflaknuto_pameti; # 39 "struct.h" typedef struct _js_id_name { long klic; char*jmeno; struct _js_id_name*next; } js_id_name; typedef struct {int typ; union {int cele; double necele; }nr;}cislo; typedef struct _vrchol { long opcode; int in; struct _vrchol* prev; void* arg[7]; struct _vrchol * otec; long lineno; } vrchol; typedef struct _ns{ long identifier; vrchol*kdeje; struct _ns* next; }ns; typedef struct _argument_buffer { long argument; long a1; long typ; struct _argument_buffer * next; }abuf; typedef struct _parent_buffer { vrchol* parent; int in; void* in1; struct _parent_buffer *next; }pbuf; typedef struct localnamespace { long identifier; long mid; long type; long value; long handler; long index; struct localnamespace* next; }lns; typedef struct ptrlns { lns** ns; long mid; long handler; struct ptrlns* next; }plns; typedef struct _bordel_list { void* binec; struct _bordel_list * next; } borlist; typedef struct _variablovy_list { lns* lekla_ryba; struct _variablovy_list *next; } varlist; typedef struct javascript_bordylek { void*context; int*mytimer; } js_bordylek; struct jsnslist{plns* pns; struct jsnslist* next; }; typedef struct javascript_context { void * ptr ; int running; int t[128]; js_bordylek* bordely[128]; int upcall_timer; int zlomeny_ramecek_jako_u_netchcipu; void* upcall_data; int upcall_typek; void (*callback)(void *); long id; long js_id; unsigned char *code; int codelen; int lock; vrchol* js_tree; long lineno; vrchol* current; abuf* argbuf; pbuf* parbuf; int jsem_dead; plns* lnamespace; struct jsnslist * first_ns; struct jsnslist** last_ns; borlist* bordel; varlist* mrtve_promenne; int zaplatim; unsigned char *cookies; int utraticka; plns*fotrisko; int depth; int depth1; js_id_name *namespace [128]; }js_context; typedef struct _parlist { lns* parent; struct _parlist* next; } parlist; void my_itoa(char*,long); vrchol*terminal(void); vrchol*neterminal(void); extern js_context* js_create_context(void*,long); extern void js_destroy_context(js_context*); void ipret(js_bordylek*); lns*lookup(long,plns*,js_context*); lns*create(long,plns*,js_context*); plns*newnamespace(abuf*,abuf*,js_context*); void deletenamespace(plns*,js_context*); lns* buildin(char*,js_id_name**,plns*,js_context*); void js_warning(char*,int,js_context*); void zrus_strom(vrchol*); extern FILE*js_file; void js_volej_kolbena(js_context*context); void js_spec_vykill_timer(js_context*context,int i); extern char* js_temp_var_for_stracpy1; # 238 "struct.h" void js_cistka_kontextu(js_context*); # 25 "ipret.c" 2 # 1 "tree.h" 1 # 28 "ipret.c" 2 # 1 "typy.h" 1 # 29 "typy.h" void delarg(abuf*,js_context*); void clearvar(lns*,js_context*); void vartoarg(lns*,abuf*,js_context*); # 29 "ipret.c" 2 # 1 "ipret.h" 1 # 9 "ipret.h" abuf* real_pulla(js_context*,unsigned char*,int); void real_pusha(abuf*,js_context*,unsigned char*,int); char* tostring(abuf*,js_context*); vrchol* pullp(js_context*); double tofloat(abuf*,js_context*); int to32int(abuf*,js_context*); void js_error(char*,js_context*); int tobool(abuf*,js_context*); # 30 "ipret.c" 2 # 1 "ns.h" 1 abuf* getarg(abuf**); void add_to_parlist(lns*,lns*); void zrusargy(abuf*,js_context*); void delete_from_parlist(lns*,lns*); lns* llookup(char*,js_id_name **,plns*,js_context*); lns* cllookup(char*,js_id_name **,plns*,js_context*); lns* loklookup(long,plns*,js_context*); # 31 "ipret.c" 2 # 1 "builtin.h" 1 void get_var_value(lns*,long*,long*,js_context*); void kill_var(lns*); void set_var_value(lns*,long,long,js_context*); void js_intern_fupcall(js_context*,long,lns*); void add_builtin(js_context*); # 32 "ipret.c" 2 # 1 "builtin_keys.h" 1 # 33 "ipret.c" 2 void pushp(vrchol*, js_context*); double mojeinv(double); double mojenas(double, double); double mojescit(double, double); void delete_name_space(plns*, js_context*); int vartoint(lns*, js_context*); double vartofloat(lns*, js_context*); int porovnej1(abuf*, abuf*, js_context*); int porovnej(abuf*, abuf*, js_context*); void moc(char*); void bitand(js_context*); void logand(js_context*); void andassign(js_context*); void delete(js_context*); void divassign(js_context*); void assign(js_context*); void localassign(js_context*); void equal(js_context*); void not(js_context*); void notassign(js_context*); void false(js_context*); void myif(js_context*); void unassign(js_context*); void decpref(js_context*); void minus(js_context*); void modulo(js_context*); void modassign(js_context*); void mynull(js_context*); void number(js_context*); void bitor(js_context*); void orassign(js_context*); void logor(js_context*); void plus(js_context*); void plusassign(js_context*); void incpref(js_context*); void lt(js_context*); void le(js_context*); void shl(js_context*); void shlshleq(js_context*); void gt(js_context*); void ge(js_context*); void shr(js_context*); void shrshreq(js_context*); void shrshrshr(js_context*); void string(js_context*); void regexp(js_context*); void this(js_context*); void threerighteq(js_context*); void mulassign(js_context*); void true(js_context*); void mytypeof(js_context*); void var(js_context*); void myvoid(js_context*); void xor(js_context*); void xorassign(js_context*); void mywhile(js_context*); void for1(js_context*); void for2(js_context*); void for3(js_context*); void pokracuj(js_context*); void breakni(js_context*); void vrat(js_context*); void with(js_context*); void identifier(js_context*); void program(js_context*); void funkce(js_context*); void multiply(js_context*); void divide(js_context*); void complement(js_context*); void parametry(js_context*); void statementy(js_context*); void zaporne(js_context*); void thisccall(js_context*); void idccall(js_context*); void eccall(js_context*); void conscall(js_context*); void member(js_context*); int isanumber(char*); void array(js_context*); void carka(js_context*); void incpost(js_context*); void decpost(js_context*); void variable(js_context*); void myswitch(js_context*); void mycasecmp(js_context*); void zvykni(js_context*); static __inline__ int my_rint(double f) { if (f < -2147483647 +1) return -2147483647; if (f > 2147483647 -1) return 2147483647; if (f >= 0) return (int)(f + 0.5); return -(int)(-f + 0.5); } FILE *js_file; static int js_temp_var_for_vartest=0; # 175 "ipret.c" lns* pomocna_promenna_kvuli_with; # 195 "ipret.c" extern lns fotr_je_lotr; extern long js_lengthid; extern long MIN1KEY; extern long CStoString,CSvalueOf,CSMIN_VALUE,CSMAX_VALUE,CSNaN,CSlength, CSindexOf,CSlastIndexOf,CSsubstring,CScharAt,CStoLowerCase,CSsubstr, CStoUpperCase,CSsplit,CSparse,CSUTC; static int sezvykan; int js_durchfall=0; void pushp(vrchol* parent,js_context*context) { pbuf*pom=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 213, (js_js_temp_var2=(sizeof(pbuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pom->parent=parent; pom->in=parent->in; parent->in=0; pom->in1=parent->arg[3]; parent->arg[3]=0; pom->next=context->parbuf; context->parbuf=pom; } vrchol* pullp(js_context*context) { pbuf*pom=context->parbuf; vrchol*vrat; if(!pom){ ; vrat=0; }else { vrat=pom->parent; vrat->in=pom->in; vrat->arg[3]=pom->in1; context->parbuf=pom->next; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(pom)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 234, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } return vrat; } double mojeinv(double a) { if(a==(1.7976931348623157e+308*0.03)) return (1.7976931348623157e+308*0.03); if(a==(1.7976931348623157e+308*0.02) || a==(-1.7976931348623157e+308*0.02)) return 0; if(a==0) return (1.7976931348623157e+308*0.03); if(a>0) { if(a<((double)1/(1.7976931348623157e+308*0.01))) return (1.7976931348623157e+308*0.02); else return 1/a; }else{ if(a>((double)1/(-1.7976931348623157e+308*0.01))) return (-1.7976931348623157e+308*0.02); else return 1/a; } } double mojenas(double a,double b) { if(a==(1.7976931348623157e+308*0.03) || b==(1.7976931348623157e+308*0.03)||((a==(1.7976931348623157e+308*0.02) || a==(-1.7976931348623157e+308*0.02))&&(b==(1.7976931348623157e+308*0.02)||b==(-1.7976931348623157e+308*0.02)))|| (a==0 &&(b==(1.7976931348623157e+308*0.02)||b==(-1.7976931348623157e+308*0.02)))||(b==0 &&(a==(1.7976931348623157e+308*0.02) || a==(-1.7976931348623157e+308*0.02)))) return (1.7976931348623157e+308*0.03); if(a==0 || b==0) return 0; if(a>0) { if(b==(1.7976931348623157e+308*0.02)) return (1.7976931348623157e+308*0.02); if(b==(-1.7976931348623157e+308*0.02)) return (-1.7976931348623157e+308*0.02); } if(a<0) { if(b==(1.7976931348623157e+308*0.02)) return (-1.7976931348623157e+308*0.02); if(b==(-1.7976931348623157e+308*0.02)) return (1.7976931348623157e+308*0.02); } if(b>0) { if(a==(1.7976931348623157e+308*0.02)) return (1.7976931348623157e+308*0.02); if(a==(-1.7976931348623157e+308*0.02)) return (-1.7976931348623157e+308*0.02); } if(b<0) { if(a==(1.7976931348623157e+308*0.02)) return (-1.7976931348623157e+308*0.02); if(a==(-1.7976931348623157e+308*0.02)) return (1.7976931348623157e+308*0.02); } if((a>=-1 && a<=1)||(b>=-1 && b<=1)) return a*b; if(a>0 && b>0) { if((1.7976931348623157e+308*0.01)/a(1.7976931348623157e+308*0.01)) return (1.7976931348623157e+308*0.02); else return a*b; } if(a>0 && b<0) { if((-1.7976931348623157e+308*0.01)/b0) { if((-1.7976931348623157e+308*0.01)/ab) return (1.7976931348623157e+308*0.02); else if(a*b>(1.7976931348623157e+308*0.01)) return (1.7976931348623157e+308*0.02); else return a*b; } else return a*b; } double mojescit(double a,double b) { if(a==(1.7976931348623157e+308*0.03) || b==(1.7976931348623157e+308*0.03)||(a==(1.7976931348623157e+308*0.02) && b==(-1.7976931348623157e+308*0.02))||(a==(-1.7976931348623157e+308*0.02) && b==(1.7976931348623157e+308*0.02))) return (1.7976931348623157e+308*0.03); if(a==(1.7976931348623157e+308*0.02) || b==(1.7976931348623157e+308*0.02)) return (1.7976931348623157e+308*0.02); if(a==(-1.7976931348623157e+308*0.02)|| b==(-1.7976931348623157e+308*0.02)) return (-1.7976931348623157e+308*0.02); if(a>0 && b>0) { if((1.7976931348623157e+308*0.01)-ab) return (1.7976931348623157e+308*0.02); else return a+b; } else return a+b; } } char komentar[100]; void real_pusha(abuf *a,js_context*context,unsigned char*soubor,int lajna) { a->next=context->argbuf; context->argbuf=a; snprintf(komentar,99,"%s %d",soubor,lajna); komentar[99]='\0'; set_mem_comment((void*)((char*)a-((sizeof(int) + 15) & ~15)),komentar,strlen(komentar)); } abuf* real_pulla(js_context*context,unsigned char*soubor,int lajna) { abuf*pom=context->argbuf; if(!pom){ ; pom=0; } else { context->argbuf=pom->next; pom->next=0; snprintf(komentar,99,"%s %d ",soubor,lajna); komentar[99]='\0'; __builtin_strncat (komentar, get_mem_comment((char *)pom-((sizeof(int) + 15) & ~15)), 99-strlen(komentar)); set_mem_comment((void*)((char*)pom-((sizeof(int) + 15) & ~15)),komentar,strlen(komentar)); } return pom; } void js_error(char*a,js_context*context) { unsigned char *txt,*txt2; int timerno; int i=0,j=0,k=0; int l; struct f_data_c *fd=(struct f_data_c*)(context->ptr); struct terminal *term=fd->ses->term; if(!context->jsem_dead) { if(js_verbose_errors) { if(context->current) { while(icurrent->lineno && context->code[j]) { if((context->code[j]=='\n')||(context->code[j]=='\r'))i++; j++; } if(context->code[j]) { k=j; while(context->code[k] && context->code[k]!='\n' && context->code[k]!='\r')k++; if(context->code[k]) { i=1; context->code[k]='\0'; } else i=0; } txt=debug_stracpy((unsigned char *)"ipret.c", 413, &context->code[j]); if (strlen(txt)>256) { txt[256 -1]='.'; txt[256 -2]='.'; txt[256 -3]='.'; txt[256 -4]=' '; txt[256]=0; } skip_nonprintable(txt); if (fd->f_data) { struct conv_table* ct; ct=get_translation_table(fd->f_data->cp,fd->f_data->opt.cp); txt2=convert_string(ct,txt,strlen(txt),((void *)0)); } else txt2=debug_stracpy((unsigned char *)"ipret.c", 431, txt); debug_mem_free((unsigned char *)"ipret.c", 432, txt); txt=init_str_x((unsigned char *)"ipret.c", 434); l=0; add_to_str(&txt,&l,a); add_to_str(&txt,&l," in: "); add_to_str(&txt,&l,txt2); add_to_str(&txt,&l,"\n"); debug_mem_free((unsigned char *)"ipret.c", 440, txt2); if(i) context->code[k]='\n'; } else txt=debug_stracpy((unsigned char *)"ipret.c", 443, a); msg_box( term, getml(txt,((void *)0)), (dummyarray + 388), 1, txt, ((void *)0), 1, (dummyarray + 390),((void *)0),1|2 ); } context->utraticka=1; } for(timerno=0;timerno<128;timerno++) if(context->t[timerno]!=-1) { kill_timer(context->t[timerno]); context->t[timerno]=-1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(context->bordely[timerno])))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 468, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } if(context->upcall_timer!=-1) js_spec_vykill_timer(context,1); js_durchfall=1; context->jsem_dead=1; context->zaplatim=1; } void delete_name_space(plns*arg,js_context*context) { struct jsnslist * seznam,*pom; pom=context->first_ns; if(pom) while(pom->next && pom->pns!=arg) pom=pom->next; if((!pom)||(pom->pns!=arg)) { seznam=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 489, (js_js_temp_var2=(sizeof(struct jsnslist)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); seznam->pns=arg; seznam->next=0; if(pom) pom->next=seznam; else context->first_ns=seznam; } } void delarg(abuf*pom,js_context*context) { lns*zrusit; switch(pom->typ) { case 2: case 5: case 16: ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)pom->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 505, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); case 3: case 1: case 0: case 4: ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(pom)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 510, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); break; case 6: zrusit=(lns*)pom->argument; if(zrusit) { if(((zrusit->type==15) ||(zrusit->type==8))&&(zrusit->value==203)) { delarg((abuf*)zrusit->handler,context); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(zrusit)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 517, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } } else {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Killing null variable!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 521, int_error("Killing null variable!\n");}; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(pom)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 522, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); break; case 9: zrusargy(pom,context); break; case 10: case 11: case 13: if(pom->argument) { zrusit=lookup(MIN1KEY,(plns*)pom->argument,context); if(zrusit->type!=14) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal: Parentlist corrupted!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 533, int_error("Internal: Parentlist corrupted!\n");}; return; } if(!zrusit->value) delete_name_space((plns*)pom->argument,context); } ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(pom)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 539, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); break; case 7: case 8: case 15: ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(pom)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 544, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); break; default: {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Error! Rusim divny typ!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 546, int_error("Error! Rusim divny typ!\n");}; } } void vartoarg(lns*variable,abuf*kam,js_context*context) { switch(kam->typ=variable->type) { case 0: case 3: case 1: case 4: kam->argument=variable->value; break; case 2: kam->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 559, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)kam->argument=*(double*)variable->value; break; case 5: case 16: kam->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 564, (js_js_temp_var2=(strlen((char*)variable->value)+1))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); strcpy((char*)kam->argument,(char*)variable->value); break; case 11: kam->typ=10; case 13: kam->argument=variable->value; break; case 7: kam->argument=variable->value; break; case 8: ; kam->argument=(long)((js_temp_var_for_stracpy1=("function f(){ [native code] }"))?strcpy(((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 578, (js_js_temp_var2=(strlen(js_temp_var_for_stracpy1)+1))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))),js_temp_var_for_stracpy1):((void *)0)); kam->typ=5; if(variable->value==203) { delarg((abuf*)variable->handler,context); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(variable)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 583, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } break; case 15: ; get_var_value(variable,&kam->typ,&kam->argument,context); break; default: {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Error! Tahle konverze jeste nefunguje!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 590, int_error("Error! Tahle konverze jeste nefunguje!\n");}; kam->typ=1; kam->argument=0; break; } } void clearvar(lns*pna,js_context*context) { lns*zrusit; switch(pna->type) { case 0: case 3: case 4: case 1: case 7: case 8: break; case 15: kill_var(pna); break; case 2: case 5: case 16: ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)pna->value)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 613, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); break; case 11: case 13: zrusit=lookup(MIN1KEY,(plns*)pna->value,context); if(zrusit->type!=14) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal: Parent list corrupted!!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 619, int_error("Internal: Parent list corrupted!!\n");}; return;} if(!((parlist*)zrusit->value) || !(((parlist*)zrusit->value)->next)) deletenamespace((plns*)pna->value,context); else delete_from_parlist(pna,zrusit); break; default: {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Aiee! Unknown variable type!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 628, int_error("Aiee! Unknown variable type!\n");}; return; break; } pna->type=0; pna->value=0; } int vartoint(lns*pna,js_context*context) { abuf*pomocny; double pomfloat; int retval=0; lns*promenna; switch(pna->type) { case 0: if(!js_all_conversions) js_error("You use UNDEFINED value!\n",context); retval=1; break; case 3: break; case 4: case 1: retval=pna->value; break; case 2: retval=(int)my_rint(pomfloat=*(double*)pna->value); if((pomfloat==(1.7976931348623157e+308*0.03))||(pomfloat==(1.7976931348623157e+308*0.02))||(pomfloat==(-1.7976931348623157e+308*0.02))) { retval=0; js_warning("Converting not a number to integer,\nreturning 0!",context->current->lineno,context); } break; case 5: if(!strlen((char*)pna->value)) if(!js_all_conversions) js_error("Converting empty string to number!\n",context); retval=atoi((char*)pna->value); break; case 16: retval=0; break; case 15: pomocny=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 673, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); get_var_value(pna,&pomocny->typ,&pomocny->argument,context); retval=to32int(pomocny,context); break; case 7: case 8: if(!js_all_conversions) js_error("Error converting function -> integer",context); break; case 11: case 13: if(context->depth>50) { if(!js_all_conversions) js_error("Too deep structure by valueOf!",context); context->depth=0; } else { promenna=llookup("valueOf",context->namespace,(plns*)pna->value,context); context->depth++; retval=vartoint(promenna,context); context->depth=0; } break; default: {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Tato konverze jeste neni napsana!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 697, int_error("Tato konverze jeste neni napsana!\n");}; break; } return retval; } double tofloat(abuf*,js_context*); double vartofloat(lns*pna,js_context*context) { abuf*pomocny; lns*promenna; double retval=0; switch(pna->type) { case 0: if(!js_all_conversions) js_error("You use UNDEFINED value!\n",context); retval=1; break; case 3: break; case 4: case 1: retval=(double)pna->value; break; case 2: retval=*(double*)pna->value; break; case 5: if(!strlen((char*)pna->value)) if(!js_all_conversions) js_error("Converting empty string to number is prohibited!\n",context); retval=atof((char*)pna->value); if(retval>(1.7976931348623157e+308*0.01)) retval=(1.7976931348623157e+308*0.02); if(retval<(-1.7976931348623157e+308*0.01)) retval=(-1.7976931348623157e+308*0.02); break; case 16: retval=0; break; case 15: pomocny=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 736, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); get_var_value(pna,&pomocny->typ,&pomocny->argument,context); retval=tofloat(pomocny,context); break; case 7: case 8: if(!js_all_conversions) js_error("Error converting function -> number",context); retval=(1.7976931348623157e+308*0.03); break; case 10: ; case 11: case 13: if(context->depth>50) { if(!js_all_conversions) js_error("Too deep structure by valueOf!",context); context->depth=0; } else { promenna=llookup("valueOf",context->namespace,(plns*)pna->value,context); context->depth++; retval=vartofloat(promenna,context); context->depth=0; } break; default: {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Tato konverze jeste neni napsana!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 763, int_error("Tato konverze jeste neni napsana!\n");}; break; } return retval; } int porovnej1(abuf*jeden_magistr,abuf*druhej_magistr,js_context*context) { if(druhej_magistr->typ==0) { if(druhej_magistr->argument) return 0; else if(!js_all_conversions) js_error("Switching in undefined expression",context); return 0; } if(jeden_magistr->typ==0) { if(!js_all_conversions) js_error("Case is of type UNDEFINED",context); return 0; } if(((jeden_magistr->typ==5)||(jeden_magistr->typ==16)) && ((druhej_magistr->typ==5)||(druhej_magistr->typ==16))) return __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ((char*)jeden_magistr->argument) && __builtin_constant_p ((char*)druhej_magistr->argument) && (__s1_len = strlen ((char*)jeden_magistr->argument), __s2_len = strlen ((char*)druhej_magistr->argument), (!((size_t)(const void *)(((char*)jeden_magistr->argument) + 1) - (size_t)(const void *)((char*)jeden_magistr->argument) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(((char*)druhej_magistr->argument) + 1) - (size_t)(const void *)((char*)druhej_magistr->argument) == 1) || __s2_len >= 4)) ? __builtin_strcmp ((char*)jeden_magistr->argument, (char*)druhej_magistr->argument) : (__builtin_constant_p ((char*)jeden_magistr->argument) && ((size_t)(const void *)(((char*)jeden_magistr->argument) + 1) - (size_t)(const void *)((char*)jeden_magistr->argument) == 1) && (__s1_len = strlen ((char*)jeden_magistr->argument), __s1_len < 4) ? (__builtin_constant_p ((char*)druhej_magistr->argument) && ((size_t)(const void *)(((char*)druhej_magistr->argument) + 1) - (size_t)(const void *)((char*)druhej_magistr->argument) == 1) ? __builtin_strcmp ((char*)jeden_magistr->argument, (char*)druhej_magistr->argument) : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ((char*)druhej_magistr->argument); register int __result = (((__const unsigned char *) (__const char *) ((char*)jeden_magistr->argument))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)jeden_magistr->argument))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)jeden_magistr->argument))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) ((char*)jeden_magistr->argument))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ((char*)druhej_magistr->argument) && ((size_t)(const void *)(((char*)druhej_magistr->argument) + 1) - (size_t)(const void *)((char*)druhej_magistr->argument) == 1) && (__s2_len = strlen ((char*)druhej_magistr->argument), __s2_len < 4) ? (__builtin_constant_p ((char*)jeden_magistr->argument) && ((size_t)(const void *)(((char*)jeden_magistr->argument) + 1) - (size_t)(const void *)((char*)jeden_magistr->argument) == 1) ? __builtin_strcmp ((char*)jeden_magistr->argument, (char*)druhej_magistr->argument) : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) ((char*)jeden_magistr->argument); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ((char*)druhej_magistr->argument))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ((char*)druhej_magistr->argument))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ((char*)druhej_magistr->argument))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ((char*)druhej_magistr->argument))[3]); } } __result; }))) : __builtin_strcmp ((char*)jeden_magistr->argument, (char*)druhej_magistr->argument)))); }); if(jeden_magistr->typ==2 && druhej_magistr->typ==2) return *((double*)jeden_magistr->argument)!=*((double*)druhej_magistr->argument); return jeden_magistr->argument!=druhej_magistr->argument; } int to32int(abuf*buffer,js_context*context) { int retval=0; lns*promenna; double pomfloat; switch(buffer->typ) { case 0: if(!js_all_conversions) js_error("You use UNDEFINED value!\n",context); retval=1; break; case 3: break; case 4: case 1: retval=(int)buffer->argument; break; case 2: retval=(int)my_rint(pomfloat=*(double*)buffer->argument); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)buffer->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 811, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); if((pomfloat==(1.7976931348623157e+308*0.03))||(pomfloat==(1.7976931348623157e+308*0.02))||(pomfloat==(-1.7976931348623157e+308*0.02))) { js_warning("Converting non-numeric float to integer\nreturning 0!",context->current->lineno,context); retval=0; } break; case 5: if(!strlen((char*)buffer->argument)) if(!js_all_conversions) js_error("Converting empty string to number!\n",context); retval=atoi((char*)buffer->argument); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)buffer->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 822, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); break; case 16: retval=0; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)buffer->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 826, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); break; case 6: case 15: retval=vartoint((lns*)buffer->argument,context); break; case 7: case 8: if(!js_all_conversions) js_error("Conversion not allowed! ",context); break; case 10: case 11: case 13: if(context->depth>50) { if(!js_all_conversions) js_error("Too deep structure by valueOf!",context); context->depth=0; } else { promenna=llookup("valueOf",context->namespace,(plns*)buffer->argument,context); context->depth++; retval=vartoint(promenna,context); context->depth=0; } delarg(buffer,context); buffer=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 853, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); buffer->typ=0; buffer->argument=0; break; default: {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Aiee! Unknown conversion!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 857, int_error("Aiee! Unknown conversion!\n");}; return 0; break; } ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(buffer)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 861, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); return retval; } int porovnej(abuf*jeden,abuf*druhej,js_context*context) { int a=porovnej1(jeden,druhej,context); abuf*pombuf; if(!a){ pombuf=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 868, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pombuf->typ=druhej->typ; pombuf->argument=druhej->argument; pombuf->a1=druhej->a1; delarg(pombuf,context); druhej->typ=0; druhej->argument=1; } return a; } char* tostring(abuf*bafr,js_context*context) { char*a=0; abuf*b1; lns*promenna; if((bafr->typ==6)||(bafr->typ==15)) vartoarg((lns*)bafr->argument,bafr,context); switch(bafr->typ) { case 0: a=((js_temp_var_for_stracpy1=("undefined"))?strcpy(((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 886, (js_js_temp_var2=(strlen(js_temp_var_for_stracpy1)+1))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))),js_temp_var_for_stracpy1):((void *)0)); break; case 3: a=((js_temp_var_for_stracpy1=("null"))?strcpy(((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 889, (js_js_temp_var2=(strlen(js_temp_var_for_stracpy1)+1))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))),js_temp_var_for_stracpy1):((void *)0)); break; case 1: a=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 892, (js_js_temp_var2=((1+4*sizeof(long))))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); snprintf(a,(1+4*sizeof(long)),"%d",(int)bafr->argument); a[(1+4*sizeof(long))-1]='\0'; break; case 2: a=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 897, (js_js_temp_var2=((1+4*sizeof(long))))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); if(*(double*)bafr->argument==(1.7976931348623157e+308*0.03)) strcpy(a,"NaN"); else if(*(double*)bafr->argument==(1.7976931348623157e+308*0.02)) strcpy(a,"Infinity"); else if(*(double*)bafr->argument==(-1.7976931348623157e+308*0.02)) strcpy(a,"-Infinity"); else snprintf(a,(1+4*sizeof(long)),"%g",*(double*)bafr->argument); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)bafr->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 905, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); a[(1+4*sizeof(long))-1]='\0'; # 915 "ipret.c" if(!(__extension__ (__builtin_constant_p (3) && ((__builtin_constant_p (a) && strlen (a) < ((size_t) (3))) || (__builtin_constant_p ("-0") && strlen ("-0") < ((size_t) (3)))) ? __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (a) && __builtin_constant_p ("-0") && (__s1_len = strlen (a), __s2_len = strlen ("-0"), (!((size_t)(const void *)((a) + 1) - (size_t)(const void *)(a) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("-0") + 1) - (size_t)(const void *)("-0") == 1) || __s2_len >= 4)) ? __builtin_strcmp (a, "-0") : (__builtin_constant_p (a) && ((size_t)(const void *)((a) + 1) - (size_t)(const void *)(a) == 1) && (__s1_len = strlen (a), __s1_len < 4) ? (__builtin_constant_p ("-0") && ((size_t)(const void *)(("-0") + 1) - (size_t)(const void *)("-0") == 1) ? __builtin_strcmp (a, "-0") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("-0"); register int __result = (((__const unsigned char *) (__const char *) (a))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (a))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (a))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (a))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("-0") && ((size_t)(const void *)(("-0") + 1) - (size_t)(const void *)("-0") == 1) && (__s2_len = strlen ("-0"), __s2_len < 4) ? (__builtin_constant_p (a) && ((size_t)(const void *)((a) + 1) - (size_t)(const void *)(a) == 1) ? __builtin_strcmp (a, "-0") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (a); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("-0"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("-0"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("-0"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("-0"))[3]); } } __result; }))) : __builtin_strcmp (a, "-0")))); }) : strncmp (a, "-0", 3)))) { ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(a)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 916, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); a=((js_temp_var_for_stracpy1=("0"))?strcpy(((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 917, (js_js_temp_var2=(strlen(js_temp_var_for_stracpy1)+1))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))),js_temp_var_for_stracpy1):((void *)0)); } break; case 4: a=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 921, (js_js_temp_var2=(strlen("false")+1))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); if(bafr->argument)strcpy(a,"true"); else strcpy (a,"false"); break; case 5: case 16: a=(char*)bafr->argument; break; case 7: a=((js_temp_var_for_stracpy1=("function f(){ alert('Not implemented yet!'); }"))?strcpy(((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 929, (js_js_temp_var2=(strlen(js_temp_var_for_stracpy1)+1))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))),js_temp_var_for_stracpy1):((void *)0)); break; case 8: a=((js_temp_var_for_stracpy1=("function f(){ [native code] }"))?strcpy(((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 932, (js_js_temp_var2=(strlen(js_temp_var_for_stracpy1)+1))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))),js_temp_var_for_stracpy1):((void *)0)); break; case 10: case 11: case 13: if(context->depth>50) { if(!js_all_conversions) js_error("Too deep structure by valueOf!",context); context->depth=0; } else { promenna=llookup("toString",context->namespace,(plns*)bafr->argument,context); if(promenna->type==0) { promenna=llookup("valueOf",context->namespace,(plns*)bafr->argument,context); if((promenna->type==5)||(promenna->type==16)) { a=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 947, (js_js_temp_var2=(strlen((char*)promenna->value)+1))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); strcpy(a,(char*)promenna->value); } else { a=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 950, (js_js_temp_var2=(strlen("[object Object]")+1))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); strcpy(a,"[object Object]"); } } else { context->depth++; b1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 956, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); b1->typ=6; b1->argument=(long)promenna; a=tostring(b1,context); context->depth=0; } } delarg(bafr,context); bafr=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 964, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); bafr->typ=0; bafr->argument=0; break; default: {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Tato konverze jeste neni hotova",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 969, int_error("Tato konverze jeste neni hotova");}; a=((js_temp_var_for_stracpy1=("null"))?strcpy(((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 970, (js_js_temp_var2=(strlen(js_temp_var_for_stracpy1)+1))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))),js_temp_var_for_stracpy1):((void *)0)); return a; break; } ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(bafr)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 974, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); return a; } double tofloat(abuf*arg,js_context*context) { double vysl=0; lns*promenna; if((arg->typ==6)||(arg->typ==15)) vartoarg((lns*)arg->argument,arg,context);; switch(arg->typ) { case 0: if(!js_all_conversions) js_error("Undefined conversion!\n",context); vysl=1; break; case 3: vysl=(double)0; break; case 1: case 4: vysl=(double)(int)arg->argument; break; case 2: vysl=*(double*)arg->argument; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)arg->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 998, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); break; case 5: if(!__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ((char*)arg->argument) && __builtin_constant_p ("NaN") && (__s1_len = strlen ((char*)arg->argument), __s2_len = strlen ("NaN"), (!((size_t)(const void *)(((char*)arg->argument) + 1) - (size_t)(const void *)((char*)arg->argument) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(("NaN") + 1) - (size_t)(const void *)("NaN") == 1) || __s2_len >= 4)) ? __builtin_strcmp ((char*)arg->argument, "NaN") : (__builtin_constant_p ((char*)arg->argument) && ((size_t)(const void *)(((char*)arg->argument) + 1) - (size_t)(const void *)((char*)arg->argument) == 1) && (__s1_len = strlen ((char*)arg->argument), __s1_len < 4) ? (__builtin_constant_p ("NaN") && ((size_t)(const void *)(("NaN") + 1) - (size_t)(const void *)("NaN") == 1) ? __builtin_strcmp ((char*)arg->argument, "NaN") : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ("NaN"); register int __result = (((__const unsigned char *) (__const char *) ((char*)arg->argument))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)arg->argument))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)arg->argument))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) ((char*)arg->argument))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ("NaN") && ((size_t)(const void *)(("NaN") + 1) - (size_t)(const void *)("NaN") == 1) && (__s2_len = strlen ("NaN"), __s2_len < 4) ? (__builtin_constant_p ((char*)arg->argument) && ((size_t)(const void *)(((char*)arg->argument) + 1) - (size_t)(const void *)((char*)arg->argument) == 1) ? __builtin_strcmp ((char*)arg->argument, "NaN") : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) ((char*)arg->argument); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ("NaN"))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ("NaN"))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ("NaN"))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ("NaN"))[3]); } } __result; }))) : __builtin_strcmp ((char*)arg->argument, "NaN")))); })) vysl=(1.7976931348623157e+308*0.03); else { vysl=atof((char*)arg->argument); if(vysl>(1.7976931348623157e+308*0.01)) vysl=(1.7976931348623157e+308*0.02); if(vysl<(-1.7976931348623157e+308*0.01)) vysl=(-1.7976931348623157e+308*0.02); } ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)arg->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1009, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); break; case 16: ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)arg->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1012, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); vysl=0; break; case 7: case 8: if(!js_all_conversions) js_error("Conversion fction -> float not allowed!",context); vysl=(1.7976931348623157e+308*0.03); break; case 10: case 11: case 13: if(context->depth>50) { if(!js_all_conversions) js_error("Too deep structure by valueOf!",context); context->depth=0; } else { promenna=llookup("valueOf",context->namespace,(plns*)arg->argument,context); context->depth++; vysl=vartoint(promenna,context); context->depth=0; } delarg(arg,context); arg=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1036, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); arg->typ=0; arg->argument=0; break; default: {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Tato konverze jeste neni hotova!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 1041, int_error("Tato konverze jeste neni hotova!\n");}; return 0; break; } ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(arg)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1045, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); return vysl; } int tobool(abuf*buffer,js_context*context) { int retval=0; if((buffer->typ==6)||(buffer->typ==15)) vartoarg((lns*)buffer->argument,buffer,context);; switch(buffer->typ) { case 0: ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(buffer)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1054, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); retval=0; break; case 5: case 16: if(strlen((char*)buffer->argument))retval=1; else retval=0; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)buffer->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1060, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(buffer)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1061, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); break; default: retval=to32int(buffer,context); } return retval; } void moc(char*a) { printf("Prosel jsem moc argumentu ve funkci: %s\n",a); errfile = (unsigned char *)"ipret.c", errline = 1071, int_error("exiting!"); } # 1085 "ipret.c" void bitand(js_context*context) { abuf*retval=0; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: ; retval=real_pulla(context,"ipret.c",1098); if((retval->typ==6)||(retval->typ==15)) vartoarg((lns*)retval->argument,retval,context);; real_pusha(retval,context,"ipret.c",1100); context->current->in=2; pushp(context->current,context); context->current=(vrchol*)context->current->arg[1]; sezvykan=0; break; case 2: ; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1108, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=1; retval->argument=(to32int(real_pulla(context,"ipret.c",1110),context)&to32int(real_pulla(context,"ipret.c",1110),context)); real_pusha(retval,context,"ipret.c",1113); sezvykan=1; context->current->in=0; context->current=pullp(context); break; default: moc("bitand"); break; } } void logand(js_context*context) { abuf*retval=0; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: if(!tobool(real_pulla(context,"ipret.c",1136),context)) { ; goto false; } ; context->current->in=2; pushp(context->current,context); context->current=(vrchol*)context->current->arg[1]; sezvykan=0; break; case 2: if(tobool(real_pulla(context,"ipret.c",1148),context)){ retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1149, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); ; retval->argument=1; goto basso_continuo; } else { false: retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1156, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->argument=0; ; basso_continuo: retval->typ=4; real_pusha(retval,context,"ipret.c",1160); sezvykan=1; context->current->in=0; context->current=pullp(context); } break; default: moc("logand"); break; } } void andassign(js_context*context) { abuf*retval=0; abuf*par1; lns* pna; long pna1; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; par1=real_pulla(context,"ipret.c",1187); if(!js_all_conversions){js_temp_var_for_vartest=0; if(par1->typ!=6) { delarg(par1,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can assign only to variable!\n",context); return; }} else if(par1->typ!=6) { real_pusha(par1,context,"ipret.c",1188); sezvykan=1; context->current->in=0; context->current=pullp(context); return; }; real_pusha(par1,context,"ipret.c",1189); pna=(lns*)par1->argument; pna1=vartoint(pna,context); par1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1192, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par1->typ=1; par1->argument=pna1; real_pusha(par1,context,"ipret.c",1195); ; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1203, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=1; retval->argument=to32int(real_pulla(context,"ipret.c",1205),context)&to32int(real_pulla(context,"ipret.c",1205),context); par1=real_pulla(context,"ipret.c",1206); pna=(lns*)par1->argument; real_pusha(retval,context,"ipret.c",1208); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1209, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); if(pna->type==15) set_var_value(pna,1,retval->argument,context); else { clearvar(pna,context); pna->type=1; pna->value=retval->argument; } sezvykan=1; context->current=pullp(context); break; default: moc("andassign"); break; } } void delete(js_context*context) { abuf*objekt; lns*variable; plns*pom; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; context->current->in=0; objekt=real_pulla(context,"ipret.c",1243); js_temp_var_for_vartest=0; if(objekt->typ!=6) { delarg(objekt,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("Delete na nevariabli!\n",context); return; }; variable=(lns*)objekt->argument; if(variable->type!=11 && variable->type!=13) { delarg(objekt,context); js_error("Deleting not an objekt!\n",context); return; } if(!variable->value) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Deleting null object!",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 1252, int_error("Deleting null object!");}; objekt->typ=0; objekt->argument=0; sezvykan=1; real_pusha(objekt,context,"ipret.c",1256); context->current=pullp(context); return; } if(((plns*)variable->value)->mid!=0) { delarg(objekt,context); js_error("Trying to unalloc internal structs!\n",context); return; } pom=context->lnamespace; while(pom) { if(pom==(plns*)variable->value) { js_error("Trying to delete parent obj!\n",context); delarg(objekt,context); return; } pom=pom->next; } deletenamespace((plns*)variable->value,context); variable->value=0; variable->type=0; objekt->typ=0; objekt->argument=0; real_pusha(objekt,context,"ipret.c",1279); sezvykan=1; context->current=pullp(context); break; default: moc("delete"); break; } } void divassign(js_context*context) { abuf*retval=0; abuf*par1; lns* pna; int pna2; double pna1,pna3; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; par1=real_pulla(context,"ipret.c",1304); if(!js_all_conversions){js_temp_var_for_vartest=0; if(par1->typ!=6) { delarg(par1,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can assign only to variable!\n",context); return; }} else if(par1->typ!=6) { real_pusha(par1,context,"ipret.c",1305); sezvykan=1; context->current->in=0; context->current=pullp(context); return; }; real_pusha(par1,context,"ipret.c",1306); pna=(lns*)par1->argument; pna1=vartofloat(pna,context); par1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1309, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par1->typ=2; par1->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1311, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)par1->argument=pna1; real_pusha(par1,context,"ipret.c",1313); ; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1321, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=2; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1323, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pna3=tofloat(real_pulla(context,"ipret.c",1324),context); pna1=tofloat(real_pulla(context,"ipret.c",1325),context); *(double*)retval->argument=pna1=mojenas(pna1,mojeinv(pna3)); par1=real_pulla(context,"ipret.c",1327); pna=(lns*)par1->argument; real_pusha(retval,context,"ipret.c",1329); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1330, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); if(pna->type==15) set_var_value(pna,2,retval->argument,context); else { clearvar(pna,context); pna->type=2; pna->value=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1336, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)pna->value=*(double*)retval->argument; if(((double)(pna2=(int)my_rint(pna1)))==pna1) { pna->type=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)pna->value)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1340, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); pna->value=pna2; retval->typ=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)retval->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1343, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); retval->argument=pna2; ; } } sezvykan=1; context->current=pullp(context); break; default: moc("divassign"); break; } } void assign(js_context*context) { abuf* kam,*rightside; lns* vysl,*pom; plns* pomns; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; rightside=real_pulla(context,"ipret.c",1377); if((rightside->typ==6)||(rightside->typ==15)) vartoarg((lns*)rightside->argument,rightside,context);; kam=real_pulla(context,"ipret.c",1379); real_pusha(rightside,context,"ipret.c",1380); if(!js_all_conversions) {js_temp_var_for_vartest=0; if(kam->typ!=6) { delarg(kam,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can assign only to variable!\n",context); return; }} else js_temp_var_for_vartest=0; if(kam->typ!=6) { delarg(kam,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { sezvykan=1; js_temp_var_for_vartest=0; context->current->in=0; context->current=pullp(context); return; } vysl=(lns*)kam->argument; if(vysl->type==15) set_var_value(vysl,rightside->typ,rightside->argument,context); else { if(rightside->typ==10||rightside->typ==11||rightside->typ==13) { pom=lookup(MIN1KEY,(plns*)rightside->argument,context); if(pom->type!=14) {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Parentlist corrupted!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 1389, int_error("Parentlist corrupted!\n");}; add_to_parlist(&fotr_je_lotr,pom); clearvar(vysl,context); delete_from_parlist(&fotr_je_lotr,pom); }else clearvar(vysl,context); switch(vysl->type=rightside->typ) { case 0: case 3: case 4: case 1: vysl->value=rightside->argument; break; case 2: vysl->value=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1403, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)vysl->value=*(double*)rightside->argument; break; case 5: case 16: vysl->value=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1408, (js_js_temp_var2=(strlen((char*)rightside->argument)+1))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); strcpy((char*)vysl->value,(char*)rightside->argument); break; case 10: vysl->type=11; case 13: case 11: pomns=context->lnamespace->next; while(pomns && pomns!=((plns*)rightside->argument)->next) pomns=pomns->next; vysl->value=rightside->argument; if(!pomns) ((plns*)rightside->argument)->next=0; pom=lookup(MIN1KEY,(plns*)rightside->argument,context); if(pom->type!=14) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Parent list corrupted!!!!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 1423, int_error("Parent list corrupted!!!!\n");}; sezvykan=1; context->current=pullp(context); return; } add_to_parlist(vysl,pom); break; case 7: vysl->value=rightside->argument; break; default: {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal: Unknown types assigned!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 1434, int_error("Internal: Unknown types assigned!\n");}; break; } } ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(kam)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1439, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); sezvykan=1; context->current=pullp(context); break; default: moc("assign"); break; } } void localassign(js_context*context) { abuf* kam,*rightside; lns* vysl,*pom; plns* pomns; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; rightside=real_pulla(context,"ipret.c",1469); if((rightside->typ==6)||(rightside->typ==15)) vartoarg((lns*)rightside->argument,rightside,context);; kam=real_pulla(context,"ipret.c",1471); real_pusha(rightside,context,"ipret.c",1472); if(!js_all_conversions) {js_temp_var_for_vartest=0; if(kam->typ!=6) { delarg(kam,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can assign only to variable!\n",context); return; }} else js_temp_var_for_vartest=0; if(kam->typ!=6) { delarg(kam,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { sezvykan=1; js_temp_var_for_vartest=0; context->current->in=0; context->current=pullp(context); return; } vysl=(lns*)kam->argument; vysl=loklookup(vysl->identifier,context->lnamespace,context); if(vysl->type==15) set_var_value(vysl,rightside->typ,rightside->argument,context); else { if(rightside->typ==10||rightside->typ==11||rightside->typ==13) { pom=lookup(MIN1KEY,(plns*)rightside->argument,context); if(pom->type!=14) {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Parentlist corrupted!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 1488, int_error("Parentlist corrupted!\n");}; add_to_parlist(&fotr_je_lotr,pom); clearvar(vysl,context); delete_from_parlist(&fotr_je_lotr,pom); }else clearvar(vysl,context); switch(vysl->type=rightside->typ) { case 0: case 3: case 4: case 1: vysl->value=rightside->argument; break; case 2: vysl->value=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1503, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)vysl->value=*(double*)rightside->argument; break; case 5: case 16: vysl->value=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1508, (js_js_temp_var2=(strlen((char*)rightside->argument)+1))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); strcpy((char*)vysl->value,(char*)rightside->argument); break; case 10: vysl->type=11; case 13: case 11: vysl->value=(long)rightside->argument; pomns=context->lnamespace->next; while(pomns && pomns!=((plns*)rightside->argument)->next) pomns=pomns->next; if(!pomns) ((plns*)rightside->argument)->next=0; pom=lookup(MIN1KEY,(plns*)rightside->argument,context); if(pom->type!=14) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal: Parentlist corrupted!!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 1523, int_error("Internal: Parentlist corrupted!!\n");}; sezvykan=1; context->current=pullp(context); } add_to_parlist(vysl,pom); break; case 7: vysl->value=rightside->argument; break; default: ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(kam)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1532, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal: Unknown type turned up!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 1533, int_error("Internal: Unknown type turned up!\n");}; break; } } ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(kam)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1537, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); sezvykan=1; context->current=pullp(context); break; default: moc("localassign"); break; } } void equal(js_context*context) { abuf*retval=0; abuf*par1,*par2; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; par1=real_pulla(context,"ipret.c",1562); if((par1->typ==6)||(par1->typ==15)) vartoarg((lns*)par1->argument,par1,context);; real_pusha(par1,context,"ipret.c",1564); context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1572, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=4; par2=real_pulla(context,"ipret.c",1574); par1=real_pulla(context,"ipret.c",1575); if((par2->typ==6)||(par2->typ==15)) vartoarg((lns*)par2->argument,par2,context);; if((par1->typ==16)||(par2->typ==16)) { ; } if((par1->typ==5) &&(par2->typ==5)){ retval->argument=!__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ((char*)par1->argument) && __builtin_constant_p ((char*)par2->argument) && (__s1_len = strlen ((char*)par1->argument), __s2_len = strlen ((char*)par2->argument), (!((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) || __s2_len >= 4)) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__builtin_constant_p ((char*)par1->argument) && ((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) && (__s1_len = strlen ((char*)par1->argument), __s1_len < 4) ? (__builtin_constant_p ((char*)par2->argument) && ((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ((char*)par2->argument); register int __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ((char*)par2->argument) && ((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) && (__s2_len = strlen ((char*)par2->argument), __s2_len < 4) ? (__builtin_constant_p ((char*)par1->argument) && ((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) ((char*)par1->argument); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[3]); } } __result; }))) : __builtin_strcmp ((char*)par1->argument, (char*)par2->argument)))); }); ; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par1->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1584, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par2->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1585, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1586, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par2)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1587, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } else { retval->argument=(tofloat(par1,context)==tofloat(par2,context)); ; } sezvykan=1; real_pusha(retval,context,"ipret.c",1594); context->current=pullp(context); break; default: moc("equal"); break; } } void not(js_context*context) { abuf*retval; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1613, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=4; retval->argument=!tobool(real_pulla(context,"ipret.c",1615),context); real_pusha(retval,context,"ipret.c",1616); context->current->in=0; sezvykan=1; context->current=pullp(context); break; default: moc("not"); break; } } void notassign(js_context*context) { abuf*retval=0; abuf*par1,*par2; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; par1=real_pulla(context,"ipret.c",1641); if((par1->typ==6)||(par1->typ==15)) vartoarg((lns*)par1->argument,par1,context);; real_pusha(par1,context,"ipret.c",1643); context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1651, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=4; par2=real_pulla(context,"ipret.c",1653); par1=real_pulla(context,"ipret.c",1654); if((par2->typ==6)||(par2->typ==15)) vartoarg((lns*)par2->argument,par2,context);; if((par1->typ==5) &&(par2->typ==5)){ retval->argument=__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ((char*)par1->argument) && __builtin_constant_p ((char*)par2->argument) && (__s1_len = strlen ((char*)par1->argument), __s2_len = strlen ((char*)par2->argument), (!((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) || __s2_len >= 4)) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__builtin_constant_p ((char*)par1->argument) && ((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) && (__s1_len = strlen ((char*)par1->argument), __s1_len < 4) ? (__builtin_constant_p ((char*)par2->argument) && ((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ((char*)par2->argument); register int __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ((char*)par2->argument) && ((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) && (__s2_len = strlen ((char*)par2->argument), __s2_len < 4) ? (__builtin_constant_p ((char*)par1->argument) && ((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) ((char*)par1->argument); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[3]); } } __result; }))) : __builtin_strcmp ((char*)par1->argument, (char*)par2->argument)))); }); ; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par1->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1660, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par2->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1661, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1662, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par2)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1663, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } else { retval->argument=(tofloat(par1,context)!=tofloat(par2,context)); ; } sezvykan=1; real_pusha(retval,context,"ipret.c",1669); context->current=pullp(context); break; default: moc("notassign"); break; } } void false(js_context*context) { abuf*retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1680, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); ; retval->typ=4; retval->argument=0; real_pusha(retval,context,"ipret.c",1684); context->current=pullp(context); sezvykan=1; } void myif(js_context*context) { switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: context->current->in=0; if(tobool(real_pulla(context,"ipret.c",1697),context)) {; context->current=context->current->arg[1]; } else { ; context->current=context->current->arg[2]; } break; default: moc("myif"); break; } } void unassign(js_context*context) { abuf* par1,*par2,*retval; double pna1=0,pna3; int pna2; lns* pna; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: sezvykan=0; ; par1=real_pulla(context,"ipret.c",1724); if(!js_all_conversions){js_temp_var_for_vartest=0; if(par1->typ!=6) { delarg(par1,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can assign only to variable!\n",context); return; }} else if(par1->typ!=6) { real_pusha(par1,context,"ipret.c",1725); sezvykan=1; context->current->in=0; context->current=pullp(context); return; }; real_pusha(par1,context,"ipret.c",1726); pna=(lns*)par1->argument; par1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1729, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); if(pna->type==1) { par1->argument=pna->value; par1->typ=1; } else{ par1->typ=2; par1->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1735, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)par1->argument=vartofloat(pna,context); } real_pusha(par1,context,"ipret.c",1738); ; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1746, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par2=real_pulla(context,"ipret.c",1747); par1=real_pulla(context,"ipret.c",1748); if((par1->typ==1) &&(par2->typ==1)) { retval->typ=1; retval->argument=par1->argument-par2->argument; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1752, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par2)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1753, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } else{ retval->typ=2; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1756, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pna3=tofloat(par2,context); pna1=tofloat(par1,context); if(pna3>-(-1.7976931348623157e+308*0.01)) pna3=(-1.7976931348623157e+308*0.02); *(double*)retval->argument=pna1=mojescit(pna1,-pna3); } par1=real_pulla(context,"ipret.c",1763); pna=(lns*)par1->argument; real_pusha(retval,context,"ipret.c",1765); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1766, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); if(pna->type==15) set_var_value(pna,retval->typ,retval->argument,context); else { clearvar(pna,context); pna->type=retval->typ; if(retval->typ==2){ pna->value=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1773, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)pna->value=*(double*)retval->argument; if(((double)(pna2=(int)my_rint(pna1)))==pna1) { pna->type=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)pna->value)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1777, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); pna->value=pna2; retval->typ=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)retval->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1780, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); retval->argument=pna2; ; } } else{ pna->value=retval->argument; ; } } sezvykan=1; context->current=pullp(context); break; default: moc("unassign"); break; } } void decpref(js_context*context) { abuf*par; double par1; int pna2; lns* pna; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; par=real_pulla(context,"ipret.c",1811); js_temp_var_for_vartest=0; if(par->typ!=6) { delarg(par,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can decrement only variables!\n",context); return; }; pna=(lns*)par->argument; real_pusha(par,context,"ipret.c",1814); if(pna->type==1) { pna->value--; par->typ=1; par->argument=pna->value; }else { par->typ=2; par->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1821, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par1=vartofloat(pna,context); if(par1!=(1.7976931348623157e+308*0.03) && par1!=(1.7976931348623157e+308*0.02) && par1!=(-1.7976931348623157e+308*0.02)) par1=par1+1; if(par1>(1.7976931348623157e+308*0.01)) par1=(1.7976931348623157e+308*0.02); if(par1<(-1.7976931348623157e+308*0.01)) par1=(-1.7976931348623157e+308*0.02); *(double*)par->argument=par1; if(pna->type==15) { set_var_value(pna,2,(long)&par1,context); } else { clearvar(pna,context); pna->type=2; pna->value=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1835, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)pna->value=par1; if(((double)(pna2=(int)my_rint(par1)))==par1) { pna->type=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)pna->value)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1839, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); pna->value=pna2; par->typ=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1842, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); par->argument=pna2; ; } } } context->current->in=0; sezvykan=1; context->current=pullp(context); break; default: moc("decpref"); break; } } void minus(js_context*context) { abuf*retval=0; abuf*par1,*par2; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; par1=real_pulla(context,"ipret.c",1872); if((par1->typ==6)||(par1->typ==15)) vartoarg((lns*)par1->argument,par1,context);; real_pusha(par1,context,"ipret.c",1874); context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1882, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par2=real_pulla(context,"ipret.c",1883); if((par2->typ==6)||(par2->typ==15)) vartoarg((lns*)par2->argument,par2,context); par1=real_pulla(context,"ipret.c",1885); if((par2->typ==1) && (par1->typ==1)) { retval->typ=1; retval->argument=((int)par1->argument-(int)par2->argument); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1893, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par2)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1894, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } else{ retval->typ=2; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1898, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)retval->argument=mojescit(tofloat(par1,context),-tofloat(par2,context)); } sezvykan=1; real_pusha(retval,context,"ipret.c",1905); context->current=pullp(context); break; default: moc("minus"); break; } } void modulo(js_context*context) { abuf*retval=0; abuf*par1,*par2; double pomocny_beran,pomocny_semerad; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; retval=real_pulla(context,"ipret.c",1928); if((retval->typ==6)||(retval->typ==15)) vartoarg((lns*)retval->argument,retval,context);; real_pusha(retval,context,"ipret.c",1930); context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1938, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par2=real_pulla(context,"ipret.c",1939); if((par2->typ==6)||(par2->typ==15)) vartoarg((lns*)par2->argument,par2,context);; par1=real_pulla(context,"ipret.c",1941); if((par2->typ==1) && (par1->typ==1)) { if(!par2->argument) { retval->typ=2; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1946, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)retval->argument=(1.7976931348623157e+308*0.03); } else { retval->typ=1; retval->argument=((int)par1->argument%(int)par2->argument); } ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1956, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par2)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 1957, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } else{ retval->typ=2; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 1961, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pomocny_beran=tofloat(par1,context); pomocny_semerad=tofloat(par2,context); if((pomocny_semerad==(1.7976931348623157e+308*0.03))||(pomocny_beran==(1.7976931348623157e+308*0.03))||(pomocny_beran==(1.7976931348623157e+308*0.02))||(pomocny_beran==(-1.7976931348623157e+308*0.02))||(!pomocny_semerad)) *(double*)retval->argument=(1.7976931348623157e+308*0.03); else { if(pomocny_semerad==(1.7976931348623157e+308*0.02)) *(double*)retval->argument=fabs(pomocny_beran); else if(pomocny_semerad==(-1.7976931348623157e+308*0.02)) *(double*)retval->argument=-fabs(pomocny_beran); else *(double*)retval->argument=fmod(pomocny_beran,pomocny_semerad); } if((*(double*)retval->argument!=(1.7976931348623157e+308*0.03)) && (*(double*)retval->argument!=(1.7976931348623157e+308*0.02)) &&(*(double*)retval->argument>(1.7976931348623157e+308*0.01))) { *(double*)retval->argument=(1.7976931348623157e+308*0.01); ; } else if((*(double*)retval->argument!=(-1.7976931348623157e+308*0.02))&&(*(double*)retval->argument<(-1.7976931348623157e+308*0.01))) { *(double*)retval->argument=(-1.7976931348623157e+308*0.01); ; } } sezvykan=1; real_pusha(retval,context,"ipret.c",1989); context->current=pullp(context); break; default: moc("modulo"); break; } } void modassign(js_context*context) { abuf* par1,*par2,*retval; double pna1=0,pna3; int pna2; lns* pna; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: sezvykan=0; ; par1=real_pulla(context,"ipret.c",2011); if(!js_all_conversions){js_temp_var_for_vartest=0; if(par1->typ!=6) { delarg(par1,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can assign only to variable!\n",context); return; }} else if(par1->typ!=6) { real_pusha(par1,context,"ipret.c",2012); sezvykan=1; context->current->in=0; context->current=pullp(context); return; }; real_pusha(par1,context,"ipret.c",2013); pna=(lns*)par1->argument; par1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2016, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); if(pna->type==1) { par1->argument=pna->value; par1->typ=1; } else{ par1->typ=2; par1->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2022, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)par1->argument=vartofloat(pna,context); } real_pusha(par1,context,"ipret.c",2025); ; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2033, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par2=real_pulla(context,"ipret.c",2034); if((par2->typ==6)||(par2->typ==15)) vartoarg((lns*)par2->argument,par2,context);; par1=real_pulla(context,"ipret.c",2036); if((par1->typ==6)||(par1->typ==15)) vartoarg((lns*)par1->argument,par1,context);; if((par1->typ==1) &&(par2->typ==1)) { retval->typ=1; retval->argument=par1->argument%par2->argument; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2041, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par2)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2042, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } else{ retval->typ=2; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2045, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pna3=tofloat(par2,context); pna1=tofloat(par1,context); *(double*)retval->argument=pna1=fmod(pna1,pna3); } par1=real_pulla(context,"ipret.c",2050); pna=(lns*)par1->argument; real_pusha(retval,context,"ipret.c",2052); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2053, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); if(pna->type==15) set_var_value(pna,retval->typ,retval->argument,context); else { clearvar(pna,context); pna->type=retval->typ; if(retval->typ==2){ pna->value=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2060, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)pna->value=*(double*)retval->argument; if(((double)(pna2=(int)my_rint(pna1)))==pna1) { pna->type=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)pna->value)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2064, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); pna->value=pna2; retval->typ=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)retval->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2067, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); retval->argument=pna2; ; } } else{ pna->value=retval->argument; ; } } sezvykan=1; context->current=pullp(context); break; default: moc("modassign"); break; } } void mynull(js_context*context) { abuf*retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2086, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); ; retval->typ=3; retval->argument=0; real_pusha(retval,context,"ipret.c",2090); context->current=pullp(context); sezvykan=1; } void number(js_context*context) { abuf*retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2096, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); cislo*mynum; ; switch((mynum=(cislo*)context->current->arg[0])->typ) { case 1: ; retval->typ=1; retval->argument=mynum->nr.cele; break; case 2: ; retval->typ=2; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2109, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)retval->argument=mynum->nr.necele; break; default: {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Bug! Cislo neni ani cele, ani necele!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 2112, int_error("Bug! Cislo neni ani cele, ani necele!\n");}; retval->typ=1; retval->argument=0; break; } real_pusha(retval,context,"ipret.c",2117); context->current=pullp(context); sezvykan=1; } void bitor(js_context*context) { abuf*retval=0; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: ; context->current->in=2; pushp(context->current,context); context->current=(vrchol*)context->current->arg[1]; sezvykan=0; break; case 2: ; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2142, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=1; retval->argument=(to32int(real_pulla(context,"ipret.c",2144),context)|to32int(real_pulla(context,"ipret.c",2144),context)); real_pusha(retval,context,"ipret.c",2146); sezvykan=1; context->current->in=0; context->current=pullp(context); break; default: moc("bitor"); break; } } void orassign(js_context*context) { abuf*retval=0; abuf*par1; lns* pna; long pna1; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; par1=real_pulla(context,"ipret.c",2171); if(!js_all_conversions){js_temp_var_for_vartest=0; if(par1->typ!=6) { delarg(par1,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can assign only to variable!\n",context); return; }} else if(par1->typ!=6) { real_pusha(par1,context,"ipret.c",2172); sezvykan=1; context->current->in=0; context->current=pullp(context); return; }; real_pusha(par1,context,"ipret.c",2173); pna=(lns*)par1->argument; pna1=vartoint(pna,context); par1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2176, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par1->typ=1; par1->argument=pna1; real_pusha(par1,context,"ipret.c",2179); ; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2187, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=1; retval->argument=to32int(real_pulla(context,"ipret.c",2189),context)|to32int(real_pulla(context,"ipret.c",2189),context); par1=real_pulla(context,"ipret.c",2190); pna=(lns*)par1->argument; real_pusha(retval,context,"ipret.c",2192); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2193, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); clearvar(pna,context); if(pna->type==15) set_var_value(pna,1,retval->argument,context); else { pna->type=1; pna->value=retval->argument; } sezvykan=1; context->current=pullp(context); break; default: moc("orassign"); break; } } void logor(js_context*context) { abuf*retval=0; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: if(tobool(real_pulla(context,"ipret.c",2222),context)) { ; goto true; } ; context->current->in=2; pushp(context->current,context); context->current=(vrchol*)context->current->arg[1]; sezvykan=0; break; case 2: if(tobool(real_pulla(context,"ipret.c",2234),context)) { true: retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2235, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); ; retval->argument=1; goto basso_continuo; } else { retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2241, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->argument=0; ; basso_continuo: retval->typ=4; real_pusha(retval,context,"ipret.c",2245); sezvykan=1; context->current->in=0; context->current=pullp(context); } break; default: moc("logor"); break; } } void plus(js_context*context) { abuf*retval=0; abuf*par1,*par2; char*str1,*str2; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; retval=real_pulla(context,"ipret.c",2272); if((retval->typ==6)||(retval->typ==15)) vartoarg((lns*)retval->argument,retval,context);; real_pusha(retval,context,"ipret.c",2274); context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2282, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par2=real_pulla(context,"ipret.c",2283); if((par2->typ==6)||(par2->typ==15)) vartoarg((lns*)par2->argument,par2,context);; par1=real_pulla(context,"ipret.c",2285); if((par1->typ==6)||(par1->typ==15)) vartoarg((lns*)par1->argument,par1,context);; if((par2->typ==5) || (par1->typ==5)) { retval->typ=5; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2290, (js_js_temp_var2=(1+strlen(str1=tostring(par1,context))+ strlen(str2=tostring(par2,context))))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); strcpy((char*)retval->argument,str1); strcat((char*)retval->argument,str2); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(str1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2296, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(str2)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2297, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); }else { if((par2->typ==1) && (par1->typ==1)) { retval->typ=1; retval->argument=((int)par1->argument+(int)par2->argument); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2305, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par2)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2306, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } else{ retval->typ=2; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2310, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)retval->argument=mojescit(tofloat(par1,context),tofloat(par2,context)); } } sezvykan=1; real_pusha(retval,context,"ipret.c",2318); context->current=pullp(context); break; default: moc("plus"); break; } } void plusassign(js_context*context) { abuf* par1,*par2,*retval; char* str1,*str2; lns* pna; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: sezvykan=0; ; par1=real_pulla(context,"ipret.c",2339); if(!js_all_conversions){js_temp_var_for_vartest=0; if(par1->typ!=6) { delarg(par1,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can assign only to variable\n",context); return; }} else if(par1->typ!=6) { real_pusha(par1,context,"ipret.c",2340); sezvykan=1; context->current->in=0; context->current=pullp(context); return; }; real_pusha(par1,context,"ipret.c",2341); pna=(lns*)par1->argument; par1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2344, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); vartoarg(pna,par1,context); real_pusha(par1,context,"ipret.c",2346); ; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2354, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par2=real_pulla(context,"ipret.c",2355); if((par2->typ==6)||(par2->typ==15)) vartoarg((lns*)par2->argument,par2,context);; par1=real_pulla(context,"ipret.c",2357); if((par1->typ==6)||(par1->typ==15)) vartoarg((lns*)par1->argument,par1,context);; if((par2->typ==5) || (par1->typ==5)) { retval->typ=5; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2363, (js_js_temp_var2=(1+strlen(str1=tostring(par1,context))+ strlen(str2=tostring(par2,context))))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); strcpy((char*)retval->argument,str1); strcat((char*)retval->argument,str2); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(str1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2369, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(str2)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2370, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); }else { if((par2->typ==1) && (par1->typ==1)) { retval->typ=1; retval->argument=((int)par1->argument+(int)par2->argument); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2378, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par2)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2379, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } else{ retval->typ=2; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2383, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)retval->argument=mojescit(tofloat(par1,context),tofloat(par2,context)); } } par1=real_pulla(context,"ipret.c",2391); pna=(lns*)par1->argument; real_pusha(retval,context,"ipret.c",2393); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2394, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); if(pna->type==15) set_var_value(pna,retval->typ,retval->argument,context); else { clearvar(pna,context); switch(pna->type=retval->typ) { case 5: pna->value=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2401, (js_js_temp_var2=(strlen((char*)retval->argument)+1))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); strcpy((char*)pna->value,(char*)retval->argument); break; case 2: pna->value=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2406, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)pna->value=*(double*)retval->argument; break; case 1: pna->value=retval->argument; break; default: {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal: Unknown types in plusassign!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 2413, int_error("Internal: Unknown types in plusassign!\n");}; pna->type=1; pna->value=0; break; } } sezvykan=1; context->current=pullp(context); break; default: moc("plusassign"); break; } } void incpref(js_context*context) { abuf*par; double par1; int pna2; lns* pna; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; par=real_pulla(context,"ipret.c",2441); js_temp_var_for_vartest=0; if(par->typ!=6) { delarg(par,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can increment only variable!\n",context); return; }; pna=(lns*)par->argument; real_pusha(par,context,"ipret.c",2444); if(pna->type==1) { pna->value++; par->typ=1; par->argument=pna->value; }else { par->typ=2; par->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2451, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par1=vartofloat(pna,context); if(par1!=(1.7976931348623157e+308*0.03) && par1!=(1.7976931348623157e+308*0.02) && par1!=(-1.7976931348623157e+308*0.02)) par1=par1+1; if(par1>(1.7976931348623157e+308*0.01)) par1=(1.7976931348623157e+308*0.02); if(par1<(-1.7976931348623157e+308*0.01)) par1=(-1.7976931348623157e+308*0.02); *(double*)par->argument=par1; if(pna->type==15) { set_var_value(pna,2,(long)&par1,context); } else { clearvar(pna,context); pna->type=2; pna->value=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2466, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)pna->value=par1; if(((double)(pna2=(int)my_rint(par1)))==par1) { pna->type=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)pna->value)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2470, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); pna->value=pna2; par->typ=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2473, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); par->argument=pna2; ; } } } context->current->in=0; sezvykan=1; context->current=pullp(context); break; default: moc("incpref"); break; } } void lt(js_context*context) { abuf*retval=0; abuf*par1,*par2; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; retval=real_pulla(context,"ipret.c",2503); if((retval->typ==6)||(retval->typ==15)) vartoarg((lns*)retval->argument,retval,context);; real_pusha(retval,context,"ipret.c",2505); context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2513, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=4; par2=real_pulla(context,"ipret.c",2515); if((par2->typ==6)||(par2->typ==15)) vartoarg((lns*)par2->argument,par2,context);; par1=real_pulla(context,"ipret.c",2517); if((par1->typ==6)||(par1->typ==15)) vartoarg((lns*)par1->argument,par1,context);; if((par1->typ==5) &&(par2->typ==5)){ retval->argument=((__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ((char*)par1->argument) && __builtin_constant_p ((char*)par2->argument) && (__s1_len = strlen ((char*)par1->argument), __s2_len = strlen ((char*)par2->argument), (!((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) || __s2_len >= 4)) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__builtin_constant_p ((char*)par1->argument) && ((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) && (__s1_len = strlen ((char*)par1->argument), __s1_len < 4) ? (__builtin_constant_p ((char*)par2->argument) && ((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ((char*)par2->argument); register int __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ((char*)par2->argument) && ((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) && (__s2_len = strlen ((char*)par2->argument), __s2_len < 4) ? (__builtin_constant_p ((char*)par1->argument) && ((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) ((char*)par1->argument); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[3]); } } __result; }))) : __builtin_strcmp ((char*)par1->argument, (char*)par2->argument)))); })<0)?1:0); ; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par1->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2522, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par2->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2523, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2524, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par2)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2525, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } else { retval->argument=(tofloat(par1,context)current=pullp(context); break; default: moc("lt"); break; } } void le(js_context*context) { abuf*retval=0; abuf*par1,*par2; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; retval=real_pulla(context,"ipret.c",2554); if((retval->typ==6)||(retval->typ==15)) vartoarg((lns*)retval->argument,retval,context);; real_pusha(retval,context,"ipret.c",2556); context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2564, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=4; par2=real_pulla(context,"ipret.c",2566); if((par2->typ==6)||(par2->typ==15)) vartoarg((lns*)par2->argument,par2,context);; par1=real_pulla(context,"ipret.c",2568); if((par1->typ==6)||(par1->typ==15)) vartoarg((lns*)par1->argument,par1,context);; if((par1->typ==5) &&(par2->typ==5)){ retval->argument=((__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ((char*)par1->argument) && __builtin_constant_p ((char*)par2->argument) && (__s1_len = strlen ((char*)par1->argument), __s2_len = strlen ((char*)par2->argument), (!((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) || __s2_len >= 4)) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__builtin_constant_p ((char*)par1->argument) && ((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) && (__s1_len = strlen ((char*)par1->argument), __s1_len < 4) ? (__builtin_constant_p ((char*)par2->argument) && ((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ((char*)par2->argument); register int __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ((char*)par2->argument) && ((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) && (__s2_len = strlen ((char*)par2->argument), __s2_len < 4) ? (__builtin_constant_p ((char*)par1->argument) && ((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) ((char*)par1->argument); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[3]); } } __result; }))) : __builtin_strcmp ((char*)par1->argument, (char*)par2->argument)))); })<=0)?1:0); ; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par1->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2573, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par2->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2574, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2575, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par2)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2576, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } else { retval->argument=(tofloat(par1,context)<=tofloat(par2,context)); ; } sezvykan=1; real_pusha(retval,context,"ipret.c",2582); context->current=pullp(context); break; default: moc("le"); break; } } void shl(js_context*context) { abuf*retval=0; unsigned int i,j; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: ; retval=real_pulla(context,"ipret.c",2604); if((retval->typ==6)||(retval->typ==15)) vartoarg((lns*)retval->argument,retval,context);; real_pusha(retval,context,"ipret.c",2606); context->current->in=2; pushp(context->current,context); context->current=(vrchol*)context->current->arg[1]; sezvykan=0; break; case 2: ; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2613, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=1; i=to32int(real_pulla(context,"ipret.c",2615),context); j=to32int(real_pulla(context,"ipret.c",2616),context); retval->argument=(long)(signed int)(j<current->in=0; context->current=pullp(context); break; default: moc("shl"); break; } ; } void shlshleq(js_context*context) { abuf*retval=0; abuf*par1; lns* pna; unsigned int i,j; long pna1; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; par1=real_pulla(context,"ipret.c",2644); if(!js_all_conversions){js_temp_var_for_vartest=0; if(par1->typ!=6) { delarg(par1,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can assign only to variable!\n",context); return; }} else if(par1->typ!=6) { real_pusha(par1,context,"ipret.c",2645); sezvykan=1; context->current->in=0; context->current=pullp(context); return; }; real_pusha(par1,context,"ipret.c",2646); pna=(lns*)par1->argument; pna1=vartoint(pna,context); par1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2649, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par1->typ=1; par1->argument=pna1; real_pusha(par1,context,"ipret.c",2652); ; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; i=to32int(real_pulla(context,"ipret.c",2660),context); j=to32int(real_pulla(context,"ipret.c",2661),context); retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2662, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=1; retval->argument=(long)(signed int)(j<argument; real_pusha(retval,context,"ipret.c",2667); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2668, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); if(pna->type==15) set_var_value(pna,1,retval->argument,context); else { clearvar(pna,context); pna->type=1; pna->value=retval->argument; } sezvykan=1; context->current=pullp(context); break; default: moc("shlshleq"); break; } ; } void gt(js_context*context) { abuf*retval=0; abuf*par1,*par2; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; retval=real_pulla(context,"ipret.c",2699); if((retval->typ==6)||(retval->typ==15)) vartoarg((lns*)retval->argument,retval,context);; real_pusha(retval,context,"ipret.c",2701); context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2709, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=4; par2=real_pulla(context,"ipret.c",2711); if((par2->typ==6)||(par2->typ==15)) vartoarg((lns*)par2->argument,par2,context);; par1=real_pulla(context,"ipret.c",2713); if((par1->typ==6)||(par1->typ==15)) vartoarg((lns*)par1->argument,par1,context);; if((par1->typ==5) &&(par2->typ==5)){ retval->argument=((__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ((char*)par1->argument) && __builtin_constant_p ((char*)par2->argument) && (__s1_len = strlen ((char*)par1->argument), __s2_len = strlen ((char*)par2->argument), (!((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) || __s2_len >= 4)) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__builtin_constant_p ((char*)par1->argument) && ((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) && (__s1_len = strlen ((char*)par1->argument), __s1_len < 4) ? (__builtin_constant_p ((char*)par2->argument) && ((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ((char*)par2->argument); register int __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ((char*)par2->argument) && ((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) && (__s2_len = strlen ((char*)par2->argument), __s2_len < 4) ? (__builtin_constant_p ((char*)par1->argument) && ((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) ((char*)par1->argument); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[3]); } } __result; }))) : __builtin_strcmp ((char*)par1->argument, (char*)par2->argument)))); })>0)?1:0); ; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par1->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2718, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par2->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2719, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2720, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par2)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2721, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } else { retval->argument=(tofloat(par1,context)>tofloat(par2,context)); ; } sezvykan=1; real_pusha(retval,context,"ipret.c",2727); context->current=pullp(context); break; default: moc("gt"); break; } } void ge(js_context*context) { abuf*retval=0; abuf*par1,*par2; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; retval=real_pulla(context,"ipret.c",2750); if((retval->typ==6)||(retval->typ==15)) vartoarg((lns*)retval->argument,retval,context);; real_pusha(retval,context,"ipret.c",2752); context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2760, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=4; par2=real_pulla(context,"ipret.c",2762); if((par2->typ==6)||(par2->typ==15)) vartoarg((lns*)par2->argument,par2,context);; par1=real_pulla(context,"ipret.c",2764); if((par1->typ==6)||(par1->typ==15)) vartoarg((lns*)par1->argument,par1,context);; if((par1->typ==5) &&(par2->typ==5)){ retval->argument=((__extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p ((char*)par1->argument) && __builtin_constant_p ((char*)par2->argument) && (__s1_len = strlen ((char*)par1->argument), __s2_len = strlen ((char*)par2->argument), (!((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) || __s1_len >= 4) && (!((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) || __s2_len >= 4)) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__builtin_constant_p ((char*)par1->argument) && ((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) && (__s1_len = strlen ((char*)par1->argument), __s1_len < 4) ? (__builtin_constant_p ((char*)par2->argument) && ((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) ((char*)par2->argument); register int __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[0] - __s2[0]); if (__s1_len > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[1] - __s2[1]); if (__s1_len > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[2] - __s2[2]); if (__s1_len > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) ((char*)par1->argument))[3] - __s2[3]); } } __result; }))) : (__builtin_constant_p ((char*)par2->argument) && ((size_t)(const void *)(((char*)par2->argument) + 1) - (size_t)(const void *)((char*)par2->argument) == 1) && (__s2_len = strlen ((char*)par2->argument), __s2_len < 4) ? (__builtin_constant_p ((char*)par1->argument) && ((size_t)(const void *)(((char*)par1->argument) + 1) - (size_t)(const void *)((char*)par1->argument) == 1) ? __builtin_strcmp ((char*)par1->argument, (char*)par2->argument) : (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) ((char*)par1->argument); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[0]; if (__s2_len > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[1]); if (__s2_len > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[2]); if (__s2_len > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) ((char*)par2->argument))[3]); } } __result; }))) : __builtin_strcmp ((char*)par1->argument, (char*)par2->argument)))); })>=0)?1:0); ; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par1->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2769, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par2->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2770, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2771, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par2)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2772, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } else { retval->argument=(tofloat(par1,context)>=tofloat(par2,context)); ; } sezvykan=1; real_pusha(retval,context,"ipret.c",2778); context->current=pullp(context); break; default: moc("ge"); break; } } void shr(js_context*context) { abuf*retval=0; unsigned int i,j; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: ; retval=real_pulla(context,"ipret.c",2800); if((retval->typ==6)||(retval->typ==15)) vartoarg((lns*)retval->argument,retval,context);; real_pusha(retval,context,"ipret.c",2802); context->current->in=2; pushp(context->current,context); context->current=(vrchol*)context->current->arg[1]; sezvykan=0; break; case 2: ; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2809, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=1; i=to32int(real_pulla(context,"ipret.c",2811),context); j=to32int(real_pulla(context,"ipret.c",2812),context); retval->argument=(long)(signed int)(j>>i); real_pusha(retval,context,"ipret.c",2814); sezvykan=1; context->current->in=0; context->current=pullp(context); break; default: moc("shr"); break; } ; } void shrshreq(js_context*context) { abuf*retval=0; abuf*par1; lns* pna; unsigned int i,j; long pna1; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; par1=real_pulla(context,"ipret.c",2840); if(!js_all_conversions){js_temp_var_for_vartest=0; if(par1->typ!=6) { delarg(par1,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can assign only to variable!\n",context); return; }} else if(par1->typ!=6) { real_pusha(par1,context,"ipret.c",2841); sezvykan=1; context->current->in=0; context->current=pullp(context); return; }; real_pusha(par1,context,"ipret.c",2842); pna=(lns*)par1->argument; pna1=vartoint(pna,context); par1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2845, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par1->typ=1; par1->argument=pna1; real_pusha(par1,context,"ipret.c",2848); ; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; i=to32int(real_pulla(context,"ipret.c",2856),context); j=to32int(real_pulla(context,"ipret.c",2857),context); retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2858, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=1; retval->argument=(long)(signed int)(j>>i); par1=real_pulla(context,"ipret.c",2861); pna=(lns*)par1->argument; real_pusha(retval,context,"ipret.c",2863); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2864, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); if(pna->type==15) set_var_value(pna,1,retval->argument,context); else { clearvar(pna,context); pna->type=1; pna->value=retval->argument; } sezvykan=1; context->current=pullp(context); break; default: moc("shrshreq"); break; } ; } void shrshrshr(js_context*context) { abuf*retval=0; unsigned int i,j; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: ; retval=real_pulla(context,"ipret.c",2894); if((retval->typ==6)||(retval->typ==15)) vartoarg((lns*)retval->argument,retval,context);; real_pusha(retval,context,"ipret.c",2896); context->current->in=2; pushp(context->current,context); context->current=(vrchol*)context->current->arg[1]; sezvykan=0; break; case 2: ; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2903, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=1; i=to32int(real_pulla(context,"ipret.c",2905),context); j=to32int(real_pulla(context,"ipret.c",2906),context); retval->argument=(long)(signed int)(j>>i); real_pusha(retval,context,"ipret.c",2908); sezvykan=1; context->current->in=0; context->current=pullp(context); break; default: moc("shrshrshr"); break; } ; } void string(js_context*context) { abuf*retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2920, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); ; retval->typ=5; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2923, (js_js_temp_var2=(1+strlen(context->current->arg[0])))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); strcpy((char*)retval->argument,(char*)context->current->arg[0]); real_pusha(retval,context,"ipret.c",2925); context->current=pullp(context); sezvykan=1; } void regexp(js_context*context) { abuf*retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2931, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); ; retval->typ=5; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2934, (js_js_temp_var2=(1+strlen(context->current->arg[0])))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); strcpy((char*)retval->argument,(char*)context->current->arg[0]); real_pusha(retval,context,"ipret.c",2936); context->current=pullp(context); sezvykan=1; } void this(js_context*context) { abuf*retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2942, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); ; retval->typ=10; retval->argument=(long)context->lnamespace; real_pusha(retval,context,"ipret.c",2946); context->current=pullp(context); sezvykan=1; } void threerighteq(js_context*context) { abuf*retval=0; abuf*par1; lns* pna; unsigned int i,j; long pna1; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; par1=real_pulla(context,"ipret.c",2966); if(!js_all_conversions){js_temp_var_for_vartest=0; if(par1->typ!=6) { delarg(par1,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can assign only to variable\n",context); return; }} else if(par1->typ!=6) { real_pusha(par1,context,"ipret.c",2967); sezvykan=1; context->current->in=0; context->current=pullp(context); return; }; real_pusha(par1,context,"ipret.c",2968); pna=(lns*)par1->argument; pna1=vartoint(pna,context); par1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2971, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par1->typ=1; par1->argument=pna1; real_pusha(par1,context,"ipret.c",2974); ; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; i=to32int(real_pulla(context,"ipret.c",2982),context); j=to32int(real_pulla(context,"ipret.c",2983),context); retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 2984, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=1; retval->argument=(long)(signed int)(j>>i); par1=real_pulla(context,"ipret.c",2987); pna=(lns*)par1->argument; real_pusha(retval,context,"ipret.c",2989); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 2990, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); if(pna->type==15) set_var_value(pna,1,retval->argument,context); else { clearvar(pna,context); pna->type=1; pna->value=retval->argument; } sezvykan=1; context->current=pullp(context); break; default: moc("threerighteq"); break; } ; } void mulassign(js_context*context) { abuf*retval=0; abuf*par1; lns* pna; int pna2; double pna1,pna3; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; par1=real_pulla(context,"ipret.c",3022); if(!js_all_conversions){js_temp_var_for_vartest=0; if(par1->typ!=6) { delarg(par1,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can assign only to variable!\n",context); return; }} else if(par1->typ!=6) { real_pusha(par1,context,"ipret.c",3023); sezvykan=1; context->current->in=0; context->current=pullp(context); return; }; real_pusha(par1,context,"ipret.c",3024); pna=(lns*)par1->argument; pna1=vartofloat(pna,context); par1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3027, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par1->typ=2; par1->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3029, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)par1->argument=pna1; real_pusha(par1,context,"ipret.c",3031); ; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3039, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=2; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3041, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pna3=tofloat(real_pulla(context,"ipret.c",3042),context); pna1=tofloat(real_pulla(context,"ipret.c",3043),context); *(double*)retval->argument=pna1=mojenas(pna1,pna3); par1=real_pulla(context,"ipret.c",3045); pna=(lns*)par1->argument; real_pusha(retval,context,"ipret.c",3047); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 3048, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); if(pna->type==15) set_var_value(pna,retval->typ,retval->argument,context); else { clearvar(pna,context); pna->type=2; pna->value=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3055, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)pna->value=*(double*)retval->argument; if(((double)(pna2=(int)my_rint(pna1)))==pna1) { pna->type=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)pna->value)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 3059, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); pna->value=pna2; retval->typ=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)retval->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 3062, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); retval->argument=pna2; ; } } sezvykan=1; context->current=pullp(context); break; default: moc("mulassign"); break; } } void true(js_context*context) { abuf*retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3077, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); ; retval->typ=4; retval->argument=1; real_pusha(retval,context,"ipret.c",3081); context->current=pullp(context); sezvykan=1; } void mytypeof(js_context*context) { abuf* arg; int typ; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: ; sezvykan=1; arg=real_pulla(context,"ipret.c",3098); if((arg->typ==6)||(arg->typ==15)) vartoarg((lns*)arg->argument,arg,context);; typ=arg->typ; delarg(arg,context); arg=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3102, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); arg->typ=5; arg->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3104, (js_js_temp_var2=(15))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); switch(typ) { case 1: case 2: strcpy((char*)arg->argument,"number"); break; case 0: strcpy((char*)arg->argument,"undefined"); break; case 3: case 10: case 11: case 13: strcpy((char*)arg->argument,"object"); break; case 4: strcpy((char*)arg->argument,"boolean"); break; case 5: strcpy((char*)arg->argument,"string"); break; case 7: case 8: strcpy((char*)arg->argument,"function"); break; default: {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal: Detecting strange type!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3130, int_error("Internal: Detecting strange type!\n");}; strcpy((char*)arg->argument,"undefined"); break; } real_pusha(arg,context,"ipret.c",3134); context->current->in=0; context->current=pullp(context); break; default: moc("mytypeof"); break; } } void var(js_context*context) { abuf*var; long pop; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: ; context->current->in=0; var=real_pulla(context,"ipret.c",3156); if(var->typ==6) create(((lns*)var->argument)->identifier,context->lnamespace,context); else if((pop=((vrchol*)context->current->arg[0])->opcode)!=114 && pop!=95) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Divny typ v inicializaci promenne!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3161, int_error("Divny typ v inicializaci promenne!\n");}; var=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3162, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); var->typ=0; var->argument=0; sezvykan=1; real_pusha(var,context,"ipret.c",3166); context->current=pullp(context); return; } delarg(var,context); var=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3171, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); var->typ=0; var->argument=0; real_pusha(var,context,"ipret.c",3174); sezvykan=1; context->current=pullp(context); break; default: moc("var"); break; } } void myvoid(js_context*context) { abuf*retval=0; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: ; sezvykan=1; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3195, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=0; retval->argument=0; delarg(real_pulla(context,"ipret.c",3198),context); real_pusha(retval,context,"ipret.c",3199); context->current->in=0; context->current=pullp(context); break; default: moc("myvoid"); break; } } void xor(js_context*context) { abuf*retval=0; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: ; context->current->in=2; pushp(context->current,context); context->current=(vrchol*)context->current->arg[1]; sezvykan=0; break; case 2: ; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3230, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=1; retval->argument=(to32int(real_pulla(context,"ipret.c",3232),context)^to32int(real_pulla(context,"ipret.c",3232),context)); real_pusha(retval,context,"ipret.c",3234); sezvykan=1; context->current->in=0; context->current=pullp(context); break; default: moc("xor"); break; } } void xorassign(js_context*context) { abuf*retval=0; abuf*par1; lns* pna; long pna1; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; par1=real_pulla(context,"ipret.c",3259); if(!js_all_conversions){js_temp_var_for_vartest=0; if(par1->typ!=6) { delarg(par1,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can assign only to variable!\n",context); return; }} else if(par1->typ!=6) { real_pusha(par1,context,"ipret.c",3260); sezvykan=1; context->current->in=0; context->current=pullp(context); return; }; real_pusha(par1,context,"ipret.c",3261); pna=(lns*)par1->argument; pna1=vartoint(pna,context); par1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3264, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); par1->typ=1; par1->argument=pna1; real_pusha(par1,context,"ipret.c",3267); ; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3275, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=1; retval->argument=to32int(real_pulla(context,"ipret.c",3277),context)^to32int(real_pulla(context,"ipret.c",3277),context); par1=real_pulla(context,"ipret.c",3278); pna=(lns*)par1->argument; real_pusha(retval,context,"ipret.c",3280); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(par1)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 3281, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); if(pna->type==15) set_var_value(pna,1,retval->argument,context); else { clearvar(pna,context); pna->type=1; pna->value=retval->argument; } sezvykan=1; context->current=pullp(context); break; default: moc("xorassign"); break; } } void mywhile(js_context*context) { abuf*retval=0; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: context->current->in=2; if(tobool(real_pulla(context,"ipret.c",3307),context)) {; sezvykan=0; pushp(context->current,context); context->current=context->current->arg[1]; } else { ; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3313, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=0; retval->argument=0; real_pusha(retval,context,"ipret.c",3316); sezvykan=1; context->current->in=0; context->current=pullp(context); } break; case 2: ; sezvykan=0; delarg(real_pulla(context,"ipret.c",3324),context); context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; default: moc("mywhile"); break; } } void mydowhile(js_context*context) { abuf*pom; if(!context->current->in) { pom=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3338, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pom->typ=4; pom->argument=1; real_pusha(pom,context,"ipret.c",3341); context->current->in=1; } mywhile(context); } void for1(js_context*context) { vrchol*pomocny_byva_casto_nemocny=0; abuf*retval=0; switch(context->current->in) { case 0: ; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: context->current->in=3; if(tobool(real_pulla(context,"ipret.c",3357),context)) {; sezvykan=0; pomocny_byva_casto_nemocny=context->current; context->current=context->current->arg[3]; pushp(pomocny_byva_casto_nemocny,context); } else { ; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3364, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=0; retval->argument=0; real_pusha(retval,context,"ipret.c",3367); sezvykan=1; context->current->in=0; context->current=pullp(context); } break; case 2: ; sezvykan=0; delarg(real_pulla(context,"ipret.c",3375),context); context->current->in=1; pushp(context->current,context); context->current=context->current->arg[1]; break; case 3: ; sezvykan=0; delarg(real_pulla(context,"ipret.c",3382),context); context->current->in=2; pushp(context->current,context); context->current=context->current->arg[2]; break; default: moc("for1"); break; } } void for2(js_context*context) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Ale h0vn0!!!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3394, int_error("Ale h0vn0!!!\n");}; js_error("Unimplemented version of for command ",context); } void for3(js_context*context) { abuf*retval,*pombuf; lns*fakevar,*pomvar; js_id_name * pna; char* jmeno_pne; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[1]; sezvykan=0; break; case 1: context->current->in=2; ; pombuf=real_pulla(context,"ipret.c",3418); if((pombuf->typ==6)||(pombuf->typ==15)) vartoarg((lns*)pombuf->argument,pombuf,context);; if(pombuf->typ!=10 && pombuf->typ!=11) { js_error("for ... in allowed only for objects!",context); retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3422, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=0; retval->argument=0; real_pusha(retval,context,"ipret.c",3425); delarg(pombuf,context); return; } fakevar=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3429, (js_js_temp_var2=(sizeof(lns)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); context->current->arg[3]=fakevar; fakevar->type=11; fakevar->value=pombuf->argument; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(pombuf)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 3433, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); pomvar=lookup(MIN1KEY,(plns*)fakevar->value,context); if(pomvar->type!=14) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Parent list corrupted!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3436, int_error("Parent list corrupted!\n");}; js_error("Error in for...in ",context); retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3438, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=0; retval->argument=0; real_pusha(retval,context,"ipret.c",3441); return; } add_to_parlist(fakevar,pomvar); pushp(context->current,context); context->current=context->current->arg[0]; ; sezvykan=0; break; case 2: ; pombuf=real_pulla(context,"ipret.c",3451); if(pombuf->typ!=6) js_error("for ... in should assign to variable!",context); context->current->in=3; context->current->arg[4]=(void*)pombuf->argument; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(pombuf)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 3456, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); pombuf=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3457, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pombuf->typ=0; pombuf->argument=0; real_pusha(pombuf,context,"ipret.c",3460); context->current->arg[5]=0; context->current->arg[6]=0; sezvykan=0; break; case 3: ; if(!context->current->arg[6]) nebo_skrtnem_sirkou: while(!context->current->arg[6] && ((long)context->current->arg[5])<128) { context->current->arg[6]=((plns*)((lns*)context->current->arg[3])->value)->ns[(long)context->current->arg[5]]; context->current->arg[5]=(void *)((long)context->current->arg[5]+1); } else { context->current->arg[6]=((lns*)context->current->arg[6])->next; while(!context->current->arg[6] && ((long)context->current->arg[5])<128) { context->current->arg[6]=((plns*)((lns*)context->current->arg[3])->value)->ns[(long)context->current->arg[5]]; context->current->arg[5]=(void *)((long)context->current->arg[5]+1); } } if(!context->current->arg[6]) { context->current->in=0; context->current->arg[5]=0; context->current->arg[4]=0; clearvar((lns*)context->current->arg[3],context); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(context->current->arg[3])))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 3496, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); context->current->arg[3]=0; delarg(real_pulla(context,"ipret.c",3498),context); retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3499, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=0; retval->argument=0; real_pusha(retval,context,"ipret.c",3502); context->current=pullp(context); sezvykan=1; return; } if((((lns*)context->current->arg[6])->type==7) || (((lns*)context->current->arg[6])->type==8) || (((lns*)context->current->arg[6])->identifier==MIN1KEY)) { context->current->arg[6]=((lns*)context->current->arg[6])->next; goto nebo_skrtnem_sirkou; } pna=context->namespace[((long)context->current->arg[5])-1]; while(pna && (pna->klic!=((lns*)context->current->arg[6])->identifier/128))pna=pna->next; if(!pna){ {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Kalim mimo misu!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3515, int_error("Kalim mimo misu!\n");}; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3516, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=0; retval->argument=0; real_pusha(retval,context,"ipret.c",3519); js_error("Error in for...in ",context); return; } jmeno_pne=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3523, (js_js_temp_var2=(strlen(pna->jmeno)+1))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); strcpy(jmeno_pne,pna->jmeno); clearvar((lns*)context->current->arg[4],context); ((lns*)context->current->arg[4])->type=5; ((lns*)context->current->arg[4])->value=(long)jmeno_pne; pushp(context->current,context); context->current=context->current->arg[2]; sezvykan=0; delarg(real_pulla(context,"ipret.c",3531),context); break; } } void pokracuj(js_context*context) { vrchol*parenti; abuf*arg1; plns*pom; ; parenti=pullp(context); while((parenti)&&(parenti->opcode !=74)&&(parenti->opcode!=76)&& (parenti->opcode!=72)&&(parenti->opcode!=116)&& (parenti->opcode!=95)) { if(parenti->opcode==80) { ; arg1=real_pulla(context,"ipret.c",3551); if((arg1->typ!=10) && (arg1->typ!=10)) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal: Lost addrspace by continue!!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3553, int_error("Internal: Lost addrspace by continue!!\n");}; js_error("Strange addrspace manipulation by scope resolution ",context); return; } pom=context->lnamespace; pomocna_promenna_kvuli_with=lookup(MIN1KEY,pom,context); if(pomocna_promenna_kvuli_with->type!=14) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Parentlist corrupted!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3558, int_error("Parentlist corrupted!\n");}; } delete_from_parlist(&fotr_je_lotr,pomocna_promenna_kvuli_with);; context->lnamespace=pom->next; pom->next=(plns*)arg1->argument; arg1->argument=(long)pom; delarg(arg1,context); } if(parenti->opcode==118) { ; delarg(real_pulla(context,"ipret.c",3568),context); } parenti->in=0; parenti=pullp(context); } if(!parenti || parenti->opcode==95) { js_error("You called continue out of cycle!!\n",context); return; } arg1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3578, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); arg1->typ=0; arg1->argument=0; real_pusha(arg1,context,"ipret.c",3581); sezvykan=1; context->current=parenti; ; } void breakni(js_context*context) { vrchol*parenti; abuf*arg1; plns*pom; ; parenti=pullp(context); while((parenti)&&(parenti->opcode !=74)&&(parenti->opcode!=76)&& (parenti->opcode!=72)&&(parenti->opcode!=116) &&(parenti->opcode!=118) &&(parenti->opcode!=95)) { if(parenti->opcode==80) { ; arg1=real_pulla(context,"ipret.c",3603); if((arg1->typ!=10)&&(arg1->typ!=10)) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal: Lost addrspace by break!!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3605, int_error("Internal: Lost addrspace by break!!\n");}; js_error("Invalid addrspace manipulation by break ",context); return; } pom=context->lnamespace; pomocna_promenna_kvuli_with=lookup(MIN1KEY,pom,context); if(pomocna_promenna_kvuli_with->type!=14) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Parentlist corrupted!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3610, int_error("Parentlist corrupted!\n");}; } delete_from_parlist(&fotr_je_lotr,pomocna_promenna_kvuli_with);; context->lnamespace=pom->next; pom->next=(plns*)arg1->argument; arg1->argument=(long)pom; delarg(arg1,context); } parenti->in=0; parenti=pullp(context); } if(!parenti || parenti->opcode==95) { js_error("You called break out of cycle!!\n",context); return; } if(parenti->opcode==118) { ; delarg(real_pulla(context,"ipret.c",3626),context); } arg1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3628, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); arg1->typ=0; arg1->argument=0; real_pusha(arg1,context,"ipret.c",3631); parenti->in=0; if(parenti->opcode==76) { parenti->arg[5]=parenti->arg[4]=0; clearvar((lns*)parenti->arg[3],context); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(parenti->arg[3])))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 3636, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ; } sezvykan=1; context->current=pullp(context); ; } void vrat(js_context*context) { vrchol*parenti; abuf*arg1,*arg2; plns*pom; ; switch(context->current->in) { case 0: ; context->current->in=1; if(context->current->arg[0]) { pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; } else { arg1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3660, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); arg1->typ=0; arg1->argument=0; real_pusha(arg1,context,"ipret.c",3663); } break; case 1: ; context->current->in=0; arg2=real_pulla(context,"ipret.c",3668); if((arg2->typ==6)||(arg2->typ==15)) vartoarg((lns*)arg2->argument,arg2,context);; parenti=pullp(context); while((parenti)&&(parenti->opcode!=95)) { if(parenti->opcode==80) { ; arg1=real_pulla(context,"ipret.c",3674); if((arg1->typ!=10)&&(arg1->typ!=10)) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal: Lost addrspace by return!!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3676, int_error("Internal: Lost addrspace by return!!\n");}; js_error("Bad addrspace manipulation near return ",context); return; } pom=context->lnamespace; pomocna_promenna_kvuli_with=lookup(MIN1KEY,pom,context); if(pomocna_promenna_kvuli_with->type!=14) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Parentlist corrupted!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3681, int_error("Parentlist corrupted!\n");}; } delete_from_parlist(&fotr_je_lotr,pomocna_promenna_kvuli_with);; context->lnamespace=pom->next; pom->next=(plns*)arg1->argument; arg1->argument=(long)pom; delarg(arg1,context); } if(parenti->opcode==118) delarg(real_pulla(context,"ipret.c",3688),context); if(parenti->opcode==76) { ; parenti->arg[5]=parenti->arg[4]=0; clearvar((lns*)parenti->arg[3],context); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(parenti->arg[3])))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 3693, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } parenti->in=0; parenti=pullp(context); } real_pusha(arg2,context,"ipret.c",3698); if(!parenti) { ; } sezvykan=1; context->current=parenti; ; break; default: moc("vrat"); break; } } void with(js_context*context) { abuf* arg,*prevpar; plns* pom; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: ; context->current->in=2; arg=real_pulla(context,"ipret.c",3725); js_temp_var_for_vartest=0; if(arg->typ!=6) { delarg(arg,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("\"With\" is better with variable!\n",context); return; }; if((arg->typ==6)||(arg->typ==15)) vartoarg((lns*)arg->argument,arg,context);; if((arg->typ!=10)&&(arg->typ!=11)) { delarg(arg,context); js_error("Usually we do \"with\" with object!\n",context); return; } prevpar=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3733, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); prevpar->typ=10; prevpar->argument=(long)(pom=(plns*)arg->argument)->next; pom->next=context->lnamespace; pomocna_promenna_kvuli_with=lookup(MIN1KEY,pom,context); if(pomocna_promenna_kvuli_with->type!=14) {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Parentlist corrupted!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3737, int_error("Parentlist corrupted!\n");}; add_to_parlist(&fotr_je_lotr,pomocna_promenna_kvuli_with);; context->lnamespace=pom; real_pusha(prevpar,context,"ipret.c",3739); delarg(arg,context); sezvykan=0; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; prevpar=real_pulla(context,"ipret.c",3747); arg=real_pulla(context,"ipret.c",3748); real_pusha(prevpar,context,"ipret.c",3749); if(arg->typ!=10) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal: Lost addrspace in with statement!!!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3751, int_error("Internal: Lost addrspace in with statement!!!\n");}; js_error("Error handling addrspace near with statement ",context); return; } pom=context->lnamespace; pomocna_promenna_kvuli_with=lookup(MIN1KEY,pom,context); if(pomocna_promenna_kvuli_with->type!=14) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Parentlist corrupted!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3756, int_error("Parentlist corrupted!\n");}; } delete_from_parlist(&fotr_je_lotr,pomocna_promenna_kvuli_with);; context->lnamespace=pom->next; pom->next=(plns*)arg->argument; arg->argument=(long)pom; delarg(arg,context); sezvykan=1; context->current=pullp(context); break; default: moc("with"); break; } } void identifier(js_context*context) { abuf*retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3771, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); ; retval->typ=6; retval->argument=(long)lookup((long)context->current->arg[0],context->lnamespace,context); real_pusha(retval,context,"ipret.c",3775); sezvykan=1; context->current=pullp(context); } void program(js_context*context) { abuf*pending_argument; varlist*svinec; struct jsnslist*sirotci; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: ; context->current->in=0; if(context->current->arg[1]) { pending_argument=real_pulla(context,"ipret.c",3803); delarg(pending_argument,context); context->current=(vrchol*)context->current->arg[1]; } else { context->current=pullp(context); sezvykan=1; } if(!context->depth1) { while((svinec=context->mrtve_promenne)) { context->mrtve_promenne=context->mrtve_promenne->next; clearvar(svinec->lekla_ryba,context); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(svinec->lekla_ryba)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 3814, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(svinec)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 3815, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ; } while((sirotci=context->first_ns)) { deletenamespace(sirotci->pns,context); context->first_ns=context->first_ns->next; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(sirotci)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 3821, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ; } context->last_ns=&context->first_ns; } break; default: moc("program"); break; } } void funkce(js_context*context) { abuf*arg,*a1,*a2; plns*nnspc; lns* funk,*pom; switch(context->current->in) { case 0: ; if(context->current->arg[0]) { context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; } else{ ; context->current->in=0; sezvykan=1; context->current=pullp(context); arg=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3847, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); arg->typ=0; arg->argument=0; real_pusha(arg,context,"ipret.c",3850); } break; case 1: ; arg=real_pulla(context,"ipret.c",3854); if(arg->typ!=6) { delarg(arg,context); if(!js_all_conversions) js_error("Defining function nowhere ",context); else { arg=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3859, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); arg->typ=0; arg->argument=0; real_pusha(arg,context,"ipret.c",3862); sezvykan=1; context->current->in=0; context->current=pullp(context); } return; } funk=create(((lns*)arg->argument)->identifier,context->lnamespace,context); funk->type=7; funk->value=(long)context->current; delarg(arg,context); arg=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3873, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); arg->typ=0; arg->argument=0; real_pusha(arg,context,"ipret.c",3876); context->current->in=0; if(!context->current->arg[3]) { sezvykan=1; context->current=pullp(context); } else{ context->current=context->current->arg[3]; sezvykan=0; } break; case 100: context->current->in=101; ; sto: sezvykan=0; if(context->depth1++>js_fun_depth) js_error("Too deep function-call structure",context); pushp(context->current,context); context->current=context->current->arg[1]; break; case 101: ; context->current->in=102; sto_jenda: sezvykan=0; a1=real_pulla(context,"ipret.c",3898); a2=real_pulla(context,"ipret.c",3899); nnspc=newnamespace(a1,a2,context); pom=create(MIN1KEY,nnspc,context); pom->type=14; pom->value=0; add_to_parlist(&fotr_je_lotr,pom); nnspc->next=context->lnamespace; context->lnamespace=nnspc; context->fotrisko=context->lnamespace; pushp(context->current,context); context->current=context->current->arg[2]; break; case 102: if(--context->depth1<0) { ; context->depth1=0; } ; context->current->in=0; nnspc=context->lnamespace; context->lnamespace=context->lnamespace->next; context->fotrisko=context->lnamespace; arg=real_pulla(context,"ipret.c",3922); if((arg->typ==6)||(arg->typ==15)) vartoarg((lns*)arg->argument,arg,context);; pom=lookup(MIN1KEY,nnspc,context); if(pom->type!=14) {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Parentlist je podplacen!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3925, int_error("Parentlist je podplacen!\n");}; delete_from_parlist(&fotr_je_lotr,pom); if((arg->typ==10)||(arg->typ==11)||(arg->typ==13)) { pom=lookup(MIN1KEY,(plns*)arg->argument,context); if(pom->type!=14) {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Parentlist podplacen!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3929, int_error("Parentlist podplacen!\n");}; add_to_parlist(&fotr_je_lotr,pom); } else pom=0; a1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3933, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); a1->typ=10; a1->argument=(long)nnspc; delarg(a1,context); if(pom) delete_from_parlist(&fotr_je_lotr,pom); real_pusha(arg,context,"ipret.c",3940); if(!context->lnamespace) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal: Bacha! Podtekl namespace!!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3943, int_error("Internal: Bacha! Podtekl namespace!!\n");}; js_error("Invalid namespace manipulation ",context); return; } sezvykan=1; context->current=pullp(context); break; case 200: ; context->current->in=201; goto sto; break; case 201: ; context->current->in=202; goto sto_jenda; break; case 202: if(--context->depth1<0) { ; context->depth1=0; } ; context->current->in=0; delarg(real_pulla(context,"ipret.c",3967),context); arg=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 3968, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); arg->typ=10; arg->argument=(long)context->lnamespace; pom=lookup(MIN1KEY,(plns*)context->lnamespace,context); if(pom->type!=14) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Parent list corrupted!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3973, int_error("Parent list corrupted!\n");}; sezvykan=1; context->current=pullp(context); return; } delete_from_parlist(&fotr_je_lotr,pom); real_pusha(arg,context,"ipret.c",3979); context->lnamespace=context->lnamespace->next; context->fotrisko=context->lnamespace; if(!context->lnamespace) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal: Bacha! Podtekl namespace!!!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 3983, int_error("Internal: Bacha! Podtekl namespace!!!\n");}; js_error("Invalid namespace manipulation ",context); return; } sezvykan=1; context->current=pullp(context); break; default: moc("funkce"); break; } } void multiply(js_context*context) { abuf*retval=0; double pna1,pna3; int pna2; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; retval=real_pulla(context,"ipret.c",4011); if((retval->typ==6)||(retval->typ==15)) vartoarg((lns*)retval->argument,retval,context);; real_pusha(retval,context,"ipret.c",4013); context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4021, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=2; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4023, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pna3=tofloat(real_pulla(context,"ipret.c",4024),context); pna1=tofloat(real_pulla(context,"ipret.c",4025),context); *(double*)retval->argument=pna1=mojenas(pna1,pna3); real_pusha(retval,context,"ipret.c",4027); sezvykan=1; context->current=pullp(context); if(((double)(pna2=(int)my_rint(pna1)))==pna1) { retval->typ=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)retval->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4032, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); retval->argument=pna2; ; } break; default: moc("multiply"); break; } } void divide(js_context*context) { abuf*retval=0; double pna1,pna3; int pna2; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; retval=real_pulla(context,"ipret.c",4058); if((retval->typ==6)||(retval->typ==15)) vartoarg((lns*)retval->argument,retval,context);; real_pusha(retval,context,"ipret.c",4060); context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4068, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=2; retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4070, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pna3=tofloat(real_pulla(context,"ipret.c",4071),context); pna1=tofloat(real_pulla(context,"ipret.c",4072),context); *(double*)retval->argument=pna1=mojenas(pna1,mojeinv(pna3)); real_pusha(retval,context,"ipret.c",4074); sezvykan=1; context->current=pullp(context); if(((double)(pna2=(int)my_rint(pna1)))==pna1) { retval->typ=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)retval->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4079, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); retval->argument=pna2; ; } break; default: moc("divide"); break; } } void complement(js_context*context) { abuf*retval; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4100, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=1; retval->argument=~to32int(real_pulla(context,"ipret.c",4103),context); real_pusha(retval,context,"ipret.c",4104); context->current->in=0; sezvykan=1; context->current=pullp(context); break; default: moc("complement"); break; } } void parametry(js_context*context) { abuf * a1,*a2,*a3; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; sezvykan=0; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; break; case 2: ; context->current->in=0; a1=real_pulla(context,"ipret.c",4133); a2=real_pulla(context,"ipret.c",4134); a3=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4135, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); a3->typ=9; a3->argument=(long)a2; a3->a1=(long)a1; real_pusha(a3,context,"ipret.c",4139); sezvykan=1; context->current=pullp(context); break; default: moc("parametry"); break; } } void statementy(js_context*context) { ; program(context); } void zaporne(js_context*context) { abuf*retval; int pna2; double hodnota; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4165, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=2; hodnota=tofloat(real_pulla(context,"ipret.c",4168),context); if(hodnota!=(1.7976931348623157e+308*0.03) && hodnota!=(1.7976931348623157e+308*0.02) && hodnota!=(-1.7976931348623157e+308*0.02)) hodnota=-hodnota; if(hodnota!=(1.7976931348623157e+308*0.03)) { if(hodnota>(1.7976931348623157e+308*0.01)) hodnota=(1.7976931348623157e+308*0.02); if(hodnota<(-1.7976931348623157e+308*0.01)) hodnota=(-1.7976931348623157e+308*0.02); } retval->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4177, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)retval->argument=hodnota; if(((double)(pna2=(int)my_rint(hodnota)))==hodnota) { retval->typ=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)retval->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4182, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); retval->argument=pna2; ; } real_pusha(retval,context,"ipret.c",4187); context->current->in=0; sezvykan=1; context->current=pullp(context); break; default: moc("zaporne"); break; } } void thisccall(js_context*context) { abuf*pomarg=0,*p1=0; ; switch(context->current->in) { case 0: ; pomarg=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4203, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pomarg->typ=10; pomarg->argument=(long)context->lnamespace->next; real_pusha(pomarg,context,"ipret.c",4206); context->lnamespace->next=0; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; p1=real_pulla(context,"ipret.c",4213); pomarg=real_pulla(context,"ipret.c",4214); real_pusha(p1,context,"ipret.c",4215); if(pomarg->typ!=10) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","FATAL Error! Buffer leak implies namespace leak!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 4217, int_error("FATAL Error! Buffer leak implies namespace leak!\n");}; js_error("Strange addrspace ",context); return; } context->lnamespace->next=(plns*)pomarg->argument; context->current->in=0; sezvykan=1; context->current=pullp(context); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(pomarg)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4225, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); break; default: moc("thisccall"); break; } } void idccall(js_context*context) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Ale h0vn0!!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 4234, int_error("Ale h0vn0!!\n");}; js_error("Unsupported constructor call ",context); } void functioncall(js_context*); void eccall(js_context*context) { abuf*arg; if(context->current->in!=2) {; functioncall(context);} else { ; arg=real_pulla(context,"ipret.c",4244); context->current->in=0; js_temp_var_for_vartest=0; if(arg->typ!=6) { delarg(arg,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can execute only function-type vars!\n",context); return; }; if(((lns*)arg->argument)->type==7) { context->current=(vrchol*)((lns*)arg->argument)->value; context->current->in=200; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(arg)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4250, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); } else if(((lns*)arg->argument)->type==8) { real_pusha(arg,context,"ipret.c",4254); context->current->in=2; functioncall(context); } else{ delarg(arg,context); js_error("You can call only function-type vars!\n",context); return; } } } void conscall(js_context*context) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Funkce conscall byla preci obsoletizovana!!!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 4267, int_error("Funkce conscall byla preci obsoletizovana!!!\n");}; js_error("Unsupported constructor call ",context); } void member(js_context*context) { abuf*retval,*nans,*pom; vrchol*pomvrch; long pomv; lns*pomvar,*pomvar1; varlist* svinec; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; context->current->in=2; nans=real_pulla(context,"ipret.c",4286); if((nans->typ==6)||(nans->typ==15)) vartoarg((lns*)nans->argument,nans,context);; if(nans->typ!=10 && nans->typ!=13) { if((pomvrch=(vrchol*)context->current->arg[1])->opcode!=89) { delarg(nans,context); if(!js_all_conversions) js_error("Strange dereference by non-object type variable!\n",context); nans=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4296, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); nans->typ=0; nans->argument=0; real_pusha(nans,context,"ipret.c",4299); context->current->in=0; sezvykan=1; context->current=pullp(context); return; } real_pusha(nans,context,"ipret.c",4305); pomv=(long)pomvrch->arg[0]; if(pomv!=CStoString && pomv!=CSvalueOf && pomv!= CSMIN_VALUE && pomv!=CSMAX_VALUE &&pomv!=CSNaN && pomv!=CSlength && pomv!=CSindexOf && pomv!=CSlastIndexOf && pomv!=CSsubstring && pomv!=CSsubstr && pomv!=CScharAt &&pomv!=CStoLowerCase && pomv!= CStoUpperCase && pomv!= CSsplit && pomv!= CSparse && pomv!= CSUTC) { if(!js_all_conversions) js_error("Calling strange method/property of non-object typed variable!\n",context); nans=real_pulla(context,"ipret.c",4310); delarg(nans,context); nans=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4312, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); nans->typ=0; nans->argument=0; real_pusha(nans,context,"ipret.c",4315); context->current->in=0; sezvykan=1; context->current=pullp(context); return; } nans=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4321, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); nans->typ=6; nans->argument=(long)(pomvar=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4323, (js_js_temp_var2=(sizeof(lns)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15)))); if(pomv== CSMIN_VALUE || pomv==CSMAX_VALUE || pomv==CSNaN || pomv==CSlength) pomvar->type=15; else pomvar->type=8; pomvar->identifier=pomv; pomvar->value=203; pomvar->handler=(long)real_pulla(context,"ipret.c",4329); real_pusha(nans,context,"ipret.c",4331); context->current->in=0; sezvykan=1; context->current=pullp(context); } else{ pom=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4336, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pom->typ=10; pom->argument=(long)context->lnamespace; real_pusha(pom,context,"ipret.c",4339); pom=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4341, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pom->typ=10; pom->argument=(long)((plns*)nans->argument)->next; real_pusha(pom,context,"ipret.c",4344); ((plns*)nans->argument)->next=0; context->lnamespace=(plns*)nans->argument; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(nans)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4348, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); pushp(context->current,context); context->current=context->current->arg[1]; sezvykan=0; } break; case 2: ; context->current->in=0; retval=real_pulla(context,"ipret.c",4361); nans=real_pulla(context,"ipret.c",4362); pom=real_pulla(context,"ipret.c",4363); if((nans->typ!=10)||(pom->typ!=10)) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal: Namespace lost by function member!!!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 4365, int_error("Internal: Namespace lost by function member!!!\n");}; js_error("Invalid member operation ",context); return; } context->lnamespace->next=(plns*)nans->argument; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(nans)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4370, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); pomvar=lookup(MIN1KEY,context->lnamespace,context); if(!pomvar->value) { if(retval->typ==15) { ; # 4405 "ipret.c" } else { ; } if(retval->typ!=0){ pomvar1=context->lnamespace->ns[((lns*)retval->argument)->identifier%128]; if(pomvar1&&pomvar1->identifier==((lns*)retval->argument)->identifier) { svinec=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4412, (js_js_temp_var2=(sizeof(varlist)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); svinec->lekla_ryba=pomvar1; svinec->next=context->mrtve_promenne; context->mrtve_promenne=svinec; context->lnamespace->ns[((lns*)retval->argument)->identifier%128]=pomvar1->next; } else { while((pomvar1)&&(pomvar1->next)&&(pomvar1->next->identifier!=((lns*)retval->argument)->identifier))pomvar1=pomvar1->next; if(pomvar1) { if(pomvar1->next) { svinec=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4426, (js_js_temp_var2=(sizeof(varlist)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); svinec->lekla_ryba=pomvar1->next; svinec->next=context->mrtve_promenne; context->mrtve_promenne=svinec; pomvar1->next=pomvar1->next->next; } } } } delete_name_space(context->lnamespace,context); } context->lnamespace=(plns*)pom->argument; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(pom)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4441, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); real_pusha(retval,context,"ipret.c",4442); sezvykan=1; context->current=pullp(context); break; default: moc("member"); break; } } int isanumber(char*a) { int i=0; if(a[0]=='-')i++; while(a[i]>=48 && a[i]<=57)i++; return !a[i]; } void array(js_context*context) { abuf* array,*retval; lns* variable,*vari=0,*pomvar=0,*pomvar1; long* typ,*value; varlist* svinec; char* index; int pomint,to_je_ale_cislo; char pomstr[(1+4*sizeof(long))]; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; context->current->in=2; pushp(context->current,context); context->current=context->current->arg[1]; sezvykan=0; break; case 2: ; index=tostring(real_pulla(context,"ipret.c",4489),context); pomint=0; to_je_ale_cislo=isanumber(index); if(to_je_ale_cislo && (atoi(index)==-1)) { js_error("Index -1 is prohibited!\n",context); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(index)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4497, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); return; } array=real_pulla(context,"ipret.c",4500); js_temp_var_for_vartest=0; if(array->typ!=6) { delarg(array,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(index)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4504, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); if(!js_all_conversions) js_error("Array is usually type of variable!\n",context); array=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4507, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); array->typ=0; array->argument=0; real_pusha(array,context,"ipret.c",4510); context->current->in=0; sezvykan=1; context->current=pullp(context); return; } typ=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4516, (js_js_temp_var2=(sizeof(long)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); value=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4517, (js_js_temp_var2=(sizeof(long)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); to_je_ale_cislo=(to_je_ale_cislo&&(((lns*)array->argument)->type==13)); if(((variable=(lns*)array->argument)->type!=13) && (variable->type!= 10) && (variable->type!=11)) { if(variable->type!=15) { if(!js_all_conversions) js_error("Index operator is allowed only for arrays!\n",context); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(typ)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4523, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(value)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4524, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); delarg(array,context); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(index)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4526, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); array=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4527, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); array->typ=0; array->argument=0; real_pusha(array,context,"ipret.c",4530); context->current->in=0; sezvykan=1; context->current=pullp(context); return; } else { get_var_value(variable,typ,value,context); if((*typ!=13) && (*typ!=10) && (*typ!=11)) { if(!js_all_conversions) js_error("Index operator is allowed only for arrays!\n",context); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(typ)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4541, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(value)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4542, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); delarg(array,context); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(index)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4544, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); array=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4545, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); array->typ=0; array->argument=0; real_pusha(array,context,"ipret.c",4548); context->current->in=0; sezvykan=1; context->current=pullp(context); return; } else { pomvar=llookup(index,context->namespace,(plns*)*value,context); variable=((plns*)*value)->ns[pomvar->identifier%128]; if(variable&&variable->identifier==pomvar->identifier) { svinec=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4561, (js_js_temp_var2=(sizeof(varlist)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); svinec->lekla_ryba=variable; svinec->next=context->mrtve_promenne; context->mrtve_promenne=svinec; ((plns*)*value)->ns[pomvar->identifier%128]=variable->next; } else { while((variable)&&(variable->next)&&(variable->next->identifier!=pomvar->identifier))variable=variable->next; if(variable) { if(!variable->next) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Lost variable!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 4571, int_error("Lost variable!\n");}; js_error("Invalid variable manipulation ",context); return; } svinec=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4575, (js_js_temp_var2=(sizeof(varlist)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); svinec->lekla_ryba=variable->next; svinec->next=context->mrtve_promenne; context->mrtve_promenne=svinec; variable->next=variable->next->next; } } delarg(array,context); array=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4584, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); array->typ=13; array->argument=*value; vari=variable; } } } else { vari=llookup(index,context->namespace,(plns*)variable->value,context); if(to_je_ale_cislo){ pomvar=lookup(js_lengthid,(plns*)variable->value,context); if(pomvar->type!=15) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal:Strange type of \"length\" property!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 4599, int_error("Internal:Strange type of \"length\" property!\n");}; js_error("Invalid array/member operation ",context); return; } if(pomvar->handler<(to_je_ale_cislo=atoi(index))) { pomint=pomvar->handler; pomvar->handler=to_je_ale_cislo+1; pomstr[(1+4*sizeof(long))-1]='\0'; while((pomint<=to_je_ale_cislo) &&(js_memory_limit>=(js_zaflaknuto_pameti/1024))) { my_itoa(pomstr,pomint); if((pomvar=cllookup(pomstr,context->namespace,(plns*)variable->value,context))) clearvar(pomvar,context); pomint++; } if(js_memory_limit<(js_zaflaknuto_pameti/1024)) js_error("Too much memory allocated by javascript",context); } else if(pomvar->handler==atoi(index))pomvar->handler++; } pomvar=lookup(MIN1KEY,(plns*)variable->value,context); if(pomvar->type!=14){ {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Parentlist corrupted!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 4621, int_error("Parentlist corrupted!\n");}; js_error("Invalid array/member operation ",context); return; } if(!pomvar->value) { pomvar=llookup(index,context->namespace,(plns*)variable->value,context); pomvar1=((plns*)variable->value)->ns[pomvar->identifier%128]; if(pomvar1&&pomvar1->identifier==pomvar->identifier) { svinec=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4629, (js_js_temp_var2=(sizeof(varlist)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); svinec->lekla_ryba=pomvar1; svinec->next=context->mrtve_promenne; context->mrtve_promenne=svinec; ((plns*)variable->value)->ns[pomvar->identifier%128]=pomvar1->next; } else { while((pomvar1)&&(pomvar1->next)&&(pomvar1->next->identifier!=pomvar->identifier))pomvar1=pomvar1->next; if(pomvar1) { if(pomvar1->next) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Lost variable!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 4639, int_error("Lost variable!\n");}; js_error("Invalid array/member operation ",context); return; } svinec=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4643, (js_js_temp_var2=(sizeof(varlist)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); svinec->lekla_ryba=pomvar1->next; svinec->next=context->mrtve_promenne; context->mrtve_promenne=svinec; pomvar1->next=pomvar1->next->next; } } } } delarg(array,context); sezvykan=1; retval=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4658, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); retval->typ=6; retval->argument=(long)vari; real_pusha(retval,context,"ipret.c",4661); context->current->in=0; context->current=pullp(context); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(typ)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4664, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(value)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4665, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(index)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4666, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); break; default: moc("array"); break; } } void carka(js_context*context) { ; program(context); } void incpost(js_context*context) { abuf*par; double par1; int pna2; lns* pna; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; par=real_pulla(context,"ipret.c",4692); js_temp_var_for_vartest=0; if(par->typ!=6) { delarg(par,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can increment only variables!\n",context); return; }; pna=(lns*)par->argument; real_pusha(par,context,"ipret.c",4695); if(pna->type==1) { par->typ=1; par->argument=pna->value; pna->value++; }else { par->typ=2; par->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4702, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)par->argument=par1=vartofloat(pna,context); if(pna->type==15) { if(par1!=(1.7976931348623157e+308*0.03) && par1!=(1.7976931348623157e+308*0.02) && par1!=(-1.7976931348623157e+308*0.02)) par1=par1+1; if(par1>(1.7976931348623157e+308*0.01)) par1=(1.7976931348623157e+308*0.02); if(par1<(-1.7976931348623157e+308*0.01)) par1=(-1.7976931348623157e+308*0.02); set_var_value(pna,2,(long)&par1,context); } else { clearvar(pna,context); pna->type=2; pna->value=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4717, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); if(par1!=(1.7976931348623157e+308*0.03) && par1!=(1.7976931348623157e+308*0.02) && par1!=(-1.7976931348623157e+308*0.02)) par1=par1+1; if(par1>(1.7976931348623157e+308*0.01)) par1=(1.7976931348623157e+308*0.02); if(par1<(-1.7976931348623157e+308*0.01)) par1=(-1.7976931348623157e+308*0.02); *(double*)pna->value=par1; if(((double)(pna2=(int)my_rint(par1)))==par1) { pna->type=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)pna->value)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4727, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); pna->value=pna2; par->typ=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4730, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); par->argument=pna2-1; ; } } } context->current->in=0; sezvykan=1; context->current=pullp(context); break; default: moc("incpost"); break; } } void decpost(js_context*context) { abuf*par; double par1; int pna2; lns* pna; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=context->current->arg[0]; break; case 1: ; par=real_pulla(context,"ipret.c",4759); js_temp_var_for_vartest=0; if(par->typ!=6) { delarg(par,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { js_temp_var_for_vartest=0; js_error("You can increment only variables!\n",context); return; }; pna=(lns*)par->argument; real_pusha(par,context,"ipret.c",4762); if(pna->type==1) { par->typ=1; par->argument=pna->value; pna->value--; }else { par->typ=2; par->argument=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4769, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); *(double*)par->argument=par1=vartofloat(pna,context); if(pna->type==15) { if(par1!=(1.7976931348623157e+308*0.03) && par1!=(1.7976931348623157e+308*0.02) && par1!=(-1.7976931348623157e+308*0.02)) par1=par1-1; if(par1>(1.7976931348623157e+308*0.01)) par1=(1.7976931348623157e+308*0.02); if(par1<(-1.7976931348623157e+308*0.01)) par1=(-1.7976931348623157e+308*0.02); set_var_value(pna,2,(long)&par1,context); } else { clearvar(pna,context); pna->type=2; pna->value=(long)((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4782, (js_js_temp_var2=(sizeof(double)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); if(par1!=(1.7976931348623157e+308*0.03) && par1!=(1.7976931348623157e+308*0.02) && par1!=(-1.7976931348623157e+308*0.02)) par1=par1-1; if(par1>(1.7976931348623157e+308*0.01)) par1=(1.7976931348623157e+308*0.02); if(par1<(-1.7976931348623157e+308*0.01)) par1=(-1.7976931348623157e+308*0.02); *(double*)pna->value=par1; if(((double)(pna2=(int)my_rint(par1)))==par1) { pna->type=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)pna->value)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4792, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); pna->value=pna2; par->typ=1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=((void*)par->argument)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4795, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); par->argument=pna2-1; ; } } } context->current->in=0; sezvykan=1; context->current=pullp(context); break; default: moc("decpost"); break; } } void functioncall(js_context*context) { abuf*arg,*a1; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[1]; break; case 1: ; context->current->in=2; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 2: ; arg=real_pulla(context,"ipret.c",4831); context->current->in=0; js_temp_var_for_vartest=0; if(arg->typ!=6) { delarg(arg,context); js_temp_var_for_vartest=1; }; if(js_temp_var_for_vartest) { if(!js_all_conversions) { js_error("You're trying to call not a function!\n",context); return; } else { delarg(real_pulla(context,"ipret.c",4838),context); arg=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4839, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); arg->typ=0; arg->argument=0; real_pusha(arg,context,"ipret.c",4842); sezvykan=1; context->current=pullp(context); js_temp_var_for_vartest=0; return; } } if(((lns*)arg->argument)->type==7) { context->current=(vrchol*)((lns*)arg->argument)->value; context->current->in=100; } else { if(((lns*)arg->argument)->type==8) js_intern_fupcall(context,((lns*)arg->argument)->value,(lns*)arg->argument); else { if(!js_all_conversions) js_error("Calling not a function ",context); delarg(real_pulla(context,"ipret.c",4861),context); a1=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 4863, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); a1->typ=0; a1->argument=0; real_pusha(a1,context,"ipret.c",4866); context->current=pullp(context); } sezvykan=1; } ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(arg)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 4872, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); break; default: moc("functioncall"); break; } } # 4960 "ipret.c" void variable(js_context*context) { abuf*var; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: ; context->current->in=0; var=real_pulla(context,"ipret.c",4971); if(var->typ==6) create(((lns*)var->argument)->identifier,context->lnamespace,context); else if(((vrchol*)context->current->arg[0])->opcode!=114){ {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Internal:Divny typ v inicializaci promenne!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 4976, int_error("Internal:Divny typ v inicializaci promenne!\n");}; js_error("Error inicializing variable ",context); return; } delarg(var,context); sezvykan=0; context->current=(vrchol*)context->current->arg[1]; break; default: moc("variable"); break; } } void myswitch(js_context*context) { abuf*pomarg; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: ; context->current->in=2; pomarg=real_pulla(context,"ipret.c",5002); if((pomarg->typ==6)||(pomarg->typ==15)) vartoarg((lns*)pomarg->argument,pomarg,context);; real_pusha(pomarg,context,"ipret.c",5004); sezvykan=0; pushp(context->current,context); context->current=(vrchol*)context->current->arg[1]; break; case 2: ; context->current->in=0; sezvykan=1; pomarg=real_pulla(context,"ipret.c",5012); delarg(real_pulla(context,"ipret.c",5013),context); real_pusha(pomarg,context,"ipret.c",5014); context->current=pullp(context); break; default: moc("myswitch"); break; } } void mycasecmp(js_context*context) { abuf*pomarg1,*pomarg2; ; switch(context->current->in) { case 0: ; context->current->in=1; pushp(context->current,context); context->current=(vrchol*)context->current->arg[0]; break; case 1: ; pomarg1=real_pulla(context,"ipret.c",5033); pomarg2=real_pulla(context,"ipret.c",5034); real_pusha(pomarg2,context,"ipret.c",5035); context->current->in=0; if(porovnej(pomarg1,pomarg2,context)) { ; pomarg2=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 5040, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pomarg2->typ=0; pomarg2->argument=0; real_pusha(pomarg2,context,"ipret.c",5043); sezvykan=1; context->current=pullp(context); }else { ; context->current=(vrchol*)context->current->arg[1]; } delarg(pomarg1,context); break; default: moc("mycasecmp"); break; } } void mythrow(js_context*context) { js_error("Couldn't throw exception",context); } void mycatch(js_context*context) { {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Somebody has called CATCH block, although throwing wasn't written yet!",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 5062, int_error("Somebody has called CATCH block, although throwing wasn't written yet!");}; } void zvykni(js_context*context) { abuf*pom=0; if(!context->current) { sezvykan=1; ; context->current=pullp(context); if(! context->current) { ; } pom=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 5079, (js_js_temp_var2=(sizeof(abuf)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pom->typ=0; pom->argument=0; real_pusha(pom,context,"ipret.c",5082); return; } context->zaplatim=1; switch(context->current->opcode) { case 1: bitand(context); break; case 2: logand(context); break; case 3: andassign(context); break; case 13: delete(context); break; case 14: divassign(context); break; case 18: assign(context); break; case 19: equal(context); break; case 21: not(context); break; case 22: notassign(context); break; case 25: false(context); break; case 26: myif(context); break; case 32: unassign(context); break; case 33: decpref(context); break; case 34: minus(context); break; case 35: modulo(context); break; case 36: modassign(context); break; case 39: mynull(context); break; case 40: number(context); break; case 42: bitor(context); break; case 43: orassign(context); break; case 44: logor(context); break; case 45: plus(context); break; case 46: plusassign(context); break; case 47: incpref(context); break; case 50: lt(context); break; case 51: le(context); break; case 52: shl(context); break; case 53: shlshleq(context); break; case 54: gt(context); break; case 55: ge(context); break; case 56: shr(context); break; case 57: shrshreq(context); break; case 58: shrshrshr(context); break; case 60: string(context); break; case 115: regexp(context); break; case 61: this(context); break; case 62: threerighteq(context); break; case 63: mulassign(context); break; case 64: true(context); break; case 65: mytypeof(context); break; case 66: var(context); break; case 68: myvoid(context); break; case 69: xor(context); break; case 70: xorassign(context); break; case 72: mywhile(context); break; case 116: mydowhile(context); break; case 74: for1(context); break; case 75: for2(context); break; case 76: for3(context); break; case 77: pokracuj(context); break; case 78: breakni(context); break; case 79: vrat(context); break; case 80: with(context); break; case 89: identifier(context); break; case 94: program(context); break; case 95: funkce(context); break; case 96: multiply(context); break; case 97: divide(context); break; case 98: complement(context); break; case 99: parametry(context); break; case 4: parametry(context); break; case 100: statementy(context); break; case 101: zaporne(context); break; case 102: thisccall(context); break; case 113: idccall(context); break; case 103: eccall(context); break; case 104: conscall(context); break; case 105: member(context); break; case 106: array(context); break; case 107: carka(context); break; case 108: incpost(context); break; case 109: decpost(context); break; case 110: functioncall(context); break; case 112: variable(context); break; case 114: localassign(context); break; case 118: myswitch(context); break; case 117: mycasecmp(context); break; case 85: mythrow(context); break; case 86: statementy(context); break; case 91: mycatch(context); break; default: {js_file=fopen("links_debug.err","a"); fprintf(js_file,"%s\n On: %s \n Code: %s \n V lajne: %d, z %d, delka kodu je %d \n","Error! Udelal jsem si spatny intercode; tento opcode neznam!\n",((struct f_data_c*)context->ptr)->loc->url,context->code,(int)context->current->lineno,(int)context->current->lineno,(int)context->codelen); fclose(js_file); errfile = (unsigned char *)"ipret.c", errline = 5251, int_error("Error! Udelal jsem si spatny intercode; tento opcode neznam!\n");}; js_error("Error in javascript code ",context); return; break; } } void ipret(js_bordylek*bordylek) { int whatnow,timerno=0; abuf*pomarg; js_context*context=(js_context*)bordylek->context; js_bordylek*pombordylek; ttime dobastart=get_time(); ttime dobajizdy=0; int schedule=0; *bordylek->mytimer=-1; ((js_zaflaknuto_pameti-=*(int*)((char*)((js_js_temp_var1=(bordylek)))-((sizeof(int) + 15) & ~15))), (debug_mem_free((unsigned char *)"ipret.c", 5267, (void*)((char*)js_js_temp_var1-((sizeof(int) + 15) & ~15))))); sezvykan=0; if(context->jsem_dead) { ; context->utraticka=1; } else { schedule=0; while((whatnow=(!sezvykan || (context->current) ||(context->parbuf))) && (dobajizdy < 10) && !js_durchfall){ if(schedule++>=(10*10)) { schedule=0; dobajizdy=get_time()-dobastart; } zvykni(context); if(js_memory_limit<(js_zaflaknuto_pameti/1024)) { js_error("Too much memory allocated by javascript",context); js_cistka_kontextu(context); } } if(!whatnow && !js_durchfall) { if(context->argbuf) { pomarg=real_pulla(context,"ipret.c",5295); if(pomarg->typ==4 && pomarg->argument==0) context->zaplatim=0; else context->zaplatim=1; delarg(pomarg,context); } context->running=0; js_volej_kolbena(context); } else{ if(!js_durchfall){ ; while(timerno<128 &&(context->t[timerno]!=-1))timerno++; if(timerno>=128) { js_error("Too many timers",context); return; } pombordylek=((js_js_temp_var1=debug_mem_alloc((unsigned char *)"ipret.c", 5316, (js_js_temp_var2=(sizeof(js_bordylek)))+((sizeof(int) + 15) & ~15))),(js_zaflaknuto_pameti+=js_js_temp_var2),(*(int*)js_js_temp_var1=js_js_temp_var2),(void*)(((char*)js_js_temp_var1)+((sizeof(int) + 15) & ~15))); pombordylek->context=context; pombordylek->mytimer=&context->t[timerno]; context->bordely[timerno]=pombordylek; context->t[timerno]=install_timer(1,(void(*)(void*))ipret,pombordylek); } } js_durchfall=0; } if(context->utraticka) { context->utraticka=0; context->running=0; js_volej_kolbena(context); } }