summaryrefslogtreecommitdiff
path: root/rpmdb
AgeCommit message (Collapse)AuthorFilesLines
2008-02-05Use rpmTagType always now that it's available everywherePanu Matilainen7-61/+61
- RPM_MASK_TYPE is not a datatype, move it out of the enum - add missing cases python header handling to shut up gcc
2008-02-05Couple of missed type abstractionsPanu Matilainen2-2/+2
2008-02-05Yet another typedef for transaction ID, use where spottedPanu Matilainen1-2/+2
- most remaining [u]int16|32 uses are indexes and such, ie actual numbers
2008-02-05Add rpm_color_t type for rpm color bits, use where spottedPanu Matilainen1-3/+3
2008-02-04Remove double documention for exported header functionsPanu Matilainen1-209/+0
2008-02-04Rip the useless header method vectorsPanu Matilainen5-732/+86
2008-02-04Add rpm_time_t type for time types (in headers), use where spottedPanu Matilainen1-2/+2
- easy to spot, easy to change... - time_t size can vary, header data needs fixed size
2008-02-03Make rpmtag.h standalone, include from rpmtypes.hPanu Matilainen3-14/+22
- 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-03Use rpmTag etc enums for rpmTagGet*() functionsPanu Matilainen1-12/+12
2008-01-30Include spring-cleaningPanu Matilainen7-11/+11
- put some consistency into include ordering - everything (apart from bits missed ;) is now ordered like this 1. "system.h" 2. other system includes 3. rpm public headers 4. rpm private headers 5. "debug.h"
2008-01-30rpmlib.h mass evictionPanu Matilainen8-7/+12
- explicitly include what's really needed instead - document remaining uses
2008-01-30Move HGE and related prototypes to header.hPanu Matilainen1-0/+75
2008-01-30Move rpmTagType stuff to rpmtag.h now that they can movePanu Matilainen4-49/+3
2008-01-30Uninline headerFreeData()Panu Matilainen2-12/+12
2008-01-30Remove bunch of unnecessary rpmlib.h includesPanu Matilainen1-1/+1
- replace with rpmtypes.h where needed
2008-01-30Move header and -iterator to rpmtypesPanu Matilainen1-8/+0
2008-01-30Move header tagdata types from header.h to rpmtypes.hPanu Matilainen1-14/+0
2008-01-30Add stub rpmtypes.h header stubPanu Matilainen1-1/+1
- place to stick in common typedefs to untangle header cross-include jungle
2008-01-09Dirty hack to determine BDB .la name automaticallyPanu Matilainen1-2/+5
2008-01-07Fix field-width specifiers when no space between (rhbz#323221)Panu Matilainen1-1/+3
Ported from rpm5.org work of Jeff Johnson.
2008-01-04Saner RPM_FORCEFREE_TYPE definitionPanu Matilainen1-1/+1
2008-01-02Teach (unused) headerFreeTag about RPM_FORCEFREE_TYPEPanu Matilainen1-1/+1
2008-01-02Use size_t, not int for header format padding argsPanu Matilainen2-8/+8
2007-12-19Add rpm_data_t (and _constdata_t) for header data, use everywherePanu Matilainen9-91/+99
- consistent, easy to grep for and change... - bogus consts removed where spotted
2007-12-19Const-pedantry here and there...Panu Matilainen2-8/+8
2007-12-18Avoid exiting too early due to nested rpmdbCheckSignals()Panu Matilainen1-1/+1
2007-12-18Stick constfree to extension cache cleanupPanu Matilainen1-1/+1
- deal with the header mess later on
2007-12-18Drop bogus const from headerFreeTag() data pointerPanu Matilainen4-8/+6
- no effect as it's hft is unused - mark headerFreeData(), the real problem case, with _constfree() for easy finding (inlined in header.h so can't use _constfree())
2007-12-18Drop bogus const from temp variablePanu Matilainen1-1/+1
2007-12-18Remove bogus const from rpmdb match iterator contentsPanu Matilainen1-4/+4
2007-12-18Use constfree for rpmdb_s contents for nowPanu Matilainen3-13/+13
- rpmdb_internal is included from several places over the tree
2007-12-18Use constfree for rpmhash key + data for nowPanu Matilainen1-2/+2
- sometimes they point to real const data, sometimes not, eww
2007-12-17Drop const from temporary variablePanu Matilainen1-1/+1
2007-12-17Unbreak array query formatsPanu Matilainen1-5/+7
- signed -> unsigned count type change broke it..
2007-12-16Stupid reversed-logic thinko..Panu Matilainen1-1/+1
2007-12-16Remove const from bunch of error message return typesPanu Matilainen2-13/+13
- headerCheck(), rpmReadHeader() and rpmReadSignature() return malloced error messages the caller needs to free, shouldn't be const - adjust rpmdb hdrchk callbacks accordingly
2007-12-15Remove bogus const from rpmGenPath() temporary targetsPanu Matilainen2-6/+6
2007-12-15Remove bogus const from rpmGetPath() temporary targetsPanu Matilainen2-8/+8
2007-12-14Another bunch of bogus const removalsPanu Matilainen1-2/+2
2007-12-14Bunch of const char* correctionsPanu Matilainen1-1/+1
- functions returning string constants as char * etc...
2007-12-14Bunch of silly ssize_t castsPanu Matilainen1-3/+3
- cuts down the amount of spurious warnings from inlined code...
2007-12-14More misc size_t issuesPanu Matilainen1-1/+1
2007-12-13Use rpm_tagtype_t everywhere for rpm (header) tagtype typePanu Matilainen10-80/+81
- typedef'ed as uint32_t, doesn't matter much but negative types dont exist - easy to grep, easy to change... - define RPM_FORCEFREE_TYPE instead of -1 "magic" for forcing headerFreeData (ugh), easier to grep for and change than "-1"
2007-12-13Use rpm_tag_t everywhere for rpm (header) tag typePanu Matilainen12-102/+103
- 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-13Use rpm_count_t everywhere for header data countPanu Matilainen2-6/+8
- 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 - explicit casts where needed to avoid new warnings from signedness
2007-12-13Use rpm_count_t everywhere for header data countPanu Matilainen8-57/+61
- 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-08Switch to <rpm/foo.h> style for public headersPanu Matilainen18-46/+46
- adjust include paths accordingly
2007-12-03Remove double documentation from header methods to make doxygen shut upPanu Matilainen1-224/+0
2007-12-03Rename _rpmdbMatchIterator -> rpmdbMatchIterator_sPanu Matilainen1-1/+1
- consistency with other similar constructs
2007-12-03Split RPMTAG_* and related functions out of rpmlib.h to rpmtag.hPanu Matilainen1-3/+4