summaryrefslogtreecommitdiff
path: root/structpw__protocol__client.html
blob: 11033ed5879c74e50cc070ad5405c2aff312665e (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
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
<!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_protocol_client 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__protocol__client.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_protocol_client Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for pw_protocol_client:</div>
<div class="dyncontent">
<div class="center"><img src="structpw__protocol__client__coll__graph.png" border="0" usemap="#pw__protocol__client_coll__map" alt="Collaboration graph"/></div>
<map name="pw__protocol__client_coll__map" id="pw__protocol__client_coll__map">
<area shape="rect"  title=" " alt="" coords="42,95,186,121"/>
<area shape="rect"  href="classpw__remote.html" title="Represents a connection with a remote PipeWire instance." alt="" coords="5,5,100,32"/>
<area shape="rect"  href="classpw__protocol.html" title="Manages protocols and their implementation." alt="" coords="125,5,226,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<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:addd42578b59ddffc32a42a52754654be"><td class="memItemLeft" align="right" valign="top">struct spa_list&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__protocol__client.html#addd42578b59ddffc32a42a52754654be">link</a></td></tr>
<tr class="memdesc:addd42578b59ddffc32a42a52754654be"><td class="mdescLeft">&#160;</td><td class="mdescRight">link in protocol client_list  <a href="#addd42578b59ddffc32a42a52754654be">More...</a><br /></td></tr>
<tr class="separator:addd42578b59ddffc32a42a52754654be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f6233dcd7a026275a93680ae68ee263"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="classpw__protocol.html">pw_protocol</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__protocol__client.html#a2f6233dcd7a026275a93680ae68ee263">protocol</a></td></tr>
<tr class="memdesc:a2f6233dcd7a026275a93680ae68ee263"><td class="mdescLeft">&#160;</td><td class="mdescRight">the owner protocol  <a href="#a2f6233dcd7a026275a93680ae68ee263">More...</a><br /></td></tr>
<tr class="separator:a2f6233dcd7a026275a93680ae68ee263"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6879f664fbafbd1279e7f3cce224a25a"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__protocol__client.html#a6879f664fbafbd1279e7f3cce224a25a">remote</a></td></tr>
<tr class="memdesc:a6879f664fbafbd1279e7f3cce224a25a"><td class="mdescLeft">&#160;</td><td class="mdescRight">the associated remote  <a href="#a6879f664fbafbd1279e7f3cce224a25a">More...</a><br /></td></tr>
<tr class="separator:a6879f664fbafbd1279e7f3cce224a25a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61a758788faa6a584bf5eec19e9b15a8"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__protocol__client.html#a61a758788faa6a584bf5eec19e9b15a8">connect</a> )(struct <a class="el" href="structpw__protocol__client.html">pw_protocol_client</a> *client, void(*done_callback)(void *<a class="el" href="structdata.html">data</a>, int result), void *<a class="el" href="structdata.html">data</a>)</td></tr>
<tr class="separator:a61a758788faa6a584bf5eec19e9b15a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f94b0fb5b1f83cbb56529b5c43c4a8f"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__protocol__client.html#a0f94b0fb5b1f83cbb56529b5c43c4a8f">connect_fd</a> )(struct <a class="el" href="structpw__protocol__client.html">pw_protocol_client</a> *client, int fd, bool close)</td></tr>
<tr class="separator:a0f94b0fb5b1f83cbb56529b5c43c4a8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae94059a4fa05da14961edb56be183f2a"><td class="memItemLeft" align="right" valign="top">int(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__protocol__client.html#ae94059a4fa05da14961edb56be183f2a">steal_fd</a> )(struct <a class="el" href="structpw__protocol__client.html">pw_protocol_client</a> *client)</td></tr>
<tr class="separator:ae94059a4fa05da14961edb56be183f2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b60903a56e79e980b11ea2d14fac80c"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__protocol__client.html#a4b60903a56e79e980b11ea2d14fac80c">disconnect</a> )(struct <a class="el" href="structpw__protocol__client.html">pw_protocol_client</a> *client)</td></tr>
<tr class="separator:a4b60903a56e79e980b11ea2d14fac80c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ce571a5bc950b3309d0dbd2a55e501f"><td class="memItemLeft" align="right" valign="top">void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__protocol__client.html#a9ce571a5bc950b3309d0dbd2a55e501f">destroy</a> )(struct <a class="el" href="structpw__protocol__client.html">pw_protocol_client</a> *client)</td></tr>
<tr class="separator:a9ce571a5bc950b3309d0dbd2a55e501f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Field Documentation</h2>
<a id="a61a758788faa6a584bf5eec19e9b15a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61a758788faa6a584bf5eec19e9b15a8">&#9670;&nbsp;</a></span>connect</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* pw_protocol_client::connect) (struct <a class="el" href="structpw__protocol__client.html">pw_protocol_client</a> *client, void(*done_callback)(void *<a class="el" href="structdata.html">data</a>, int result), void *<a class="el" href="structdata.html">data</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* pw_protocol_client::connect_fd) (struct <a class="el" href="structpw__protocol__client.html">pw_protocol_client</a> *client, int fd, bool close)</td>
        </tr>
      </table>
</div><div class="memdoc">

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* pw_protocol_client::destroy) (struct <a class="el" href="structpw__protocol__client.html">pw_protocol_client</a> *client)</td>
        </tr>
      </table>
</div><div class="memdoc">

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void(* pw_protocol_client::disconnect) (struct <a class="el" href="structpw__protocol__client.html">pw_protocol_client</a> *client)</td>
        </tr>
      </table>
</div><div class="memdoc">

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct spa_list pw_protocol_client::link</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>link in protocol client_list </p>

<p class="reference">Referenced by <a class="el" href="protocol_8c.html#a34a51785cdcd416d5974b6c338d64657">pw_protocol_destroy()</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="classpw__protocol.html">pw_protocol</a>* pw_protocol_client::protocol</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the owner protocol </p>

<p class="reference">Referenced by <a class="el" href="protocol_8c.html#adacff2f9c7a8c1022b1111d9ecfea7d2">pw_protocol_add_listener()</a>, and <a class="el" href="protocol_8c.html#a34a51785cdcd416d5974b6c338d64657">pw_protocol_destroy()</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="classpw__remote.html">pw_remote</a>* pw_protocol_client::remote</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the associated remote </p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int(* pw_protocol_client::steal_fd) (struct <a class="el" href="structpw__protocol__client.html">pw_protocol_client</a> *client)</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="protocol_8h_source.html">protocol.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__protocol__client.html">pw_protocol_client</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>