Add TNG writing and reading support
[alexxy/gromacs.git] / src / external / tng_io / include / compression / lz77.h
1 /* This code is part of the tng compression routines.
2  *
3  * Written by Daniel Spangberg
4  * Copyright (c) 2010, 2013, The GROMACS development team.
5  *
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the Revised BSD License.
9  */
10
11
12 #ifndef LZ77_H
13 #define LZ77_H
14
15 void Ptngc_comp_to_lz77(unsigned int *vals, int nvals,
16                   unsigned int *data, int *ndata,
17                   unsigned int *len, int *nlens,
18                   unsigned int *offsets, int *noffsets);
19
20 void Ptngc_comp_from_lz77(unsigned int *data, int ndata,
21                     unsigned int *len, int nlens,
22                     unsigned int *offsets, int noffsets,
23                     unsigned int *vals, int nvals);
24
25 #endif