diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-12-02 12:11:46 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-12-02 12:11:46 +0200 |
commit | 432467a793333c88321fa1b1429673c29a92a25c (patch) | |
tree | 5d7e6b95608aafd781d4d82a8bc87933b52a9d7c /lib/rpmlib.h | |
parent | c36bef96bbe016a68007ef715f521a1bfb8f9de0 (diff) | |
download | librpm-tizen-432467a793333c88321fa1b1429673c29a92a25c.tar.gz librpm-tizen-432467a793333c88321fa1b1429673c29a92a25c.tar.bz2 librpm-tizen-432467a793333c88321fa1b1429673c29a92a25c.zip |
Move file type enums to rpmfi where it logically belongs
Diffstat (limited to 'lib/rpmlib.h')
-rw-r--r-- | lib/rpmlib.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/rpmlib.h b/lib/rpmlib.h index f23a22d58..0a2b3f7a8 100644 --- a/lib/rpmlib.h +++ b/lib/rpmlib.h @@ -683,23 +683,6 @@ typedef enum rpmFileAction_e { #define XFA_SKIPPING(_a) \ ((_a) == FA_SKIP || (_a) == FA_SKIPNSTATE || (_a) == FA_SKIPNETSHARED || (_a) == FA_SKIPCOLOR) -/** - * File types. - * These are the file types used internally by rpm. The file - * type is determined by applying stat(2) macros like S_ISDIR to - * the file mode tag from a header. The values are arbitrary, - * but are identical to the linux stat(2) file types. - */ -typedef enum rpmFileTypes_e { - PIPE = 1, /*!< pipe/fifo */ - CDEV = 2, /*!< character device */ - XDIR = 4, /*!< directory */ - BDEV = 6, /*!< block device */ - REG = 8, /*!< regular file */ - LINK = 10, /*!< hard link */ - SOCK = 12 /*!< socket */ -} rpmFileTypes; - /** \ingroup header * Perform simple sanity and range checks on header tag(s). * @param il no. of tags in header |