Commit Graph

17 Commits

Author SHA1 Message Date
Panu Matilainen 146f12c05b Mark various header tables and definitions as read-only 2008-03-06 19:50:41 +02:00
Panu Matilainen 130118d594 Use rpmTagType always now that it's available everywhere
- 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-05 16:14:34 +02:00
Panu Matilainen ecabf13710 Move rpmTagType stuff to rpmtag.h now that they can move 2008-01-30 13:00:26 +02:00
Panu Matilainen addac6a86b Add rpm_data_t (and _constdata_t) for header data, use everywhere
- consistent, easy to grep for and change...
- bogus consts removed where spotted
2007-12-19 12:05:56 +02:00
Panu Matilainen 8d66d5fe4a Bunch of const char* corrections
- functions returning string constants as char * etc...
2007-12-14 15:17:59 +02:00
Panu Matilainen 1e96ead466 Use rpm_tagtype_t everywhere for rpm (header) tagtype type
- 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-13 20:35:33 +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
Ralf Corsépius f103adbb26 Expand private include file names to be relative to $(top_srcdir) 2007-11-23 11:43:51 +01:00
Ralf Corsépius 979907ae8b Include "header_internal.h" instead of <header_internal.h>. 2007-10-28 06:42:46 +01:00
Ralf Corsépius bebeb89735 Eliminate [u|]int_[8|16|32]. Use c99 stdint.h types instead. 2007-10-26 13:24:14 +02:00
Ralf Corsépius 60ac364295 Remove splint tags. 2007-09-11 18:37:03 +02:00
Panu Matilainen 1a2426fec6 Internal helper function for converting binary blobs to hex strings. 2007-09-05 13:42:25 +03:00
Paul Nasrat 0707e98841 This fixes a typo that caused a compiler warning [#178055].
Patch from OpenSuSE
2007-04-16 13:05:18 +01:00
jbj 1c023424d7 Correct doxygen-1.2.18 warnings.
CVS patchset: 5875
CVS date: 2002/11/19 15:07:08
2002-11-19 15:07:08 +00:00
jbj e5fb770e7d Add boundsread annotations throughout, enable +bounds checking.
Start narrowing the scope of bounds annotations by adding more annotations.

CVS patchset: 5537
CVS date: 2002/07/02 23:54:35
2002-07-02 23:54:35 +00:00
jbj 05cb73a7ee Factor bounds checking annotations into source code.
CVS patchset: 5521
CVS date: 2002/06/22 18:51:56
2002-06-22 18:51:56 +00: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