API for the header cache compression. More...
#include <stdlib.h>
Go to the source code of this file.
Data Structures | |
struct | ComprOps |
Typedefs | |
typedef void | ComprHandle |
Opaque type for compression data. | |
Functions | |
const struct ComprOps * | compress_get_ops (const char *compr) |
Get the API functions for a compress backend. | |
const char * | compress_list (void) |
Get a list of compression backend names. | |
Variables | |
const struct ComprOps | compr_lz4_ops |
const struct ComprOps | compr_zlib_ops |
const struct ComprOps | compr_zstd_ops |
API for the header cache compression.
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 lib.h.
typedef void ComprHandle |
const struct ComprOps * compress_get_ops | ( | const char * | compr | ) |
Get the API functions for a compress backend.
compr | Name of the backend |
ptr | Set of function pointers |
Definition at line 79 of file compress.c.
const char * compress_list | ( | void | ) |
Get a list of compression backend names.
ptr | Comma-space-separated list of names |
Definition at line 56 of file compress.c.
|
extern |
|
extern |
|
extern |