Panu Matilainen
9e586c62b1
Limit the exposure of rpmlegacy.h stuff to bare minimum
2008-07-08 18:54:29 +03:00
Panu Matilainen
6ea17f9ca4
Shove header legacy interfaces into rpmlegacy.h
...
- get them out of sight from main header.h
- turn headerSprintf() into macro around headerFormat(), that way
rpmTagTable and rpmHeaderFormats lossage can be hidden away as far
as headerSprintf() use is concerned
2008-07-08 18:54:28 +03:00
Panu Matilainen
9fb0258e04
Avoid silly deprecation warning on headerFreeData()
2008-06-23 15:02:10 +03:00
Panu Matilainen
efe4e4c946
Switch around headerAdd*Entry() family vs headerPut()
...
- make internal header add + append take rpmtd as argument, legacy
interfaces are just wrappers around them
- add deprecation markers
2008-06-18 15:16:05 +03:00
Panu Matilainen
b6577f0e6d
Switch around headerMod() and headerModifyEntry()
...
- headerModifyEntry() is the legacy interface going away, make it
use headerMod() and deprecate it
2008-06-18 14:59:13 +03:00
Panu Matilainen
a8f23a4619
Stuff legacy compat wrappers out of sight into header_internal.c
...
- probably need to carry the compat stuff around for a while but get
them out of the way...
- headerFreeTag() and headerFreeData() are just the same thing, with
headerFreeTag() supposedly being the "new" interface which never was
used, duh :)
2008-06-18 14:54:41 +03:00
Jindrich Novy
e2427595aa
Handle RPM_INT64_TYPE in header functions
2008-06-06 15:04:25 +02:00
Jindrich Novy
49dfc587d5
Introduce htonll()
2008-06-06 15:03:19 +02:00
Panu Matilainen
058e94ec41
Ditch the tagtable argument of (internal) headerDump() function
...
- might as well ditch the function too I guess...
2008-05-21 17:26:52 +03:00
Panu Matilainen
d2ef49038a
Include rpmtypes.h first instead of rpmtag.h everywhere
2008-05-21 15:59:39 +03:00
Panu Matilainen
90e10708f8
Fixup paths and Makefiles for rpmdb/ elimination
2008-05-12 12:28:12 +03:00
Panu Matilainen
a68a5a049e
Start (re-)joining librpmdb and librpm
...
- the split is largely arbitrary and mostly just causes, well, arbitrary
issues and limitations
- just move content from rpmdb/ to lib/ for now
2008-05-12 12:17:01 +03:00
jbj
a224782884
- header handling moved to librpmdb to avoid linkage loops.
...
CVS patchset: 5193
CVS date: 2001/11/19 22:45:35
2001-11-19 22:45:35 +00:00
jbj
96a3f7a55d
Factor -type problems into explicit code annotations.
...
CVS patchset: 5117
CVS date: 2001/10/16 17:42:18
2001-10-16 17:42:18 +00:00
jbj
9f45bcd3ec
More lclint annotations.
...
CVS patchset: 5116
CVS date: 2001/10/16 14:58:57
2001-10-16 14:58:57 +00:00
jbj
4b67d7621c
More lclint annotations.
...
CVS patchset: 5105
CVS date: 2001/10/13 22:01:38
2001-10-13 22:01:38 +00:00
jbj
3e219ad91a
- fix: sanity checks on #tags (<65K) and offset (<16Mb) in header.
...
- fix: add -r to useradd to prevent /etc/skel glop (#46215 ).
- fix: disambiguate typedef and struct name(s) for kpackage.
CVS patchset: 4908
CVS date: 2001/06/28 22:19:08
2001-06-28 22:19:08 +00:00
jbj
c6bd3de937
- preliminary abstraction to support per-header methods.
...
CVS patchset: 4878
CVS date: 2001/06/19 11:38:51
2001-06-19 11:38:51 +00:00
jbj
29ea1567e7
Sync with rpm-4_0 branch.
...
CVS patchset: 4876
CVS date: 2001/06/17 22:18:03
2001-06-17 22:18:03 +00:00