summaryrefslogtreecommitdiff
path: root/remote_8c.html
blob: 0e77934121471aed01e39a0c175a503c38c09069 (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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
<!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: remote.c File 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('remote_8c.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">remote.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><div class="dynheader">
Include dependency graph for remote.c:</div>
<div class="dyncontent">
<div class="center"><img src="remote_8c__incl.png" border="0" usemap="#remote_8c" alt=""/></div>
<map name="remote_8c" id="remote_8c">
<area shape="rect"  title=" " alt="" coords="1844,5,1924,32"/>
<area shape="rect"  title=" " alt="" coords="1278,87,1345,114"/>
<area shape="rect"  title=" " alt="" coords="1369,87,1444,114"/>
<area shape="rect"  title=" " alt="" coords="1468,87,1571,114"/>
<area shape="rect"  title=" " alt="" coords="1595,87,1671,114"/>
<area shape="rect"  title=" " alt="" coords="2419,319,2487,345"/>
<area shape="rect"  title=" " alt="" coords="1922,87,2024,114"/>
<area shape="rect"  title=" " alt="" coords="2049,87,2177,114"/>
<area shape="rect"  title=" " alt="" coords="2201,87,2342,114"/>
<area shape="rect"  href="pipewire_8h.html" title=" " alt="" coords="1695,87,1846,114"/>
<area shape="rect"  title=" " alt="" coords="2367,87,2507,114"/>
<area shape="rect"  title=" " alt="" coords="2531,80,2682,121"/>
<area shape="rect"  title=" " alt="" coords="1450,169,1605,196"/>
<area shape="rect"  href="client_8h.html" title=" " alt="" coords="698,393,829,420"/>
<area shape="rect"  href="core_8h.html" title=" " alt="" coords="1094,468,1217,495"/>
<area shape="rect"  href="introspect_8h.html" title=" " alt="" coords="1351,543,1510,569"/>
<area shape="rect"  href="properties_8h.html" title=" " alt="" coords="1350,692,1510,719"/>
<area shape="rect"  href="loop_8h.html" title=" " alt="" coords="2584,543,2706,569"/>
<area shape="rect"  href="factory_8h.html" title=" " alt="" coords="708,543,846,569"/>
<area shape="rect"  href="resource_8h.html" title=" " alt="" coords="532,617,683,644"/>
<area shape="rect"  href="device_8h.html" title=" " alt="" coords="324,393,462,420"/>
<area shape="rect"  href="interfaces_8h.html" title=" " alt="" coords="1952,244,2111,271"/>
<area shape="rect"  href="proxy_8h.html" title=" " alt="" coords="1495,319,1624,345"/>
<area shape="rect"  href="utils_8h.html" title=" " alt="" coords="1737,468,1860,495"/>
<area shape="rect"  href="keys_8h.html" title=" " alt="" coords="1629,169,1754,196"/>
<area shape="rect"  href="link_8h.html" title=" " alt="" coords="1104,244,1223,271"/>
<area shape="rect"  href="port_8h.html" title=" " alt="" coords="1038,319,1158,345"/>
<area shape="rect"  href="node_8h.html" title=" " alt="" coords="938,393,1064,420"/>
<area shape="rect"  href="log_8h.html" title=" " alt="" coords="2360,169,2474,196"/>
<area shape="rect"  href="main-loop_8h.html" title=" " alt="" coords="2714,468,2874,495"/>
<area shape="rect"  href="module_8h.html" title=" " alt="" coords="158,393,300,420"/>
<area shape="rect"  href="remote_8h.html" title=" " alt="" coords="1314,244,1456,271"/>
<area shape="rect"  href="stream_8h.html" title=" " alt="" coords="1779,169,1919,196"/>
<area shape="rect"  href="thread-loop_8h.html" title=" " alt="" coords="2664,244,2834,271"/>
<area shape="rect"  href="type_8h.html" title=" " alt="" coords="1944,169,2066,196"/>
<area shape="rect"  title=" " alt="" coords="2091,169,2234,196"/>
<area shape="rect"  title=" " alt="" coords="772,692,897,719"/>
<area shape="rect"  href="global_8h.html" title=" " alt="" coords="863,617,998,644"/>
<area shape="rect"  href="permission_8h.html" title=" " alt="" coords="1444,468,1611,495"/>
<area shape="rect"  title=" " alt="" coords="1487,617,1608,644"/>
<area shape="rect"  title=" " alt="" coords="1964,617,2113,644"/>
<area shape="rect"  title=" " alt="" coords="1372,767,1489,793"/>
<area shape="rect"  title=" " alt="" coords="2563,617,2706,644"/>
<area shape="rect"  title=" " alt="" coords="44,468,203,495"/>
<area shape="rect"  title=" " alt="" coords="2032,319,2106,345"/>
<area shape="rect"  title=" " alt="" coords="2130,319,2293,345"/>
<area shape="rect"  href="protocol_8h.html" title=" " alt="" coords="1648,393,1794,420"/>
<area shape="rect"  title=" " alt="" coords="884,468,1019,495"/>
<area shape="rect"  title=" " alt="" coords="2352,244,2487,271"/>
<area shape="rect"  title=" " alt="" coords="1664,244,1805,271"/>
</map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a8b79ea8f61f89fc8a35a3ed3823930dd"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#a8b79ea8f61f89fc8a35a3ed3823930dd">pw_remote_state_as_string</a> (enum <a class="el" href="remote_8h.html#a9d3d4958e743ad59ba245107a49f2990">pw_remote_state</a> state)</td></tr>
<tr class="separator:a8b79ea8f61f89fc8a35a3ed3823930dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4d94be2412050ec56ad495ccf75f9b3"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#ab4d94be2412050ec56ad495ccf75f9b3">pw_remote_new</a> (struct <a class="el" href="classpw__core.html">pw_core</a> *core, struct <a class="el" href="structpw__properties.html">pw_properties</a> *properties, size_t user_data_size)</td></tr>
<tr class="separator:ab4d94be2412050ec56ad495ccf75f9b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e927d9eff1cc1a6ae723617e4f4abec"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#a0e927d9eff1cc1a6ae723617e4f4abec">pw_remote_destroy</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote)</td></tr>
<tr class="separator:a0e927d9eff1cc1a6ae723617e4f4abec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65887a5a1a4985304df23efbe9378d97"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="classpw__core.html">pw_core</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#a65887a5a1a4985304df23efbe9378d97">pw_remote_get_core</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote)</td></tr>
<tr class="memdesc:a65887a5a1a4985304df23efbe9378d97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the core used to construct this remote.  <a href="#a65887a5a1a4985304df23efbe9378d97">More...</a><br /></td></tr>
<tr class="separator:a65887a5a1a4985304df23efbe9378d97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53ca7a91a46ced17c8a8d3945467505d"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT const struct <a class="el" href="structpw__properties.html">pw_properties</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#a53ca7a91a46ced17c8a8d3945467505d">pw_remote_get_properties</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote)</td></tr>
<tr class="memdesc:a53ca7a91a46ced17c8a8d3945467505d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the remote properties.  <a href="#a53ca7a91a46ced17c8a8d3945467505d">More...</a><br /></td></tr>
<tr class="separator:a53ca7a91a46ced17c8a8d3945467505d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13b046fa7cea5ce6e8dd87399b3ef0e6"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#a13b046fa7cea5ce6e8dd87399b3ef0e6">pw_remote_update_properties</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote, const struct spa_dict *dict)</td></tr>
<tr class="memdesc:a13b046fa7cea5ce6e8dd87399b3ef0e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update properties.  <a href="#a13b046fa7cea5ce6e8dd87399b3ef0e6">More...</a><br /></td></tr>
<tr class="separator:a13b046fa7cea5ce6e8dd87399b3ef0e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace3c14f7bb7f3d02341fe02b57301466"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#ace3c14f7bb7f3d02341fe02b57301466">pw_remote_get_user_data</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote)</td></tr>
<tr class="memdesc:ace3c14f7bb7f3d02341fe02b57301466"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the user_data.  <a href="#ace3c14f7bb7f3d02341fe02b57301466">More...</a><br /></td></tr>
<tr class="separator:ace3c14f7bb7f3d02341fe02b57301466"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ae4425dba1c9a7519963e7865df2eca"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT enum <a class="el" href="remote_8h.html#a9d3d4958e743ad59ba245107a49f2990">pw_remote_state</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#a8ae4425dba1c9a7519963e7865df2eca">pw_remote_get_state</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote, const char **error)</td></tr>
<tr class="memdesc:a8ae4425dba1c9a7519963e7865df2eca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current state, <em>error</em> is set when state is <a class="el" href="remote_8h.html#a9d3d4958e743ad59ba245107a49f2990a5837f988b1fa15ce4c1e485b082aa52e">PW_REMOTE_STATE_ERROR</a>.  <a href="#a8ae4425dba1c9a7519963e7865df2eca">More...</a><br /></td></tr>
<tr class="separator:a8ae4425dba1c9a7519963e7865df2eca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac851e3269a8ef52bd1a332739fbd1467"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#ac851e3269a8ef52bd1a332739fbd1467">pw_remote_add_listener</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote, struct spa_hook *listener, const struct <a class="el" href="structpw__remote__events.html">pw_remote_events</a> *events, void *<a class="el" href="structdata.html">data</a>)</td></tr>
<tr class="memdesc:ac851e3269a8ef52bd1a332739fbd1467"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add listener for events.  <a href="#ac851e3269a8ef52bd1a332739fbd1467">More...</a><br /></td></tr>
<tr class="separator:ac851e3269a8ef52bd1a332739fbd1467"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e9f873d016e58405f1d15d374a5e334"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="structpw__core__proxy.html">pw_core_proxy</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#a6e9f873d016e58405f1d15d374a5e334">pw_remote_get_core_proxy</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote)</td></tr>
<tr class="memdesc:a6e9f873d016e58405f1d15d374a5e334"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the core proxy, can only be called when connected.  <a href="#a6e9f873d016e58405f1d15d374a5e334">More...</a><br /></td></tr>
<tr class="separator:a6e9f873d016e58405f1d15d374a5e334"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a684cffcb3b4f5aba3aee6b94da659690"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="structpw__client__proxy.html">pw_client_proxy</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#a684cffcb3b4f5aba3aee6b94da659690">pw_remote_get_client_proxy</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote)</td></tr>
<tr class="memdesc:a684cffcb3b4f5aba3aee6b94da659690"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the client proxy, can only be called when connected.  <a href="#a684cffcb3b4f5aba3aee6b94da659690">More...</a><br /></td></tr>
<tr class="separator:a684cffcb3b4f5aba3aee6b94da659690"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a878db8efbc88e0dd2d2d7aeef70ce4a6"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="classpw__proxy.html">pw_proxy</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#a878db8efbc88e0dd2d2d7aeef70ce4a6">pw_remote_find_proxy</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote, uint32_t id)</td></tr>
<tr class="memdesc:a878db8efbc88e0dd2d2d7aeef70ce4a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the proxy with the given id.  <a href="#a878db8efbc88e0dd2d2d7aeef70ce4a6">More...</a><br /></td></tr>
<tr class="separator:a878db8efbc88e0dd2d2d7aeef70ce4a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0a2763a7b4a6b429144e74c15b38edc"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#ad0a2763a7b4a6b429144e74c15b38edc">pw_remote_connect</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote)</td></tr>
<tr class="separator:ad0a2763a7b4a6b429144e74c15b38edc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fb2a9428257588ed12da356a5d83b56"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#a4fb2a9428257588ed12da356a5d83b56">pw_remote_connect_fd</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote, int fd)</td></tr>
<tr class="separator:a4fb2a9428257588ed12da356a5d83b56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeeeb7a214bd317bfa00991c90a5c7149"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#aeeeb7a214bd317bfa00991c90a5c7149">pw_remote_steal_fd</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote)</td></tr>
<tr class="memdesc:aeeeb7a214bd317bfa00991c90a5c7149"><td class="mdescLeft">&#160;</td><td class="mdescRight">Steal the fd of the remote connection or &lt; 0 on error.  <a href="#aeeeb7a214bd317bfa00991c90a5c7149">More...</a><br /></td></tr>
<tr class="separator:aeeeb7a214bd317bfa00991c90a5c7149"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42c7d4feebef9f362aea4241c315422c"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#a42c7d4feebef9f362aea4241c315422c">pw_remote_disconnect</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote)</td></tr>
<tr class="separator:a42c7d4feebef9f362aea4241c315422c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad16e4bdd4e2d45ef70366adf85c3ab61"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="classpw__proxy.html">pw_proxy</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#ad16e4bdd4e2d45ef70366adf85c3ab61">pw_remote_export</a> (struct <a class="el" href="classpw__remote.html">pw_remote</a> *remote, uint32_t type, struct <a class="el" href="structpw__properties.html">pw_properties</a> *<a class="el" href="structprops.html">props</a>, void *object, size_t user_data_size)</td></tr>
<tr class="memdesc:ad16e4bdd4e2d45ef70366adf85c3ab61"><td class="mdescLeft">&#160;</td><td class="mdescRight">run a local node in a remote graph  <a href="#ad16e4bdd4e2d45ef70366adf85c3ab61">More...</a><br /></td></tr>
<tr class="separator:ad16e4bdd4e2d45ef70366adf85c3ab61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf21100a258036a9142d8fba0dcaf8b4"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#abf21100a258036a9142d8fba0dcaf8b4">pw_core_register_export_type</a> (struct <a class="el" href="classpw__core.html">pw_core</a> *core, struct <a class="el" href="structpw__export__type.html">pw_export_type</a> *type)</td></tr>
<tr class="memdesc:abf21100a258036a9142d8fba0dcaf8b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">register a type that can be exported on a remote.  <a href="#abf21100a258036a9142d8fba0dcaf8b4">More...</a><br /></td></tr>
<tr class="separator:abf21100a258036a9142d8fba0dcaf8b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5946139834b60c47633115d949c5dd2c"><td class="memItemLeft" align="right" valign="top">const struct <a class="el" href="structpw__export__type.html">pw_export_type</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="remote_8c.html#a5946139834b60c47633115d949c5dd2c">pw_core_find_export_type</a> (struct <a class="el" href="classpw__core.html">pw_core</a> *core, uint32_t type)</td></tr>
<tr class="separator:a5946139834b60c47633115d949c5dd2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a5946139834b60c47633115d949c5dd2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5946139834b60c47633115d949c5dd2c">&#9670;&nbsp;</a></span>pw_core_find_export_type()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const struct <a class="el" href="structpw__export__type.html">pw_export_type</a>* pw_core_find_export_type </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__core.html">pw_core</a> *&#160;</td>
          <td class="paramname"><em>core</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="structpw__export__type.html#a753c33021857c67d7bd9df56ebd13116">pw_export_type::link</a>, and <a class="el" href="structpw__export__type.html#ab53c3c329e06fd587986642b1450a54c">pw_export_type::type</a>.</p>

<p class="reference">Referenced by <a class="el" href="remote_8c.html#ad16e4bdd4e2d45ef70366adf85c3ab61">pw_remote_export()</a>.</p>

</div>
</div>
<a id="abf21100a258036a9142d8fba0dcaf8b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf21100a258036a9142d8fba0dcaf8b4">&#9670;&nbsp;</a></span>pw_core_register_export_type()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT int pw_core_register_export_type </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__core.html">pw_core</a> *&#160;</td>
          <td class="paramname"><em>core</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structpw__export__type.html">pw_export_type</a> *&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>register a type that can be exported on a remote. </p>
<p>This is usually used by extension modules </p>

<p class="reference">References <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, <a class="el" href="type_8h.html#a3e7088893438300a0ba3defeb6b344a1">pw_type_info()</a>, and <a class="el" href="structpw__export__type.html#ab53c3c329e06fd587986642b1450a54c">pw_export_type::type</a>.</p>

</div>
</div>
<a id="ac851e3269a8ef52bd1a332739fbd1467"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac851e3269a8ef52bd1a332739fbd1467">&#9670;&nbsp;</a></span>pw_remote_add_listener()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT void pw_remote_add_listener </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td>
          <td class="paramname"><em>remote</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct spa_hook *&#160;</td>
          <td class="paramname"><em>listener</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="structpw__remote__events.html">pw_remote_events</a> *&#160;</td>
          <td class="paramname"><em>events</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add listener for events. </p>

</div>
</div>
<a id="ad0a2763a7b4a6b429144e74c15b38edc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0a2763a7b4a6b429144e74c15b38edc">&#9670;&nbsp;</a></span>pw_remote_connect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT int pw_remote_connect </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td>
          <td class="paramname"><em>remote</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4fb2a9428257588ed12da356a5d83b56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fb2a9428257588ed12da356a5d83b56">&#9670;&nbsp;</a></span>pw_remote_connect_fd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT int pw_remote_connect_fd </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td>
          <td class="paramname"><em>remote</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>fd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a0e927d9eff1cc1a6ae723617e4f4abec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e927d9eff1cc1a6ae723617e4f4abec">&#9670;&nbsp;</a></span>pw_remote_destroy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT void pw_remote_destroy </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td>
          <td class="paramname"><em>remote</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, <a class="el" href="structpw__map.html#a962f1ba02a79802e16088c4ae8174804">pw_map::pw_map_clear()</a>, <a class="el" href="mem_8h.html#ab253128cb2d2bc7ad5203d2b65e762c8">pw_mempool_destroy()</a>, <a class="el" href="structpw__properties.html#a6473c3fdc688733f1db2e8d645ba94f4">pw_properties::pw_properties_free()</a>, <a class="el" href="protocol_8h.html#ad3a30029abadec4f4b76ae2cb28a4585">pw_protocol_client_destroy</a>, <a class="el" href="classpw__remote.html#a90de30b9f1762e327e05bf8d6a0047a4">pw_remote::pw_remote_disconnect()</a>, <a class="el" href="remote_8h.html#a9d3d4958e743ad59ba245107a49f2990ac7cb05410928621a69013877b4887a20">PW_REMOTE_STATE_UNCONNECTED</a>, and <a class="el" href="classpw__stream.html#af48f79b09798488557cd6c2f896e0891">pw_stream::pw_stream_destroy()</a>.</p>

</div>
</div>
<a id="a42c7d4feebef9f362aea4241c315422c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a42c7d4feebef9f362aea4241c315422c">&#9670;&nbsp;</a></span>pw_remote_disconnect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT int pw_remote_disconnect </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td>
          <td class="paramname"><em>remote</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, <a class="el" href="protocol_8h.html#a6673120bfc643d6cbeea97535873b4f0">pw_protocol_client_disconnect</a>, and <a class="el" href="classpw__stream.html#aa727d7a41acb9d0ec574f93f01328d30">pw_stream::pw_stream_disconnect()</a>.</p>

</div>
</div>
<a id="ad16e4bdd4e2d45ef70366adf85c3ab61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad16e4bdd4e2d45ef70366adf85c3ab61">&#9670;&nbsp;</a></span>pw_remote_export()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT struct <a class="el" href="classpw__proxy.html">pw_proxy</a>* pw_remote_export </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td>
          <td class="paramname"><em>remote</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structpw__properties.html">pw_properties</a> *&#160;</td>
          <td class="paramname"><em>props</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>user_data_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>run a local node in a remote graph </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">remote</td><td>the remote </td></tr>
    <tr><td class="paramname">type</td><td>the type of object </td></tr>
    <tr><td class="paramname">props</td><td>extra properties </td></tr>
    <tr><td class="paramname">object</td><td>object to export </td></tr>
    <tr><td class="paramname">user_data_size</td><td>extra user data </td></tr>
  </table>
  </dd>
</dl>

<p class="reference">References <a class="el" href="structpw__export__type.html#ac67f110847a66fb1c2f729d7d58c7dec">pw_export_type::func</a>, <a class="el" href="remote_8c.html#a5946139834b60c47633115d949c5dd2c">pw_core_find_export_type()</a>, <a class="el" href="classpw__log.html#a995a5e0ef414e9246fbf2ad56b0ce281">pw_log::pw_log_error</a>, and <a class="el" href="structpw__export__type.html#ab53c3c329e06fd587986642b1450a54c">pw_export_type::type</a>.</p>

</div>
</div>
<a id="a878db8efbc88e0dd2d2d7aeef70ce4a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a878db8efbc88e0dd2d2d7aeef70ce4a6">&#9670;&nbsp;</a></span>pw_remote_find_proxy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT struct <a class="el" href="classpw__proxy.html">pw_proxy</a>* pw_remote_find_proxy </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td>
          <td class="paramname"><em>remote</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the proxy with the given id. </p>

<p class="reference">References <a class="el" href="structpw__map.html#a9656703501cdaa5a82adb9db60f76fc6">pw_map::pw_map_lookup()</a>.</p>

</div>
</div>
<a id="a684cffcb3b4f5aba3aee6b94da659690"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a684cffcb3b4f5aba3aee6b94da659690">&#9670;&nbsp;</a></span>pw_remote_get_client_proxy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT struct <a class="el" href="structpw__client__proxy.html">pw_client_proxy</a>* pw_remote_get_client_proxy </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td>
          <td class="paramname"><em>remote</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the client proxy, can only be called when connected. </p>

</div>
</div>
<a id="a65887a5a1a4985304df23efbe9378d97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65887a5a1a4985304df23efbe9378d97">&#9670;&nbsp;</a></span>pw_remote_get_core()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT struct <a class="el" href="classpw__core.html">pw_core</a>* pw_remote_get_core </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td>
          <td class="paramname"><em>remote</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the core used to construct this remote. </p>

</div>
</div>
<a id="a6e9f873d016e58405f1d15d374a5e334"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e9f873d016e58405f1d15d374a5e334">&#9670;&nbsp;</a></span>pw_remote_get_core_proxy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT struct <a class="el" href="structpw__core__proxy.html">pw_core_proxy</a>* pw_remote_get_core_proxy </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td>
          <td class="paramname"><em>remote</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the core proxy, can only be called when connected. </p>

</div>
</div>
<a id="a53ca7a91a46ced17c8a8d3945467505d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53ca7a91a46ced17c8a8d3945467505d">&#9670;&nbsp;</a></span>pw_remote_get_properties()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT const struct <a class="el" href="structpw__properties.html">pw_properties</a>* pw_remote_get_properties </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td>
          <td class="paramname"><em>remote</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the remote properties. </p>

<p class="reference">Referenced by <a class="el" href="stream_8c.html#a4b67742e1d3106776f4a701958bcbb7d">pw_stream_new()</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="remote_8c_a53ca7a91a46ced17c8a8d3945467505d_icgraph.png" border="0" usemap="#remote_8c_a53ca7a91a46ced17c8a8d3945467505d_icgraph" alt=""/></div>
<map name="remote_8c_a53ca7a91a46ced17c8a8d3945467505d_icgraph" id="remote_8c_a53ca7a91a46ced17c8a8d3945467505d_icgraph">
<area shape="rect"  title="Get the remote properties." alt="" coords="181,5,377,32"/>
<area shape="rect"  href="stream_8c.html#a4b67742e1d3106776f4a701958bcbb7d" title=" " alt="" coords="5,5,133,32"/>
</map>
</div>

</div>
</div>
<a id="a8ae4425dba1c9a7519963e7865df2eca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ae4425dba1c9a7519963e7865df2eca">&#9670;&nbsp;</a></span>pw_remote_get_state()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT enum <a class="el" href="remote_8h.html#a9d3d4958e743ad59ba245107a49f2990">pw_remote_state</a> pw_remote_get_state </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td>
          <td class="paramname"><em>remote</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char **&#160;</td>
          <td class="paramname"><em>error</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current state, <em>error</em> is set when state is <a class="el" href="remote_8h.html#a9d3d4958e743ad59ba245107a49f2990a5837f988b1fa15ce4c1e485b082aa52e">PW_REMOTE_STATE_ERROR</a>. </p>

</div>
</div>
<a id="ace3c14f7bb7f3d02341fe02b57301466"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace3c14f7bb7f3d02341fe02b57301466">&#9670;&nbsp;</a></span>pw_remote_get_user_data()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT void* pw_remote_get_user_data </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td>
          <td class="paramname"><em>remote</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the user_data. </p>
<p>The size was given in <a class="el" href="classpw__remote.html#ad5f598eb7abbac2d8538992f3f6c07f7">pw_remote_new</a> </p>

</div>
</div>
<a id="ab4d94be2412050ec56ad495ccf75f9b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4d94be2412050ec56ad495ccf75f9b3">&#9670;&nbsp;</a></span>pw_remote_new()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT struct <a class="el" href="classpw__remote.html">pw_remote</a>* pw_remote_new </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__core.html">pw_core</a> *&#160;</td>
          <td class="paramname"><em>core</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structpw__properties.html">pw_properties</a> *&#160;</td>
          <td class="paramname"><em>properties</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>user_data_size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="protocol_8h.html#ab10469364d146903d93e85a936a933bb">pw_core_find_protocol()</a>, <a class="el" href="classpw__pipewire.html#aaa9f7d9822aeae824c0e006d34b926f5">pw_pipewire::pw_fill_remote_properties()</a>, <a class="el" href="keys_8h.html#a75a6c78ce2de6d3dc5ed23abecdbc3bd">PW_KEY_PROTOCOL</a>, <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, <a class="el" href="classpw__log.html#a995a5e0ef414e9246fbf2ad56b0ce281">pw_log::pw_log_error</a>, <a class="el" href="structpw__map.html#acdd13c22e79cecf19a28d30e1154d323">pw_map::pw_map_init()</a>, <a class="el" href="mem_8h.html#ae5e42242439fef39fd696db151642513">pw_mempool_new()</a>, <a class="el" href="classpw__module.html#a6162cea8c99d7ac59d4479e3204bb0d4">pw_module::pw_module_load()</a>, <a class="el" href="structpw__properties.html#a6473c3fdc688733f1db2e8d645ba94f4">pw_properties::pw_properties_free()</a>, <a class="el" href="structpw__properties.html#aef040055887634f636bb26594091c31c">pw_properties::pw_properties_get()</a>, <a class="el" href="structpw__properties.html#aea9bdd771760e44ca7d77b5113297610">pw_properties::pw_properties_new()</a>, <a class="el" href="protocol_8h.html#a10397b3ea74c80703140242313ab52df">pw_protocol_new_client</a>, <a class="el" href="remote_8h.html#a9d3d4958e743ad59ba245107a49f2990ac7cb05410928621a69013877b4887a20">PW_REMOTE_STATE_UNCONNECTED</a>, and <a class="el" href="structimpl.html#a6eaec9ea671abe6434946657ac2f1bae">impl::this</a>.</p>

</div>
</div>
<a id="a8b79ea8f61f89fc8a35a3ed3823930dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b79ea8f61f89fc8a35a3ed3823930dd">&#9670;&nbsp;</a></span>pw_remote_state_as_string()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT const char* pw_remote_state_as_string </td>
          <td>(</td>
          <td class="paramtype">enum <a class="el" href="remote_8h.html#a9d3d4958e743ad59ba245107a49f2990">pw_remote_state</a>&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="remote_8h.html#a9d3d4958e743ad59ba245107a49f2990abdb3d80d1ecc30413438d5fe7f749498">PW_REMOTE_STATE_CONNECTED</a>, <a class="el" href="remote_8h.html#a9d3d4958e743ad59ba245107a49f2990a3e408dc7fd66c3add909d9ba05e67968">PW_REMOTE_STATE_CONNECTING</a>, <a class="el" href="remote_8h.html#a9d3d4958e743ad59ba245107a49f2990a5837f988b1fa15ce4c1e485b082aa52e">PW_REMOTE_STATE_ERROR</a>, and <a class="el" href="remote_8h.html#a9d3d4958e743ad59ba245107a49f2990ac7cb05410928621a69013877b4887a20">PW_REMOTE_STATE_UNCONNECTED</a>.</p>

</div>
</div>
<a id="aeeeb7a214bd317bfa00991c90a5c7149"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeeeb7a214bd317bfa00991c90a5c7149">&#9670;&nbsp;</a></span>pw_remote_steal_fd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT int pw_remote_steal_fd </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td>
          <td class="paramname"><em>remote</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Steal the fd of the remote connection or &lt; 0 on error. </p>
<p>The remote will be in the unconnected state after this call. </p>

<p class="reference">References <a class="el" href="protocol_8h.html#aeae48475b735761c22837afd53e2ce9e">pw_protocol_client_steal_fd</a>.</p>

</div>
</div>
<a id="a13b046fa7cea5ce6e8dd87399b3ef0e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13b046fa7cea5ce6e8dd87399b3ef0e6">&#9670;&nbsp;</a></span>pw_remote_update_properties()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SPA_EXPORT int pw_remote_update_properties </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="classpw__remote.html">pw_remote</a> *&#160;</td>
          <td class="paramname"><em>remote</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct spa_dict *&#160;</td>
          <td class="paramname"><em>dict</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Update properties. </p>

<p class="reference">References <a class="el" href="structpw__properties.html#a70aa5816bde60f5511f2308971794881">pw_properties::dict</a>, <a class="el" href="interfaces_8h.html#a8ebd3b2fe456f76af1d38a017ae4354a">pw_client_proxy_update_properties</a>, <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, and <a class="el" href="structpw__properties.html#a15a72cca30ebffc472fb46cfa8b22c43">pw_properties::pw_properties_update()</a>.</p>

</div>
</div>
</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="remote_8c.html">remote.c</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>