Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Facebook, Inc.
3 * All rights reserved.
4 *
5 * This source code is licensed under both the BSD-style license (found in the
6 * LICENSE file in the root directory of this source tree) and the GPLv2 (found
7 * in the COPYING file in the root directory of this source tree).
8 * You may select, at your option, one of the above-listed licenses.
9 */
10
11#ifndef CONFIG_H
12#define CONFIG_H
13
14#include <stddef.h>
15
16#define ZSTD_STATIC_LINKING_ONLY
17#include <zstd.h>
18
19#include "data.h"
20
21typedef struct {
23 int value;
25
26typedef struct {
27 size_t size;
30
62
68int config_skip_data(config_t const* config, data_t const* data);
69
70#define CONFIG_NO_LEVEL (-ZSTD_TARGETLENGTH_MAX - 1)
77
82 config_t const* config,
83 uint64_t srcSize,
84 size_t dictSize);
85
89extern config_t const* const* configs;
90
91#endif
char int srcSize
Definition lz4.h:806
Definition zstd_v04.c:255
Definition deflate.c:120
Definition config.h:34
char const * cli_args
Definition config.h:40
int advanced_api_only
Definition config.h:60
int no_pledged_src_size
Definition config.h:55
int use_dictionary
Definition config.h:50
param_values_t param_values
Definition config.h:45
const char * name
Definition config.h:35
Definition data.h:28
Definition poolTests.c:28
Definition config.h:21
ZSTD_cParameter param
Definition config.h:22
int value
Definition config.h:23
Definition config.h:26
param_value_t const * data
Definition config.h:28
size_t size
Definition config.h:27
ZSTD_parameters config_get_zstd_params(config_t const *config, uint64_t srcSize, size_t dictSize)
Definition config.c:352
int config_get_level(config_t const *config)
Definition config.c:341
int config_skip_data(config_t const *config, data_t const *data)
Definition config.c:337
config_t const *const * configs
Definition config.c:335
const void size_t dictSize
Definition zbuff.h:76
ZSTD_cParameter
Definition zstd.h:271