summaryrefslogtreecommitdiff
path: root/lib/header.c
AgeCommit message (Expand)AuthorFilesLines
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
2009-06-23Set HEADERFLAGS_ALLOCATED centrally from headerLoad()Panu Matilainen1-13/+6
2009-03-10Don't return data from headerGet() on regionSwab() failurePanu Matilainen1-0/+4
2009-01-20Add headerGet() flag to request argv-style NULL-terminated string arraysPanu Matilainen1-2/+7
2009-01-19Fix memleak from i18n strings if retrieved with HEADERGET_ALLOCPanu Matilainen1-0/+1
2009-01-05Eliminate header magic duplication all over the place, export itPanu Matilainen1-5/+5
2009-01-05Remove unnecessary HEADER_FOOTAG definitionsPanu Matilainen1-2/+2
2008-11-30Add and use (internal) method for setting header instancePanu Matilainen1-0/+5
2008-11-12Add rpmdb record number to headers retrieved from rpmdbPanu Matilainen1-0/+6
2008-08-07Permit i18nstring in headerPutString()Panu Matilainen1-1/+1
2008-07-07Eliminate couple of timedRead() uses where we control how fd is openedPanu Matilainen1-1/+0
2008-07-03Change headerPutString() arg name to match the othersPanu Matilainen1-3/+3
2008-06-19Dumb, dumb thinko/leftover from earlier prototype...Panu Matilainen1-1/+2
2008-06-19Add type-safe headerPutFoo() methods for supported tag data typesPanu Matilainen1-0/+93
2008-06-18Convert headerAddI18NString() to use headerPut()Panu Matilainen1-3/+16
2008-06-18Switch around headerAdd*Entry() family vs headerPut()Panu Matilainen1-27/+20
2008-06-18Switch around headerMod() and headerModifyEntry()Panu Matilainen1-12/+6
2008-06-18Stuff legacy compat wrappers out of sight into header_internal.cPanu Matilainen1-94/+0
2008-06-18Start shredding legacy cruft out of header codePanu Matilainen1-43/+3
2008-06-18Add headerMod() to headerPut() etc familyPanu Matilainen1-0/+5
2008-06-17Replace headerRemoveEntry() with headerDel() everywherePanu Matilainen1-2/+2
2008-06-17Rename headerRemoveEntry() to headerDel(), add compat wrapperPanu Matilainen1-1/+6