diff options
Diffstat (limited to 'doc/librpm/html/rpmmacro_8h.html')
-rw-r--r-- | doc/librpm/html/rpmmacro_8h.html | 300 |
1 files changed, 300 insertions, 0 deletions
diff --git a/doc/librpm/html/rpmmacro_8h.html b/doc/librpm/html/rpmmacro_8h.html new file mode 100644 index 0000000..5f8b95e --- /dev/null +++ b/doc/librpm/html/rpmmacro_8h.html @@ -0,0 +1,300 @@ +<!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: rpmmacro.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="#func-members">Functions</a> | +<a href="#var-members">Variables</a> </div> + <div class="headertitle"> +<div class="title">rpmmacro.h File Reference<div class="ingroups"><a class="el" href="group__rpmio.html">RPM IO API.</a></div></div> </div> +</div> +<div class="contents"> +<div class="textblock"><code>#include <stdio.h></code><br/> +<code>#include <stddef.h></code><br/> +<code>#include <rpm/rpmutil.h></code><br/> +<code>#include <rpm/rpmfileutil.h></code><br/> +</div><div class="textblock"><div class="dynheader"> +Include dependency graph for rpmmacro.h:</div> +<div class="dyncontent"> +<div class="center"><img src="rpmmacro_8h__incl.png" border="0" usemap="#rpmmacro_8h" alt=""/></div> +</div> +</div> +<p><a href="rpmmacro_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="rpmmacro_8h.html#adb891202f87c42f9d3f50015ecee86e2">RMIL_DEFAULT</a>   -15</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Markers for sources of macros added throughout rpm. <a href="#adb891202f87c42f9d3f50015ecee86e2"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmacro_8h.html#ad2c1e0c96c6c4b3fa1c8f4ff1f53b679">RMIL_MACROFILES</a>   -13</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmacro_8h.html#a8aac80ead9d77f96f029a3fad2d40946">RMIL_RPMRC</a>   -11</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmacro_8h.html#a88dd84061eeafe42c0d914d91003fdcc">RMIL_CMDLINE</a>   -7</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmacro_8h.html#a6b8871ea4414512f9d8d35638eb9d683">RMIL_TARBALL</a>   -5</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmacro_8h.html#ada57d56376236d87b6a9256eb1480202">RMIL_SPEC</a>   -3</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmacro_8h.html#a7fac977574e79d841cd7cf01136599be">RMIL_OLDSPEC</a>   -1</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmacro_8h.html#af7bedcbe4b1c8588ff32277a1ba4601d">RMIL_GLOBAL</a>   0</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 struct rpmMacroEntry_s * </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmacro_8h.html#a3f04d009ed63bf4faabaa61d49d06033">rpmMacroEntry</a></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">typedef struct rpmMacroContext_s * </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmacro_8h.html#a42444931df97263be677f8ae4018fd4f">rpmMacroContext</a></td></tr> +<tr><td colspan="2"><h2><a name="func-members"></a> +Functions</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmmacro.html#gad1ffe414864da5201b8968f3acf148c5">rpmDumpMacroTable</a> (<a class="el" href="rpmmacro_8h.html#a42444931df97263be677f8ae4018fd4f">rpmMacroContext</a> mc, FILE *fp)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Print macros to file stream. <a href="group__rpmmacro.html#gad1ffe414864da5201b8968f3acf148c5"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmmacro.html#ga4bf96cf2d6c9d0375b95d852ad311f75">expandMacros</a> (void *spec, <a class="el" href="rpmmacro_8h.html#a42444931df97263be677f8ae4018fd4f">rpmMacroContext</a> mc, char *sbuf, size_t slen)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Expand macro into buffer. <a href="group__rpmmacro.html#ga4bf96cf2d6c9d0375b95d852ad311f75"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmmacro.html#gaa4e9d6d8d215046ee21acb156c659efe">addMacro</a> (<a class="el" href="rpmmacro_8h.html#a42444931df97263be677f8ae4018fd4f">rpmMacroContext</a> mc, const char *n, const char *o, const char *b, int level)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Add macro to context. <a href="group__rpmmacro.html#gaa4e9d6d8d215046ee21acb156c659efe"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmmacro.html#ga6365bacb2f43539de94cd6c275968311">delMacro</a> (<a class="el" href="rpmmacro_8h.html#a42444931df97263be677f8ae4018fd4f">rpmMacroContext</a> mc, const char *n)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Delete macro from context. <a href="group__rpmmacro.html#ga6365bacb2f43539de94cd6c275968311"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmmacro.html#ga811c3748fcef0d8b5f1091c51efda080">rpmDefineMacro</a> (<a class="el" href="rpmmacro_8h.html#a42444931df97263be677f8ae4018fd4f">rpmMacroContext</a> mc, const char *macro, int level)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Define macro in context. <a href="group__rpmmacro.html#ga811c3748fcef0d8b5f1091c51efda080"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmmacro.html#ga4ba021b6c8e9b12151371c16d4437ece">rpmLoadMacros</a> (<a class="el" href="rpmmacro_8h.html#a42444931df97263be677f8ae4018fd4f">rpmMacroContext</a> mc, int level)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Load macros from specific context into global context. <a href="group__rpmmacro.html#ga4ba021b6c8e9b12151371c16d4437ece"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmmacro.html#ga3ce8dd8c70682ee4af3fbb62f4ff4f5b">rpmLoadMacroFile</a> (<a class="el" href="rpmmacro_8h.html#a42444931df97263be677f8ae4018fd4f">rpmMacroContext</a> mc, const char *fn)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Load macro context from a macro file. <a href="group__rpmmacro.html#ga3ce8dd8c70682ee4af3fbb62f4ff4f5b"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmmacro.html#ga7a5fc39354bf88cbb61cb49a140661a4">rpmInitMacros</a> (<a class="el" href="rpmmacro_8h.html#a42444931df97263be677f8ae4018fd4f">rpmMacroContext</a> mc, const char *<a class="el" href="group__rpmrc.html#gae63ceb25d4146b91751ccf857f67f654">macrofiles</a>)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Initialize macro context from set of macrofile(s). <a href="group__rpmmacro.html#ga7a5fc39354bf88cbb61cb49a140661a4"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmmacro.html#ga1a83ba3c147a4005c80485cc2161bf3b">rpmFreeMacros</a> (<a class="el" href="rpmmacro_8h.html#a42444931df97263be677f8ae4018fd4f">rpmMacroContext</a> mc)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Destroy macro context. <a href="group__rpmmacro.html#ga1a83ba3c147a4005c80485cc2161bf3b"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmmacro.html#ga39b56d7237065eaa71f253a6c2dbcfea">rpmExpand</a> (const char *arg,...) RPM_GNUC_NULL_TERMINATED</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return (malloc'ed) concatenated macro expansion(s). <a href="group__rpmmacro.html#ga39b56d7237065eaa71f253a6c2dbcfea"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmmacro.html#ga4bb017f52f3bd9b8aae77772b0bc9ba8">rpmExpandNumeric</a> (const char *arg)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return macro expansion as a numeric value. <a href="group__rpmmacro.html#ga4bb017f52f3bd9b8aae77772b0bc9ba8"></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__rpmmacro.html#ga9c73e98a61c2046d87459d46beca3af8">rpmConfigDir</a> (void)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return rpm configuration base directory. <a href="group__rpmmacro.html#ga9c73e98a61c2046d87459d46beca3af8"></a><br/></td></tr> +<tr><td colspan="2"><h2><a name="var-members"></a> +Variables</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="rpmmacro_8h.html#a42444931df97263be677f8ae4018fd4f">rpmMacroContext</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmacro_8h.html#ae294c20d7439075dcf2a6494c6655691">rpmGlobalMacroContext</a></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="rpmmacro_8h.html#a42444931df97263be677f8ae4018fd4f">rpmMacroContext</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmmacro_8h.html#a9dfbb9c2e90f2045f33d144811cf6c70">rpmCLIMacroContext</a></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmrc.html#gae63ceb25d4146b91751ccf857f67f654">macrofiles</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">List of macro files to read when configuring rpm. <a href="group__rpmrc.html#gae63ceb25d4146b91751ccf857f67f654"></a><br/></td></tr> +</table> +<hr/><a name="details" id="details"></a><h2>Detailed Description</h2> +<div class="textblock"> +<p>Definition in file <a class="el" href="rpmmacro_8h_source.html">rpmmacro.h</a>.</p> +</div><hr/><h2>Define Documentation</h2> +<a class="anchor" id="a88dd84061eeafe42c0d914d91003fdcc"></a><!-- doxytag: member="rpmmacro.h::RMIL_CMDLINE" ref="a88dd84061eeafe42c0d914d91003fdcc" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define RMIL_CMDLINE   -7</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="rpmmacro_8h_source.html#l00040">40</a> of file <a class="el" href="rpmmacro_8h_source.html">rpmmacro.h</a>.</p> + +</div> +</div> +<a class="anchor" id="adb891202f87c42f9d3f50015ecee86e2"></a><!-- doxytag: member="rpmmacro.h::RMIL_DEFAULT" ref="adb891202f87c42f9d3f50015ecee86e2" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define RMIL_DEFAULT   -15</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Markers for sources of macros added throughout rpm. </p> + +<p>Definition at line <a class="el" href="rpmmacro_8h_source.html#l00036">36</a> of file <a class="el" href="rpmmacro_8h_source.html">rpmmacro.h</a>.</p> + +</div> +</div> +<a class="anchor" id="af7bedcbe4b1c8588ff32277a1ba4601d"></a><!-- doxytag: member="rpmmacro.h::RMIL_GLOBAL" ref="af7bedcbe4b1c8588ff32277a1ba4601d" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define RMIL_GLOBAL   0</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="rpmmacro_8h_source.html#l00044">44</a> of file <a class="el" href="rpmmacro_8h_source.html">rpmmacro.h</a>.</p> + +</div> +</div> +<a class="anchor" id="ad2c1e0c96c6c4b3fa1c8f4ff1f53b679"></a><!-- doxytag: member="rpmmacro.h::RMIL_MACROFILES" ref="ad2c1e0c96c6c4b3fa1c8f4ff1f53b679" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define RMIL_MACROFILES   -13</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="rpmmacro_8h_source.html#l00037">37</a> of file <a class="el" href="rpmmacro_8h_source.html">rpmmacro.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a7fac977574e79d841cd7cf01136599be"></a><!-- doxytag: member="rpmmacro.h::RMIL_OLDSPEC" ref="a7fac977574e79d841cd7cf01136599be" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define RMIL_OLDSPEC   -1</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="rpmmacro_8h_source.html#l00043">43</a> of file <a class="el" href="rpmmacro_8h_source.html">rpmmacro.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a8aac80ead9d77f96f029a3fad2d40946"></a><!-- doxytag: member="rpmmacro.h::RMIL_RPMRC" ref="a8aac80ead9d77f96f029a3fad2d40946" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define RMIL_RPMRC   -11</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="rpmmacro_8h_source.html#l00038">38</a> of file <a class="el" href="rpmmacro_8h_source.html">rpmmacro.h</a>.</p> + +</div> +</div> +<a class="anchor" id="ada57d56376236d87b6a9256eb1480202"></a><!-- doxytag: member="rpmmacro.h::RMIL_SPEC" ref="ada57d56376236d87b6a9256eb1480202" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define RMIL_SPEC   -3</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="rpmmacro_8h_source.html#l00042">42</a> of file <a class="el" href="rpmmacro_8h_source.html">rpmmacro.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a6b8871ea4414512f9d8d35638eb9d683"></a><!-- doxytag: member="rpmmacro.h::RMIL_TARBALL" ref="a6b8871ea4414512f9d8d35638eb9d683" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">#define RMIL_TARBALL   -5</td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="rpmmacro_8h_source.html#l00041">41</a> of file <a class="el" href="rpmmacro_8h_source.html">rpmmacro.h</a>.</p> + +<p>Referenced by <a class="el" href="rpmbuild_8c_source.html#l00360">buildForTarget()</a>.</p> + +</div> +</div> +<hr/><h2>Typedef Documentation</h2> +<a class="anchor" id="a42444931df97263be677f8ae4018fd4f"></a><!-- doxytag: member="rpmmacro.h::rpmMacroContext" ref="a42444931df97263be677f8ae4018fd4f" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef struct rpmMacroContext_s* <a class="el" href="rpmmacro_8h.html#a42444931df97263be677f8ae4018fd4f">rpmMacroContext</a></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="rpmmacro_8h_source.html#l00020">20</a> of file <a class="el" href="rpmmacro_8h_source.html">rpmmacro.h</a>.</p> + +</div> +</div> +<a class="anchor" id="a3f04d009ed63bf4faabaa61d49d06033"></a><!-- doxytag: member="rpmmacro.h::rpmMacroEntry" ref="a3f04d009ed63bf4faabaa61d49d06033" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef struct rpmMacroEntry_s* <a class="el" href="rpmmacro_8h.html#a3f04d009ed63bf4faabaa61d49d06033">rpmMacroEntry</a></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="rpmmacro_8h_source.html#l00018">18</a> of file <a class="el" href="rpmmacro_8h_source.html">rpmmacro.h</a>.</p> + +</div> +</div> +<hr/><h2>Variable Documentation</h2> +<a class="anchor" id="a9dfbb9c2e90f2045f33d144811cf6c70"></a><!-- doxytag: member="rpmmacro.h::rpmCLIMacroContext" ref="a9dfbb9c2e90f2045f33d144811cf6c70" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="rpmmacro_8h.html#a42444931df97263be677f8ae4018fd4f">rpmMacroContext</a> <a class="el" href="rpmlib_8h.html#a611bcf892245925d56553119f0b4125e">rpmCLIMacroContext</a></td> + </tr> + </table> +</div> +<div class="memdoc"> + +</div> +</div> +<a class="anchor" id="ae294c20d7439075dcf2a6494c6655691"></a><!-- doxytag: member="rpmmacro.h::rpmGlobalMacroContext" ref="ae294c20d7439075dcf2a6494c6655691" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="rpmmacro_8h.html#a42444931df97263be677f8ae4018fd4f">rpmMacroContext</a> <a class="el" href="rpmlib_8h.html#a310b2afbed4a4578471fe1e06fde9188">rpmGlobalMacroContext</a></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> |