<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="milter-manager-milter-decoder">
<refmeta>
<refentrytitle role="top_of_page" id="milter-manager-milter-decoder.top_of_page">MilterDecoder</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>milter managerライブラリ</refmiscinfo>
</refmeta>
<refnamediv>
<refname>MilterDecoder</refname>
<refpurpose/>
</refnamediv>

<refsect1 id="milter-manager-milter-decoder.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_return" colwidth="150px"/>
<colspec colname="functions_name"/>
<tbody>
<row><entry role="define_keyword">#define</entry><entry role="function_name"><link linkend="MILTER-DECODER-ERROR:CAPS">MILTER_DECODER_ERROR</link></entry></row>
<row><entry role="function_type"><link linkend="GQuark"><returnvalue>GQuark</returnvalue></link>
</entry><entry role="function_name"><link linkend="milter-decoder-error-quark">milter_decoder_error_quark</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="milter-decoder-decode">milter_decoder_decode</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="milter-decoder-end-decode">milter_decoder_end_decode</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type">const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *
</entry><entry role="function_name"><link linkend="milter-decoder-get-buffer">milter_decoder_get_buffer</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gint32"><returnvalue>gint32</returnvalue></link>
</entry><entry role="function_name"><link linkend="milter-decoder-get-command-length">milter_decoder_get_command_length</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="milter-decoder-check-command-length">milter_decoder_check_command_length</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gint"><returnvalue>gint</returnvalue></link>
</entry><entry role="function_name"><link linkend="milter-decoder-decode-null-terminated-value">milter_decoder_decode_null_terminated_value</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
</entry><entry role="function_name"><link linkend="milter-decoder-decode-header-content">milter_decoder_decode_header_content</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="MilterOption"><returnvalue>MilterOption</returnvalue></link> *
</entry><entry role="function_name"><link linkend="milter-decoder-decode-negotiate">milter_decoder_decode_negotiate</link> <phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<anchor id="MilterDecoder"/><refsect1 id="milter-manager-milter-decoder.other" role="other_proto">
<title role="other_proto.title">Types and Values</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="name" colwidth="150px"/>
<colspec colname="description"/>
<tbody>
<row><entry role="datatype_keyword">enum</entry><entry role="function_name"><link linkend="MilterDecoderError">MilterDecoderError</link></entry></row>
<row><entry role="datatype_keyword">enum</entry><entry role="function_name"><link linkend="MilterDecoderCompareType">MilterDecoderCompareType</link></entry></row>
<row><entry role="datatype_keyword">struct</entry><entry role="function_name"><link linkend="MilterDecoder-struct">MilterDecoder</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="milter-manager-milter-decoder.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">オブジェクト階層</title>
<screen>    <link linkend="GObject">GObject</link>
    <phrase role="lineart">╰──</phrase> MilterDecoder
</screen>
</refsect1>


<refsect1 id="milter-manager-milter-decoder.description" role="desc">
<title role="desc.title">説明</title>
<para>
</para>

</refsect1>
<refsect1 id="milter-manager-milter-decoder.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="MILTER-DECODER-ERROR:CAPS" role="macro">
<title>MILTER_DECODER_ERROR</title>
<indexterm zone="MILTER-DECODER-ERROR:CAPS"><primary>MILTER_DECODER_ERROR</primary></indexterm>
<programlisting language="C">#define MILTER_DECODER_ERROR           (milter_decoder_error_quark())
</programlisting>
<para>
</para>
</refsect2>
<refsect2 id="milter-decoder-error-quark" role="function">
<title>milter_decoder_error_quark ()</title>
<indexterm zone="milter-decoder-error-quark"><primary>milter_decoder_error_quark</primary></indexterm>
<programlisting language="C"><link linkend="GQuark"><returnvalue>GQuark</returnvalue></link>
milter_decoder_error_quark (<parameter><type>void</type></parameter>);</programlisting>
<para>
</para>
<refsect3 role="returns">
<title>Returns</title>

<para/>
</refsect3></refsect2>
<refsect2 id="milter-decoder-decode" role="function">
<title>milter_decoder_decode ()</title>
<indexterm zone="milter-decoder-decode"><primary>milter_decoder_decode</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
milter_decoder_decode (<parameter><link linkend="MilterDecoder"><type>MilterDecoder</type></link> *decoder</parameter>,
                       <parameter>const <link linkend="gchar"><type>gchar</type></link> *chunk</parameter>,
                       <parameter><link linkend="gsize"><type>gsize</type></link> size</parameter>,
                       <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
</para>
<refsect3 role="returns">
<title>Returns</title>

<para/>
</refsect3></refsect2>
<refsect2 id="milter-decoder-end-decode" role="function">
<title>milter_decoder_end_decode ()</title>
<indexterm zone="milter-decoder-end-decode"><primary>milter_decoder_end_decode</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
milter_decoder_end_decode (<parameter><link linkend="MilterDecoder"><type>MilterDecoder</type></link> *decoder</parameter>,
                           <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
</para>
<refsect3 role="returns">
<title>Returns</title>

<para/>
</refsect3></refsect2>
<refsect2 id="milter-decoder-get-buffer" role="function">
<title>milter_decoder_get_buffer ()</title>
<indexterm zone="milter-decoder-get-buffer"><primary>milter_decoder_get_buffer</primary></indexterm>
<programlisting language="C">const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *
milter_decoder_get_buffer (<parameter><link linkend="MilterDecoder"><type>MilterDecoder</type></link> *decoder</parameter>);</programlisting>
<para>
</para>
<refsect3 role="returns">
<title>Returns</title>

<para/>
</refsect3></refsect2>
<refsect2 id="milter-decoder-get-command-length" role="function">
<title>milter_decoder_get_command_length ()</title>
<indexterm zone="milter-decoder-get-command-length"><primary>milter_decoder_get_command_length</primary></indexterm>
<programlisting language="C"><link linkend="gint32"><returnvalue>gint32</returnvalue></link>
milter_decoder_get_command_length (<parameter><link linkend="MilterDecoder"><type>MilterDecoder</type></link> *decoder</parameter>);</programlisting>
<para>
</para>
<refsect3 role="returns">
<title>Returns</title>

<para/>
</refsect3></refsect2>
<refsect2 id="milter-decoder-check-command-length" role="function">
<title>milter_decoder_check_command_length ()</title>
<indexterm zone="milter-decoder-check-command-length"><primary>milter_decoder_check_command_length</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
milter_decoder_check_command_length (<parameter>const <link linkend="gchar"><type>gchar</type></link> *buffer</parameter>,
                                     <parameter><link linkend="gint"><type>gint</type></link> length</parameter>,
                                     <parameter><link linkend="gint"><type>gint</type></link> expected_length</parameter>,
                                     <parameter><link linkend="MilterDecoderCompareType"><type>MilterDecoderCompareType</type></link> compare_type</parameter>,
                                     <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>,
                                     <parameter>const <link linkend="gchar"><type>gchar</type></link> *target</parameter>);</programlisting>
<para>
</para>
<refsect3 role="returns">
<title>Returns</title>

<para/>
</refsect3></refsect2>
<refsect2 id="milter-decoder-decode-null-terminated-value" role="function">
<title>milter_decoder_decode_null_terminated_value ()</title>
<indexterm zone="milter-decoder-decode-null-terminated-value"><primary>milter_decoder_decode_null_terminated_value</primary></indexterm>
<programlisting language="C"><link linkend="gint"><returnvalue>gint</returnvalue></link>
milter_decoder_decode_null_terminated_value
                               (<parameter>const <link linkend="gchar"><type>gchar</type></link> *buffer</parameter>,
                                <parameter><link linkend="gint"><type>gint</type></link> length</parameter>,
                                <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>,
                                <parameter>const <link linkend="gchar"><type>gchar</type></link> *message</parameter>);</programlisting>
<para>
</para>
<refsect3 role="returns">
<title>Returns</title>

<para/>
</refsect3></refsect2>
<refsect2 id="milter-decoder-decode-header-content" role="function">
<title>milter_decoder_decode_header_content ()</title>
<indexterm zone="milter-decoder-decode-header-content"><primary>milter_decoder_decode_header_content</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
milter_decoder_decode_header_content (<parameter>const <link linkend="gchar"><type>gchar</type></link> *buffer</parameter>,
                                      <parameter><link linkend="gint"><type>gint</type></link> length</parameter>,
                                      <parameter>const <link linkend="gchar"><type>gchar</type></link> **name</parameter>,
                                      <parameter>const <link linkend="gchar"><type>gchar</type></link> **value</parameter>,
                                      <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
</para>
<refsect3 role="returns">
<title>Returns</title>

<para/>
</refsect3></refsect2>
<refsect2 id="milter-decoder-decode-negotiate" role="function">
<title>milter_decoder_decode_negotiate ()</title>
<indexterm zone="milter-decoder-decode-negotiate"><primary>milter_decoder_decode_negotiate</primary></indexterm>
<programlisting language="C"><link linkend="MilterOption"><returnvalue>MilterOption</returnvalue></link> *
milter_decoder_decode_negotiate (<parameter>const <link linkend="gchar"><type>gchar</type></link> *buffer</parameter>,
                                 <parameter><link linkend="gint"><type>gint</type></link> length</parameter>,
                                 <parameter><link linkend="gint"><type>gint</type></link> *processed_length</parameter>,
                                 <parameter><link linkend="GError"><type>GError</type></link> **error</parameter>);</programlisting>
<para>
</para>
<refsect3 role="returns">
<title>Returns</title>

<para/>
</refsect3></refsect2>

</refsect1>
<refsect1 id="milter-manager-milter-decoder.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="MilterDecoderError" role="enum">
<title>enum MilterDecoderError</title>
<indexterm zone="MilterDecoderError"><primary>MilterDecoderError</primary></indexterm>
<para>
</para>
<refsect3 role="enum_members">
<title>Members</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="enum_members_name" colwidth="300px"/>
<colspec colname="enum_members_description"/>
<colspec colname="enum_members_annotations" colwidth="200px"/>
<tbody>
<row role="constant"><entry role="enum_member_name"><para id="MILTER-DECODER-ERROR-SHORT-COMMAND-LENGTH:CAPS">MILTER_DECODER_ERROR_SHORT_COMMAND_LENGTH</para></entry>
<entry role="enum_member_description"/>
<entry role="enum_member_annotations"/>
</row>
<row role="constant"><entry role="enum_member_name"><para id="MILTER-DECODER-ERROR-LONG-COMMAND-LENGTH:CAPS">MILTER_DECODER_ERROR_LONG_COMMAND_LENGTH</para></entry>
<entry role="enum_member_description"/>
<entry role="enum_member_annotations"/>
</row>
<row role="constant"><entry role="enum_member_name"><para id="MILTER-DECODER-ERROR-UNEXPECTED-END:CAPS">MILTER_DECODER_ERROR_UNEXPECTED_END</para></entry>
<entry role="enum_member_description"/>
<entry role="enum_member_annotations"/>
</row>
<row role="constant"><entry role="enum_member_name"><para id="MILTER-DECODER-ERROR-UNEXPECTED-COMMAND:CAPS">MILTER_DECODER_ERROR_UNEXPECTED_COMMAND</para></entry>
<entry role="enum_member_description"/>
<entry role="enum_member_annotations"/>
</row>
<row role="constant"><entry role="enum_member_name"><para id="MILTER-DECODER-ERROR-MISSING-NULL:CAPS">MILTER_DECODER_ERROR_MISSING_NULL</para></entry>
<entry role="enum_member_description"/>
<entry role="enum_member_annotations"/>
</row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="MilterDecoderCompareType" role="enum">
<title>enum MilterDecoderCompareType</title>
<indexterm zone="MilterDecoderCompareType"><primary>MilterDecoderCompareType</primary></indexterm>
<para>
</para>
<refsect3 role="enum_members">
<title>Members</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="enum_members_name" colwidth="300px"/>
<colspec colname="enum_members_description"/>
<colspec colname="enum_members_annotations" colwidth="200px"/>
<tbody>
<row role="constant"><entry role="enum_member_name"><para id="MILTER-DECODER-COMPARE-AT-LEAST:CAPS">MILTER_DECODER_COMPARE_AT_LEAST</para></entry>
<entry role="enum_member_description"/>
<entry role="enum_member_annotations"/>
</row>
<row role="constant"><entry role="enum_member_name"><para id="MILTER-DECODER-COMPARE-EXACT:CAPS">MILTER_DECODER_COMPARE_EXACT</para></entry>
<entry role="enum_member_description"/>
<entry role="enum_member_annotations"/>
</row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="MilterDecoder-struct" role="struct">
<title>struct MilterDecoder</title>
<indexterm zone="MilterDecoder-struct"><primary>MilterDecoder</primary></indexterm>
<programlisting language="C">struct MilterDecoder;</programlisting>
<para>
</para>
</refsect2>

</refsect1>

</refentry>
