Panu Matilainen
ceb96638f6
Use rpm_flag_t for header generic bitfields (file flags etc)
...
- additionally use rpmfileAtts / rpmVerifyFlags consistently where
appropriate
2008-02-05 15:15:41 +02:00
Panu Matilainen
9b0967588a
More rpm-headerdata types: rpm_dev_t and rpm_ino_t, use where spotted
...
- both hardwired to 32bit internally
2008-02-05 13:09:13 +02:00
Panu Matilainen
e5116e43d7
Add rpm_rdev_t type for rdev entries
...
- rdev is 16bit whereas dev is 32bit, eww...
2008-02-05 12:58:05 +02:00
Panu Matilainen
e7ac5fb183
Add rpm_mode_t type, use where spotted
...
- bring the types under some sort of control, previously mixture of
int16_t, uint16_t and unsigned short was used..
2008-02-05 12:31:32 +02:00
Panu Matilainen
630a5a4c1a
Add rpm_color_t type for rpm color bits, use where spotted
2008-02-05 12:12:31 +02:00
Panu Matilainen
aca6d4a2c4
Add rpm_time_t type for time types (in headers), use where spotted
...
- easy to spot, easy to change...
- time_t size can vary, header data needs fixed size
2008-02-04 11:50:39 +02:00
Panu Matilainen
e886043a10
Add rpm_off_t type for file size types, use where spotted
...
- preliminaries for bumping up the max size, use rpm-specific type
as off_t size varies, header data needs fixed size
2008-02-04 11:27:00 +02:00
Panu Matilainen
f53c323372
Make rpmtag.h standalone, include from rpmtypes.h
...
- permits header.h to use the tag types
- revert other includes back to header.h, more crazy #include churn...
- rpmTagTable etc in header.h for now, don't really belong there but...
2008-02-03 16:24:07 +02:00
Panu Matilainen
99faa2735b
rpmlib.h mass eviction
...
- explicitly include what's really needed instead
- document remaining uses
2008-01-30 13:53:51 +02:00
Panu Matilainen
519eaaf236
Assorted int -> size_t corrections for string lengths
2008-01-02 13:55:16 +02:00
Panu Matilainen
898d2cc867
transaction.c doesn't need fsm.h, rpmfi_internal does
2007-12-17 13:50:11 +02:00
Panu Matilainen
7e56c6355b
Use rpm_tag_t everywhere for rpm (header) tag type
...
- typedef'ed as int32_t for now, negative values used in some places for
error cases
- easy to grep, easy to change...
- add RPMTAG_NOT_FOUND define, used in place of -1 "magic",
2007-12-13 19:32:37 +02:00
Panu Matilainen
c8f2927227
Use rpm_count_t everywhere for header data count
...
- typedef'ed as uint32_t as that's the key size limit imposed by BDB,
relevant for RPM_BIN_TYPE
- easy to change to whatever later on as it's now consistent everywhere
2007-12-13 09:25:10 +02:00
Panu Matilainen
9ce13e09ef
Switch to <rpm/foo.h> style for public headers
...
- adjust include paths accordingly
2007-12-08 14:02:32 +02:00
Panu Matilainen
2c3ce0c8b0
Split rpmfi internals to separate header
2007-12-03 09:46:51 +02:00