GTGCompress.h File Reference
`#include <stdint.h>`
`#include <stdio.h>`
`#include <zlib.h>`

Go to the source code of this file.

## Functions

int | gtg_compress_m2m (z_stream *z, void *in_buf, uint32_t len, void *out_buf, uint32_t out_max_len)
int | gtg_compress_m2f (z_stream *z, void *in_buf, uint32_t len, FILE *file_out)
int | gtg_compress_f2m (z_stream *z, FILE *file_in, void *out_buf, uint32_t out_max_len)
int | gtg_compress_f2f (z_stream *z, FILE *file_in, FILE *file_out)
int | gtg_decompress_m2m (z_stream *z, void *in_buf, uint32_t len, void *out_buf, uint32_t out_max_len)
int | gtg_decompress_m2f (z_stream *z, void *in_buf, uint32_t len, FILE *file_out)
int | gtg_decompress_f2m (z_stream *z, FILE *file_in, void *out_buf, uint32_t out_max_len)
int | gtg_decompress_f2f (z_stream *z, FILE *file_in, FILE *file_out)
int | gtg_compress_init (z_stream *z, int compression_ratio)
int | gtg_decompress_init (z_stream *z)

## Function Documentation

int gtg_compress_f2f | ( | z_stream * | z,
|  | FILE * | file_in,
|  | FILE * | file_out
| ) |  |

int gtg_compress_f2m | ( | z_stream * | z,
|  | FILE * | file_in,
|  | void * | out_buf,
|  | uint32_t | out_max_len
| ) |  |

int gtg_compress_init | ( | z_stream * | z,
|  | int | compression_ratio
| ) |  |

int gtg_compress_m2f | ( | z_stream * | z,
|  | void * | in_buf,
|  | uint32_t | len,
|  | FILE * | file_out
| ) |  |

int gtg_compress_m2m | ( | z_stream * | z,
|  | void * | in_buf,
|  | uint32_t | len,
|  | void * | out_buf,
|  | uint32_t | out_max_len
| ) |  |

int gtg_decompress_f2f | ( | z_stream * | z,
|  | FILE * | file_in,
|  | FILE * | file_out
| ) |  |

int gtg_decompress_f2m | ( | z_stream * | z,
|  | FILE * | file_in,
|  | void * | out_buf,
|  | uint32_t | out_max_len
| ) |  |

int gtg_decompress_init | ( | z_stream * | z | ) |

int gtg_decompress_m2f | ( | z_stream * | z,
|  | void * | in_buf,
|  | uint32_t | len,
|  | FILE * | file_out
| ) |  |

int gtg_decompress_m2m | ( | z_stream * | z,
|  | void * | in_buf,
|  | uint32_t | len,
|  | void * | out_buf,
|  | uint32_t | out_max_len
| ) |  |