Zlib compression of network traffic. More...
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | mutt_zstrm_wrap_conn (struct Connection *conn) |
| Wrap a compression layer around a Connection. | |
Zlib compression of network traffic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file zstrm.h.
| void mutt_zstrm_wrap_conn | ( | struct Connection * | conn | ) |
Wrap a compression layer around a Connection.
| conn | Connection to wrap |
Replace the read/write functions with our compression functions. After reading from the socket, we decompress and pass on the data. Before writing to a socket, we compress the data.
Definition at line 291 of file zstrm.c.
Here is the call graph for this function:
Here is the caller graph for this function: