-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathemit_8h.html
246 lines (228 loc) · 11.8 KB
/
emit_8h.html
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!-- HTML header for doxygen 1.8.10-->
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<title>librsync: emit.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<!-- ad -->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- librsync -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-3547096055927362"
data-ad-slot="8322976738"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">librsync
 <span id="projectnumber">2.3.4</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',false,false,'search.php','Search');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">emit.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<p>encoding output routines.
<a href="#details">More...</a></p>
<div class="textblock"><div class="dynheader">
Include dependency graph for emit.h:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="emit_8h__incl.svg" width="422" height="187"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="emit_8h__dep__incl.svg" width="166" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
</div>
<p><a href="emit_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a433db28a03937eff26179bdf6bd50ef4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="emit_8h.html#a433db28a03937eff26179bdf6bd50ef4">rs_emit_delta_header</a> (<a class="el" href="librsync_8h.html#add6622b38e3fa557301a190876d5ed4a">rs_job_t</a> *)</td></tr>
<tr class="memdesc:a433db28a03937eff26179bdf6bd50ef4"><td class="mdescLeft"> </td><td class="mdescRight">Write the magic for the start of a delta. <a href="emit_8h.html#a433db28a03937eff26179bdf6bd50ef4">More...</a><br /></td></tr>
<tr class="separator:a433db28a03937eff26179bdf6bd50ef4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af2d201807d83474fa26a6b948864bbaf"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="emit_8h.html#af2d201807d83474fa26a6b948864bbaf">rs_emit_literal_cmd</a> (<a class="el" href="librsync_8h.html#add6622b38e3fa557301a190876d5ed4a">rs_job_t</a> *, int len)</td></tr>
<tr class="memdesc:af2d201807d83474fa26a6b948864bbaf"><td class="mdescLeft"> </td><td class="mdescRight">Write a LITERAL command. <a href="emit_8h.html#af2d201807d83474fa26a6b948864bbaf">More...</a><br /></td></tr>
<tr class="separator:af2d201807d83474fa26a6b948864bbaf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa71d2f81497b735136c734bfa08f9c39"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="emit_8h.html#aa71d2f81497b735136c734bfa08f9c39">rs_emit_copy_cmd</a> (<a class="el" href="librsync_8h.html#add6622b38e3fa557301a190876d5ed4a">rs_job_t</a> *job, rs_long_t where, rs_long_t len)</td></tr>
<tr class="memdesc:aa71d2f81497b735136c734bfa08f9c39"><td class="mdescLeft"> </td><td class="mdescRight">Write a COPY command for given offset and length. <a href="emit_8h.html#aa71d2f81497b735136c734bfa08f9c39">More...</a><br /></td></tr>
<tr class="separator:aa71d2f81497b735136c734bfa08f9c39"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac985ddc29525e655018bed59c4886ca8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="emit_8h.html#ac985ddc29525e655018bed59c4886ca8">rs_emit_end_cmd</a> (<a class="el" href="librsync_8h.html#add6622b38e3fa557301a190876d5ed4a">rs_job_t</a> *)</td></tr>
<tr class="memdesc:ac985ddc29525e655018bed59c4886ca8"><td class="mdescLeft"> </td><td class="mdescRight">Write an END command. <a href="emit_8h.html#ac985ddc29525e655018bed59c4886ca8">More...</a><br /></td></tr>
<tr class="separator:ac985ddc29525e655018bed59c4886ca8"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >encoding output routines. </p>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000003">Todo:</a></b></dt><dd>Pluggable encoding formats: gdiff-style, rsync 24, ed (text), Delta HTTP. </dd></dl>
<p class="definition">Definition in file <a class="el" href="emit_8h_source.html">emit.h</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a433db28a03937eff26179bdf6bd50ef4" name="a433db28a03937eff26179bdf6bd50ef4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a433db28a03937eff26179bdf6bd50ef4">◆ </a></span>rs_emit_delta_header()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void rs_emit_delta_header </td>
<td>(</td>
<td class="paramtype"><a class="el" href="librsync_8h.html#add6622b38e3fa557301a190876d5ed4a">rs_job_t</a> * </td>
<td class="paramname"><em>job</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Write the magic for the start of a delta. </p>
<p class="definition">Definition at line <a class="el" href="emit_8c_source.html#l00031">31</a> of file <a class="el" href="emit_8c_source.html">emit.c</a>.</p>
</div>
</div>
<a id="af2d201807d83474fa26a6b948864bbaf" name="af2d201807d83474fa26a6b948864bbaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2d201807d83474fa26a6b948864bbaf">◆ </a></span>rs_emit_literal_cmd()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void rs_emit_literal_cmd </td>
<td>(</td>
<td class="paramtype"><a class="el" href="librsync_8h.html#add6622b38e3fa557301a190876d5ed4a">rs_job_t</a> * </td>
<td class="paramname"><em>job</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>len</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Write a LITERAL command. </p>
<p class="definition">Definition at line <a class="el" href="emit_8c_source.html#l00037">37</a> of file <a class="el" href="emit_8c_source.html">emit.c</a>.</p>
</div>
</div>
<a id="aa71d2f81497b735136c734bfa08f9c39" name="aa71d2f81497b735136c734bfa08f9c39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa71d2f81497b735136c734bfa08f9c39">◆ </a></span>rs_emit_copy_cmd()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void rs_emit_copy_cmd </td>
<td>(</td>
<td class="paramtype"><a class="el" href="librsync_8h.html#add6622b38e3fa557301a190876d5ed4a">rs_job_t</a> * </td>
<td class="paramname"><em>job</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">rs_long_t </td>
<td class="paramname"><em>where</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">rs_long_t </td>
<td class="paramname"><em>len</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Write a COPY command for given offset and length. </p>
<p >There is a choice of variable-length encodings, depending on the size of representation for the parameters. </p>
<p class="definition">Definition at line <a class="el" href="emit_8c_source.html#l00066">66</a> of file <a class="el" href="emit_8c_source.html">emit.c</a>.</p>
</div>
</div>
<a id="ac985ddc29525e655018bed59c4886ca8" name="ac985ddc29525e655018bed59c4886ca8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac985ddc29525e655018bed59c4886ca8">◆ </a></span>rs_emit_end_cmd()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void rs_emit_end_cmd </td>
<td>(</td>
<td class="paramtype"><a class="el" href="librsync_8h.html#add6622b38e3fa557301a190876d5ed4a">rs_job_t</a> * </td>
<td class="paramname"><em>job</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Write an END command. </p>
<p class="definition">Definition at line <a class="el" href="emit_8c_source.html#l00105">105</a> of file <a class="el" href="emit_8c_source.html">emit.c</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.10-->
<!-- start footer part -->
<!-- ad -->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- librsync -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-3547096055927362"
data-ad-slot="8322976738"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-71109100-1', 'auto');
ga('send', 'pageview');
</script>
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 19 2023 16:26:50 for librsync by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.9.4
</small></address>
</body>
</html>