<?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-MilterCommandEncoder">
<refmeta>
<refentrytitle role="top_of_page" id="milter-manager-MilterCommandEncoder.top_of_page">MilterCommandEncoder</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>milter managerライブラリ</refmiscinfo>
</refmeta>
<refnamediv>
<refname>MilterCommandEncoder</refname>
<refpurpose/>
</refnamediv>

<refsynopsisdiv id="milter-manager-MilterCommandEncoder.synopsis" role="synopsis">
<title role="synopsis.title">概要</title>

<synopsis>                    <link linkend="MilterCommandEncoder">MilterCommandEncoder</link>;
<link linkend="MilterEncoder"><returnvalue>MilterEncoder</returnvalue></link> *     <link linkend="milter-command-encoder-new">milter_command_encoder_new</link>          (void);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-command-encoder-encode-negotiate">milter_command_encoder_encode_negotiate</link>
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         <link linkend="MilterOption"><returnvalue>MilterOption</returnvalue></link> *option);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-command-encoder-encode-define-macro">milter_command_encoder_encode_define_macro</link>
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         <link linkend="MilterCommand"><returnvalue>MilterCommand</returnvalue></link> context,
                                                         <link linkend="GHashTable"><returnvalue>GHashTable</returnvalue></link> *macros);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-command-encoder-encode-connect">milter_command_encoder_encode_connect</link>
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *host_name,
                                                         const <returnvalue>struct sockaddr</returnvalue> *address,
                                                         <link linkend="socklen-t"><returnvalue>socklen_t</returnvalue></link> address_size);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-command-encoder-encode-helo">milter_command_encoder_encode_helo</link>  (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *fqdn);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-command-encoder-encode-envelope-from">milter_command_encoder_encode_envelope_from</link>
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *from);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-command-encoder-encode-envelope-recipient">milter_command_encoder_encode_envelope_recipient</link>
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *to);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-command-encoder-encode-data">milter_command_encoder_encode_data</link>  (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-command-encoder-encode-header">milter_command_encoder_encode_header</link>
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *name,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *value);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-command-encoder-encode-end-of-header">milter_command_encoder_encode_end_of_header</link>
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-command-encoder-encode-body">milter_command_encoder_encode_body</link>  (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *chunk,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> size,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packed_size);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-command-encoder-encode-end-of-message">milter_command_encoder_encode_end_of_message</link>
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *chunk,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> size);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-command-encoder-encode-abort">milter_command_encoder_encode_abort</link> (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-command-encoder-encode-quit">milter_command_encoder_encode_quit</link>  (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size);
<link linkend="void"><returnvalue>void</returnvalue></link>                <link linkend="milter-command-encoder-encode-unknown">milter_command_encoder_encode_unknown</link>
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *command);
</synopsis>
</refsynopsisdiv>

<refsect1 id="milter-manager-MilterCommandEncoder.description" role="desc">
<title role="desc.title">説明</title>
<para>
</para>
</refsect1>
<refsect1 id="milter-manager-MilterCommandEncoder.details" role="details">
<title role="details.title">詳細</title>
<refsect2 id="MilterCommandEncoder" role="struct">
<title>MilterCommandEncoder</title>
<indexterm zone="MilterCommandEncoder"><primary>MilterCommandEncoder</primary></indexterm>
<programlisting>typedef struct {
    MilterEncoder object;
} MilterCommandEncoder;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="milter-command-encoder-new" role="function">
<title>milter_command_encoder_new ()</title>
<indexterm zone="milter-command-encoder-new"><primary>milter_command_encoder_new</primary></indexterm>
<programlisting><link linkend="MilterEncoder"><returnvalue>MilterEncoder</returnvalue></link> *     milter_command_encoder_new          (void);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>返値</emphasis>&nbsp;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-command-encoder-encode-negotiate" role="function">
<title>milter_command_encoder_encode_negotiate ()</title>
<indexterm zone="milter-command-encoder-encode-negotiate"><primary>milter_command_encoder_encode_negotiate</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_command_encoder_encode_negotiate
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         <link linkend="MilterOption"><returnvalue>MilterOption</returnvalue></link> *option);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>encoder</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>option</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-command-encoder-encode-define-macro" role="function">
<title>milter_command_encoder_encode_define_macro ()</title>
<indexterm zone="milter-command-encoder-encode-define-macro"><primary>milter_command_encoder_encode_define_macro</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_command_encoder_encode_define_macro
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         <link linkend="MilterCommand"><returnvalue>MilterCommand</returnvalue></link> context,
                                                         <link linkend="GHashTable"><returnvalue>GHashTable</returnvalue></link> *macros);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>encoder</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>context</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>macros</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-command-encoder-encode-connect" role="function">
<title>milter_command_encoder_encode_connect ()</title>
<indexterm zone="milter-command-encoder-encode-connect"><primary>milter_command_encoder_encode_connect</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_command_encoder_encode_connect
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *host_name,
                                                         const <returnvalue>struct sockaddr</returnvalue> *address,
                                                         <link linkend="socklen-t"><returnvalue>socklen_t</returnvalue></link> address_size);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>encoder</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>host_name</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>address</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>address_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-command-encoder-encode-helo" role="function">
<title>milter_command_encoder_encode_helo ()</title>
<indexterm zone="milter-command-encoder-encode-helo"><primary>milter_command_encoder_encode_helo</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_command_encoder_encode_helo  (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *fqdn);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>encoder</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>fqdn</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-command-encoder-encode-envelope-from" role="function">
<title>milter_command_encoder_encode_envelope_from ()</title>
<indexterm zone="milter-command-encoder-encode-envelope-from"><primary>milter_command_encoder_encode_envelope_from</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_command_encoder_encode_envelope_from
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *from);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>encoder</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>from</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-command-encoder-encode-envelope-recipient" role="function">
<title>milter_command_encoder_encode_envelope_recipient ()</title>
<indexterm zone="milter-command-encoder-encode-envelope-recipient"><primary>milter_command_encoder_encode_envelope_recipient</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_command_encoder_encode_envelope_recipient
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *to);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>encoder</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>to</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-command-encoder-encode-data" role="function">
<title>milter_command_encoder_encode_data ()</title>
<indexterm zone="milter-command-encoder-encode-data"><primary>milter_command_encoder_encode_data</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_command_encoder_encode_data  (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>encoder</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-command-encoder-encode-header" role="function">
<title>milter_command_encoder_encode_header ()</title>
<indexterm zone="milter-command-encoder-encode-header"><primary>milter_command_encoder_encode_header</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_command_encoder_encode_header
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *name,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *value);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>encoder</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>name</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>value</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-command-encoder-encode-end-of-header" role="function">
<title>milter_command_encoder_encode_end_of_header ()</title>
<indexterm zone="milter-command-encoder-encode-end-of-header"><primary>milter_command_encoder_encode_end_of_header</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_command_encoder_encode_end_of_header
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>encoder</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-command-encoder-encode-body" role="function">
<title>milter_command_encoder_encode_body ()</title>
<indexterm zone="milter-command-encoder-encode-body"><primary>milter_command_encoder_encode_body</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_command_encoder_encode_body  (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *chunk,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> size,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packed_size);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>encoder</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>chunk</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packed_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-command-encoder-encode-end-of-message" role="function">
<title>milter_command_encoder_encode_end_of_message ()</title>
<indexterm zone="milter-command-encoder-encode-end-of-message"><primary>milter_command_encoder_encode_end_of_message</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_command_encoder_encode_end_of_message
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *chunk,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> size);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>encoder</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>chunk</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-command-encoder-encode-abort" role="function">
<title>milter_command_encoder_encode_abort ()</title>
<indexterm zone="milter-command-encoder-encode-abort"><primary>milter_command_encoder_encode_abort</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_command_encoder_encode_abort (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>encoder</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-command-encoder-encode-quit" role="function">
<title>milter_command_encoder_encode_quit ()</title>
<indexterm zone="milter-command-encoder-encode-quit"><primary>milter_command_encoder_encode_quit</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_command_encoder_encode_quit  (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>encoder</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="milter-command-encoder-encode-unknown" role="function">
<title>milter_command_encoder_encode_unknown ()</title>
<indexterm zone="milter-command-encoder-encode-unknown"><primary>milter_command_encoder_encode_unknown</primary></indexterm>
<programlisting><link linkend="void"><returnvalue>void</returnvalue></link>                milter_command_encoder_encode_unknown
                                                        (<link linkend="MilterCommandEncoder"><returnvalue>MilterCommandEncoder</returnvalue></link> *encoder,
                                                         <link linkend="gchar"><returnvalue>gchar</returnvalue></link> **packet,
                                                         <link linkend="gsize"><returnvalue>gsize</returnvalue></link> *packet_size,
                                                         const <link linkend="gchar"><returnvalue>gchar</returnvalue></link> *command);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>encoder</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>packet_size</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>command</parameter> :</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>

</refentry>
