Magellan Linux

Contents of /trunk/mkinitrd-magellan/busybox/e2fsprogs/old_e2fsprogs/e2fsbb.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 984 - (show annotations) (download)
Sun May 30 11:32:42 2010 UTC (13 years, 11 months ago) by niro
File MIME type: text/plain
File size: 930 byte(s)
-updated to busybox-1.16.1 and enabled blkid/uuid support in default config
1 /* vi: set sw=4 ts=4: */
2 /*
3 * File: e2fsbb.h
4 *
5 * Redefine a bunch of e2fsprogs stuff to use busybox routines
6 * instead. This makes upgrade between e2fsprogs versions easy.
7 */
8
9 #ifndef E2FSBB_H
10 #define E2FSBB_H 1
11
12 #include "libbb.h"
13
14 /* version we've last synced against */
15 #define E2FSPROGS_VERSION "1.38"
16 #define E2FSPROGS_DATE "30-Jun-2005"
17
18 typedef long errcode_t;
19 #define ERRCODE_RANGE 8
20 #define error_message(code) strerror((int) (code & ((1<<ERRCODE_RANGE)-1)))
21
22 /* header defines */
23 #define ENABLE_HTREE 1
24 #define HAVE_ERRNO_H 1
25 #define HAVE_EXT2_IOCTLS 1
26 #define HAVE_LINUX_FD_H 1
27 #define HAVE_MNTENT_H 1
28 #define HAVE_NETINET_IN_H 1
29 #define HAVE_NET_IF_H 1
30 #define HAVE_SYS_IOCTL_H 1
31 #define HAVE_SYS_MOUNT_H 1
32 #define HAVE_SYS_QUEUE_H 1
33 #define HAVE_SYS_STAT_H 1
34 #define HAVE_SYS_TYPES_H 1
35 #define HAVE_UNISTD_H 1
36
37 /* Endianness */
38 #if BB_BIG_ENDIAN
39 #define ENABLE_SWAPFS 1
40 #define WORDS_BIGENDIAN 1
41 #endif
42
43 #endif