Magellan Linux

Contents of /trunk/mkinitrd-magellan/klibc/usr/gzip/tailor.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (show annotations) (download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File MIME type: text/plain
File size: 999 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd

1 /* tailor.h -- target dependent definitions
2 * Copyright (C) 1992-1993 Jean-loup Gailly.
3 * This is free software; you can redistribute it and/or modify it under the
4 * terms of the GNU General Public License, see the file COPYING.
5 */
6
7 /* The target dependent definitions should be defined here only.
8 * The target dependent functions should be defined in tailor.c.
9 */
10
11 /* $Id: tailor.h,v 1.1 2007-09-01 22:44:08 niro Exp $ */
12
13 /* Common defaults */
14
15 #ifndef OS_CODE
16 # define OS_CODE 0x03 /* assume Unix */
17 #endif
18
19 #define PATH_SEP '/'
20
21 #ifndef casemap
22 # define casemap(c) (c)
23 #endif
24
25 #ifndef OPTIONS_VAR
26 # define OPTIONS_VAR "GZIP"
27 #endif
28
29 #ifndef Z_SUFFIX
30 # define Z_SUFFIX ".gz"
31 #endif
32
33 #define MAX_SUFFIX 30
34
35 #ifndef MIN_PART
36 # define MIN_PART 3
37 /* keep at least MIN_PART chars between dots in a file name. */
38 #endif
39
40 #ifndef RECORD_IO
41 # define RECORD_IO 0
42 #endif
43
44 #ifndef get_char
45 # define get_char() get_byte()
46 #endif
47
48 #ifndef put_char
49 # define put_char(c) put_byte(c)
50 #endif