summaryrefslogtreecommitdiff
path: root/apidocs/icalmemory_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'apidocs/icalmemory_8h_source.html')
-rw-r--r--apidocs/icalmemory_8h_source.html163
1 files changed, 82 insertions, 81 deletions
diff --git a/apidocs/icalmemory_8h_source.html b/apidocs/icalmemory_8h_source.html
index 54224720..b9bcb0be 100644
--- a/apidocs/icalmemory_8h_source.html
+++ b/apidocs/icalmemory_8h_source.html
@@ -2,8 +2,8 @@
<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=11"/>
-<meta name="generator" content="Doxygen 1.9.3"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Libical API Documentation: icalmemory.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
@@ -19,9 +19,10 @@
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
- <tr id="projectrow">
- <td id="projectalign">
- <div id="projectname">Libical API Documentation<span id="projectnumber">&#160;3.1</span>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">Libical API Documentation
+ &#160;<span id="projectnumber">3.0</span>
</div>
</td>
</tr>
@@ -29,22 +30,21 @@
</table>
</div>
<!-- end header part -->
-<!-- Generated by Doxygen 1.9.3 -->
+<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
-/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
-var searchBox = new SearchBox("searchBox", "search",'Search','.html');
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
+var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
+/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
-/* @license-end */
-</script>
+/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -66,81 +66,82 @@ $(function() {
</div>
</div><!-- top -->
<div class="header">
- <div class="headertitle"><div class="title">icalmemory.h</div></div>
+ <div class="headertitle">
+<div class="title">icalmemory.h</div> </div>
</div><!--header-->
<div class="contents">
-<a href="icalmemory_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*======================================================================</span></div>
-<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> FILE: icalmemory.h</span></div>
-<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> CREATOR: eric 30 June 1999</span></div>
-<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"></span> </div>
-<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> SPDX-FileCopyrightText: 2000, Eric Busboom &lt;eric@civicknowledge.com&gt;</span></div>
-<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"></span> </div>
-<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0</span></div>
-<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"></span> </div>
-<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"> The Initial Developer of the Original Code is Eric Busboom</span></div>
-<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment">======================================================================*/</span></div>
-<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
-<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#ifndef ICALMEMORY_H</span></div>
-<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#define ICALMEMORY_H</span></div>
-<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
-<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="preprocessor">#include &quot;libical_ical_export.h&quot;</span></div>
-<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
-<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span>LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> *<a class="code hl_function" href="icalmemory_8h.html#aeaf6a28b3908f695bb0a7e35d1dfc8f7">icalmemory_tmp_buffer</a>(<span class="keywordtype">size_t</span> size);</div>
-<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> </div>
-<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span>LIBICAL_ICAL_EXPORT <span class="keywordtype">char</span> *<a class="code hl_function" href="icalmemory_8h.html#aa5f6b34db6cc88a33bd1cd745d44f977">icalmemory_tmp_copy</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *str);</div>
-<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
-<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span>LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="icalmemory_8h.html#ae9f1799733a1577748a028181098be48">icalmemory_add_tmp_buffer</a>(<span class="keywordtype">void</span> *buf);</div>
-<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
-<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span>LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="icalmemory_8h.html#a175daa67f089bae6aefd4360fcd0d664">icalmemory_free_ring</a>(<span class="keywordtype">void</span>);</div>
-<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> </div>
-<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span><span class="keyword">typedef</span> <span class="keywordtype">void</span> *(*icalmemory_malloc_f)(size_t);</div>
-<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span><span class="keyword">typedef</span> <span class="keywordtype">void</span> *(*icalmemory_realloc_f)(<span class="keywordtype">void</span> *, size_t);</div>
-<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span><span class="keyword">typedef</span> void (*icalmemory_free_f)(<span class="keywordtype">void</span> *);</div>
-<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> </div>
-<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span>LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="icalmemory_8h.html#aeaa82604d4c5ccf150ecd2fb6bfca30d">icalmemory_set_mem_alloc_funcs</a>(icalmemory_malloc_f f_malloc,</div>
-<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> icalmemory_realloc_f f_realloc,</div>
-<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> icalmemory_free_f f_free);</div>
-<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div>
-<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span>LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="icalmemory_8h.html#ae1659b63eaac2744cae912c727655721">icalmemory_get_mem_alloc_funcs</a>(icalmemory_malloc_f *f_malloc,</div>
-<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> icalmemory_realloc_f *f_realloc, icalmemory_free_f *f_free);</div>
-<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> </div>
-<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span>LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> *<a class="code hl_function" href="icalmemory_8h.html#a9b645edbcc1a05dbb64df5d86adbc367">icalmemory_new_buffer</a>(<span class="keywordtype">size_t</span> size);</div>
-<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> </div>
-<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span>LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> *<a class="code hl_function" href="icalmemory_8h.html#a6cf9578649d6f12bf8eae97e4ef537e9">icalmemory_resize_buffer</a>(<span class="keywordtype">void</span> *buf, <span class="keywordtype">size_t</span> size);</div>
-<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span> </div>
-<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span>LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="icalmemory_8h.html#a2f164cb87c67f06b5dc04a5f21384879">icalmemory_free_buffer</a>(<span class="keywordtype">void</span> *buf);</div>
-<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span> </div>
-<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"> 263</span><span class="comment">/* THESE ROUTINES CAN NOT BE USED ON TMP BUFFERS. Only use them on</span></div>
-<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span><span class="comment"> normally allocated memory, or on buffers created from</span></div>
-<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span><span class="comment"> icalmemory_new_buffer, never with buffers created by</span></div>
-<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span><span class="comment"> icalmemory_tmp_buffer. If icalmemory_append_string has to resize a</span></div>
-<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span><span class="comment"> buffer on the ring, the ring will loose track of it an you will</span></div>
-<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span><span class="comment"> have memory problems. */</span></div>
-<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span> </div>
-<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span>LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="icalmemory_8h.html#a647bf5dab81fc5b83a0ed8f8ad769ea6">icalmemory_append_string</a>(<span class="keywordtype">char</span> **buf, <span class="keywordtype">char</span> **pos, <span class="keywordtype">size_t</span> *buf_size,</div>
-<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keywordtype">string</span>);</div>
-<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"> 310</span> </div>
-<div class="line"><a id="l00350" name="l00350"></a><span class="lineno"> 350</span>LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code hl_function" href="icalmemory_8h.html#addac122edb16bc41a193895c86bd5ff5">icalmemory_append_char</a>(<span class="keywordtype">char</span> **buf, <span class="keywordtype">char</span> **pos, <span class="keywordtype">size_t</span> *buf_size, <span class="keywordtype">char</span> ch);</div>
-<div class="line"><a id="l00351" name="l00351"></a><span class="lineno"> 351</span> </div>
-<div class="line"><a id="l00378" name="l00378"></a><span class="lineno"> 378</span>LIBICAL_ICAL_EXPORT <span class="keywordtype">char</span> *<a class="code hl_function" href="icalmemory_8h.html#a313a5fd91cb6100f9ecc1b8f24acc336">icalmemory_strdup</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *s);</div>
-<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"> 379</span> </div>
-<div class="line"><a id="l00380" name="l00380"></a><span class="lineno"> 380</span><span class="preprocessor">#endif </span><span class="comment">/* !ICALMEMORY_H */</span><span class="preprocessor"></span></div>
-<div class="ttc" id="aicalmemory_8h_html_a175daa67f089bae6aefd4360fcd0d664"><div class="ttname"><a href="icalmemory_8h.html#a175daa67f089bae6aefd4360fcd0d664">icalmemory_free_ring</a></div><div class="ttdeci">void icalmemory_free_ring(void)</div><div class="ttdoc">Frees all memory used in the ring.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:215</div></div>
-<div class="ttc" id="aicalmemory_8h_html_a2f164cb87c67f06b5dc04a5f21384879"><div class="ttname"><a href="icalmemory_8h.html#a2f164cb87c67f06b5dc04a5f21384879">icalmemory_free_buffer</a></div><div class="ttdeci">void icalmemory_free_buffer(void *buf)</div><div class="ttdoc">Releases a buffer.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:359</div></div>
-<div class="ttc" id="aicalmemory_8h_html_a313a5fd91cb6100f9ecc1b8f24acc336"><div class="ttname"><a href="icalmemory_8h.html#a313a5fd91cb6100f9ecc1b8f24acc336">icalmemory_strdup</a></div><div class="ttdeci">char * icalmemory_strdup(const char *s)</div><div class="ttdoc">Creates a duplicate of a string.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:249</div></div>
-<div class="ttc" id="aicalmemory_8h_html_a647bf5dab81fc5b83a0ed8f8ad769ea6"><div class="ttname"><a href="icalmemory_8h.html#a647bf5dab81fc5b83a0ed8f8ad769ea6">icalmemory_append_string</a></div><div class="ttdeci">void icalmemory_append_string(char **buf, char **pos, size_t *buf_size, const char *string)</div><div class="ttdoc">Appends a string to a buffer.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:369</div></div>
-<div class="ttc" id="aicalmemory_8h_html_a6cf9578649d6f12bf8eae97e4ef537e9"><div class="ttname"><a href="icalmemory_8h.html#a6cf9578649d6f12bf8eae97e4ef537e9">icalmemory_resize_buffer</a></div><div class="ttdeci">void * icalmemory_resize_buffer(void *buf, size_t size)</div><div class="ttdoc">Resizes a buffer created with icalmemory_new_buffer().</div><div class="ttdef"><b>Definition:</b> icalmemory.c:340</div></div>
-<div class="ttc" id="aicalmemory_8h_html_a9b645edbcc1a05dbb64df5d86adbc367"><div class="ttname"><a href="icalmemory_8h.html#a9b645edbcc1a05dbb64df5d86adbc367">icalmemory_new_buffer</a></div><div class="ttdeci">void * icalmemory_new_buffer(size_t size)</div><div class="ttdoc">Creates new buffer with the specified size.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:319</div></div>
-<div class="ttc" id="aicalmemory_8h_html_aa5f6b34db6cc88a33bd1cd745d44f977"><div class="ttname"><a href="icalmemory_8h.html#aa5f6b34db6cc88a33bd1cd745d44f977">icalmemory_tmp_copy</a></div><div class="ttdeci">char * icalmemory_tmp_copy(const char *str)</div><div class="ttdoc">Creates a copy of the given string, stored on the ring buffer, and returns it.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:232</div></div>
-<div class="ttc" id="aicalmemory_8h_html_addac122edb16bc41a193895c86bd5ff5"><div class="ttname"><a href="icalmemory_8h.html#addac122edb16bc41a193895c86bd5ff5">icalmemory_append_char</a></div><div class="ttdeci">void icalmemory_append_char(char **buf, char **pos, size_t *buf_size, char ch)</div><div class="ttdoc">Appends a character to a buffer.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:411</div></div>
-<div class="ttc" id="aicalmemory_8h_html_ae1659b63eaac2744cae912c727655721"><div class="ttname"><a href="icalmemory_8h.html#ae1659b63eaac2744cae912c727655721">icalmemory_get_mem_alloc_funcs</a></div><div class="ttdeci">void icalmemory_get_mem_alloc_funcs(icalmemory_malloc_f *f_malloc, icalmemory_realloc_f *f_realloc, icalmemory_free_f *f_free)</div><div class="ttdoc">Returns the functions used for memory management.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:300</div></div>
-<div class="ttc" id="aicalmemory_8h_html_ae9f1799733a1577748a028181098be48"><div class="ttname"><a href="icalmemory_8h.html#ae9f1799733a1577748a028181098be48">icalmemory_add_tmp_buffer</a></div><div class="ttdeci">void icalmemory_add_tmp_buffer(void *buf)</div><div class="ttdoc">Adds an externally allocated buffer to the ring.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:167</div></div>
-<div class="ttc" id="aicalmemory_8h_html_aeaa82604d4c5ccf150ecd2fb6bfca30d"><div class="ttname"><a href="icalmemory_8h.html#aeaa82604d4c5ccf150ecd2fb6bfca30d">icalmemory_set_mem_alloc_funcs</a></div><div class="ttdeci">void icalmemory_set_mem_alloc_funcs(icalmemory_malloc_f f_malloc, icalmemory_realloc_f f_realloc, icalmemory_free_f f_free)</div><div class="ttdoc">Configures the functions to use for memory management.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:291</div></div>
-<div class="ttc" id="aicalmemory_8h_html_aeaf6a28b3908f695bb0a7e35d1dfc8f7"><div class="ttname"><a href="icalmemory_8h.html#aeaf6a28b3908f695bb0a7e35d1dfc8f7">icalmemory_tmp_buffer</a></div><div class="ttdeci">void * icalmemory_tmp_buffer(size_t size)</div><div class="ttdoc">Creates a new temporary buffer on the ring and returns it.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:193</div></div>
+<a href="icalmemory_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*======================================================================</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> FILE: icalmemory.h</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> CREATOR: eric 30 June 1999</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"></span> </div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> (C) COPYRIGHT 2000, Eric Busboom &lt;eric@civicknowledge.com&gt;</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"></span> </div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> This library is free software; you can redistribute it and/or modify</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> it under the terms of either:</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span> </div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> The LGPL as published by the Free Software Foundation, version</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> 2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.html</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"></span> </div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> Or:</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"></span> </div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> The Mozilla Public License Version 2.0. You may obtain a copy of</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> the License at https://www.mozilla.org/MPL/</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"></span> </div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"> The Initial Developer of the Original Code is Eric Busboom</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment">======================================================================*/</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; </div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#ifndef ICALMEMORY_H</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#define ICALMEMORY_H</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; </div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#include &quot;libical_ical_export.h&quot;</span></div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; </div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> *<a class="code" href="icalmemory_8h.html#ad73fe2ed5791e8d4d4513b1e23f7b86e">icalmemory_tmp_buffer</a>(<span class="keywordtype">size_t</span> size);</div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; </div>
+<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">char</span> *<a class="code" href="icalmemory_8h.html#a3f5eccaa6b37d176a970b7d3a9f7aa66">icalmemory_tmp_copy</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *str);</div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; </div>
+<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icalmemory_8h.html#ae9f1799733a1577748a028181098be48">icalmemory_add_tmp_buffer</a>(<span class="keywordtype">void</span> *buf);</div>
+<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; </div>
+<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icalmemory_8h.html#a175daa67f089bae6aefd4360fcd0d664">icalmemory_free_ring</a>(<span class="keywordtype">void</span>);</div>
+<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; </div>
+<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;<span class="comment">/* Non-tmp buffers must be freed. These are mostly wrappers around</span></div>
+<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;<span class="comment"> * malloc, etc, but are used so the caller can change the memory</span></div>
+<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="comment"> * allocators in a future version of the library */</span></div>
+<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; </div>
+<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> *<a class="code" href="icalmemory_8h.html#a44986d86c778125a313d423b70cd2b54">icalmemory_new_buffer</a>(<span class="keywordtype">size_t</span> size);</div>
+<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; </div>
+<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> *<a class="code" href="icalmemory_8h.html#a4e657ee861bf1f00ed4e6eb03cd4a0a5">icalmemory_resize_buffer</a>(<span class="keywordtype">void</span> *buf, <span class="keywordtype">size_t</span> size);</div>
+<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; </div>
+<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icalmemory_8h.html#a2f164cb87c67f06b5dc04a5f21384879">icalmemory_free_buffer</a>(<span class="keywordtype">void</span> *buf);</div>
+<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; </div>
+<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;<span class="comment">/* THESE ROUTINES CAN NOT BE USED ON TMP BUFFERS. Only use them on</span></div>
+<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160;<span class="comment"> normally allocated memory, or on buffers created from</span></div>
+<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;<span class="comment"> icalmemory_new_buffer, never with buffers created by</span></div>
+<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;<span class="comment"> icalmemory_tmp_buffer. If icalmemory_append_string has to resize a</span></div>
+<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;<span class="comment"> buffer on the ring, the ring will loose track of it an you will</span></div>
+<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160;<span class="comment"> have memory problems. */</span></div>
+<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; </div>
+<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icalmemory_8h.html#a647bf5dab81fc5b83a0ed8f8ad769ea6">icalmemory_append_string</a>(<span class="keywordtype">char</span> **buf, <span class="keywordtype">char</span> **pos, <span class="keywordtype">size_t</span> *buf_size,</div>
+<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span> *<span class="keywordtype">string</span>);</div>
+<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; </div>
+<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">void</span> <a class="code" href="icalmemory_8h.html#addac122edb16bc41a193895c86bd5ff5">icalmemory_append_char</a>(<span class="keywordtype">char</span> **buf, <span class="keywordtype">char</span> **pos, <span class="keywordtype">size_t</span> *buf_size, <span class="keywordtype">char</span> ch);</div>
+<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160; </div>
+<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160;LIBICAL_ICAL_EXPORT <span class="keywordtype">char</span> *<a class="code" href="icalmemory_8h.html#aeae6b906a9fcba61eb725d060361b180">icalmemory_strdup</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *s);</div>
+<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160; </div>
+<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* !ICALMEMORY_H */</span><span class="preprocessor"></span></div>
+<div class="ttc" id="aicalmemory_8h_html_a175daa67f089bae6aefd4360fcd0d664"><div class="ttname"><a href="icalmemory_8h.html#a175daa67f089bae6aefd4360fcd0d664">icalmemory_free_ring</a></div><div class="ttdeci">void icalmemory_free_ring(void)</div><div class="ttdoc">Frees all memory used in the ring.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:227</div></div>
+<div class="ttc" id="aicalmemory_8h_html_a2f164cb87c67f06b5dc04a5f21384879"><div class="ttname"><a href="icalmemory_8h.html#a2f164cb87c67f06b5dc04a5f21384879">icalmemory_free_buffer</a></div><div class="ttdeci">void icalmemory_free_buffer(void *buf)</div><div class="ttdoc">Releases a buffer.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:287</div></div>
+<div class="ttc" id="aicalmemory_8h_html_a3f5eccaa6b37d176a970b7d3a9f7aa66"><div class="ttname"><a href="icalmemory_8h.html#a3f5eccaa6b37d176a970b7d3a9f7aa66">icalmemory_tmp_copy</a></div><div class="ttdeci">char * icalmemory_tmp_copy(const char *str)</div><div class="ttdoc">Creates a copy of the given string, stored on the ring buffer, and returns it.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:242</div></div>
+<div class="ttc" id="aicalmemory_8h_html_a44986d86c778125a313d423b70cd2b54"><div class="ttname"><a href="icalmemory_8h.html#a44986d86c778125a313d423b70cd2b54">icalmemory_new_buffer</a></div><div class="ttdeci">void * icalmemory_new_buffer(size_t size)</div><div class="ttdoc">Creates new buffer with the specified size.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:261</div></div>
+<div class="ttc" id="aicalmemory_8h_html_a4e657ee861bf1f00ed4e6eb03cd4a0a5"><div class="ttname"><a href="icalmemory_8h.html#a4e657ee861bf1f00ed4e6eb03cd4a0a5">icalmemory_resize_buffer</a></div><div class="ttdeci">void * icalmemory_resize_buffer(void *buf, size_t size)</div><div class="ttdoc">Resizes a buffer created with icalmemory_new_buffer().</div><div class="ttdef"><b>Definition:</b> icalmemory.c:275</div></div>
+<div class="ttc" id="aicalmemory_8h_html_a647bf5dab81fc5b83a0ed8f8ad769ea6"><div class="ttname"><a href="icalmemory_8h.html#a647bf5dab81fc5b83a0ed8f8ad769ea6">icalmemory_append_string</a></div><div class="ttdeci">void icalmemory_append_string(char **buf, char **pos, size_t *buf_size, const char *string)</div><div class="ttdoc">Appends a string to a buffer.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:292</div></div>
+<div class="ttc" id="aicalmemory_8h_html_ad73fe2ed5791e8d4d4513b1e23f7b86e"><div class="ttname"><a href="icalmemory_8h.html#ad73fe2ed5791e8d4d4513b1e23f7b86e">icalmemory_tmp_buffer</a></div><div class="ttdeci">void * icalmemory_tmp_buffer(size_t size)</div><div class="ttdoc">Creates a new temporary buffer on the ring and returns it.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:205</div></div>
+<div class="ttc" id="aicalmemory_8h_html_addac122edb16bc41a193895c86bd5ff5"><div class="ttname"><a href="icalmemory_8h.html#addac122edb16bc41a193895c86bd5ff5">icalmemory_append_char</a></div><div class="ttdeci">void icalmemory_append_char(char **buf, char **pos, size_t *buf_size, char ch)</div><div class="ttdoc">Appends a character to a buffer.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:330</div></div>
+<div class="ttc" id="aicalmemory_8h_html_ae9f1799733a1577748a028181098be48"><div class="ttname"><a href="icalmemory_8h.html#ae9f1799733a1577748a028181098be48">icalmemory_add_tmp_buffer</a></div><div class="ttdeci">void icalmemory_add_tmp_buffer(void *buf)</div><div class="ttdoc">Adds an externally allocated buffer to the ring.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:182</div></div>
+<div class="ttc" id="aicalmemory_8h_html_aeae6b906a9fcba61eb725d060361b180"><div class="ttname"><a href="icalmemory_8h.html#aeae6b906a9fcba61eb725d060361b180">icalmemory_strdup</a></div><div class="ttdeci">char * icalmemory_strdup(const char *s)</div><div class="ttdoc">Creates a duplicate of a string.</div><div class="ttdef"><b>Definition:</b> icalmemory.c:251</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
-Generated on Sat Jun 25 2022 08:55:43 for Libical API Documentation by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
+Generated on Thu Oct 6 2022 14:47:00 for Libical API Documentation by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>