Panu Matilainen
30c4e29d33
Add some more rpmtd access methods
...
- rpmtdGetUint() for 16 and 32 bit integer types, similar to
rpmtdGetString() (equally usable with scalar types and arrays)
- rpmtdToString() which converts "any" header data into string presentation
2008-05-13 18:09:35 +03:00
Panu Matilainen
11980a42f2
Add methods to construct tag containers from argv and argi arrays
...
- basic type checking done based on tag (return) type
2008-05-13 16:11:28 +03:00
Panu Matilainen
9de4354a12
Add support for iterating over tag data container
...
- rpmtd iterator init + next methods
- string accessor method for RPM_STRING_TYPE and RPM_STRING_ARRAY_TYPE
2008-05-13 14:40:55 +03:00
Panu Matilainen
223da12f24
Add rpmtdTag() method
2008-05-13 14:02:40 +03:00
Panu Matilainen
a83cfce188
New "tag data" container struct + some basic methods to deal with it
...
- to be used for passing around header and extension data
- inspired by similar changes in rpm5.org, details and implementation differ
2008-05-13 11:02:45 +03:00