summaryrefslogtreecommitdiff
path: root/build/doc/html/proxy_8h_source.html
blob: 7ccc968ed1233f6475e543721d6247f826a72edf (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
<!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: proxy.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('proxy_8h_source.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">proxy.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="proxy_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_PROXY_H</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#define PIPEWIRE_PROXY_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="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &lt;spa/utils/hook.h&gt;</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="keyword">struct </span><a class="code" href="classpw__proxy.html">pw_proxy</a>;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="protocol_8h.html">pipewire/protocol.h</a>&gt;</span></div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structpw__proxy__events.html">  107</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structpw__proxy__events.html">pw_proxy_events</a> {</div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="proxy_8h.html#a8dd7c3044529e15a8fcc8c1034bbb102">  108</a></span>&#160;<span class="preprocessor">#define PW_VERSION_PROXY_EVENTS         0</span></div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="structpw__proxy__events.html#a25e8553fd0ed2f729ffe61994f6973a2">  109</a></span>&#160;        uint32_t <a class="code" href="structpw__proxy__events.html#a25e8553fd0ed2f729ffe61994f6973a2">version</a>;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="structpw__proxy__events.html#aaa8802aa5a62fdc422f8db0d606adac3">  112</a></span>&#160;        void (*<a class="code" href="structpw__proxy__events.html#aaa8802aa5a62fdc422f8db0d606adac3">destroy</a>) (<span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>);</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="structpw__proxy__events.html#a1d91d77027018205abcdfe5f25b0feb1">  115</a></span>&#160;        void (*<a class="code" href="structpw__proxy__events.html#a1d91d77027018205abcdfe5f25b0feb1">done</a>) (<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="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="structpw__proxy__events.html#af8e0510a58d92ddd0831293e1c42b867">  118</a></span>&#160;        void (*<a class="code" href="structpw__proxy__events.html#af8e0510a58d92ddd0831293e1c42b867">error</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, <span class="keyword">const</span> <span class="keywordtype">char</span> *message);</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;};</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="keyword">struct </span><a class="code" href="classpw__proxy.html">pw_proxy</a> *</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<a class="code" href="classpw__proxy.html#a7c06847bc4258d7a603f9bd507309226">pw_proxy_new</a>(<span class="keyword">struct</span> <a class="code" href="classpw__proxy.html">pw_proxy</a> *factory,  </div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;             uint32_t type,             </div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;             <span class="keywordtype">size_t</span> user_data_size      );</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="keywordtype">void</span> <a class="code" href="proxy_8h.html#a01735abb03506ca5b939744c2679e8ae">pw_proxy_add_listener</a>(<span class="keyword">struct</span> <a class="code" href="classpw__proxy.html">pw_proxy</a> *proxy,</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;                           <span class="keyword">struct</span> spa_hook *listener,</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__proxy__events.html">pw_proxy_events</a> *events,</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;                           <span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>);</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="keywordtype">void</span> <a class="code" href="proxy_8h.html#a145c4c84bc198084c219d56c352dafb7">pw_proxy_add_object_listener</a>(<span class="keyword">struct</span> <a class="code" href="classpw__proxy.html">pw_proxy</a> *proxy,       </div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;                                 <span class="keyword">struct</span> spa_hook *listener,     </div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;                                 <span class="keyword">const</span> <span class="keywordtype">void</span> *funcs,             </div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;                                 <span class="keywordtype">void</span> *<a class="code" href="structdata.html">data</a>                     );</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="keywordtype">void</span> <a class="code" href="classpw__proxy.html#a14ac10c78b59690235afab18ea1c906e">pw_proxy_destroy</a>(<span class="keyword">struct</span> <a class="code" href="classpw__proxy.html">pw_proxy</a> *proxy);</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="keywordtype">void</span> *<a class="code" href="proxy_8h.html#ab74bbe87b946bf5f5189c14203642599">pw_proxy_get_user_data</a>(<span class="keyword">struct</span> <a class="code" href="classpw__proxy.html">pw_proxy</a> *proxy);</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;uint32_t <a class="code" href="proxy_8h.html#aa4790d3d0254680598e0c9a19f9107a3">pw_proxy_get_id</a>(<span class="keyword">struct</span> <a class="code" href="classpw__proxy.html">pw_proxy</a> *proxy);</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="keyword">struct </span><a class="code" href="classpw__protocol.html">pw_protocol</a> *<a class="code" href="proxy_8h.html#a9ace4e7667587147f9970d41cafac327">pw_proxy_get_protocol</a>(<span class="keyword">struct</span> <a class="code" href="classpw__proxy.html">pw_proxy</a> *proxy);</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="keywordtype">int</span> <a class="code" href="proxy_8h.html#a9490301016b057af0551c759696c374c">pw_proxy_sync</a>(<span class="keyword">struct</span> <a class="code" href="classpw__proxy.html">pw_proxy</a> *proxy, <span class="keywordtype">int</span> seq);</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="keywordtype">int</span> <a class="code" href="proxy_8h.html#a8c20dee0f29c7d8b10147920262ab1d5">pw_proxy_error</a>(<span class="keyword">struct</span> <a class="code" href="classpw__proxy.html">pw_proxy</a> *proxy, <span class="keywordtype">int</span> res, <span class="keyword">const</span> <span class="keywordtype">char</span> *error, ...);</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="keyword">struct </span>spa_hook_list *<a class="code" href="proxy_8h.html#a06977ff692c450639375da17b6145ef2">pw_proxy_get_object_listeners</a>(<span class="keyword">struct</span> <a class="code" href="classpw__proxy.html">pw_proxy</a> *proxy);</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structpw__protocol__marshal.html">pw_protocol_marshal</a> *<a class="code" href="proxy_8h.html#a5950a9b370047e0ac45989a52a2f47ed">pw_proxy_get_marshal</a>(<span class="keyword">struct</span> <a class="code" href="classpw__proxy.html">pw_proxy</a> *proxy);</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="proxy_8h.html#a8f5ec1968479b4955dbb6988e12fc130">  166</a></span>&#160;<span class="preprocessor">#define pw_proxy_notify(p,type,event,version,...)                       \</span></div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="preprocessor">        spa_hook_list_call(pw_proxy_get_object_listeners(p),            \</span></div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="preprocessor">                        type, event, version, ## __VA_ARGS__)</span></div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="proxy_8h.html#a0cb18a01022f447b12c4fd0b9d0155cb">  170</a></span>&#160;<span class="preprocessor">#define pw_proxy_call(p,type,method,version,...)                        \</span></div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="preprocessor">        spa_interface_call((struct spa_interface*)p,                    \</span></div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="preprocessor">                        type, method, version, ##__VA_ARGS__)</span></div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="proxy_8h.html#aa93c46b89222bd416df4f4c058f89c21">  174</a></span>&#160;<span class="preprocessor">#define pw_proxy_call_res(p,type,method,version,...)                    \</span></div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="preprocessor">({                                                                      \</span></div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="preprocessor">        int _res = -ENOTSUP;                                            \</span></div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="preprocessor">        spa_interface_call_res((struct spa_interface*)p,                \</span></div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="preprocessor">                        type, _res, method, version, ##__VA_ARGS__);    \</span></div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;<span class="preprocessor">        _res;                                                           \</span></div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="preprocessor">})</span></div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;}</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* PIPEWIRE_PROXY_H */</span><span class="preprocessor"></span></div><div class="ttc" id="proxy_8h_html_a9ace4e7667587147f9970d41cafac327"><div class="ttname"><a href="proxy_8h.html#a9ace4e7667587147f9970d41cafac327">pw_proxy_get_protocol</a></div><div class="ttdeci">struct pw_protocol * pw_proxy_get_protocol(struct pw_proxy *proxy)</div><div class="ttdoc">Get the protocol used for the proxy.</div><div class="ttdef"><b>Definition:</b> proxy.c:127</div></div>
<div class="ttc" id="classpw__protocol_html"><div class="ttname"><a href="classpw__protocol.html">pw_protocol</a></div><div class="ttdoc">Manages protocols and their implementation.</div></div>
<div class="ttc" id="proxy_8h_html_a145c4c84bc198084c219d56c352dafb7"><div class="ttname"><a href="proxy_8h.html#a145c4c84bc198084c219d56c352dafb7">pw_proxy_add_object_listener</a></div><div class="ttdeci">void pw_proxy_add_object_listener(struct pw_proxy *proxy, struct spa_hook *listener, const void *funcs, void *data)</div><div class="ttdoc">Add a listener for the events received from the remote object.</div><div class="ttdef"><b>Definition:</b> proxy.c:142</div></div>
<div class="ttc" id="proxy_8h_html_ab74bbe87b946bf5f5189c14203642599"><div class="ttname"><a href="proxy_8h.html#ab74bbe87b946bf5f5189c14203642599">pw_proxy_get_user_data</a></div><div class="ttdeci">void * pw_proxy_get_user_data(struct pw_proxy *proxy)</div><div class="ttdoc">Get the user_data.</div><div class="ttdef"><b>Definition:</b> proxy.c:115</div></div>
<div class="ttc" id="classpw__proxy_html_a14ac10c78b59690235afab18ea1c906e"><div class="ttname"><a href="classpw__proxy.html#a14ac10c78b59690235afab18ea1c906e">pw_proxy::pw_proxy_destroy</a></div><div class="ttdeci">SPA_EXPORT void pw_proxy_destroy(struct pw_proxy *proxy)</div><div class="ttdoc">Destroy a proxy object.</div><div class="ttdef"><b>Definition:</b> proxy.c:159</div></div>
<div class="ttc" id="structpw__protocol__marshal_html"><div class="ttname"><a href="structpw__protocol__marshal.html">pw_protocol_marshal</a></div><div class="ttdef"><b>Definition:</b> protocol.h:75</div></div>
<div class="ttc" id="proxy_8h_html_a06977ff692c450639375da17b6145ef2"><div class="ttname"><a href="proxy_8h.html#a06977ff692c450639375da17b6145ef2">pw_proxy_get_object_listeners</a></div><div class="ttdeci">struct spa_hook_list * pw_proxy_get_object_listeners(struct pw_proxy *proxy)</div><div class="ttdoc">Get the listener of proxy.</div><div class="ttdef"><b>Definition:</b> proxy.c:211</div></div>
<div class="ttc" id="proxy_8h_html_a01735abb03506ca5b939744c2679e8ae"><div class="ttname"><a href="proxy_8h.html#a01735abb03506ca5b939744c2679e8ae">pw_proxy_add_listener</a></div><div class="ttdeci">void pw_proxy_add_listener(struct pw_proxy *proxy, struct spa_hook *listener, const struct pw_proxy_events *events, void *data)</div><div class="ttdoc">Add an event listener to proxy.</div><div class="ttdef"><b>Definition:</b> proxy.c:133</div></div>
<div class="ttc" id="structpw__proxy__events_html_a1d91d77027018205abcdfe5f25b0feb1"><div class="ttname"><a href="structpw__proxy__events.html#a1d91d77027018205abcdfe5f25b0feb1">pw_proxy_events::done</a></div><div class="ttdeci">void(* done)(void *data, int seq)</div><div class="ttdoc">a reply to a sync method completed</div><div class="ttdef"><b>Definition:</b> proxy.h:115</div></div>
<div class="ttc" id="protocol_8h_html"><div class="ttname"><a href="protocol_8h.html">protocol.h</a></div></div>
<div class="ttc" id="classpw__proxy_html"><div class="ttname"><a href="classpw__proxy.html">pw_proxy</a></div><div class="ttdoc">Represents an object on the client side.</div></div>
<div class="ttc" id="proxy_8h_html_aa4790d3d0254680598e0c9a19f9107a3"><div class="ttname"><a href="proxy_8h.html#aa4790d3d0254680598e0c9a19f9107a3">pw_proxy_get_id</a></div><div class="ttdeci">uint32_t pw_proxy_get_id(struct pw_proxy *proxy)</div><div class="ttdoc">Get the local id of the proxy.</div><div class="ttdef"><b>Definition:</b> proxy.c:121</div></div>
<div class="ttc" id="proxy_8h_html_a9490301016b057af0551c759696c374c"><div class="ttname"><a href="proxy_8h.html#a9490301016b057af0551c759696c374c">pw_proxy_sync</a></div><div class="ttdeci">int pw_proxy_sync(struct pw_proxy *proxy, int seq)</div><div class="ttdoc">Generate an sync method for a proxy.</div><div class="ttdef"><b>Definition:</b> proxy.c:183</div></div>
<div class="ttc" id="structpw__proxy__events_html"><div class="ttname"><a href="structpw__proxy__events.html">pw_proxy_events</a></div><div class="ttdoc">Proxy events, use pw_proxy_add_listener.</div><div class="ttdef"><b>Definition:</b> proxy.h:107</div></div>
<div class="ttc" id="structpw__proxy__events_html_aaa8802aa5a62fdc422f8db0d606adac3"><div class="ttname"><a href="structpw__proxy__events.html#aaa8802aa5a62fdc422f8db0d606adac3">pw_proxy_events::destroy</a></div><div class="ttdeci">void(* destroy)(void *data)</div><div class="ttdoc">The proxy is destroyed.</div><div class="ttdef"><b>Definition:</b> proxy.h:112</div></div>
<div class="ttc" id="structpw__proxy__events_html_af8e0510a58d92ddd0831293e1c42b867"><div class="ttname"><a href="structpw__proxy__events.html#af8e0510a58d92ddd0831293e1c42b867">pw_proxy_events::error</a></div><div class="ttdeci">void(* error)(void *data, int seq, int res, const char *message)</div><div class="ttdoc">an error occured on the proxy</div><div class="ttdef"><b>Definition:</b> proxy.h:118</div></div>
<div class="ttc" id="proxy_8h_html_a8c20dee0f29c7d8b10147920262ab1d5"><div class="ttname"><a href="proxy_8h.html#a8c20dee0f29c7d8b10147920262ab1d5">pw_proxy_error</a></div><div class="ttdeci">int pw_proxy_error(struct pw_proxy *proxy, int res, const char *error,...)</div><div class="ttdoc">Generate an error for a proxy.</div><div class="ttdef"><b>Definition:</b> proxy.c:196</div></div>
<div class="ttc" id="structpw__proxy__events_html_a25e8553fd0ed2f729ffe61994f6973a2"><div class="ttname"><a href="structpw__proxy__events.html#a25e8553fd0ed2f729ffe61994f6973a2">pw_proxy_events::version</a></div><div class="ttdeci">uint32_t version</div><div class="ttdef"><b>Definition:</b> proxy.h:109</div></div>
<div class="ttc" id="classpw__proxy_html_a7c06847bc4258d7a603f9bd507309226"><div class="ttname"><a href="classpw__proxy.html#a7c06847bc4258d7a603f9bd507309226">pw_proxy::pw_proxy_new</a></div><div class="ttdeci">SPA_EXPORT struct pw_proxy * pw_proxy_new(struct pw_proxy *factory, uint32_t type, size_t user_data_size)</div><div class="ttdoc">Create a proxy object with a given id and type.</div><div class="ttdef"><b>Definition:</b> proxy.c:58</div></div>
<div class="ttc" id="proxy_8h_html_a5950a9b370047e0ac45989a52a2f47ed"><div class="ttname"><a href="proxy_8h.html#a5950a9b370047e0ac45989a52a2f47ed">pw_proxy_get_marshal</a></div><div class="ttdeci">const struct pw_protocol_marshal * pw_proxy_get_marshal(struct pw_proxy *proxy)</div><div class="ttdoc">Get the marshal functions for the proxy.</div><div class="ttdef"><b>Definition:</b> proxy.c:217</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><!-- 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="proxy_8h.html">proxy.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>