diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 19:20:15 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-09 19:20:15 +0100 |
| commit | 885f5974cdf65b59415837ae97f5a14ef1350670 (patch) | |
| tree | 66ac13de29c7f4932c5fcae11773df574e4e256a /bin/gzip/tailor.h | |
| parent | 8f9e448b2ef6db7cd905540c21f3c5b190e7a1e7 (diff) | |
feat: add gzip and new headers
Diffstat (limited to 'bin/gzip/tailor.h')
| -rw-r--r-- | bin/gzip/tailor.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/bin/gzip/tailor.h b/bin/gzip/tailor.h new file mode 100644 index 00000000..77129591 --- /dev/null +++ b/bin/gzip/tailor.h @@ -0,0 +1,50 @@ +/* tailor.h -- target dependent definitions + * Copyright (C) 1992-1993 Jean-loup Gailly. + * This is free software; you can redistribute it and/or modify it under the + * terms of the GNU General Public License, see the file COPYING. + */ + +/* The target dependent definitions should be defined here only. + * The target dependent functions should be defined in tailor.c. + */ + +/* $Id: tailor.h,v 1.1 2002/08/18 00:59:21 hpa Exp $ */ + +/* Common defaults */ + +#ifndef OS_CODE +#define OS_CODE 0x03 /* assume Unix */ +#endif + +#define PATH_SEP '/' + +#ifndef casemap +#define casemap(c) (c) +#endif + +#ifndef OPTIONS_VAR +#define OPTIONS_VAR "GZIP" +#endif + +#ifndef Z_SUFFIX +#define Z_SUFFIX ".gz" +#endif + +#define MAX_SUFFIX 30 + +#ifndef MIN_PART +#define MIN_PART 3 +/* keep at least MIN_PART chars between dots in a file name. */ +#endif + +#ifndef RECORD_IO +#define RECORD_IO 0 +#endif + +#ifndef get_char +#define get_char() get_byte() +#endif + +#ifndef put_char +#define put_char(c) put_byte(c) +#endif |
