|
#define | VALGRIND_MAKE_MEM_DEFINED(p, n) 0 |
|
#define | VALGRIND_MAKE_MEM_UNDEFINED(p, n) 0 |
|
#define | RUBY_ZLIB_VERSION "0.6.0" |
|
#define | GZIP_SUPPORT 1 |
|
#define | DEF_MEM_LEVEL MAX_MEM_LEVEL |
|
#define | MAX_UINT(n) (uInt)(n) |
|
#define | checksum_long(func, sum, ptr, len) (func)((sum), (ptr), (len)) |
|
#define | rb_zlib_adler32_combine rb_f_notimplement |
|
#define | rb_zlib_crc32_combine rb_f_notimplement |
|
#define | ZSTREAM_FLAG_READY 0x1 |
|
#define | ZSTREAM_FLAG_IN_STREAM 0x2 |
|
#define | ZSTREAM_FLAG_FINISHED 0x4 |
|
#define | ZSTREAM_FLAG_CLOSING 0x8 |
|
#define | ZSTREAM_FLAG_GZFILE |
|
#define | ZSTREAM_FLAG_UNUSED 0x20 |
|
#define | ZSTREAM_READY(z) ((z)->flags |= ZSTREAM_FLAG_READY) |
|
#define | ZSTREAM_IS_READY(z) ((z)->flags & ZSTREAM_FLAG_READY) |
|
#define | ZSTREAM_IS_FINISHED(z) ((z)->flags & ZSTREAM_FLAG_FINISHED) |
|
#define | ZSTREAM_IS_CLOSING(z) ((z)->flags & ZSTREAM_FLAG_CLOSING) |
|
#define | ZSTREAM_IS_GZFILE(z) ((z)->flags & ZSTREAM_FLAG_GZFILE) |
|
#define | ZSTREAM_BUF_FILLED(z) (NIL_P((z)->buf) ? 0 : RSTRING_LEN((z)->buf)) |
|
#define | ZSTREAM_EXPAND_BUFFER_OK 0 |
|
#define | ZSTREAM_INITIAL_BUFSIZE 1024 |
|
#define | ZSTREAM_AVAIL_OUT_STEP_MAX 16384 |
|
#define | ZSTREAM_AVAIL_OUT_STEP_MIN 2048 |
|
#define | zstream_init_deflate(z) zstream_init((z), &deflate_funcs) |
|
#define | zstream_init_inflate(z) zstream_init((z), &inflate_funcs) |
|
#define | zstream_append_buffer2(z, v) zstream_append_buffer((z),(Bytef*)RSTRING_PTR(v),RSTRING_LEN(v)) |
|
#define | zstream_append_input2(z, v) |
|
#define | zstream_deflate_new(klass) zstream_new((klass), &deflate_funcs) |
|
#define | zstream_inflate_new(klass) zstream_new((klass), &inflate_funcs) |
|
#define | FIXNUMARG(val, ifnil) |
|
#define | ARG_LEVEL(val) FIXNUMARG((val), Z_DEFAULT_COMPRESSION) |
|
#define | ARG_WBITS(val) FIXNUMARG((val), MAX_WBITS) |
|
#define | ARG_MEMLEVEL(val) FIXNUMARG((val), DEF_MEM_LEVEL) |
|
#define | ARG_STRATEGY(val) FIXNUMARG((val), Z_DEFAULT_STRATEGY) |
|
#define | ARG_FLUSH(val) FIXNUMARG((val), Z_NO_FLUSH) |
|
#define | GZ_MAGIC1 0x1f |
|
#define | GZ_MAGIC2 0x8b |
|
#define | GZ_METHOD_DEFLATE 8 |
|
#define | GZ_FLAG_MULTIPART 0x2 |
|
#define | GZ_FLAG_EXTRA 0x4 |
|
#define | GZ_FLAG_ORIG_NAME 0x8 |
|
#define | GZ_FLAG_COMMENT 0x10 |
|
#define | GZ_FLAG_ENCRYPT 0x20 |
|
#define | GZ_FLAG_UNKNOWN_MASK 0xc0 |
|
#define | GZ_EXTRAFLAG_FAST 0x4 |
|
#define | GZ_EXTRAFLAG_SLOW 0x2 |
|
#define | OS_MSDOS 0x00 |
|
#define | OS_AMIGA 0x01 |
|
#define | OS_VMS 0x02 |
|
#define | OS_UNIX 0x03 |
|
#define | OS_ATARI 0x05 |
|
#define | OS_OS2 0x06 |
|
#define | OS_MACOS 0x07 |
|
#define | OS_TOPS20 0x0a |
|
#define | OS_WIN32 0x0b |
|
#define | OS_VMCMS 0x04 |
|
#define | OS_ZSYSTEM 0x08 |
|
#define | OS_CPM 0x09 |
|
#define | OS_QDOS 0x0c |
|
#define | OS_RISCOS 0x0d |
|
#define | OS_UNKNOWN 0xff |
|
#define | OS_CODE OS_UNIX |
|
#define | GZFILE_CBUF_CAPA 10 |
|
#define | GZFILE_FLAG_SYNC ZSTREAM_FLAG_UNUSED |
|
#define | GZFILE_FLAG_HEADER_FINISHED (ZSTREAM_FLAG_UNUSED << 1) |
|
#define | GZFILE_FLAG_FOOTER_FINISHED (ZSTREAM_FLAG_UNUSED << 2) |
|
#define | GZFILE_IS_FINISHED(gz) (ZSTREAM_IS_FINISHED(&(gz)->z) && ZSTREAM_BUF_FILLED(&(gz)->z) == 0) |
|
#define | GZFILE_READ_SIZE 2048 |
|
#define | gzfile_writer_new(gz) gzfile_new((gz),&deflate_funcs,gzfile_writer_end) |
|
#define | gzfile_reader_new(gz) gzfile_new((gz),&inflate_funcs,gzfile_reader_end) |
|
#define | rb_gzwriter_addstr rb_io_addstr |
|
#define | rb_gzwriter_printf rb_io_printf |
|
#define | rb_gzwriter_print rb_io_print |
|
#define | rb_gzwriter_puts rb_io_puts |
|
#define | OPTHASH_GIVEN_P(opts) (argc > 0 && !NIL_P((opts) = rb_check_hash_type(argv[argc-1])) && (--argc, 1)) |
|