diff options
Diffstat (limited to 'doc/librpm/html/header_8h.html')
-rw-r--r-- | doc/librpm/html/header_8h.html | 342 |
1 files changed, 342 insertions, 0 deletions
diff --git a/doc/librpm/html/header_8h.html b/doc/librpm/html/header_8h.html new file mode 100644 index 0000000..4106209 --- /dev/null +++ b/doc/librpm/html/header_8h.html @@ -0,0 +1,342 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<title>rpm: header.h File Reference</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<link href="doxygen.css" rel="stylesheet" type="text/css"/> +</head> +<body> +<!-- Generated by Doxygen 1.7.4 --> +<div id="top"> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td style="padding-left: 0.5em;"> + <div id="projectname">rpm <span id="projectnumber">4.9.1</span></div> + </td> + </tr> + </tbody> +</table> +</div> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="modules.html"><span>Modules</span></a></li> + <li><a href="annotated.html"><span>Data Structures</span></a></li> + <li class="current"><a href="files.html"><span>Files</span></a></li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>Globals</span></a></li> + </ul> + </div> +</div> +<div class="header"> + <div class="summary"> +<a href="#typedef-members">Typedefs</a> | +<a href="#enum-members">Enumerations</a> | +<a href="#func-members">Functions</a> | +<a href="#var-members">Variables</a> </div> + <div class="headertitle"> +<div class="title">header.h File Reference<div class="ingroups"><a class="el" href="group__header.html">Header API.</a></div></div> </div> +</div> +<div class="contents"> + +<p>An rpm header carries all information about a package. +<a href="#details">More...</a></p> +<div class="textblock"><code>#include <rpm/rpmio.h></code><br/> +<code>#include <rpm/rpmtypes.h></code><br/> +<code>#include <rpm/rpmtd.h></code><br/> +<code>#include <rpm/rpmutil.h></code><br/> +</div><div class="textblock"><div class="dynheader"> +Include dependency graph for header.h:</div> +<div class="dyncontent"> +<div class="center"><img src="header_8h__incl.png" border="0" usemap="#header_8h" alt=""/></div> +</div> +</div> +<p><a href="header_8h_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr><td colspan="2"><h2><a name="typedef-members"></a> +Typedefs</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group__rpmtypes.html#ga44316ffc2f14b8b54c8473f2977e8c81">rpmFlags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="header_8h.html#a90e3a0c184de0dcd9a74e875e3a438c0">headerGetFlags</a></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group__rpmtypes.html#ga44316ffc2f14b8b54c8473f2977e8c81">rpmFlags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="header_8h.html#a0c621fdfe7dd922f5772fa1019af4cb9">headerPutFlags</a></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="header_8h.html#a2040f1d570fb4da3b9eed9f136f49839">headerConvOps_e</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="header_8h.html#ab81daf21bb30b7973d62048d77f08c04">headerConvOps</a></td></tr> +<tr><td colspan="2"><h2><a name="enum-members"></a> +Enumerations</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga2572591faf5430cdf28aaf9f70d74fa4">hMagic</a> { <a class="el" href="group__header.html#gga2572591faf5430cdf28aaf9f70d74fa4a4df0aa5955f506525b5a5537605e3092">HEADER_MAGIC_NO</a> = 0, +<a class="el" href="group__header.html#gga2572591faf5430cdf28aaf9f70d74fa4aebb6d0af72ae9d4c607e81796dafa472">HEADER_MAGIC_YES</a> = 1 + }</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Include calculation for 8 bytes of (magic, 0)? <a href="group__header.html#ga2572591faf5430cdf28aaf9f70d74fa4">More...</a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gae10b109d8e56faba07f4743b797b893a">headerGetFlags_e</a> { <br/> +  <a class="el" href="group__header.html#ggae10b109d8e56faba07f4743b797b893aa10a9f914f9b8f462ad846dc27cab28c6">HEADERGET_DEFAULT</a> = 0, +<a class="el" href="group__header.html#ggae10b109d8e56faba07f4743b797b893aa9ff0aaa4dbaf60dc852c5af8ca6487f2">HEADERGET_MINMEM</a> = (1 << 0), +<a class="el" href="group__header.html#ggae10b109d8e56faba07f4743b797b893aa38f8e76cedf30634d4d7621be70c5847">HEADERGET_EXT</a> = (1 << 1), +<a class="el" href="group__header.html#ggae10b109d8e56faba07f4743b797b893aa9323938f8824a1257d24adec115996a4">HEADERGET_RAW</a> = (1 << 2), +<br/> +  <a class="el" href="group__header.html#ggae10b109d8e56faba07f4743b797b893aa8fb050c50c60c1b2a931a56e0beb2b8a">HEADERGET_ALLOC</a> = (1 << 3), +<a class="el" href="group__header.html#ggae10b109d8e56faba07f4743b797b893aa3dc9e71e8a1777e9a68adde6569aef96">HEADERGET_ARGV</a> = (1 << 4) +<br/> + }</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Modifier flags for <a class="el" href="group__header.html#ga7a2b47707f49dd90c7f3e7799e4a01b3" title="Retrieve tag value.">headerGet()</a> operation. <a href="group__header.html#gae10b109d8e56faba07f4743b797b893a">More...</a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="header_8h.html#a0801150465036435d3da5d2654657d5c">headerPutFlags_e</a> { <a class="el" href="header_8h.html#a0801150465036435d3da5d2654657d5cab84d568124b06cfdbe8800c1bcadcdf6">HEADERPUT_DEFAULT</a> = 0, +<a class="el" href="header_8h.html#a0801150465036435d3da5d2654657d5ca1f5b6d963e2a1728f5779c30b1480a52">HEADERPUT_APPEND</a> = (1 << 0) + }</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="header_8h.html#a2040f1d570fb4da3b9eed9f136f49839">headerConvOps_e</a> { <a class="el" href="header_8h.html#a2040f1d570fb4da3b9eed9f136f49839a1332e8907883912824561e32db69b1f7">HEADERCONV_EXPANDFILELIST</a> = 0, +<a class="el" href="header_8h.html#a2040f1d570fb4da3b9eed9f136f49839ae4ade8ae64f654af5e6767e2b9ec9d4d">HEADERCONV_COMPRESSFILELIST</a> = 1, +<a class="el" href="header_8h.html#a2040f1d570fb4da3b9eed9f136f49839abedf5e7c47c1bcbf08df700f9d734c13">HEADERCONV_RETROFIT_V3</a> = 2 + }</td></tr> +<tr><td colspan="2"><h2><a name="func-members"></a> +Functions</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gaba1932e7962b6c650006c3083530b042">headerNew</a> (void)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Create new (empty) header instance. <a href="group__header.html#gaba1932e7962b6c650006c3083530b042"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga15e58ea36a4ad540759989db341797ce">headerFree</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Dereference a header instance. <a href="group__header.html#ga15e58ea36a4ad540759989db341797ce"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gab8e8158584de00bad7bbf91cd7b43e72">headerLink</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Reference a header instance. <a href="group__header.html#gab8e8158584de00bad7bbf91cd7b43e72"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gab68de4a4d57795669a97ba8a101f3e51">headerSort</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Sort tags in header. <a href="group__header.html#gab68de4a4d57795669a97ba8a101f3e51"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga9b3c8381f8d7e1f0818c40fc32287f02">headerUnsort</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Restore tags in header to original ordering. <a href="group__header.html#ga9b3c8381f8d7e1f0818c40fc32287f02"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gabe6057e3d70882f1d756ab87c555baf6">headerSizeof</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, int magicp)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return size of on-disk header representation in bytes. <a href="group__header.html#gabe6057e3d70882f1d756ab87c555baf6"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gaf77927dd7aafa1bb3d1d878890387f0f">headerVerifyInfo</a> (int il, int dl, const void *pev, void *iv, int negate)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform simple sanity and range checks on header tag(s). <a href="group__header.html#gaf77927dd7aafa1bb3d1d878890387f0f"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga33ea43d033ea680a8c5357ed9cec7283">headerUnload</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Convert header to on-disk representation. <a href="group__header.html#ga33ea43d033ea680a8c5357ed9cec7283"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gaf20c66a7e5a96a7bcdf186ff517bd6ff">headerReload</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Convert header to on-disk representation, and then reload. <a href="group__header.html#gaf20c66a7e5a96a7bcdf186ff517bd6ff"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gac6ec9b02a38e9ad6bc9bd10c73eb2960">headerCopy</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Duplicate a header. <a href="group__header.html#gac6ec9b02a38e9ad6bc9bd10c73eb2960"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gaa44e906299e81eda325dbef9fd991c9c">headerLoad</a> (void *uh)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Convert header to in-memory representation. <a href="group__header.html#gaa44e906299e81eda325dbef9fd991c9c"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gaa4af55b82df3f36dd7257cd3a1b2b7d9">headerCopyLoad</a> (const void *uh)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Make a copy and convert header to in-memory representation. <a href="group__header.html#gaa4af55b82df3f36dd7257cd3a1b2b7d9"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga29a7512cc49adc47238baf0acd3f67e5">headerRead</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd, int magicp)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Read (and load) header from file handle. <a href="group__header.html#ga29a7512cc49adc47238baf0acd3f67e5"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gabe3afb87a33318ab9cef8039d9a12698">headerWrite</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd, <a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, int magicp)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Write (with unload) header to file handle. <a href="group__header.html#gabe3afb87a33318ab9cef8039d9a12698"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gafb403521514c8e7ebaec2cd568c128de">headerIsEntry</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Check if tag is in header. <a href="group__header.html#gafb403521514c8e7ebaec2cd568c128de"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga7a2b47707f49dd90c7f3e7799e4a01b3">headerGet</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag, <a class="el" href="structrpmtd__s.html">rpmtd</a> td, <a class="el" href="header_8h.html#a90e3a0c184de0dcd9a74e875e3a438c0">headerGetFlags</a> flags)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieve tag value. <a href="group__header.html#ga7a2b47707f49dd90c7f3e7799e4a01b3"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga2275b05ca8482917028356781f9a125d">headerPut</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="structrpmtd__s.html">rpmtd</a> td, <a class="el" href="header_8h.html#a0c621fdfe7dd922f5772fa1019af4cb9">headerPutFlags</a> flags)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Add or append tag to header. <a href="group__header.html#ga2275b05ca8482917028356781f9a125d"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga16c4db38571cb061497692d4703f69bd">headerAddI18NString</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag, const char *string, const char *lang)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Add locale specific tag to header. <a href="group__header.html#ga16c4db38571cb061497692d4703f69bd"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga1da44d2ff4356452098ecab7214ec66d">headerMod</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="structrpmtd__s.html">rpmtd</a> td)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Modify tag in header. <a href="group__header.html#ga1da44d2ff4356452098ecab7214ec66d"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga51d00fb009078a0a884a38844aa87289">headerDel</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Delete tag in header. <a href="group__header.html#ga51d00fb009078a0a884a38844aa87289"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gaca1e14f3cde6bfbc931582dfb52f5307">headerFormat</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, const char *fmt, <a class="el" href="rpmtypes_8h.html#ab20ae37fc60551c3abf7f9b25fcd3bc2">errmsg_t</a> *errmsg)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return formatted output string from header tags. <a href="group__header.html#gaca1e14f3cde6bfbc931582dfb52f5307"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga3e30db21bf5804f5f5555320310dac69">headerCopyTags</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> headerFrom, <a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> headerTo, const <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> *tagstocopy)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Duplicate tag values from one header into another. <a href="group__header.html#ga3e30db21bf5804f5f5555320310dac69"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#ga04fc66186d2c57c59085895c232091ab">HeaderIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga98877806b624ced2fac5cd0bb50239a4">headerFreeIterator</a> (<a class="el" href="group__rpmtypes.html#ga04fc66186d2c57c59085895c232091ab">HeaderIterator</a> hi)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Destroy header tag iterator. <a href="group__header.html#ga98877806b624ced2fac5cd0bb50239a4"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#ga04fc66186d2c57c59085895c232091ab">HeaderIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gae549f696a160547449c7fbd3606026b3">headerInitIterator</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Create header tag iterator. <a href="group__header.html#gae549f696a160547449c7fbd3606026b3"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga9c4cc53c5f7e88665752bbceee2e5756">headerNext</a> (<a class="el" href="group__rpmtypes.html#ga04fc66186d2c57c59085895c232091ab">HeaderIterator</a> hi, <a class="el" href="structrpmtd__s.html">rpmtd</a> td)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return next tag contents from header. <a href="group__header.html#ga9c4cc53c5f7e88665752bbceee2e5756"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gafa3424ff811c33c12b8297ac5e44a5c2">headerNextTag</a> (<a class="el" href="group__rpmtypes.html#ga04fc66186d2c57c59085895c232091ab">HeaderIterator</a> hi)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return next tag number from header. <a href="group__header.html#gafa3424ff811c33c12b8297ac5e44a5c2"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">RPM_GNUC_DEPRECATED int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gaf464f34a68f0dd28ee1b21c542f20103">headerNVR</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, const char **np, const char **vp, const char **rp)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return name, version, release strings from header. <a href="group__header.html#gaf464f34a68f0dd28ee1b21c542f20103"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">RPM_GNUC_DEPRECATED int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga8c1d0358eb869c59f4ee0ac08cc7b6f7">headerNEVRA</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, const char **np, uint32_t **ep, const char **vp, const char **rp, const char **ap)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return name, epoch, version, release, arch strings from header. <a href="group__header.html#ga8c1d0358eb869c59f4ee0ac08cc7b6f7"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">RPM_GNUC_DEPRECATED char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga2b345b12d18067ea122b04ef116871ea">headerGetNEVR</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, const char **np)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return (malloc'd) header name-version-release string. <a href="group__header.html#ga2b345b12d18067ea122b04ef116871ea"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">RPM_GNUC_DEPRECATED char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gaf14a79191e915a24f56590ee7274792b">headerGetNEVRA</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, const char **np)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return (malloc'd) header name-version-release.arch string. <a href="group__header.html#gaf14a79191e915a24f56590ee7274792b"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">RPM_GNUC_DEPRECATED char * </td><td class="memItemRight" valign="bottom"><a class="el" href="header_8h.html#ac9e82de0b6c9dd9322e6b25a70d8df41">headerGetEVR</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, const char **np)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga8e4563d798b9d1e6dae92f31f7f05de3">headerGetAsString</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return any non-array tag from header, converted to string. <a href="group__header.html#ga8e4563d798b9d1e6dae92f31f7f05de3"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga33376e8850c275b72059fe723a0d3066">headerGetString</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a simple string tag from header. <a href="group__header.html#ga33376e8850c275b72059fe723a0d3066"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="header_8h.html#a8a4fd4f0bb8c270496d428d00e1d83a0">headerGetNumber</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">RPM_GNUC_DEPRECATED <a class="el" href="group__rpmtypes.html#ga5320e2d8dbd395706d114a4d8fc93505">rpm_color_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gaf8f218d9d2c27f435c3a11a286adb01f">headerGetColor</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return header color. <a href="group__header.html#gaf8f218d9d2c27f435c3a11a286adb01f"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga3e665b416a45423189eefd54d32e8826">headerIsSource</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Check if header is a source or binary package header. <a href="group__header.html#ga3e665b416a45423189eefd54d32e8826"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gab2ead5204f382040cd30cd4be1688990">headerGetInstance</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return header instance, ie is the header from rpmdb. <a href="group__header.html#gab2ead5204f382040cd30cd4be1688990"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gab88b5e1beaad76593a9488f4d6690c9c">headerConvert</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, int op)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Convert header to/from (legacy) data presentation. <a href="group__header.html#gab88b5e1beaad76593a9488f4d6690c9c"></a><br/></td></tr> +<tr><td colspan="2"><div class="groupHeader"></div></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga9a7cc53243734db48200933aecaea57c">headerPutString</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag, const char *val)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Type-safe methods for inserting tag data to header. <a href="group__header.html#ga9a7cc53243734db48200933aecaea57c"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga49fc2962d2ca89a6b5d0037f179bec3b">headerPutStringArray</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag, const char **val, <a class="el" href="group__rpmtypes.html#ga12927399545450cd58cca8abdc44e768">rpm_count_t</a> size)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga9e199fc71b38054854cbce80688d3f34">headerPutBin</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag, const uint8_t *val, <a class="el" href="group__rpmtypes.html#ga12927399545450cd58cca8abdc44e768">rpm_count_t</a> size)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gaa4d045e93d8dd80ae5926adc497c89fe">headerPutChar</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag, const char *val, <a class="el" href="group__rpmtypes.html#ga12927399545450cd58cca8abdc44e768">rpm_count_t</a> size)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga76de0144adee11ce027a6df0df6a9211">headerPutUint8</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag, const uint8_t *val, <a class="el" href="group__rpmtypes.html#ga12927399545450cd58cca8abdc44e768">rpm_count_t</a> size)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gaad9057a802f0b75770306b0bb8278cab">headerPutUint16</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag, const uint16_t *val, <a class="el" href="group__rpmtypes.html#ga12927399545450cd58cca8abdc44e768">rpm_count_t</a> size)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#gaac1ccf3d2c03fea718715fecb18e83c8">headerPutUint32</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag, const uint32_t *val, <a class="el" href="group__rpmtypes.html#ga12927399545450cd58cca8abdc44e768">rpm_count_t</a> size)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga16cbe23295f03e636efdbb7c82c3b2b6">headerPutUint64</a> (<a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> h, <a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag, const uint64_t *val, <a class="el" href="group__rpmtypes.html#ga12927399545450cd58cca8abdc44e768">rpm_count_t</a> size)</td></tr> +<tr><td colspan="2"><h2><a name="var-members"></a> +Variables</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">const unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="group__header.html#ga6483a32ca9785bcef5fba196608ac0fb">rpm_header_magic</a> [8]</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Header magic value. <a href="group__header.html#ga6483a32ca9785bcef5fba196608ac0fb"></a><br/></td></tr> +</table> +<hr/><a name="details" id="details"></a><h2>Detailed Description</h2> +<div class="textblock"><p>An rpm header carries all information about a package. </p> +<p>A header is a collection of data elements called tags. Each tag has a data type, and includes 1 or more values. </p> + +<p>Definition in file <a class="el" href="header_8h_source.html">header.h</a>.</p> +</div><hr/><h2>Typedef Documentation</h2> +<a class="anchor" id="ab81daf21bb30b7973d62048d77f08c04"></a><!-- doxytag: member="header.h::headerConvOps" ref="ab81daf21bb30b7973d62048d77f08c04" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef enum <a class="el" href="header_8h.html#a2040f1d570fb4da3b9eed9f136f49839">headerConvOps_e</a> <a class="el" href="header_8h.html#ab81daf21bb30b7973d62048d77f08c04">headerConvOps</a></td> + </tr> + </table> +</div> +<div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a90e3a0c184de0dcd9a74e875e3a438c0"></a><!-- doxytag: member="header.h::headerGetFlags" ref="a90e3a0c184de0dcd9a74e875e3a438c0" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef <a class="el" href="group__rpmtypes.html#ga44316ffc2f14b8b54c8473f2977e8c81">rpmFlags</a> <a class="el" href="header_8h.html#a90e3a0c184de0dcd9a74e875e3a438c0">headerGetFlags</a></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="header_8h_source.html#l00168">168</a> of file <a class="el" href="header_8h_source.html">header.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a0c621fdfe7dd922f5772fa1019af4cb9"></a><!-- doxytag: member="header.h::headerPutFlags" ref="a0c621fdfe7dd922f5772fa1019af4cb9" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef <a class="el" href="group__rpmtypes.html#ga44316ffc2f14b8b54c8473f2977e8c81">rpmFlags</a> <a class="el" href="header_8h.html#a0c621fdfe7dd922f5772fa1019af4cb9">headerPutFlags</a></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="header_8h_source.html#l00186">186</a> of file <a class="el" href="header_8h_source.html">header.h</a>.</p> + +</div> +</div> +<hr/><h2>Enumeration Type Documentation</h2> +<a class="anchor" id="a2040f1d570fb4da3b9eed9f136f49839"></a><!-- doxytag: member="header.h::headerConvOps_e" ref="a2040f1d570fb4da3b9eed9f136f49839" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">enum <a class="el" href="header_8h.html#a2040f1d570fb4da3b9eed9f136f49839">headerConvOps_e</a></td> + </tr> + </table> +</div> +<div class="memdoc"> +<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> +<tr><td valign="top"><em><a class="anchor" id="a2040f1d570fb4da3b9eed9f136f49839a1332e8907883912824561e32db69b1f7"></a><!-- doxytag: member="HEADERCONV_EXPANDFILELIST" ref="a2040f1d570fb4da3b9eed9f136f49839a1332e8907883912824561e32db69b1f7" args="" -->HEADERCONV_EXPANDFILELIST</em> </td><td> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a2040f1d570fb4da3b9eed9f136f49839ae4ade8ae64f654af5e6767e2b9ec9d4d"></a><!-- doxytag: member="HEADERCONV_COMPRESSFILELIST" ref="a2040f1d570fb4da3b9eed9f136f49839ae4ade8ae64f654af5e6767e2b9ec9d4d" args="" -->HEADERCONV_COMPRESSFILELIST</em> </td><td> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a2040f1d570fb4da3b9eed9f136f49839abedf5e7c47c1bcbf08df700f9d734c13"></a><!-- doxytag: member="HEADERCONV_RETROFIT_V3" ref="a2040f1d570fb4da3b9eed9f136f49839abedf5e7c47c1bcbf08df700f9d734c13" args="" -->HEADERCONV_RETROFIT_V3</em> </td><td> +</td></tr> +</table> +</dd> +</dl> + +<p>Definition at line <a class="el" href="header_8h_source.html#l00428">428</a> of file <a class="el" href="header_8h_source.html">header.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a0801150465036435d3da5d2654657d5c"></a><!-- doxytag: member="header.h::headerPutFlags_e" ref="a0801150465036435d3da5d2654657d5c" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">enum <a class="el" href="header_8h.html#a0801150465036435d3da5d2654657d5c">headerPutFlags_e</a></td> + </tr> + </table> +</div> +<div class="memdoc"> +<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> +<tr><td valign="top"><em><a class="anchor" id="a0801150465036435d3da5d2654657d5cab84d568124b06cfdbe8800c1bcadcdf6"></a><!-- doxytag: member="HEADERPUT_DEFAULT" ref="a0801150465036435d3da5d2654657d5cab84d568124b06cfdbe8800c1bcadcdf6" args="" -->HEADERPUT_DEFAULT</em> </td><td> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a0801150465036435d3da5d2654657d5ca1f5b6d963e2a1728f5779c30b1480a52"></a><!-- doxytag: member="HEADERPUT_APPEND" ref="a0801150465036435d3da5d2654657d5ca1f5b6d963e2a1728f5779c30b1480a52" args="" -->HEADERPUT_APPEND</em> </td><td> +</td></tr> +</table> +</dd> +</dl> + +<p>Definition at line <a class="el" href="header_8h_source.html#l00181">181</a> of file <a class="el" href="header_8h_source.html">header.h</a>.</p> + +</div> +</div> +<hr/><h2>Function Documentation</h2> +<a class="anchor" id="ac9e82de0b6c9dd9322e6b25a70d8df41"></a><!-- doxytag: member="header.h::headerGetEVR" ref="ac9e82de0b6c9dd9322e6b25a70d8df41" args="(Header h, const char **np)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">RPM_GNUC_DEPRECATED char* headerGetEVR </td> + <td>(</td> + <td class="paramtype"><a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> </td> + <td class="paramname"><em>h</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const char ** </td> + <td class="paramname"><em>np</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div> +<div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a8a4fd4f0bb8c270496d428d00e1d83a0"></a><!-- doxytag: member="header.h::headerGetNumber" ref="a8a4fd4f0bb8c270496d428d00e1d83a0" args="(Header h, rpmTagVal tag)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">uint64_t headerGetNumber </td> + <td>(</td> + <td class="paramtype"><a class="el" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6">Header</a> </td> + <td class="paramname"><em>h</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> </td> + <td class="paramname"><em>tag</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div> +<div class="memdoc"> + +</div> +</div> +</div> +<hr class="footer"/><address class="footer"><small>Generated on Fri Jul 15 2011 for rpm by  +<a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> +</body> +</html> |