summaryrefslogtreecommitdiff
path: root/build/doc/html/structpw__link__events.html
blob: 68a7f15d74ff0ff64d2ac1411d29ec0aae87f352 (plain)
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
<!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_link_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&amp;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
   &#160;<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&amp;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&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structpw__link__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_link_events Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>link events added with <a class="el" href="link_8c.html#ae54f6a77ededfec0d0f358760635f16a">pw_link_add_listener</a>  
 <a href="structpw__link__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:a36fd833d967b2b648424449197eb95c5"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__link__events.html#a36fd833d967b2b648424449197eb95c5">version</a></td></tr>
<tr class="separator:a36fd833d967b2b648424449197eb95c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4415de071c495adbcb0230768f25fa45"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__link__events.html#a4415de071c495adbcb0230768f25fa45">destroy</a> )(void *<a class="el" href="structdata.html">data</a>)</td></tr>
<tr class="memdesc:a4415de071c495adbcb0230768f25fa45"><td class="mdescLeft">&#160;</td><td class="mdescRight">A link is destroyed.  <a href="#a4415de071c495adbcb0230768f25fa45">More...</a><br /></td></tr>
<tr class="separator:a4415de071c495adbcb0230768f25fa45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab03b3479970124a48ef8b17844847821"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__link__events.html#ab03b3479970124a48ef8b17844847821">free</a> )(void *<a class="el" href="structdata.html">data</a>)</td></tr>
<tr class="memdesc:ab03b3479970124a48ef8b17844847821"><td class="mdescLeft">&#160;</td><td class="mdescRight">A link is freed.  <a href="#ab03b3479970124a48ef8b17844847821">More...</a><br /></td></tr>
<tr class="separator:ab03b3479970124a48ef8b17844847821"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5257b8703e638b33abcdc5e2e87bc610"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__link__events.html#a5257b8703e638b33abcdc5e2e87bc610">info_changed</a> )(void *<a class="el" href="structdata.html">data</a>, const struct <a class="el" href="structpw__link__info.html">pw_link_info</a> *info)</td></tr>
<tr class="memdesc:a5257b8703e638b33abcdc5e2e87bc610"><td class="mdescLeft">&#160;</td><td class="mdescRight">The info changed on a link.  <a href="#a5257b8703e638b33abcdc5e2e87bc610">More...</a><br /></td></tr>
<tr class="separator:a5257b8703e638b33abcdc5e2e87bc610"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52d92d888e2cb3e91012fd081b69839b"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__link__events.html#a52d92d888e2cb3e91012fd081b69839b">state_changed</a> )(void *<a class="el" href="structdata.html">data</a>, enum <a class="el" href="introspect_8h.html#a7859f6eb040fead1673d0214b83b445b">pw_link_state</a> old, enum <a class="el" href="introspect_8h.html#a7859f6eb040fead1673d0214b83b445b">pw_link_state</a> state, const char *error)</td></tr>
<tr class="memdesc:a52d92d888e2cb3e91012fd081b69839b"><td class="mdescLeft">&#160;</td><td class="mdescRight">The link state changed, <em>error</em> is only valid when the state is in error.  <a href="#a52d92d888e2cb3e91012fd081b69839b">More...</a><br /></td></tr>
<tr class="separator:a52d92d888e2cb3e91012fd081b69839b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63d90daeb83505b7626b341b72a27be4"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__link__events.html#a63d90daeb83505b7626b341b72a27be4">port_unlinked</a> )(void *<a class="el" href="structdata.html">data</a>, struct <a class="el" href="classpw__port.html">pw_port</a> *port)</td></tr>
<tr class="memdesc:a63d90daeb83505b7626b341b72a27be4"><td class="mdescLeft">&#160;</td><td class="mdescRight">A port is unlinked.  <a href="#a63d90daeb83505b7626b341b72a27be4">More...</a><br /></td></tr>
<tr class="separator:a63d90daeb83505b7626b341b72a27be4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>link events added with <a class="el" href="link_8c.html#ae54f6a77ededfec0d0f358760635f16a">pw_link_add_listener</a> </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a4415de071c495adbcb0230768f25fa45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4415de071c495adbcb0230768f25fa45">&#9670;&nbsp;</a></span>destroy</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* pw_link_events::destroy) (void *<a class="el" href="structdata.html">data</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A link is destroyed. </p>

</div>
</div>
<a id="ab03b3479970124a48ef8b17844847821"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab03b3479970124a48ef8b17844847821">&#9670;&nbsp;</a></span>free</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* pw_link_events::free) (void *<a class="el" href="structdata.html">data</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A link is freed. </p>

</div>
</div>
<a id="a5257b8703e638b33abcdc5e2e87bc610"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5257b8703e638b33abcdc5e2e87bc610">&#9670;&nbsp;</a></span>info_changed</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* pw_link_events::info_changed) (void *<a class="el" href="structdata.html">data</a>, const struct <a class="el" href="structpw__link__info.html">pw_link_info</a> *info)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The info changed on a link. </p>

</div>
</div>
<a id="a63d90daeb83505b7626b341b72a27be4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63d90daeb83505b7626b341b72a27be4">&#9670;&nbsp;</a></span>port_unlinked</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* pw_link_events::port_unlinked) (void *<a class="el" href="structdata.html">data</a>, struct <a class="el" href="classpw__port.html">pw_port</a> *port)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A port is unlinked. </p>

</div>
</div>
<a id="a52d92d888e2cb3e91012fd081b69839b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52d92d888e2cb3e91012fd081b69839b">&#9670;&nbsp;</a></span>state_changed</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* pw_link_events::state_changed) (void *<a class="el" href="structdata.html">data</a>, enum <a class="el" href="introspect_8h.html#a7859f6eb040fead1673d0214b83b445b">pw_link_state</a> old, enum <a class="el" href="introspect_8h.html#a7859f6eb040fead1673d0214b83b445b">pw_link_state</a> state, const char *error)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The link state changed, <em>error</em> is only valid when the state is in error. </p>

</div>
</div>
<a id="a36fd833d967b2b648424449197eb95c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36fd833d967b2b648424449197eb95c5">&#9670;&nbsp;</a></span>version</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t pw_link_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="link_8h_source.html">link.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__link__events.html">pw_link_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>