Parolin
0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
val
xcx_Zstandard
zstd-1.5.5
tests
regression
method.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) Meta Platforms, Inc. and affiliates.
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 METHOD_H
12
#define METHOD_H
13
14
#include <stddef.h>
15
16
#include "
data.h
"
17
#include "
config.h
"
18
#include "
result.h
"
19
24
typedef
struct
{
25
data_t
const
*
data
;
26
}
method_state_t
;
27
31
typedef
struct
{
32
char
const
*
name
;
40
method_state_t
* (*create)(
data_t
const
*
data
);
48
result_t
(*compress)(
method_state_t
* state,
config_t
const
*
config
);
52
void (*destroy)(
method_state_t
* state);
53
}
method_t
;
54
58
void
method_set_zstdcli
(
char
const
* zstdcli);
59
63
extern
method_t
const
*
const
*
methods
;
64
65
#endif
data
static const void * data
Definition
XzCrc64.c:50
config
struct config_s config
config_t
Definition
config.h:34
data_t
Definition
data.h:28
method_state_t
Definition
method.h:24
method_t
Definition
method.h:31
result_t
Definition
result.h:39
config.h
name
char name[NAME_LEN_MAX+1]
Name of the filter.
Definition
string_conversion.c:450
methods
method_t const *const * methods
Definition
method.c:701
method_set_zstdcli
void method_set_zstdcli(char const *zstdcli)
Definition
method.c:23
data.h
result.h
Generated by
1.12.0