diff options
Diffstat (limited to 'doc/librpm/html/rpmio_8h.html')
-rw-r--r-- | doc/librpm/html/rpmio_8h.html | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/doc/librpm/html/rpmio_8h.html b/doc/librpm/html/rpmio_8h.html new file mode 100644 index 0000000..f561994 --- /dev/null +++ b/doc/librpm/html/rpmio_8h.html @@ -0,0 +1,144 @@ +<!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: rpmio.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> </div> + <div class="headertitle"> +<div class="title">rpmio.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 <sys/types.h></code><br/> +<code>#include <sys/stat.h></code><br/> +<code>#include <stdio.h></code><br/> +<code>#include <stdlib.h></code><br/> +<code>#include <unistd.h></code><br/> +<code>#include <rpm/rpmtypes.h></code><br/> +<code>#include <rpm/rpmsw.h></code><br/> +</div><div class="textblock"><div class="dynheader"> +Include dependency graph for rpmio.h:</div> +<div class="dyncontent"> +<div class="center"><img src="rpmio_8h__incl.png" border="0" usemap="#rpmio_8h" alt=""/></div> +</div> +</div> +<p><a href="rpmio_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 off_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#ga1551b2b0189027032786778214349e2a">_libio_off_t</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Hide libio API lossage. <a href="group__rpmio.html#ga1551b2b0189027032786778214349e2a"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">typedef off_t </td><td class="memItemRight" valign="bottom"><a class="el" href="rpmio_8h.html#aaf0c70bd553008b1a0f8c41f2f8702de">_libio_pos_t</a></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">typedef struct FDIO_s * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#ga31cec054227d866442b950b1d3c29176">FDIO_t</a></td></tr> +<tr><td colspan="2"><h2><a name="func-members"></a> +Functions</h2></td></tr> +<tr><td colspan="2"><div class="groupHeader">RPMIO Interface.</div></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#ga0ef7b73c1eec295cb5f873879b143423">Fstrerror</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">strerror(3) clone. <a href="group__rpmio.html#ga0ef7b73c1eec295cb5f873879b143423"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">ssize_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#ga6ffa5f02696ee1110c5f6d44fba27665">Fread</a> (void *buf, size_t size, size_t nmemb, <a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">fread(3) clone. <a href="group__rpmio.html#ga6ffa5f02696ee1110c5f6d44fba27665"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">ssize_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#ga9392544d2ddda63fd9169a0c1d40609c">Fwrite</a> (const void *buf, size_t size, size_t nmemb, <a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">fwrite(3) clone. <a href="group__rpmio.html#ga9392544d2ddda63fd9169a0c1d40609c"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#gafe507ae49dd4175c3a41ec959a0c94a9">Fseek</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd, <a class="el" href="group__rpmio.html#ga1551b2b0189027032786778214349e2a">_libio_off_t</a> offset, int whence)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">fseek(3) clone. <a href="group__rpmio.html#gafe507ae49dd4175c3a41ec959a0c94a9"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">off_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#ga0f1a716321e753393ef36963a03e1143">Ftell</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">ftell(3) clone. <a href="group__rpmio.html#ga0f1a716321e753393ef36963a03e1143"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#ga7e40bd43f40fcfce2773851b922c7774">Fclose</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">fclose(3) clone. <a href="group__rpmio.html#ga7e40bd43f40fcfce2773851b922c7774"></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__rpmio.html#ga179731508680532a4303c1220e7bdb2d">Fdopen</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> ofd, const char *fmode)</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__rpmio.html#ga2eb611bd97d6d937d2296bcecd83ee31">Fopen</a> (const char *path, const char *fmode)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">fopen(3) clone. <a href="group__rpmio.html#ga2eb611bd97d6d937d2296bcecd83ee31"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#ga640e13034aae4bdaad1b2172f7456c85">Fflush</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">fflush(3) clone. <a href="group__rpmio.html#ga640e13034aae4bdaad1b2172f7456c85"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#ga0f608c106ddef6245f5e9773a8e56b73">Ferror</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">ferror(3) clone. <a href="group__rpmio.html#ga0f608c106ddef6245f5e9773a8e56b73"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#gaca02cbbacaad7e321e419900030f4fbf">Fileno</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">fileno(3) clone. <a href="group__rpmio.html#gaca02cbbacaad7e321e419900030f4fbf"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#gabd3de311baaf40055369476303d53229">Fcntl</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd, int op, void *lip)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">fcntl(2) clone. <a href="group__rpmio.html#gabd3de311baaf40055369476303d53229"></a><br/></td></tr> +<tr><td colspan="2"><h2><a name="member-group"></a> +RPMIO Utilities.</h2></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#ga3f29a6d794c5c4d3283466f388021181">fdOpX_e</a> { <br/> +  <a class="el" href="group__rpmio.html#gga3f29a6d794c5c4d3283466f388021181a84d3d23af13a1d2041439b1fbb993f17">FDSTAT_READ</a> = 0, +<a class="el" href="group__rpmio.html#gga3f29a6d794c5c4d3283466f388021181a9593c6dfbeef1a48cd73037fccd950c3">FDSTAT_WRITE</a> = 1, +<a class="el" href="group__rpmio.html#gga3f29a6d794c5c4d3283466f388021181a7cf4151892b60e1cd9cfdafb13e7aa16">FDSTAT_SEEK</a> = 2, +<a class="el" href="group__rpmio.html#gga3f29a6d794c5c4d3283466f388021181ad51ed17b1e1a7a8d9156a3305a80ab9d">FDSTAT_CLOSE</a> = 3, +<br/> +  <a class="el" href="group__rpmio.html#gga3f29a6d794c5c4d3283466f388021181af418a78e4290c0f2e2b0ab16abd2db4b">FDSTAT_DIGEST</a> = 4, +<a class="el" href="group__rpmio.html#gga3f29a6d794c5c4d3283466f388021181ad7618268f22e5f6c64ff883be9ec5bbd">FDSTAT_MAX</a> = 5 +<br/> + }</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Identify per-desciptor I/O operation statistics. <a href="group__rpmio.html#ga3f29a6d794c5c4d3283466f388021181">More...</a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="group__rpmio.html#ga3f29a6d794c5c4d3283466f388021181">fdOpX_e</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#ga5d436f6099e3276accca4ff9fdcf1ce6">fdOpX</a></td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Identify per-desciptor I/O operation statistics. <a href="group__rpmio.html#ga5d436f6099e3276accca4ff9fdcf1ce6"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top">off_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#ga27c6332421e99f24d1105668529c9473">fdSize</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd)</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__rpmio.html#ga7fdbfe3ae72584240fb4c41364667ed6">fdDup</a> (int fdno)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">FILE * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#ga2ed1bbcc78358305056ea103b33bd9c7">fdGetFILE</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get associated FILE stream from fd (if any) <a href="group__rpmio.html#ga2ed1bbcc78358305056ea103b33bd9c7"></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__rpmio.html#gaf3173838b80ab64756c5a94385b9409e">fdLink</a> (void *cookie)</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__rpmio.html#ga7e6515faefba379d3c919c8cc6f0ee99">fdFree</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd)</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__rpmio.html#gae359e04b36003b4e77d16e7fe2b3eb45">fdNew</a> (void)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#gad5909f66b74d70009db3c817999de5a3">ufdCopy</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> sfd, <a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> tfd)</td></tr> +<tr><td class="memItemLeft" align="right" valign="top">ssize_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#ga87e011584403fbb8c061659ad8f1ef57">timedRead</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd, void *bufptr, size_t length)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">XXX the name is misleading, this is a legacy wrapper that ensures only S_ISREG() files are read, nothing to do with timed... <a href="group__rpmio.html#ga87e011584403fbb8c061659ad8f1ef57"></a><br/></td></tr> +<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structrpmop__s.html">rpmop</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__rpmio.html#gae710ec9673ba71c33d750db27e300c3e">fdOp</a> (<a class="el" href="group__rpmtypes.html#ga078f4187c683508f3147e94397bab8d5">FD_t</a> fd, <a class="el" href="group__rpmio.html#ga5d436f6099e3276accca4ff9fdcf1ce6">fdOpX</a> opx)</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="rpmio_8h_source.html">rpmio.h</a>.</p> +</div><hr/><h2>Typedef Documentation</h2> +<a class="anchor" id="aaf0c70bd553008b1a0f8c41f2f8702de"></a><!-- doxytag: member="rpmio.h::_libio_pos_t" ref="aaf0c70bd553008b1a0f8c41f2f8702de" args="" --> +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">typedef off_t <a class="el" href="rpmio_8h.html#aaf0c70bd553008b1a0f8c41f2f8702de">_libio_pos_t</a></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p>Definition at line <a class="el" href="rpmio_8h_source.html#l00035">35</a> of file <a class="el" href="rpmio_8h_source.html">rpmio.h</a>.</p> + +</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> |