summaryrefslogtreecommitdiff
path: root/permission_8h.html
blob: 11a3cec8e7211106ec37388902c9deeb00e955c0 (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
<!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: permission.h 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('permission_8h.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a>  </div>
  <div class="headertitle">
<div class="title">permission.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><div class="dynheader">
Include dependency graph for permission.h:</div>
<div class="dyncontent">
<div class="center"><img src="permission_8h__incl.png" border="0" usemap="#permission_8h" alt=""/></div>
<map name="permission_8h" id="permission_8h">
<area shape="rect"  title=" " alt="" coords="13,5,119,32"/>
<area shape="rect"  title=" " alt="" coords="5,80,127,107"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="permission_8h__dep__incl.png" border="0" usemap="#permission_8hdep" alt=""/></div>
<map name="permission_8hdep" id="permission_8hdep">
<area shape="rect"  title=" " alt="" coords="1579,5,1685,32"/>
<area shape="rect"  href="client_8h.html" title=" " alt="" coords="1181,80,1251,107"/>
<area shape="rect"  href="interfaces_8h.html" title=" " alt="" coords="1343,379,1441,405"/>
<area shape="rect"  href="core_8h.html" title=" " alt="" coords="946,155,1009,181"/>
<area shape="rect"  href="pipewire_8h.html" title=" " alt="" coords="528,528,619,555"/>
<area shape="rect"  href="global_8h.html" title=" " alt="" coords="1179,229,1253,256"/>
<area shape="rect"  href="factory_8h.html" title=" " alt="" coords="923,304,1002,331"/>
<area shape="rect"  href="client_8c.html" title=" " alt="" coords="2035,453,2104,480"/>
<area shape="rect"  href="resource_8h.html" title=" " alt="" coords="1277,229,1368,256"/>
<area shape="rect"  href="control_8h.html" title=" " alt="" coords="775,379,854,405"/>
<area shape="rect"  href="device_8h.html" title=" " alt="" coords="1668,304,1745,331"/>
<area shape="rect"  href="core_8c.html" title=" " alt="" coords="1204,603,1265,629"/>
<area shape="rect"  href="node_8h.html" title=" " alt="" coords="781,304,848,331"/>
<area shape="rect"  href="port_8h.html" title=" " alt="" coords="475,379,535,405"/>
<area shape="rect"  href="link_8h.html" title=" " alt="" coords="427,453,485,480"/>
<area shape="rect"  href="remote_8h.html" title=" " alt="" coords="166,379,247,405"/>
<area shape="rect"  href="proxy_8c.html" title=" " alt="" coords="233,453,301,480"/>
<area shape="rect"  href="module_8h.html" title=" " alt="" coords="1067,379,1149,405"/>
<area shape="rect"  href="protocol_8h.html" title=" " alt="" coords="701,229,787,256"/>
<area shape="rect"  href="control_8c.html" title=" " alt="" coords="763,453,842,480"/>
<area shape="rect"  href="link_8c.html" title=" " alt="" coords="953,528,1010,555"/>
<area shape="rect"  href="device_8c.html" title=" " alt="" coords="1557,603,1633,629"/>
<area shape="rect"  href="introspect_8c.html" title=" " alt="" coords="5,603,104,629"/>
<area shape="rect"  href="loop_8c.html" title=" " alt="" coords="509,603,571,629"/>
<area shape="rect"  href="pipewire_8c.html" title=" " alt="" coords="595,603,685,629"/>
<area shape="rect"  href="port_8c.html" title=" " alt="" coords="427,603,485,629"/>
<area shape="rect"  href="remote_8c.html" title=" " alt="" coords="709,603,789,629"/>
<area shape="rect"  href="stream_8c.html" title=" " alt="" coords="258,603,337,629"/>
<area shape="rect"  href="global_8c.html" title=" " alt="" coords="1722,453,1795,480"/>
<area shape="rect"  href="node_8c.html" title=" " alt="" coords="1633,453,1698,480"/>
<area shape="rect"  href="stream_8h.html" title=" " alt="" coords="77,453,157,480"/>
<area shape="rect"  href="factory_8c.html" title=" " alt="" coords="1069,453,1147,480"/>
<area shape="rect"  href="module_8c.html" title=" " alt="" coords="1272,453,1355,480"/>
<area shape="rect"  href="proxy_8h.html" title=" " alt="" coords="525,304,595,331"/>
<area shape="rect"  href="resource_8c.html" title=" " alt="" coords="1819,453,1909,480"/>
<area shape="rect"  href="protocol_8c.html" title=" " alt="" coords="619,304,706,331"/>
</map>
</div>
</div>
<p><a href="permission_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__permission.html">pw_permission</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">a PipeWire permission  <a href="structpw__permission.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a2a31ac243ad99915377319b663daf426"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="permission_8h.html#a2a31ac243ad99915377319b663daf426">PW_PERM_R</a>&#160;&#160;&#160;0400</td></tr>
<tr class="memdesc:a2a31ac243ad99915377319b663daf426"><td class="mdescLeft">&#160;</td><td class="mdescRight">object can be seen and events can be received  <a href="#a2a31ac243ad99915377319b663daf426">More...</a><br /></td></tr>
<tr class="separator:a2a31ac243ad99915377319b663daf426"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97d33a5e044ee126fd9991b8c70424aa"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="permission_8h.html#a97d33a5e044ee126fd9991b8c70424aa">PW_PERM_W</a>&#160;&#160;&#160;0200</td></tr>
<tr class="memdesc:a97d33a5e044ee126fd9991b8c70424aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">methods can be called that modify the object  <a href="#a97d33a5e044ee126fd9991b8c70424aa">More...</a><br /></td></tr>
<tr class="separator:a97d33a5e044ee126fd9991b8c70424aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a277828556118843e682c652bb1dc9c8e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="permission_8h.html#a277828556118843e682c652bb1dc9c8e">PW_PERM_X</a>&#160;&#160;&#160;0100</td></tr>
<tr class="memdesc:a277828556118843e682c652bb1dc9c8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">methods can be called on the object.  <a href="#a277828556118843e682c652bb1dc9c8e">More...</a><br /></td></tr>
<tr class="separator:a277828556118843e682c652bb1dc9c8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77df16320c3bb338666f55b2b21e6e47"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="permission_8h.html#a77df16320c3bb338666f55b2b21e6e47">PW_PERM_RWX</a>&#160;&#160;&#160;(<a class="el" href="permission_8h.html#a2a31ac243ad99915377319b663daf426">PW_PERM_R</a>|<a class="el" href="permission_8h.html#a97d33a5e044ee126fd9991b8c70424aa">PW_PERM_W</a>|<a class="el" href="permission_8h.html#a277828556118843e682c652bb1dc9c8e">PW_PERM_X</a>)</td></tr>
<tr class="separator:a77df16320c3bb338666f55b2b21e6e47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2668b1c9a4b1e4b68fefe81e55d1ee59"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="permission_8h.html#a2668b1c9a4b1e4b68fefe81e55d1ee59">PW_PERM_IS_R</a>(p)&#160;&#160;&#160;(((p)&amp;<a class="el" href="permission_8h.html#a2a31ac243ad99915377319b663daf426">PW_PERM_R</a>) == <a class="el" href="permission_8h.html#a2a31ac243ad99915377319b663daf426">PW_PERM_R</a>)</td></tr>
<tr class="separator:a2668b1c9a4b1e4b68fefe81e55d1ee59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa61804de7cf6003defd8b26ef488ce56"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="permission_8h.html#aa61804de7cf6003defd8b26ef488ce56">PW_PERM_IS_W</a>(p)&#160;&#160;&#160;(((p)&amp;<a class="el" href="permission_8h.html#a97d33a5e044ee126fd9991b8c70424aa">PW_PERM_W</a>) == <a class="el" href="permission_8h.html#a97d33a5e044ee126fd9991b8c70424aa">PW_PERM_W</a>)</td></tr>
<tr class="separator:aa61804de7cf6003defd8b26ef488ce56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5dca3f2e9a9b71cc78525893eb80355b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="permission_8h.html#a5dca3f2e9a9b71cc78525893eb80355b">PW_PERM_IS_X</a>(p)&#160;&#160;&#160;(((p)&amp;<a class="el" href="permission_8h.html#a277828556118843e682c652bb1dc9c8e">PW_PERM_X</a>) == <a class="el" href="permission_8h.html#a277828556118843e682c652bb1dc9c8e">PW_PERM_X</a>)</td></tr>
<tr class="separator:a5dca3f2e9a9b71cc78525893eb80355b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6b729cf828ec6417f5ba997560fda2b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="permission_8h.html#aa6b729cf828ec6417f5ba997560fda2b">PW_PERMISSION_INIT</a>(id,  p)&#160;&#160;&#160;(struct <a class="el" href="structpw__permission.html">pw_permission</a>){ (id), (p) }</td></tr>
<tr class="separator:aa6b729cf828ec6417f5ba997560fda2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a2668b1c9a4b1e4b68fefe81e55d1ee59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2668b1c9a4b1e4b68fefe81e55d1ee59">&#9670;&nbsp;</a></span>PW_PERM_IS_R</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PW_PERM_IS_R</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">p</td><td>)</td>
          <td>&#160;&#160;&#160;(((p)&amp;<a class="el" href="permission_8h.html#a2a31ac243ad99915377319b663daf426">PW_PERM_R</a>) == <a class="el" href="permission_8h.html#a2a31ac243ad99915377319b663daf426">PW_PERM_R</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PW_PERM_IS_W</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">p</td><td>)</td>
          <td>&#160;&#160;&#160;(((p)&amp;<a class="el" href="permission_8h.html#a97d33a5e044ee126fd9991b8c70424aa">PW_PERM_W</a>) == <a class="el" href="permission_8h.html#a97d33a5e044ee126fd9991b8c70424aa">PW_PERM_W</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PW_PERM_IS_X</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">p</td><td>)</td>
          <td>&#160;&#160;&#160;(((p)&amp;<a class="el" href="permission_8h.html#a277828556118843e682c652bb1dc9c8e">PW_PERM_X</a>) == <a class="el" href="permission_8h.html#a277828556118843e682c652bb1dc9c8e">PW_PERM_X</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PW_PERM_R&#160;&#160;&#160;0400</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>object can be seen and events can be received </p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PW_PERM_RWX&#160;&#160;&#160;(<a class="el" href="permission_8h.html#a2a31ac243ad99915377319b663daf426">PW_PERM_R</a>|<a class="el" href="permission_8h.html#a97d33a5e044ee126fd9991b8c70424aa">PW_PERM_W</a>|<a class="el" href="permission_8h.html#a277828556118843e682c652bb1dc9c8e">PW_PERM_X</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PW_PERM_W&#160;&#160;&#160;0200</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>methods can be called that modify the object </p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PW_PERM_X&#160;&#160;&#160;0100</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>methods can be called on the object. </p>
<p>The W flag must be present in order to call methods that modify the object. </p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PW_PERMISSION_INIT</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">id, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">p&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(struct <a class="el" href="structpw__permission.html">pw_permission</a>){ (id), (p) }</td>
        </tr>
      </table>
</div><div class="memdoc">

</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="permission_8h.html">permission.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>