summaryrefslogtreecommitdiff
path: root/client_8c.html
diff options
context:
space:
mode:
Diffstat (limited to 'client_8c.html')
-rw-r--r--client_8c.html486
1 files changed, 486 insertions, 0 deletions
diff --git a/client_8c.html b/client_8c.html
new file mode 100644
index 00000000..f59c1111
--- /dev/null
+++ b/client_8c.html
@@ -0,0 +1,486 @@
+<!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: client.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('client_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">client.c File Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><div class="dynheader">
+Include dependency graph for client.c:</div>
+<div class="dyncontent">
+<div class="center"><img src="client_8c__incl.png" border="0" usemap="#client_8c" alt=""/></div>
+<map name="client_8c" id="client_8c">
+<area shape="rect" title=" " alt="" coords="770,5,839,32"/>
+<area shape="rect" title=" " alt="" coords="5,155,73,181"/>
+<area shape="rect" title=" " alt="" coords="843,80,913,107"/>
+<area shape="rect" href="interfaces_8h.html" title=" " alt="" coords="339,80,497,107"/>
+<area shape="rect" href="client_8h.html" title=" " alt="" coords="614,453,745,480"/>
+<area shape="rect" href="resource_8h.html" title=" " alt="" coords="317,528,468,555"/>
+<area shape="rect" title=" " alt="" coords="937,80,1077,107"/>
+<area shape="rect" href="type_8h.html" title=" " alt="" coords="1354,80,1477,107"/>
+<area shape="rect" title=" " alt="" coords="693,155,767,181"/>
+<area shape="rect" title=" " alt="" coords="1288,603,1409,629"/>
+<area shape="rect" title=" " alt="" coords="217,603,342,629"/>
+<area shape="rect" title=" " alt="" coords="506,155,669,181"/>
+<area shape="rect" title=" " alt="" coords="41,603,190,629"/>
+<area shape="rect" href="introspect_8h.html" title=" " alt="" coords="492,528,651,555"/>
+<area shape="rect" href="proxy_8h.html" title=" " alt="" coords="301,155,431,181"/>
+<area shape="rect" href="permission_8h.html" title=" " alt="" coords="1265,528,1432,555"/>
+<area shape="rect" href="properties_8h.html" title=" " alt="" coords="815,603,975,629"/>
+<area shape="rect" title=" " alt="" coords="837,677,954,704"/>
+<area shape="rect" href="protocol_8h.html" title=" " alt="" coords="1041,229,1187,256"/>
+<area shape="rect" title=" " alt="" coords="1057,304,1171,331"/>
+<area shape="rect" href="core_8h.html" title=" " alt="" coords="778,304,901,331"/>
+<area shape="rect" href="utils_8h.html" title=" " alt="" coords="1315,304,1438,331"/>
+<area shape="rect" href="global_8h.html" title=" " alt="" coords="828,528,963,555"/>
+<area shape="rect" href="loop_8h.html" title=" " alt="" coords="947,379,1070,405"/>
+<area shape="rect" href="factory_8h.html" title=" " alt="" coords="710,379,849,405"/>
+<area shape="rect" title=" " alt="" coords="996,453,1139,480"/>
+<area shape="rect" title=" " alt="" coords="1316,379,1429,405"/>
+<area shape="rect" title=" " alt="" coords="1606,155,1729,181"/>
+</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:a4720b4020cfdb50e4986d559d5417139"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="client_8c.html#a4720b4020cfdb50e4986d559d5417139">pw_client_register</a> (struct <a class="el" href="classpw__client.html">pw_client</a> *client, struct <a class="el" href="classpw__client.html">pw_client</a> *owner, struct <a class="el" href="classpw__global.html">pw_global</a> *parent, struct <a class="el" href="structpw__properties.html">pw_properties</a> *properties)</td></tr>
+<tr class="memdesc:a4720b4020cfdb50e4986d559d5417139"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finish configuration and register a client. <a href="#a4720b4020cfdb50e4986d559d5417139">More...</a><br /></td></tr>
+<tr class="separator:a4720b4020cfdb50e4986d559d5417139"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a54846634129d1587bf697ec04654bffc"><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="client_8c.html#a54846634129d1587bf697ec04654bffc">pw_client_get_core</a> (struct <a class="el" href="classpw__client.html">pw_client</a> *client)</td></tr>
+<tr class="memdesc:a54846634129d1587bf697ec04654bffc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the core used to create this client. <a href="#a54846634129d1587bf697ec04654bffc">More...</a><br /></td></tr>
+<tr class="separator:a54846634129d1587bf697ec04654bffc"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a1cae203c39f7dcd819a9941c99ae99e4"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="classpw__resource.html">pw_resource</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="client_8c.html#a1cae203c39f7dcd819a9941c99ae99e4">pw_client_get_core_resource</a> (struct <a class="el" href="classpw__client.html">pw_client</a> *client)</td></tr>
+<tr class="memdesc:a1cae203c39f7dcd819a9941c99ae99e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the client core resource. <a href="#a1cae203c39f7dcd819a9941c99ae99e4">More...</a><br /></td></tr>
+<tr class="separator:a1cae203c39f7dcd819a9941c99ae99e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a075f521e79ad083ffeca6ce6fd0d50a6"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="classpw__resource.html">pw_resource</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="client_8c.html#a075f521e79ad083ffeca6ce6fd0d50a6">pw_client_find_resource</a> (struct <a class="el" href="classpw__client.html">pw_client</a> *client, uint32_t id)</td></tr>
+<tr class="memdesc:a075f521e79ad083ffeca6ce6fd0d50a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a resource with the given id. <a href="#a075f521e79ad083ffeca6ce6fd0d50a6">More...</a><br /></td></tr>
+<tr class="separator:a075f521e79ad083ffeca6ce6fd0d50a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a67e4f6efbe496e088f51a9bd644d522a"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT struct <a class="el" href="classpw__global.html">pw_global</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="client_8c.html#a67e4f6efbe496e088f51a9bd644d522a">pw_client_get_global</a> (struct <a class="el" href="classpw__client.html">pw_client</a> *client)</td></tr>
+<tr class="memdesc:a67e4f6efbe496e088f51a9bd644d522a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the global associated with this client. <a href="#a67e4f6efbe496e088f51a9bd644d522a">More...</a><br /></td></tr>
+<tr class="separator:a67e4f6efbe496e088f51a9bd644d522a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a057a2b40f029881d3d15a6a19abad91b"><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="client_8c.html#a057a2b40f029881d3d15a6a19abad91b">pw_client_get_properties</a> (struct <a class="el" href="classpw__client.html">pw_client</a> *client)</td></tr>
+<tr class="memdesc:a057a2b40f029881d3d15a6a19abad91b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the client properties. <a href="#a057a2b40f029881d3d15a6a19abad91b">More...</a><br /></td></tr>
+<tr class="separator:a057a2b40f029881d3d15a6a19abad91b"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a1aef43e9f06bbeb014ae03fadc8a4076"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="client_8c.html#a1aef43e9f06bbeb014ae03fadc8a4076">pw_client_get_user_data</a> (struct <a class="el" href="classpw__client.html">pw_client</a> *client)</td></tr>
+<tr class="memdesc:a1aef43e9f06bbeb014ae03fadc8a4076"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the client user data. <a href="#a1aef43e9f06bbeb014ae03fadc8a4076">More...</a><br /></td></tr>
+<tr class="separator:a1aef43e9f06bbeb014ae03fadc8a4076"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a17d1ae04bdadb2f537ae3c22928b8375"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="client_8c.html#a17d1ae04bdadb2f537ae3c22928b8375">pw_client_add_listener</a> (struct <a class="el" href="classpw__client.html">pw_client</a> *client, struct spa_hook *listener, const struct <a class="el" href="structpw__client__events.html">pw_client_events</a> *events, void *<a class="el" href="structdata.html">data</a>)</td></tr>
+<tr class="memdesc:a17d1ae04bdadb2f537ae3c22928b8375"><td class="mdescLeft">&#160;</td><td class="mdescRight">listen to events from this client <a href="#a17d1ae04bdadb2f537ae3c22928b8375">More...</a><br /></td></tr>
+<tr class="separator:a17d1ae04bdadb2f537ae3c22928b8375"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a67f959f50bda8d63e9d6593fd804f6f1"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT const struct <a class="el" href="structpw__client__info.html">pw_client_info</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="client_8c.html#a67f959f50bda8d63e9d6593fd804f6f1">pw_client_get_info</a> (struct <a class="el" href="classpw__client.html">pw_client</a> *client)</td></tr>
+<tr class="memdesc:a67f959f50bda8d63e9d6593fd804f6f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the client information. <a href="#a67f959f50bda8d63e9d6593fd804f6f1">More...</a><br /></td></tr>
+<tr class="separator:a67f959f50bda8d63e9d6593fd804f6f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aa4a8794d28485a52146b71c1fad7a479"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="client_8c.html#aa4a8794d28485a52146b71c1fad7a479">pw_client_update_permissions</a> (struct <a class="el" href="classpw__client.html">pw_client</a> *client, uint32_t n_permissions, const struct <a class="el" href="structpw__permission.html">pw_permission</a> *permissions)</td></tr>
+<tr class="memdesc:aa4a8794d28485a52146b71c1fad7a479"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the client permissions. <a href="#aa4a8794d28485a52146b71c1fad7a479">More...</a><br /></td></tr>
+<tr class="separator:aa4a8794d28485a52146b71c1fad7a479"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ad20b53531ca73dcf169bed0fcf16ad50"><td class="memItemLeft" align="right" valign="top">SPA_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="client_8c.html#ad20b53531ca73dcf169bed0fcf16ad50">pw_client_set_busy</a> (struct <a class="el" href="classpw__client.html">pw_client</a> *client, bool busy)</td></tr>
+<tr class="memdesc:ad20b53531ca73dcf169bed0fcf16ad50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mark the client busy. <a href="#ad20b53531ca73dcf169bed0fcf16ad50">More...</a><br /></td></tr>
+<tr class="separator:ad20b53531ca73dcf169bed0fcf16ad50"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="a17d1ae04bdadb2f537ae3c22928b8375"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a17d1ae04bdadb2f537ae3c22928b8375">&#9670;&nbsp;</a></span>pw_client_add_listener()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">SPA_EXPORT void pw_client_add_listener </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="classpw__client.html">pw_client</a> *&#160;</td>
+ <td class="paramname"><em>client</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__client__events.html">pw_client_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>listen to events from this client </p>
+
+</div>
+</div>
+<a id="a075f521e79ad083ffeca6ce6fd0d50a6"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a075f521e79ad083ffeca6ce6fd0d50a6">&#9670;&nbsp;</a></span>pw_client_find_resource()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">SPA_EXPORT struct <a class="el" href="classpw__resource.html">pw_resource</a>* pw_client_find_resource </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="classpw__client.html">pw_client</a> *&#160;</td>
+ <td class="paramname"><em>client</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 a resource 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="a54846634129d1587bf697ec04654bffc"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a54846634129d1587bf697ec04654bffc">&#9670;&nbsp;</a></span>pw_client_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_client_get_core </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="classpw__client.html">pw_client</a> *&#160;</td>
+ <td class="paramname"><em>client</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get the core used to create this client. </p>
+
+</div>
+</div>
+<a id="a1cae203c39f7dcd819a9941c99ae99e4"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a1cae203c39f7dcd819a9941c99ae99e4">&#9670;&nbsp;</a></span>pw_client_get_core_resource()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">SPA_EXPORT struct <a class="el" href="classpw__resource.html">pw_resource</a>* pw_client_get_core_resource </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="classpw__client.html">pw_client</a> *&#160;</td>
+ <td class="paramname"><em>client</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get the client core resource. </p>
+
+</div>
+</div>
+<a id="a67e4f6efbe496e088f51a9bd644d522a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a67e4f6efbe496e088f51a9bd644d522a">&#9670;&nbsp;</a></span>pw_client_get_global()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">SPA_EXPORT struct <a class="el" href="classpw__global.html">pw_global</a>* pw_client_get_global </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="classpw__client.html">pw_client</a> *&#160;</td>
+ <td class="paramname"><em>client</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get the global associated with this client. </p>
+
+</div>
+</div>
+<a id="a67f959f50bda8d63e9d6593fd804f6f1"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a67f959f50bda8d63e9d6593fd804f6f1">&#9670;&nbsp;</a></span>pw_client_get_info()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">SPA_EXPORT const struct <a class="el" href="structpw__client__info.html">pw_client_info</a>* pw_client_get_info </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="classpw__client.html">pw_client</a> *&#160;</td>
+ <td class="paramname"><em>client</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get the client information. </p>
+
+</div>
+</div>
+<a id="a057a2b40f029881d3d15a6a19abad91b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a057a2b40f029881d3d15a6a19abad91b">&#9670;&nbsp;</a></span>pw_client_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_client_get_properties </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="classpw__client.html">pw_client</a> *&#160;</td>
+ <td class="paramname"><em>client</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get the client properties. </p>
+
+</div>
+</div>
+<a id="a1aef43e9f06bbeb014ae03fadc8a4076"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a1aef43e9f06bbeb014ae03fadc8a4076">&#9670;&nbsp;</a></span>pw_client_get_user_data()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">SPA_EXPORT void* pw_client_get_user_data </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="classpw__client.html">pw_client</a> *&#160;</td>
+ <td class="paramname"><em>client</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Get the client user data. </p>
+
+</div>
+</div>
+<a id="a4720b4020cfdb50e4986d559d5417139"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a4720b4020cfdb50e4986d559d5417139">&#9670;&nbsp;</a></span>pw_client_register()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">SPA_EXPORT int pw_client_register </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="classpw__client.html">pw_client</a> *&#160;</td>
+ <td class="paramname"><em>client</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="classpw__client.html">pw_client</a> *&#160;</td>
+ <td class="paramname"><em>owner</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">struct <a class="el" href="classpw__global.html">pw_global</a> *&#160;</td>
+ <td class="paramname"><em>parent</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>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Finish configuration and register a client. </p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramname">client</td><td>the client to register </td></tr>
+ <tr><td class="paramname">owner</td><td>optional owner </td></tr>
+ <tr><td class="paramname">parent</td><td>the client parent </td></tr>
+ <tr><td class="paramname">properties</td><td>extra properties </td></tr>
+ </table>
+ </dd>
+</dl>
+
+<p class="reference">References <a class="el" href="classpw__global.html#a70cf2ad61f1f9b7c1cb40a1ea6e73ce5">pw_global::pw_global_new()</a>, <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, <a class="el" href="type_8h.html#a06fc87d81c62e9abb8790b6e5713c55babd2fb894d1e22ed65eb969e1ee7a9a27">PW_TYPE_INTERFACE_Client</a>, and <a class="el" href="interfaces_8h.html#af6c00b9fb9ffc28aab79558976ef2989">PW_VERSION_CLIENT_PROXY</a>.</p>
+
+</div>
+</div>
+<a id="ad20b53531ca73dcf169bed0fcf16ad50"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad20b53531ca73dcf169bed0fcf16ad50">&#9670;&nbsp;</a></span>pw_client_set_busy()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">SPA_EXPORT void pw_client_set_busy </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="classpw__client.html">pw_client</a> *&#160;</td>
+ <td class="paramname"><em>client</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">bool&#160;</td>
+ <td class="paramname"><em>busy</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Mark the client busy. </p>
+<p>This can be used when an asynchronous operation is started and no further processing is allowed to happen for the client </p>
+
+<p class="reference">References <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="client_8c.html#aa4a8794d28485a52146b71c1fad7a479">pw_client_update_permissions()</a>.</p>
+<div class="dynheader">
+Here is the caller graph for this function:</div>
+<div class="dyncontent">
+<div class="center"><img src="client_8c_ad20b53531ca73dcf169bed0fcf16ad50_icgraph.png" border="0" usemap="#client_8c_ad20b53531ca73dcf169bed0fcf16ad50_icgraph" alt=""/></div>
+<map name="client_8c_ad20b53531ca73dcf169bed0fcf16ad50_icgraph" id="client_8c_ad20b53531ca73dcf169bed0fcf16ad50_icgraph">
+<area shape="rect" title="Mark the client busy." alt="" coords="276,5,425,32"/>
+<area shape="rect" href="client_8c.html#aa4a8794d28485a52146b71c1fad7a479" title="Update the client permissions." alt="" coords="5,5,228,32"/>
+</map>
+</div>
+
+</div>
+</div>
+<a id="aa4a8794d28485a52146b71c1fad7a479"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aa4a8794d28485a52146b71c1fad7a479">&#9670;&nbsp;</a></span>pw_client_update_permissions()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">SPA_EXPORT int pw_client_update_permissions </td>
+ <td>(</td>
+ <td class="paramtype">struct <a class="el" href="classpw__client.html">pw_client</a> *&#160;</td>
+ <td class="paramname"><em>client</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t&#160;</td>
+ <td class="paramname"><em>n_permissions</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">const struct <a class="el" href="structpw__permission.html">pw_permission</a> *&#160;</td>
+ <td class="paramname"><em>permissions</em>&#160;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p>Update the client permissions. </p>
+
+<p class="reference">References <a class="el" href="structpw__permission.html#a317a76bba04bd0dcad6e5bca65f9fa92">pw_permission::id</a>, <a class="el" href="structpw__permission.html#ac890cf00fa67d8667c9be52276e8a6f3">pw_permission::permissions</a>, <a class="el" href="client_8c.html#ad20b53531ca73dcf169bed0fcf16ad50">pw_client_set_busy()</a>, <a class="el" href="core_8h.html#a2fb1ec794839834c891c627441502e3e">pw_core_find_global()</a>, <a class="el" href="global_8h.html#ab916775315ec53e0d1fa5dac6d184a41">pw_global_update_permissions()</a>, <a class="el" href="classpw__log.html#a98a49c37f11de525890014e927e34d02">pw_log::pw_log_debug</a>, and <a class="el" href="classpw__log.html#a2d2c2dc7d35b7104f5caef08df416767">pw_log::pw_log_warn</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="client_8c.html">client.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>