1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
<!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: rpmcallback.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">rpmcallback.h</div> </div>
</div>
<div class="contents">
<a href="rpmcallback_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 _RPMCALLBACK_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define _RPMCALLBACK_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include <rpm/rpmtypes.h></span>
<a name="l00005"></a>00005
<a name="l00006"></a>00006 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
<a name="l00008"></a>00008 <span class="preprocessor">#endif</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span>
<a name="l00013"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9c">00013</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9c" title="Bit(s) to identify progress callbacks.">rpmCallbackType_e</a> {
<a name="l00014"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9caadcbc93ec96759882c236e33744ed00e">00014</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9caadcbc93ec96759882c236e33744ed00e">RPMCALLBACK_UNKNOWN</a> = 0,
<a name="l00015"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca4026f3225612cd54a779e8b535cd33b0">00015</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca4026f3225612cd54a779e8b535cd33b0">RPMCALLBACK_INST_PROGRESS</a> = (1 << 0),
<a name="l00016"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca38099385a51f1d286f3988c48a9e011c">00016</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca38099385a51f1d286f3988c48a9e011c">RPMCALLBACK_INST_START</a> = (1 << 1),
<a name="l00017"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9cab8c07a03441546a21b73e42ccdd26eb7">00017</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9cab8c07a03441546a21b73e42ccdd26eb7">RPMCALLBACK_INST_OPEN_FILE</a> = (1 << 2),
<a name="l00018"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca4fccd8c351a712a4850db73b5050681c">00018</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca4fccd8c351a712a4850db73b5050681c">RPMCALLBACK_INST_CLOSE_FILE</a> = (1 << 3),
<a name="l00019"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9cac1eef7b830a181f64c61551bf1f5e8d9">00019</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9cac1eef7b830a181f64c61551bf1f5e8d9">RPMCALLBACK_TRANS_PROGRESS</a> = (1 << 4),
<a name="l00020"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca0b4ea5136785f8d8c8e8adbebaf9e942">00020</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca0b4ea5136785f8d8c8e8adbebaf9e942">RPMCALLBACK_TRANS_START</a> = (1 << 5),
<a name="l00021"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca6041cc5ab318af592c457df62dab6035">00021</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca6041cc5ab318af592c457df62dab6035">RPMCALLBACK_TRANS_STOP</a> = (1 << 6),
<a name="l00022"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca00e16e50b1e9ce0aa04166cd1024e4a9">00022</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca00e16e50b1e9ce0aa04166cd1024e4a9">RPMCALLBACK_UNINST_PROGRESS</a> = (1 << 7),
<a name="l00023"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca618773bdec54efaca4ea547139066202">00023</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca618773bdec54efaca4ea547139066202">RPMCALLBACK_UNINST_START</a> = (1 << 8),
<a name="l00024"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9caddda527f7338b5542375f09e38f0d240">00024</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9caddda527f7338b5542375f09e38f0d240">RPMCALLBACK_UNINST_STOP</a> = (1 << 9),
<a name="l00025"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9cad168602addb2454a26ae4be49e373982">00025</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9cad168602addb2454a26ae4be49e373982">RPMCALLBACK_REPACKAGE_PROGRESS</a> = (1 << 10), <span class="comment">/* obsolete, unused */</span>
<a name="l00026"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca64e6e829e36d21cb6776e76bdf63254d">00026</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca64e6e829e36d21cb6776e76bdf63254d">RPMCALLBACK_REPACKAGE_START</a> = (1 << 11), <span class="comment">/* obsolete, unused */</span>
<a name="l00027"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9cababe5ab9b9d51067cf11bb03ab37d40e">00027</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9cababe5ab9b9d51067cf11bb03ab37d40e">RPMCALLBACK_REPACKAGE_STOP</a> = (1 << 12), <span class="comment">/* obsolete, unused */</span>
<a name="l00028"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9cab46cb8c0f7b0322bc39a6e923b114c2b">00028</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9cab46cb8c0f7b0322bc39a6e923b114c2b">RPMCALLBACK_UNPACK_ERROR</a> = (1 << 13),
<a name="l00029"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca237249c1c79a6f22b5286ef74d2d1ebc">00029</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9ca237249c1c79a6f22b5286ef74d2d1ebc">RPMCALLBACK_CPIO_ERROR</a> = (1 << 14),
<a name="l00030"></a><a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9caa3592a49ef3361a79f1a91b56c26b07e">00030</a> <a class="code" href="rpmcallback_8h.html#a0b0bcfeb24a793c3aa0e84bb98539a9caa3592a49ef3361a79f1a91b56c26b07e">RPMCALLBACK_SCRIPT_ERROR</a> = (1 << 15)
<a name="l00031"></a>00031 } <a class="code" href="rpmcallback_8h.html#a4f8b1526f2292df6368fe2bbca7b763d" title="Bit(s) to identify progress callbacks.">rpmCallbackType</a>;
<a name="l00032"></a>00032
<a name="l00035"></a>00035 <span class="keyword">typedef</span> <span class="keywordtype">void</span> * (*rpmCallbackFunction)
<a name="l00036"></a><a class="code" href="rpmcallback_8h.html#af04912f3183ff1ed06de1e9c88c16920">00036</a> (<span class="keyword">const</span> <span class="keywordtype">void</span> * h,
<a name="l00037"></a>00037 <span class="keyword">const</span> <a class="code" href="rpmcallback_8h.html#a4f8b1526f2292df6368fe2bbca7b763d" title="Bit(s) to identify progress callbacks.">rpmCallbackType</a> what,
<a name="l00038"></a>00038 <span class="keyword">const</span> <a class="code" href="group__rpmtypes.html#gab9fe53f396a324ab4d4e07cad793f730">rpm_loff_t</a> amount,
<a name="l00039"></a>00039 <span class="keyword">const</span> <a class="code" href="group__rpmtypes.html#gab9fe53f396a324ab4d4e07cad793f730">rpm_loff_t</a> total,
<a name="l00040"></a>00040 <a class="code" href="group__rpmtypes.html#gae51d034b9e250fe42b0e420f254aa54f">fnpyKey</a> key,
<a name="l00041"></a>00041 <a class="code" href="group__rpmtypes.html#ga067882612b4f56c9edad5e9c4382ee3e">rpmCallbackData</a> data);
<a name="l00042"></a>00042
<a name="l00043"></a>00043 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span>}
<a name="l00045"></a>00045 <span class="preprocessor">#endif</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span>
<a name="l00047"></a>00047 <span class="preprocessor">#endif </span><span class="comment">/* _RPMCALLBACK_H */</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>
|