summaryrefslogtreecommitdiff
path: root/build/doc/html/node_8h_source.html
blob: 6415141aa0d1383ca097e5fb107b2f9a3809a4bd (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
<!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: node.h Source File</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('node_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">node.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="node_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* PipeWire</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright © 2018 Wim Taymans</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * copy of this software and associated documentation files (the &quot;Software&quot;),</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * to deal in the Software without restriction, including without limitation</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * the rights to use, copy, modify, merge, publish, distribute, sublicense,</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * and/or sell copies of the Software, and to permit persons to whom the</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * Software is furnished to do so, subject to the following conditions:</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * The above copyright notice and this permission notice (including the next</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * paragraph) shall be included in all copies or substantial portions of the</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * Software.</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * DEALINGS IN THE SOFTWARE.</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#ifndef PIPEWIRE_NODE_H</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#define PIPEWIRE_NODE_H</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">struct </span><a class="code" href="classpw__node.html">pw_node</a>;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#include &lt;spa/node/event.h&gt;</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="core_8h.html">pipewire/core.h</a>&gt;</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="global_8h.html">pipewire/global.h</a>&gt;</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="introspect_8h.html">pipewire/introspect.h</a>&gt;</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="port_8h.html">pipewire/port.h</a>&gt;</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="resource_8h.html">pipewire/resource.h</a>&gt;</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structpw__node__events.html">   55</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structpw__node__events.html">pw_node_events</a> {</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="node_8h.html#a593a4f2610442e1956052f5c13de02f2">   56</a></span>&#160;<span class="preprocessor">#define PW_VERSION_NODE_EVENTS  0</span></div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structpw__node__events.html#a37faf21db57a7e95999db521fb1cbcab">   57</a></span>&#160;        uint32_t <a class="code" href="structpw__node__events.html#a37faf21db57a7e95999db521fb1cbcab">version</a>;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structpw__node__events.html#a5d803d186e1da8dc06cfe62418286d6d">   60</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#a5d803d186e1da8dc06cfe62418286d6d">destroy</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>);</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structpw__node__events.html#aae1fa59095c854903aeb92620b6c7fce">   62</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#aae1fa59095c854903aeb92620b6c7fce">free</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>);</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structpw__node__events.html#a262580b630f298b77b491eea272a3a8f">   64</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#a262580b630f298b77b491eea272a3a8f">initialized</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structpw__node__events.html#a7314a3a5ff29a5a49db433ba50c0e700">   67</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#a7314a3a5ff29a5a49db433ba50c0e700">port_init</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keyword">struct </span><a class="code" href="classpw__port.html">pw_port</a> *port);</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="structpw__node__events.html#a2d5626f4acca69cf8b95c8a94bb3ef9f">   69</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#a2d5626f4acca69cf8b95c8a94bb3ef9f">port_added</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keyword">struct </span><a class="code" href="classpw__port.html">pw_port</a> *port);</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="structpw__node__events.html#a34c1fd60aa00621e97f1e3c131f90fe8">   71</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#a34c1fd60aa00621e97f1e3c131f90fe8">port_removed</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keyword">struct </span><a class="code" href="classpw__port.html">pw_port</a> *port);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="structpw__node__events.html#acf451c8f69281a0a85fcf7c9890a5cf6">   74</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#acf451c8f69281a0a85fcf7c9890a5cf6">info_changed</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structpw__node__info.html">pw_node_info</a> *info);</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="structpw__node__events.html#abd23170b91eea75e00d35ddf43bbc823">   76</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#abd23170b91eea75e00d35ddf43bbc823">port_info_changed</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keyword">struct </span><a class="code" href="classpw__port.html">pw_port</a> *port,</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;                        <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structpw__port__info.html">pw_port_info</a> *info);</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="structpw__node__events.html#a4e00778d17016f2840ca0ac0e1b118b9">   79</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#a4e00778d17016f2840ca0ac0e1b118b9">active_changed</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keywordtype">bool</span> active);</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="structpw__node__events.html#ad3c773e042a49ab3d4e4066e5ed515ba">   82</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#ad3c773e042a49ab3d4e4066e5ed515ba">state_request</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keyword">enum</span> <a class="code" href="introspect_8h.html#ac493839c0b0a1d0b935969f2e990a2df">pw_node_state</a> state);</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="structpw__node__events.html#a564ce5d0faa75fa7b14ec6baa43c7daa">   84</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#a564ce5d0faa75fa7b14ec6baa43c7daa">state_changed</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keyword">enum</span> <a class="code" href="introspect_8h.html#ac493839c0b0a1d0b935969f2e990a2df">pw_node_state</a> old,</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;                               <span class="keyword">enum</span> <a class="code" href="introspect_8h.html#ac493839c0b0a1d0b935969f2e990a2df">pw_node_state</a> state, <span class="keyword">const</span> <span class="keywordtype">char</span> *error);</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="structpw__node__events.html#a34a6524370a9087ec5bbbd90202bf1e4">   88</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#a34a6524370a9087ec5bbbd90202bf1e4">result</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keywordtype">int</span> seq, <span class="keywordtype">int</span> res, uint32_t type, <span class="keyword">const</span> <span class="keywordtype">void</span> *<a class="code" href="structpw__node__events.html#a34a6524370a9087ec5bbbd90202bf1e4">result</a>);</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="structpw__node__events.html#a2fafc0e08957794d7751cbeff8b976cd">   91</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#a2fafc0e08957794d7751cbeff8b976cd">event</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keyword">const</span> <span class="keyword">struct </span>spa_event *<a class="code" href="structpw__node__events.html#a2fafc0e08957794d7751cbeff8b976cd">event</a>);</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="structpw__node__events.html#a101574ffa1d3f508f7e90e7d8de2ab35">   94</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#a101574ffa1d3f508f7e90e7d8de2ab35">driver_changed</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keyword">struct </span><a class="code" href="classpw__node.html">pw_node</a> *old, <span class="keyword">struct </span><a class="code" href="classpw__node.html">pw_node</a> *driver);</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="structpw__node__events.html#a2a0c2a81b5998253eeb1f3bfe05b57e0">   97</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#a2a0c2a81b5998253eeb1f3bfe05b57e0">peer_added</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keyword">struct </span><a class="code" href="classpw__node.html">pw_node</a> *peer);</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structpw__node__events.html#a6ea6d7fb9248754549182bed2c770fb1">   99</a></span>&#160;        void (*<a class="code" href="structpw__node__events.html#a6ea6d7fb9248754549182bed2c770fb1">peer_removed</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keyword">struct </span><a class="code" href="classpw__node.html">pw_node</a> *peer);</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;};</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="keyword">struct </span><a class="code" href="classpw__node.html">pw_node</a> *</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<a class="code" href="classpw__node.html#ae65ce8c47bb46b01f3f8f62691e840ef">pw_node_new</a>(<span class="keyword">struct</span> <a class="code" href="classpw__core.html">pw_core</a> *core,               </div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">char</span> *name,                   </div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;            <span class="keyword">struct</span> <a class="code" href="structpw__properties.html">pw_properties</a> *properties,   </div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;            <span class="keywordtype">size_t</span> user_data_size               );</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="keywordtype">int</span> <a class="code" href="node_8h.html#a36b815abe57af30ae54a94dbd59bbb20">pw_node_register</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node,              </div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;                     <span class="keyword">struct</span> <a class="code" href="classpw__client.html">pw_client</a> *owner,           </div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;                     <span class="keyword">struct</span> <a class="code" href="classpw__global.html">pw_global</a> *parent,          </div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;                     <span class="keyword">struct</span> <a class="code" href="structpw__properties.html">pw_properties</a> *properties   );</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="keywordtype">void</span> <a class="code" href="classpw__node.html#a797514cde71af23b5a27744d951ca83a">pw_node_destroy</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node);</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structpw__node__info.html">pw_node_info</a> *<a class="code" href="node_8h.html#acb7e0557ec2c7c95a18757dad387dd7c">pw_node_get_info</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node);</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="keywordtype">void</span> * <a class="code" href="node_8h.html#a13e057acc81dae7a8deb71a65ef326fb">pw_node_get_user_data</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node);</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="keyword">struct </span><a class="code" href="classpw__core.html">pw_core</a> *<a class="code" href="node_8h.html#aae589dae6a27dd5f2235d7108e3e8d9c">pw_node_get_core</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node);</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="keyword">struct </span><a class="code" href="classpw__global.html">pw_global</a> *<a class="code" href="node_8h.html#abf5963060e24f9a496b6941a45f78bf1">pw_node_get_global</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node);</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structpw__properties.html">pw_properties</a> *<a class="code" href="node_8h.html#a898e5e0afefe00d5154c9c1c64f84c53">pw_node_get_properties</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node);</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="keywordtype">int</span> <a class="code" href="node_8h.html#a01db9fe936ffca5e133a4f7acb699ca1">pw_node_update_properties</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node, <span class="keyword">const</span> <span class="keyword">struct</span> spa_dict *<a class="code" href="structpw__properties.html#a70aa5816bde60f5511f2308971794881">dict</a>);</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="keywordtype">int</span> <a class="code" href="node_8h.html#ab344cb1e6baabcaef981d1b88445b79c">pw_node_set_implementation</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node, <span class="keyword">struct</span> spa_node *spa_node);</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="keyword">struct </span>spa_node *<a class="code" href="node_8h.html#a43aca89a30f2cced48262819114baeb5">pw_node_get_implementation</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node);</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="keywordtype">void</span> <a class="code" href="node_8h.html#a2bb3fca14d3b5749df798bc517b02ae8">pw_node_add_listener</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node,</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;                          <span class="keyword">struct</span> spa_hook *listener,</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;                          <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structpw__node__events.html">pw_node_events</a> *events,</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;                          <span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>);</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="keywordtype">int</span> <a class="code" href="node_8h.html#aa54a8f52d35bd9521ceb32dc7e950a85">pw_node_for_each_port</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node,</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;                          <span class="keyword">enum</span> <a class="code" href="introspect_8h.html#a6e9e847059d68cbdb608abc8eb6b631d">pw_direction</a> direction,</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;                          <span class="keywordtype">int</span> (*callback) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keyword">struct</span> <a class="code" href="classpw__port.html">pw_port</a> *port),</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;                          <span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>);</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="keywordtype">int</span> <a class="code" href="node_8h.html#adcf080ee0ada41c7d61cbc6b82e68c2c">pw_node_for_each_param</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node,</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;                           <span class="keywordtype">int</span> seq, uint32_t param_id,</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;                           uint32_t index, uint32_t max,</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;                           <span class="keyword">const</span> <span class="keyword">struct</span> spa_pod *filter,</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;                           <span class="keywordtype">int</span> (*callback) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>, <span class="keywordtype">int</span> seq,</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;                                            uint32_t <span class="keywordtype">id</span>, uint32_t index, uint32_t next,</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;                                            <span class="keyword">struct</span> spa_pod *<a class="code" href="structparam.html">param</a>),</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;                           <span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>);</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="keyword">struct </span><a class="code" href="classpw__port.html">pw_port</a> *</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<a class="code" href="node_8h.html#ae457b2a0a17339a0ea724fb7248792d3">pw_node_find_port</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node, <span class="keyword">enum</span> <a class="code" href="introspect_8h.html#a6e9e847059d68cbdb608abc8eb6b631d">pw_direction</a> direction, uint32_t port_id);</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;uint32_t <a class="code" href="node_8h.html#ae040b5eb03ad653e474e1ef547adeeed">pw_node_get_free_port_id</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node, <span class="keyword">enum</span> <a class="code" href="introspect_8h.html#a6e9e847059d68cbdb608abc8eb6b631d">pw_direction</a> direction);</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="keywordtype">int</span> <a class="code" href="node_8h.html#a2502272c5765d1f2dab5afd890c05f62">pw_node_set_active</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node, <span class="keywordtype">bool</span> active);</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="node_8h.html#ae8556f1a5560c142b586096ad32844b5">pw_node_is_active</a>(<span class="keyword">struct</span> <a class="code" href="classpw__node.html">pw_node</a> *node);</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;}</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* PIPEWIRE_NODE_H */</span><span class="preprocessor"></span></div><div class="ttc" id="node_8h_html_ab344cb1e6baabcaef981d1b88445b79c"><div class="ttname"><a href="node_8h.html#ab344cb1e6baabcaef981d1b88445b79c">pw_node_set_implementation</a></div><div class="ttdeci">int pw_node_set_implementation(struct pw_node *node, struct spa_node *spa_node)</div><div class="ttdoc">Set the node implementation.</div><div class="ttdef"><b>Definition:</b> node.c:1180</div></div>
<div class="ttc" id="structpw__properties_html"><div class="ttname"><a href="structpw__properties.html">pw_properties</a></div><div class="ttdoc">A collection of key/value pairs.</div><div class="ttdef"><b>Definition:</b> properties.h:43</div></div>
<div class="ttc" id="structpw__node__events_html_ad3c773e042a49ab3d4e4066e5ed515ba"><div class="ttname"><a href="structpw__node__events.html#ad3c773e042a49ab3d4e4066e5ed515ba">pw_node_events::state_request</a></div><div class="ttdeci">void(* state_request)(void *data, enum pw_node_state state)</div><div class="ttdoc">a new state is requested on the node</div><div class="ttdef"><b>Definition:</b> node.h:82</div></div>
<div class="ttc" id="structpw__node__events_html_a34c1fd60aa00621e97f1e3c131f90fe8"><div class="ttname"><a href="structpw__node__events.html#a34c1fd60aa00621e97f1e3c131f90fe8">pw_node_events::port_removed</a></div><div class="ttdeci">void(* port_removed)(void *data, struct pw_port *port)</div><div class="ttdoc">a port was removed</div><div class="ttdef"><b>Definition:</b> node.h:71</div></div>
<div class="ttc" id="classpw__node_html_ae65ce8c47bb46b01f3f8f62691e840ef"><div class="ttname"><a href="classpw__node.html#ae65ce8c47bb46b01f3f8f62691e840ef">pw_node::pw_node_new</a></div><div class="ttdeci">struct pw_node * pw_node_new(struct pw_core *core, const char *name, struct pw_properties *properties, size_t user_data_size)</div><div class="ttdoc">Create a new node.</div><div class="ttdef"><b>Definition:</b> node.c:838</div></div>
<div class="ttc" id="node_8h_html_a2502272c5765d1f2dab5afd890c05f62"><div class="ttname"><a href="node_8h.html#a2502272c5765d1f2dab5afd890c05f62">pw_node_set_active</a></div><div class="ttdeci">int pw_node_set_active(struct pw_node *node, bool active)</div><div class="ttdoc">Set a node active.</div><div class="ttdef"><b>Definition:</b> node.c:1559</div></div>
<div class="ttc" id="node_8h_html_ae457b2a0a17339a0ea724fb7248792d3"><div class="ttname"><a href="node_8h.html#ae457b2a0a17339a0ea724fb7248792d3">pw_node_find_port</a></div><div class="ttdeci">struct pw_port * pw_node_find_port(struct pw_node *node, enum pw_direction direction, uint32_t port_id)</div><div class="ttdoc">Find the port with direction and port_id or NULL when not found.</div><div class="ttdef"><b>Definition:</b> node.c:1390</div></div>
<div class="ttc" id="introspect_8h_html_ac493839c0b0a1d0b935969f2e990a2df"><div class="ttname"><a href="introspect_8h.html#ac493839c0b0a1d0b935969f2e990a2df">pw_node_state</a></div><div class="ttdeci">pw_node_state</div><div class="ttdoc">The different node states.</div><div class="ttdef"><b>Definition:</b> introspect.h:38</div></div>
<div class="ttc" id="node_8h_html_a36b815abe57af30ae54a94dbd59bbb20"><div class="ttname"><a href="node_8h.html#a36b815abe57af30ae54a94dbd59bbb20">pw_node_register</a></div><div class="ttdeci">int pw_node_register(struct pw_node *node, struct pw_client *owner, struct pw_global *parent, struct pw_properties *properties)</div><div class="ttdoc">Complete initialization of the node and register.</div><div class="ttdef"><b>Definition:</b> node.c:540</div></div>
<div class="ttc" id="node_8h_html_ae8556f1a5560c142b586096ad32844b5"><div class="ttname"><a href="node_8h.html#ae8556f1a5560c142b586096ad32844b5">pw_node_is_active</a></div><div class="ttdeci">bool pw_node_is_active(struct pw_node *node)</div><div class="ttdoc">Check if a node is active.</div><div class="ttdef"><b>Definition:</b> node.c:1581</div></div>
<div class="ttc" id="introspect_8h_html"><div class="ttname"><a href="introspect_8h.html">introspect.h</a></div></div>
<div class="ttc" id="structpw__properties_html_a70aa5816bde60f5511f2308971794881"><div class="ttname"><a href="structpw__properties.html#a70aa5816bde60f5511f2308971794881">pw_properties::dict</a></div><div class="ttdeci">struct spa_dict dict</div><div class="ttdoc">dictionary of key/values</div><div class="ttdef"><b>Definition:</b> properties.h:44</div></div>
<div class="ttc" id="node_8h_html_a13e057acc81dae7a8deb71a65ef326fb"><div class="ttname"><a href="node_8h.html#a13e057acc81dae7a8deb71a65ef326fb">pw_node_get_user_data</a></div><div class="ttdeci">void * pw_node_get_user_data(struct pw_node *node)</div><div class="ttdoc">Get node user_data.</div><div class="ttdef"><b>Definition:</b> node.c:966</div></div>
<div class="ttc" id="structpw__node__events_html_abd23170b91eea75e00d35ddf43bbc823"><div class="ttname"><a href="structpw__node__events.html#abd23170b91eea75e00d35ddf43bbc823">pw_node_events::port_info_changed</a></div><div class="ttdeci">void(* port_info_changed)(void *data, struct pw_port *port, const struct pw_port_info *info)</div><div class="ttdoc">a port on the node changed info</div><div class="ttdef"><b>Definition:</b> node.h:76</div></div>
<div class="ttc" id="core_8h_html"><div class="ttname"><a href="core_8h.html">core.h</a></div></div>
<div class="ttc" id="classpw__core_html"><div class="ttname"><a href="classpw__core.html">pw_core</a></div><div class="ttdoc">the core PipeWire object</div></div>
<div class="ttc" id="structpw__port__info_html"><div class="ttname"><a href="structpw__port__info.html">pw_port_info</a></div><div class="ttdef"><b>Definition:</b> introspect.h:196</div></div>
<div class="ttc" id="node_8h_html_adcf080ee0ada41c7d61cbc6b82e68c2c"><div class="ttname"><a href="node_8h.html#adcf080ee0ada41c7d61cbc6b82e68c2c">pw_node_for_each_param</a></div><div class="ttdeci">int pw_node_for_each_param(struct pw_node *node, int seq, uint32_t param_id, uint32_t index, uint32_t max, const struct spa_pod *filter, int(*callback)(void *data, int seq, uint32_t id, uint32_t index, uint32_t next, struct spa_pod *param), void *data)</div><div class="ttdef"><b>Definition:</b> node.c:1354</div></div>
<div class="ttc" id="global_8h_html"><div class="ttname"><a href="global_8h.html">global.h</a></div></div>
<div class="ttc" id="structpw__node__events_html_a7314a3a5ff29a5a49db433ba50c0e700"><div class="ttname"><a href="structpw__node__events.html#a7314a3a5ff29a5a49db433ba50c0e700">pw_node_events::port_init</a></div><div class="ttdeci">void(* port_init)(void *data, struct pw_port *port)</div><div class="ttdoc">a port is being initialized on the node</div><div class="ttdef"><b>Definition:</b> node.h:67</div></div>
<div class="ttc" id="structpw__node__events_html_a262580b630f298b77b491eea272a3a8f"><div class="ttname"><a href="structpw__node__events.html#a262580b630f298b77b491eea272a3a8f">pw_node_events::initialized</a></div><div class="ttdeci">void(* initialized)(void *data)</div><div class="ttdoc">the node is initialized</div><div class="ttdef"><b>Definition:</b> node.h:64</div></div>
<div class="ttc" id="structpw__node__events_html_a2fafc0e08957794d7751cbeff8b976cd"><div class="ttname"><a href="structpw__node__events.html#a2fafc0e08957794d7751cbeff8b976cd">pw_node_events::event</a></div><div class="ttdeci">void(* event)(void *data, const struct spa_event *event)</div><div class="ttdoc">an event is emited</div><div class="ttdef"><b>Definition:</b> node.h:91</div></div>
<div class="ttc" id="node_8h_html_a01db9fe936ffca5e133a4f7acb699ca1"><div class="ttname"><a href="node_8h.html#a01db9fe936ffca5e133a4f7acb699ca1">pw_node_update_properties</a></div><div class="ttdeci">int pw_node_update_properties(struct pw_node *node, const struct spa_dict *dict)</div><div class="ttdoc">Update the node properties.</div><div class="ttdef"><b>Definition:</b> node.c:1006</div></div>
<div class="ttc" id="structpw__node__events_html_a4e00778d17016f2840ca0ac0e1b118b9"><div class="ttname"><a href="structpw__node__events.html#a4e00778d17016f2840ca0ac0e1b118b9">pw_node_events::active_changed</a></div><div class="ttdeci">void(* active_changed)(void *data, bool active)</div><div class="ttdoc">the node active state changed</div><div class="ttdef"><b>Definition:</b> node.h:79</div></div>
<div class="ttc" id="node_8h_html_ae040b5eb03ad653e474e1ef547adeeed"><div class="ttname"><a href="node_8h.html#ae040b5eb03ad653e474e1ef547adeeed">pw_node_get_free_port_id</a></div><div class="ttdeci">uint32_t pw_node_get_free_port_id(struct pw_node *node, enum pw_direction direction)</div><div class="ttdoc">Get a free unused port_id from the node.</div><div class="ttdef"><b>Definition:</b> node.c:1425</div></div>
<div class="ttc" id="node_8h_html_aae589dae6a27dd5f2235d7108e3e8d9c"><div class="ttname"><a href="node_8h.html#aae589dae6a27dd5f2235d7108e3e8d9c">pw_node_get_core</a></div><div class="ttdeci">struct pw_core * pw_node_get_core(struct pw_node *node)</div><div class="ttdoc">Get the core of this node.</div><div class="ttdef"><b>Definition:</b> node.c:972</div></div>
<div class="ttc" id="resource_8h_html"><div class="ttname"><a href="resource_8h.html">resource.h</a></div></div>
<div class="ttc" id="classpw__client_html"><div class="ttname"><a href="classpw__client.html">pw_client</a></div><div class="ttdoc">PipeWire client object class.</div></div>
<div class="ttc" id="node_8h_html_abf5963060e24f9a496b6941a45f78bf1"><div class="ttname"><a href="node_8h.html#abf5963060e24f9a496b6941a45f78bf1">pw_node_get_global</a></div><div class="ttdeci">struct pw_global * pw_node_get_global(struct pw_node *node)</div><div class="ttdoc">Get the global of this node.</div><div class="ttdef"><b>Definition:</b> node.c:978</div></div>
<div class="ttc" id="structparam_html"><div class="ttname"><a href="structparam.html">param</a></div><div class="ttdef"><b>Definition:</b> stream.c:75</div></div>
<div class="ttc" id="structpw__node__events_html_a37faf21db57a7e95999db521fb1cbcab"><div class="ttname"><a href="structpw__node__events.html#a37faf21db57a7e95999db521fb1cbcab">pw_node_events::version</a></div><div class="ttdeci">uint32_t version</div><div class="ttdef"><b>Definition:</b> node.h:57</div></div>
<div class="ttc" id="structpw__node__events_html_acf451c8f69281a0a85fcf7c9890a5cf6"><div class="ttname"><a href="structpw__node__events.html#acf451c8f69281a0a85fcf7c9890a5cf6">pw_node_events::info_changed</a></div><div class="ttdeci">void(* info_changed)(void *data, const struct pw_node_info *info)</div><div class="ttdoc">the node info changed</div><div class="ttdef"><b>Definition:</b> node.h:74</div></div>
<div class="ttc" id="structpw__node__events_html_a2d5626f4acca69cf8b95c8a94bb3ef9f"><div class="ttname"><a href="structpw__node__events.html#a2d5626f4acca69cf8b95c8a94bb3ef9f">pw_node_events::port_added</a></div><div class="ttdeci">void(* port_added)(void *data, struct pw_port *port)</div><div class="ttdoc">a port was added</div><div class="ttdef"><b>Definition:</b> node.h:69</div></div>
<div class="ttc" id="node_8h_html_aa54a8f52d35bd9521ceb32dc7e950a85"><div class="ttname"><a href="node_8h.html#aa54a8f52d35bd9521ceb32dc7e950a85">pw_node_for_each_port</a></div><div class="ttdeci">int pw_node_for_each_port(struct pw_node *node, enum pw_direction direction, int(*callback)(void *data, struct pw_port *port), void *data)</div><div class="ttdoc">Iterate the ports in the given direction.</div><div class="ttdef"><b>Definition:</b> node.c:1309</div></div>
<div class="ttc" id="classpw__node_html"><div class="ttname"><a href="classpw__node.html">pw_node</a></div><div class="ttdoc">PipeWire node class.</div></div>
<div class="ttc" id="port_8h_html"><div class="ttname"><a href="port_8h.html">port.h</a></div></div>
<div class="ttc" id="structpw__node__events_html_aae1fa59095c854903aeb92620b6c7fce"><div class="ttname"><a href="structpw__node__events.html#aae1fa59095c854903aeb92620b6c7fce">pw_node_events::free</a></div><div class="ttdeci">void(* free)(void *data)</div><div class="ttdoc">the node is about to be freed</div><div class="ttdef"><b>Definition:</b> node.h:62</div></div>
<div class="ttc" id="classpw__global_html"><div class="ttname"><a href="classpw__global.html">pw_global</a></div><div class="ttdoc">A global object visible to remote clients.</div></div>
<div class="ttc" id="node_8h_html_acb7e0557ec2c7c95a18757dad387dd7c"><div class="ttname"><a href="node_8h.html#acb7e0557ec2c7c95a18757dad387dd7c">pw_node_get_info</a></div><div class="ttdeci">const struct pw_node_info * pw_node_get_info(struct pw_node *node)</div><div class="ttdoc">Get the node info.</div><div class="ttdef"><b>Definition:</b> node.c:960</div></div>
<div class="ttc" id="node_8h_html_a898e5e0afefe00d5154c9c1c64f84c53"><div class="ttname"><a href="node_8h.html#a898e5e0afefe00d5154c9c1c64f84c53">pw_node_get_properties</a></div><div class="ttdeci">const struct pw_properties * pw_node_get_properties(struct pw_node *node)</div><div class="ttdoc">Get the node properties.</div><div class="ttdef"><b>Definition:</b> node.c:984</div></div>
<div class="ttc" id="structpw__node__events_html_a6ea6d7fb9248754549182bed2c770fb1"><div class="ttname"><a href="structpw__node__events.html#a6ea6d7fb9248754549182bed2c770fb1">pw_node_events::peer_removed</a></div><div class="ttdeci">void(* peer_removed)(void *data, struct pw_node *peer)</div><div class="ttdoc">a peer was removed</div><div class="ttdef"><b>Definition:</b> node.h:99</div></div>
<div class="ttc" id="structpw__node__events_html_a101574ffa1d3f508f7e90e7d8de2ab35"><div class="ttname"><a href="structpw__node__events.html#a101574ffa1d3f508f7e90e7d8de2ab35">pw_node_events::driver_changed</a></div><div class="ttdeci">void(* driver_changed)(void *data, struct pw_node *old, struct pw_node *driver)</div><div class="ttdoc">the driver of the node changed</div><div class="ttdef"><b>Definition:</b> node.h:94</div></div>
<div class="ttc" id="structpw__node__events_html_a34a6524370a9087ec5bbbd90202bf1e4"><div class="ttname"><a href="structpw__node__events.html#a34a6524370a9087ec5bbbd90202bf1e4">pw_node_events::result</a></div><div class="ttdeci">void(* result)(void *data, int seq, int res, uint32_t type, const void *result)</div><div class="ttdoc">a result was received</div><div class="ttdef"><b>Definition:</b> node.h:88</div></div>
<div class="ttc" id="structpw__node__events_html_a564ce5d0faa75fa7b14ec6baa43c7daa"><div class="ttname"><a href="structpw__node__events.html#a564ce5d0faa75fa7b14ec6baa43c7daa">pw_node_events::state_changed</a></div><div class="ttdeci">void(* state_changed)(void *data, enum pw_node_state old, enum pw_node_state state, const char *error)</div><div class="ttdoc">the state of the node changed</div><div class="ttdef"><b>Definition:</b> node.h:84</div></div>
<div class="ttc" id="node_8h_html_a2bb3fca14d3b5749df798bc517b02ae8"><div class="ttname"><a href="node_8h.html#a2bb3fca14d3b5749df798bc517b02ae8">pw_node_add_listener</a></div><div class="ttdeci">void pw_node_add_listener(struct pw_node *node, struct spa_hook *listener, const struct pw_node_events *events, void *data)</div><div class="ttdoc">Add an event listener.</div><div class="ttdef"><b>Definition:</b> node.c:1220</div></div>
<div class="ttc" id="structpw__node__events_html_a5d803d186e1da8dc06cfe62418286d6d"><div class="ttname"><a href="structpw__node__events.html#a5d803d186e1da8dc06cfe62418286d6d">pw_node_events::destroy</a></div><div class="ttdeci">void(* destroy)(void *data)</div><div class="ttdoc">the node is destroyed</div><div class="ttdef"><b>Definition:</b> node.h:60</div></div>
<div class="ttc" id="structpw__node__events_html_a2a0c2a81b5998253eeb1f3bfe05b57e0"><div class="ttname"><a href="structpw__node__events.html#a2a0c2a81b5998253eeb1f3bfe05b57e0">pw_node_events::peer_added</a></div><div class="ttdeci">void(* peer_added)(void *data, struct pw_node *peer)</div><div class="ttdoc">a peer was added</div><div class="ttdef"><b>Definition:</b> node.h:97</div></div>
<div class="ttc" id="classpw__port_html"><div class="ttname"><a href="classpw__port.html">pw_port</a></div><div class="ttdoc">The port object.</div></div>
<div class="ttc" id="structpw__node__info_html"><div class="ttname"><a href="structpw__node__info.html">pw_node_info</a></div><div class="ttdoc">The node information.</div><div class="ttdef"><b>Definition:</b> introspect.h:167</div></div>
<div class="ttc" id="node_8h_html_a43aca89a30f2cced48262819114baeb5"><div class="ttname"><a href="node_8h.html#a43aca89a30f2cced48262819114baeb5">pw_node_get_implementation</a></div><div class="ttdeci">struct spa_node * pw_node_get_implementation(struct pw_node *node)</div><div class="ttdoc">Get the node implementation.</div><div class="ttdef"><b>Definition:</b> node.c:1214</div></div>
<div class="ttc" id="introspect_8h_html_a6e9e847059d68cbdb608abc8eb6b631d"><div class="ttname"><a href="introspect_8h.html#a6e9e847059d68cbdb608abc8eb6b631d">pw_direction</a></div><div class="ttdeci">pw_direction</div><div class="ttdoc">The direction of a port.</div><div class="ttdef"><b>Definition:</b> introspect.h:52</div></div>
<div class="ttc" id="structpw__node__events_html"><div class="ttname"><a href="structpw__node__events.html">pw_node_events</a></div><div class="ttdoc">Node events, listen to them with pw_node_add_listener.</div><div class="ttdef"><b>Definition:</b> node.h:55</div></div>
<div class="ttc" id="structdata_html"><div class="ttname"><a href="structdata.html">data</a></div><div class="ttdef"><b>Definition:</b> stream.c:69</div></div>
<div class="ttc" id="classpw__node_html_a797514cde71af23b5a27744d951ca83a"><div class="ttname"><a href="classpw__node.html#a797514cde71af23b5a27744d951ca83a">pw_node::pw_node_destroy</a></div><div class="ttdeci">SPA_EXPORT void pw_node_destroy(struct pw_node *node)</div><div class="ttdoc">Destroy a node.</div><div class="ttdef"><b>Definition:</b> node.c:1237</div></div>
</div><!-- fragment --></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="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_7129a66c92fe7beef816c2ac906ef0b3.html">pipewire</a></li><li class="navelem"><a class="el" href="node_8h.html">node.h</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>