-
Notifications
You must be signed in to change notification settings - Fork 4
/
structevbuffer__ptr.html
110 lines (106 loc) · 5.55 KB
/
structevbuffer__ptr.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libevent: evbuffer_ptr Struct 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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.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! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">libevent
 <span id="projectnumber">2.2.1</span>
</div>
<div id="projectbrief">Event notification library</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">evbuffer_ptr Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Pointer to a position within an evbuffer.
<a href="structevbuffer__ptr.html#details">More...</a></p>
<p><code>#include <<a class="el" href="buffer_8h_source.html">buffer.h</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a1c590c5094e7890925286b6a65106791"><td class="memItemLeft" ><a id="a1c590c5094e7890925286b6a65106791"></a>
struct {</td></tr>
<tr class="memitem:a2bd74997a63a02d11d94b4fa621c79f6"><td class="memItemLeft" >
   void *   <b>chain</b></td></tr>
<tr class="separator:a2bd74997a63a02d11d94b4fa621c79f6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3c61ef4227e3521c260b6c9029b0b31b"><td class="memItemLeft" >
   size_t   <b>pos_in_chain</b></td></tr>
<tr class="separator:a3c61ef4227e3521c260b6c9029b0b31b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1c590c5094e7890925286b6a65106791"><td class="memItemLeft" valign="top">} </td><td class="memItemRight" valign="bottom"><b>internal_</b></td></tr>
<tr class="separator:a1c590c5094e7890925286b6a65106791"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad2312c70df899eed23d72d0f8d52ac53"><td class="memItemLeft" align="right" valign="top"><a id="ad2312c70df899eed23d72d0f8d52ac53"></a>
ev_ssize_t </td><td class="memItemRight" valign="bottom"><b>pos</b></td></tr>
<tr class="separator:ad2312c70df899eed23d72d0f8d52ac53"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Pointer to a position within an evbuffer. </p>
<p>Used when repeatedly searching through a buffer. Calling any function that modifies or re-packs the buffer contents may invalidate all evbuffer_ptrs for that buffer. Do not modify or construct these values except with evbuffer_ptr_set.</p>
<p>An <a class="el" href="structevbuffer__ptr.html" title="Pointer to a position within an evbuffer.">evbuffer_ptr</a> can represent any position from the start of a buffer up to a position immediately after the end of a buffer.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="buffer_8h.html#a22137a538067a8450d52af0e6601ca49" title="Sets the search pointer in the buffer to position.">evbuffer_ptr_set()</a> </dd></dl>
</div><hr/>The documentation for this struct was generated from the following file:<ul>
<li>event2/<a class="el" href="buffer_8h_source.html">buffer.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>