summaryrefslogtreecommitdiff
path: root/lib/header.c
AgeCommit message (Expand)AuthorFilesLines
2011-09-29Sanity check region offset range on headerLoad()Panu Matilainen1-1/+1
2011-09-29Sanity check region offset in regionSwab()Panu Matilainen1-0/+3
2011-05-30Eliminate obvious dead NULL-assignment at headerLoad() error exitPanu Matilainen1-2/+2
2011-05-29A few more dead NULL-assignment eliminations in low-level header codePanu Matilainen1-5/+4
2011-05-28Eliminate dead NULL-assignments at scope-end in librpm, part IPanu Matilainen1-2/+2
2011-05-24Cosmetics: remove redundant/empty doxygen markup, comments etcPanu Matilainen1-17/+2
2011-05-24Remove unused length return variables on doHeaderUnload()Panu Matilainen1-5/+2
2011-05-24Handle HEADERFLAG_SORTED bit correctly in headerUnsort()Panu Matilainen1-2/+4
2011-05-24Return explicit NULL on errors + frees in header codePanu Matilainen1-4/+4
2011-03-24Clean up headerRead()Jindrich Novy1-16/+14
2011-03-23Avoid timedRead() usageJindrich Novy1-4/+2
2011-03-11Mark htonll() as "const" functionPanu Matilainen1-1/+3
2010-11-17Yet another round of enum-as-function-argument eliminationPanu Matilainen1-3/+3
2010-10-22Switch lowelevel header internals to use rpm_tagtype_t for tag type dataPanu Matilainen1-7/+7
2010-10-22Switch header APIs to use rpmTagVal instead of rpmTagPanu Matilainen1-7/+7
2010-09-21Use proper types for tag and format extension functionsPanu Matilainen1-13/+1
2010-09-21Use actual rpmTags in place of the old HEADER_FOO defines everywherePanu Matilainen1-10/+10
2010-09-21Stop abusing enum typedefs for bitfield typesPanu Matilainen1-2/+4
2010-09-13Eliminate all fooUnlink() functions out of the APIPanu Matilainen1-1/+1
2010-09-13Unify header creation between headerNew() and headerLoad()Panu Matilainen1-14/+15
2010-04-21Lose the useless header refcounting debug junkPanu Matilainen1-12/+4
2010-02-24Permit simple strings to be returned argv-style from headers tooPanu Matilainen1-1/+2
2010-01-05Unconditionally include <netdb.h> where needed instead of system.hPanu Matilainen1-1/+1
2009-12-22Make header struct really opaque outside header.cPanu Matilainen1-0/+26
2009-12-22Move htonll() into header.c and make static, not needed elsewherePanu Matilainen1-0/+9
2009-12-22Move the higher level convenience functions out of header.cPanu Matilainen1-177/+0
2009-09-30Add alternative header iterator methodPanu Matilainen1-9/+18
2009-09-09Eliminate unused goo from findEntry()Panu Matilainen1-11/+2
2009-09-09Handle NULL header in doHeaderUnload()Panu Matilainen1-2/+2
2009-09-09Eliminate pointless incrementPanu Matilainen1-1/+0
2009-09-09Eliminate yet more unused calculations from header code...Panu Matilainen1-5/+1
2009-09-09Eliminate unused pad calculations from header codePanu Matilainen1-8/+0
2009-09-09Eliminate yet another unused variable in header codePanu Matilainen1-2/+0
2009-09-09Eliminate last remaining leftovers from "8/98 bug" workaroundPanu Matilainen1-6/+0
2009-09-09Eliminate unnecessary variable & related goo from regionSwab()Panu Matilainen1-9/+5
2009-09-09Initialize diff on declaration where it fits comfortably on one linePanu Matilainen1-6/+3
2009-09-09Move variable to block local scope, not needed elsewherePanu Matilainen1-2/+1
2009-09-09Remove unnecessary assignment, diff is block local scope herePanu Matilainen1-2/+1
2009-09-07Eliminate unused variablePanu Matilainen1-2/+0
2009-09-07Remove unused initializationPanu Matilainen1-1/+1
2009-09-04Fix memleak in headerGetDumber() .. err .. Number()Panu Matilainen1-0/+1
2009-09-02Add convenience function for retrieving numeric header dataPanu Matilainen1-0/+12
2009-09-02Oops, dont leak memory on invalid types to headerGet[As]String()Panu Matilainen1-4/+8
2009-09-02Add two new convenience functions for header string dataPanu Matilainen1-0/+25
2009-08-31Replace equal/not equal uses of str[n]cmp() with rstreq[n] in header codePanu Matilainen1-5/+5
2009-07-23Kill off lclint remnants everywherePanu Matilainen1-1/+0
2009-07-03Unify extension + header data getter calling conventionsPanu Matilainen1-29/+10
2009-07-03Pass headerGet flags to extensions too (unused for now)Panu Matilainen1-2/+3
2009-07-03Eliminate unused calculations originating from the "8/98 bug"Panu Matilainen1-44/+3
2009-07-03Re-enable rdlen vs dl header checkPanu Matilainen1-2/+0