tatsuhiro-t / spdylay

The experimental SPDY protocol version 2, 3 and 3.1 implementation in C
http://tatsuhiro-t.github.io/spdylay/
MIT License
603 stars 102 forks source link

There is no reason for every user to have to write the same code #20

Closed sorced-jim closed 12 years ago

tatsuhiro-t commented 12 years ago

Thanks. I'll merge this change. I think we don't need to declare prototypes in spdylay_gzip.h because they are declared in spdylay.h. Also I will change the signatures of the functions to match the convention of the existing code:

tatsuhiro-t commented 12 years ago

I realized that current API does not expose zlib to the application. I want to keep this property. To achieve this, z_stream would be encapsulated in spdylay_gzip struct and its implementation is hidden from the application. The API will be: