You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/lib/cds/doc/str_free.xml

45 lines
1.1 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<refentry id="str_free">
<refmeta><refentrytitle>str_free</refentrytitle>
<manvolnum>3</manvolnum></refmeta>
<refnamediv>
<refname>str_free</refname>
<refpurpose>destroys string</refpurpose>
</refnamediv>
<refsynopsisdiv><funcsynopsis>
<funcsynopsisinfo>
#include &lt;cds/sstr.h&gt;
</funcsynopsisinfo>
<funcprototype>
<funcdef>void <function>str_free</function></funcdef>
<paramdef>str_t *<parameter>s</parameter></paramdef>
</funcprototype>
</funcsynopsis></refsynopsisdiv>
<refsect1><title>Description</title>
<para>Frees string's data like str_free_content,
and the frees the <structname>str_t</structname> structure too.
It uses <function>cds_free</function> as memory deallocation function.</para>
</refsect1>
<refsect1><title>See Also</title>
<para>
<xref linkend="str_t"/>, <xref linkend="str_free_content"/>, <xref linkend="str_clear"/>
<!-- references to other pages -->
</para>
</refsect1>
</refentry>