diff options
Diffstat (limited to 'doc/librpm/html/rpmvf_8h.html')
-rw-r--r-- | doc/librpm/html/rpmvf_8h.html | 462 |
1 files changed, 462 insertions, 0 deletions
diff --git a/doc/librpm/html/rpmvf_8h.html b/doc/librpm/html/rpmvf_8h.html new file mode 100644 index 0000000..1c5c4c7 --- /dev/null +++ b/doc/librpm/html/rpmvf_8h.html @@ -0,0 +1,462 @@ +<!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: rpmvf.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="#define-members">Defines</a> | +<a href="#typedef-members">Typedefs</a> | +<a href="#enum-members">Enumerations</a> | +<a href="#func-members">Functions</a> </div> + <div class="headertitle"> +<div class="title">rpmvf.h File Reference</div> </div> +</div> +<div class="contents"> +<div class="textblock"><code>#include <rpm/rpmtypes.h></code><br/> +</div><div class="textblock"><div class="dynheader"> +Include dependency graph for rpmvf.h:</div> +<div class="dyncontent"> +<div class="center"><img src="rpmvf_8h__incl.png" border="0" usemap="#rpmvf_8h" alt=""/></div> +</div> +</div> +<p><a href="rpmvf_8h_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr><td colspan="2"><h2><a name="define-members"></a> +Defines</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmvf_8h.html#ad6f501b3193c1bef72e103a0aebc4ac9">RPMVERIFY_ALL</a>   ~(RPMVERIFY_NONE)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmvf_8h.html#a16ceeec3b7178c898ce8cd400a89e435">RPMVERIFY_FAILURES</a>   (RPMVERIFY_LSTATFAIL|RPMVERIFY_READFAIL|RPMVERIFY_READLINKFAIL|RPMVERIFY_LGETFILECONFAIL)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmvf_8h.html#ad3ffb59287a490a11f160c9618a6f866">VERIFY_ATTRS</a></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmvf_8h.html#a62cf0189172e77e77d74993c51bc0842">VERIFY_ALL</a></td></tr> +<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="rpmvf_8h.html#ab63f84cbfa010e112788ac4b04bb3ce0">rpmVerifyAttrs</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="rpmvf_8h.html#aca944e7ab106a92cc3da05515facacdc">rpmVerifyFlags</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="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1">rpmVerifyAttrs_e</a> { <br/> +  <a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1a83d63ad0ff3e52cb933151ada53da66b">RPMVERIFY_NONE</a> = 0, +<a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1a1bf10bdf51040c37cb609c2fba4b9172">RPMVERIFY_MD5</a> = (1 << 0), +<a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1abd83c92b9826e11add173823544f520f">RPMVERIFY_FILEDIGEST</a> = (1 << 0), +<a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1a740425bfa569a2601d331823aca900b8">RPMVERIFY_FILESIZE</a> = (1 << 1), +<br/> +  <a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1af1fa39d48cd2d8b404e23e22834bff83">RPMVERIFY_LINKTO</a> = (1 << 2), +<a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1a70358183cc41003246c8d7767340fc06">RPMVERIFY_USER</a> = (1 << 3), +<a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1a4e25518e65505e3e9e35ceb75b6f81e5">RPMVERIFY_GROUP</a> = (1 << 4), +<a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1a0ad2f3f7d4a3512b482d7e452f8f821d">RPMVERIFY_MTIME</a> = (1 << 5), +<br/> +  <a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1a36bb5fa4fb5e9c6e50e78ff9b8fa9e75">RPMVERIFY_MODE</a> = (1 << 6), +<a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1a282494deedc3c51b97a5d968de7e9fc6">RPMVERIFY_RDEV</a> = (1 << 7), +<a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1a0a8c3e12ecd8df528d2ea91b4dbd3ab8">RPMVERIFY_CAPS</a> = (1 << 8), +<a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1a2612e222c924be92d02c5b4203bfc289">RPMVERIFY_CONTEXTS</a> = (1 << 15), +<br/> +  <a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1a891c2375f800fd7aabe213075678cc3c">RPMVERIFY_READLINKFAIL</a> = (1 << 28), +<a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1a85dc4a8b9cceb9792442a5b36d73619b">RPMVERIFY_READFAIL</a> = (1 << 29), +<a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1a9c87f942f7061f47677c4a4f433ee964">RPMVERIFY_LSTATFAIL</a> = (1 << 30), +<a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1a20603d96bc1c6eab57ab00bd90aa8fdc">RPMVERIFY_LGETFILECONFAIL</a> = (1 << 31) +<br/> + }</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Bit(s) for <a class="el" href="rpmvf_8h.html#ac18d9864c04628611d1f08696a7b17fd" title="Verify file attributes (including digest).">rpmVerifyFile()</a> attributes and result. <a href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1">More...</a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140a">rpmVerifyFlags_e</a> { <br/> +  <a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aab0331302d3d9de835d93acb9c75ad610">VERIFY_DEFAULT</a> = 0, +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa7f97b0e28519856f635dec971fb9859c">VERIFY_MD5</a> = (1 << 0), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aad67f50e62ab207c246fd824966f60a88">VERIFY_FILEDIGEST</a> = (1 << 0), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa571895e84487de612666b05cbac95973">VERIFY_SIZE</a> = (1 << 1), +<br/> +  <a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aabf4d4514a688264972dd1ae4a83ba25b">VERIFY_LINKTO</a> = (1 << 2), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa86c6c06d6cad76b387f10a3c6333e49f">VERIFY_USER</a> = (1 << 3), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa15d5150a90d772c065aa73a265cd0220">VERIFY_GROUP</a> = (1 << 4), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa6668eaef9d3a33ac9f1d27bbc4b8712e">VERIFY_MTIME</a> = (1 << 5), +<br/> +  <a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa6afc8d32552c88d6fe031613c35b38c8">VERIFY_MODE</a> = (1 << 6), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa0ded4a759cab0961be2e1a5e7a2f7e1f">VERIFY_RDEV</a> = (1 << 7), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa5f73711d83d0be184b4927d8a6c86ff8">VERIFY_CAPS</a> = (1 << 8), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa09c2f45ded7cbf565f15290a6a10b1ae">VERIFY_CONTEXTS</a> = (1 << 15), +<br/> +  <a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aacb7b877f30fc12551ad7bcb8e20b801c">VERIFY_FILES</a> = (1 << 16), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa10d4f3dc3e2647a7a676495169493235">VERIFY_DEPS</a> = (1 << 17), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa543b11a6e7cb720ff3b3741d89d0c2f1">VERIFY_SCRIPT</a> = (1 << 18), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa8ebdf945fb2e42959951139d82cb3735">VERIFY_DIGEST</a> = (1 << 19), +<br/> +  <a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aabe476139b5651dcbb51706ba8608a51b">VERIFY_SIGNATURE</a> = (1 << 20), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa12d99c0df93194daf5e90616c7ae5faf">VERIFY_PATCHES</a> = (1 << 21), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa8456599dc01840d5c9a758ebd6bd756c">VERIFY_HDRCHK</a> = (1 << 22), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aac0cdf9788120ab28af634f1563ac40c6">VERIFY_FOR_LIST</a> = (1 << 23), +<br/> +  <a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aae7dae53b549e7766b462f14bc9101eff">VERIFY_FOR_STATE</a> = (1 << 24), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aad6208b546c95833ae78196f21a8cacce">VERIFY_FOR_DOCS</a> = (1 << 25), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa29ea408395258d1010dd812b55624241">VERIFY_FOR_CONFIG</a> = (1 << 26), +<a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa640e2d581f088a4b787a1bf0b86f9a0c">VERIFY_FOR_DUMPFILES</a> = (1 << 27) +<br/> + }</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Bit(s) to control rpmVerify() operation. <a href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140a">More...</a><br/></td></tr> +<tr><td colspan="2"><h2><a name="func-members"></a> +Functions</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmvf_8h.html#ac18d9864c04628611d1f08696a7b17fd">rpmVerifyFile</a> (const <a class="el" href="group__rpmtypes.html#ga1a512138316a227059ca128597dbd464">rpmts</a> ts, <a class="el" href="group__rpmtypes.html#ga145b1d5b839052f7f79903bc29f8090a">rpmfi</a> fi, <a class="el" href="rpmvf_8h.html#ab63f84cbfa010e112788ac4b04bb3ce0">rpmVerifyAttrs</a> *res, <a class="el" href="rpmvf_8h.html#ab63f84cbfa010e112788ac4b04bb3ce0">rpmVerifyAttrs</a> omitMask)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Verify file attributes (including digest). <a href="#ac18d9864c04628611d1f08696a7b17fd"></a><br/></td></tr> +</table> +<hr/><a name="details" id="details"></a><h2>Detailed Description</h2> +<div class="textblock"><dl class="todo"><dt><b><a class="el" href="todo.html#_todo000033">Todo:</a></b></dt><dd>Add a more complete API...</dd></dl> + +<p>Definition in file <a class="el" href="rpmvf_8h_source.html">rpmvf.h</a>.</p> +</div><hr/><h2>Define Documentation</h2> +<a class="anchor" id="ad6f501b3193c1bef72e103a0aebc4ac9"></a><!-- doxytag: member="rpmvf.h::RPMVERIFY_ALL" ref="ad6f501b3193c1bef72e103a0aebc4ac9" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define RPMVERIFY_ALL   ~(RPMVERIFY_NONE)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="rpmvf_8h_source.html#l00041">41</a> of file <a class="el" href="rpmvf_8h_source.html">rpmvf.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a16ceeec3b7178c898ce8cd400a89e435"></a><!-- doxytag: member="rpmvf.h::RPMVERIFY_FAILURES" ref="a16ceeec3b7178c898ce8cd400a89e435" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define RPMVERIFY_FAILURES   (RPMVERIFY_LSTATFAIL|RPMVERIFY_READFAIL|RPMVERIFY_READLINKFAIL|RPMVERIFY_LGETFILECONFAIL)</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="rpmvf_8h_source.html#l00042">42</a> of file <a class="el" href="rpmvf_8h_source.html">rpmvf.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a62cf0189172e77e77d74993c51bc0842"></a><!-- doxytag: member="rpmvf.h::VERIFY_ALL" ref="a62cf0189172e77e77d74993c51bc0842" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define VERIFY_ALL</td> + </tr> + </table> +</div> +<div class="memdoc"> +<b>Value:</b><div class="fragment"><pre class="fragment">( <a class="code" href="rpmvf_8h.html#ad3ffb59287a490a11f160c9618a6f866">VERIFY_ATTRS</a> | <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aacb7b877f30fc12551ad7bcb8e20b801c">VERIFY_FILES</a> | <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa10d4f3dc3e2647a7a676495169493235">VERIFY_DEPS</a> | <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa543b11a6e7cb720ff3b3741d89d0c2f1">VERIFY_SCRIPT</a> | <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa8ebdf945fb2e42959951139d82cb3735">VERIFY_DIGEST</a> |\ + <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aabe476139b5651dcbb51706ba8608a51b">VERIFY_SIGNATURE</a> | <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa8456599dc01840d5c9a758ebd6bd756c">VERIFY_HDRCHK</a> ) +</pre></div> +<p>Definition at line <a class="el" href="rpmvf_8h_source.html#l00082">82</a> of file <a class="el" href="rpmvf_8h_source.html">rpmvf.h</a>.</p> + +<p>Referenced by <a class="el" href="rpmqv_8c_source.html#l00072">main()</a>.</p> + +</div> +</div> +<a class="anchor" id="ad3ffb59287a490a11f160c9618a6f866"></a><!-- doxytag: member="rpmvf.h::VERIFY_ATTRS" ref="ad3ffb59287a490a11f160c9618a6f866" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define VERIFY_ATTRS</td> + </tr> + </table> +</div> +<div class="memdoc"> +<b>Value:</b><div class="fragment"><pre class="fragment">( <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aad67f50e62ab207c246fd824966f60a88">VERIFY_FILEDIGEST</a> | <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa571895e84487de612666b05cbac95973">VERIFY_SIZE</a> | <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aabf4d4514a688264972dd1ae4a83ba25b">VERIFY_LINKTO</a> | <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa86c6c06d6cad76b387f10a3c6333e49f">VERIFY_USER</a> | <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa15d5150a90d772c065aa73a265cd0220">VERIFY_GROUP</a> | \ + <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa6668eaef9d3a33ac9f1d27bbc4b8712e">VERIFY_MTIME</a> | <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa6afc8d32552c88d6fe031613c35b38c8">VERIFY_MODE</a> | <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa0ded4a759cab0961be2e1a5e7a2f7e1f">VERIFY_RDEV</a> | <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa09c2f45ded7cbf565f15290a6a10b1ae">VERIFY_CONTEXTS</a> | <a class="code" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140aa5f73711d83d0be184b4927d8a6c86ff8">VERIFY_CAPS</a> ) +</pre></div> +<p>Definition at line <a class="el" href="rpmvf_8h_source.html#l00079">79</a> of file <a class="el" href="rpmvf_8h_source.html">rpmvf.h</a>.</p> + +</div> +</div> +<hr/><h2>Typedef Documentation</h2> +<a class="anchor" id="ab63f84cbfa010e112788ac4b04bb3ce0"></a><!-- doxytag: member="rpmvf.h::rpmVerifyAttrs" ref="ab63f84cbfa010e112788ac4b04bb3ce0" 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="rpmvf_8h.html#ab63f84cbfa010e112788ac4b04bb3ce0">rpmVerifyAttrs</a></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="rpmvf_8h_source.html#l00039">39</a> of file <a class="el" href="rpmvf_8h_source.html">rpmvf.h</a>.</p> + +</div> +</div> +<a class="anchor" id="aca944e7ab106a92cc3da05515facacdc"></a><!-- doxytag: member="rpmvf.h::rpmVerifyFlags" ref="aca944e7ab106a92cc3da05515facacdc" 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="rpmvf_8h.html#aca944e7ab106a92cc3da05515facacdc">rpmVerifyFlags</a></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="rpmvf_8h_source.html#l00077">77</a> of file <a class="el" href="rpmvf_8h_source.html">rpmvf.h</a>.</p> + +</div> +</div> +<hr/><h2>Enumeration Type Documentation</h2> +<a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1"></a><!-- doxytag: member="rpmvf.h::rpmVerifyAttrs_e" ref="a63ee333c18879db60d4fe5cc0073bea1" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">enum <a class="el" href="rpmvf_8h.html#a63ee333c18879db60d4fe5cc0073bea1">rpmVerifyAttrs_e</a></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Bit(s) for <a class="el" href="rpmvf_8h.html#ac18d9864c04628611d1f08696a7b17fd" title="Verify file attributes (including digest).">rpmVerifyFile()</a> attributes and result. </p> +<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1a83d63ad0ff3e52cb933151ada53da66b"></a><!-- doxytag: member="RPMVERIFY_NONE" ref="a63ee333c18879db60d4fe5cc0073bea1a83d63ad0ff3e52cb933151ada53da66b" args="" -->RPMVERIFY_NONE</em> </td><td> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1a1bf10bdf51040c37cb609c2fba4b9172"></a><!-- doxytag: member="RPMVERIFY_MD5" ref="a63ee333c18879db60d4fe5cc0073bea1a1bf10bdf51040c37cb609c2fba4b9172" args="" -->RPMVERIFY_MD5</em> </td><td> +<p>from verify(md5) - obsolete </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1abd83c92b9826e11add173823544f520f"></a><!-- doxytag: member="RPMVERIFY_FILEDIGEST" ref="a63ee333c18879db60d4fe5cc0073bea1abd83c92b9826e11add173823544f520f" args="" -->RPMVERIFY_FILEDIGEST</em> </td><td> +<p>from verify(filedigest) </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1a740425bfa569a2601d331823aca900b8"></a><!-- doxytag: member="RPMVERIFY_FILESIZE" ref="a63ee333c18879db60d4fe5cc0073bea1a740425bfa569a2601d331823aca900b8" args="" -->RPMVERIFY_FILESIZE</em> </td><td> +<p>from verify(size) </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1af1fa39d48cd2d8b404e23e22834bff83"></a><!-- doxytag: member="RPMVERIFY_LINKTO" ref="a63ee333c18879db60d4fe5cc0073bea1af1fa39d48cd2d8b404e23e22834bff83" args="" -->RPMVERIFY_LINKTO</em> </td><td> +<p>from verify(link) </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1a70358183cc41003246c8d7767340fc06"></a><!-- doxytag: member="RPMVERIFY_USER" ref="a63ee333c18879db60d4fe5cc0073bea1a70358183cc41003246c8d7767340fc06" args="" -->RPMVERIFY_USER</em> </td><td> +<p>from verify(user) </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1a4e25518e65505e3e9e35ceb75b6f81e5"></a><!-- doxytag: member="RPMVERIFY_GROUP" ref="a63ee333c18879db60d4fe5cc0073bea1a4e25518e65505e3e9e35ceb75b6f81e5" args="" -->RPMVERIFY_GROUP</em> </td><td> +<p>from verify(group) </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1a0ad2f3f7d4a3512b482d7e452f8f821d"></a><!-- doxytag: member="RPMVERIFY_MTIME" ref="a63ee333c18879db60d4fe5cc0073bea1a0ad2f3f7d4a3512b482d7e452f8f821d" args="" -->RPMVERIFY_MTIME</em> </td><td> +<p>from verify(mtime) </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1a36bb5fa4fb5e9c6e50e78ff9b8fa9e75"></a><!-- doxytag: member="RPMVERIFY_MODE" ref="a63ee333c18879db60d4fe5cc0073bea1a36bb5fa4fb5e9c6e50e78ff9b8fa9e75" args="" -->RPMVERIFY_MODE</em> </td><td> +<p>from verify(mode) </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1a282494deedc3c51b97a5d968de7e9fc6"></a><!-- doxytag: member="RPMVERIFY_RDEV" ref="a63ee333c18879db60d4fe5cc0073bea1a282494deedc3c51b97a5d968de7e9fc6" args="" -->RPMVERIFY_RDEV</em> </td><td> +<p>from verify(rdev) </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1a0a8c3e12ecd8df528d2ea91b4dbd3ab8"></a><!-- doxytag: member="RPMVERIFY_CAPS" ref="a63ee333c18879db60d4fe5cc0073bea1a0a8c3e12ecd8df528d2ea91b4dbd3ab8" args="" -->RPMVERIFY_CAPS</em> </td><td> +<p>from verify(caps) </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1a2612e222c924be92d02c5b4203bfc289"></a><!-- doxytag: member="RPMVERIFY_CONTEXTS" ref="a63ee333c18879db60d4fe5cc0073bea1a2612e222c924be92d02c5b4203bfc289" args="" -->RPMVERIFY_CONTEXTS</em> </td><td> +<p>verify: from --nocontexts </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1a891c2375f800fd7aabe213075678cc3c"></a><!-- doxytag: member="RPMVERIFY_READLINKFAIL" ref="a63ee333c18879db60d4fe5cc0073bea1a891c2375f800fd7aabe213075678cc3c" args="" -->RPMVERIFY_READLINKFAIL</em> </td><td> +<p>readlink failed </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1a85dc4a8b9cceb9792442a5b36d73619b"></a><!-- doxytag: member="RPMVERIFY_READFAIL" ref="a63ee333c18879db60d4fe5cc0073bea1a85dc4a8b9cceb9792442a5b36d73619b" args="" -->RPMVERIFY_READFAIL</em> </td><td> +<p>file read failed </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1a9c87f942f7061f47677c4a4f433ee964"></a><!-- doxytag: member="RPMVERIFY_LSTATFAIL" ref="a63ee333c18879db60d4fe5cc0073bea1a9c87f942f7061f47677c4a4f433ee964" args="" -->RPMVERIFY_LSTATFAIL</em> </td><td> +<p>lstat failed </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a63ee333c18879db60d4fe5cc0073bea1a20603d96bc1c6eab57ab00bd90aa8fdc"></a><!-- doxytag: member="RPMVERIFY_LGETFILECONFAIL" ref="a63ee333c18879db60d4fe5cc0073bea1a20603d96bc1c6eab57ab00bd90aa8fdc" args="" -->RPMVERIFY_LGETFILECONFAIL</em> </td><td> +<p>lgetfilecon failed </p> +</td></tr> +</table> +</dd> +</dl> + +<p>Definition at line <a class="el" href="rpmvf_8h_source.html#l00017">17</a> of file <a class="el" href="rpmvf_8h_source.html">rpmvf.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a88edb36096996aa24e1fc3385cb2140a"></a><!-- doxytag: member="rpmvf.h::rpmVerifyFlags_e" ref="a88edb36096996aa24e1fc3385cb2140a" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">enum <a class="el" href="rpmvf_8h.html#a88edb36096996aa24e1fc3385cb2140a">rpmVerifyFlags_e</a></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Bit(s) to control rpmVerify() operation. </p> +<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aab0331302d3d9de835d93acb9c75ad610"></a><!-- doxytag: member="VERIFY_DEFAULT" ref="a88edb36096996aa24e1fc3385cb2140aab0331302d3d9de835d93acb9c75ad610" args="" -->VERIFY_DEFAULT</em> </td><td> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa7f97b0e28519856f635dec971fb9859c"></a><!-- doxytag: member="VERIFY_MD5" ref="a88edb36096996aa24e1fc3385cb2140aa7f97b0e28519856f635dec971fb9859c" args="" -->VERIFY_MD5</em> </td><td> +<p>from --nomd5 - obsolete </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aad67f50e62ab207c246fd824966f60a88"></a><!-- doxytag: member="VERIFY_FILEDIGEST" ref="a88edb36096996aa24e1fc3385cb2140aad67f50e62ab207c246fd824966f60a88" args="" -->VERIFY_FILEDIGEST</em> </td><td> +<p>from --nofiledigest </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa571895e84487de612666b05cbac95973"></a><!-- doxytag: member="VERIFY_SIZE" ref="a88edb36096996aa24e1fc3385cb2140aa571895e84487de612666b05cbac95973" args="" -->VERIFY_SIZE</em> </td><td> +<p>from --nosize </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aabf4d4514a688264972dd1ae4a83ba25b"></a><!-- doxytag: member="VERIFY_LINKTO" ref="a88edb36096996aa24e1fc3385cb2140aabf4d4514a688264972dd1ae4a83ba25b" args="" -->VERIFY_LINKTO</em> </td><td> +<p>from --nolinkto </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa86c6c06d6cad76b387f10a3c6333e49f"></a><!-- doxytag: member="VERIFY_USER" ref="a88edb36096996aa24e1fc3385cb2140aa86c6c06d6cad76b387f10a3c6333e49f" args="" -->VERIFY_USER</em> </td><td> +<p>from --nouser </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa15d5150a90d772c065aa73a265cd0220"></a><!-- doxytag: member="VERIFY_GROUP" ref="a88edb36096996aa24e1fc3385cb2140aa15d5150a90d772c065aa73a265cd0220" args="" -->VERIFY_GROUP</em> </td><td> +<p>from --nogroup </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa6668eaef9d3a33ac9f1d27bbc4b8712e"></a><!-- doxytag: member="VERIFY_MTIME" ref="a88edb36096996aa24e1fc3385cb2140aa6668eaef9d3a33ac9f1d27bbc4b8712e" args="" -->VERIFY_MTIME</em> </td><td> +<p>from --nomtime </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa6afc8d32552c88d6fe031613c35b38c8"></a><!-- doxytag: member="VERIFY_MODE" ref="a88edb36096996aa24e1fc3385cb2140aa6afc8d32552c88d6fe031613c35b38c8" args="" -->VERIFY_MODE</em> </td><td> +<p>from --nomode </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa0ded4a759cab0961be2e1a5e7a2f7e1f"></a><!-- doxytag: member="VERIFY_RDEV" ref="a88edb36096996aa24e1fc3385cb2140aa0ded4a759cab0961be2e1a5e7a2f7e1f" args="" -->VERIFY_RDEV</em> </td><td> +<p>from --nodev </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa5f73711d83d0be184b4927d8a6c86ff8"></a><!-- doxytag: member="VERIFY_CAPS" ref="a88edb36096996aa24e1fc3385cb2140aa5f73711d83d0be184b4927d8a6c86ff8" args="" -->VERIFY_CAPS</em> </td><td> +<p>from --nocaps </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa09c2f45ded7cbf565f15290a6a10b1ae"></a><!-- doxytag: member="VERIFY_CONTEXTS" ref="a88edb36096996aa24e1fc3385cb2140aa09c2f45ded7cbf565f15290a6a10b1ae" args="" -->VERIFY_CONTEXTS</em> </td><td> +<p>verify: from --nocontexts </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aacb7b877f30fc12551ad7bcb8e20b801c"></a><!-- doxytag: member="VERIFY_FILES" ref="a88edb36096996aa24e1fc3385cb2140aacb7b877f30fc12551ad7bcb8e20b801c" args="" -->VERIFY_FILES</em> </td><td> +<p>verify: from --nofiles </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa10d4f3dc3e2647a7a676495169493235"></a><!-- doxytag: member="VERIFY_DEPS" ref="a88edb36096996aa24e1fc3385cb2140aa10d4f3dc3e2647a7a676495169493235" args="" -->VERIFY_DEPS</em> </td><td> +<p>verify: from --nodeps </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa543b11a6e7cb720ff3b3741d89d0c2f1"></a><!-- doxytag: member="VERIFY_SCRIPT" ref="a88edb36096996aa24e1fc3385cb2140aa543b11a6e7cb720ff3b3741d89d0c2f1" args="" -->VERIFY_SCRIPT</em> </td><td> +<p>verify: from --noscripts </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa8ebdf945fb2e42959951139d82cb3735"></a><!-- doxytag: member="VERIFY_DIGEST" ref="a88edb36096996aa24e1fc3385cb2140aa8ebdf945fb2e42959951139d82cb3735" args="" -->VERIFY_DIGEST</em> </td><td> +<p>verify: from --nodigest </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aabe476139b5651dcbb51706ba8608a51b"></a><!-- doxytag: member="VERIFY_SIGNATURE" ref="a88edb36096996aa24e1fc3385cb2140aabe476139b5651dcbb51706ba8608a51b" args="" -->VERIFY_SIGNATURE</em> </td><td> +<p>verify: from --nosignature </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa12d99c0df93194daf5e90616c7ae5faf"></a><!-- doxytag: member="VERIFY_PATCHES" ref="a88edb36096996aa24e1fc3385cb2140aa12d99c0df93194daf5e90616c7ae5faf" args="" -->VERIFY_PATCHES</em> </td><td> +<p>verify: from --nopatches </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa8456599dc01840d5c9a758ebd6bd756c"></a><!-- doxytag: member="VERIFY_HDRCHK" ref="a88edb36096996aa24e1fc3385cb2140aa8456599dc01840d5c9a758ebd6bd756c" args="" -->VERIFY_HDRCHK</em> </td><td> +<p>verify: from --nohdrchk </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aac0cdf9788120ab28af634f1563ac40c6"></a><!-- doxytag: member="VERIFY_FOR_LIST" ref="a88edb36096996aa24e1fc3385cb2140aac0cdf9788120ab28af634f1563ac40c6" args="" -->VERIFY_FOR_LIST</em> </td><td> +<p>query: from --list </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aae7dae53b549e7766b462f14bc9101eff"></a><!-- doxytag: member="VERIFY_FOR_STATE" ref="a88edb36096996aa24e1fc3385cb2140aae7dae53b549e7766b462f14bc9101eff" args="" -->VERIFY_FOR_STATE</em> </td><td> +<p>query: from --state </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aad6208b546c95833ae78196f21a8cacce"></a><!-- doxytag: member="VERIFY_FOR_DOCS" ref="a88edb36096996aa24e1fc3385cb2140aad6208b546c95833ae78196f21a8cacce" args="" -->VERIFY_FOR_DOCS</em> </td><td> +<p>query: from --docfiles </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa29ea408395258d1010dd812b55624241"></a><!-- doxytag: member="VERIFY_FOR_CONFIG" ref="a88edb36096996aa24e1fc3385cb2140aa29ea408395258d1010dd812b55624241" args="" -->VERIFY_FOR_CONFIG</em> </td><td> +<p>query: from --configfiles </p> +</td></tr> +<tr><td valign="top"><em><a class="anchor" id="a88edb36096996aa24e1fc3385cb2140aa640e2d581f088a4b787a1bf0b86f9a0c"></a><!-- doxytag: member="VERIFY_FOR_DUMPFILES" ref="a88edb36096996aa24e1fc3385cb2140aa640e2d581f088a4b787a1bf0b86f9a0c" args="" -->VERIFY_FOR_DUMPFILES</em> </td><td> +<p>query: from --dump </p> +</td></tr> +</table> +</dd> +</dl> + +<p>Definition at line <a class="el" href="rpmvf_8h_source.html#l00048">48</a> of file <a class="el" href="rpmvf_8h_source.html">rpmvf.h</a>.</p> + +</div> +</div> +<hr/><h2>Function Documentation</h2> +<a class="anchor" id="ac18d9864c04628611d1f08696a7b17fd"></a><!-- doxytag: member="rpmvf.h::rpmVerifyFile" ref="ac18d9864c04628611d1f08696a7b17fd" args="(const rpmts ts, rpmfi fi, rpmVerifyAttrs *res, rpmVerifyAttrs omitMask)" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">int rpmVerifyFile </td> + <td>(</td> + <td class="paramtype">const <a class="el" href="group__rpmtypes.html#ga1a512138316a227059ca128597dbd464">rpmts</a> </td> + <td class="paramname"><em>ts</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="group__rpmtypes.html#ga145b1d5b839052f7f79903bc29f8090a">rpmfi</a> </td> + <td class="paramname"><em>fi</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="rpmvf_8h.html#ab63f84cbfa010e112788ac4b04bb3ce0">rpmVerifyAttrs</a> * </td> + <td class="paramname"><em>res</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="rpmvf_8h.html#ab63f84cbfa010e112788ac4b04bb3ce0">rpmVerifyAttrs</a> </td> + <td class="paramname"><em>omitMask</em> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Verify file attributes (including digest). </p> +<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000034">Todo:</a></b></dt><dd>gnorpm and python bindings prevent this from being static. </dd></dl> +<dl><dt><b>Parameters:</b></dt><dd> + <table class="params"> + <tr><td class="paramname">ts</td><td>transaction set </td></tr> + <tr><td class="paramname">fi</td><td>file info (with linked header and current file index) </td></tr> + </table> + </dd> +</dl> +<dl><dt><b>Return values:</b></dt><dd> + <table class="retval"> + <tr><td class="paramname">*res</td><td>bit(s) returned to indicate failure </td></tr> + </table> + </dd> +</dl> +<dl><dt><b>Parameters:</b></dt><dd> + <table class="params"> + <tr><td class="paramname">omitMask</td><td>bit(s) to disable verify checks </td></tr> + </table> + </dd> +</dl> +<dl class="return"><dt><b>Returns:</b></dt><dd>0 on success (or not installed), 1 on error </dd></dl> + +</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> |