Rizin
unix-like reverse engineering framework and cli tools
private.h
Go to the documentation of this file.
1
//
5
//
6
// Author: Lasse Collin
7
//
8
// This file has been put into the public domain.
9
// You can do whatever you want with this file.
10
//
12
13
#include "
sysdefs.h
"
14
#include "
mythread.h
"
15
16
#include "
lzma.h
"
17
18
#include <sys/types.h>
19
#include <sys/stat.h>
20
#include <
errno.h
>
21
#include <signal.h>
22
#include <locale.h>
23
#include <stdio.h>
24
#include <unistd.h>
25
26
#include "
tuklib_gettext.h
"
27
#include "
tuklib_progname.h
"
28
#include "
tuklib_exit.h
"
29
#include "
tuklib_mbstr.h
"
30
31
#if defined(_WIN32) && !defined(__CYGWIN__)
32
# define WIN32_LEAN_AND_MEAN
33
# include <windows.h>
34
#endif
35
36
#ifndef STDIN_FILENO
37
# define STDIN_FILENO (fileno(stdin))
38
#endif
39
40
#ifndef STDOUT_FILENO
41
# define STDOUT_FILENO (fileno(stdout))
42
#endif
43
44
#ifndef STDERR_FILENO
45
# define STDERR_FILENO (fileno(stderr))
46
#endif
47
48
#ifdef HAVE_CAPSICUM
49
# define ENABLE_SANDBOX 1
50
#endif
51
52
#include "
main.h
"
53
#include "
mytime.h
"
54
#include "
coder.h
"
55
#include "
message.h
"
56
#include "
args.h
"
57
#include "
hardware.h
"
58
#include "
file_io.h
"
59
#include "
options.h
"
60
#include "
signals.h
"
61
#include "
suffix.h
"
62
#include "
util.h
"
63
64
#ifdef HAVE_DECODERS
65
# include "
list.h
"
66
#endif
args.h
Argument parsing.
coder.h
Compresses or uncompresses a file.
errno.h
file_io.h
I/O types and functions.
list.h
List information about .xz files.
lzma.h
The public API of liblzma data compression library.
main.h
Miscellaneous declarations.
message.h
Printing messages to stderr.
mythread.h
Some threading related helper macros and functions.
mytime.h
Time handling functions.
options.h
Parser for filter-specific options.
signals.h
Handling signals to abort operation.
suffix.h
Checks filename suffix and creates the destination filename.
sysdefs.h
Common includes, definitions, system-specific things etc.
tuklib_exit.h
Close stdout and stderr, and exit.
tuklib_gettext.h
Wrapper for gettext and friends.
tuklib_mbstr.h
Utility functions for handling multibyte strings.
tuklib_progname.h
Program name to be displayed in messages.
util.h
Miscellaneous utility functions.
hardware.h
Detection of available hardware resources.
subprojects
xz-5.2.5
src
xz
private.h
Generated by
1.9.1