Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added: deflateSetDictionary, inflateSetDictionary

added: enum for FLUSH values
  • Loading branch information...
commit 78518a7b6a8462c88b829f0b6663040549416d8f 1 parent 93a7775
Sam Rushing authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 coro/zlib.pxd
View
11 coro/zlib.pxd
@@ -23,6 +23,17 @@ cdef extern from "zlib.h":
cdef int inflate (z_stream *, int)
cdef int inflateEnd (z_stream *)
cdef int inflateReset (z_stream *)
+ cdef int deflateSetDictionary (z_stream *, unsigned char *, unsigned int)
+ cdef int inflateSetDictionary (z_stream *, unsigned char *, unsigned int)
+
+ cdef enum FLUSH_VALUES:
+ Z_NO_FLUSH
+ Z_PARTIAL_FLUSH
+ Z_SYNC_FLUSH
+ Z_FULL_FLUSH
+ Z_FINISH
+ Z_BLOCK
+ Z_TREES
cdef enum COMPRESSION_LEVELS:
Z_NO_COMPRESSION,
Please sign in to comment.
Something went wrong with that request. Please try again.