Blob Blame History Raw
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>rpm: rpmkeys.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">rpm
   &#160;<span id="projectnumber">4.12.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;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&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">rpmkeys.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="system_8h_source.html">system.h</a>&quot;</code><br />
<code>#include &lt;popt.h&gt;</code><br />
<code>#include &lt;rpm/rpmcli.h&gt;</code><br />
<code>#include &quot;<a class="el" href="cliutils_8h_source.html">cliutils.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="debug_8h_source.html">debug.h</a>&quot;</code><br />
</div>
<p><a href="rpmkeys_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a811fe196a5d9d37857c2f8adeeaac3c6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmkeys_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6">modes</a> { <br />
&#160;&#160;<a class="el" href="rpmbuild_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6ab639221eae9e531e57b91331f9ccde3b">MODE_BUILD</a> = (1 &lt;&lt; 4), 
<a class="el" href="rpmbuild_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6ac42613b5987e8256c2136db617715d7f">MODE_REBUILD</a> = (1 &lt;&lt; 5), 
<a class="el" href="rpmbuild_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6a33285bd7faa559c03042537cb17e5641">MODE_RECOMPILE</a> = (1 &lt;&lt; 8), 
<a class="el" href="rpmbuild_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6a05680e770f725c751a8e4aeaeb50d111">MODE_TARBUILD</a> = (1 &lt;&lt; 11), 
<br />
&#160;&#160;<a class="el" href="rpmdb_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6aea3bc2eb36fed3807bbd874045467e9a">MODE_INITDB</a> = (1 &lt;&lt; 0), 
<a class="el" href="rpmdb_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6afeff31880a0b435a7bc5ee3ea4e2bb4b">MODE_REBUILDDB</a> = (1 &lt;&lt; 1), 
<a class="el" href="rpmdb_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6a943c638033610eb280c65a91d5502c48">MODE_VERIFYDB</a> = (1 &lt;&lt; 2), 
<a class="el" href="rpmdb_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6a2cf783471ed9eef68abcc968197acfb0">MODE_EXPORTDB</a> = (1 &lt;&lt; 3), 
<br />
&#160;&#160;<a class="el" href="rpmdb_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6acdd25bf5a6cd729d6b42e6b33de42bd9">MODE_IMPORTDB</a> = (1 &lt;&lt; 4), 
<a class="el" href="rpmkeys_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6a6e71f3470e43602dd881d1cb0ce779a0">MODE_CHECKSIG</a> = (1 &lt;&lt; 0), 
<a class="el" href="rpmkeys_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6ad3de96dfd77735bff12609801e957068">MODE_IMPORTKEY</a> = (1 &lt;&lt; 1), 
<a class="el" href="rpmkeys_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6aa18ebfe027af5690e69c8a3aa70624fe">MODE_DELKEY</a> = (1 &lt;&lt; 2), 
<br />
&#160;&#160;<a class="el" href="rpmkeys_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6a89643e161cf5df1984e15c4ce855dd9b">MODE_LISTKEY</a> = (1 &lt;&lt; 3), 
<a class="el" href="rpmqv_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6aa6891a524a00c9093e6ade13f42f20cc">MODE_QUERY</a> = (1 &lt;&lt; 0), 
<a class="el" href="rpmqv_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6a8afb36000e3c9ee8064dff47cdc34d9f">MODE_VERIFY</a> = (1 &lt;&lt; 3), 
<a class="el" href="rpmqv_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6ae28aaaeedcfd95cb9e82ef26f676f158">MODE_INSTALL</a> = (1 &lt;&lt; 1), 
<br />
&#160;&#160;<a class="el" href="rpmqv_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6a6ba476a2e06e8bd884142b04962f63e1">MODE_ERASE</a> = (1 &lt;&lt; 2), 
<a class="el" href="rpmqv_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6ad34eac71f48c80a1ff29750151a0187b">MODE_UNKNOWN</a> = 0, 
<a class="el" href="rpmsign_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6a321fe129e57840f499f96ad1fb871759">MODE_ADDSIGN</a> = (1 &lt;&lt; 0), 
<a class="el" href="rpmsign_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6a9ccc762e6e164ffd8031ca72594ce945">MODE_RESIGN</a> = (1 &lt;&lt; 1), 
<br />
&#160;&#160;<a class="el" href="rpmsign_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6a59498633cac4aeab1d42c04ed80e3166">MODE_DELSIGN</a> = (1 &lt;&lt; 2), 
<a class="el" href="rpmspec_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6ad34eac71f48c80a1ff29750151a0187b">MODE_UNKNOWN</a> = 0, 
<a class="el" href="rpmspec_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6aa6891a524a00c9093e6ade13f42f20cc">MODE_QUERY</a> = (1 &lt;&lt; 0), 
<a class="el" href="rpmspec_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6a00a4b47a3e1d23558b50f9718616d024">MODE_PARSE</a> = (1 &lt;&lt; 1)
<br />
 }</td></tr>
<tr class="separator:a811fe196a5d9d37857c2f8adeeaac3c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a0ddf1224851353fc92bfbff6f499fa97"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmkeys_8c.html#a0ddf1224851353fc92bfbff6f499fa97">main</a> (int argc, char *argv[])</td></tr>
<tr class="separator:a0ddf1224851353fc92bfbff6f499fa97"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:aa006daaf11f1e2e45a6ababaf463212b"><td class="memItemLeft" align="right" valign="top">char **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmkeys_8c.html#aa006daaf11f1e2e45a6ababaf463212b">environ</a> = NULL</td></tr>
<tr class="separator:aa006daaf11f1e2e45a6ababaf463212b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ea5d0cb93f22f7d0fdf804bd68c3326"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmkeys_8c.html#a1ea5d0cb93f22f7d0fdf804bd68c3326">mode</a> = 0</td></tr>
<tr class="separator:a1ea5d0cb93f22f7d0fdf804bd68c3326"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bd3f5fbccb1628eb13dda4cd02633a4"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmkeys_8c.html#a1bd3f5fbccb1628eb13dda4cd02633a4">test</a> = 0</td></tr>
<tr class="separator:a1bd3f5fbccb1628eb13dda4cd02633a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5baf570a3741ad40911ae528d92441ee"><td class="memItemLeft" align="right" valign="top">static struct poptOption&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmkeys_8c.html#a5baf570a3741ad40911ae528d92441ee">keyOptsTable</a> []</td></tr>
<tr class="separator:a5baf570a3741ad40911ae528d92441ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a779c8fb41edee9b03a02a249606b0e76"><td class="memItemLeft" align="right" valign="top">static struct poptOption&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="rpmkeys_8c.html#a779c8fb41edee9b03a02a249606b0e76">optionsTable</a> []</td></tr>
<tr class="separator:a779c8fb41edee9b03a02a249606b0e76"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="rpmbuild_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6">modes</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6ab639221eae9e531e57b91331f9ccde3b"></a>MODE_BUILD&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6ac42613b5987e8256c2136db617715d7f"></a>MODE_REBUILD&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6a33285bd7faa559c03042537cb17e5641"></a>MODE_RECOMPILE&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6a05680e770f725c751a8e4aeaeb50d111"></a>MODE_TARBUILD&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6aea3bc2eb36fed3807bbd874045467e9a"></a>MODE_INITDB&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6afeff31880a0b435a7bc5ee3ea4e2bb4b"></a>MODE_REBUILDDB&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6a943c638033610eb280c65a91d5502c48"></a>MODE_VERIFYDB&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6a2cf783471ed9eef68abcc968197acfb0"></a>MODE_EXPORTDB&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6acdd25bf5a6cd729d6b42e6b33de42bd9"></a>MODE_IMPORTDB&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6a6e71f3470e43602dd881d1cb0ce779a0"></a>MODE_CHECKSIG&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6ad3de96dfd77735bff12609801e957068"></a>MODE_IMPORTKEY&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6aa18ebfe027af5690e69c8a3aa70624fe"></a>MODE_DELKEY&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6a89643e161cf5df1984e15c4ce855dd9b"></a>MODE_LISTKEY&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6aa6891a524a00c9093e6ade13f42f20cc"></a>MODE_QUERY&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6a8afb36000e3c9ee8064dff47cdc34d9f"></a>MODE_VERIFY&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6ae28aaaeedcfd95cb9e82ef26f676f158"></a>MODE_INSTALL&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6a6ba476a2e06e8bd884142b04962f63e1"></a>MODE_ERASE&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6ad34eac71f48c80a1ff29750151a0187b"></a>MODE_UNKNOWN&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6a321fe129e57840f499f96ad1fb871759"></a>MODE_ADDSIGN&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6a9ccc762e6e164ffd8031ca72594ce945"></a>MODE_RESIGN&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6a59498633cac4aeab1d42c04ed80e3166"></a>MODE_DELSIGN&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6ad34eac71f48c80a1ff29750151a0187b"></a>MODE_UNKNOWN&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6aa6891a524a00c9093e6ade13f42f20cc"></a>MODE_QUERY&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a811fe196a5d9d37857c2f8adeeaac3c6a00a4b47a3e1d23558b50f9718616d024"></a>MODE_PARSE&#160;</td><td class="fielddoc">
</td></tr>
</table>

<p>Definition at line <a class="el" href="rpmkeys_8c_source.html#l00012">12</a> of file <a class="el" href="rpmkeys_8c_source.html">rpmkeys.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a0ddf1224851353fc92bfbff6f499fa97"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>argv</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rpmkeys_8c_source.html#l00049">49</a> of file <a class="el" href="rpmkeys_8c_source.html">rpmkeys.c</a>.</p>

<p>References <a class="el" href="system_8h_source.html#l00110">_</a>, <a class="el" href="cliutils_8c_source.html#l00019">argerror()</a>, <a class="el" href="rpmkeys_8c_source.html#l00013">MODE_CHECKSIG</a>, <a class="el" href="rpmkeys_8c_source.html#l00015">MODE_DELKEY</a>, <a class="el" href="rpmkeys_8c_source.html#l00014">MODE_IMPORTKEY</a>, <a class="el" href="rpmkeys_8c_source.html#l00016">MODE_LISTKEY</a>, <a class="el" href="cliutils_8c_source.html#l00036">printUsage()</a>, <a class="el" href="rpmcli_8h.html#a9b4197af25cc216aa3bb7cce5d158dcf">rpmcliFini()</a>, <a class="el" href="rpmcli_8h.html#a6b09ad8eb4f2251a1635199602614db5">rpmcliImportPubkeys()</a>, <a class="el" href="rpmcli_8h.html#af4d555b4c5efcf319fe643d164775eaf">rpmcliInit()</a>, <a class="el" href="rpmcli_8h.html#a4a1b016e2d7aaea6937155c21c87a215">rpmcliRootDir</a>, <a class="el" href="rpmcli_8h.html#a0b2d1383b10c5aa7ce7155275f035b38">rpmcliVerifySignatures()</a>, <a class="el" href="rpmts_8h_source.html#l00030">RPMTRANS_FLAG_TEST</a>, <a class="el" href="rpmts_8h.html#ace47f4eaebd8be4f0abbcfb7942b3566">rpmtsCreate()</a>, <a class="el" href="rpmts_8h.html#a22eec4db17655dd92ce5715312d153c3">rpmtsFlags()</a>, <a class="el" href="rpmts_8h.html#a5315165a6e80a0c71dbe5eb07dd18f58">rpmtsFree()</a>, <a class="el" href="rpmts_8h.html#a6de0f661993ee0829c34dbfadcd9696e">rpmtsSetFlags()</a>, and <a class="el" href="rpmts_8h.html#a2cc54aa978a49d0b5cefa64095c8ee41">rpmtsSetRootDir()</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="aa006daaf11f1e2e45a6ababaf463212b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char** environ = NULL</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rpmkeys_8c_source.html#l00009">9</a> of file <a class="el" href="rpmkeys_8c_source.html">rpmkeys.c</a>.</p>

</div>
</div>
<a class="anchor" id="a5baf570a3741ad40911ae528d92441ee"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">struct poptOption keyOptsTable[]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line">    { <span class="stringliteral">&quot;checksig&quot;</span>, <span class="charliteral">&#39;K&#39;</span>, (POPT_ARG_VAL|POPT_ARGFLAG_OR), &amp;<a class="code" href="rpmkeys_8c.html#a1ea5d0cb93f22f7d0fdf804bd68c3326">mode</a>, <a class="code" href="rpmkeys_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6a6e71f3470e43602dd881d1cb0ce779a0">MODE_CHECKSIG</a>,</div><div class="line">         <span class="stringliteral">&quot;verify package signature(s)&quot;</span> , NULL },</div><div class="line">    { <span class="stringliteral">&quot;import&quot;</span>, <span class="charliteral">&#39;\0&#39;</span>, (POPT_ARG_VAL|POPT_ARGFLAG_OR), &amp;<a class="code" href="rpmkeys_8c.html#a1ea5d0cb93f22f7d0fdf804bd68c3326">mode</a>, <a class="code" href="rpmkeys_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6ad3de96dfd77735bff12609801e957068">MODE_IMPORTKEY</a>,</div><div class="line">         <span class="stringliteral">&quot;import an armored public key&quot;</span> , NULL },</div><div class="line">    { <span class="stringliteral">&quot;test&quot;</span>, <span class="charliteral">&#39;\0&#39;</span>, POPT_ARG_NONE, &amp;<a class="code" href="rpmkeys_8c.html#a1bd3f5fbccb1628eb13dda4cd02633a4">test</a>, 0,</div><div class="line">         <span class="stringliteral">&quot;don&#39;t import, but tell if it would work or not&quot;</span> , NULL },</div><div class="line"></div><div class="line"></div><div class="line"></div><div class="line"></div><div class="line"></div><div class="line"></div><div class="line">    POPT_TABLEEND</div><div class="line">}</div><div class="ttc" id="rpmkeys_8c_html_a811fe196a5d9d37857c2f8adeeaac3c6ad3de96dfd77735bff12609801e957068"><div class="ttname"><a href="rpmkeys_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6ad3de96dfd77735bff12609801e957068">MODE_IMPORTKEY</a></div><div class="ttdef"><b>Definition:</b> <a href="rpmkeys_8c_source.html#l00014">rpmkeys.c:14</a></div></div>
<div class="ttc" id="rpmkeys_8c_html_a1ea5d0cb93f22f7d0fdf804bd68c3326"><div class="ttname"><a href="rpmkeys_8c.html#a1ea5d0cb93f22f7d0fdf804bd68c3326">mode</a></div><div class="ttdeci">static int mode</div><div class="ttdef"><b>Definition:</b> <a href="rpmkeys_8c_source.html#l00019">rpmkeys.c:19</a></div></div>
<div class="ttc" id="rpmkeys_8c_html_a1bd3f5fbccb1628eb13dda4cd02633a4"><div class="ttname"><a href="rpmkeys_8c.html#a1bd3f5fbccb1628eb13dda4cd02633a4">test</a></div><div class="ttdeci">static int test</div><div class="ttdef"><b>Definition:</b> <a href="rpmkeys_8c_source.html#l00020">rpmkeys.c:20</a></div></div>
<div class="ttc" id="rpmkeys_8c_html_a811fe196a5d9d37857c2f8adeeaac3c6a6e71f3470e43602dd881d1cb0ce779a0"><div class="ttname"><a href="rpmkeys_8c.html#a811fe196a5d9d37857c2f8adeeaac3c6a6e71f3470e43602dd881d1cb0ce779a0">MODE_CHECKSIG</a></div><div class="ttdef"><b>Definition:</b> <a href="rpmkeys_8c_source.html#l00013">rpmkeys.c:13</a></div></div>
</div><!-- fragment -->
<p>Definition at line <a class="el" href="rpmkeys_8c_source.html#l00022">22</a> of file <a class="el" href="rpmkeys_8c_source.html">rpmkeys.c</a>.</p>

</div>
</div>
<a class="anchor" id="a1ea5d0cb93f22f7d0fdf804bd68c3326"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int mode = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rpmkeys_8c_source.html#l00019">19</a> of file <a class="el" href="rpmkeys_8c_source.html">rpmkeys.c</a>.</p>

</div>
</div>
<a class="anchor" id="a779c8fb41edee9b03a02a249606b0e76"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">struct poptOption optionsTable[]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div><div class="line">    { NULL, <span class="charliteral">&#39;\0&#39;</span>, POPT_ARG_INCLUDE_TABLE, <a class="code" href="rpmkeys_8c.html#a5baf570a3741ad40911ae528d92441ee">keyOptsTable</a>, 0,</div><div class="line">         <span class="stringliteral">&quot;Keyring options:&quot;</span> , NULL },</div><div class="line">    { NULL, <span class="charliteral">&#39;\0&#39;</span>, POPT_ARG_INCLUDE_TABLE, <a class="code" href="rpmcli_8h.html#a60bd8b746df91eb1824a7ad6ffd42cf1">rpmcliAllPoptTable</a>, 0,</div><div class="line">         <span class="stringliteral">&quot;Common options for all rpm modes and executables:&quot;</span> , NULL },</div><div class="line"></div><div class="line">    POPT_AUTOALIAS</div><div class="line">    POPT_AUTOHELP</div><div class="line">    POPT_TABLEEND</div><div class="line">}</div><div class="ttc" id="rpmkeys_8c_html_a5baf570a3741ad40911ae528d92441ee"><div class="ttname"><a href="rpmkeys_8c.html#a5baf570a3741ad40911ae528d92441ee">keyOptsTable</a></div><div class="ttdeci">static struct poptOption keyOptsTable[]</div><div class="ttdef"><b>Definition:</b> <a href="rpmkeys_8c_source.html#l00022">rpmkeys.c:22</a></div></div>
<div class="ttc" id="rpmcli_8h_html_a60bd8b746df91eb1824a7ad6ffd42cf1"><div class="ttname"><a href="rpmcli_8h.html#a60bd8b746df91eb1824a7ad6ffd42cf1">rpmcliAllPoptTable</a></div><div class="ttdeci">struct poptOption rpmcliAllPoptTable[]</div><div class="ttdoc">Popt option table for options shared by all modes and executables. </div></div>
</div><!-- fragment -->
<p>Definition at line <a class="el" href="rpmkeys_8c_source.html#l00038">38</a> of file <a class="el" href="rpmkeys_8c_source.html">rpmkeys.c</a>.</p>

</div>
</div>
<a class="anchor" id="a1bd3f5fbccb1628eb13dda4cd02633a4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int test = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="rpmkeys_8c_source.html#l00020">20</a> of file <a class="el" href="rpmkeys_8c_source.html">rpmkeys.c</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>