diff options
Diffstat (limited to 'doc/librpm/html/rpmbuild_8h_source.html')
-rw-r--r-- | doc/librpm/html/rpmbuild_8h_source.html | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/doc/librpm/html/rpmbuild_8h_source.html b/doc/librpm/html/rpmbuild_8h_source.html new file mode 100644 index 0000000..fb32544 --- /dev/null +++ b/doc/librpm/html/rpmbuild_8h_source.html @@ -0,0 +1,112 @@ +<!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: rpmbuild.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 <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 class="header"> + <div class="headertitle"> +<div class="title">rpmbuild.h</div> </div> +</div> +<div class="contents"> +<a href="rpmbuild_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_RPMBUILD_</span> +<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define _H_RPMBUILD_</span> +<a name="l00003"></a>00003 <span class="preprocessor"></span> +<a name="l00009"></a>00009 <span class="preprocessor">#include <rpm/rpmcli.h></span> +<a name="l00010"></a>00010 <span class="preprocessor">#include <rpm/rpmds.h></span> +<a name="l00011"></a>00011 <span class="preprocessor">#include <rpm/rpmspec.h></span> +<a name="l00012"></a>00012 +<a name="l00013"></a>00013 <span class="preprocessor">#ifdef __cplusplus</span> +<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> { +<a name="l00015"></a>00015 <span class="preprocessor">#endif</span> +<a name="l00016"></a>00016 <span class="preprocessor"></span> +<a name="l00020"></a><a class="code" href="group__rpmbuild.html#ga23067366f7d82aa059f41658099fda93">00020</a> <span class="keyword">enum</span> <a class="code" href="group__rpmbuild.html#ga23067366f7d82aa059f41658099fda93" title="Bit(s) to control rpmSpecBuild() operation.">rpmBuildFlags_e</a> { +<a name="l00021"></a><a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a40ddb2da48019f2a072191d1c59f05bc">00021</a> <a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a40ddb2da48019f2a072191d1c59f05bc">RPMBUILD_NONE</a> = 0, +<a name="l00022"></a><a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a6d23c56a543b891c14a930381e8aa4d4">00022</a> <a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a6d23c56a543b891c14a930381e8aa4d4">RPMBUILD_PREP</a> = (1 << 0), +<a name="l00023"></a><a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a9dcb94f0392b645ea2db78ae65ecc646">00023</a> <a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a9dcb94f0392b645ea2db78ae65ecc646">RPMBUILD_BUILD</a> = (1 << 1), +<a name="l00024"></a><a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93aeb2fb63437f3b19e7a8d31a6ed687e00">00024</a> <a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93aeb2fb63437f3b19e7a8d31a6ed687e00">RPMBUILD_INSTALL</a> = (1 << 2), +<a name="l00025"></a><a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a46ed92a3c82cf43f647f0318f56d1d5c">00025</a> <a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a46ed92a3c82cf43f647f0318f56d1d5c">RPMBUILD_CHECK</a> = (1 << 3), +<a name="l00026"></a><a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a6ccd1151d24c9909c41eeb717d4e02c3">00026</a> <a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a6ccd1151d24c9909c41eeb717d4e02c3">RPMBUILD_CLEAN</a> = (1 << 4), +<a name="l00027"></a><a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a3d1894c5e4c1f8436c861da5972b90a5">00027</a> <a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a3d1894c5e4c1f8436c861da5972b90a5">RPMBUILD_FILECHECK</a> = (1 << 5), +<a name="l00028"></a><a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a047c64b4edeb3242c89e54e91bf734f2">00028</a> <a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a047c64b4edeb3242c89e54e91bf734f2">RPMBUILD_PACKAGESOURCE</a> = (1 << 6), +<a name="l00029"></a><a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a3e00a16af29d1c03cb0e9b31cf9e2ca8">00029</a> <a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a3e00a16af29d1c03cb0e9b31cf9e2ca8">RPMBUILD_PACKAGEBINARY</a> = (1 << 7), +<a name="l00030"></a><a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a473063df8b824255634653ba80a437f2">00030</a> <a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a473063df8b824255634653ba80a437f2">RPMBUILD_RMSOURCE</a> = (1 << 8), +<a name="l00031"></a><a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93aa808a844a94806debc804a18c58023f3">00031</a> <a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93aa808a844a94806debc804a18c58023f3">RPMBUILD_RMBUILD</a> = (1 << 9), +<a name="l00032"></a><a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93aed3a4323aa34cd8f8d1ae19ba94744ba">00032</a> <a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93aed3a4323aa34cd8f8d1ae19ba94744ba">RPMBUILD_STRINGBUF</a> = (1 << 10), +<a name="l00033"></a><a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a7e26df39cdf47fbfe2a1c5069decf033">00033</a> <a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93a7e26df39cdf47fbfe2a1c5069decf033">RPMBUILD_RMSPEC</a> = (1 << 11), +<a name="l00035"></a><a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93ab5833ed9b89ae2b33dca2c5b77257147">00035</a> <a class="code" href="group__rpmbuild.html#gga23067366f7d82aa059f41658099fda93ab5833ed9b89ae2b33dca2c5b77257147">RPMBUILD_NOBUILD</a> = (1 << 31) +<a name="l00036"></a>00036 }; +<a name="l00037"></a>00037 +<a name="l00038"></a><a class="code" href="rpmbuild_8h.html#a68795b9059bd54968972559eb133154b">00038</a> <span class="keyword">typedef</span> <a class="code" href="group__rpmtypes.html#ga44316ffc2f14b8b54c8473f2977e8c81">rpmFlags</a> <a class="code" href="rpmbuild_8h.html#a68795b9059bd54968972559eb133154b">rpmBuildFlags</a>; +<a name="l00039"></a>00039 +<a name="l00043"></a><a class="code" href="group__rpmbuild.html#ga8af2285d18b61e104470f29e019fb1d9">00043</a> <span class="keyword">enum</span> <a class="code" href="group__rpmbuild.html#ga8af2285d18b61e104470f29e019fb1d9" title="Bit(s) to control package generation.">rpmBuildPkgFlags_e</a> { +<a name="l00044"></a><a class="code" href="group__rpmbuild.html#gga8af2285d18b61e104470f29e019fb1d9a3796a422eab5b1be102a0403c482de51">00044</a> <a class="code" href="group__rpmbuild.html#gga8af2285d18b61e104470f29e019fb1d9a3796a422eab5b1be102a0403c482de51">RPMBUILD_PKG_NONE</a> = 0, +<a name="l00045"></a><a class="code" href="group__rpmbuild.html#gga8af2285d18b61e104470f29e019fb1d9a92f64323de18b3cfb7189c0562dffec9">00045</a> <a class="code" href="group__rpmbuild.html#gga8af2285d18b61e104470f29e019fb1d9a92f64323de18b3cfb7189c0562dffec9">RPMBUILD_PKG_NODIRTOKENS</a> = (1 << 0), +<a name="l00046"></a>00046 }; +<a name="l00047"></a>00047 +<a name="l00048"></a><a class="code" href="rpmbuild_8h.html#a449985842764ee68779a20dc1519a775">00048</a> <span class="keyword">typedef</span> <a class="code" href="group__rpmtypes.html#ga44316ffc2f14b8b54c8473f2977e8c81">rpmFlags</a> <a class="code" href="rpmbuild_8h.html#a449985842764ee68779a20dc1519a775">rpmBuildPkgFlags</a>; +<a name="l00049"></a>00049 +<a name="l00053"></a><a class="code" href="structrpmBuildArguments__s.html">00053</a> <span class="keyword">struct </span><a class="code" href="structrpmBuildArguments__s.html" title="Describe build request.">rpmBuildArguments_s</a> { +<a name="l00054"></a><a class="code" href="structrpmBuildArguments__s.html#ac5afae58f617d76f7367be1d6fb45423">00054</a> rpmBuildPkgFlags <a class="code" href="structrpmBuildArguments__s.html#ac5afae58f617d76f7367be1d6fb45423">pkgFlags</a>; +<a name="l00055"></a><a class="code" href="structrpmBuildArguments__s.html#adb4577dd9848f3b8d8797e081c26c636">00055</a> rpmBuildFlags <a class="code" href="structrpmBuildArguments__s.html#adb4577dd9848f3b8d8797e081c26c636">buildAmount</a>; +<a name="l00056"></a><a class="code" href="structrpmBuildArguments__s.html#ad4c11c26f63a02a2f333c4d8bd4ebcc5">00056</a> <span class="keywordtype">char</span> * <a class="code" href="structrpmBuildArguments__s.html#ad4c11c26f63a02a2f333c4d8bd4ebcc5">buildRootOverride</a>; +<a name="l00057"></a><a class="code" href="structrpmBuildArguments__s.html#ab4df0b8e1a35e866a52d82c2cb75c404">00057</a> <span class="keywordtype">char</span> * <a class="code" href="structrpmBuildArguments__s.html#ab4df0b8e1a35e866a52d82c2cb75c404">cookie</a>; +<a name="l00058"></a><a class="code" href="structrpmBuildArguments__s.html#a4f0e2aefc1295a794cafdebfcede23f9">00058</a> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="structrpmBuildArguments__s.html#a4f0e2aefc1295a794cafdebfcede23f9">rootdir</a>; +<a name="l00059"></a>00059 }; +<a name="l00060"></a>00060 +<a name="l00063"></a><a class="code" href="group__rpmbuild.html#gad21a48ea80a1ad429f9a93c1c9a14fdb">00063</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structrpmBuildArguments__s.html" title="Describe build request.">rpmBuildArguments_s</a> * <a class="code" href="group__rpmbuild.html#gad21a48ea80a1ad429f9a93c1c9a14fdb">BTA_t</a>; +<a name="l00064"></a>00064 +<a name="l00074"></a>00074 <a class="code" href="rpmtypes_8h.html#a12a746d2cc8032837798cd8eed0749df">rpmSpec</a> <a class="code" href="group__rpmbuild.html#ga3107d87d92a344881d40528bca7ddc34" title="Parse spec file into spec control structure.">rpmSpecParse</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *specFile, <a class="code" href="rpmspec_8h.html#aeaeb3a1d73f89f6ba49c034b63cc0902">rpmSpecFlags</a> flags, +<a name="l00075"></a>00075 <span class="keyword">const</span> <span class="keywordtype">char</span> *buildRoot); +<a name="l00076"></a>00076 +<a name="l00082"></a>00082 <a class="code" href="group__rpmtypes.html#gacb1ffe4e2d96b8277f9f46ecc0c7b8a6" title="RPM header and data retrieval types.">Header</a> <a class="code" href="group__rpmbuild.html#ga99e8fc75c62c91b2a5e1c7064568eab2" title="Return the headers of the SRPM that would be built from the spec file.">rpmSpecSourceHeader</a>(<a class="code" href="rpmtypes_8h.html#a12a746d2cc8032837798cd8eed0749df">rpmSpec</a> spec); +<a name="l00083"></a>00083 +<a name="l00090"></a>00090 <a class="code" href="group__rpmtypes.html#ga7ec28162fa78467d0beca8d76ec183eb">rpmps</a> <a class="code" href="group__rpmbuild.html#ga99f0beae70a1e53daaadb6f6743d2b74" title="Verify build depencies of a spec against.">rpmSpecCheckDeps</a>(<a class="code" href="group__rpmtypes.html#ga1a512138316a227059ca128597dbd464" title="The main types involved in transaction manipulation.">rpmts</a> ts, <a class="code" href="rpmtypes_8h.html#a12a746d2cc8032837798cd8eed0749df">rpmSpec</a> spec); +<a name="l00091"></a>00091 +<a name="l00098"></a>00098 <a class="code" href="group__rpmtypes.html#ga8ee68aea070136e6b8c844995ff0c5a8">rpmds</a> <a class="code" href="group__rpmbuild.html#gade1f66b784f3f3de1661d9528418525a" title="Retrieve build dependency set from spec.">rpmSpecDS</a>(<a class="code" href="rpmtypes_8h.html#a12a746d2cc8032837798cd8eed0749df">rpmSpec</a> spec, <a class="code" href="group__rpmtypes.html#ga2ef24de5e3abc53a5be49546c6b1eccf">rpmTagVal</a> tag); +<a name="l00099"></a>00099 +<a name="l00106"></a>00106 <a class="code" href="group__rpmtypes.html#ga06da857c39457bfb6ea9049643fdb706" title="Package read return codes.">rpmRC</a> <a class="code" href="group__rpmbuild.html#ga92a57c1bb93d9cd4bc8cccf3bfca99b5" title="Spec build stages state machine driver.">rpmSpecBuild</a>(<a class="code" href="rpmtypes_8h.html#a12a746d2cc8032837798cd8eed0749df">rpmSpec</a> spec, BTA_t buildArgs); +<a name="l00107"></a>00107 +<a name="l00108"></a>00108 <span class="preprocessor">#ifdef __cplusplus</span> +<a name="l00109"></a>00109 <span class="preprocessor"></span>} +<a name="l00110"></a>00110 <span class="preprocessor">#endif</span> +<a name="l00111"></a>00111 <span class="preprocessor"></span> +<a name="l00112"></a>00112 <span class="preprocessor">#endif </span><span class="comment">/* _H_RPMBUILD_ */</span> +</pre></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> |