diff options
Diffstat (limited to 'doc/librpm/html/rpmfileutil_8h.html')
-rw-r--r-- | doc/librpm/html/rpmfileutil_8h.html | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/doc/librpm/html/rpmfileutil_8h.html b/doc/librpm/html/rpmfileutil_8h.html new file mode 100644 index 0000000..231a0a5 --- /dev/null +++ b/doc/librpm/html/rpmfileutil_8h.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: rpmfileutil.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="#typedef-members">Typedefs</a> | +<a href="#enum-members">Enumerations</a> | +<a href="#func-members">Functions</a> </div> + <div class="headertitle"> +<div class="title">rpmfileutil.h File Reference<div class="ingroups"><a class="el" href="group__rpmfileutil.html">File and Path Manipulation API.</a> | <a class="el" href="group__rpmio.html">RPM IO API.</a></div></div> </div> +</div> +<div class="contents"> + +<p>File and path manipulation helper functions. +<a href="#details">More...</a></p> +<div class="textblock"><code>#include <rpm/rpmutil.h></code><br/> +<code>#include <rpm/rpmio.h></code><br/> +<code>#include <rpm/rpmpgp.h></code><br/> +<code>#include <rpm/argv.h></code><br/> +</div><div class="textblock"><div class="dynheader"> +Include dependency graph for rpmfileutil.h:</div> +<div class="dyncontent"> +<div class="center"><img src="rpmfileutil_8h__incl.png" border="0" usemap="#rpmfileutil_8h" alt=""/></div> +</div> +</div> +<p><a href="rpmfileutil_8h_source.html">Go to the source code of this file.</a></p> +<table class="memberdecls"> +<tr><td colspan="2"><h2><a name="typedef-members"></a> +Typedefs</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__rpmfileutil.html#ga8cd18c5a4325494025f60227fcd9b561">rpmCompressedMagic_e</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmfileutil.html#gaeb95839b1705caf41cb0593d533b89c3">rpmCompressedMagic</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="group__rpmfileutil.html#ga8cd18c5a4325494025f60227fcd9b561">rpmCompressedMagic_e</a> { <br/> +  <a class="el" href="group__rpmfileutil.html#gga8cd18c5a4325494025f60227fcd9b561a8a4363137c96594e751ff917000766a7">COMPRESSED_NOT</a> = 0, +<a class="el" href="group__rpmfileutil.html#gga8cd18c5a4325494025f60227fcd9b561a0036b875046b4bad28d4285c98ca33c4">COMPRESSED_OTHER</a> = 1, +<a class="el" href="group__rpmfileutil.html#gga8cd18c5a4325494025f60227fcd9b561ae6f801c28caec783071ce7af92d56eec">COMPRESSED_BZIP2</a> = 2, +<a class="el" href="group__rpmfileutil.html#gga8cd18c5a4325494025f60227fcd9b561a0d06d7254f4eed0c6739ca57ff578c7c">COMPRESSED_ZIP</a> = 3, +<br/> +  <a class="el" href="group__rpmfileutil.html#gga8cd18c5a4325494025f60227fcd9b561ab849fbc1e73f3871280ece58c89d38ee">COMPRESSED_LZMA</a> = 4, +<a class="el" href="group__rpmfileutil.html#gga8cd18c5a4325494025f60227fcd9b561a7847689aa59cbc03ae0201f4b180fd20">COMPRESSED_XZ</a> = 5, +<a class="el" href="group__rpmfileutil.html#gga8cd18c5a4325494025f60227fcd9b561a8f7cd71d3817907dee91866c59a8d4f7">COMPRESSED_LZIP</a> = 6, +<a class="el" href="group__rpmfileutil.html#gga8cd18c5a4325494025f60227fcd9b561aab972047f0e3ff8ec9dc7cf891ff6df4">COMPRESSED_LRZIP</a> = 7 +<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="group__rpmfileutil.html#gaa237514825e3eeba35400e9c49f223d7">rpmDoDigest</a> (int algo, const char *fn, int asAscii, unsigned char *digest, <a class="el" href="group__rpmtypes.html#gab9fe53f396a324ab4d4e07cad793f730">rpm_loff_t</a> *fsizep)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Calculate a file digest and size. <a href="group__rpmfileutil.html#gaa237514825e3eeba35400e9c49f223d7"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmfileutil.html#gac4a257784b294f11f6dbdbd6368d687c">rpmMkTemp</a> (char *templ)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Thin wrapper for mkstemp(3). <a href="group__rpmfileutil.html#gac4a257784b294f11f6dbdbd6368d687c"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmfileutil.html#ga2d985c9d6147d42f0f97ef439f54c691">rpmMkTempFile</a> (const char *prefix, char **fn)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return file handle for a temporaray file. <a href="group__rpmfileutil.html#ga2d985c9d6147d42f0f97ef439f54c691"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmfileutil.html#ga38d473d1bb6c55091c55620dc035ab3b">rpmioMkpath</a> (const char *path, mode_t <a class="el" href="rpmspec_8c.html#a1ea5d0cb93f22f7d0fdf804bd68c3326">mode</a>, uid_t uid, gid_t gid)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Insure that directories in path exist, creating as needed. <a href="group__rpmfileutil.html#ga38d473d1bb6c55091c55620dc035ab3b"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmfileutil.html#gae3a5064720ea1f5929f4f1b059d8a80c">rpmMkdirs</a> (const char *root, const char *pathstr)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Create several directories (including parents if needed) in one go. <a href="group__rpmfileutil.html#gae3a5064720ea1f5929f4f1b059d8a80c"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmfileutil.html#ga23bc9da080ad3340bbba93a0bf45dd07">rpmCleanPath</a> (char *path)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Canonicalize file path. <a href="group__rpmfileutil.html#ga23bc9da080ad3340bbba93a0bf45dd07"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmfileutil.html#gaa32585dcb214b5099ad0ea3d4044221b">rpmGenPath</a> (const char *urlroot, const char *urlmdir, const char *urlfile)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Merge 3 args into path, any or all of which may be a url. <a href="group__rpmfileutil.html#gaa32585dcb214b5099ad0ea3d4044221b"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmfileutil.html#ga082c9f1c3b1e4fef327ac91a87ca51e9">rpmGetPath</a> (const char *path,...) RPM_GNUC_NULL_TERMINATED</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return (malloc'ed) expanded, canonicalized, file path. <a href="group__rpmfileutil.html#ga082c9f1c3b1e4fef327ac91a87ca51e9"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmfileutil.html#ga7bec06f6c7624e6f1968137466e56914">rpmGlob</a> (const char *patterns, int *argcPtr, <a class="el" href="argv_8h.html#a4628d0ccf538438d6ef2795aeebd7e31">ARGV_t</a> *argvPtr)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return URL path(s) from a (URL prefixed) pattern glob. <a href="group__rpmfileutil.html#ga7bec06f6c7624e6f1968137466e56914"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmfileutil.html#ga03dd0d02944697af9acf220a897941cd">rpmEscapeSpaces</a> (const char *s)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Escape isspace(3) characters in string. <a href="group__rpmfileutil.html#ga03dd0d02944697af9acf220a897941cd"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmfileutil.html#ga33cf90d9756fd962225659063db265ed">rpmFileIsCompressed</a> (const char *file, <a class="el" href="group__rpmfileutil.html#gaeb95839b1705caf41cb0593d533b89c3">rpmCompressedMagic</a> *compressed)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return type of compression used in file. <a href="group__rpmfileutil.html#ga33cf90d9756fd962225659063db265ed"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmfileutil.html#gae63f2f807558d45d7c07d3e0bfe2bff1">rpmFileHasSuffix</a> (const char *path, const char *suffix)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Check if path (string) ends with given suffix. <a href="group__rpmfileutil.html#gae63f2f807558d45d7c07d3e0bfe2bff1"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmfileutil.html#gac50a8e532768e8bbad7c5f3d25fbecbd">rpmGetCwd</a> (void)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Like getcwd() but the result is malloced. <a href="group__rpmfileutil.html#gac50a8e532768e8bbad7c5f3d25fbecbd"></a><br/></td></tr> +</table> +<hr/><a name="details" id="details"></a><h2>Detailed Description</h2> +<div class="textblock"><p>File and path manipulation helper functions. </p> + +<p>Definition in file <a class="el" href="rpmfileutil_8h_source.html">rpmfileutil.h</a>.</p> +</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> |