summaryrefslogtreecommitdiff
path: root/build/doc/html/structpw__array.html
blob: 9cafaaa46b094013ce39086ecd82bff50c229464 (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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PipeWire: pw_array Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">PipeWire
   &#160;<span id="projectnumber">0.2.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structpw__array.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">pw_array Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>An array object.  
 <a href="structpw__array.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:adc116ecc65a6fb6f1d207e64c167c6b3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__array.html#adc116ecc65a6fb6f1d207e64c167c6b3">pw_array_get_len</a>(a,  t)&#160;&#160;&#160;<a class="el" href="array_8h.html#aedd836346a7503ad9b55f6db1135c7eb">pw_array_get_len_s</a>(a,sizeof(t))</td></tr>
<tr class="memdesc:adc116ecc65a6fb6f1d207e64c167c6b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of items of type <em>t</em> in array.  <a href="#adc116ecc65a6fb6f1d207e64c167c6b3">More...</a><br /></td></tr>
<tr class="separator:adc116ecc65a6fb6f1d207e64c167c6b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0a7f1be44fce5380425b1ffcc674cf2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__array.html#ab0a7f1be44fce5380425b1ffcc674cf2">pw_array_get_unchecked</a>(a,  idx,  t)&#160;&#160;&#160;<a class="el" href="array_8h.html#a9bf5018e1a0d7466dc4fcac3e3207939">pw_array_get_unchecked_s</a>(a,idx,sizeof(t),t)</td></tr>
<tr class="memdesc:ab0a7f1be44fce5380425b1ffcc674cf2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the item with index <em>idx</em> and type <em>t</em> from array.  <a href="#ab0a7f1be44fce5380425b1ffcc674cf2">More...</a><br /></td></tr>
<tr class="separator:ab0a7f1be44fce5380425b1ffcc674cf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cfa9d60080b10e5256fb90979199132"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__array.html#a0cfa9d60080b10e5256fb90979199132">pw_array_check_index</a>(a,  idx,  t)&#160;&#160;&#160;<a class="el" href="array_8h.html#a47a9004f4bdadccc2f702b83c16e468d">pw_array_check_index_s</a>(a,idx,sizeof(t))</td></tr>
<tr class="memdesc:a0cfa9d60080b10e5256fb90979199132"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if an item with index <em>idx</em> and type <em>t</em> exist in array.  <a href="#a0cfa9d60080b10e5256fb90979199132">More...</a><br /></td></tr>
<tr class="separator:a0cfa9d60080b10e5256fb90979199132"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41905dd179bcee03cceef47579e0a22e"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__array.html#a41905dd179bcee03cceef47579e0a22e">pw_array_init</a> (struct <a class="el" href="structpw__array.html">pw_array</a> *arr, size_t <a class="el" href="structpw__array.html#a92ae2df32c3d6935897f41b6e7f5ad3c">extend</a>)</td></tr>
<tr class="memdesc:a41905dd179bcee03cceef47579e0a22e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the array with given extend.  <a href="#a41905dd179bcee03cceef47579e0a22e">More...</a><br /></td></tr>
<tr class="separator:a41905dd179bcee03cceef47579e0a22e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3045d41af637079f6cba71102050f119"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__array.html#a3045d41af637079f6cba71102050f119">pw_array_ensure_size</a> (struct <a class="el" href="structpw__array.html">pw_array</a> *arr, size_t <a class="el" href="structpw__array.html#a3d468425a1a0084f98301e2fd9becc6b">size</a>)</td></tr>
<tr class="memdesc:a3045d41af637079f6cba71102050f119"><td class="mdescLeft">&#160;</td><td class="mdescRight">Make sure <em>size</em> bytes can be added to the array.  <a href="#a3045d41af637079f6cba71102050f119">More...</a><br /></td></tr>
<tr class="separator:a3045d41af637079f6cba71102050f119"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf6a4fd9f9bd810eb374737b3d1169b2"><td class="memItemLeft" align="right" valign="top">static void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__array.html#adf6a4fd9f9bd810eb374737b3d1169b2">pw_array_add</a> (struct <a class="el" href="structpw__array.html">pw_array</a> *arr, size_t <a class="el" href="structpw__array.html#a3d468425a1a0084f98301e2fd9becc6b">size</a>)</td></tr>
<tr class="memdesc:adf6a4fd9f9bd810eb374737b3d1169b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add <em>ref</em> size bytes to <em>arr</em>.  <a href="#adf6a4fd9f9bd810eb374737b3d1169b2">More...</a><br /></td></tr>
<tr class="separator:adf6a4fd9f9bd810eb374737b3d1169b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8d9a82b23a44ceb033f7f6ce3b0621d"><td class="memItemLeft" align="right" valign="top">static void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__array.html#ae8d9a82b23a44ceb033f7f6ce3b0621d">pw_array_add_fixed</a> (struct <a class="el" href="structpw__array.html">pw_array</a> *arr, size_t <a class="el" href="structpw__array.html#a3d468425a1a0084f98301e2fd9becc6b">size</a>)</td></tr>
<tr class="memdesc:ae8d9a82b23a44ceb033f7f6ce3b0621d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add <em>ref</em> size bytes to <em>arr</em>.  <a href="#ae8d9a82b23a44ceb033f7f6ce3b0621d">More...</a><br /></td></tr>
<tr class="separator:ae8d9a82b23a44ceb033f7f6ce3b0621d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d035221a3657cf9d2ede737a62a7c77"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__array.html#a8d035221a3657cf9d2ede737a62a7c77">pw_array_add_ptr</a>(a,  p)&#160;&#160;&#160;*((void**) <a class="el" href="structpw__array.html#adf6a4fd9f9bd810eb374737b3d1169b2">pw_array_add</a>(a, sizeof(void*))) = (p)</td></tr>
<tr class="memdesc:a8d035221a3657cf9d2ede737a62a7c77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a pointer to array.  <a href="#a8d035221a3657cf9d2ede737a62a7c77">More...</a><br /></td></tr>
<tr class="separator:a8d035221a3657cf9d2ede737a62a7c77"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:ab0929cdf2f7acb291f2f17be299b8ea5"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__array.html#ab0929cdf2f7acb291f2f17be299b8ea5">data</a></td></tr>
<tr class="memdesc:ab0929cdf2f7acb291f2f17be299b8ea5"><td class="mdescLeft">&#160;</td><td class="mdescRight">pointer to array data  <a href="#ab0929cdf2f7acb291f2f17be299b8ea5">More...</a><br /></td></tr>
<tr class="separator:ab0929cdf2f7acb291f2f17be299b8ea5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d468425a1a0084f98301e2fd9becc6b"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__array.html#a3d468425a1a0084f98301e2fd9becc6b">size</a></td></tr>
<tr class="memdesc:a3d468425a1a0084f98301e2fd9becc6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">length of array in bytes  <a href="#a3d468425a1a0084f98301e2fd9becc6b">More...</a><br /></td></tr>
<tr class="separator:a3d468425a1a0084f98301e2fd9becc6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a429b934f5c1580d91af238ac04e44842"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__array.html#a429b934f5c1580d91af238ac04e44842">alloc</a></td></tr>
<tr class="memdesc:a429b934f5c1580d91af238ac04e44842"><td class="mdescLeft">&#160;</td><td class="mdescRight">number of allocated memory in <em>data</em>  <a href="#a429b934f5c1580d91af238ac04e44842">More...</a><br /></td></tr>
<tr class="separator:a429b934f5c1580d91af238ac04e44842"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92ae2df32c3d6935897f41b6e7f5ad3c"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structpw__array.html#a92ae2df32c3d6935897f41b6e7f5ad3c">extend</a></td></tr>
<tr class="memdesc:a92ae2df32c3d6935897f41b6e7f5ad3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">number of bytes to extend with  <a href="#a92ae2df32c3d6935897f41b6e7f5ad3c">More...</a><br /></td></tr>
<tr class="separator:a92ae2df32c3d6935897f41b6e7f5ad3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>An array object. </p>
<p>The array is a dynamically resizable data structure that can hold items of the same size. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="adf6a4fd9f9bd810eb374737b3d1169b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf6a4fd9f9bd810eb374737b3d1169b2">&#9670;&nbsp;</a></span>pw_array_add()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void * pw_array_add </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structpw__array.html">pw_array</a> *&#160;</td>
          <td class="paramname"><em>arr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Add <em>ref</em> size bytes to <em>arr</em>. </p>
<p>A pointer to memory that can hold at least <em>size</em> bytes is returned </p>

<p class="reference">References <a class="el" href="structpw__array.html#ab0929cdf2f7acb291f2f17be299b8ea5">data</a>, <a class="el" href="structpw__array.html#a3045d41af637079f6cba71102050f119">pw_array_ensure_size()</a>, and <a class="el" href="structpw__array.html#a3d468425a1a0084f98301e2fd9becc6b">size</a>.</p>

<p class="reference">Referenced by <a class="el" href="classpw__client.html#aace8634f25e970be554644d5edd14c46">pw_client::pw_client_new()</a>, <a class="el" href="core_8c.html#a9bcec376c090e8063065d91153f47fc1">pw_core_add_spa_lib()</a>, <a class="el" href="structpw__map.html#a10124711c6ab6ad3c1b9e6cab49dc4e4">pw_map::pw_map_insert_at()</a>, and <a class="el" href="structpw__map.html#a39efc6ce617c07d672b287945cf7a46b">pw_map::pw_map_insert_new()</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void * pw_array_add_fixed </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structpw__array.html">pw_array</a> *&#160;</td>
          <td class="paramname"><em>arr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Add <em>ref</em> size bytes to <em>arr</em>. </p>
<p>When there is not enough memory to hold <em>size</em> bytes, NULL is returned </p>

<p class="reference">References <a class="el" href="structpw__array.html#a429b934f5c1580d91af238ac04e44842">alloc</a>, <a class="el" href="structpw__array.html#ab0929cdf2f7acb291f2f17be299b8ea5">data</a>, and <a class="el" href="structpw__array.html#a3d468425a1a0084f98301e2fd9becc6b">size</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int pw_array_ensure_size </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structpw__array.html">pw_array</a> *&#160;</td>
          <td class="paramname"><em>arr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Make sure <em>size</em> bytes can be added to the array. </p>

<p class="reference">References <a class="el" href="structpw__array.html#a429b934f5c1580d91af238ac04e44842">alloc</a>, <a class="el" href="structpw__array.html#ab0929cdf2f7acb291f2f17be299b8ea5">data</a>, <a class="el" href="structpw__array.html#a92ae2df32c3d6935897f41b6e7f5ad3c">extend</a>, and <a class="el" href="structpw__array.html#a3d468425a1a0084f98301e2fd9becc6b">size</a>.</p>

<p class="reference">Referenced by <a class="el" href="structpw__array.html#adf6a4fd9f9bd810eb374737b3d1169b2">pw_array_add()</a>, and <a class="el" href="structpw__map.html#acdd13c22e79cecf19a28d30e1154d323">pw_map::pw_map_init()</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void pw_array_init </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structpw__array.html">pw_array</a> *&#160;</td>
          <td class="paramname"><em>arr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>extend</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Initialize the array with given extend. </p>

<p class="reference">References <a class="el" href="structpw__array.html#a429b934f5c1580d91af238ac04e44842">alloc</a>, <a class="el" href="structpw__array.html#ab0929cdf2f7acb291f2f17be299b8ea5">data</a>, <a class="el" href="structpw__array.html#a92ae2df32c3d6935897f41b6e7f5ad3c">extend</a>, and <a class="el" href="structpw__array.html#a3d468425a1a0084f98301e2fd9becc6b">size</a>.</p>

<p class="reference">Referenced by <a class="el" href="classpw__client.html#aace8634f25e970be554644d5edd14c46">pw_client::pw_client_new()</a>, <a class="el" href="classpw__core.html#a149d054319a8cd3fb6206b233d2476cd">pw_core::pw_core_new()</a>, <a class="el" href="structpw__map.html#acdd13c22e79cecf19a28d30e1154d323">pw_map::pw_map_init()</a>, and <a class="el" href="classpw__utils.html#a49b83deb0d19e23830facddb1e03bae1">pw_utils::pw_split_strv()</a>.</p>

</div>
</div>
<h2 class="groupheader">Field Documentation</h2>
<a id="a429b934f5c1580d91af238ac04e44842"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a429b934f5c1580d91af238ac04e44842">&#9670;&nbsp;</a></span>alloc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t pw_array::alloc</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>number of allocated memory in <em>data</em> </p>

<p class="reference">Referenced by <a class="el" href="structpw__array.html#ae8d9a82b23a44ceb033f7f6ce3b0621d">pw_array_add_fixed()</a>, <a class="el" href="structpw__array.html#a3045d41af637079f6cba71102050f119">pw_array_ensure_size()</a>, and <a class="el" href="structpw__array.html#a41905dd179bcee03cceef47579e0a22e">pw_array_init()</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* pw_array::data</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>pointer to array data </p>

<p class="reference">Referenced by <a class="el" href="structpw__array.html#adf6a4fd9f9bd810eb374737b3d1169b2">pw_array_add()</a>, <a class="el" href="structpw__array.html#ae8d9a82b23a44ceb033f7f6ce3b0621d">pw_array_add_fixed()</a>, <a class="el" href="structpw__array.html#a3045d41af637079f6cba71102050f119">pw_array_ensure_size()</a>, <a class="el" href="structpw__array.html#a41905dd179bcee03cceef47579e0a22e">pw_array_init()</a>, <a class="el" href="structpw__map.html#a39efc6ce617c07d672b287945cf7a46b">pw_map::pw_map_insert_new()</a>, and <a class="el" href="classpw__utils.html#a49b83deb0d19e23830facddb1e03bae1">pw_utils::pw_split_strv()</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t pw_array::extend</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>number of bytes to extend with </p>

<p class="reference">Referenced by <a class="el" href="structpw__array.html#a3045d41af637079f6cba71102050f119">pw_array_ensure_size()</a>, <a class="el" href="structpw__array.html#a41905dd179bcee03cceef47579e0a22e">pw_array_init()</a>, and <a class="el" href="structpw__map.html#acdd13c22e79cecf19a28d30e1154d323">pw_map::pw_map_init()</a>.</p>

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

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t pw_array::size</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>length of array in bytes </p>

<p class="reference">Referenced by <a class="el" href="structpw__array.html#adf6a4fd9f9bd810eb374737b3d1169b2">pw_array_add()</a>, <a class="el" href="structpw__array.html#ae8d9a82b23a44ceb033f7f6ce3b0621d">pw_array_add_fixed()</a>, <a class="el" href="structpw__array.html#a3045d41af637079f6cba71102050f119">pw_array_ensure_size()</a>, <a class="el" href="structpw__array.html#a41905dd179bcee03cceef47579e0a22e">pw_array_init()</a>, and <a class="el" href="structpw__map.html#acdd13c22e79cecf19a28d30e1154d323">pw_map::pw_map_init()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="array_8h_source.html">array.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structpw__array.html">pw_array</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>