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/doc/tutorials/serdev/exp_body_t.xml

44 lines
1.1 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<section id="exp_body_t" xmlns:xi="http://www.w3.org/2001/XInclude">
<sectioninfo>
<revhistory>
<revision>
<revnumber>$Revision$</revnumber>
<date>$Date$</date>
</revision>
</revhistory>
</sectioninfo>
<title>Structure <structname>exp_body_t</structname></title>
<para>
The structure represents parsed Expires body. The structure is declared
in <filename>parse_expires.h</filename> file.
</para>
<para><emphasis>Structure Declaration:</emphasis>
<programlisting>
typedef struct exp_body {
str text; /* Original text representation */
int val; /* Parsed value */
} exp_body_t;
</programlisting>
</para>
<para><emphasis>Field Description:</emphasis>
<itemizedlist>
<listitem>
<para>
<structfield>text</structfield> - Expires value as text.
</para>
</listitem>
<listitem>
<para>
<structfield>val</structfield> - Expires value as integer.
</para>
</listitem>
</itemizedlist>
</para>
</section>