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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
|
<!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.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PipeWire: pw_port_events 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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</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">PipeWire
 <span id="projectnumber">0.2.9</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<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('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structpw__port__events.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">pw_port_events Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Port events, use <a class="el" href="port_8c.html#aa50d4a012d26a1cb01b25f02390abb82">pw_port_add_listener</a>.
<a href="structpw__port__events.html#details">More...</a></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:ab9b6466b9ef1ed29b53c585e6d7d5885"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__port__events.html#ab9b6466b9ef1ed29b53c585e6d7d5885">version</a></td></tr>
<tr class="separator:ab9b6466b9ef1ed29b53c585e6d7d5885"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac25f071f63392c69328dfa829be044e3"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__port__events.html#ac25f071f63392c69328dfa829be044e3">destroy</a> )(void *<a class="el" href="structdata.html">data</a>)</td></tr>
<tr class="memdesc:ac25f071f63392c69328dfa829be044e3"><td class="mdescLeft"> </td><td class="mdescRight">The port is destroyed. <a href="#ac25f071f63392c69328dfa829be044e3">More...</a><br /></td></tr>
<tr class="separator:ac25f071f63392c69328dfa829be044e3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a757cc045456c8c2cdae36a8e787ac5d3"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__port__events.html#a757cc045456c8c2cdae36a8e787ac5d3">free</a> )(void *<a class="el" href="structdata.html">data</a>)</td></tr>
<tr class="memdesc:a757cc045456c8c2cdae36a8e787ac5d3"><td class="mdescLeft"> </td><td class="mdescRight">The port is freed. <a href="#a757cc045456c8c2cdae36a8e787ac5d3">More...</a><br /></td></tr>
<tr class="separator:a757cc045456c8c2cdae36a8e787ac5d3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afc2735d24e0eb220a56690973c9f626c"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__port__events.html#afc2735d24e0eb220a56690973c9f626c">info_changed</a> )(void *<a class="el" href="structdata.html">data</a>, const struct <a class="el" href="structpw__port__info.html">pw_port_info</a> *info)</td></tr>
<tr class="memdesc:afc2735d24e0eb220a56690973c9f626c"><td class="mdescLeft"> </td><td class="mdescRight">the port info changed <a href="#afc2735d24e0eb220a56690973c9f626c">More...</a><br /></td></tr>
<tr class="separator:afc2735d24e0eb220a56690973c9f626c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d93b05500a2b781e2c29b841b08ba30"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__port__events.html#a1d93b05500a2b781e2c29b841b08ba30">link_added</a> )(void *<a class="el" href="structdata.html">data</a>, struct <a class="el" href="classpw__link.html">pw_link</a> *link)</td></tr>
<tr class="memdesc:a1d93b05500a2b781e2c29b841b08ba30"><td class="mdescLeft"> </td><td class="mdescRight">a new link is added on this port <a href="#a1d93b05500a2b781e2c29b841b08ba30">More...</a><br /></td></tr>
<tr class="separator:a1d93b05500a2b781e2c29b841b08ba30"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0dcfa2b27d020b541a72315693e372fd"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__port__events.html#a0dcfa2b27d020b541a72315693e372fd">link_removed</a> )(void *<a class="el" href="structdata.html">data</a>, struct <a class="el" href="classpw__link.html">pw_link</a> *link)</td></tr>
<tr class="memdesc:a0dcfa2b27d020b541a72315693e372fd"><td class="mdescLeft"> </td><td class="mdescRight">a link is removed from this port <a href="#a0dcfa2b27d020b541a72315693e372fd">More...</a><br /></td></tr>
<tr class="separator:a0dcfa2b27d020b541a72315693e372fd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aafea670c82e6cf6c1a3d4c5e93d86e0a"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__port__events.html#aafea670c82e6cf6c1a3d4c5e93d86e0a">state_changed</a> )(void *<a class="el" href="structdata.html">data</a>, enum <a class="el" href="port_8h.html#adbdfd176064e149c49e7c4bbbdd1e3a6">pw_port_state</a> old, enum <a class="el" href="port_8h.html#adbdfd176064e149c49e7c4bbbdd1e3a6">pw_port_state</a> state, const char *error)</td></tr>
<tr class="memdesc:aafea670c82e6cf6c1a3d4c5e93d86e0a"><td class="mdescLeft"> </td><td class="mdescRight">the state of the port changed <a href="#aafea670c82e6cf6c1a3d4c5e93d86e0a">More...</a><br /></td></tr>
<tr class="separator:aafea670c82e6cf6c1a3d4c5e93d86e0a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad5a3e7eac86a39b78be8736cbad37d13"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__port__events.html#ad5a3e7eac86a39b78be8736cbad37d13">control_added</a> )(void *<a class="el" href="structdata.html">data</a>, struct <a class="el" href="classpw__control.html">pw_control</a> *<a class="el" href="structcontrol.html">control</a>)</td></tr>
<tr class="memdesc:ad5a3e7eac86a39b78be8736cbad37d13"><td class="mdescLeft"> </td><td class="mdescRight">a control was added to the port <a href="#ad5a3e7eac86a39b78be8736cbad37d13">More...</a><br /></td></tr>
<tr class="separator:ad5a3e7eac86a39b78be8736cbad37d13"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac6376ddcd1537b31549bfbe03b801574"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__port__events.html#ac6376ddcd1537b31549bfbe03b801574">control_removed</a> )(void *<a class="el" href="structdata.html">data</a>, struct <a class="el" href="classpw__control.html">pw_control</a> *<a class="el" href="structcontrol.html">control</a>)</td></tr>
<tr class="memdesc:ac6376ddcd1537b31549bfbe03b801574"><td class="mdescLeft"> </td><td class="mdescRight">a control was removed from the port <a href="#ac6376ddcd1537b31549bfbe03b801574">More...</a><br /></td></tr>
<tr class="separator:ac6376ddcd1537b31549bfbe03b801574"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Port events, use <a class="el" href="port_8c.html#aa50d4a012d26a1cb01b25f02390abb82">pw_port_add_listener</a>. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="ad5a3e7eac86a39b78be8736cbad37d13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5a3e7eac86a39b78be8736cbad37d13">◆ </a></span>control_added</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void(* pw_port_events::control_added) (void *<a class="el" href="structdata.html">data</a>, struct <a class="el" href="classpw__control.html">pw_control</a> *<a class="el" href="structcontrol.html">control</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>a control was added to the port </p>
</div>
</div>
<a id="ac6376ddcd1537b31549bfbe03b801574"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6376ddcd1537b31549bfbe03b801574">◆ </a></span>control_removed</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void(* pw_port_events::control_removed) (void *<a class="el" href="structdata.html">data</a>, struct <a class="el" href="classpw__control.html">pw_control</a> *<a class="el" href="structcontrol.html">control</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>a control was removed from the port </p>
</div>
</div>
<a id="ac25f071f63392c69328dfa829be044e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac25f071f63392c69328dfa829be044e3">◆ </a></span>destroy</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void(* pw_port_events::destroy) (void *<a class="el" href="structdata.html">data</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>The port is destroyed. </p>
</div>
</div>
<a id="a757cc045456c8c2cdae36a8e787ac5d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a757cc045456c8c2cdae36a8e787ac5d3">◆ </a></span>free</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void(* pw_port_events::free) (void *<a class="el" href="structdata.html">data</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p>The port is freed. </p>
</div>
</div>
<a id="afc2735d24e0eb220a56690973c9f626c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc2735d24e0eb220a56690973c9f626c">◆ </a></span>info_changed</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void(* pw_port_events::info_changed) (void *<a class="el" href="structdata.html">data</a>, const struct <a class="el" href="structpw__port__info.html">pw_port_info</a> *info)</td>
</tr>
</table>
</div><div class="memdoc">
<p>the port info changed </p>
</div>
</div>
<a id="a1d93b05500a2b781e2c29b841b08ba30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d93b05500a2b781e2c29b841b08ba30">◆ </a></span>link_added</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void(* pw_port_events::link_added) (void *<a class="el" href="structdata.html">data</a>, struct <a class="el" href="classpw__link.html">pw_link</a> *link)</td>
</tr>
</table>
</div><div class="memdoc">
<p>a new link is added on this port </p>
</div>
</div>
<a id="a0dcfa2b27d020b541a72315693e372fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0dcfa2b27d020b541a72315693e372fd">◆ </a></span>link_removed</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void(* pw_port_events::link_removed) (void *<a class="el" href="structdata.html">data</a>, struct <a class="el" href="classpw__link.html">pw_link</a> *link)</td>
</tr>
</table>
</div><div class="memdoc">
<p>a link is removed from this port </p>
</div>
</div>
<a id="aafea670c82e6cf6c1a3d4c5e93d86e0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafea670c82e6cf6c1a3d4c5e93d86e0a">◆ </a></span>state_changed</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void(* pw_port_events::state_changed) (void *<a class="el" href="structdata.html">data</a>, enum <a class="el" href="port_8h.html#adbdfd176064e149c49e7c4bbbdd1e3a6">pw_port_state</a> old, enum <a class="el" href="port_8h.html#adbdfd176064e149c49e7c4bbbdd1e3a6">pw_port_state</a> state, const char *error)</td>
</tr>
</table>
</div><div class="memdoc">
<p>the state of the port changed </p>
</div>
</div>
<a id="ab9b6466b9ef1ed29b53c585e6d7d5885"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9b6466b9ef1ed29b53c585e6d7d5885">◆ </a></span>version</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t pw_port_events::version</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="port_8h_source.html">port.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="structpw__port__events.html">pw_port_events</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
</div>
</body>
</html>
|