summaryrefslogtreecommitdiff
path: root/doc/librpm/html/rpmspec_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/librpm/html/rpmspec_8h_source.html')
-rw-r--r--doc/librpm/html/rpmspec_8h_source.html118
1 files changed, 118 insertions, 0 deletions
diff --git a/doc/librpm/html/rpmspec_8h_source.html b/doc/librpm/html/rpmspec_8h_source.html
new file mode 100644
index 0000000..207eb2c
--- /dev/null
+++ b/doc/librpm/html/rpmspec_8h_source.html
@@ -0,0 +1,118 @@
+<!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: rpmspec.h Source File</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&#160;<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&#160;Page</span></a></li>
+ <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
+ <li><a href="modules.html"><span>Modules</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 class="header">
+ <div class="headertitle">
+<div class="title">rpmspec.h</div> </div>
+</div>
+<div class="contents">
+<a href="rpmspec_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef _H_SPEC_</span>
+<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define _H_SPEC_</span>
+<a name="l00003"></a>00003 <span class="preprocessor"></span>
+<a name="l00009"></a>00009 <span class="preprocessor">#include &lt;rpm/rpmstring.h&gt;</span> <span class="comment">/* StringBuf */</span>
+<a name="l00010"></a>00010 <span class="preprocessor">#include &lt;rpm/rpmcli.h&gt;</span> <span class="comment">/* for QVA_t */</span>
+<a name="l00011"></a>00011
+<a name="l00012"></a>00012 <span class="preprocessor">#ifdef __cplusplus</span>
+<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
+<a name="l00014"></a>00014 <span class="preprocessor">#endif</span>
+<a name="l00015"></a>00015 <span class="preprocessor"></span>
+<a name="l00018"></a><a class="code" href="group__rpmbuild.html#gade635c9e8edbc1d096be597b1c4e9e20">00018</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>Package_s * <a class="code" href="group__rpmbuild.html#gade635c9e8edbc1d096be597b1c4e9e20">rpmSpecPkg</a>;
+<a name="l00019"></a><a class="code" href="rpmspec_8h.html#a454359d050125c4c204058a5f7abf3a9">00019</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>Source * <a class="code" href="rpmspec_8h.html#a454359d050125c4c204058a5f7abf3a9">rpmSpecSrc</a>;
+<a name="l00020"></a><a class="code" href="rpmspec_8h.html#ace11d25a63e5d0456eef9bd947a420c3">00020</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>rpmSpecIter_s * <a class="code" href="rpmspec_8h.html#ace11d25a63e5d0456eef9bd947a420c3">rpmSpecPkgIter</a>;
+<a name="l00021"></a><a class="code" href="rpmspec_8h.html#ac20add227bea61ecbe790d83d087da54">00021</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>rpmSpecIter_s * <a class="code" href="rpmspec_8h.html#ac20add227bea61ecbe790d83d087da54">rpmSpecSrcIter</a>;
+<a name="l00022"></a>00022
+<a name="l00023"></a><a class="code" href="rpmspec_8h.html#a8566085b3effdd459f996c46b2272704">00023</a> <span class="keyword">enum</span> <a class="code" href="rpmspec_8h.html#a8566085b3effdd459f996c46b2272704">rpmSourceFlags_e</a> {
+<a name="l00024"></a><a class="code" href="rpmspec_8h.html#a8566085b3effdd459f996c46b2272704a4e15c266facbb1777d4ea6ae468116a7">00024</a> <a class="code" href="rpmspec_8h.html#a8566085b3effdd459f996c46b2272704a4e15c266facbb1777d4ea6ae468116a7">RPMBUILD_ISSOURCE</a> = (1 &lt;&lt; 0),
+<a name="l00025"></a><a class="code" href="rpmspec_8h.html#a8566085b3effdd459f996c46b2272704ae66b207baf83be98288a00afac1e811c">00025</a> <a class="code" href="rpmspec_8h.html#a8566085b3effdd459f996c46b2272704ae66b207baf83be98288a00afac1e811c">RPMBUILD_ISPATCH</a> = (1 &lt;&lt; 1),
+<a name="l00026"></a><a class="code" href="rpmspec_8h.html#a8566085b3effdd459f996c46b2272704abc207017eca08226844bae3e54d8d331">00026</a> <a class="code" href="rpmspec_8h.html#a8566085b3effdd459f996c46b2272704abc207017eca08226844bae3e54d8d331">RPMBUILD_ISICON</a> = (1 &lt;&lt; 2),
+<a name="l00027"></a><a class="code" href="rpmspec_8h.html#a8566085b3effdd459f996c46b2272704aa76546d13e79f1588b34c418c7e1b83c">00027</a> <a class="code" href="rpmspec_8h.html#a8566085b3effdd459f996c46b2272704aa76546d13e79f1588b34c418c7e1b83c">RPMBUILD_ISNO</a> = (1 &lt;&lt; 3),
+<a name="l00028"></a>00028 };
+<a name="l00029"></a>00029
+<a name="l00030"></a><a class="code" href="rpmspec_8h.html#aa09142c22337ce3126d6a6776da3e5ae">00030</a> <span class="keyword">typedef</span> <a class="code" href="group__rpmtypes.html#ga44316ffc2f14b8b54c8473f2977e8c81">rpmFlags</a> <a class="code" href="rpmspec_8h.html#aa09142c22337ce3126d6a6776da3e5ae">rpmSourceFlags</a>;
+<a name="l00031"></a>00031
+<a name="l00032"></a><a class="code" href="rpmspec_8h.html#af23b489be42b65a237b8c5df8d8a9bf1">00032</a> <span class="preprocessor">#define RPMBUILD_DEFAULT_LANG &quot;C&quot;</span>
+<a name="l00033"></a>00033 <span class="preprocessor"></span>
+<a name="l00034"></a><a class="code" href="rpmspec_8h.html#a50f7504ae442ac41309e95b2acbd4e57">00034</a> <span class="keyword">enum</span> <a class="code" href="rpmspec_8h.html#a50f7504ae442ac41309e95b2acbd4e57">rpmSpecFlags_e</a> {
+<a name="l00035"></a><a class="code" href="rpmspec_8h.html#a50f7504ae442ac41309e95b2acbd4e57a902284390f18d3c5877c747cc843a079">00035</a> <a class="code" href="rpmspec_8h.html#a50f7504ae442ac41309e95b2acbd4e57a902284390f18d3c5877c747cc843a079">RPMSPEC_NONE</a> = 0,
+<a name="l00036"></a><a class="code" href="rpmspec_8h.html#a50f7504ae442ac41309e95b2acbd4e57a099c50ab247d0bbb1c64ebc6e21cef3d">00036</a> <a class="code" href="rpmspec_8h.html#a50f7504ae442ac41309e95b2acbd4e57a099c50ab247d0bbb1c64ebc6e21cef3d">RPMSPEC_ANYARCH</a> = (1 &lt;&lt; 0),
+<a name="l00037"></a><a class="code" href="rpmspec_8h.html#a50f7504ae442ac41309e95b2acbd4e57ad1dafc5cb684799edf289294c3e18a85">00037</a> <a class="code" href="rpmspec_8h.html#a50f7504ae442ac41309e95b2acbd4e57ad1dafc5cb684799edf289294c3e18a85">RPMSPEC_FORCE</a> = (1 &lt;&lt; 1),
+<a name="l00038"></a><a class="code" href="rpmspec_8h.html#a50f7504ae442ac41309e95b2acbd4e57a371bb69d0e60d243ed63299b89a8a0de">00038</a> <a class="code" href="rpmspec_8h.html#a50f7504ae442ac41309e95b2acbd4e57a371bb69d0e60d243ed63299b89a8a0de">RPMSPEC_NOLANG</a> = (1 &lt;&lt; 2),
+<a name="l00039"></a>00039 };
+<a name="l00040"></a>00040
+<a name="l00041"></a><a class="code" href="rpmspec_8h.html#aeaeb3a1d73f89f6ba49c034b63cc0902">00041</a> <span class="keyword">typedef</span> <a class="code" href="group__rpmtypes.html#ga44316ffc2f14b8b54c8473f2977e8c81">rpmFlags</a> <a class="code" href="rpmspec_8h.html#aeaeb3a1d73f89f6ba49c034b63cc0902">rpmSpecFlags</a>;
+<a name="l00042"></a>00042
+<a name="l00048"></a>00048 <a class="code" href="rpmtypes_8h.html#a12a746d2cc8032837798cd8eed0749df">rpmSpec</a> <a class="code" href="group__rpmbuild.html#ga4da0512ee30aa53d8d4997c8120a8fda" title="Destroy Spec structure.">rpmSpecFree</a>(<a class="code" href="rpmtypes_8h.html#a12a746d2cc8032837798cd8eed0749df">rpmSpec</a> spec);
+<a name="l00049"></a>00049
+<a name="l00050"></a>00050 <span class="comment">/* Iterator for spec packages */</span>
+<a name="l00051"></a>00051 rpmSpecPkgIter <a class="code" href="rpmspec_8h.html#ae2d282cdbfa04a484beac9309e8f6249">rpmSpecPkgIterInit</a>(<a class="code" href="rpmtypes_8h.html#a12a746d2cc8032837798cd8eed0749df">rpmSpec</a> spec);
+<a name="l00052"></a>00052 rpmSpecPkg <a class="code" href="rpmspec_8h.html#a868e715ebd261d76c35c7707164ea37c">rpmSpecPkgIterNext</a>(rpmSpecPkgIter iter);
+<a name="l00053"></a>00053 rpmSpecPkgIter <a class="code" href="rpmspec_8h.html#a51170ec596ff7320e47db6698f20ff3f">rpmSpecPkgIterFree</a>(rpmSpecPkgIter iter);
+<a name="l00054"></a>00054
+<a name="l00055"></a>00055 <span class="comment">/* Getters for spec package attributes */</span>
+<a name="l00056"></a>00056 <a class="code" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6" title="RPM header and data retrieval types.">Header</a> <a class="code" href="rpmspec_8h.html#a318ef6e925c25e570724a280363cc933">rpmSpecPkgHeader</a>(rpmSpecPkg pkg);
+<a name="l00057"></a>00057
+<a name="l00058"></a>00058 <span class="comment">/* Iterator for spec sources */</span>
+<a name="l00059"></a>00059 rpmSpecSrcIter <a class="code" href="rpmspec_8h.html#ae19ad84fbf9506313537f2ea20b6b3ac">rpmSpecSrcIterInit</a>(<a class="code" href="rpmtypes_8h.html#a12a746d2cc8032837798cd8eed0749df">rpmSpec</a> spec);
+<a name="l00060"></a>00060 rpmSpecSrc <a class="code" href="rpmspec_8h.html#a6895389136a775643c0812f9ec8bf063">rpmSpecSrcIterNext</a>(rpmSpecSrcIter iter);
+<a name="l00061"></a>00061 rpmSpecSrcIter <a class="code" href="rpmspec_8h.html#abe482266ac864d06f92d86b70b901385">rpmSpecSrcIterFree</a>(rpmSpecSrcIter iter);
+<a name="l00062"></a>00062
+<a name="l00063"></a>00063 <span class="comment">/* Getters for spec source attributes */</span>
+<a name="l00064"></a>00064 rpmSourceFlags <a class="code" href="rpmspec_8h.html#a64ae25619a74d19cf1dcefbe331c6e9f">rpmSpecSrcFlags</a>(rpmSpecSrc src);
+<a name="l00065"></a>00065 <span class="keywordtype">int</span> <a class="code" href="rpmspec_8h.html#a0147fe16e7e06f38bb9cd3f515152c81">rpmSpecSrcNum</a>(rpmSpecSrc src);
+<a name="l00066"></a>00066 <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="rpmspec_8h.html#a450314f106793216f6a00d856fe4b808">rpmSpecSrcFilename</a>(rpmSpecSrc src, <span class="keywordtype">int</span> full);
+<a name="l00067"></a>00067
+<a name="l00068"></a>00068 <span class="comment">/*</span>
+<a name="l00069"></a>00069 <span class="comment"> * Retrieve parsed spec script section (RPMBUILD_PREP, RPMBUILD_BUILD etc).</span>
+<a name="l00070"></a>00070 <span class="comment"> * As a special case, RPMBUILD_NONE as section returns the entire spec in</span>
+<a name="l00071"></a>00071 <span class="comment"> * preprocessed (macros expanded etc) format.</span>
+<a name="l00072"></a>00072 <span class="comment"> */</span>
+<a name="l00073"></a>00073 <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="rpmspec_8h.html#acd2422b6181ec85bf2df968afda211bf">rpmSpecGetSection</a>(<a class="code" href="rpmtypes_8h.html#a12a746d2cc8032837798cd8eed0749df">rpmSpec</a> spec, <span class="keywordtype">int</span> section);
+<a name="l00074"></a>00074
+<a name="l00082"></a>00082 <span class="keywordtype">int</span> <a class="code" href="group__rpmbuild.html#ga84b2c5b0ff1e1386f12f8d3fb0e25c79" title="Function to query spec file(s).">rpmspecQuery</a>(<a class="code" href="group__rpmtypes.html#ga1a512138316a227059ca128597dbd464" title="The main types involved in transaction manipulation.">rpmts</a> ts, <a class="code" href="structrpmQVKArguments__s.html" title="Describe query/verify/signature command line operation.">QVA_t</a> qva, <span class="keyword">const</span> <span class="keywordtype">char</span> * arg);
+<a name="l00083"></a>00083
+<a name="l00084"></a>00084 <span class="preprocessor">#ifdef __cplusplus</span>
+<a name="l00085"></a>00085 <span class="preprocessor"></span>}
+<a name="l00086"></a>00086 <span class="preprocessor">#endif</span>
+<a name="l00087"></a>00087 <span class="preprocessor"></span>
+<a name="l00088"></a>00088 <span class="preprocessor">#endif </span><span class="comment">/* _H_SPEC_ */</span>
+</pre></div></div>
+</div>
+<hr class="footer"/><address class="footer"><small>Generated on Fri Jul 15 2011 for rpm by&#160;
+<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
+</body>
+</html>