diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 14:50:42 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-02-05 14:50:42 +0200 |
commit | bb72efaaaa6dad878877eeb12cbad67383a0cf35 (patch) | |
tree | 5ce8b1cf595ae8070433d397456694c99d77c694 /build | |
parent | 455c428c066801431e98d70d5f57bf3ca3f37174 (diff) | |
download | librpm-tizen-bb72efaaaa6dad878877eeb12cbad67383a0cf35.tar.gz librpm-tizen-bb72efaaaa6dad878877eeb12cbad67383a0cf35.tar.bz2 librpm-tizen-bb72efaaaa6dad878877eeb12cbad67383a0cf35.zip |
rpm5.org: free 5 bits for rpmfc coloring expansion
- also fixes an overlap between RPMFC_LIBTOOL and RPMFC_MONO which we
had and were out of bits already
Diffstat (limited to 'build')
-rw-r--r-- | build/rpmfc.h | 44 |
1 files changed, 26 insertions, 18 deletions
diff --git a/build/rpmfc.h b/build/rpmfc.h index b459ead25..66479aa37 100644 --- a/build/rpmfc.h +++ b/build/rpmfc.h @@ -29,40 +29,48 @@ enum FCOLOR_e { RPMFC_BLACK = 0, RPMFC_ELF32 = (1 << 0), RPMFC_ELF64 = (1 << 1), -#define RPMFC_ELF (RPMFC_ELF32|RPMFC_ELF64) - - RPMFC_PKGCONFIG = (1 << 5), - RPMFC_LIBTOOL = (1 << 6), - RPMFC_MODULE = (1 << 7), - RPMFC_EXECUTABLE = (1 << 8), - RPMFC_SCRIPT = (1 << 9), - RPMFC_TEXT = (1 << 10), - RPMFC_DATA = (1 << 11), /* XXX unused */ - RPMFC_DOCUMENT = (1 << 12), + RPMFC_ELFMIPSN32 = (1 << 2), +#define RPMFC_ELF (RPMFC_ELF32|RPMFC_ELF64|RPMFC_ELFMIPSN32) + /* (1 << 3) leaks into package headers, reserved */ + + /* bits 4-7 unused */ + RPMFC_PKGCONFIG = (1 << 8), + RPMFC_LIBTOOL = (1 << 9), + RPMFC_BOURNE = (1 << 10), + RPMFC_MONO = (1 << 11), + + RPMFC_SCRIPT = (1 << 12), RPMFC_STATIC = (1 << 13), RPMFC_NOTSTRIPPED = (1 << 14), - RPMFC_COMPRESSED = (1 << 15), + /* bit 15 unused */ + /* bits 16-19 are enumerated, not bits */ RPMFC_DIRECTORY = (1 << 16), - RPMFC_SYMLINK = (1 << 17), - RPMFC_DEVICE = (1 << 18), - RPMFC_LIBRARY = (1 << 19), + RPMFC_SYMLINK = (2 << 16), + RPMFC_DEVICE = (3 << 16), + RPMFC_LIBRARY = (4 << 16), + RPMFC_FONT = (5 << 16), + RPMFC_IMAGE = (6 << 16), + RPMFC_MANPAGE = (7 << 16), + RPMFC_TEXT = (8 << 16), + RPMFC_DOCUMENT = (9 << 16), + RPMFC_ARCHIVE = (1 << 20), - RPMFC_FONT = (1 << 21), - RPMFC_IMAGE = (1 << 22), - RPMFC_MANPAGE = (1 << 23), + RPMFC_COMPRESSED = (1 << 21), + RPMFC_MODULE = (1 << 22), + RPMFC_EXECUTABLE = (1 << 23), RPMFC_PERL = (1 << 24), RPMFC_JAVA = (1 << 25), RPMFC_PYTHON = (1 << 26), RPMFC_PHP = (1 << 27), RPMFC_TCL = (1 << 28), - RPMFC_MONO = (1 << 6), RPMFC_WHITE = (1 << 29), RPMFC_INCLUDE = (1 << 30), RPMFC_ERROR = (1 << 31) }; + /** \ingroup rpmfc */ typedef enum FCOLOR_e FCOLOR_t; |